2008-10-20 Dan Winship * configure.in: 2.24.1 * NEWS: update 2008-10-20 Dan Winship * tests/Makefile.am (INCLUDES): add SOUP_MAINTAINER_FLAGS here too. * tests/dns.c (main): * tests/getbug.c (main): * tests/server-auth-test.c (do_test): replace deprecated glib functions 2008-10-20 Cosimo Cecchi * configure.in: * libsoup/Makefile.am: * libsoup/soup-status.h: * libsoup/soup-types.h: * libsoup/soup-uri.c: (soup_uri_to_string): Build with G_DISABLE_DEPRECATED and G_DISABLE_SINGLE_INCLUDES; enforce the first switch under maintainer mode and the second one unconditionally (#557072). 2008-10-19 Dan Winship * libsoup/soup-auth.c (soup_auth_update): compare scheme name case-insensitively, to prevent an infinite loop when it's not in standard form. #536285 2008-10-09 Andrew W. Nosenko * libsoup/soup-uri.c (soup_uri_to_string): Verify whether uri is non-NULL and avoid crash on NULL pointer dereference therefore. 2008-10-01 Dan Winship * tests/xmlrpc-test.c (main): add a new -s flag to indicate that it's being run from inside xmlrpc-server-test. (test_echo): if we aren't running inside xmlrpc-server-test, and the response strings don't match the request strings, then compare them to echo_strings_broken instead; a bug in php-xmlrpc manifests when using libxml2 >= 2.7.1, resulting in incorrect responses. :-/ * tests/xmlrpc-server-test.c (do_xmlrpc_tests): Pass -s to xmlrpc-test 2008-10-01 Dan Winship * libsoup/soup-cookie-jar.c: * libsoup/soup-cookie.c: * libsoup/soup-cookie.h: * libsoup/soup-headers.c: * libsoup/soup-logger.c: * libsoup/soup-session-feature.c: * libsoup/soup-session-feature.h: * libsoup/soup-session.c: doc fixups * docs/reference/libsoup-2.4-docs.sgml: * docs/reference/libsoup-2.4-sections.txt: * docs/reference/libsoup-2.4.types: Add missing bits 2008-09-30 Dan Winship * libsoup/soup-xmlrpc.c (parse_value): soup_value_hash_insert_value() copies the value, so we have to g_value_unset() our copy. * tests/chunk-test.c: * tests/misc-test.c: * tests/ntlm-test.c: fix leaks * tests/libsoup.supp: update 2008-09-30 Dan Winship * libsoup/soup-session-async.c (do_idle_run_queue): store the GSource in priv, don't ref the session. Otherwise the session won't get destroyed if you abort it and then don't return to its main loop. (addendum to #498509, Arnout Vandecappelle) (finalize): Destroy the idle_run_queue source when finalizing. (run_queue, got_connection): Ref the session when calling soup_connection_connect_async(), and do a do_idle_run_queue()+unref in got_connection, to ensure correct handling regardless of what the application does with its own ref on the session. (final_finished): Likewise, ref/do_idle_run_queue/unref rather than calling run_queue directly and playing with weak pointers. * libsoup/soup-session.c (connect_result): ref the session around the cancel-if-error loop Fixes #533473, crash in seahorse when connecting to a non-responsive key server. * tests/misc-test.c (do_callback_unref_test): Add a test for the bug in #533473. * tests/test-utils.c (soup_test_session_abort_unref): abort and unref a SoupSession, and consider it an error if the session still exists afterward. Suggested by Arnout Vandecappelle. (test_server_shutdown): Likewise, consider it an error if the server is leaked. * tests/*.c: Use soup_test_session_abort_unref(). 2008-09-26 Dan Winship * libsoup/soup-auth-manager-ntlm.c * libsoup/soup-auth-manager.c * libsoup/soup-cookie-jar.c * libsoup/soup-dns.c * libsoup/soup-logger.c: * libsoup/soup-message-body.h: * libsoup/soup-message.h * libsoup/soup-misc.h: * libsoup/soup-xmlrpc.h: * tests/continue-test.c: * tests/ntlm-test.c: Fix warnings pointed out by gcc -pedantic. #553976, Sander Dijkhuis.