hindi translation
[platform/upstream/libsoup.git] / NEWS
1 Changes in libsoup from 2.41.91 to 2.41.92:
2
3         * Fixed a bug that caused libsoup to retry an incorrect
4           password repeatedly, forever, in a certain case that
5           affected Google calendars in evolution in particuar.
6           [Red Hat bug #916224, Dan]
7
8         * Also added code to make such infinite retry loops impossible
9           in the future. [Dan]
10
11         * Fixed SoupRequestData's handling of URIs with "%00" in them.
12           [#695246, Žan Doberšek]
13
14         * Added the SoupSession:proxy-resolver property, to override
15           the GProxyResolver used by a session. (This means there are
16           now three different ways of controlling proxy resolution in
17           SoupSession... this will be cleaned up a bit after 2.42.)
18           [#680273, Dan]
19
20         * Added missing G_BEGIN_DECLS/G_END_DECLS to
21           soup-message-headers.h, so that its functions can be called
22           from C++. [Carlos Garcia Campos]
23
24         * Updated translations:
25           Assamese, Belarusian, Brazilian Portuguese, Catalan
26           (Valencian), Catalan, Danish, Estonian, French, Greek,
27           Gujarati, Hungarian, Italian, Latvian, Portuguese, Russian,
28           Slovenian, Thai
29
30 Changes in libsoup from 2.41.90 to 2.41.91:
31
32         * Fixed a crash that showed up with XMLRPC requests in
33           WebKitGTK. [#694920, Sergio]
34
35         * Fixed SoupCache to update the cached headers when it
36           receives a 304 Not Modified response, and added a test for
37           this. [#695121, Sergio]
38
39         * libsoup now builds under automake 1.13 (and "make check"
40           works under the parallel test harness which is the default
41           in 1.13) [#694135]
42
43         * The tests/ directory now contains only actual test programs
44           that are run by "make check", and the programs that are
45           intended more as example code are under examples/.
46
47         * New/updated translations:
48           Aragonese, Chinese (traditional), Czech, Galician, Hebrew,
49           Lithuanian, Norwegian bokmål, Punjabi, Spanish, Uyghur,
50           Vietnamese
51
52 Changes in libsoup from 2.41.5 to 2.41.90:
53
54         * Added SoupSession:local-address property, which allows you
55           to force connections to bind to a particular local address
56           (eg, to control the interface that is used). [#693215, Jonh
57           Wendell]
58
59         * Fixed SoupCache to properly handle messages that get
60           cancelled, and added tests for this. [#692310, Sergio]
61
62         * Fixed a reference leak in SoupCache that resulted in
63           epiphany hanging for several seconds on exit and then
64           eventually printing "Cache flush finished despite X pending
65           requests". And added more tests. [#682527, Sergio]
66
67         * Fixed SoupAuthNTLM so that SoupSession:authenticate gets
68           emitted with retrying=TRUE if the first attempt fails (ie,
69           make it work the same way as SoupAuthBasic and
70           SoupAuthDigest). [#693222, Dan]
71
72         * Fixed the SoupSession:add-feature-by-type property to accept
73           non-SoupSessionFeature features as well (eg, auth types)
74           [Dan]
75
76         * Fixed a build bug that would break all the apache-based
77           tests if you didn't have PHP installed. [#693311, Dan]
78
79         * Updated translations:
80           Malayalam, Polish, Serbian, Slovak
81
82 Changes in libsoup from 2.41.4 to 2.41.5:
83
84         * Reverted the change to SoupURI's password handling from
85           2.41.4, since it turns out to have broken some things.
86           [#692149, Dan]
87
88         * Avoid a g_return_if_fail() when loading
89           SoupSession:ssl-ca-file fails. [#691930, Guillaume
90           Desmottes]
91
92         * Fixed a bug in SoupBodyInputStream that caused redirects in
93           WebKitGTK to hang. [#692026, Sergio]
94
95         * Updated translations:
96           Belarusian, Chinese (traditional), German, Italian,
97           Norwegian bokmål, Serbian, Uyghur
98
99 Changes in libsoup from 2.41.3 to 2.41.4:
100
101         * Lots of docs fixes, including catching up with some (but not
102           all!) of the API additions and deprecations, and a new
103           chapter with hints on porting from
104           SoupSessionAsync/SoupSessionSync to the new-and-improved
105           plain SoupSession.
106
107         * The plain SoupSession type now supports
108           soup_session_queue_message() (with SoupSessionAsync
109           semantics) and soup_session_send_message() (with
110           SoupSessionSync semantics), and there are now
111           soup_session_new() and soup_session_new_with_options().
112
113         * The mirroring of the SoupMessage API onto SoupRequestHTTP,
114           added in 2.41.3, has been reverted. However, new APIs
115           soup_session_send() and soup_session_send_async() have been
116           added that let you use the GInputStream-based API with
117           SoupMessages rather than SoupRequest, so if you're doing
118           HTTP-specific stuff, you can just use that instead.
119
120         * soup_message_get_https_status() now returns the certificate
121           and flags for unsuccessful https connections as well as
122           successful ones. [#690176]
123
124         * Fixed a deadlock when calling soup_session_abort() on a
125           SoupSessionSync in some cases. [#691399] 
126
127         * Internal SoupCache rewrites/improvements [#682112, Sergio]
128
129         * Plugged a memory leak in SoupCache [#690382, Sudarsana
130           Nagineni] and one in SoupAuthDigest [#690142]
131
132         * LIBSOUP_DISABLE_DEPRECATED has been renamed to
133           SOUP_DISABLE_DEPRECATED, but that's just to keep gtk-doc
134           happy, and you shouldn't use it. You should use
135           SOUP_VERSION_MIN_REQUIRED instead.
136
137         * Fixed the samba-windbind-based NTLM support, which appears
138           to have been broken before.
139
140         * SoupAuthManager is now a public class (so you can remove it
141           as a feature from a session, or disable it for a particular
142           message). It also has a new method
143           soup_auto_manager_use_auth(), which can be used to "preload"
144           authentication for a host so that libsoup will use
145           authentication on the very first request.
146
147         * SoupURI now treats "http://user@example.com" as having a
148           password of "" rather than NULL, since a NULL password would
149           not be valid for any known HTTP auth type.
150
151         * build: libsoup now uses autoreconf instead of
152           gnome-autogen.sh, and no longer uses AM_GLIB_GNU_GETTEXT
153           [Javier Jardon].
154
155         * Updated translations:
156           Assamese, Bulgarian, Estonian, Friulian, Galician, Hebrew,
157           Polish, Slovenian, Spanish
158
159 Changes in libsoup from 2.41.2 to 2.41.3 (codename: "I Left My
160 Deprecated APIs in A Coruña"):
161
162         * BUILD DEPENDENCY CHANGES: libsoup-gnome no longer depends on
163           libgnome-keyring, and the sqlite3 dependency has been moved
164           from libsoup-gnome to libsoup proper. (See below).
165
166
167         * SoupRequest is now stable API. SoupRequester, however, is
168           deprecated. Instead you can now call soup_session_request()
169           or soup_session_request_uri() to create a SoupRequest.
170
171           Some documentation has been updated to reflect this, but
172           much more still needs to be (in particular the "Client-side
173           Tutorial").
174
175         * SoupRequestHTTP now has a number of fields and methods that
176           mirror the SoupMessage data, so you don't have to use
177           soup_request_http_get_message() in many cases. On the flip
178           side, there is also now soup_message_get_request(). And you
179           can create a SoupRequestHTTP directly (and override its
180           request method) by using soup_session_request_http() or
181           soup_session_request_http_uri()).
182
183         * soup_message_set_chunk_allocator() is now deprecated; apps
184           that want to do streaming reads should just use SoupRequest,
185           which is vastly more sane.
186
187
188         * SoupPasswordManager is now deprecated, and
189           SoupPasswordManagerGNOME is now a no-op (and libsoup-gnome
190           no longer links against libgnome-keyring). [#594377, #679866]
191
192         * SoupCookieJarSqlite is now deprecated in favor of
193           SoupCookieJarDB, which is exactly the same thing except that
194           it's in libsoup itself rather than being in libsoup-gnome
195           (something that many people have requested). This means that
196           libsoup now requires sqlite3... if this offends you horribly
197           then you have a few months to speak up...
198
199         * SoupProxyResolverGNOME is now deprecated; there hasn't been
200           any real reason to use it since SoupProxyResolverDefault was
201           added.
202
203         * As a result of the last three items, libsoup-gnome now
204           consists entirely of deprecated APIs, and there is no reason
205           you should use it any more (though packagers need to keep
206           building it, for backward compatibility).
207
208
209         * SoupSession is no longer an abstract class, and you can
210           create a plain SoupSession, which behaves in a more
211           traditionally-gio-like way (allowing a mix of sync and async
212           methods, etc). This "plain" SoupSession also has more sane
213           default values of certain properties, and has certain
214           SoupSessionFeatures built in.
215
216           This will eventually replace SoupSessionAsync and
217           SoupSessionSync completely, but most of the documentation
218           hasn't yet been updated at this point...
219
220           This change involved merging the majority of the
221           SoupSessionAsync and SoupSessionSync code into SoupSession,
222           getting rid of lots of redundancy in the process. There may
223           be some bug fallout from this (probably on the
224           SoupSessionSync side, since WebKit's tests tend to shake out
225           all SoupSessionAsync bugs). However, this should help to
226           avoid SoupSessionSync-only bugs in the future, since much
227           more of the code is now shared.
228
229
230         * Usernames and passwords passed into SoupSession a URI will
231           now be cleared after they're used, so that if they are
232           wrong, the authenticate signal will be emitted on the next
233           round. [#689673, Martin Robinson]
234
235         * SoupURI now leaves "%00" in URIs as-is, rather than decoding
236           it to "\0", which was not intended and is never useful.
237
238         * Fixed a bug in SoupBodyOutputStream that could cause libsoup
239           to sometimes use blocking I/O rather than non-blocking when
240           writing chunked message bodies. [#688974, Milan Plzik]
241
242         * Fixed a bug in SoupFilterInputStream that could cause some
243           non-blocking reads to suck up CPU while waiting for the
244           network. (This was noticed with multipart/x-mixed-replace
245           processing; it's not clear if it affected anything else.)
246           [Gustavo]
247
248         * tests: misc small fixes
249
250
251         * New/updated translations:
252           Assamese, Galician, Japanese, Odia, Polish, Spanish
253
254 Changes in libsoup from 2.41.1 to 2.41.2:
255
256         * libsoup-2.4.so and libsoup-gnome-2.4.so now only export the
257           symbols that are part of the public API. (Plus, temporarily,
258           one additional symbol, soup_message_io_cleanup, which is
259           used by gvfs and possibly a few other modules, even though
260           it shouldn't be. If you copied soup-input-stream.c from
261           gvfs, you should port your code to use SoupRequest instead.)
262           [Dan, #595176]
263
264         * Added SOUP_VERSION_MIN_REQUIRED / SOUP_VERSION_MAX_ALLOWED
265           macros like the corresponding glib ones, to allow libsoup
266           users to request per-version deprecation/availability
267           warnings. [Dan]
268
269         * Fixed a crash caused by a race condition in SoupSessionSync,
270           and reorganized some code to avoid other possible similar
271           race conditions. [#684238, Dan]
272
273         * Fixed a crash when a DNS resolution failed, caused by a bug
274           in the GTask porting in 2.41.1. [#688330, Milan Crha]
275
276         * Fixed a problem that would cause g_warning()s in epiphany
277           when browsing sites that (incorrectly) returned empty
278           Cache-Control headers. [#683433, Dan]
279
280         * We now add a Host header to HTTP/1.0 requests as well as
281           HTTP/1.1 ones. [Dan]
282
283         * Fixed a bug in the printing of IPv6 address literals in the
284           Host header in SoupLogger. (They were being sent across the
285           wire correctly, they were just printed wrong by SoupLogger.)
286           [Dan]
287
288         * Belatedly added soup-multipart-input-stream.h to soup.h.
289           [Dan]
290
291         * Removed an evil hack in the long-deprecated
292           SoupProxyResolver code (not to be confused with
293           SoupProxyURIResolver), to avoid warnings with glib master.
294           If you had previously implemented a custom
295           SoupProxyResolver, then it will probably (silently) stop
296           working, but you should have ported it to
297           SoupProxyURIResolver years ago anyway... [Dan, #687659]
298
299         * Fixed a few race conditions in the test programs that could
300           cause "make check" to fail on slow or heavily-loaded
301           machines. [Dan]
302
303         * Further cleaned up and reorganized the internal HTTP I/O
304           codepaths, in preparation for an improved SoupCache.
305           [#682112, Sergio] (This change should not actually be
306           externally noticeable. But if SoupContentDecoder or
307           SoupContentSniffer turns out to be broken in this release,
308           this would be why).
309
310         * New/updated translations:
311           Slovak, Uyghur
312
313 Changes in libsoup from 2.40.1 to 2.41.1:
314
315         * Changed the behavior of NTLM authentication to be more like
316           what other apps apparently do. Now if the user does not
317           specify a domain in the username (eg, "MYDOMAIN\username"),
318           then we will not specify a domain in the NTLM response
319           (rather than assuming that the user is in the server's
320           default domain). People who get broken by this change should
321           be able to fix it by including an explicit domain in their
322           username, but the theory is that no one should get broken by
323           this... If this change does turn out to hurt more than it
324           helps then it may be reverted later. [#624613, Dan, based on
325           a suggestion from David Woodhouse]
326
327         * Fixed a crash caused by a race condition in SoupSessionSync.
328           [#684238, Dan]
329
330         * SoupRequest now supports resource:// URIs, for reading from
331           gresource. [#682721, Carlos]
332
333         * Added new compile-time and runtime APIs for checking the
334           libsoup version. [#684514, Martin Robinson]
335
336         * Updated to take advantage of (and require) glib 2.35;
337           removed all g_type_init() calls and ported to GTask. [Dan]
338
339         * Added support for Apache 2.4 to the unit tests. [Dan]
340
341         * New translations:
342           Uzbek (Cyrillic)
343
344 Changes in libsoup from 2.40.0 to 2.40.1:
345
346         * Improved the parsing of multipart/x-mixed-replace responses.
347           [#685752, Gustavo]
348
349         * Fixed handling of IPv6 address literals. [#684990, Dan]
350
351         * New/updated translations:
352           Catalan, Catalan (Valencian), Norwegian bokmål
353
354 Changes in libsoup from 2.39.92 to 2.40.0:
355
356         * New/updated translations:
357           Bengali (India), Bulgarian, Chinese (Simplified), Estonian,
358           German, Hebrew, Hindi, Hungarian, Latvian, Malayalam,
359           Punjabi, Tamil, Telugu, Thai, Ukranian
360
361 Changes in libsoup from 2.39.91 to 2.39.92:
362
363         * Fixed some g_warnings (and a possible crash) with the
364           soup_request_send_async(). [#683404, Dan]
365
366         * Fixed a hang with SoupSessionSync [#682923, Dan]
367
368         * Handle empty "Cache-Control" headers. [Sergio]
369
370         * New/updated translations:
371           Assamese, Belarusian, Brazilian Portuguese, British English,
372           Chinese (Traditional), Czech, Danish, French, Galician,
373           Greek, Gujarati, Hungarian, Indonesian, Italian, Lithuanian,
374           Marathi, Persian, Polish, Portuguese, Russian, Serbian,
375           Slovenian, Spanish
376
377 Changes in libsoup from 2.39.90 to 2.39.91:
378
379         * Added missing (transfer full) annotation to
380           soup_cookie_jar_add_cookie() and
381           soup_cookie_jar_add_cookie_with_first_party(), fixing
382           crashes in bindings. [#682554, Daniel Drake]
383
384         * Fixed a crash [#682569, Alexander Larsson] and a win32 build
385           problem [#683200, Kalev Lember] introduced by the memory
386           leak fixes in 2.39.90
387
388         * Fixed the SoupMessage:network-event signal, which had been
389           skipping the G_SOCKET_CLIENT_COMPLETE state in tunneled
390           https connections. And added a test for this. [Dan]
391
392         * New/updated translations:
393           French, Japanese, Korean, Latvian, Lithuanian, Polish,
394           Punjabi, Swedish, Tamil
395
396 Changes in libsoup from 2.39.5 to 2.39.90:
397
398         * Added SoupMultipartInputStream, for handling multipart
399           responses (particularly multipart/x-mixed-replace).
400           [#656684, Gustavo]
401
402         * Fixed a potential crash in SoupSessionAsync after the
403           session is finalized.
404
405         * Fixed a regression in soup_tls_is_public_suffix() [#681085,
406           Sergio]
407
408         * Added a SOUP_MESSAGE_IDEMPOTENT flag, so that apps can
409           bypass the "POSTs must be sent on new connections" check,
410           which was causing evolution-ews to have to create a new
411           connection for every request. [#681493, Milan Crha]
412
413         * Changed SoupSession so that pending SoupMessages now hold a
414           ref on the session. It is possible that this will break code
415           that was depending on the old, dumb, behavior (where
416           unreffing the session with messages pending would cause
417           those messages to be cancelled), in which case this will be
418           reverted before 2.40.
419
420         * Fixed memory leaks found by valgrind.
421
422         * Cleaned up some code in SoupCache. [#681509, Sergio]
423
424         * New/updated translations:
425           Bengali (India), Chinese (Traditional), German, Marathi,
426           Turkish, Ukranian
427
428 Changes in libsoup from 2.39.4.1 to 2.39.5:
429
430         * Fixed several bugs in the soup-message-io updates that could
431           cause hangs or I/O errors. [#679527 and other bugs not filed
432           in bugzilla]
433
434         * Fixed SoupServer:async-context to work properly again
435
436         * Further fixes to soup_uri_normalize() when using the
437           "unescape_extra" parameter. [#680018]
438
439         * Fixed soup_xmlrpc_parse_method_call() to handle the case
440           where there is no <params> element (which is legal).
441           [#671661]
442
443         * Fixed the deprecation warning on soup_message_headers_get()
444           [#680143]
445
446         * Added warnings to some erroneous SoupSocket usages rather
447           than returning bogus data. [#673083, Simon McVittie]
448
449         * Fixed build under Windows/MinGW
450
451         * SoupSocket no longer emits the "readable" signal when a
452           socket is disconnected if that socket is non-blocking.
453
454         * Updated public suffix list to the current version.
455
456         * New/Updated translations:
457           Assamese, Chinese (simplified), Esperanto, Galician, Greek, Gujarati,
458           Hebrew, Norwegian bokmål, Russian, Serbian, Slovenian
459
460 Changes in libsoup from 2.39.4 to 2.39.4.1:
461
462         * Fixed indentation problems in tld-parser.py so it will work
463           under python 3. [#680089, "marduk"]
464
465         * Actually fixed cookies in non-suffixed/private domains,
466           which still didn't work after the last fix. [#679230,
467           Carlos]
468
469         * Updated translations:
470           Spanish
471
472 Changes in libsoup from 2.39.3 to 2.39.4:
473
474         * Fixed the SoupRequest codepaths to properly retry in the
475           case where the server closes a persistent connection when we
476           try to use it. [Dan, might be the fix for #679527, but this
477           is not yet confirmed]
478
479         * Fixed the content-type and content-length of requests
480           retrieved from SoupCache. [#680029, Carlos Garcia Campos]
481
482         * Fixed the handling of cookies in non-suffixed and private
483           domains ("localhost", "foo.local", etc) [#679230, Sergio and
484           Dan]
485
486         * Fixed cookie parsing to allow attribute values on "secure"
487           and "HttpOnly". (Neither is supposed to have a value, but it
488           happens in the real world.) [#678753, Dan, based on a patch
489           from "Basavaraj"]
490
491         * Fixed soup_uri_normalize() to not always run the "fixup"
492           codepath. [#680018, pointed out by Yann Soubeyrand]
493
494         * Fixed a (rare) crash when closing the stream returned from
495           SoupRequestHTTP. [Dan]
496
497         * Use G_DEPRECATED on deprecated functions, and then fix up
498           the warnings this caused due to libsoup using its own
499           deprecated functions. [#671770, Javier Jardón]
500
501         * Fixed up "make dist" by, among other things, rewriting
502           tld-parser in python. [#678909, Colin Walters]
503
504         * Removed the "getbug" example program in tests/, which didn't
505           work any more anyway. [Dan]
506
507         * Various internal code cleanups. [Dan] Fixed one crash
508           resulting from this [#680055, Alban Browaeys]; hopefully
509           there won't be any more.
510
511         * New/Updated translations:
512           Assamese, Belarusian, Bulgarian, Chinese (traditional), Hebrew,
513           Indonesian, Lithuanian, Norwegian bokmål, Vietnamese
514
515 Changes in libsoup from 2.39.2 to 2.39.3:
516
517         * Added new functions for comparing domains against the
518           "public suffix" list (http://publicsuffix.org/), and in
519           particular fixed SoupCookieJar to not allow setting cookies
520           in "public" domains (eg, ".co.uk"). [#673802, Sergio]
521
522         * Added two new SoupCookieJar APIs
523           (soup_cookie_jar_get_cookies() and
524           soup_cookie_jar_set_cookie_with_first_party()) as part of
525           fixing the handling of HttpOnly cookies in WebKitGTK.
526           [#677922, Christophe Dumez]
527
528         * Fixed g-i annotation of
529           soup_message_headers_get_content_type(). [#677002, Dan]
530
531         * Updated translations:
532           Galician, Greek, Slovenian, Spanish, Telugu
533
534 Changes in libsoup from 2.39.1 to 2.39.2:
535
536         * Fixed several bugs that resulted from the I/O code rewrite
537           in 2.39.1, and added more test cases to exercise the new
538           code paths:
539
540                 * Problems with cancelling messages from the
541                   got-headers signal [#674747, Dan]
542
543                 * Persistent connections were not always being closed
544                   properly after a message was cancelled mid-response.
545                   [Dan]
546
547                 * Cancelling a SoupRequest before it started I/O
548                   didn't work. [Dan]
549
550                 * Asynchronous HTTP authentication via the SoupRequest
551                   API [#675306, Dan]
552
553                 * Memory leak [#676038, Ray Strode]
554
555                 * Refcounting bug that manifested as a crash in rygel
556                   [#676038, Ray Strode]
557
558                 * Handling failed CONNECT requests via SoupRequest
559                   [#675865, Sergio]
560
561                 * Messages with trailing junk following a compressed
562                   message body [#676477, Dan]
563
564         * Fixed three cache-related bugs that affect some sites
565           (notably Twitter) [Sergio]
566
567         * Fixed a bug in the /usr/bin/ntlm_auth integration when you
568           don't already have credentials cached, and avoid printing
569           warning messages when ntlm_auth is present but not usable.
570           [Dan]
571
572         * Fixed some g-ir-scanner warnings, and included
573           SoupRequester/SoupRequest in the introspected API [#676742,
574           Jasper St. Pierre]
575
576         * Added soup_buffer_get_as_bytes() [#676776, Jasper]
577
578         * New/updated translations:
579           Belarusian, Chinese (simplified), French, Galician, Greek,
580           Hebrew, Polish, Punjabi, Romanian, Slovenian, Spanish
581
582 Changes in libsoup from 2.38.1 to 2.39.1:
583
584         * Major rewrite of the I/O code to use gio streams more
585           directly. In particular, when using SoupRequestHTTP now, the
586           input stream that is returned is actually pulling data from
587           the socket, rather than just repeatedly pausing and
588           unpausing the underlying SoupMessage and waiting for data to
589           be pushed into it. This also means that SoupRequestHTTP now
590           works with SoupSessionSync as well. [#591739, Dan]
591
592           (The SoupRequest API is still protected by unstable-API
593           #ifdefs, but will be made public later in this cycle.)
594
595         * Libsoup now finally supports SOCKS proxies again. [#553269,
596           Dan]
597
598         * Certain error messages returned from the streaming API
599           (SoupRequest, etc) are now localized; more strings will be
600           localized later on.
601
602         * New translations: Galician, Hebrew, Indonesian, Norwegian
603           bokmål, Polish, Russian, Slovenian, Spanish.
604
605         * Added a SoupCookieJar:is-persistent property, to distinguish
606           memory-only jars from SoupCookieJarText and
607           SoupCookieJarSqlite. [#672838, Carlos Garcia Campos]
608
609 Changes in libsoup from 2.38.0 to 2.38.1:
610
611         * Fixed a situation where soup_connection_disconnect() could
612           end up calling g_object_unref(NULL) when an idle connection
613           was closed. [Sergio, #672178]
614
615         * Fixed two warnings when cancelling an in-progress
616           soup_socket_connect_async(). [pointed out on the mailing
617           list by Sven Neumann]
618
619         * Fixed a crash when disposing a SoupServer with open
620           connections. [#673468, Jonny Lamb]
621
622         * Fixed the SoupSession:ssl-use-system-ca-file property to get
623           turned off (rather than on) when you set it to FALSE... Also
624           fixed up the property notifications around the various
625           certificate-verification properties (ssl-ca-file,
626           ssl-use-system-ca-file, and tls-database).
627
628         * Fixed SoupSession to not leak paused SoupMessages that
629           were still in progress when it was unreffed. [#673905]
630
631         * Updated the win32 file: URI code again, to fix regressions
632           in the WebKit tests. [WebKit bug #82484]
633
634 Changes in libsoup from 2.37.92 to 2.38.0:
635
636         * Minor documentation fixes
637
638 Changes in libsoup from 2.37.91 to 2.37.92:
639
640         * Added soup_session_prefetch_dns() and deprecated
641           soup_session_prepare_for_uri(). The new method takes a
642           completion callback, allowing you to know how many DNS
643           resolutions are currently outstanding, so you don't spam the
644           resolver. [Sergio, WebKit bug #41630]
645
646 Changes in libsoup from 2.37.90 to 2.37.91:
647
648         * Fixed an out-of-bounds memory read that could occur when
649           parsing malformed requests/responses.
650
651         * Fixed a build-related bug in Makefile.glib that affected
652           locales such as Estonian where "Z" is not the last (ASCII)
653           letter of the alphabet. [#654395, Priit Laes]
654
655         * Fixed the handling of file: URIs with query components,
656           which got broken in 2.37.90.
657
658         * Fixed SoupAuthManagerNTLM to not fall back to allowing Basic
659           auth when NTLM failed.
660
661         * Further tweaked the warnings/fallback in SoupURI, so that
662           soup_uri_to_string() on an http URI with a NULL path would
663           translate that to "/" like it used to. [#670431]
664
665         * Fixed a warning when cancelling the load of a page with many
666           subresources. [#667245]
667
668         * Use G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS if GLib is new
669           enough, to avoid getting warned about the use of
670           GValueArray.
671
672 Changes in libsoup from 2.37.5 to 2.37.90:
673
674         * libsoup is now beta-testing Makefile.glib from bug 654395.
675           If 2.37.90 fails to build in some strange way that 2.37.5
676           did not, this is probably why.
677
678         * Replaced some of the SoupURI g_return_if_fail()s that were
679           added in 2.37.5 with g_warn_if_fail()s. Although it had
680           always been documented that SoupURIs must have a non-NULL
681           path, most SoupURI functions treated NULL the same as "",
682           and various apps (eg, rhythmbox, midori) were accidentally
683           relying on this. [Dan]
684
685         * Added various return-if-fails and other sanity checks to
686           various functions. [#669479, Robert Swain, Mark Nauwelaerts,
687           Simon McVittie]
688
689         * Updated docs/annotation of soup_form_decode_multipart() to
690           note that all of the out parameters are (allow-none). Fixed
691           the file_control_name parameter to actually allow NULL like
692           the docs already claimed. [#669479, Simon McVittie]
693
694         * Fixed a minor URI parsing bug. (It was allowing URI schemes
695           to contain numbers.) [Dan]
696
697         * Fixed a few memory leaks introduced in the 2.37 cycle. [Dan]
698
699         * Fixed SoupServer to be able to correctly respond to HTTP/1.0
700           requests over IPv6 (which previously would always have
701           returned "400 Bad Request"). [#666399, Dan]
702
703         * Changed SoupSessionAsync to make it possible to finalize it
704           from the "wrong" thread. [#667364, Dan].
705
706         * Fixed SoupCache to not cache resources whose URIs have query
707           components (unless they have explicit cache headers); to not
708           generate broken conditional requests for resources that
709           cannot be conditionally validated; and to not spew warnings
710           when receiving invalid Cache-Control headers. [#668865,
711           Sergio].
712
713 Changes in libsoup from 2.37.4 to 2.37.5:
714
715         * Fixed a bug in SoupSession:use-thread-context [Dan]
716
717         * Fixed the case of cancelling a message from
718           SoupSession::request-started [#668098, Raphael Kubo da
719           Costa]
720
721         * Fixed a crash in epiphany when loading a page with more than
722           1000 or so images. [#668508, Dan]
723
724         * Fixed a bunch of cases involving invalid URLs found while
725           testing SoupServer against an HTTP protocol fuzzer. Also
726           fixed up some documentation/annotations and added some new
727           test cases. [#667637, Simon McVittie]
728
729         * Fixed SoupRequestFile to work on Windows. [Paweł Forysiuk]
730
731 Changes in libsoup from 2.37.3 to 2.37.4:
732
733         * SoupMessage now has a "network-event" signal that can be
734           monitored for information about DNS, proxy lookup, TCP
735           connections, and TLS handshakes. [Dan]
736
737         * The HTTP header parsing code now avoids hitting
738           g_return_if_fails() (and returns an error instead) in a few
739           cases of seriously-invalid headers. [#666316, Simon
740           McVittie, Dan]
741
742         * POSTs and other non-idempotent requests are now always sent
743           on newly-created connections. You can also force this
744           behavior on other messages by setting the
745           SOUP_MESSAGE_NEW_CONNECTION flag. [#578990, Dan]
746
747         * Server-closed idle connections are now detected ahead of
748           time on Windows, preventing occasional spurious "Connection
749           terminated unexpectedly" errors. (This had been fixed on
750           UNIX since 2.28, but the earlier fix didn't work with
751           WinSock.) [#578990, Dan]
752
753         * Plugged a leak in SoupRequestHTTP. [#667099, Xan]
754
755 Changes in libsoup from 2.37.2 to 2.37.3:
756
757         * Now requires glib 2.31
758
759         * Simplified SoupHTTPInputStream and SoupRequestHTTP, allowing
760           related simplifications in WebKit's ResourceHandleSoup. This
761           is an ABI-incompatible change, but SoupHTTPInputStream is an
762           unstable API. [#663451, Dan]
763
764         * Fixed a bug that caused the SOUP_MESSAGE_CERTIFICATE_TRUSTED
765           flag to always be cleared, causing epiphany to claim all
766           https pages were untrusted. [#665182, Dan]
767
768         * Fixed some bugs in the handling of SoupSession:http-aliases
769           and SoupSession:https-aliases.
770
771         * Fixed handling of ACLOCAL_FLAGS [#641470, Craig Keogh]
772
773         * Fixed SoupContentDecoder's "ignore Content-Encoding: gzip
774           because the server didn't actually mean it" hack to handle
775           x-gzip too.
776
777         * Clarified the documentation on SoupSession:ssl-strict
778           [#666280]
779
780 Changes in libsoup from 2.37.1 to 2.37.2:
781
782         * Fixed up the output of SoupDirectoryInputStream, thus
783           improving the display of local directories in WebKit-based
784           browsers. [#662266, Sergio]
785
786         * Fixed a bug introduced in 2.37.1 that caused some cancelled
787           SoupMessages to be leaked. [#662847, Sergio]
788
789         * Added new SoupSession properties "http-aliases" and
790           "https-aliases" that allow you to configure more explicitly
791           what URL protocols are treated as aliases for http (eg,
792           "dav:", "webcal:", etc), and which should be recognized as
793           meaning something else, (eg, "ftp:") [Dan]
794
795         * Added soup_session_would_redirect() and
796           soup_session_redirect_message(), to help users that want to
797           handle some or all redirects themselves. Added
798           soup_message_set_redirect() to make it easier to return
799           redirection responses from a SoupServer. [Dan]
800
801         * Added the SoupSession "use-thread-context" property, which
802           tells it to use GMainContexts in a gio-compliant way (and in
803           particular, allows having different messages running in
804           different GMainContexts on the same SoupSession, though only
805           to a limited extent since SoupSessionAsync is still not
806           thread-safe). In particular, this was added in order to
807           address WebKit bug 68238. [Dan]
808
809         * Made SoupURI %-encode non-ASCII characters when parsing
810           URIs, in particular to fix a problem with certain servers
811           sending syntactically invalid redirects that they would then
812           only interpret correctly if you fixed the syntax for them.
813           (@$!@#! Although the new code is probably more correct than
814           the old code anyway, so...) [#662806, Dan]
815
816         * Fixed a connection-handling bug that could cause problems
817           with servers that requested authentication and then timed
818           out the connection while the application was waiting for the
819           user to enter a password. [#660057, Dan]
820
821         * Made NTLM and Basic authentication handle some non-ASCII
822           usernames and passwords. (NTLM should handle most. It's
823           impossible to fix Basic in the general case.) [#576838,
824           Joachim Breitner, "sponsored by ITOMIG GmbH and the City of
825           Böblingen"]
826
827         * Added support for "deflate" Content-Encoding, so that we can
828           work with broken servers that insisted on using it even
829           though we explicitly indicated in the request headers that
830           we didn't support it. (@$#!#) [#661682, Sergio]
831
832 Changes in libsoup from 2.36.0 to 2.37.1:
833
834         * Fixed a problem with connections being assigned to multiple
835           requests at once after a redirection [#651146, Sergio]. Made
836           soup_session_pause/unpause_message() work in any state, not
837           just while the HTTP I/O is occurring, and used this to add a
838           test case for that bug. [Dan]
839
840         * Ported SoupSession to use GTlsDatabase internally, and added
841           two new properties, SoupSession:use-system-ca-file (to
842           specify that the session should use the default system
843           tlsdb) and SoupSession:tlsdb (to specify a specific tlsdb to
844           use). [Dan]
845
846         * Likewise, added SoupServer:tls-certificate, for specifying a
847           certificate/key for an https server to use.
848
849         * Made SoupHTTPInputStream use memory more efficiently.
850           [#659255, Sergio]
851
852         * Fixed soup_message_get_https_status() to return information
853           more reliably (with latest glib-networking).
854
855         * Bumped the glib requirement to 2.30.0; although libsoup does
856           not use any new glib 2.30 APIs, there are several important
857           bugfixes in glib between 2.28 and 2.30 that libsoup needs.
858           Currently libsoup builds against either glib 2.30.x or glib
859           2.31.x.
860
861 Changes in libsoup from 2.35.92 to 2.36.0:
862
863         * Improvements to gtk-doc documentation. [Dan]
864
865 Changes in libsoup from 2.35.90 to 2.35.92:
866
867         * Fixed a problem where SoupHTTPRequest response bodies could
868           be truncated. [#659256, Sergio]
869
870         * Fixed a bug in copying TLS information from SoupSocket to
871           SoupMessage, causing all https connections to be reported as
872           "untrusted" in epiphany. [Dan]
873
874         * Made SoupSession remove items from its host cache after a
875           while, so that if a host changes IP address, it will
876           eventually try to re-resolve it. [#646959, Sergio]
877
878 Changes in libsoup from 2.35.5 to 2.35.90:
879
880         * Added SOUP_MESSAGE_CAN_REBUILD flag, to use with
881           soup_message_body_set_accumulate(FALSE) on a request body,
882           to indicate that the caller will recreate the request body
883           after it has been discarded if the message needs to be
884           re-sent. [#656650]
885
886         * Fixed the build on mingw-w64 by not using "interface" as
887           as variable name. [#656402, Erik van Pienbroek]
888
889         * (The multihosted https server regression mentioned in the
890           2.35.5 NEWS turned out to be a glib-networking bug, which is
891           fixed as of 2.29.18.)
892
893 Changes in libsoup from 2.35.4 to 2.35.5:
894
895         * Support NTLM single sign on via samba's /usr/bin/ntlm_auth.
896           [#650940, Mandy Wu]. This is enabled by default (if NTLM is
897           enabled for the session and the ntlm_auth binary is
898           available), but will fall back to the standard
899           password-based authentication if SSO fails.
900
901         * Default to TLS+extensions for https connections, falling
902           back to SSLv3-without-extensions (the old default) only if
903           the server fails to negotiate TLS. [#581342]
904
905                 * As a result of this change, some users are currently
906                   seeing problems with sites that serve multiple https
907                   hosts from a single IP address (eg,
908                   *.launchpad.net). There is no known workaround at
909                   this time.
910
911         * Fixed a longstanding problem with https pages sometimes not
912           loading when using a proxy. [#631368, based on patches from
913           DongJae Kim and Thierry Reding]
914
915         * SoupContentSniffer: don't use gio's sniffing rules, since
916           the spec now recommends that browsers not do any additional
917           sniffing beyond what's in the spec. [#648846, "arno"]
918
919         * Fixed SoupRequestHTTP to work properly with alternate
920           GMainContexts. [#653707]
921
922         * Added some annotations from Vala's vapi files. [#655397,
923           Evan Nemerson]. Also, removed SoupProxyResolver from the
924           gir/typelib, since it had been deprecated since before
925           introspection was available, and it was being scanned wrong
926           anyway.
927
928 Changes in libsoup from 2.35.3 to 2.35.4:
929
930         * CVE-2011-2524: Fixed a security hole that caused some
931           SoupServer users to unintentionally allow accessing the
932           entire local filesystem when they thought they were only
933           providing access to a single directory. [#653258]
934
935         * Plugged another SoupCache memory leak [Xan]
936
937         * Simplified SoupCache keys, and handle collisions. [#649963,
938           Sergio]
939
940         * Annotate SoupSession:add-feature, etc, as (skip), so they
941           don't conflict with the methods of the same name. [#655150,
942           Jasper St. Pierre]
943
944 Changes in libsoup from 2.34.1 to 2.35.3:
945
946         * SoupCache fixes [Sergio]:
947
948                 * Don't store hop-by-hop headers [#650094]
949
950                 * Fix status code and headers of responses returned
951                   from the cache after being revalidated [#649965]
952
953                 * Added versioning support to the cache file format
954                   [#652554] and extended it to keep track of the
955                   status code [#649965]
956
957                 * Fixed storage of time values in the cache [#653349]
958
959                 * Fixed a use-after-free that could result in bogus
960                   data being written to the cache [#650620]
961
962                 * Various leaks [#649309]
963
964         * Work around an Apache bug where it tells browsers to
965           automatically decode .gz files but still keep the .gz in the
966           name. [#613361, Dan]
967
968         * Fixed an overflow when sending a response larger than 2^31
969           bytes (eg, streaming movies in Rygel). [#638468, Jens Georg]
970
971         * Always send the Keep-Alive header, not just to hosts we
972           already know to be HTTP/1.0 [#648680, Sergio]
973
974         * Fixed various leaks [#652699, Sergio], [#651643, Milan],
975           [etc, Xan]
976
977         * Minor build fix for Debian/Ubuntu [#648948]
978
979         * Fixed a docs typo
980
981 Changes in libsoup from 2.34.0 to 2.34.1:
982
983         * Two multipart forms/Content-Disposition fixes [Dan]:
984
985                 * UTF-8-encoded header encoding/decoding rules updated
986                   to match RFC 5987. In particular, a UTF-8-encoded
987                   filename parameter in Content-Disposition will now
988                   override an ASCII one.
989
990                 * When not using UTF-8-encoded filenames in
991                   Content-Disposition, always quote the filename,
992                   since some servers erroneously fail to handle
993                   non-quoted ones. [#641280]
994
995         * Fixed several memory leaks [Dan, Xan]
996
997         * Fixed decoding base64 data: URLs [#646896, Sergio]
998
999         * Simplified the libsoup-gnome build on Windows by dropping
1000           the gnome-keyring dependency. [Fridrich Štrba]
1001
1002         * Fixed a bug in soup_uri_to_string() in which (invalid) port
1003           numbers could be output as negative numbers (tripping up a
1004           WebKit "sanity checking" test). [#647767, Sergio]
1005
1006         * Fixed a cache corruption bug in SoupCache. [#648285, Sergio]
1007
1008         * Fixed a crash in SoupSessionSync when using
1009           soup_session_abort().
1010
1011 Changes in libsoup from 2.33.92 to 2.34.0:
1012
1013         * Fixed the GMainContext handling of the new
1014           SoupProxyResolverDefault (which among other things fixes
1015           gstreamer usage inside epiphany). [#646201, Sebastian Dröge]
1016
1017         * Tweaked the introspection Makefile rules to fix a problem
1018           building on Debian/Ubuntu. [#645505]
1019
1020         * Belated bumped the shared library versioning to reflect the
1021           API additions since 2.32.0
1022
1023 Changes in libsoup from 2.33.90 to 2.33.92:
1024
1025         * LIBSOUP NO LONGER DEPENDS ON GCONF OR LIBPROXY.
1026           (see below).
1027
1028         * Added SoupProxyResolverDefault, which uses uses gio's
1029           GProxyResolver to resolve proxies [#642982, Gustavo Noronha
1030           Silva]. Despite the "default" in the name, it is not used by
1031           default, for compatibility reasons, but it is available in
1032           plain libsoup, not libsoup-gnome. (Of course, it depends on
1033           having glib-networking installed.)
1034
1035         * Updated SoupProxyResolverGNOME to be based on
1036           SoupProxyResolverDefault, but explicitly requesting the
1037           "gnome" GProxyResolver if it is available [#625898], and
1038           removed the old code that used GConf and libproxy directly.
1039
1040         * Added soup_server_disconnect(), to explicitly disconnect a
1041           SoupServer, since it is not possible to g_object_unref() it
1042           from memory-managed language bindings. [#638576, Andreas
1043           Rottmann]
1044
1045         * SoupDate now parses month names case-insensitively [#644048,
1046           Christian Dywan]
1047
1048         * Avoid a g_return_if_fail() when using
1049           SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY with non-http URIs
1050           (file:, data:, etc). [#643226]
1051
1052         * SoupCookieJar now catches overflows when parsing very
1053           distant dates [#643462, based on a patch from Mark
1054           Starovoytov]
1055
1056         * Fixed a buggy interaction between request body streaming and
1057           restarted requests [David Woodhouse]. Added some new tests
1058           to tests/chunk-test.c to make sure that a specific
1059           (unsupported!) way of using those methods would not get
1060           broken in the future.
1061
1062         * Fixed soup_socket_get_remote_address(), which had been
1063           broken since 2.33.4 (and which in turn caused
1064           soup_client_context_get_address/_get_host to be broken).
1065           [#645227]
1066
1067 Changes in libsoup from 2.33.6 to 2.33.90:
1068
1069         * Attempted to make libsoup's dependency on glib-networking
1070           (for TLS support) more explicit, by requiring that
1071           glib-networking be present at compile time unless the
1072           builder explicitly passes "--disable-tls-check", and noting
1073           that packagers should give libsoup a runtime dependency on
1074           glib-networking.
1075
1076         * Fixed a bug in talking to servers with virtual hosts with
1077           Unicode names (IDNs) [#642075]
1078
1079         * Added a "Connection: Keep-Alive" header when talking to
1080           HTTP/1.0 hosts, to improve performance. [#640414, Sergio
1081           Villar Senin]
1082
1083         * Changed SoupCache to not cache multipart/x-mixed-replace
1084           content. [#642028, Sergio Villar Senin]
1085
1086 Changes in libsoup from 2.33.5 to 2.33.6:
1087
1088         * Made SoupSessionAsync do idle-connection cleanup more
1089           sanely, resulting in faster load times for pages with lots
1090           of subresources. [#639768, Sergio Villar Senin]
1091
1092         * Fixed soup_form_decode()'s behavior (and by extension,
1093           SoupServer query string handling) with datasets that contain
1094           multiple values for the same key, and added a test case.
1095           [#639783, Sven Neumann]
1096
1097         * Fixed warnings pointed out by gcc 4.6, including a bug in
1098           SoupCache that would cause unnecessary revalidations
1099           [#640556].
1100
1101         * Belated copied a fix from the WebKit copy of soup-cache.c
1102           into ours, and fixed a bug in the local copy of
1103           soup-request-data.c [#641022, Sergio Villar Senin], in
1104           preparation for making WebKit use the libsoup versions.
1105
1106 Changes in libsoup from 2.33.4 to 2.33.5:
1107
1108         * Fixed certain cases of soup_session_cancel_message() with
1109           SoupSessionSync that could previously cause warnings or
1110           crashes. [#637741]
1111
1112 Changes in libsoup from 2.32.2 to 2.33.4:
1113
1114         * SoupSocket now uses GSocketConnection and GTlsConnection
1115           internally rather than making socket calls directly and
1116           using GIOStream, and TLS is handled via glib's APIs rather
1117           than using gnutls directly.
1118
1119         * The gzip Content-Encoding handler is now implemented using
1120           GZlibDecompressor
1121
1122         * As a result of the above two changes, libsoup no longer
1123           directly depends on gnutls, libgcrypt, or zlib, though it
1124           still indirectly depends on zlib via glib and libxml2. Also,
1125           although libsoup does not depend on glib-networking as a
1126           build-time dependency, some "make check" tests will be
1127           skipped if it is not installed.
1128
1129         * The SoupRequest/SoupCache code from WebKit has been
1130           imported, but it is not yet recommended for general use, and
1131           is not necessarily API stable. [#523100, Sergio Villar, with
1132           the SoupRequest parts based on the Summer of Code work by
1133           Gabriel Corvalan and the cache parts based on an earlier
1134           patch by Xan Lopez]
1135
1136         * Added SoupMessage:tls-certificate and
1137           SoupMessage:tls-errors, which give more information about
1138           the certificate used to authenticate a TLS connection.
1139
1140         * It is now possible to disable Basic or Digest auth in a
1141           session by using soup_session_remove_feature_by_type() with
1142           SOUP_TYPE_AUTH_BASIC or SOUP_TYPE_AUTH_DIGEST. Likewise, the
1143           right way to enable NTLM support now is to call
1144           soup_session_add_feature_by_type() with SOUP_TYPE_AUTH_NTLM;
1145           SOUP_SESSION_USE_NTLM is now deprecated.
1146
1147         * Allow setting cookies on file:// URIs, since other browsers
1148           do, and WebKit has a test for it. [#603825]
1149
1150         * .gir/.typelib files now include C header/library information
1151           (needed by vala and some other bindings) [#635395, Evan
1152           Nemerson]
1153
1154         * Added annotations on soup_message_headers_get_content_type()
1155           [Lucas Rocha] and SoupHTTPVersion [John Palmieri]
1156
1157         * Fixed a Set-Cookie processing leak [#636741, Jonathan
1158           Jongsma]
1159
1160 Changes in libsoup from 2.32.1 to 2.32.2:
1161
1162         * Fixed a regression in 2.32.0 that caused evolution-exchange
1163           to get stuck and stop updating. [#634422]
1164
1165         * Fixed a regression in 2.32.0 with apps using asynchronous
1166           sessions from multiple threads (in particular, gupnp)
1167           [#635101]
1168
1169         * Fixed the regression test for #631525 to not cause spurious
1170           "make check" failures on some machines.
1171
1172 Changes in libsoup from 2.32.0 to 2.32.1:
1173
1174         * Fixed a regression in 2.32.0 with the use of persistent
1175           connections that caused spurious "Connection terminated
1176           unexpectedly" errors. [#631525, debugged by Sergio Villar]
1177
1178         * Fixed a regression in 2.32.0 that caused proxy-related
1179           DNS errors to return SOUP_STATUS_CANT_RESOLVE rather than
1180           SOUP_STATUS_CANT_RESOLVE_PROXY.
1181
1182         * Usernames/passwords specified explicitly in request URIs now
1183           override existing cached auth info. [#631679, Sergio Villar]
1184
1185         * Changed soup_uri_decode() and soup_uri_normalize() to just
1186           ignore malformed %-encoding rather than returning NULL,
1187           for consistency with soup_uri_new(). [#630540]
1188
1189         * Fixed soup_form_decode() to ignore invalid parameters,
1190           and soup_form_encode_hash() to just g_return_if_fail()
1191           rather than crashing if there are NULL values in the
1192           hash. [#620220]
1193
1194         * Added another workaround for stupid servers that close the
1195           connection before returning the full response (in this case,
1196           when using chunked encoding and failing to include the
1197           final 0-length chunk). [#629160]
1198
1199         * Fixed a bug in SoupCookieJarText that deleted excess cookies
1200           whenever any cookie expired. [#631641, Michał Kazior]
1201
1202         * Fixed a small leak in SoupContentDecoder if you were using
1203           it incorrectly. [pointed out in email by Christophe
1204           Gillette]
1205
1206         * Added regression tests for passwords-in-URIs [#631679,
1207           Sergio Villar] and SOUP_SESSION_IDLE_TIMEOUT.
1208
1209 Changes in libsoup from 2.31.92 to 2.32.0:
1210
1211         * (No changes, just a version bump)
1212
1213 Changes in libsoup from 2.31.90 to 2.31.92:
1214
1215         * Updated for gobject-introspection 0.9.5. Also added some new
1216           annotations and removed a bunch of private headers from the
1217           scanning process.
1218
1219         * Percent-encoded characters in URIs are no longer
1220           automatically normalized to uppercase, since apparently some
1221           servers are stupid. [#628728, Sergio Villar Senin]
1222
1223         * Fixed a crash when resolving a URI containing both spaces
1224           and non-UTF8 8bit characters. [#629449]
1225
1226 Changes in libsoup from 2.31.2 to 2.31.90:
1227
1228         * libsoup now tries to connect to each IP address associated
1229           with a hostname, if the first one fails. In particular, if a
1230           host has both IPv4 and IPv6 addresses, and only one of them
1231           is reachable from the current host, libsoup will now try the
1232           other one rather than failing. (libc is supposed to sort the
1233           IP addresses in the right order, such that, eg, if you don't
1234           have IPv6 connectivity, it will put the IPv4 address first.
1235           For some reason though, this seems to be broken on some
1236           distros.) [#526321].
1237
1238         * Fixed Accept-Language header generation in locales where ","
1239           is used as the decimal point.
1240
1241 Changes in libsoup from 2.31.2 to 2.31.6:
1242
1243         * Disabled TLS 1.2 in addition to the already-disabled 1.1 and
1244           1.0 [see below, in libsoup 2.27.2], thus making libsoup
1245           usable with gnutls 2.10. [#622857. This commit, 01a43ad9,
1246           can be applied to libsoup 2.30.x as well if you need that
1247           release to work with gnutls 2.10.]
1248
1249         * When using libproxy 0.3 or newer, libsoup no longer leaks
1250           proxy-related environment variables into child processes
1251           [#603285]
1252
1253         * Changed the way message/connection binding works in
1254           SoupSession so that (among other things), when there are
1255           multiple requests queued to a host, and one of them gets a
1256           network error, the other requests are still allowed to try
1257           to succeed, rather than all failing immediately. [#619633]
1258
1259         * SoupSession now limits the number of times a message can be
1260           redirected, to avoid infinite loops [#604383, José Millán
1261           Soto]
1262
1263         * Fixed handling of certain messages where the response
1264           headers included "Connection: close" but the server did not
1265           actually close the connection at the end. [#611481]
1266
1267         * Fixed some incorrect g-i annotations [#621021]
1268
1269         * Fixed an out-of-bounds memory access when processing certain
1270           Set-Cookie headers [#620288]
1271
1272         * Improved msg->reason_phrase on network errors [#623274]
1273
1274         * Fixed gir file disting [#621727, Yaakov Selkowitz]
1275
1276 Changes in libsoup from 2.30.1 to 2.31.2:
1277
1278         * gobject-introspection has now been merged in. Use
1279           --enable-introspection to build. [#576595, Andreas Rottmann]
1280           Note that the introspected API is not yet stable, and in
1281           particular, there are numerous values annotated as "utf8"
1282           which are actually not guaranteed to be utf8. (Eg, most
1283           header data.)
1284
1285                 * Added some helper functions for bindings:
1286                   soup_buffer_new_take(),
1287                   soup_message_body_append_take(), and
1288                   soup_buffer_get_data(). [#576595, Andreas Rottmann]
1289
1290                 * Also added properties for several SoupMessage public
1291                   fields, and getter methods for various boxed types
1292                   (SoupCookie, SoupDate, SoupURI).
1293
1294                 * Added some additional hash-table annotations.
1295                   [#619086, Gustavo Noronha Silva]
1296
1297         * Marked SoupSession abstract. [#617216, Lorenzo Gil, the
1298           first bug filed by someone trying to use libsoup via
1299           introspection!] Likewise for SoupAuth and SoupAuthDomain.
1300
1301         * Fixed a problem with SoupSessionAsync that would cause
1302           messages to get lost if you aborted a previous message while
1303           it was still looking up the hostname. Fixed several other
1304           problems that were discovered while adding a regression test
1305           for that. [#618641, thanks to Claudio Saavedra for a good
1306           test case]
1307
1308         * Fixed another connecting-to-lame-http-server problem, and a
1309           getting-stuck-in-a-loop-reconnecting bug that it revealed.
1310           [#615535]
1311
1312 Changes in libsoup from 2.30.0 to 2.30.1:
1313
1314         * Fix for https through proxies that close the connection when
1315           returning a "407 Proxy Authentication Required" response,
1316           and add a regression test for that case. [#611663]
1317
1318         * Fixed multiple forms/multipart-related interoperability
1319           problems reported by Egon Andersen:
1320
1321                 * Don't quote the multipart boundary string if it's
1322                   not needed, since RFC 2616 recommends that you
1323                   don't, and some servers don't handle quotes there
1324                   correctly. (Sigh.) [#614176]
1325
1326                 * Don't put an extra blank line before the first
1327                   multipart part, since it's unnecessary and some
1328                   servers don't handle a multipart preamble correctly.
1329                   (Sigh.) [#614183]
1330
1331                 * Don't put Content-Transfer-Encoding headers in the
1332                   multipart/form-data parts, even though the HTML 4
1333                   spec says you must, since no other browsers do, and
1334                   some servers don't handle them correctly. (Sigh.)
1335                   [#614198]
1336
1337         * Changed SoupCookieJarSqlite to actually erase deleted
1338           cookies from the database. [#615711, Lukasz Slachciak]
1339
1340         * Fixed SoupLogger to be more robust against getting passed
1341           bad data by the session. [#611663]
1342
1343         * Fixed SoupAuthDomain to ignore paths when doing proxy auth
1344
1345         * Fixed a g_warning when hovering over a javascript link in
1346           WebKit. [#613442, Xan Lopez]
1347
1348 Changes in libsoup from 2.29.91 to 2.30.0:
1349
1350         * Fixed a crash in the whitespace-stripping code in
1351           soup_uri_new() [#612644, "arnaud.lb"]
1352
1353         * Update content-sniffing algorithm to match Chrome and the
1354           soon-to-be-updated sniffing spec. [#611502, Gustavo Noronha
1355           Silva]
1356
1357         * We now handle "Content-Encoding: x-gzip" as well as "gzip"
1358           (even though "x-gzip" has been deprecated for more than 10
1359           years). [#611476]
1360
1361         * Fixed leaks found by valgrind
1362
1363         * Make the "make check" programs only bind to 127.0.0.1, not
1364           any public network interfaces. [#609489, Saleem Absulrasool]
1365
1366         * Add a test to sniffing-test to make sure that Content-Type
1367           parameters are preserved correctly. [Gustavo Noronha Silva]
1368
1369 Changes in libsoup from 2.29.90 to 2.29.91:
1370
1371         * Added SOUP_SESSION_SSL_STRICT and
1372           SOUP_MESSAGE_CERTIFICATE_TRUSTED, to allow callers to
1373           determine if an https response comes from a server with a
1374           recognized/valid or unrecognized/invalid certificate.
1375           [#610374, Gustavo Noronha Silva]
1376
1377         * Fixed handling of certain badly-formatted URIs [#590524]
1378
1379 Changes in libsoup from 2.29.6 to 2.29.90:
1380
1381         * Added soup_cookie_jar_set_accept_policy() and related API
1382           for implementing cookie acceptance policies. [#608353, Xan
1383           Lopez]
1384
1385         * Fixed the "request-read" signal in SoupServer to actually be
1386           emitted.
1387
1388 Changes in libsoup from 2.29.5 to 2.29.6:
1389
1390         * Fixed SoupContentDecoder to ignore trailing junk after the
1391           encoded message body (as other browsers do), rather than
1392           getting stuck in an infinite loop. [#606352]
1393
1394         * Fixed an invalid read in soup_cookie_applies_to_uri()
1395           [#607024, pointed out by Xan]
1396
1397         * Fixed linking on OS X [#606959]
1398
1399         * Removed a harmless warning in SoupServer. [#606645]
1400
1401 Changes in libsoup from 2.29.3 to 2.29.5:
1402
1403         * Added SoupContentDecoder, providing support for
1404           Content-Encoding: gzip for WebKitGTK. [#522772]
1405
1406         * Added "accept-language" and "accept-language-auto"
1407           properties to SoupSession, to support the Accept-Language
1408           header. [#597004, Mario Sanchez Prada]
1409
1410         * Fixed a bug in SoupPasswordManagerGNOME that could cause
1411           crashes if you typed the wrong password once and then tried
1412           again. [#595554, debugged by Gustavo Noronha Silva]
1413
1414         * Fixed a crash in SoupAuthDigest if the server claims support
1415           for both qop=auth and qop=auth-int. (This was not noticed
1416           sooner because no one actually supports qop=auth-int, and
1417           the server in question here was probably confused. :)
1418
1419         * Updated cookie parsing/output to more closely match
1420           draft-ietf-httpstate-cookie-00. [Also fixes #603496 (WebKit
1421           unit test), and #604794 (hang parsing malformed Set-Cookie
1422           header)]
1423
1424         * Fixed https-via-proxy to not hang if there is an error
1425           communicating with the proxy immediately after the TLS
1426           negotiation. [#587528]
1427
1428         * Fixed a bug that broke gobject-introspection's introspection
1429           of libsoup. [#603696, Vincent Untz]
1430
1431         * Handle spurious CR/LFs between responses. [#602863,
1432           Alexander V. Butenko]
1433
1434         * Fixed soup-message-client-io to not erroneously include URI
1435           fragments on the Request-Line when sending via a proxy.
1436           [Related to WebKit bug #28687]
1437
1438         * Fixed Digest authentication against certain (buggy?)
1439           clients/servers that require you to use quotes in exactly the
1440           same places where the spec uses them. [#582219]
1441
1442         * Fix ugly gtype-related hack to work with the latest unstable
1443           glib. [Benjamin Otte]
1444
1445 Changes in libsoup from 2.28.1 to 2.29.3:
1446
1447         * Fixed a crash in SoupCookieJarSqlite when using cookie
1448           databases not created by libsoup (eg, upgraded epiphany
1449           installations). [Patch from Emilio Pozuelo Monfort]
1450
1451         * Fixed SoupCookieJar to handle non-http URIs properly (so
1452           that, eg, JavaScript bookmarklets that try to set/read
1453           cookies won't cause crashes). [#602498]
1454
1455         * HEAD requests that receive a "303 See Other" response will
1456           now do a HEAD, not a GET, on the redirected-to resource.
1457           Fixes gvfs access to some sites, including certain
1458           youtube.com URIs. [#600830]
1459
1460         * Fixed a g_warning that would always trigger in the
1461           server-side SoupCookie code. [#602389]
1462
1463         * Fixed the server-side SoupMultipart code to be able to parse
1464           multiparts containing binary attachments, rather than
1465           rejecting them as malformed. [#601640]
1466
1467         * Fixed the Request-Line format in the https-over-proxy case.
1468           Among other things, this fixes access to bugzilla.gnome.org
1469           from WebKitGTK-based browsers. [#598277, #600826]
1470
1471         * Fixed a leak in SoupSession if a message was cancelled while
1472           the initial socket connection was in progress. [#596074,
1473           debugged by Arnout Vandecappelle]
1474
1475         * Fixed server-side parsing of Digest auth. [#602898, Chris
1476           Head]
1477
1478         * Fixed WinSock initialization on Windows. [#600689, Tor
1479           Lillqvist]
1480
1481         * Fixed a sporadic crash in the SSL code on Windows. [#600748,
1482           Tor Lillqvist]
1483
1484         * Fixed handling of https connections with timeouts on
1485           Windows. [#600749, Tor Lillqvist]
1486
1487         * Added soup_session_prepare_for_uri(), to allow DNS
1488           prefetching for faster browsing. [#598948, José Millán Soto]
1489
1490         * SoupSession now avoids redundant DNS lookups again when
1491           first connecting to a new site, resulting in (probably
1492           imperceptibly) faster loads.
1493
1494         * Added some debugging APIs to SoupConnection and SoupSession
1495           for use by, eg, epiphany's soup-fly extension. [#589163,
1496           José Millán Soto]
1497
1498 Changes in libsoup from 2.28.0 to 2.28.1:
1499
1500         * libsoup will now attempt to make multiple connections to a
1501           server at once when there are multiple messages queued to
1502           that server. The previous behavior (only allowing a single
1503           pending connection to each server) resulted in slow load
1504           times on pages with lots of subresources (images, css, js,
1505           etc) on servers that disallow persistent connections.
1506           [#594768]
1507
1508         * There should now be fewer (no?) "Connection terminated
1509           unexpectedly" errors in WebKitGTK.
1510
1511         * Fixed a crash in SoupCookieJarSqlite [#596859, patch from
1512           Alexander Sack].
1513
1514         * Fixed soup_address_get_physical() and address-to-name
1515           resolution of SoupAddress [patch from Enrico Tröger].
1516
1517         * Fixed a bug in SoupContentSniffer that could cause false
1518           negatives [#597545, patch from Alejandro Castro].
1519
1520         * Fixed the configure error if you have gnutls-devel but not
1521           gcrypt-devel installed [#587709].
1522
1523 Changes in libsoup from 2.27.92 to 2.28.0:
1524
1525         * Fixed a handful of leaks found with valgrind, including a
1526           large one in SoupContentSniffer [WebKit bug 28148].
1527
1528         * Changed the behavior of SoupCookieJarSqlite to improve
1529           performance. [#584522, patch from Gustavo Noronha Silva]
1530
1531         * Fixed a crash in SoupSocket that affected gupnp. [#594951,
1532           patch from Olivier Crête]
1533
1534         * Fixed the type of the SOUP_METHOD_* and SOUP_URI_SCHEME_*
1535           macros to be const char * rather than gpointer. [#594508]
1536
1537 Changes in libsoup from 2.27.91 to 2.27.92:
1538
1539         * Removed SoupPasswordManager from the public API until its
1540           problems can be addressed. Although it is still present, you
1541           need to #define a special symbol for it to be visible in the
1542           header files; see #594377 for details.
1543
1544         * Fixed a bug where empty query components were dropped from
1545           URIs. [#594405]
1546
1547         * Fixed "make check" to work (but warn) when building with
1548           --disable-ssl.
1549
1550         * Fixed some small documentation bugs pointed out by Dominik
1551           Bylica and Lucian Langa.
1552
1553 Changes in libsoup from 2.27.90 to 2.27.91:
1554
1555         * Added SoupPasswordManager, an interface for managing
1556           persistent password storage, and SoupPasswordManagerGNOME
1557           (in libsoup-gnome), which implements it using gnome-keyring.
1558           tests/get.c provides a minimal example of how to use it.
1559
1560         * libsoup should now notice when the server closes a
1561           persistent connection, and close its side of the connection
1562           sooner. This should hopefully fix the spurious "Connection
1563           terminated unexpectedly" errors in WebKitGTK. [#578990]
1564
1565         * Fixed some problems with connection management in
1566           SoupSession that could cause a session to eventually "stall"
1567           and be unable to process new requests. [#592084]
1568
1569         * Fixed an infinite loop that caused 100% CPU usage if the
1570           network went down at exactly the right time while there were
1571           unsent messages in the queue. [#592492]
1572
1573         * Fixed a crash in SoupLogger. [#591857]
1574
1575         * Fixed the definition of soup_message_is_keepalive() for
1576           HTTP/1.0 messages, to fix a problem introduced in 2.27.90
1577           where some messages would load completely but never emit
1578           "finished".
1579
1580         * Fixed a crash in SoupServer introduced in 2.27.90 when
1581           processing a request with no "Host" header.
1582
1583 Changes in libsoup from 2.27.5 to 2.27.90:
1584
1585         * libsoup now uses glib's GResolver rather than its own DNS
1586           code. For 2.27.90, the only visible change should be that
1587           internationalized domain names are now supported. [#548287]
1588
1589         * Added soup_message_disable_feature(), which allows you to
1590           disable particular features (eg, cookies, proxy,
1591           content-sniffing, etc) on a per-message basis. [#574773]
1592
1593         * It is now possible to implement "OPTIONS *" in a SoupServer;
1594           you must explicitly register a handler for "*" in order to
1595           do this. [#590751]
1596
1597         * Ignore Content-Length on EOF-terminated responses, to match
1598           other browsers and therefore cope with broken servers that
1599           send the wrong length. [Patch from Benjamin Otte.]
1600
1601         * Fixed the status code when trying to fetch an https URI with
1602           a non-gnutls build of libsoup. [#590464]
1603
1604         * Fixed strict-aliasing warnings introduced in 2.27.4
1605           [#588771]
1606
1607         * Fixed some warnings noted by fortify [#591226] and -Wextra.
1608
1609         * libsoup now uses automake 1.11's silent-rules support by
1610           default (if you are building with automake 1.11). Use
1611           "./configure --disable-silent-rules" or "make V=1" to
1612           disable.
1613
1614 Changes in libsoup from 2.27.4 to 2.27.5:
1615
1616         * Fixed a crash when a web server redirected a request to a
1617           non-http URI (eg, "about:blank"). [#528882]
1618
1619         * Fixed a hang when trying to create an attachment on certain
1620           bugzilla installations from epiphany. [#584645]
1621
1622         * Fixed verification of V1 TLS certificates [#589323, Patrick
1623           Ohly]
1624
1625         * Fixed compile problems on Windows (in the ssl code), and on
1626           Linux (when the most recent version of gtk-doc was
1627           installed).
1628
1629 Changes in libsoup from 2.27.2 to 2.27.4:
1630
1631         * Added SoupContentSniffer and the "content-sniffed" signal on
1632           SoupMessage, to do Content-Type sniffing per the HTML5 /
1633           draft-abarth-mime-sniff algorithm. [#572589, Gustavo Noronha
1634           Silva]
1635
1636         * Updated the earlier SoupSession timeout fixes ([#574414],
1637           [#578928]) so that async connect() also times out [#588177,
1638           Mark Nauwelaerts] and SSL works on Windows again [#587910,
1639           Fridrich Strba].
1640
1641         * Fixed the behavior on a 301 response to a POST to match
1642           real-world usage rather than what the spec says. (We were
1643           doing the right thing on 302 and 303, but had missed 301.)
1644           [#586692]
1645
1646         * Changed configure so that if GNUTLS isn't found then it
1647           errors out, rather than silently building an SSL-less
1648           libsoup. Configure with --disable-ssl if you actually don't
1649           want SSL. [#584955]
1650
1651 Changes in libsoup from 2.27.1 to 2.27.2:
1652
1653         * Replaced SoupProxyResolver with SoupProxyURIResolver, which
1654           is a bit simpler, works with non-HTTP URIs (and so could be
1655           used by gvfsd-ftp) and supports proxy auth correctly.
1656           [#580051]
1657
1658         * Fixed SoupSession to not try to resolve http server
1659           hostnames when it's just going to pass the hostname off to a
1660           proxy server anyway. This fixes things on hosts that use a
1661           proxy for everything and have no working DNS config
1662           [#577532] and also makes WebKitGTK behave more like other
1663           browsers in terms of per-host connection limits (we now
1664           limit connections based on hostname rather than on IP
1665           address).
1666
1667           We also no longer set the AI_CANONNAME flag when calling
1668           getaddrinfo(), which saves us a little bit of unnecessary
1669           network traffic. [Pointed out by Christophe Gillette on the
1670           mailing list.]
1671
1672         * libsoup now always uses SSL 3.0 (not TLS 1.0 or 1.1) for
1673           https URIs, to work around problems with older servers that
1674           don't implement the (apparently quite confusing) TLS/SSL
1675           compatibility rules correctly. Makes a bunch of
1676           previously-inaccessible sites now accessible in WebKitGTK
1677           (notably PayPal) [#581342]. Will eventually be revisited, to
1678           first try TLS 1.1 and fall back if that fails.
1679
1680         * Fixed Digest auth to (recent) Apple CalDAV servers.
1681           [#583091]
1682
1683         * Changed the way the SoupSession "authenticate" signal works
1684           a bit. We now never emit "authenticate" before sending a
1685           request, even if we know for sure that it's going to fail,
1686           because this makes the semantics of the authenticate handler
1687           too complicated (and because we'll only get into this
1688           situation if a previous call to the authenticate handler
1689           failed anyway). Fixes problems in WebKitGTK when you cancel
1690           a password dialog, and then later try to load the page
1691           again. [#583462, mostly figured out by Gustavo Noronha
1692           Silva].
1693
1694         * Fixed a bug in the CRLF-vs-LF patch (#571283) that caused
1695           libsoup to fail to parse the response headers (returning
1696           SOUP_STATUS_MALFORMED) if a CR LF got split across two
1697           read()s. [#582002]
1698
1699         * Allow using PUT in soup_form_request_for_data(), to work
1700           with certain broken web APIs. [#581860, Ross Burton]. Also,
1701           fixed a problem with empty POST bodies that made some parts
1702           of gmail not work in WebKitGTK.
1703
1704         * Applied some minor bugfixes to configure.in and autogen.sh
1705           [#583911, #583942]. Fixed configure.in to not use gcc
1706           warning options that the installed version of gcc doesn't
1707           recognize [#578851].
1708
1709         * Added G_GNUC_NULL_TERMINATED and G_GNUC_PRINTF to a few
1710           methods that should have had them. [#581754, Ross Burton]
1711
1712 Changes in libsoup from 2.26.1 to 2.27.1:
1713
1714         * SOUP_SESSION_TIMEOUT now works properly with
1715           SoupSessionAsync [#574414] and SSL [#578928]. Added
1716           tests/timeout-test to test this.
1717
1718         * SoupDate fixes:
1719
1720                 * soup_date_to_string() now handles SOUP_DATE_RFC2822
1721                   [#579055, Enrico Tröger]
1722
1723                 * soup_date_new_from_string() now accepts 24:00 as a
1724                   time in ISO8601 timestamps
1725
1726                 * soup_date_to_string() now coerces the date to UTC
1727                   for HTTP and cookie dates, and outputs the UTC
1728                   correct offset for the other date types.
1729
1730                 * Added regression tests to tests/date
1731
1732         * soup_headers_parse() now completely ignores
1733           syntactically-incorrect headers, rather than passing them to
1734           soup_message_headers_append() and causing a g_warning.
1735           soup_message_headers_append() now also rejects 0-length
1736           header names. Updated tests/header-parsing to check this.
1737           [#579318]
1738
1739         * Fix a crash when cancelling a message from a "restarted"
1740           handler, and updated a regression test to notice the
1741           underlying cause. [#580193]
1742
1743         * Completing the API updates for #576760 from 2.26.1,
1744           soup_message_headers_get() is now marked deprecated in favor
1745           of soup_message_headers_get_one() and _get_list().
1746
1747 Changes in libsoup from 2.26.0 to 2.26.1:
1748
1749         * libsoup uses libproxy for PAC and WPAD proxy resolution
1750           again. However, it arranges to do all communication with
1751           GConf itself, to ensure that libproxy doesn't call it in
1752           non-thread-safe ways. [#571527] Also, fixed a bug in
1753           SoupSessionSync when proxy resolution failed. [#574957,
1754           patch from Milan Crha].
1755
1756           (Also fixed three SoupProxyResolverGNOME bugs since the
1757           2.26.0.9 preview release. [#578746, #578809])
1758
1759         * SoupURI now handles unencoded spaces in URIs. In particular,
1760           redirects via Location headers with spaces in them now work.
1761           [#566530]
1762
1763         * libsoup can now deal with servers (and clients) that
1764           erroneously use LF LF instead of CR LF CR LF to separate
1765           the headers and body. [#571283]
1766
1767         * Added soup_message_headers_get_one() and
1768           soup_message_headers_get_list(), which will eventually
1769           deprecate soup_message_headers_get(). This lets applications
1770           deal correctly with implementations that erroneously send
1771           multiple copies of single-valued headers. [#576760]
1772
1773         * In particular, soup_message_headers_get_content_type() now
1774           ignores duplicate Content-Type headers [#576760] and also
1775           ignores syntactically-incorrect Content-Type headers.
1776           [#577630]
1777
1778         * SoupCookieJar can now store multiple cookies with the same
1779           domain and name, but different paths. [#577360]
1780
1781         * Abnormal SSL connection closes are now treated as ordinary
1782           EOFs, for compatibility with certain sites. [#577386]
1783
1784         * soup_header_g_string_append_param() now allows NULL values.
1785           [#577728]
1786
1787         * soup_message_headers_append() now rejects header names and
1788           values with newlines or certain other illegal data in them,
1789           rather than generating syntactically invalid headers.
1790
1791         * Fixed a small bug in soup_date_new_from_string's ISO 8601
1792           handling [qv #578369 for g_time_val_from_iso8601].
1793
1794         * The regression tests now work correctly on machines where
1795           "localhost" resolves to "::1" instead of "127.0.0.1".
1796           [#576583, patch from Andreas Rottmann]
1797
1798         * Fixed warnings when a message has a network problem when
1799           many other messages are queued. [#578809]
1800
1801         * Miscellaneous documentation fixes/clarifications.
1802
1803 Changes in libsoup from 2.25.91 to 2.26.0:
1804
1805         * Temporarily disable libproxy support to work around a bug in
1806           its gnome plugin that causes gvfsd-http (and probably
1807           eventually other apps) to crash. [#571527]. For now,
1808           SoupProxyResolverGNOME uses only GConf. To be fixed in
1809           2.26.1
1810
1811         * Fixed a bug that showed up in WebKit, where if many messages
1812           were queued all at once to a server that doesn't support
1813           persistent connections, some of the requests will get lost.
1814           #574365, reported by Xan Lopez.
1815
1816         * Fixed SoupServer to support using SOUP_ENCODING_EOF, so you
1817           can stream responses of unknown length to HTTP/1.0 clients.
1818           [#572153]. Added a regression test for this, and for chunked
1819           and Content-Length-based streaming.
1820
1821         * Fixed several bugs that prevented SoupCookieJarSqlite from
1822           working. [#572409, patch from Xan Lopez]
1823
1824         * Added G_{BEGIN,END}_DECLS guards to public headers that were
1825           missing it. (Xan Lopez)
1826
1827         * Misc gtk-doc improvements
1828
1829 Changes in libsoup from 2.25.5 to 2.25.91:
1830
1831         * Fixed a crash in SoupProxyResolverGNOME when the proxy
1832           requires authentication. (This does not make proxy
1833           authentication *work* yet, it just makes it not crash.)
1834
1835         * Updated documentation
1836
1837 Changes in libsoup from 2.25.4 to 2.25.5:
1838
1839         * SoupProxyResolverGConf (which was incomplete) is gone, and
1840           libsoup-gnome now requires libproxy, which is now officially
1841           an external dependency of GNOME.
1842
1843         * Fixed a bug in SoupCookieJar that was making it send
1844           "Cookie: (null)" when it had no cookies for a site, which
1845           confused some web servers (WebKit bug 23240).
1846
1847         * Fixed a bug with using SOUP_MEMORY_TEMPORARY buffers and
1848           soup_message_body_set_accumulate(FALSE). (Part of WebKit bug
1849           18343, noticed by Gustavo Noronha Silva.)
1850
1851         * Fixed the build with non-gcc compilers
1852
1853 Changes in libsoup from 2.25.3 to 2.25.4:
1854
1855         * Added soup_session_get_feature() and
1856           soup_session_get_features(), to query the features currently
1857           available in a session (which is needed by the patch in
1858           https://bugs.webkit.org/show_bug.cgi?id=22624)
1859
1860 Changes in libsoup from 2.25.2 to 2.25.3:
1861
1862         * Fixed a crash when using both cookies and a proxy. [#562191,
1863           Mark Lee]
1864
1865         * Fixed soup_form_decode() to correctly handle forms with
1866           URI-encoded parameter names [#563302, Evan Nemerson] and
1867           added a regression test.
1868
1869         * Fixed a crash in SoupProxyResolverGConf. [#563145]
1870
1871 Changes in libsoup from 2.25.1 to 2.25.2:
1872
1873         * Fixed client behavior when presented with multiple auth
1874           types to choose the *strongest* auth type (eg, Digest)
1875           rather than the *weakest* one [#562339, Pontus Oldberg].
1876           Added a regression test for this.
1877
1878         * Moved libsoup-gnome headers to a different directory to make
1879           it easier to split libsoup and libsoup-gnome into separate
1880           packages, and to ensure that things that only want to be
1881           looking at plain libsoup headers (like gir-repository) don't
1882           accidentally see the libsoup-gnome ones.
1883
1884         * Some minor doc fixes
1885
1886         * Fixed libsoup-gnome linking with --as-needed. [#559342]
1887
1888 Changes in libsoup from 2.24.1 to 2.25.1:
1889
1890         libsoup 2.25.1 introduces a new library, libsoup-gnome, which
1891         will be used for features which are important to GNOME apps,
1892         but which require GNOME-specific libraries that non-GNOME apps
1893         may not want to add dependencies on.
1894
1895         In 2.25.1, libsoup-gnome contains:
1896
1897             * SOUP_TYPE_PROXY_RESOLVER_GNOME, a SoupSessionFeature
1898               type that can be added to a SoupSession to provide
1899               automatic proxy handling via the GConf proxy keys. (See
1900               below) The default implementation uses libproxy, which
1901               also handles WPAD, PAC, etc, but if libproxy is not
1902               available it will use GConf directly, supporting only
1903               the basic HTTP proxy functionality.
1904
1905             * SoupCookieJarSqlite, a SoupSessionFeature that handles
1906               cookies and stores them in a Firefox 3-compatible sqlite
1907               file. (This is not actually a "GNOME-specific" feature,
1908               but I didn't want to make libsoup itself depend on
1909               sqlite, and I didn't want to make the dependency
1910               optional. This might change before 2.26.)
1911
1912             * SOUP_TYPE_GNOME_FEATURES_2_26: a SoupSessionFeature type
1913               that can be added to a SoupSession to add all
1914               GNOME-integration features that are available for 2.26;
1915               as of 2.25.1, this is just the GNOME proxy resolver, but
1916               by 2.26.0 it may also include gnome-keyring support and
1917               possibly other features.
1918
1919         Applications/libraries that are currently doing GConf proxy
1920         lookup by hand can be updated as follows:
1921
1922             * Remove all of the existing code that listens to the
1923               GConf keys and sets SOUP_SESSION_PROXY_URI
1924
1925             * Change the configure check to require
1926               "libsoup-gnome-2.4 >= 2.25.1" instead of "libsoup-2.4"
1927
1928             * #include <libsoup/soup-gnome.h>
1929
1930             * After creating your SoupSession, do:
1931
1932                   soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
1933
1934               (Or alternatively, use SOUP_SESSION_ADD_FEATURE_BY_TYPE
1935               with soup_session_async_new_with_options() or
1936               soup_session_sync_new_with_options().)
1937
1938
1939         Other new features and bug fixes in 2.25.1 include:
1940
1941         * SoupCookieJarText, like SoupCookieJarSqlite, but using the
1942           old-style cookies.txt format, and in the base libsoup rather
1943           than libsoup-gnome.
1944
1945         * Various bugfixes to SoupCookie and SoupCookieJar to fix the
1946           problems with cookies not working on certain sites.
1947
1948         * The new SoupMultipart type provides support for multipart
1949           MIME bodies, and soup-form now includes several methods for
1950           generating and parsing multipart form data and file uploads.
1951
1952         * SoupMessageHeaders now has methods for easy handling of the
1953           Content-Type, Content-Disposition, Range, and Content-Range
1954           headers. The Content-Disposition handling recognizes
1955           RFC2231-encoded UTF-8 filenames.
1956
1957         * SoupServer now automatically handles partial GET requests;
1958           if your server returns SOUP_STATUS_OK in response to a
1959           partial GET, libsoup will automatically convert it to a
1960           SOUP_STATUS_PARTIAL_CONTENT response with only the requested
1961           portions.
1962
1963         Thanks to Xan Lopez and Diego Escalante Urrelo for their work
1964         on SoupCookie, SoupCookieJar, SoupCookieJarText, and
1965         SoupCookieJarSqlite.
1966
1967 Changes in libsoup from 2.24.0.1 to 2.24.1:
1968
1969         * Fixed a crash when unreffing the session from a
1970           soup_session_queue_message() callback [#533473], and added
1971           regression test. In particular, this fixes a crash in
1972           seahorse when trying to connect to a non-responsive
1973           keyserver.
1974
1975         * Fixed an infinite loop when giving a bad password to a site
1976           that uses non-standard capitalization in the
1977           WWW-Authenticate header (eg, gmail.com) [#536285].
1978
1979         * Fixed a leak in SoupSessionAsync when using a non-default
1980           GMainContext. [addendum to #498509, Arnout Vandecappelle]
1981           Added additional code to the regression tests to make sure
1982           sessions and servers do not get leaked.
1983
1984         * Fixed a leak in the XML-RPC code
1985
1986         * Compile fixes for "gcc -pedantic" [#553976, Sander Dijkhuis]
1987           and -DG_DISABLE_DEPRECATED / -DG_DISABLE_SINGLE_INCLUDES
1988           [#557072, Cosimo Cecchi]
1989
1990         * Patched xmlrpc-test to accept the incorrect response to
1991           test_echo() that php-xmlrpc gives when it's built against
1992           libxml2 >= 2.7.1 (qv http://bugs.php.net/45996), so that
1993           I can "make distcheck"...
1994
1995         * Updated generated documentation
1996
1997 Changes in libsoup from 2.23.92 to 2.24.0.1:
1998
1999         * Reverted part of the fix for #528882, which caused the DAAP
2000           plugin in rhythmbox to crash. [#553466]
2001
2002 Changes in libsoup from 2.23.91 to 2.23.92:
2003
2004         * Fixed the handling of a 302 response to a HEAD request,
2005           which should NOT be treated like a 303 response. [#551190,
2006           Jonathan Matthew]
2007
2008 Changes in libsoup from 2.23.6 to 2.23.91:
2009
2010         * Fixed a crash in gvfs [#528882], though there is still an
2011           unknown bug there. As part of this fix, libsoup will now
2012           return an error if you try to do an operation on a non-HTTP
2013           URI. (Previously it was just treating any URI scheme except
2014           "https" as HTTP.)
2015
2016         * Added soup_date_to_timeval() for gvfs. [#549006, patch from
2017           Bastien Nocera]
2018
2019 Changes in libsoup from 2.23.1 to 2.23.6:
2020
2021         * Fixed use of g_idle_add() so that heavy I/O won't end up
2022           blocking libsoup callbacks. [#536676, Benjamin Otte]
2023
2024         * Allow the caller to override the Host header. [#539803, Marc
2025           Maurer]
2026
2027         * Properly handle responses larger than 4G. [#539861, Peter
2028           Christensen]
2029
2030         * Fixed the build when using certain LDFLAGS [#541506, Götz
2031           Waschk]
2032
2033         * Fixed a small bug in Digest auth handling. [#544681, Mads
2034           Chr. Olesen]
2035
2036         * Fixed multiple Windows bugs [Tor Lillqvist]
2037
2038 Changes in libsoup from 2.4.1 to 2.23.1:
2039
2040         * This is the first unstable release leading up to GNOME 2.24.
2041           Bumped the libsoup version number up to 2.23.x to match the
2042           GNOME version; note that the API version is still "2.4",
2043           meaning in particular that you still call it "libsoup-2.4"
2044           when using pkg-config.
2045
2046         * Added SoupSessionFeature, an interface type that will be
2047           used for several new features. Ported SoupLogger and
2048           SoupAuthManager to use it.
2049
2050         * Added SoupCookie and SoupCookieJar. This API is already
2051           being used in Epiphany, via WebKit, but it is not yet
2052           complete.
2053
2054         * Fixed GnuTLS support on Win32. [#528752, Marc Maurer]
2055
2056 Changes in libsoup from 2.4.0 to 2.4.1:
2057
2058         * Fixed SoupMessage to not downgrade to HTTP/1.0 for the
2059           second attempt when it receives an HTTP/1.0 redirect or 401.
2060           [#521848, Tommu Komulainen]
2061
2062         * Fixed Host: header syntax when the host is an IPv6 address
2063           literal.
2064
2065         * Fixed SoupSession to not emit "authenticate" multiple times
2066           for messages that have been requeued. [#522601, Tommi
2067           Komulainen]. Also added two new signals to SoupSession,
2068           request-queued and request-unqueued, to help simplify
2069           certain session-helpers and avoid bugs like this in the
2070           future.
2071
2072         * Fixed soup_server_pause_message() to actually work (rather
2073           than *un*pausing the message).
2074
2075         * Added a property SOUP_SESSION_IDLE_TIMEOUT that can be used
2076           to set a timeout after which idle connections will
2077           automatically be closed. [#518214, Jorn Baayen]
2078
2079         * Implemented RFC 2069-style Digest auth, and fixed SoupAuth
2080           to compare auth scheme names case-insensitively, to fix
2081           authentication against Apple's calendar server. [#498484]
2082
2083         * Fixed a crash in SoupAuthDomainDigest if the client provided
2084           an unrecognized username. [pointed out by Curtis Magyar on
2085           IRC]
2086
2087         * Fixed a few SoupDate bugs. (In particular, it was outputting
2088           the wrong day of the week when stringifying dates.)
2089
2090         * Improved the cleanup of idle connections, to fix slow load
2091           times with the libsoup backend of WebKit.
2092
2093         * Added a new SoupMessage signal "wrote-body-data" that can be
2094           used for progress information when sending a large request
2095           body. Also allow providing the request body in multiple
2096           chunks even when using Content-Length encoding. [#525101,
2097           Christian Kellner]
2098
2099         * libsoup now ignores SIGPIPE globally, instead of
2100           un-thread-safe-ly ignoring it only around network writes. In
2101           particular, this means it is ignored when the SSL code needs
2102           to unexpectedly do a write when we asked it to do a read.
2103           [#524397, Curtis Magyar]
2104
2105         * The discard-body-chunks-once-they're-no-longer-needed
2106           behavior, confusingly called SOUP_MESSAGE_OVERWRITE_CHUNKS,
2107           is now controlled by a SoupMessageBody method
2108           (soup_message_body_set_accumulate()), and can be applied to
2109           either the request body or the response body.
2110           (OVERWRITE_CHUNKS is still available for backward
2111           compatibility.) [#522146, Christian Kellner]
2112
2113         * The DNS cache no longer caches "no such host" results, since
2114           some name servers lie to clients outside their firewall,
2115           which could then cause problems for laptops moved between
2116           networks. [#523269, Jörgen Scheibengruber]
2117
2118         * Added some new regression tests, fixed some small bugs in
2119           the existing ones.
2120
2121 Changes in libsoup from 2.3.4 to 2.4.0:
2122
2123         * Fixed a small memory leak in SoupSession. [#518798, Wouter
2124           Cloetens]
2125
2126         * Minor fixes to redirect behavior; PROPFINDs can now be
2127           automatically redirected (pointed out by Christian Kellner),
2128           and 302 is treated like 307, not 303. Also fixed to make
2129           sure that redirect-test actually gets run by "make check".
2130
2131         * The SoupSocket I/O methods now set nread/nwrote even on
2132           error. [Benjamin Otte]
2133
2134 Changes in libsoup from 2.3.2 to 2.3.4:
2135
2136         * The documentation should be accessible from devhelp again
2137           [#518384, Mart Raudsepp]. (Also fixed another
2138           documentation-generation bug that affected builds from svn,
2139           but not the 2.3.2 tarball for some reason. [#518317,
2140           Benjamin Otte].)
2141
2142         * Fixed dependencies in libsoup-2.4.pc file [#517631,
2143           Sebastian Dröge]
2144
2145 Changes in libsoup from 2.3.0.1 to 2.3.2:
2146
2147         API changes / Behavior changes:
2148
2149         * soup_server_add_auth_domain() now refs the auth domain when
2150           adding it. (soup_server_remove_auth_domain() already
2151           unreffed it.) This means existing applications using
2152           SoupAuthDomain will now have a small memory leak. Those
2153           applications should update their libsoup-2.4 requirement to
2154           ">= 2.3.2" at some point before the final GNOME 2.22.0
2155           release, and then fix the code to unref the auth domain
2156           after adding it to the server.
2157
2158         * SoupSession's automatic redirect-handling behavior now obeys
2159           RFC 2616 more closely. In particular, status codes 300 and
2160           304 are no longer mistakenly considered redirects; POSTs
2161           that receive 303 are now redirected into GETs; and POSTs
2162           that receive 301, 302, or 307 are now not redirected.
2163
2164           Applications that were using the SOUP_MESSAGE_NO_REDIRECT
2165           flag to prevent libsoup from redirecting POSTs incorrectly
2166           before should now be able to remove that if they depend on
2167           libsoup-2.4 >= 2.3.2.
2168
2169         API additions:
2170
2171         * Added a SOUP_SESSION_USER_AGENT property to SoupSession, and
2172           SOUP_SERVER_SERVER_HEADER to SoupServer, to support
2173           automatically adding "User-Agent" and "Server" headers to
2174           messages. (The default behavior is to do nothing, as
2175           before.)
2176
2177         * Added several new methods to soup-forms.h. Applications that
2178           are encoding a fixed set of form fields can now just pass
2179           them to soup_form_encode(), rather than needing to construct
2180           a GHashTable or GData list. (Likewise, the new
2181           soup_uri_set_query_from_fields() behaves similarly for
2182           directly updating a URI with form data.) There are also now
2183           soup_form_request_new() and other related methods, to
2184           directly create a GET or POST SoupMessage for submitting a
2185           form query.
2186
2187           The original soup_form_* methods have all been renamed,
2188           although #defines exist for backward compatibility.
2189
2190         * Added soup_message_set_chunk_allocator() and
2191           soup_buffer_new_with_owner(), to give applications more
2192           control over memory usage/copying when doing streaming HTTP.
2193           [Wouter Cloetens, #513810].
2194
2195         * Added several new methods to soup-value-utils.h for working
2196           with multiple array or hash table values at once:
2197           soup_value_hash_new_with_vals(),
2198           soup_value_hash_insert_vals(),
2199           soup_value_hash_lookup_vals(),
2200           soup_value_array_new_with_vals(), and
2201           soup_value_array_append_vals().
2202
2203           This helps to simplify XML-RPC calls that send or receive
2204           structs or arrays.
2205
2206         * Added soup_date_to_time_t().
2207
2208         * Added SoupMessageHeadersIterator, an iterator type for
2209           SoupMessageHeaders that can be used instead of
2210           soup_message_headers_foreach().
2211
2212         Bug fixes:
2213
2214         * Fixed a crash-when-idle in evolution-exchange [#437835] and
2215           rhythmbox [#506552].
2216
2217         * Added the API version to the gtk-doc installation dir, to
2218           prevent parallel-installation problems with libsoup 2.2 and
2219           2.4. [#512810, Daniel Gryniewicz].
2220
2221         * Fixed tests/query-test to compile correctly on Solaris.
2222           [#513602, patch from Jeff Cai]
2223
2224         * Fixed some other minor HTTP conformance issues.
2225
2226         Python bindings:
2227
2228         * Although not present in the release tarball, there are now
2229           experimental python bindings for libsoup in GNOME subversion
2230           (in the python/ subdirectory of libsoup trunk). These are
2231           not yet stable (and are not built by default or installed
2232           even when building from svn), but comments on them are
2233           welcome at libsoup-list@gnome.org
2234
2235 Changes in libsoup from the 2.2 series to 2.3.0.1:
2236
2237         libsoup 2.3.0 is the first beta release of the libsoup 2.4
2238         series. It is an API break from the earlier 2.2 series that
2239         fixes various bugs and API warts and lays the groundwork for
2240         language bindings and various new features in upcoming
2241         releases.
2242
2243         (2.3.0.1 is identical to the 2.3.0 release in terms of code,
2244         but includes this updated NEWS file which was accidentally
2245         left out of the 2.3.0 tarball.)
2246
2247         http://library.gnome.org/devel/libsoup/unstable/libsoup-porting-2.2-2.4.html
2248         goes over the API changes in detail. If you have questions not
2249         answered by the porting document, please send mail to
2250         libsoup-list@gnome.org.
2251
2252         Specific user-reported bugs fixed in this release:
2253
2254         * SoupURI now correctly handles URIs with complex encoded
2255           queries [#266516, Jean-Yves Lefort]
2256
2257         * It is now possible for a SoupServer to use Digest auth
2258           without needing to have the cleartext password available.
2259           [#347108, Anas Nashif]
2260
2261         * Digest authentication now properly handles "stale=true" and
2262           "nextnonce=..." [#471380, Jari Urpalainen]
2263
2264         * SoupServer is now subclassible [#491653, Mathias Hasselmann]
2265
2266         * soup_server_run_async and soup_server_quit no longer ref and
2267           unref the server, as that doesn't match ordinary GObject
2268           conventions [#494128, Mathias Hasselmann]
2269
2270         * The test programs no longer use a symbol name that conflicts
2271           with Cygwin [#501631, Cygwin Ports Maintainer]
2272
2273         * libsoup can now handle the not-quite-HTTP responses returned
2274           by Shoutcast servers [#502325, Wouter Cloetens]
2275
2276         * If you use libsoup while disconnected from the network, it
2277           no longer caches the failed DNS results [#508593, Bradley
2278           Worley]
2279
2280         Items from http://live.gnome.org/LibSoup/ToDo fixed:
2281
2282         * "Expect: 100-continue" processing now works correctly on
2283           both client and server.
2284
2285         * SoupSessions are no longer leaked
2286
2287         * The XML-RPC API is improved. The SOAP API is gone...
2288
2289         * Added utility functions for HTML form handling
2290
2291         * Improved message header handling
2292
2293         * SoupServer now automatically adds a "Date" header
2294
2295 ==========
2296
2297 Changes in libsoup from 2.2.103 to 2.2.104:
2298
2299         * soup_message_io_pause() and soup_message_io_pause() are now
2300           allowed for client messages (and in particular, they don't
2301           mess up when called from the "got_chunk" callback).
2302           [#452280, Marco Barisione]
2303
2304         * Fixed some bugs in SOUP_SESSION_ASYNC_CONTEXT support that
2305           would cause parts of an operation to run in the default
2306           context rather than the session's context. Also fixed some
2307           leaks and added a regression test. [#498509, Wouter
2308           Cloetens]
2309
2310         * There is a new test/sample program, tests/pull-api.c,
2311           showing how to implement a pull API using SoupSessionAsync.
2312           (This depends on the fixes for #452280 and #498509, so it
2313           won't work with older versions of libsoup.)
2314
2315         * Discovered "valgrind --leak-resolution=med" and fixed some
2316           more memory leaks.
2317
2318 Changes in libsoup from 2.2.102 to 2.2.103:
2319
2320         * Fix memory corruption in SoupSessionAsync that caused
2321           rhythmbox to crash. [#484988, patch from Rob Bradford]
2322
2323         * Fix socket refcounting in SoupServer to fix warnings /
2324           possible crash. [#459896, Emanuele Aina]
2325
2326 Changes in libsoup from 2.2.101 to 2.2.102:
2327
2328         * Unbreak the build when building without SSL. Not that you
2329           should be building without SSL anyway, but... (reported by
2330           guenther).
2331
2332 Changes in libsoup from 2.2.100 to 2.2.101:
2333
2334         * Fix build on cygwin [384498]
2335
2336         * Fix SSL rehandshaking on synchronous sockets [415402, Jacob
2337           Berkman] and add a regression test for it.
2338
2339         * Fix two bugs in https tunnels over proxies that require
2340           authentication (noticed by Varadhan), and add a regression
2341           test for them.
2342
2343         * Ensure that if you queue multiple messages at once to an
2344           http server that requires authentication but that you
2345           haven't authenticated to yet, that all of the messages get
2346           properly authenticated [271540, James Willcox]. And add a
2347           regression test for it.
2348
2349         * Fix NTLM authentication, which got broken by the previous
2350           fix. [471389, Varadhan]. Add a basic NTLM regression test
2351           that doesn't really test the crypto/encoding parts, but at
2352           least makes sure that the message flow is correct.
2353
2354         * Allow trailing whitespace after HTTP version in
2355           Response-Line, for compatibility with broken servers
2356           [475169, Stephane Loeuillet]. Add that case to the
2357           header-parsing regression test.
2358
2359         * Fix crash when the session's "authenticate" handler returns
2360           a username and no password when using NTLM. [480987, Wendell
2361           MacKenzie]
2362
2363         * Use "new" glib base64 and iso8601 methods rather than
2364           duplicating them. [337010, patch from Emmanuele Bassi].
2365
2366         * Implement soup_session_queue_message() for SoupSessionSync.
2367
2368         * Add G_BEGIN_DECLS / G_END_DECLS to all headers that were
2369           missing them. [438776, patch from Jonathon Jongsma].
2370
2371         * Fix broken definition of SOUP_IS_MESSAGE_FILTER_CLASS. Noted
2372           by "cascardo" on libsoup-list.
2373
2374         * Remove documentation of non-public MD5 methods [440092,
2375           Jonathon Jongsma]. Removed a mysterious half-sentence in the
2376           SoupMessage docs [458116, Marco Barisione].
2377
2378 Changes in libsoup from 2.2.99 to 2.2.100:
2379
2380         * Fixed soup_headers_parse_status_line() so WebDAV response
2381           parsing will work again. [406997]
2382
2383         * Fixed a bug in the header-parsing regression test that
2384           caused the test to fail sometimes, even though the actual
2385           header-parsing code was fine.
2386
2387 Changes in libsoup from 2.2.98 to 2.2.99:
2388
2389         * Fixed header parsing, including a crash in SoupServer with
2390           certain malformed requests [391970].
2391
2392         * Fixed redirection to other hosts with SoupSessionAsync.
2393           [382251]
2394
2395         * Fixed a small memory leak pointed out by Chris Austin.
2396
2397 Changes in libsoup from 2.2.97 to 2.2.98:
2398
2399         * The XML-RPC code now correctly interprets <value>foo</value>
2400           as meaning the same thing as
2401           <value><string>foo</string></value>. [364490] Pointed out by
2402           Todd Kulesza.
2403
2404         * Memory leak fixes from Andrew W. Nosenko.
2405
2406         * A few symbols that should have been static before now are.
2407           [376387] Patch from Matthias Clasen.
2408
2409 Changes in libsoup from 2.2.96 to 2.2.97:
2410
2411         * Fixed SOAP and XML-RPC code to handle whitespace and
2412           comments in the XML better. (Based on a patch from Andrew W.
2413           Nosenko.)
2414
2415         * Fixed lots of typecasting/constness warnings in the code
2416           (mostly via a patch from Andrew W. Nosenko)
2417
2418         * Fixed build on Cygwin [321827]
2419
2420         * Fixed libsoup-2.2.pc fields [343340] and make it get
2421           uninstalled correctly [356809]. (Mikhail Zabaluev and
2422           Matthew Barnes)
2423
2424         * Fixed some small leaks in SoupServer pointed out by Paolo
2425           Borelli. [351500]
2426
2427 Changes in libsoup from 2.2.95.1 to 2.2.96:
2428
2429         * SoupServer now works even if you don't explicitly set an
2430           encoding for the response. (In particular, the automatic 404
2431           if you request a path with no handlers now works. Problem
2432           pointed out by Dennis Jacobfeuerborn.)
2433
2434         * WWW-Authenticate and Proxy-Authenticate responses with no
2435           realm parameter are now ignored, as per RFC 2617, fixing a
2436           crash pointed out by Nate Nielsen.
2437
2438         * Added soup_xmlrpc_message_from_string(), from Fernando
2439           Herrera [348532].
2440
2441         * simple-httpd and "get" now support HEAD
2442
2443 Changes in libsoup from 2.2.94 to 2.2.95.1:
2444
2445         * Even more fixes to XML-RPC, found by the new XML-RPC
2446           regression test. This includes some API changes that I don't
2447           feel guilty about, because the code totally didn't work at
2448           all before.
2449
2450         * Fixed a bug in soup_mktime_utc()
2451
2452         * (2.2.95 was identical to 2.2.95.1. The only difference is
2453           that the shared library version was belatedly bumped from
2454           8.2.0 to 8.3.0 to reflect the API "additions")
2455
2456 Changes in libsoup from 2.2.93 to 2.2.94:
2457
2458         * Various fixes to the XML-RPC code (which apparently had not
2459           actually ever worked before) from Brent Smith. [343973,
2460           344222, 344458]
2461
2462         * Added client and server API tutorials to the docs
2463
2464         * auth-test now uses a local Apache 2.2 install, if possible,
2465           rather than depending on files that used to be on an old
2466           Ximian web server but haven't been anywhere for a long time.
2467           [311825]
2468
2469 Changes in libsoup from 2.2.92 to 2.2.93:
2470
2471         * Fixed outgoing data corruption caused when SoupServer
2472           started writing out a response a second time after already
2473           having started once. [334469]. Also fixed 342640 and another
2474           bug caused by the workaround for 334469 in 2.2.92. Based on
2475           patches and analysis from William Jon McCann and Armin
2476           Bauer.
2477
2478         * Fixed a deadlock when changing a session's proxy URI.
2479           [309867 / bnc 174255, based on a patch by Veerapuram
2480           Varadhan].
2481
2482         * Fixed https-via-proxies in the synchronous case. [bnc 174255]
2483
2484         * Fixed a crash in evolution-exchange [342545, fix based on an
2485           analysis by Wang Xin].
2486
2487         * Fixed simple-proxy to not crash at startup. Oops. (Alex
2488           Larsson)
2489
2490 Changes in libsoup from 2.2.91 to 2.2.92:
2491
2492         * Fixed server-side digest auth to return a valid "algorithm"
2493           value and client-side to not crash if it sees an invalid one
2494           [328615].
2495
2496         * Fixed the Request-Line parsing code to not hardcode a
2497           maximum URI length (to allow very long DAAP requests from
2498           iTunes in Rhythmbox). [335040]
2499
2500         * Fixed some warnings (signed/unsigned mismatch).
2501
2502 Changes in libsoup from 2.2.7 to 2.2.91:
2503
2504         * (The large version number bump is because there was an
2505           internal 2.2.90 release for SUSE 10.1 alphas, which was
2506           supposed to be intermediate between 2.2.7 and 2.4.0. But
2507           2.4.0 didn't end up happening, and I don't want to regress
2508           the version number at this point.)
2509
2510         * SoupSession, SoupServer, SoupConnection, SoupSocket, and
2511           SoupAddress now have an "async-context" property that allows
2512           you to use the async API in a non-default GMainContext.
2513           [Based on patches from Armin Bauer and Jürg Billeter.]
2514
2515         * SoupSession, SoupConnection, and SoupSocket now have a
2516           "timeout" property to stop synchronous sockets from hanging
2517           forever if the remote end is unresponsive (from Varadhan).
2518
2519         * Fixed some bugs in soup_date_iso8601_parse(). [324671, from
2520           Emmanuele Bassi]
2521
2522         * More Windows build fixes from Tor.
2523
2524 Changes in libsoup from 2.2.6.1 to 2.2.7:
2525
2526         * Fixed a crash when using NTLM connections [316313, probably
2527           also 318252]. (Also 321208, which was a bug introduced in
2528           the original fix for 316313.)
2529
2530         * Fixed a bug that could cause soup to suck up all available
2531           CPU when a connection to a SoupServer was dropped by the
2532           other side [319305, patch from Jonathan Matthew]
2533
2534         * Fixed the creation of struct elements in XMLRPC messages
2535           [321362, patch from Sebastian Bauer]
2536
2537         * Plugged a small memory leak in SoupSocket (from Wang Xin).
2538
2539         * Fixed two compile problems, a gccism [320349, patch from
2540           Roland Illig], and a strict-aliasing warning from gcc 4.1.
2541
2542 Changes in libsoup from 2.2.6 to 2.2.6.1:
2543
2544         * Fixed a crash when using SoupSoapMessage
2545
2546 Changes from 2.2.5 to 2.2.6:
2547
2548         * Fixed a crash when canceling a message (from Tambet Ingo)
2549
2550         * Fixed a bug where a connection could be leaked forever in
2551           some circumstances if a request got a 30x, 401, or 407
2552           response, eventually causing a hang when the session hit its
2553           maximum connection limit. (Dan/Tambet)
2554
2555         * Fixed a memory leak. (Tambet)
2556
2557         * Fixed a bug that would sometimes show up when connecting to
2558           a server on localhost [#312540]
2559
2560         * Added some API to SoupServer and SoupSocket to help fix a
2561           long-standing rcd bug.
2562
2563 Changes from 2.2.4 to 2.2.5:
2564
2565         * Win32 support (from Tor Lillqvist)
2566
2567         * Up-to-date API documentation pretty much everywhere
2568
2569         * Basic XMLRPC support (from Mariano Suarez-Alvarez, Fernando
2570           Herrera, and Jeff Bailey)
2571
2572         * New HTTP timestamp-manipulation methods soup_date_parse,
2573           soup_date_generate, and soup_date_iso8601_parse.
2574
2575         * SoupSession now handles relative URLs in the Location header
2576           (in violation of RFC 2616, but in line with how some servers
2577           behave.) [270688]
2578
2579 Changes from 2.2.3 to 2.2.4:
2580
2581         * Fixed a problem with NTLM authentication against
2582           multi-domain servers. [306877]
2583
2584         * Fixed DNS lookups on Solaris. [254551, 268389]
2585
2586 Changes from 2.2.2 to 2.2.3:
2587
2588         * Now compiles against gnutls 1.2.0 [257811]
2589
2590         * Fixed a bug that could result in 100% CPU usage if an SSL
2591           server closed the connection uncleanly. [273352]
2592
2593 Changes from 2.2.1 to 2.2.2:
2594
2595         * The SSL validation fix from 2.2.1 [264414] is now completely
2596           fixed. (Part of the fix didn't actually make it into 2.2.1)
2597
2598         * HTTPS certificate validation now works when using an HTTP
2599           proxy. [268583]
2600
2601         * HTTP proxy code deals better with proxies that try to make
2602           the user do HTML-form-based authentication. [268531]
2603
2604         * 64-bit fixes for NTLM auth code. [270323, from Michael
2605           Zucchi]
2606
2607 Changes from 2.2.0 to 2.2.1:
2608
2609         * Updated for a libgcrypt API change between 1.1.9x and 1.2.x
2610           that caused a crash at runtime if you compiled against
2611           1.2.x. [266342]
2612
2613         * SSL certificate validation failure should now always result
2614           in a status of SOUP_STATUS_SSL_FAILED, rather than getting
2615           turned into SOUP_STATUS_IO_ERROR. [264414]
2616
2617
2618 Changes in libsoup from the 2.0 series (1.99.x versions) to 2.2:
2619
2620         * Most of the libsoup datatypes are now GObjects. (SoupUri
2621           is currently an exception to this.)
2622
2623                 * SoupMessage now emits signals at various stages of
2624                   processing. (Eg, "wrote_body", "got_headers".) (You
2625                   can also still use soup_message_add_*handler().)
2626
2627         * SoupContexts are gone; soup_message_new() now takes a URI
2628           string.
2629
2630         * All formerly global state is now maintained by the
2631           SoupSession object. (This includes the connection pool,
2632           proxy server, cached authentication information, SSL
2633           certificates, etc.)
2634
2635                 * You can create a SoupSessionAsync (for 2.0-like
2636                   behavior) or SoupSessionSync (for blocking,
2637                   synchronous usage).
2638
2639                 * You can add SoupMessageFilter objects to a session
2640                   to have certain processing automatically performed
2641                   on every message sent via that session. (Eg, setting
2642                   up handlers.)
2643
2644                 * NTLM authentication is no longer supported by
2645                   default. You must enable it by setting the
2646                   SOUP_SESSION_USE_NTLM flag on the session.
2647
2648                 * The preferred method of handling authentication is
2649                   now via the "authenticate" and "reauthenticate"
2650                   signals on SoupSession. (The old style, of encoding
2651                   the user and password information into the url is
2652                   also still supported.)
2653
2654         * The SOUP_ERROR_* values are now SOUP_STATUS_* (so that we
2655           don't have "SOUP_ERROR_OK" and the like).
2656
2657                 * SOUP_MESSAGE_IS_ERROR() is gone, since some cases
2658                   want to include 3xx responses and some don't.
2659
2660                 * SOUP_ERROR_CANT_AUTHENTICATE and
2661                   SOUP_ERROR_CANT_AUTHENTICATE_PROXY are now gone,
2662                   since they didn't carry any information that
2663                   SOUP_STATUS_UNAUTHORIZED and
2664                   SOUP_STATUS_PROXY_UNAUTHORIZED don't.
2665
2666                 * DNS errors now show up as the new status code
2667                   SOUP_STATUS_CANT_RESOLVE rather than being mixed in
2668                   with SOUP_ERROR_CANT_CONNECT.
2669
2670         * Minimal SOAP support has been added back, via
2671           SoupSoapMessage/SoupSoapResponse
2672
2673         * The HTTP I/O state machine was completely rewritten, fixing
2674           numerous crashes, leaks, and protocol errors.
2675
2676         * SoupUri now conforms to RFC 2396. Mostly.
2677
2678         * Various test programs have been added under tests/
2679
2680         * Removed:
2681
2682                 * Support for OpenSSL (which was horribly buggy) and
2683                   Mozilla NSS (which was never finished). We only
2684                   support GNUTLS for SSL now.
2685
2686                 * SOCKS support
2687
2688                 * CGI support in SoupServer