forked from GNOME/libsoup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
3370 lines (2415 loc) · 127 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Changes in libsoup from 2.54.1 to 2.55.90:
* Removed support for SSLv3 fallback; sites that reject TLS
1.x handshakes will now just fail with an error. (Firefox
and Chrome have both already switched to this behavior.)
[#765940, Dan Winship]
* Fixed the parsing of <double>s in the new GVariant-based
XMLRPC code. [#767707, Dan Winship]
* Fixed soup_server_set_ssl_cert_file(), which was added in
2.48 but didn't actually work... [patch on libsoup-list from
Sean DuBois]
* Added GObject properties to SoupLogger to make it
bindings-friendly. [#768053, Jonh Wendell]
* Fixed build error on FreeBSD [#765376, Ting-Wei Lan]
* Fixed build with certain new versions of glibc that define
"EOF" as a macro. [#768731, Philip Withnall]
* Updated m4/ax_code_coverage.m4 with support for lcov 1.12
[Philip Withnall]
* Updated po files for future gettext versions [Piotr Drąg]
* New/updated translations:
Occitan, Scottish Gaelic
Changes in libsoup from 2.54.0.1 to 2.54.1:
* *** IMPORTANT ***
Fixed an ABI break in 2.54.0 caused by adding a member to
SoupAuthClass; 2.54.1 is ABI-compatible with 2.53.92 and
earlier, but NOT with the anomalous 2.54.0. If you built
packages against 2.54.0, you will need to rebuild them
against 2.54.1.
* Fixed NTLM authentication when ntlm_auth from the latest
version of Samba is present. [#765106, Milan Crha]
* Updates to MSVC build, including for GSS-API support
[Chun-wei Fan]
* Updated translations:
Friulian
Changes in libsoup from 2.53.92 to 2.54.0.1:
* (2.54.0.1 fixes a build problem with the 2.54.0 tarball,
which would not build if you configured with
"--without-gnome". There are no other changes between 2.54.0
and 2.54.0.1.)
* Fixed examples/simple-httpd on Windows [#758759, Chun-wei
Fan]
Changes in libsoup from 2.53.90 to 2.53.92:
* libsoup now supports HTTP "Negotiate"/GSSAPI/Kerberos
authentication. It must be enabled specifically by the
application and is also subject to certain other
restrictions, some of which are not yet controllable through
the API. [#587145, Guido Guenther, Tomas Popela, David
Woodhouse, Dan Winship]
* Added support for building under MSVC [#758759, Chun-wei
Fan]
* Fixed a problem with the 2.53.90 tarball that caused
translations to be mis-installed.
* Updated translations:
Occitan
Changes in libsoup from 2.53.2 to 2.53.90:
* NUL bytes in headers are now ignored [#760832, Dan Winship]
* Fixed transfer annotation of soup_form_decode* functions
[#743966, Lionel Landwerlin]
* Updated translations:
Bulgarian, Latvian, Norwegian bokmål
Changes in libsoup from 2.53.1 to 2.53.2:
* Fixed up symbol visibility handling for mingw by copying
GLib's system [Ignacio Casal Quinteiro, #757146]
* Finally marked the old SoupSessionAsync and SoupSessionSync
methods as deprecated [Ignacio Casal Quinteiro, Dan Winship,
#757146]
* Added libsoup-2.4.deps for valac [Rico Tzschichholz]
* Make it possible to build from git without gtk-doc being
installed [Ignacio Casal Quinteiro]
* Updated translations:
Norwegian bokmål, Occitan
Changes in libsoup from 2.52.1 to 2.53.1:
* Really fixed build under MinGW for sure this time [Ignacio
Casal Quinteiro]
* Fixed SoupServer Web Sockets code so that the
SoupClientContext passed to a SoupServerWebsocketCallback is
fully usable (rather than crashing when you try to do most
things).
Changes in libsoup from 2.52.0 to 2.52.1:
* Fixed build under MinGW [Chun-wei Fan]
* Fixed build with --disable-introspection [#755389, Quentin
Glidic]
* Fixed HTTP authentication protection space handling for
files directly under the root directory. [#755617, Carlos
Garcia Campos]
* Fixed a warning when loading data from SoupCache while using
an authenticated proxy. [#756076, Carlos Garcia Campos]
* Updated translations:
German, Vietnamese
Changes in libsoup from 2.51.92 to 2.52.0:
* Removed duplicate test paths from tests/date so it will pass
with glib 2.46.0
Changes in libsoup from 2.51.90 to 2.51.92:
* Added g_autoptr() support for all libsoup types. [#754721,
Kalev Lember]
* Added a missing (allow-none) annotation to
soup_uri_normalize() [#754776, Jens Georg]
* Updated translations:
Polish
Changes in libsoup from 2.51.3 to 2.51.90:
* Added a new GVariant-based XMLRPC API, and deprecated the
old GValue-based API (along with the associated
GValue-manipulating utilities). [#746495, Xavier Claessens]
* Multiple build fixes for Visual Studio [#752952, Chun-wei Fan]
* Added VAPI generation [#750679, Daniel Espinosa]
* Fixed the mode bits on soup-cookie.c, which was previously
marked executable for some reason. [rh #1247285]
* Updated translations:
Norwegian bokmål, Portuguese, Thai, Turkish
Changes in libsoup from 2.50.0 to 2.51.3:
* Fixed "make check" in non-English locales [rh #1224989,
#749397]
* Fixed some compiler warnings [#748514, Philip Withnall]
* New/Updated translations:
Aragonese, Catalan, Occitan, Russian
Changes in libsoup from 2.49.92 to 2.50:
* Updated translations:
Basque, Chinese (Taiwan), Danish, Indonesian,
Norwegian bokmål
Changes in libsoup from 2.49.91.1 to 2.49.92:
* Fixed an NTLM problem that caused spurious "Authentication
Failed" errors in evolution-ews. [#735197]
* New/updated translations:
Bosnian, Czech, Greek, Hebrew, Italian, Korean, Lithuanian,
Polish, Serbian, Slovak, Slovenian, Spanish, Swedish
Changes in libsoup from 2.49.1 to 2.49.91.1:
* WebSockets! Libsoup now has support for WebSockets in both
SoupSession and SoupServer. [#627738, Dan Winship and Lionel
Landwerlin, based on code from the Cockpit project]
* The WebSocket code in libsoup 2.49.91 did not build on
32-bit architectures. 2.49.91.1 was released to fix
this.
* Added support for NTLMv2 Session Security to SoupAuthNTLM.
(This is transparent to the app/user; if the server supports
it, it will be used.) [#739192, Adam Seering]
* Added soup_server_accept_iostream() to allow feeding a
non-GSocketConnection GIOStream to SoupServer (eg, when
accepting HTTP requests on some other sort of connection).
[#744186, Marc-André Lureau]
* Added soup_session_steal_connection() and
soup_client_context_steal_connection(), to allow you to
steal a GIOStream from a SoupSession or SoupServer and then
use it for non-HTTP purposes. [#721343, Dan Winship]
* Added soup_server_add_early_handler(), for adding SoupServer
handlers to run at :got-headers time rather than :got-body
(eg, to set up a streaming read of the request body).
[#625645, Dan Winship]
* Added a new SOUP_MESSAGE_IGNORE_CONNECTION_LIMITS flag,
which can be used to bypass SoupSession:max-conns and
SoupSession:max-conns-per-host on a per-message basis.
[#744720, Carlos Garcia Campos]
* Multiple SoupCache fixes from Carlos Garcia Campos:
* Leaked resources are now cleaned up when opening the
cache. [#667682]
* The "Age" header is no longer added to cached
responses. [#741108]
* Fixed the interpretation of the "must-revalidate"
directive to not be stricter than required. [#744468]
* Messages retrieved from cache now behave slightly more
like non-cache messages in terms of SoupSession
signals and timing. [#744788] Additionally, there is a
new SoupMessage::starting signal, which is like
SoupSession::request-started, but emitted for cached
resources as well. [#731153]
* Fixed soup_session_cancel_message() to work reliably on
paused messages. [#745094, Sven Neumann]
* Added code-coverage support to the build. [#744744,
Marc-André Lureau]
* Fixed the library symbol check in "make check" to work when
building with linker options that result in slightly
different organization. [#741348, Iain Lane]
* Added a hack to SoupSessionFeature so that people will stop
re-reporting an old Eclipse bug against libsoup. [#710242]
* Miscellaneous bug and leak fixes in the test programs, leak
fixes in libsoup, and documentation updates.
* Updated translations:
Brazilian Portuguese, French, Galician, Hungarian, Slovak,
Slovenian, Spanish, Turkish
Changes in libsoup from 2.48.0 to 2.49.1:
* Fixed a bug in the SoupMessage:event signal that broke
evolution's ability to connect to https hosts with "bad"
certificates. [#739951, Dan Winship]
* Fixed a case where the async codepaths could potentially
block on a synchronous write [#727138, Dan Winship]
* Fixed the symbol soup_server_set_ssl_cert_file() to get
exported, and added soup_server_get_uris() to the
documentation. [Tristan Van Berkom]
* Improved a bunch of introspection annotations [#729987, Evan
Nemerson]
* Clarified some documentation. [Tristan Van Berkom, Dan
Winship]
* Fixed Windows build, twice [#738003, Kouhei Sutou, and
#738551, Kalev Lember].
* Updated translations:
Bengali (Indian), Chinese (Traditional), Italian, Latvian,
Serbian, Telugu, Ukranian
Changes in libsoup from 2.47.92 to 2.48.0:
* Updated translations:
Bengali (India), Danish, German, Hindi, Kannada, Punjabi
Changes in libsoup from 2.47.4 to 2.47.92:
* Fixed a crash in SoupCache when receiving certain invalid
Cache-Control headers. [#733587, Raveendra Karu]
* Updated translations:
Assamese, Basque, Catalan (Valencian), Catalan, Chinese
(Traditional), French, Gujarati, Hungarian, Indonesian,
Korean, Marathi, Norwegian bokmål, Oriya, Polish, Swedish,
Tamil
Changes in libsoup from 2.47.3 to 2.47.4:
* Fixed two crashes that could occur in multithreaded use
(in particular, with the latest git gvfs). [#732783,
#732925, Ross Lagerwall]
* Fixed the handling of data: URIs with base64-encoded data
but no explicit MIME type. [#732112, Raveendra Karu]. Added
tests for this and other data: URI cases. [Dan]
* Fixed a bug in SoupAuthNTLM that affected 28-character-long
passwords. [#732087, David Woodhouse]
* Fixed tests to pass with GLib git master (which warns if you
use deprecated GObject properties, and which also caught a
mutex-handling bug in test-utils.c)
* Updated translations:
Galician, Greek, Lithuanian, Russian
Changes in libsoup from 2.46.0 to 2.47.3:
* Added new-and-improved SoupServer API, and deprecated much
of the existing API:
* Servers can now listen on multiple ports, including
listening on both IPv4 and IPv6 (which is the default
behavior when using the new API), or serving both http
and https from a single SoupServer.
* You can create a SoupServer from an existing listening
socket (either a file descriptor or a GSocket).
* When using the new APIs, SoupServer now obeys the
thread-default GMainContext rather than using the
:async-context property.
* soup_server_set_ssl_cert_file() allows setting the
certificate and key files with feedback if it fails
(unlike the old construct-time "ssl-cert-file" and
"ssl-key-file" properties, which fail with a
g_warning() and a NULL return from g_object_new() if
they fail).
* SoupClientContext has new methods that return GSocket
and GSocketAddress, rather than SoupSocket and
SoupAddress.
* SoupSession now has a :tls-interaction property, which can
be used to add a GTlsInteraction to a session, allowing it
to provide a client-side certificate if the server requests
one. [#334021, Colin Walters]
* soup_session_abort() no longer tries to close active
connections, which was causing crashes in evolution
[rh#1093314]
* Fixed a GMainContext-handling bug that could cause crashes
in gstreamer's souphttpsrc. [#729737, Dmitry Shatrov]
* Fixed a memory leak when requesting to delete a cookie that
didn't exist [Joseph Artsimovich]
* Updated translations:
Brazilian Portuguese, Czech, Hebrew, Spanish
Changes in libsoup from 2.45.92 to 2.46.0:
* (No changes, just a version bump)
Changes in libsoup from 2.45.90 to 2.45.92:
* Fixed problems with using an http proxy on port 80. [patch
from Slava Monich on libsoup-list]
* Plugged a small per-connection leak. [patch from Slava
Monich on libsoup-list]
* Belatedly bumped up the glib requirement to 2.38, which is
required for the TAP driver.
* Fixed up some leftover issues from the test porting to
gtestutils:
test-utils: change http_debug command-line flag
xmlrpc-test: use g_test_skip()
redirect-test: remove a flaky test
auth-test: remove some erroneous SKIP_IF_NO_APACHEs
tests: split up some test programs into more tests
tests: remove debug_printf()s that are redundant with test names
tests: use g_test_bug() to annotate test cases
Changes in libsoup from 2.45.3 to 2.45.90:
* Fixed a problem where libsoup would use the "http" proxy
settings for "https" requests [#724316, Matt Barnes]
* Updated SoupContentSniffer to match the current version of
the MIME sniffing specification [#648849 / #715126, Gustavo
Noronha Silva]
* Updated the soup-tld APIs to accept ASCII-encoded hostnames
in addition to UTF-8 ones.
* Ported the test programs to the gtestutils framework, added
support for installed tests, and made the tests use the TAP
driver.
Some tests still need to be split up into more pieces, and
the debug output is now somewhat less useful in some cases.
* Fixed the test programs to not depend on local proxy
settings.
* Added some more checks to header-tests [#722341, Lionel
Landwerlin]
* Fixed the "simple-proxy" example program, which had been
broken for a while.
* Updated translations:
Korean
Changes in libsoup from 2.44.1 to 2.45.3:
* The documentation has finally been updated to reflect the
new APIs added in 2.42.
* Added GBytes-valued :request-body-data and
:response-body-data properties to SoupMessage, which should
help some bindings.
* We now set TCP_NODELAY on sockets, improving throughput a
bit. In particular, this avoids an unnecessary extra round
trip in the TLS handshake.
* The SoupSession APIs that return GErrors now return the
actual underlying gio errors in the event of connection
failures and the like.
* Updated the copy of the Public Suffix list used by soup-tld.
* Fixed a hang with internet radio streams in Rhythmbox (and
some other places). [#710494, Dan]
* Fixed a connection leak when cancelling the close of
a message GInputStream. [#711260, Dan]
* Updated the soup_server_pause_message() /
soup_server_unpause_message() documentation to clarify when
you can and can't call them. [#710602, Philip Withnall]
* soup_message_set_request() and soup_message_set_response()
now g_warn_if_fail() if you pass an invalid Content-Type.
(And they also have better introspection annotations.)
[#686766, Dan]
* Plugged a few memory leaks [#711085, Christophe Fergeau]
* Fixed connection-test to pass with current glib [#711361,
Colin Walters]
* session-test now passes when run against the dummy TLS
backend (ie, if you don't have glib-networking installed),
as long as you have the latest glib.
* Fixed build with -Werror=format-nonliteral [#720082, Ryan
Lortie]
* Fix build with --without-ntlm [#710267, Dan]
* Fixed a few warnings [Dan, Fabiano Fidêncio]
* Tests are now more verbose by default under "make check",
since current automake just redirects all the output to a
log file anyway.
* Updated translations:
Chinese
Changes in libsoup from 2.44.0 to 2.44.1:
* If you called g_input_stream_close() on SoupMessage or
SoupRequests's GInputStream before you finished reading it,
it would block until the rest of the response had been read
(which in the case of, eg, an infinite audio stream, meant
that it would block forever). This was an unintended change
from 2.42 and is now fixed. [#695652, Dan]
* soup_session_queue_message() on a plain SoupSession (not
SoupSessionAsync) was operating synchronously rather than
asynchronously as it should have. [#707711, Dan]
* soup-form methods now use the HTML5 x-www-form-urlencoded
rules rather than the HTML4 ones. (In particular, they leave
"-", "_", and "." unencoded.) [#708621, Alban Browaeys]
* The test programs now explicitly request the "memory"
GSettings backend, meaning they won't print a warning if
they get it accidentally, and they won't accidentally use
the dconf proxy settings if the dconf backend is available.
[Dan]
* Fix SoupSession so that if you override the proxy
configuration at construct time, it doesn't try to resolve
the default GProxyResolver. (This is important in particular
for programs that expect to run outside a user session,
which would otherwise spew errors from the dconf GSettings
backend about not being able to connect to dconf.) Likewise
with TLS settings and the TLS backend. [#708696, Dan]
* Fix the SoupServer:tls-certificate property;
soup_server_is_https() had not been updated to recognize it,
and so would return FALSE, which in turn meant that the
server would return 400 Bad Request in response to https
requests. [#709647, Fabiano Fidêncio]
* Fixed a sporadic failure in tests/connection-test. [Dan]
* Updated translations:
Tajik
Changes in libsoup from 2.43.92 to 2.44.0:
* New/updated translations:
Dutch, Indonesian
Changes in libsoup from 2.43.90 to 2.43.92:
* Fixed a bug in the connection-pool code, which would in
certain cases accidentally keep using a connection after a
message was cancelled while in progress, causing the next
request on that connection to get the response to the
previous request, etc. [#708006, David Woodhouse]
* Fixed some problems when falling back from samba
single-sign-on-based NTLM to ordinary ask-for-a-password
NTLM. [#703186, David Woodhouse]
* When sending a conditional GET request, SoupCache now
preserves the original message's list of disabled features,
ensure that it gets back the same kind of response the
original message would have. [#706338, Andre Moreira
Magalhaes]
* Fixed a warning when the remote host closes the connection
while we are writing something using chunked encoding.
[#703297, Dan]
* Added SoupServer:http-aliases and :https-aliases properties,
to specify URI schemes that should be treated as though they
were http (just like SoupSession:http-aliases and
:https-aliases, but on the server side). [#703694, Dan]
* Fixed race conditions in cache-test and timeout-test that
could case spurious failures. [#698305, #660581, Dan]
Changes in libsoup from 2.43.5 to 2.43.90:
* Fixed the handling of unsatisfiable range requests in
SoupServer [pointed out on mailing list, Dan]. Also, added
more documentation clarifying that you don't need to handle
range requests yourself in many cases.
* Fixed the handling of IPv6 address literals with scope IDs.
(Requires the latest glib as well for the complete fix.)
[#669724, Dan]
Changes in libsoup from 2.43.4 to 2.43.5:
* SoupProxyURIResolver is now deprecated in favor of the
SoupSession:proxy-resolver property (which takes a
GProxyResolver). [#680273, Dan]
* The SoupKnownStatusCode enum is now called SoupStatus. The
old name continues to exist as an alias, but is deprecated.
(This change has no visible effect in C; it is primarily to
help language bindings, so that, eg, SOUP_STATUS_NOT_FOUND
maps to "Soup.Status.NOT_FOUND" rather than
"Soup.KnownStatusCode.NOT_FOUND".) [#684409, Dan]
* Fixed the parsing of URI schemes in SoupURI (in particular,
to allow scheme names with digits in them). [#703776, Dan]
* Fixed SoupLogger to print a message's response headers even
if the message gets cancelled before the complete response
body is received. [#703200, Andres Gomez]
* Fixed a build problem in non-UTF-8 locales [#702534, Ross
Lagerwall]
* SoupSession now warns if you use
soup_session_pause_message() or
soup_session_unpause_message() on a synchronous message
(which has never worked, though that fact wasn't
documented). [#703461, Philip Withnall]
Changes in libsoup from 2.43.2 to 2.43.4:
* Fixed a bug that could cause synchronous sessions to get
stuck in a state where no new messages would ever get
processed. [#703463, Philip Withnall]
* Fixed another memory leak in SoupSocket (found while
added a test case for #700472)
* Switched to using g_cclosure_marshal_generic() rather than
using glib-genmarshal. [#686042, Olivier Blin]
* Changed SoupServer to call unref() on the query hash table
after calling the handler, rather than destroy(), so that
the handler can keep a copy of the query data if it wants.
[#702793, Bernhard Schuster]
* Fixed a few introspection annotations
* Updated examples/get to use SoupLogger and to allow
redirecting the output to a file [#703231, #703229, Andres
Gomez]
Changes in libsoup from 2.43.1 to 2.43.2:
* Fixed an authentication error when using NTLM when
connecting to an https site over a proxy; the code was
getting confused and thinking that the 200 OK response to
the CONNECT meant that NTLM auth had succeeded. [#698728,
Dan]
* Fixed a memory leak in SoupSocket. [#700472, Richard
Röjfors]
* Fixed a missing include error on some platforms [#700003,
Erik van Pienbroek]
* Fixed warnings when running against the "dummy" TLS backend.
[#700518, Dan]
Changes in libsoup from 2.42.1 to 2.43.1:
* Including <libsoup/soup.h> no longer pulls in the system
networking headers. This may cause some packages to no
longer compile, if they were accidentally depending on this.
Adding "#include <gio/gnetworking.h>" will fix them on both
unix and Windows. (This was done as part of fixing the build
on Windows.) [#692134, Dan]
* Fixed SoupSession:proxy-resolver [#698163, Dan]
* Added soup_message_set_priority(), to mark messages as being
high, low, or normal priority, and update the message queue
to prioritize them accordingly. [#696277, Sergio]
* Fixed several test programs to still work if glib-networking
isn't installed [Dan], and fixed another to still work if
the kernel has no IPv6 support. [#698220, Dan]
Changes in libsoup from 2.42.0 to 2.42.1:
* Fixed SoupProxyResolverDefault, which got broken in 2.42.92.
[#697028, Dan]
* Fixed a gigantic memory leak when using SoupCache. [#696594,
Xan]
* Fixed a build problem on Windows. [#696354, Kalev Lember]
* Fixed ntlm-test to pass whether or not Samba ntlm_auth
support was compiled in. [#697510, Dan]
* New/updated translations:
Basque, Turkish
Changes in libsoup from 2.41.92 to 2.42.0:
* Fixed a compiler warning on 32bit in a test program. [Kalev
Lember]
* New/updated translations:
Hindi, Kannada, Korean, Malayalam, Marathi, Odia, Persian,
Tadjik, Tamil, Telugu
Changes in libsoup from 2.41.91 to 2.41.92:
* Fixed a bug that caused libsoup to retry an incorrect
password repeatedly, forever, in a certain case that
affected Google calendars in evolution in particuar.
[Red Hat bug #916224, Dan]
* Also added code to make such infinite retry loops impossible
in the future. [Dan]
* Fixed SoupRequestData's handling of URIs with "%00" in them.
[#695246, Žan Doberšek]
* Added the SoupSession:proxy-resolver property, to override
the GProxyResolver used by a session. (This means there are
now three different ways of controlling proxy resolution in
SoupSession... this will be cleaned up a bit after 2.42.)
[#680273, Dan]
* Added missing G_BEGIN_DECLS/G_END_DECLS to
soup-message-headers.h, so that its functions can be called
from C++. [Carlos Garcia Campos]
* Updated translations:
Assamese, Belarusian, Brazilian Portuguese, Catalan
(Valencian), Catalan, Danish, Estonian, French, Greek,
Gujarati, Hungarian, Italian, Latvian, Portuguese, Russian,
Slovenian, Thai
Changes in libsoup from 2.41.90 to 2.41.91:
* Fixed a crash that showed up with XMLRPC requests in
WebKitGTK. [#694920, Sergio]
* Fixed SoupCache to update the cached headers when it
receives a 304 Not Modified response, and added a test for
this. [#695121, Sergio]
* libsoup now builds under automake 1.13 (and "make check"
works under the parallel test harness which is the default
in 1.13) [#694135]
* The tests/ directory now contains only actual test programs
that are run by "make check", and the programs that are
intended more as example code are under examples/.
* New/updated translations:
Aragonese, Chinese (traditional), Czech, Galician, Hebrew,
Lithuanian, Norwegian bokmål, Punjabi, Spanish, Uyghur,
Vietnamese
Changes in libsoup from 2.41.5 to 2.41.90:
* Added SoupSession:local-address property, which allows you
to force connections to bind to a particular local address
(eg, to control the interface that is used). [#693215, Jonh
Wendell]
* Fixed SoupCache to properly handle messages that get
cancelled, and added tests for this. [#692310, Sergio]
* Fixed a reference leak in SoupCache that resulted in
epiphany hanging for several seconds on exit and then
eventually printing "Cache flush finished despite X pending
requests". And added more tests. [#682527, Sergio]
* Fixed SoupAuthNTLM so that SoupSession:authenticate gets
emitted with retrying=TRUE if the first attempt fails (ie,
make it work the same way as SoupAuthBasic and
SoupAuthDigest). [#693222, Dan]
* Fixed the SoupSession:add-feature-by-type property to accept
non-SoupSessionFeature features as well (eg, auth types)
[Dan]
* Fixed a build bug that would break all the apache-based
tests if you didn't have PHP installed. [#693311, Dan]
* Updated translations:
Malayalam, Polish, Serbian, Slovak
Changes in libsoup from 2.41.4 to 2.41.5:
* Reverted the change to SoupURI's password handling from
2.41.4, since it turns out to have broken some things.
[#692149, Dan]
* Avoid a g_return_if_fail() when loading
SoupSession:ssl-ca-file fails. [#691930, Guillaume
Desmottes]
* Fixed a bug in SoupBodyInputStream that caused redirects in
WebKitGTK to hang. [#692026, Sergio]
* Updated translations:
Belarusian, Chinese (traditional), German, Italian,
Norwegian bokmål, Serbian, Uyghur
Changes in libsoup from 2.41.3 to 2.41.4:
* Lots of docs fixes, including catching up with some (but not
all!) of the API additions and deprecations, and a new
chapter with hints on porting from
SoupSessionAsync/SoupSessionSync to the new-and-improved
plain SoupSession.
* The plain SoupSession type now supports
soup_session_queue_message() (with SoupSessionAsync
semantics) and soup_session_send_message() (with
SoupSessionSync semantics), and there are now
soup_session_new() and soup_session_new_with_options().
* The mirroring of the SoupMessage API onto SoupRequestHTTP,
added in 2.41.3, has been reverted. However, new APIs
soup_session_send() and soup_session_send_async() have been
added that let you use the GInputStream-based API with
SoupMessages rather than SoupRequest, so if you're doing
HTTP-specific stuff, you can just use that instead.
* soup_message_get_https_status() now returns the certificate
and flags for unsuccessful https connections as well as
successful ones. [#690176]
* Fixed a deadlock when calling soup_session_abort() on a
SoupSessionSync in some cases. [#691399]
* Internal SoupCache rewrites/improvements [#682112, Sergio]
* Plugged a memory leak in SoupCache [#690382, Sudarsana
Nagineni] and one in SoupAuthDigest [#690142]
* LIBSOUP_DISABLE_DEPRECATED has been renamed to
SOUP_DISABLE_DEPRECATED, but that's just to keep gtk-doc
happy, and you shouldn't use it. You should use
SOUP_VERSION_MIN_REQUIRED instead.
* Fixed the samba-windbind-based NTLM support, which appears
to have been broken before.
* SoupAuthManager is now a public class (so you can remove it
as a feature from a session, or disable it for a particular
message). It also has a new method
soup_auto_manager_use_auth(), which can be used to "preload"
authentication for a host so that libsoup will use
authentication on the very first request.
* SoupURI now treats "http://user@example.com" as having a
password of "" rather than NULL, since a NULL password would
not be valid for any known HTTP auth type.
* build: libsoup now uses autoreconf instead of
gnome-autogen.sh, and no longer uses AM_GLIB_GNU_GETTEXT
[Javier Jardon].
* Updated translations:
Assamese, Bulgarian, Estonian, Friulian, Galician, Hebrew,
Polish, Slovenian, Spanish
Changes in libsoup from 2.41.2 to 2.41.3 (codename: "I Left My
Deprecated APIs in A Coruña"):
* BUILD DEPENDENCY CHANGES: libsoup-gnome no longer depends on
libgnome-keyring, and the sqlite3 dependency has been moved
from libsoup-gnome to libsoup proper. (See below).
* SoupRequest is now stable API. SoupRequester, however, is
deprecated. Instead you can now call soup_session_request()
or soup_session_request_uri() to create a SoupRequest.
Some documentation has been updated to reflect this, but
much more still needs to be (in particular the "Client-side
Tutorial").
* SoupRequestHTTP now has a number of fields and methods that
mirror the SoupMessage data, so you don't have to use
soup_request_http_get_message() in many cases. On the flip
side, there is also now soup_message_get_request(). And you
can create a SoupRequestHTTP directly (and override its
request method) by using soup_session_request_http() or
soup_session_request_http_uri()).
* soup_message_set_chunk_allocator() is now deprecated; apps
that want to do streaming reads should just use SoupRequest,
which is vastly more sane.
* SoupPasswordManager is now deprecated, and
SoupPasswordManagerGNOME is now a no-op (and libsoup-gnome
no longer links against libgnome-keyring). [#594377, #679866]
* SoupCookieJarSqlite is now deprecated in favor of
SoupCookieJarDB, which is exactly the same thing except that
it's in libsoup itself rather than being in libsoup-gnome
(something that many people have requested). This means that
libsoup now requires sqlite3... if this offends you horribly
then you have a few months to speak up...
* SoupProxyResolverGNOME is now deprecated; there hasn't been
any real reason to use it since SoupProxyResolverDefault was
added.
* As a result of the last three items, libsoup-gnome now
consists entirely of deprecated APIs, and there is no reason
you should use it any more (though packagers need to keep
building it, for backward compatibility).
* SoupSession is no longer an abstract class, and you can
create a plain SoupSession, which behaves in a more
traditionally-gio-like way (allowing a mix of sync and async
methods, etc). This "plain" SoupSession also has more sane
default values of certain properties, and has certain
SoupSessionFeatures built in.
This will eventually replace SoupSessionAsync and
SoupSessionSync completely, but most of the documentation
hasn't yet been updated at this point...
This change involved merging the majority of the
SoupSessionAsync and SoupSessionSync code into SoupSession,
getting rid of lots of redundancy in the process. There may
be some bug fallout from this (probably on the
SoupSessionSync side, since WebKit's tests tend to shake out
all SoupSessionAsync bugs). However, this should help to
avoid SoupSessionSync-only bugs in the future, since much
more of the code is now shared.
* Usernames and passwords passed into SoupSession a URI will
now be cleared after they're used, so that if they are
wrong, the authenticate signal will be emitted on the next
round. [#689673, Martin Robinson]
* SoupURI now leaves "%00" in URIs as-is, rather than decoding
it to "\0", which was not intended and is never useful.
* Fixed a bug in SoupBodyOutputStream that could cause libsoup
to sometimes use blocking I/O rather than non-blocking when
writing chunked message bodies. [#688974, Milan Plzik]
* Fixed a bug in SoupFilterInputStream that could cause some
non-blocking reads to suck up CPU while waiting for the
network. (This was noticed with multipart/x-mixed-replace
processing; it's not clear if it affected anything else.)
[Gustavo]
* tests: misc small fixes
* New/updated translations:
Assamese, Galician, Japanese, Odia, Polish, Spanish
Changes in libsoup from 2.41.1 to 2.41.2:
* libsoup-2.4.so and libsoup-gnome-2.4.so now only export the
symbols that are part of the public API. (Plus, temporarily,
one additional symbol, soup_message_io_cleanup, which is
used by gvfs and possibly a few other modules, even though
it shouldn't be. If you copied soup-input-stream.c from
gvfs, you should port your code to use SoupRequest instead.)
[Dan, #595176]
* Added SOUP_VERSION_MIN_REQUIRED / SOUP_VERSION_MAX_ALLOWED
macros like the corresponding glib ones, to allow libsoup
users to request per-version deprecation/availability
warnings. [Dan]
* Fixed a crash caused by a race condition in SoupSessionSync,
and reorganized some code to avoid other possible similar
race conditions. [#684238, Dan]
* Fixed a crash when a DNS resolution failed, caused by a bug
in the GTask porting in 2.41.1. [#688330, Milan Crha]
* Fixed a problem that would cause g_warning()s in epiphany
when browsing sites that (incorrectly) returned empty
Cache-Control headers. [#683433, Dan]
* We now add a Host header to HTTP/1.0 requests as well as
HTTP/1.1 ones. [Dan]
* Fixed a bug in the printing of IPv6 address literals in the
Host header in SoupLogger. (They were being sent across the
wire correctly, they were just printed wrong by SoupLogger.)
[Dan]
* Belatedly added soup-multipart-input-stream.h to soup.h.
[Dan]
* Removed an evil hack in the long-deprecated
SoupProxyResolver code (not to be confused with
SoupProxyURIResolver), to avoid warnings with glib master.
If you had previously implemented a custom
SoupProxyResolver, then it will probably (silently) stop
working, but you should have ported it to
SoupProxyURIResolver years ago anyway... [Dan, #687659]
* Fixed a few race conditions in the test programs that could
cause "make check" to fail on slow or heavily-loaded
machines. [Dan]
* Further cleaned up and reorganized the internal HTTP I/O
codepaths, in preparation for an improved SoupCache.
[#682112, Sergio] (This change should not actually be
externally noticeable. But if SoupContentDecoder or
SoupContentSniffer turns out to be broken in this release,
this would be why).
* New/updated translations:
Slovak, Uyghur
Changes in libsoup from 2.40.1 to 2.41.1:
* Changed the behavior of NTLM authentication to be more like
what other apps apparently do. Now if the user does not
specify a domain in the username (eg, "MYDOMAIN\username"),
then we will not specify a domain in the NTLM response