summaryrefslogtreecommitdiff
path: root/libgupnp/gupnp-service-info.c
Commit message (Collapse)AuthorAgeFilesLines
* all: Drop xmlRecoverMemoryHEADmasterJens Georg2023-05-041-1/+5
| | | | use xmlReadMemory, also use NONET flat
* 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 -.-
* service-info: Properly rewrite the SCPD urlJens Georg2022-06-031-2/+6
| | | | Otherwise introspection will fail for link-local
* 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
* ServiceProxy: Drop deprecated introspectionJens Georg2022-01-091-292/+95
| | | | | Remove deprecated introspection functions, completely rewrite the introspect_async() function
* docs: Use gi-docgen instead of gtk-docJens Georg2022-01-031-16/+14
|
* all: Initial port to libsoup3 APIJens Georg2021-11-211-42/+48
|
* ServiceInfo: Deprecate old introspection functionsJens Georg2021-11-061-0/+6
|
* ServiceIntrospection: Implement GInitableJens Georg2021-10-271-1/+1
| | | | Fixes #53
* all: SPDX license identifierJens Georg2021-06-101-14/+3
| | | | Forgot the C files in the last commit
* gi: Fix annotationsJens Georg2021-06-091-3/+3
| | | | Mainly missing nullable on return values
* all: Fix minor compiler warningsJens Georg2021-06-091-1/+1
|
* doc: An <-> a where applicableJens Georg2021-06-091-3/+3
|
* service: Name GTasksJens Georg2021-06-091-0/+1
|
* Import config.h in all C sourcesBastien Nocera2021-06-021-0/+1
|
* if introspection fails on setup, call call-back through idleJens Georg2019-09-211-7/+26
|
* Add introspection functions matching GIO async patternJens Georg2019-09-211-0/+72
|
* all: Use proper address for link-localJens Georg2018-11-201-1/+11
|
* all: Port to new GLib type macrosJens Georg2018-11-021-64/+104
|
* Remove deprecated functionsJens Georg2016-10-151-85/+0
| | | | Signed-off-by: Jens Georg <mail@jensge.org>
* doc: Fix references of version filesJens Georg2016-10-151-1/+1
| | | | Signed-off-by: Jens Georg <mail@jensge.org>
* Fix signals_autoconnect() callJens Georg2015-07-121-2/+6
| | | | | | | | | Use the introspection we get from the constructor, queue the autoconnects until this is ready. Also mark _get_instrospection() as deprecated. Signed-off-by: Jens Georg <mail@jensge.org> https://bugzilla.gnome.org/show_bug.cgi?id=750936
* Update "Since" documentation tagsJens Georg2014-05-241-2/+2
| | | | Signed-off-by: Jens Georg <mail@jensge.org>
* Add gupnp_service_info_get_introspection_async_full()Jussi Kukkonen2013-12-101-0/+87
| | | | | | This version of get_introspection can be cancelled using GCancellable. https://bugzilla.gnome.org/show_bug.cgi?id=704867
* Revert "Add gupnp_service_info_get_introspection_async_full()"Jens Georg2013-12-081-89/+0
| | | | This reverts commit 909e721c52a335aa8b0ef8f3c37fa62216451530.
* Add gupnp_service_info_get_introspection_async_full()Jussi Kukkonen2013-12-081-0/+89
| | | | | | This version of get_introspection can be cancelled using GCancellable. https://bugzilla.gnome.org/show_bug.cgi?id=704867
* Fix compilation with -Wall -WextraJens Georg2013-05-291-3/+3
|
* Add vapi generation from GIRJens Georg2012-10-061-15/+12
|
* Update license headersJens Georg2012-08-311-2/+2
|
* Fix g-i annotationsJens Georg2012-04-201-1/+1
|
* Fix annotation warnings from g-ir-scannerJens Georg2011-06-061-1/+1
|
* Don't unref cancelled SoupMessageSven Neumann2011-05-171-1/+0
| | | | | | | The SoupMessage that is cancelled in the dispose handler doesn't belong us, it has already been queued. This fixes a crash that occured when a GUPnPService object is disposed before the initial introspection call has finished.
* Add scope annotations to various functionsZach Goldberg2010-04-191-2/+2
| | | | http://bugzilla.openedhand.com/show_bug.cgi?id=2084
* Fix gtk-doc format on all functions in public GUPnP APIZach Goldberg2010-04-191-16/+16
| | | | http://bugzilla.openedhand.com/show_bug.cgi?id=2086
* Add gobject-introspection annotationsZach Goldberg2010-04-041-2/+2
|
* Set User-Agent only once on the sessionZeeshan Ali (Khattak)2010-03-291-4/+0
| | | | | There is no need to set User-Agent header on each message ourselves, we can just set it once on the SoupSession.
* Don't leak message on unrefOlivier Crête2009-12-021-0/+1
|
* Add warning that gupnp_service_info_get_introspection() re-enters the main ↵Olivier Crête2009-12-021-0/+3
| | | | loop and is evil
* GUPnPXMLDoc is no longer initially unownedZeeshan Ali (Khattak)2009-08-241-4/+1
|
* Rename GUPnPXMLDocWrapper to GUPnPXMLDocZeeshan Ali (Khattak)2009-08-241-3/+3
|
* Clean-up and expose the xml doc wrapperZeeshan Ali (Khattak)2009-08-241-2/+3
|
* chain up in GUPnPServiceInfo dispose and finalize methodsSven Neumann2009-03-261-0/+4
|
* 2008-11-28 Jorn Baayen <jorn.baayen@collabora.co.uk>Jorn Baayen2008-11-281-4/+4
| | | | | | | | | | | | | | | | | | * libgupnp/gupnp-control-point.c (got_description_url): * libgupnp/gupnp-root-device.c (download_and_parse): * libgupnp/gupnp-service-info.c (gupnp_service_info_get_introspection), (got_scpd_url): * libgupnp/gupnp-service-proxy.c (check_action_response), (server_handler): * libgupnp/gupnp-service.c (control_server_handler): Use xmlRecoverMemory instead of xmlParseMemory when parsing xml. Hopefully we now manage better with the masses of über-broken xml out there. (Thanks Jussi for the suggestion) git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1382 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-11-18 Jorn Baayen <jorn.baayen@collabora.co.uk>Jorn Baayen2008-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * AUTHORS: New e-mail address. * configure.ac: Depend on glib 2.18. * libgupnp/gupnp-error-private.h: * libgupnp/gupnp-error.c (_gupnp_error_set_server_error), (_gupnp_error_new_server_error): * libgupnp/gupnp-service-info.c (gupnp_service_info_get_introspection), (got_scpd_url): * libgupnp/gupnp-service-proxy.c (check_action_response): Use g_set_error_literal(). (instead of our own home-cooked set_error_literal()) Mark private error functions as G_GNUC_INTERNAL. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1367 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-09-27 Jorn Baayen <jorn@openedhand.com>Jorn Baayen2008-09-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * doc/gupnp-sections.txt: * libgupnp/gupnp-context-private.h: * libgupnp/gupnp-context.c (gupnp_context_get_property), (gupnp_context_class_init), (gupnp_context_get_session): * libgupnp/gupnp-context.h: * libgupnp/gupnp-control-point.c (gupnp_control_point_dispose), (load_description): * libgupnp/gupnp-root-device.c (download_and_parse): * libgupnp/gupnp-service-info.c (gupnp_service_info_dispose), (gupnp_service_info_get_introspection), (gupnp_service_info_get_introspection_async): * libgupnp/gupnp-service-proxy.c (gupnp_service_proxy_dispose), (finish_action_msg), (gupnp_service_proxy_cancel_action), (subscription_expire), (subscribe), (unsubscribe): * libgupnp/gupnp-service.c (subscription_data_free), (notify_got_response), (notify_subscriber): Make gupnp_context_get_session() public. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1272 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-06-04 Jorn Baayen <jorn@openedhand.com>Jorn Baayen2008-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libgupnp/gupnp-context.c (construct_local_path), (append_locale), (redirect_to_folder), (host_path_handler), (host_path_data_new), (host_path_data_free), (gupnp_context_host_path): * libgupnp/gupnp-control-point.c (load_description): * libgupnp/gupnp-root-device.c (gupnp_root_device_constructor): * libgupnp/gupnp-service-info.c (gupnp_service_info_get_introspection), (gupnp_service_info_get_introspection_async): * libgupnp/gupnp-service-proxy.c (begin_action_msg): * libgupnp/gupnp-service.c (gupnp_service_action_get_locales): * libgupnp/http-headers.c (http_language_from_locale), (locale_from_http_language), (http_request_get_range), (http_request_set_accept_language), (http_request_get_accept_locales), (http_request_set_user_agent), (http_response_set_content_locale), (http_response_set_content_type), (http_response_set_content_range): * libgupnp/http-headers.h: Cleanup of hosting logic. Reprefix message_ functions with http_request_/http_response_. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1027 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-05-27 Ross Burton <ross@openedhand.com>Ross Burton2008-05-271-3/+3
| | | | | | | | | | | | | | | | | * libgupnp/gupnp-control-point.c: * libgupnp/gupnp-root-device.c: * libgupnp/gupnp-context.c: * libgupnp/gupnp-service-info.c: * libgupnp/gupnp-service-introspection.c: * libgupnp/gupnp-service.c: * libgupnp/http-headers.c: * libgupnp/gupnp-service-proxy.c: * libgupnp/gupnp-device-info.c: * libgupnp/gupnp-resource-factory.c: Documentation cleanups. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@996 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-05-15 Ross Burton <ross@openedhand.com>Ross Burton2008-05-151-2/+2
| | | | | | | | | | | | | | | | * libgupnp/gupnp-context.c: * libgupnp/gupnp-service-info.c: * libgupnp/gupnp-service-introspection.c: * libgupnp/gupnp-types.c: * libgupnp/gupnp-service-proxy.c: * libgupnp/gupnp-device-info.c: * libgupnp/gupnp-error.c: * libgupnp/gupnp-resource-factory.c: * libgupnp/gupnp-error.h: More documentation work, almost at 100% now. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@953 d8cb91d7-bff9-0310-92b9-80b65e4482b2
* 2008-05-12 Ross Burton <ross@openedhand.com>Ross Burton2008-05-121-9/+27
| | | | | | | | * libgupnp/gupnp-service-info.c: Complete API documentation. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@941 d8cb91d7-bff9-0310-92b9-80b65e4482b2