changelog
来自「另一 UPNP SDK 支持在UNIX/LINUX上运行。 UPnP是一种网络协」· 代码 · 共 2,164 行 · 第 1/5 页
TXT
2,164 行
* configure.ac: Bump version number to 0.2.2007-07-26 Zeeshan Ali <zeenix@gstreamer.net> * libgupnp/gupnp-service.c: (new_action_response_node): A small fix to the last change from jorn to fix the build.2007-07-26 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-control-point.c: (process_service_list), (process_device_list), (gupnp_control_point_resource_unavailable): * libgupnp/gupnp-device-info.c: (gupnp_device_info_set_property), (gupnp_device_info_get_property), (gupnp_device_info_finalize), (gupnp_device_info_class_init), (gupnp_device_info_get_url_base), (gupnp_device_info_get_udn), (gupnp_device_info_get_device_type), (gupnp_device_info_get_friendly_name), (gupnp_device_info_get_manufacturer), (gupnp_device_info_get_manufacturer_url), (gupnp_device_info_get_model_description), (gupnp_device_info_get_model_name), (gupnp_device_info_get_model_number), (gupnp_device_info_get_model_url), (gupnp_device_info_get_serial_number): * libgupnp/gupnp-device-info.h: * libgupnp/gupnp-device-proxy.c: (gupnp_device_proxy_get_service): * libgupnp/gupnp-service-info.c: (gupnp_service_info_set_property), (gupnp_service_info_get_property), (gupnp_service_info_dispose), (gupnp_service_info_finalize), (gupnp_service_info_class_init), (gupnp_service_info_get_url_base), (gupnp_service_info_get_udn), (gupnp_service_info_get_service_type), (gupnp_service_info_get_id), (gupnp_service_info_get_scpd_url), (gupnp_service_info_get_control_url): * libgupnp/gupnp-service-info.h: * libgupnp/gupnp-service-proxy-private.h: * libgupnp/gupnp-service-proxy.c: (gupnp_service_proxy_begin_action_valist), (gupnp_service_proxy_get_subscribed), (_gupnp_service_proxy_new): * libgupnp/gupnp-service.c: (new_action_response_node): * tests/test-browsing.c: (device_proxy_available_cb): * tests/test-introspection.c: (service_proxy_unavailable_cb): Handle the case where no serviceType (or deviceType) is specified in the description document: - ControlPoint saves the discovered types into the proxies, so that unavailability can be detected even if the description document is bogus. - Service and ServiceProxy warn if serviceType is not specified. This has the side effect that the return value of _get_{device,service}_type() now returns a const. Also added additional checks.2007-07-26 Zeeshan Ali <zeenix@gstreamer.net> * libgupnp/gupnp-device-info.c: * libgupnp/gupnp-device-info.h: * libgupnp/gupnp-device-proxy-private.h: * libgupnp/gupnp-device-proxy.c: (gupnp_device_proxy_get_device), (gupnp_device_proxy_get_service), (_gupnp_device_proxy_new): * libgupnp/gupnp-device.c: (gupnp_device_get_device), (gupnp_device_get_service), (_gupnp_device_new): * libgupnp/gupnp-service-info.c: * libgupnp/gupnp-service-info.h: * libgupnp/gupnp-service-private.h: * libgupnp/gupnp-service-proxy-private.h: * libgupnp/gupnp-service-proxy.c: (_gupnp_service_proxy_new): * libgupnp/gupnp-service.c: (_gupnp_service_new): Make it clear to the user that return value of gupnp_{device,service}_info_get_url_base() must not be freed o modified.2007-07-26 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service-proxy.h: * libgupnp/gupnp-service.h: Cosmetic changes.2007-07-26 Jorn Baayen <jorn@openedhand.com> * doc/gupnp-sections.txt: * libgupnp/gupnp-service-info.h: * libgupnp/gupnp-service-proxy.h: Document callback prototypes. * libgupnp/gupnp-service-info.c: (got_scpd_url), (gupnp_service_info_get_introspection_async): * tests/test-introspection.c: (print_state_variables): Switch the order of the 'error' and 'user-data' arguments in the async introspection retrieval callback, so that 'user-data' is now last for consistency.2007-07-26 Jorn Baayen <jorn@openedhand.com> * gupnp-1.0.pc.in: List all dependencies.2007-07-26 Zeeshan Ali <zeenix@gstreamer.net> * libgupnp/gupnp-service-introspection.c: (gupnp_service_action_arg_info_free), (gupnp_service_action_info_free), (gupnp_service_introspection_finalize), (get_actions), (get_state_variables), (construct_introspection_info), (collect_action_names), (collect_variable_names), (gupnp_service_introspection_new), (gupnp_service_introspection_list_action_names), (gupnp_service_introspection_list_actions), (gupnp_service_introspection_list_state_variables), (gupnp_service_introspection_list_state_variable_names): Get rid of the hashtables since the function that needed them have been removed.2007-07-25 Zeeshan Ali <zeenix@gstreamer.net> * libgupnp/gupnp-service-introspection.h: Fix struct docs for gtk-doc.2007-07-25 Zeeshan Ali <zeenix@gstreamer.net> * libgupnp/gupnp-service-introspection.c: * libgupnp/gupnp-service-introspection.h: Add docs for structs and only mention once the extremely dependency on the availability of SCPD. :)2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service-introspection.c: Added a comment warning people against using introspection in regular apps.2007-07-25 Jorn Baayen <jorn@openedhand.com> A doc/gupnp-sections.txt: * libgupnp/gupnp-error.c: * libgupnp/gupnp-service-introspection.h: * libgupnp/gupnp-service.h: * libgupnp/gupnp-types.c: Doc polish.2007-07-25 Zeeshan Ali <zeenix@gstreamer.net> * libgupnp/gupnp-service-introspection.c: * libgupnp/gupnp-service-introspection.h: Remove unneeded functions.2007-07-25 Jorn Baayen <jorn@openedhand.com> * README: Added text from website.2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-device.c: (gupnp_device_get_device), (gupnp_device_get_service), (gupnp_device_get_property), (gupnp_device_dispose), (gupnp_device_init), (gupnp_device_class_init), (_gupnp_device_find_element_for_udn): * libgupnp/gupnp-root-device.c: (gupnp_root_device_new): * libgupnp/gupnp-service-private.h: * libgupnp/gupnp-service.c: (gupnp_service_action_return_error), (gupnp_service_constructor), (gupnp_service_set_property), (gupnp_service_get_property), (gupnp_service_dispose), (gupnp_service_finalize), (gupnp_service_class_init), (notify_got_response), (notify_subscriber), (create_property_set), (flush_notifications), (gupnp_service_notify_value), (gupnp_service_freeze_notify), (gupnp_service_thaw_notify), (_gupnp_service_new): Devices and Services reference their RootDevice. On RootDevice unavailability Service purges its subscriptions. * tests/test-server.c: (main): Unref content_dir.2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-control-point.c: (gupnp_control_point_dispose): * libgupnp/gupnp-service-proxy-private.h: * libgupnp/gupnp-service-proxy.c: (gupnp_service_proxy_dispose), (subscribe_got_response), (gupnp_service_proxy_set_subscribed): Unsubscribe proxies automatically only at control point dispose.2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-control-point.c: (load_description), (gupnp_control_point_resource_unavailable): Destroy proxy before destroying the associated xmlDoc. * libgupnp/gupnp-error.h: * libgupnp/gupnp-service-info.c: (gupnp_service_info_get_introspection), (gupnp_service_info_get_introspection_async): * libgupnp/gupnp-service-proxy.c: (gupnp_service_proxy_begin_action_valist), (subscription_expire), (subscribe), (unsubscribe): * libgupnp/gupnp-service.c: (notify_subscriber): Better invalid URL error handling. * tests/Makefile.am: R tests/test-client.c: A tests/test-browsing.c: (device_proxy_unavailable_cb): A tests/test-proxy.c: Split out test-client into test-browsing and test-proxy better illustrating how to use the API.2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service.c: (gupnp_service_init), (gupnp_service_finalize), (notify_got_response): Create & destroy notify queue. * libgupnp/gupnp-service.h: Added 'const' to constant signal arguments. * tests/test-client.c: (device_proxy_unavailable_cb), (service_proxy_available_cb): Connect to 'subscription-lost' signal. * tests/test-server.c: (browse_cb), (query_cb), (main): Connect to 'notify-failed' signal. Print action locales. Test gupnp_service_notify().2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service-proxy.c: (subscribe_got_response): Remove server handler on all subscription errors.2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-marshal.list: * libgupnp/gupnp-service.c: (gupnp_service_class_init): Don't box the to-be-filled GValue. * tests/test-client.c: (notify_cb), (service_proxy_available_cb): * tests/test-server.c: (browse_cb), (main): Test event notification.2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service-proxy.c: (server_handler): Remove debug spew.2007-07-25 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service-introspection.c: * libgupnp/gupnp-types.c: Doc polish.2007-07-24 Zeeshan Ali <zeenix@gstreamer.net> * libgupnp/gupnp-service-introspection.c: (gupnp_service_state_variable_info_free), (gupnp_service_action_info_free), (gupnp_service_introspection_finalize), (set_string_value_limits), (get_action_arguments), (action_argument_list_free), (get_actions), (collect_hash_keys), (collect_action_arguments), (collect_actions), (collect_state_variables): * libgupnp/gupnp-service-introspection.h: * libgupnp/gupnp-service.c: (gupnp_service_constructor): * tests/test-introspection.c: (print_action_arguments), (print_actions), (print_state_variables): Use GList instead of GSList for compatibility with the rest of the library.2007-07-24 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service-proxy.c: (server_handler): Don't allow g_main_context_iteration() to block.2007-07-24 Jorn Baayen <jorn@openedhand.com> * configure.ac: Depend on gssdp 0.3. * libgupnp/gupnp-control-point.c: (gupnp_control_point_resource_unavailable): Don't depend on deleted list items in loop.2007-07-24 Jorn Baayen <jorn@openedhand.com> * NEWS: Added news items for 0.2.2007-07-23 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-control-point.c: (load_description): * libgupnp/gupnp-service-info.c: (gupnp_service_info_get_introspection), (gupnp_service_info_get_introspection_async): * libgupnp/gupnp-service-proxy.c: (subscription_expire), (subscribe), (unsubscribe): * libgupnp/gupnp-service.c: (notify_subscriber): Warn on invalid URL (don't crash!).2007-07-23 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-marshal.list: * libgupnp/gupnp-service-proxy.c: (server_handler), (subscription_expire), (subscribe_got_response), (subscribe): * libgupnp/gupnp-service.c: (parse_timeout), (subscribe), (subscription_server_handler), (gupnp_service_constructor), (gupnp_service_finalize), (gupnp_service_class_init), (gupnp_service_notify), (gupnp_service_notify_valist), (notify_got_response), (notify_subscriber), (create_property_set), (flush_notifications), (gupnp_service_notify_value): * libgupnp/gupnp-service.h: Handle multiple callbacks URLs. Send initial event message.2007-07-23 Zeeshan Ali <zeenix@gstreamer.net> * libgupnp/gupnp-service-introspection.c: (construct_introspection_info), (collect_hash_keys), (gupnp_service_introspection_list_action_names), (gupnp_service_introspection_list_state_variable_names): * libgupnp/gupnp-service-introspection.h: - Add _list_state_variable_names() method. - a minor optimization. * tests/test-introspection.c: (service_proxy_available_cb): centralize the error handling.2007-07-23 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service-info.c: (gupnp_service_info_get_introspection), (got_scpd_url): * libgupnp/gupnp-service-introspection.c: (gupnp_service_introspection_set_property), (gupnp_service_introspection_finalize): Don't keep xmlDoc around longer than necessary.2007-07-23 Zeeshan Ali <zeenix@gstreamer.net> Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-error.c: * libgupnp/gupnp-error-private.h: * libgupnp/gupnp-service-proxy.c: Add & use server error utility functions. * libgupnp/gupnp-service-info.c: (gupnp_service_info_get_introspection), (scpd_loaded), (got_scpd_url), (gupnp_service_info_get_introspection_async): * libgupnp/gupnp-service-info.h: Report non-programmer errors using GError. * libgupnp/gupnp-service-introspection.c: (gupnp_service_introspection_set_property), (construct_introspection_info), (gupnp_service_introspection_new), (gupnp_service_introspection_get_state_variable): Fix some typos and conditions. * tests/test-introspection.c: (got_introspection), (service_proxy_available_cb): Update the test app to use the new GError-using API.2007-07-11 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-error.h: * libgupnp/gupnp-service-proxy.c: (set_error_literal), (gupnp_service_proxy_end_action_valist): Propagate UPnPError codes.2007-07-11 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-service-proxy.c: (gupnp_service_proxy_begin_action_valist): Set error if no controlURL is defined.2007-07-08 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-control-point.c: (got_description_url), (load_description): Fix description doc refcounting bugs.2007-07-08 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-control-point.c: (description_loaded): * libgupnp/gupnp-device-info.c: (gupnp_device_info_set_property): * libgupnp/gupnp-service-info.c: (gupnp_service_info_set_property): Each info object stores its own copy of the URLBase SoupUri.2007-07-08 Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-control-point.c: (process_service_list), (process_device_list), (load_description),
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?