| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
|
|
| |
get-pac-test.cpp:55:10: error: assigning to 'int' from incompatible type '__bind<int &, sockaddr *, unsigned int>'
ret = bind(m_sock, (sockaddr*)&addr, sizeof (struct sockaddr_in)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
sigh
OK I now see why it was using /bin/sh to start the helper.
It's because the code is concatenate the gsettings keys to watch (in all_keys) as parameters
So this is not enough to just remove /bin/bash
"""
This reverts commit 8012bed4405efa31fffb57d6282de3e1513e4bd9.
|
|
|
|
| |
This is needed otherwise mozjs crashes
|
|
|
|
| |
Fixes #71
|
|
|
|
| |
Fixes issue #57
|
| |
|
|
|
|
| |
Fixes issue #43.
|
|
|
|
|
| |
APPLE uses a linker derived from llvm, which does not support --version-script,
so ignore it there (sorry guys).
|
|
|
|
| |
Closes: #64
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | | |
Set lasturl to NULL after free/delete
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It avoids the lasturl to be freed a 2nd time when the rewind() method is
called.
Closes: #59
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |\
| | |
| | | |
Fix intermittent test failures in get-pac-test
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Do not call close() on the return value from send(), which is a number
of bytes.
Fixes #47
|
| | |
| | |
| | |
| | |
| | | |
g_settings_list_keys() is deprecated, and g_settings_schema_list_keys()
should be used instead as of GLib 2.46.
|
| | |
| | |
| | |
| | |
| | | |
The key names returned by g_settings_list_keys() are annotated as being
transfer full, so must be freed after use.
|
| |/
| |
| |
| | |
g_type_init() was deprecated in GLib 2.36.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
sys/socket.h
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
- https://bugzilla.opensuse.org/show_bug.cgi?id=979232
|
|
|
|
|
|
| |
- Use std::map::find instead of map::at (issue #29)
- Add additional safety check
- Return as const ref
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
the legacy libnm-glib (we only use the dbus interface)
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
- Broke proper parsing of WITH_KDE option
- Fix for issue #20
|
| |
|
|
|
|
|
|
|
| |
After finding out whether to use kreadconfig5 or kreadconfig,
it uses either qtpaths or kde4-config to determine the locations
of the kioslaverc config file, to be able to notice modifications
that require a cache flush.
|
|\
| |
| | |
config_kde: Decide whether to build the module based only on WITH_KDE.
|
| |
| |
| |
| |
| |
| |
| | |
kreadconfig/kreadconfig5 are runtime dependencies only. As such, there
should not be a build-time dependency on those in CMake at all. In other
words, building without those binaries works perfectly fine, and they
are only required when running libproxy.
|
| | |
|
|\ \
| |/
|/| |
Fix compilation errors with CLang on MacOSX
|
| | |
|