| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
use xmlReadMemory, also use NONET flat
|
|
|
|
|
| |
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 -.-
|
|
|
|
| |
Otherwise introspection will fail for link-local
|
| |
|
|
|
|
| |
g_clear_pointer seems to run on a NULL ptr
|
|
|
|
|
| |
Remove deprecated introspection functions, completely rewrite the
introspect_async() function
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #53
|
|
|
|
| |
Forgot the C files in the last commit
|
|
|
|
| |
Mainly missing nullable on return values
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Jens Georg <mail@jensge.org>
|
|
|
|
| |
Signed-off-by: Jens Georg <mail@jensge.org>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Signed-off-by: Jens Georg <mail@jensge.org>
|
|
|
|
|
|
| |
This version of get_introspection can be cancelled using GCancellable.
https://bugzilla.gnome.org/show_bug.cgi?id=704867
|
|
|
|
| |
This reverts commit 909e721c52a335aa8b0ef8f3c37fa62216451530.
|
|
|
|
|
|
| |
This version of get_introspection can be cancelled using GCancellable.
https://bugzilla.gnome.org/show_bug.cgi?id=704867
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
http://bugzilla.openedhand.com/show_bug.cgi?id=2084
|
|
|
|
| |
http://bugzilla.openedhand.com/show_bug.cgi?id=2086
|
| |
|
|
|
|
|
| |
There is no need to set User-Agent header on each message ourselves, we
can just set it once on the SoupSession.
|
| |
|
|
|
|
| |
loop and is evil
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* 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
|