summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #179 from DimStar77/0.4.180.4.18Dominique Leuenberger2022-06-202-1/+11
|\ | | | | Version 0.4.18
| * Version 0.4.18Dominique Leuenberger2022-06-202-1/+11
|/
* Merge pull request #152 from DimStar77/issue123Dominique Leuenberger2022-06-201-0/+31
|\ | | | | perl: Add XS_unpack_charPtrPtr function
| * perl: Add XS_unpack_charPtrPtr functionDominique Leuenberger2020-12-301-0/+31
| | | | | | | | | | | | | | | | | | Commit d52cc34458 introduced a new requirement on XS_unpack_charPtrPtr, but did not add the code for it. Use the template code form https://www.perlmonks.org/?node_id=680842 Fixes #123
* | Merge pull request #175 from Vogtinator/perlfixDominique Leuenberger2022-06-203-3/+4
|\ \ | | | | | | Fix perl testing and enable it by default
| * | Fix perl testing and enable it by defaultFabian Vogt2022-03-313-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The module files for testing were installed in the wrong location and blib wasn't even enabled. Fix the location and use plain PERL5LIB. Hook it up to ctest by using add_test instead of a custom target, which even conflicted with ctest's own target. Fixes #171
* | | Merge pull request #178 from amigadave/python-versionDominique Leuenberger2022-06-201-1/+1
|\ \ \ | | | | | | | | python: Accept Python 3.11
| * | | python: Accept Python 3.11David King2022-06-201-1/+1
|/ / /
* | | Merge pull request #167 from Vogtinator/xdg-diyDominique Leuenberger2022-03-301-3/+32
|\ \ \ | | | | | | | | config_kde: Compute list of config file locations ourselves
| * | | config_kde: Compute list of config file locations ourselvesFabian Vogt2021-11-221-3/+32
| |/ / | | | | | | | | | | | | Instead of using the deprecated kf5-config, compute the list of config file locations ourselves, according to the FDO basedir-spec.
* | | Merge pull request #165 from janbrummer/add-host-portDominique Leuenberger2022-03-301-1/+1
|\ \ \ | | | | | | | | Add host port to request header
| * | | Add host port to request headerJan-Michael Brummer2021-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The request header in get_pac() currently misses the host port and thus breaks every proxy running on another port. See https://gitlab.gnome.org/GNOME/glib-networking/-/issues/138 for example. Add this missing port in case it is not http default port 80.
* | | | Merge pull request #172 from SuibianP/bugfix/gnome-waylandDominique Leuenberger2022-03-301-0/+2
|\ \ \ \ | | | | | | | | | | Add gnome-wayland to permitted DESKTOP_SESSION
| * | | | Add gnome-wayland to permitted DESKTOP_SESSIONHu Jialun2022-03-301-0/+2
| | |/ / | |/| | | | | | | | | | Only GNOME3 is affected since support for Wayland begins at 3.2.0.
* | | | Merge pull request #173 from SuibianP/bugfix/webkit-cmakeDominique Leuenberger2022-03-301-1/+1
|\ \ \ \ | |/ / / |/| | | Fix miswritten cmake config
| * | | Fix miswritten cmake configHu Jialun2022-03-301-1/+1
|/ / /
* | | Merge pull request #166 from mss/kde-module-cache-fixmasterDominique Leuenberger2021-11-221-1/+1
|\ \ \ | |/ / |/| | config_kde: Use kf5-config instead of qtpaths
| * | config_kde: Use kf5-config instead of qtpathsMalte S. Stretz2021-11-221-1/+1
|/ / | | | | | | | | | | | | | | qtpaths is a developer tool which is not guaranteed to exist on all KDE installations (notably KDE neon). If it doesn't exist, the cache isn't used at all. The equivalent to kde4-config is kf5-config, let's use that.
* | Merge pull request #161 from zhaofengli/duktapeDominique Leuenberger2021-07-279-5/+181
|\ \ | | | | | | Add Duktape support
| * | pacrunner: Ensure hostname is null-terminatedZhaofeng Li2021-07-133-2/+7
| | |
| * | Improve detection of multiple pacrunnersZhaofeng Li2021-07-131-1/+4
| | | | | | | | | | | | | | | Now that we have 4 pacrunner modules, it's pretty ugly to enumerate all the possibilities.
| * | Add Duktape pacrunner moduleZhaofeng Li2021-07-134-0/+162
| | |
| * | Actually disable mozjs by defaultZhaofeng Li2021-06-132-2/+2
| | | | | | | | | | | | Fixes #153.
| * | config_envvar: Add environment variable for pacrunner debuggingZhaofeng Li2021-06-131-0/+6
| | |
* | | Merge pull request #163 from mcatanzaro/mcatanzaro/findpython-licenseDominique Leuenberger2021-07-272-16/+50
|\ \ \ | | | | | | | | Fix license of FindPython[2,3]Interp.cmake
| * | | Fix license of FindPython[2,3]Interp.cmakeMichael Catanzaro2021-07-272-16/+50
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were copied from CMake and the license says their blurb should be replaced with the full text of the license, so let's do that. Note that the original copyright file is here: https://github.com/Kitware/CMake/blob/ea28d28a6169b0431407f97403b3ac406997e153/Copyright.txt and that's what I've copied this from.
* | | Merge pull request #162 from amigadave/python-versionDominique Leuenberger2021-07-133-3/+3
|\ \ \ | |/ / |/| | python: Support Python 3.10 and above
| * | python: Support Python 3.10 and aboveDavid King2021-06-213-3/+3
|/ / | | | | | | | | | | | | | | As suggested by Miro HronĨok, change the way that the Python interpreter version is found. Additionally, update the static list of accepted Python 3 versions. https://bugzilla.redhat.com/show_bug.cgi?id=1898060
* | Merge pull request #160 from rpurdie/masterDominique Leuenberger2021-03-181-2/+5
|\ \ | |/ |/| cmake/modules/config_sysconfig: Allow configuration of sysconfig module
| * cmake/modules/config_sysconfig: Allow configuration of sysconfig moduleRichard Purdie2021-02-211-2/+5
|/ | | | | | | | | Checking whether the host system has /etc/sysconfig is not deterministic when cross compiling. Allow this to be disabled by adding a configure option for it. OpenEmbedded can set this and have deterministic build output independent of the host OS. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge pull request #151 from lwindolf/patch-1Dominique Leuenberger2020-12-301-1/+1
|\ | | | | Typo
| * TypoLars Windolf2020-12-301-1/+1
|/
* Version 0.4.170.4.17Dominique Leuenberger2020-12-292-1/+5
|
* Merge pull request #149 from bigon/remove-libcDominique Leuenberger2020-12-151-6/+0
|\ | | | | python: Do not load the libc anymore
| * python: Do not load the libc anymoreLaurent Bigonville2020-12-141-6/+0
|/ | | | | This is not needed since the addition of px_proxy_factory_free_proxies() in d52cc34458b1d6a524df12db2671fa3a15892fcf
* Merge pull request #147 from DimStar77/issue125Dominique Leuenberger2020-12-141-3/+3
|\ | | | | python bindings: fix "TypeError: _argtypes_ must be a sequence of types"
| * python bindings: fix "TypeError: _argtypes_ must be a sequence of types"Dominique Leuenberger2020-12-141-3/+3
|/ | | | Fixes #125
* Merge pull request #146 from gdsotirov/issue-145Dominique Leuenberger2020-12-071-0/+1
|\ | | | | Include cerrno
| * Include cerrnoGeorgi D. Sotirov2020-12-061-0/+1
|/ | | | Include cerrno header for errno and EINTR.
* Merge pull request #144 from DimStar77/pre-0.4.160.4.16Dominique Leuenberger2020-12-042-1/+5
|\ | | | | Release: 0.4.16
| * Release: 0.4.16Dominique Leuenberger2020-11-172-1/+5
|/
* Merge pull request #126 from lifeibiren/fix-overflow-with-large-pacDominique Leuenberger2020-11-101-13/+31
|\ | | | | Fix buffer overflow when PAC is enabled
| * Fix buffer overflow when PAC is enabledFei Li2020-07-171-13/+31
| | | | | | | | | | | | The bug was found on Windows 10 (MINGW64) when PAC is enabled. It turned out to be the large PAC file (more than 102400 bytes) returned by a local proxy program with no content-length present.
* | Merge pull request #114 from smcv/python-bytestringsDominique Leuenberger2020-11-101-3/+23
|\ \ | | | | | | python: Convert URLs to/from UTF-8 under Python 3
| * | python: Convert URLs to/from UTF-8 under Python 3Simon McVittie2020-04-281-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, strings are Unicode (UTF-16 or UTF-32 depending on build options), and are passed to ctypes function wrappers as such. Convert the input URL to a bytestring for processing by libproxy, and convert the results back into (Unicode) strings by decoding them. From the pacrunner_webkit module, it appears that libproxy expects strings to be in UTF-8 (like GLib/GTK), so use that encoding for bytestrings. Fixes: #65
* | | Merge pull request #128 from mcatanzaro/mcatanzaro/#68Dominique Leuenberger2020-11-103-14/+4
|\ \ \ | | | | | | | | Remove nonfunctional and crashy pacrunner caching
| * | | Remove nonfunctional and crashy pacrunner cachingMichael Catanzaro2020-09-103-14/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libproxy currently attempts to cache pacrunner objects in the pr member variable of its pacrunner_extension object. This is broken, though, because it relies on the pacrunner object also being stored in pacrunner_extension's last member variable, which is never written to. So that caching has never worked properly. In practice, it only does one thing: it causes a threadsafety bug, #68, because it causes the old pacrunner object to be deleted on the thread that is creating the new pacrunner, which is illegal for both the mozjs and WebKit-based pacrunner extensions that expect their objects to be deleted on the same thread they were created on. This patch was originally written by Dan Winship for Fedora 19. It got dropped in Fedora 24, then resurrected again for Fedora 28 after we noticed 30,000 crash reports. I've tweaked it a bit to completely remove the unused member variables. Finally, note that this code is not exception-safe: if an exception is thrown, the pacrunner could be leaked. But this seems to be a common problem throughout libproxy. It should be fixed by using std::unique_ptr instead of raw new and delete. https://bugzilla.redhat.com/show_bug.cgi?id=998232 Fixes #68
* | | | Merge pull request #139 from mcatanzaro/mcatanzaro/disable-mozjsDominique Leuenberger2020-11-103-2/+3
|\ \ \ \ | | | | | | | | | | Disable mozjs extension by default
| * | | | Disable mozjs extension by defaultMichael Catanzaro2020-09-223-2/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mozjs doesn't have a stable API, so distros wind up carrying a bunch of patches to make it work with newer mozjs. Crashes ensue if it gets linked into gjs applications and the versions don't match. There's really no benefit to using this over the WebKit extension, so let's nudge distros towards using that instead. Distros: don't wait for this commit, go ahead and build with -DWITH_MOZJS=OFF today to use the WebKit backend instead.
* | | | Merge pull request #142 from mcatanzaro/mcatanzaro/libmodmanDominique Leuenberger2020-11-101-18/+3
|\ \ \ \ | | | | | | | | | | Never use system libmodman