summaryrefslogtreecommitdiff
path: root/libgupnp
Commit message (Collapse)AuthorAgeFilesLines
* all: Drop xmlRecoverMemoryHEADmasterJens Georg2023-05-045-5/+26
| | | | use xmlReadMemory, also use NONET flat
* service-proxy: Set reference to proxy earlierJens Georg2023-04-151-3/+4
| | | | | | | Move it to prepare_action_msg so it is also available in sync calls, for handling authentication requests properly. Fixes #86
* Add gupnp_service_proxy_set_credentials ()Jan-Michael Brummer2023-04-022-0/+74
| | | | Fixes: https://gitlab.gnome.org/GNOME/gupnp/-/issues/85
* ProxyAction: Re-introduce weak pointer to proxyJens Georg2023-02-173-12/+22
|
* Do not leak RtmAddrInfoJens Georg2022-12-081-0/+2
|
* linux-cm: Improve address handlingJens Georg2022-12-071-158/+225
| | | | | | | Skip tentative addresses, which otherwise lead to binding errors and ignore addresses that are announced as deprecated. Fixes #83
* context: Fix getting port if port was randomJens Georg2022-11-201-2/+3
| | | | Fixed #81
* service: Initialize GError properlyJens Georg2022-11-071-1/+1
| | | | | | | Trying to propagate an error over some unintialized error causes a warning and, more importantly, an invalid free Fixes #80
* ControlPoint: Do not leak cancellableJens Georg2022-11-021-0/+1
| | | | | Properly unref cancellable when being done fetching description document.
* ContextManager: Fix filtering unavailable contextsJens Georg2022-11-021-1/+2
| | | | | - Unref the actual context, not the list - Free the list element
* introspection: Properly chain up disposeJens Georg2022-11-021-0/+4
|
* nm-cm: Properly free list of contextsJens Georg2022-11-021-6/+7
| | | | | - Also free list if the manager does not live anymore - Free the list nodes properly
* CM: Do not leak filtered contexts on shutdownJens Georg2022-11-021-1/+1
| | | | | If we still have filtered contexts in shutdown, drop that reference as well
* linux-cm: Fix IFA_FLAGS detectionJens Georg2022-10-251-2/+4
|
* ControlPoint: Fix error handling of descriptionJens Georg2022-10-251-4/+18
| | | | | Do not assert_not_reached() on errors, but handle timeouts with retry and other errors like other parsing errors
* all: Fix build against Soup 3.1.2 and laterJens Georg2022-08-163-3/+17
|
* Connman: Entertain both address familiesJens Georg2022-08-071-18/+54
|
* NetworkManager: Align family behaviorJens Georg2022-08-071-66/+137
| | | | | When requesting G_SOCKET_FAMILY_INVALID, now creates contexts of V4 and V6 addresses
* Context: Add new convenience constructorsJens Georg2022-08-072-5/+83
| | | | | Add new constructors that allow to set the new parameters directly, instead of forcing the use of g_object_new
* Linux-CM: Do not filter out global scope v6Jens Georg2022-07-151-8/+3
|
* Windows CM: Pre-filter address familyJens Georg2022-06-221-1/+4
| | | | | Together with the changes in SimpleCM, this should enable v6 support in Windows.
* SimpleContextManager: Pass on address familyJens Georg2022-06-221-2/+8
| | | | Part of #10
* Connman: Pass on address familyJens Georg2022-06-221-9/+21
| | | | | | This should enable ipv6 for connman-managed contexts Part of #10
* NetworkManager: Pass on address family to contextJens Georg2022-06-221-9/+22
| | | | | | This way it starts supporting IPv6 Part of #10
* ServiceInfo: Add examples to type and idJens Georg2022-06-211-1/+8
| | | | | I always mix up what is what, so just add it to the docs so I don't have to check the specs each time -.-
* ServiceInfo: Remove obsolete callback defineJens Georg2022-06-211-15/+0
|
* ContextManager: Dump manager configurationJens Georg2022-06-191-2/+6
| | | | Show which family, UDA and port was requested
* ContextManager: Handle filter events properlyJens Georg2022-06-191-201/+223
| | | | | | | | | | | | | | If the filter is changed, announce all changed to contexts as well This means if the filter is changed, causing a known device not to match anymore, it will signal "context-unavailable" and drop all managed devices attached to that context. Likewise, for filter changes that cause contexts to not being filtered out any more, "context-available" will be signalled. Fixes #36 Fixes #37
* ContextFilter: Emit notifications on real changesJens Georg2022-06-191-6/+13
| | | | So ContextManager can be sure it is only triggered if it has to act
* uuid: Code-deprecate function, not just in docJens Georg2022-06-141-1/+3
|
* DeviceInfo: Set task name for icon downloaderJens Georg2022-06-141-0/+2
|
* all: Set log domains for easier filteringJens Georg2022-06-1414-2/+23
|
* docs: Minor fixesJens Georg2022-06-142-13/+4
| | | | | | - glib doc urls - Updated urlmap.js - Minor doc visual fixes
* Service: Switch to g_uuid_string_random()Jens Georg2022-06-142-7/+4
|
* ServiceProxy: Change subscription timeout pointJens Georg2022-06-141-2/+13
| | | | | Previously we used a random timeout between 1 and timeout / 2. The code now will jitter around the timeout/2 mark by +/- timeout/4 at max.
* ContextFilter: Fix implementationJens Georg2022-06-121-25/+27
| | | | Yeah. That was broken...
* ServiceProxy: Fix leak in subscribeJens Georg2022-06-101-0/+1
| | | | | | | The code did close, but not unref the InputStream. That caused a leak of the input stream and the SoupMessage for each (re-)subscription. Fixes #70
* ServiceProxy: Fix Soap error handling in sync callJens Georg2022-06-051-8/+10
|
* all: Coverity fixesJens Georg2022-06-051-0/+6
| | | | | | CID352971, CID352973, CID352974, CID352977, CID352980 Also sprinkle some coverity false-positive markers
* build: Fix pkg-config Requires: lineJens Georg2022-06-051-1/+8
|
* service: Remove obsolete includeJens Georg2022-06-051-2/+0
|
* device-info: Add method to download icon.Jens Georg2022-06-032-1/+205
| | | | | While porting to libsoup3 I have implemented this 3-4 times now. Just offer it in GUPnP itself.
* service-info: Properly rewrite the SCPD urlJens Georg2022-06-031-2/+6
| | | | Otherwise introspection will fail for link-local
* device-info: Add null-check in icon lookupJens Georg2022-05-261-2/+3
| | | | Basically to satisfy scan-build...
* all: Fix minor issues from scan-buildJens Georg2022-05-261-3/+3
|
* service: Prevent critical on notify errorJens Georg2022-05-251-4/+11
| | | | | The code did not handle the case nicelz where error wasn't "cancelled", using a NULL pointer from the reason phrase.
* Fix main include fileJens Georg2022-05-221-1/+0
|
* Drop GUPnPWhiteList completelyJens Georg2022-05-205-317/+0
|
* service-info: Do not free propagated errorJens Georg2022-05-081-1/+0
|
* service-action: Potential fix for issue in FlatpakJens Georg2022-05-081-1/+1
| | | | g_clear_pointer seems to run on a NULL ptr