summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #61 from bigon/bug-59Dominique Leuenberger2017-02-071-0/+1
|\ \ | | | | | | Set lasturl to NULL after free/delete
| * | Set lasturl to NULL after free/deleteLaurent Bigonville2017-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | It avoids the lasturl to be freed a 2nd time when the rewind() method is called. Closes: #59
* | | Merge pull request #60 from bigon/bug-58Dominique Leuenberger2017-02-071-1/+1
|\ \ \ | |/ / |/| | Use StateChanged signal instead of StateChange
| * | Use StateChanged signal instead of StateChangeLaurent Bigonville2017-02-071-1/+1
|/ / | | | | | | | | | | | | | | StateChange signal has been deprecated since NM 0.7 and has been completely removed in 0.9, see: https://developer.gnome.org/NetworkManager/0.9/ref-migrating.html Closes: #58
* | Merge pull request #56 from EdwardBetts/patch-1Dominique Leuenberger2017-02-031-1/+1
|\ \ | | | | | | fix spelling mistake
| * | fix spelling mistakeEdward Betts2017-02-021-1/+1
|/ /
* | Merge pull request #55 from horar/masterDominique Leuenberger2017-02-022-5/+5
|\ \ | | | | | | Install libs/cmake/pkgconfig thingy into right place for MinGW
| * | Install libs/cmake/pkgconfig thingy into right place for MinGWĽubomír Carik2017-02-022-5/+5
|/ / | | | | | | | | | | | | | | MinGW folder structure is closer to Linux. This allow use other MinGW package to utilize CMake or pkgconfig to setup the project. Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
* | Merge pull request #54 from DimStar77/NMoldDominique Leuenberger2017-01-192-2/+5
|\ \ | | | | | | Use different name when checking for 2nd set NetworkManager packages
| * | Use different name when checking for 2nd set NetworkManager packagesDominique Leuenberger2017-01-182-2/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | Seems different to Autoconf, cmake does keep some cache around and does not transparently reuse the name fully to make a complete test. This for one resulted in old versions of NetworkManager being queried, yet the final build was disabled. If cmake was ran a 2nd time the cache was refreshed and the NetworkManager module being built. By using a 2nd name we aboid the internal confusion for cmake. Fixes issue #53
* | Merge pull request #51 from DimStar77/0.4.140.4.14Dominique Leuenberger2017-01-092-1/+6
|\ \ | | | | | | Prepare for 0.4.14
| * | Prepare for 0.4.14Dominique Leuenberger2017-01-092-1/+6
|/ /
* | Merge pull request #50 from DimStar77/travis-macDominique Leuenberger2017-01-091-4/+0
|\ \ | | | | | | Travis: osx tests are mandatory from this point forward
| * | Travis: osx tests are mandatory from this point forwardDominique Leuenberger2017-01-091-4/+0
|/ /
* | Merge pull request #48 from amigadave/get-pac-testDominique Leuenberger2017-01-091-11/+16
|\ \ | | | | | | Fix intermittent test failures in get-pac-test
| * | get-pac-test: Fix overflow testDavid King2017-01-091-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than checking for EBADF when the socket is closed due to an overly-large request, check that the sent size differs from the received. Use a large buffer to ensure that the number of bytes sent are greater than the kernel TCP receive buffer size, as otherwise the send() call succeeds even though the bytes were never retrieved from the socket. Pass the MSG_NOSIGNAL flag (or the SO_NOSIGPIPE socket option) so that SIGPIPE is not generated when the socket is closed once the content length has been read. Close #47
| * | get-pac-test: Call close() on an fdDavid King2017-01-011-5/+0
| | | | | | | | | | | | | | | | | | | | | Do not call close() on the return value from send(), which is a number of bytes. Fixes #47
* | | Merge pull request #49 from amigadave/pxgsettings-fixesDominique Leuenberger2017-01-091-0/+10
|\ \ \ | |/ / |/| | Fixes for pxgsettings
| * | pxgsettings: Avoid key listing deprecationDavid King2017-01-031-0/+7
| | | | | | | | | | | | | | | g_settings_list_keys() is deprecated, and g_settings_schema_list_keys() should be used instead as of GLib 2.46.
| * | pxgsettings: Fix memory leak of key namesDavid King2017-01-031-0/+1
| | | | | | | | | | | | | | | The key names returned by g_settings_list_keys() are annotated as being transfer full, so must be freed after use.
| * | pxgsettings: Avoid g_type_init deprecation warningDavid King2017-01-031-0/+2
|/ / | | | | | | g_type_init() was deprecated in GLib 2.36.
* | Merge pull request #46 from wRAR/masterDominique Leuenberger2016-11-221-0/+3
|\ \ | | | | | | Set CMP0054 CMake policy to NEW.
| * | Set CMP0054 CMake policy to NEW.Andrey Rakhmatullin2016-11-201-0/+3
|/ / | | | | | | | | | | | | CMake 3.7 exports a "t" variable for all projects and because of that the elseif statement in cmake/CMakeCSharpInformation.cmake:311 works incorrectly if CMP0054 is not set to NEW (as "t" is expanded to the variable value).
* | Merge pull request #44 from DimStar77/mono4.6Dominique Leuenberger2016-09-291-1/+1
|\ \ | | | | | | FindMono: fall back to mcs when gmcs cannot be found
| * | FindMono: fall back to mcs when gmcs cannot be foundDominique Leuenberger2016-09-291-1/+1
|/ / | | | | | | | | | | | | | | | | With mono 4.6, gmcs is no longer an upstream shipped wrapper. Just fallback to 'mcs' if gmcs cannot be found. Distros still shipping gmcs are assumed to know why they do so - in this case we favor their local scripts. Fixes issue #37.
* | Merge pull request #39 from paulvt/add-query-params-for-PAC-getDominique Leuenberger2016-09-193-4/+29
|\ \ | | | | | | Use the query string (parameters) when requesting PAC files
| * | Add a test that ensures that query parameters are parsed and sentPaul van Tilburg2016-09-191-0/+9
| | |
| * | Use the query string (parameters) when requesting PAC filesPaul van Tilburg2016-09-192-4/+20
|/ /
* | Merge pull request #41 from paulvt/handle-zero-content-lengthDominique Leuenberger2016-09-192-3/+29
|\ \ | | | | | | | | | | | | Handle PAC files without specified HTTP content length Thanks a lot
| * | Add test for a PAC get without content lengthPaul van Tilburg2016-09-191-0/+21
| | |
| * | Handle PAC files without specified HTTP content lengthPaul van Tilburg2016-09-191-3/+8
|/ /
* | Merge pull request #33 from DimStar77/python2-3Dominique Leuenberger2016-09-039-30/+359
|\ \ | | | | | | Add support to build Python2 and Python3 bindings in parallel
| * | Add support to build Python2 and Python3 bindings in parallelDominique Leuenberger2016-08-049-30/+359
|/ / | | | | | | Fixes issue #22
* | Merge pull request #31 from DimStar77/gnome3-forkbombDominique Leuenberger2016-07-221-0/+2
|\ \ | | | | | | GNOME3: Wait for pxgsettings to vanish while destroying the plugin
| | * Update build to mozjs38Jeremy Linton2017-04-262-39/+54
| | | | | | | | | | | | | | | | | | | | | | | | This pull libproxy forward a little more to mozjs38, which is where gnome is currently at. This means most distro's will already be shipping this version of mozjs. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
| | * Why isn't SO_NOSIGPIPE defined when OSX manpage says its in sys/types.h, ↵Jeremy Linton2016-09-191-1/+3
| | | | | | | | | | | | sys/socket.h
| | * Try slightly diffrent osx buildJeremy Linton2016-09-181-4/+4
| | |
| | * Fix intermittent unit test failures.Jeremy Linton2016-09-171-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two things wrong with the unit test. First depending on the state of the socket the overflow send may terminate with either EBADF or EPIPE. Second, the length of the send is being used as the fd in the call to close. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
| | * Update build to mozjs24Jeremy Linton2016-09-172-24/+27
| |/ | | | | | | | | | | | | This pulls libproxy forward a little, and brings it in line with gnome which is also on mozjs24. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
| * GNOME3: Wait for pxgsettings to vanish while destroying the pluginDominique Leuenberger2016-07-221-0/+2
|/ | | | | | | | This helps avoiding zombie processes in case a caller creates/destroys ProxyFactories for each URL (even though we recommend to have a long-living PF for caching reasons). Originally reported at https://bugzilla.opensuse.org/show_bug.cgi?id=967601
* Merge pull request #30 from Vogtinator/masterDominique Leuenberger2016-06-081-13/+17
|\ | | | | Remove use of C++11 in config_kde module
| * config_kde: Don't pollute stderrFabian Vogt2016-05-111-1/+3
| | | | | | | | - https://bugzilla.opensuse.org/show_bug.cgi?id=979232
| * config_kde: Remove use of C++11Fabian Vogt2016-05-111-12/+14
|/ | | | | | - Use std::map::find instead of map::at (issue #29) - Add additional safety check - Return as const ref
* NetworkManager: detect libnm before looking for NetworkManagerDominique Leuenberger2016-05-021-2/+5
| | | | | | | Prefer the newer libnm symbol and only fall back to the legacy NetworkManager if not found Fixes https://github.com/libproxy/libproxy/issues/26 - 2nd part
* NetworkManager: gain compatibility to be built against libnm unstead ofDominique Leuenberger2016-05-021-0/+6
| | | | the legacy libnm-glib (we only use the dbus interface)
* NetworkManager: the location of NetworkManager.h is specified by pkg-configDominique Leuenberger2016-05-011-1/+1
| | | | | | | The directory structure of NetworkManager can change over time. pkg-config informs us of the correct location to find headers at. NM does not add subdirectories on its own. https://github.com/libproxy/libproxy/issues/26
* Version 0.4.130.4.13Dominique Leuenberger2016-04-282-2/+9
|
* Merge pull request #25 from mulander/fix-null-deref-in-ignore-ipDominique Leuenberger2016-04-281-1/+1
|\ | | | | Fix #24 NULL pointer dereference in ignore_ip.cpp line 151
| * Fix #24 NULL pointer dereference in ignore_ip.cpp line 151Adam Wolk2016-04-181-1/+1
|/ | | | | | | | | | | | | | | | Qt5 started to use libproxy and this exposed a crashing bug on OpenBSD when using Qt5 applications on Gnome 3. Here's a sample backtrace: https://gist.github.com/mulander/c03997ae7e3fe4e30af0d4f2ce2965f0 The issue is caused by an unguarded dereference of ign_ip. Other parts of the code properly expect that sockaddr_from_string might return null and guard against it. Adding a proper guard prevents a segfault both in OpenBSD www/otter-browser and devel/zeal.
* Merge pull request #21 from Vogtinator/masterDominique Leuenberger2016-03-231-1/+1
|\ | | | | Remove space in modules.cmk