Dan Winship [Thu, 28 Oct 2010 14:42:12 +0000 (10:42 -0400)]
Remove old experimental python bindings
They don't compile any more, and gobject-introspection works now
Dan Winship [Thu, 14 Oct 2010 20:00:05 +0000 (16:00 -0400)]
Appease some gcc 4.5 warnings
Dan Winship [Thu, 14 Oct 2010 19:30:45 +0000 (15:30 -0400)]
SoupCookieJarText: fix a bug when deleting a cookie
based on a patch from Michał Kazior
https://bugzilla.gnome.org/show_bug.cgi?id=631641
Dan Winship [Tue, 28 Sep 2010 00:34:07 +0000 (20:34 -0400)]
2.32.0
Dan Winship [Mon, 13 Sep 2010 19:49:06 +0000 (15:49 -0400)]
2.31.92
Dan Winship [Mon, 13 Sep 2010 14:31:02 +0000 (10:31 -0400)]
Fix a crash when resolving URIs with both spaces and non-UTF8 chars
When using "%.*s" in a UTF-8 locale, in at least some cases, glibc
requires that the string not end in something that looks like a
partial UTF-8 character. This seems wrong according to the c99 spec to
me, but regardless, we need to work around it.
https://bugzilla.gnome.org/show_bug.cgi?id=629449
Dan Winship [Thu, 2 Sep 2010 02:28:56 +0000 (22:28 -0400)]
Fix introspection scanning: don't scan uninstalled .h files
Dan Winship [Thu, 2 Sep 2010 02:02:04 +0000 (22:02 -0400)]
Fixes and additions for new introspection scanner
Dan Winship [Mon, 13 Sep 2010 19:36:31 +0000 (15:36 -0400)]
Remove use of --warn-all with g-ir-scanner
Since it's not possible to fix some of the warnings yet
Colin Walters [Thu, 9 Sep 2010 13:33:07 +0000 (09:33 -0400)]
introspection: Replace usage of --strip-prefix
Update to use --identifier-prefix. Also add --warn-all.
Bump required introspection version.
Sergio Villar Senin [Fri, 3 Sep 2010 19:07:30 +0000 (21:07 +0200)]
Do not uppercase percent-encoded triplets when normalizing URIs
https://bugzilla.gnome.org/show_bug.cgi?id=628728
Dan Winship [Sun, 22 Nov 2009 21:10:48 +0000 (16:10 -0500)]
add a few missing introspection annotations
Dan Winship [Tue, 17 Aug 2010 12:28:33 +0000 (08:28 -0400)]
2.31.90
Dan Winship [Sun, 15 Nov 2009 17:05:16 +0000 (12:05 -0500)]
Try all IP addrs associated with a hostname if the first fails
Make SoupAddress keep track of multiple IP addresses and implement
GSocketConnectable, and make SoupSocket use GSocketClient (and thus
GSocketAddressEnumerator) to connect, so that it tries all addresses
associated with the SoupAddress.
In particular, this fixes the bug where if a host has both IPv4 and
IPv6 addresses, and glibc thinks you have IPv6 connectivity, but you
don't really, that libsoup can't connect to that host.
(Using GSocketClient rather than using GSocketAddressEnumerator
directly is a bit heavyweight for SoupSocket, since we don't actually
want to have a GSocket or GSocketConnection. But eventually, we will
be porting SoupSocket to use GSocket, and this code is a stepping
stone to that. Also, letting GSocketClient do the looping over the
addresses simplifies SoupSocket.)
(This change also silently breaks connection timeouts unless you have
the very latest git glib.)
https://bugzilla.gnome.org/show_bug.cgi?id=526321
Dan Winship [Wed, 11 Aug 2010 15:54:05 +0000 (11:54 -0400)]
Fix auto-Accept-Language in locales that use "," for decimals
noticed in related epiphany code in bug 602547
Dan Winship [Mon, 2 Aug 2010 21:38:15 +0000 (17:38 -0400)]
2.31.6
Dan Winship [Sat, 31 Jul 2010 08:32:51 +0000 (10:32 +0200)]
soup-message-io: fix wrong-Content-Length logic
Previously we just ignored Content-Length if the server specified
"Connection: close", which does the right thing if the specified
Content-Length is too large, but fails if the Content-Length is
correct but the server "forgets" to close the connection. Fix this so
that we always stop reading once we get to the expected
Content-Length, but we also cope with the connection closing before
that point.
https://bugzilla.gnome.org/show_bug.cgi?id=611481
Yaakov Selkowitz [Wed, 16 Jun 2010 04:10:13 +0000 (23:10 -0500)]
Do not dist gir_DATA
GIR files contain a shared-library attribute which varies per platform,
and therefore must not be disted; see bug 621611 for rationale.
https://bugzilla.gnome.org/show_bug.cgi?id=621727
Dan Winship [Fri, 30 Jul 2010 12:50:36 +0000 (14:50 +0200)]
Put the hostname into the reason_phrase with network errors
eg, "Cannot resolve hostname (sadfasdfasdfasdf.com)"
This can be useful for debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=623274
Dan Winship [Fri, 30 Jul 2010 14:28:30 +0000 (16:28 +0200)]
SoupProxyResolverStatic: port to newer SoupProxyURIResolver API
Dan Winship [Fri, 30 Jul 2010 12:56:00 +0000 (14:56 +0200)]
SoupSessionAsync: don't stall on proxy resolution error
Dan Winship [Wed, 28 Jul 2010 12:51:06 +0000 (14:51 +0200)]
SoupSessionAsync: make soup_session_cancel_message behave stupidly again
The session rewrites changed cancellation in async sessions to happen
asynchronously. This makes more sense than the old behavior, but can
cause problems with code that previously assumed it could
cancel-and-forget (and it wasn't actually an intentional change
anyway). So revert that.
https://bugzilla.gnome.org/show_bug.cgi?id=625406
Dan Winship [Tue, 29 Jun 2010 13:43:20 +0000 (09:43 -0400)]
Disable TLS 1.2 in addition to 1.0 and 1.1
Due to bug 581342 we want to only negotiate SSL 3.0. Previously we
were telling gnutls to not do TLS1.0 or TLS1.1, but that means with
newer versions of gnutls that support TLS1.2 it would try to negotiate
that instead and generally fail. Fix that by disabling TLS1.2 too
(which works fine even with gnutls versions that don't support TLS1.2
yet).
https://bugzilla.gnome.org/show_bug.cgi?id=622857
Dan Winship [Sat, 12 Jun 2010 00:26:23 +0000 (20:26 -0400)]
Fix redirects-to-different-hosts to not reuse the same connection
We were mistakenly reusing the same SoupConnection for a queue item
even if the message got redirected to a different host. Fix that. The
particular fix here (always force it to re-run
soup_session_get_connection() after a redirect) is a bit
over-aggressive, but this will get rewritten when we eventually fix
connection pooling in the proxy case.
Also, add a test to tests/redirect-test for this.
Dan Winship [Fri, 11 Jun 2010 19:26:53 +0000 (15:26 -0400)]
Allow calling soup_test_server_new() multiple times in test programs
Dan Winship [Thu, 10 Jun 2010 00:06:51 +0000 (20:06 -0400)]
soup_date_new_from_string: fix an out-of-bounds memory access
soup_date_new_from_string() would sometimes read off the end of the
string, but tests/date didn't catch this even under valgrind, because
all of the strings were compile-time constants and they got laid out
in a way that never triggered a read of invalid memory. So tweak the
test to g_strdup each string before parsing it, which will let
valgrind notice if we read outside its bounds in the future.
https://bugzilla.gnome.org/show_bug.cgi?id=620288
Dan Winship [Wed, 9 Jun 2010 18:34:50 +0000 (14:34 -0400)]
Fix connection states so in-use connections don't get pruned
Since connections are assigned to messages before they're connected
now, they should go to IN_USE after connecting, not IDLE. Otherwise
the idle-connection-closing code might close connections that existing
queue items were planning to use.
Dan Winship [Wed, 9 Jun 2010 17:33:10 +0000 (13:33 -0400)]
SoupSession: tweak cancellation again
After the too-many-redirects merge, redirect-test was leaking a queue
item, because cancelling a message at the point it does resulted in
the completion_cb never running. Fix soup_session_cancel_message()
(again) to not have this problem.
Dan Winship [Wed, 9 Jun 2010 17:27:03 +0000 (13:27 -0400)]
Fix a signal-handler leak in the too-many-redirects patch
Dan Winship [Thu, 3 Jun 2010 19:23:22 +0000 (21:23 +0200)]
SoupSession: continue reorg, remove remaining signal-based flow control
Make the sessions more state-machiney and fix up
soup_session_cancel_message() by having it set the message to the
(new) FINISHING state and letting the session implementation pick it
up from there. Remove the remaining "finished" and "restarted" signal
handlers; move the base session's "finished" handler to
"soup_session_unqueue_item" and call that from the right places in the
subclasses.
Dan Winship [Wed, 2 Jun 2010 10:05:46 +0000 (12:05 +0200)]
SoupSession: bind connections to messages sooner, improve conn failure case
Rather than having connections be independent until a message is
actually sent on them, assign them to queue items when they're created
for them. This means that, eg, if another connection frees up while
we're waiting for the first connection to connect, that we can't take
advantage of that. But it simplifies a ton of other things.
Also, if a new connection fails, don't fail every other message on
that host; let them succeed or fail independently. When doing a
CONNECT though, keep track of the queue item that necessitated it so
we can error that out if the CONNECT fails, just like we would if the
actual soup_connection_connect() had failed.
https://bugzilla.gnome.org/show_bug.cgi?id=619633
Dan Winship [Sat, 29 May 2010 14:37:34 +0000 (16:37 +0200)]
Add SoupMessageQueueItemState, remove SoupMessageIOStatus
SoupMessageIOStatus was always really more about the session than the
message. (SoupServer I/O didn't use it at all.) Replace it with a new
SoupMessageQueueItemState, on the queue item rather than the message.
Dan Winship [Sat, 29 May 2010 13:24:51 +0000 (15:24 +0200)]
soup-message-io: use SoupMessageQueueItems and add SoupMessageCompletionFn
push SoupMessageQueueItem down into soup-message-io, and end the I/O
process by calling a completion callback rather than emitting the
SoupMessage signals directly, which gives the session greater control.
Dan Winship [Sat, 29 May 2010 13:05:55 +0000 (15:05 +0200)]
Misc SoupConnection API improvements
Use GCancellables in connect_async/connect_sync (plus updates needed
for behavior changes caused by that). Make
soup_connection_disconnect() always emit the signal if the connection
state wasn't already DISCONNECTED, even if it wasn't yet connected
before. Remove some dead code in clear_current_request. Remove some
more-or-less redundant arguments in soup_message_send_request().
Dan Winship [Sat, 29 May 2010 11:43:34 +0000 (13:43 +0200)]
Make SoupConnection warn if disposed "incorrectly"
Connections should always be disconnected and message-less by the time
they are disposed. Likewise, their SoupSockets should be disconnected
and not in the middle of an async connect when they're freed (though
we can't make the sockets warn unconditionally, since other SoupSocket
users external to libsoup may still be doing it "wrong", since that has
historically been a supported part of the API)
Fix some problems revealed by these warnings. Also, remove some weak
refs and replace others by hard refs as needed. Remove unnecessary
SoupSessionAsyncTunnelData type.
Dan Winship [Sat, 29 May 2010 14:14:33 +0000 (16:14 +0200)]
tests/auth-test: clean up a bit and fix async auth test logic
Ensure that we're not aborting the session until after all the
messages finish. (Previously it worked by coincidence, but upcoming
changes tweak things enough that it would fail otherwise.)
Dan Winship [Thu, 3 Jun 2010 08:37:39 +0000 (10:37 +0200)]
soup-status.c: #include config.h to get HAVE_SSL define
Now SOUP_STATUS_SSL will have the the reason phrase "SSL handshake
failed" instead of "SSL support not available" when SSL was available.
Dan Winship [Wed, 9 Jun 2010 13:35:25 +0000 (09:35 -0400)]
Fix (transfer) annotations on some non-transfer-full getters
https://bugzilla.gnome.org/show_bug.cgi?id=621021
Dan Winship [Mon, 7 Jun 2010 18:17:36 +0000 (20:17 +0200)]
sniffing-test: be robust against slightly-broken jhbuild configs
previously if you jhbuilt glib and libsoup, but not shared-mime-info,
then this test would fail. Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=612706
Dan Winship [Mon, 7 Jun 2010 12:57:52 +0000 (14:57 +0200)]
SoupProxyResolverGNOME: improve behavior with more-recent libproxy
SoupProxyResolverGNOME had a nasty workaround for the fact that
libproxy 0.2 would crash inside GConf if called from a thread other
than the main one. Unfortunately, the workaround involves leaking
proxy settings into the environment, which is particularly bad since
gnome-panel uses libsoup (via libgweather via intlclock) and so the
environment can become polluted for everything started from the panel.
In libproxy 0.3 and later, the workaround is no longer necessary, so
remove it if libproxy is new enough.
https://bugzilla.gnome.org/show_bug.cgi?id=603285
José Millán Soto [Fri, 4 Jun 2010 11:46:31 +0000 (13:46 +0200)]
SoupSession: count redirections and cancel the message after too many
and add a test to redirect-test
https://bugzilla.gnome.org/show_bug.cgi?id=604383
Dan Winship [Tue, 25 May 2010 00:00:02 +0000 (20:00 -0400)]
2.31.2
Jonathon Jongsma [Thu, 27 May 2010 22:23:00 +0000 (17:23 -0500)]
Fix leak of uri in soup_form_request_for_data()
https://bugzilla.gnome.org/show_bug.cgi?id=619897
Gustavo Noronha Silva [Wed, 19 May 2010 14:03:24 +0000 (11:03 -0300)]
Annotate all hash table parameters and return values for introspection
https://bugzilla.gnome.org/show_bug.cgi?id=619086
Dan Winship [Mon, 24 May 2010 23:34:14 +0000 (19:34 -0400)]
add introspection files to .gitignore
Dan Winship [Sat, 22 May 2010 21:09:06 +0000 (17:09 -0400)]
soup-gnutls: talk to servers even if they use really lame key lengths
https://bugzilla.gnome.org/show_bug.cgi?id=615535
Dan Winship [Sat, 22 May 2010 20:59:21 +0000 (16:59 -0400)]
soup-gnutls: return SOUP_SSL_ERROR, not G_IO_ERROR, on handshake failure
Part of https://bugzilla.gnome.org/show_bug.cgi?id=615535
Dan Winship [Sat, 22 May 2010 20:42:01 +0000 (16:42 -0400)]
soup-message-io: only retry on I/O error if the connection has been used
An I/O failure on a previously-used connection may indicate that the
server timed out the connection; an I/O error on a fresh connection
should not. Fixes infinite retries in certain edge cases.
Part of https://bugzilla.gnome.org/show_bug.cgi?id=615535
Dan Winship [Sun, 16 May 2010 07:31:38 +0000 (03:31 -0400)]
Fix SoupSessionAsync to handle very early aborts better
If soup_session_abort() was called while we were doing async DNS,
things could get confused and it would end up trying to use a freed
SoupSocket. Fix that up by always properly using GCancellables during
SoupSocket connection, so that we can cancel any outstanding
operations if the socket is destroyed, and add a regression test for
that.
That then fixes a known leak in misc-test's early-abort case, but
makes it crash instead, so we fix that by using a weak pointer in
SoupSessionAsync to detect when the session has been destroyed before
the callback is invoked. This then creates/reveals additional leaks in
that test case, which require additional fixes.
The relevant APIs are obviously lousy (in the way most pre-gio async
APIs in GNOME were), but can't really be fixed at this point without
breaking ABI. To be fixed in the gio-based API...
https://bugzilla.gnome.org/show_bug.cgi?id=618641
Dan Winship [Sun, 16 May 2010 09:15:16 +0000 (05:15 -0400)]
plug a small leak in test-utils
Dan Winship [Sun, 16 May 2010 09:14:33 +0000 (05:14 -0400)]
valgrind suppressions file updates
Andreas Rottmann [Mon, 3 May 2010 20:49:10 +0000 (22:49 +0200)]
Add some helper functions to aid language bindings
- Add constructor `soup_buffer_new_take', which is bindable and
annotate it "Rename to: soup_buffer_new".
- Likewise, create `soup_message_body_append_take' and "Rename to:
soup_message_body_append".
- Added `soup_buffer_get_data' allowing bindings to access the buffer
data.
See <https://bugzilla.gnome.org/show_bug.cgi?id=576595>.
Andreas Rottmann [Mon, 3 May 2010 20:49:09 +0000 (22:49 +0200)]
TopGit-driven merge of branches:
master
t/g-i
Andreas Rottmann [Mon, 3 May 2010 20:49:09 +0000 (22:49 +0200)]
TopGit-driven merge of branches:
master
t/build-fixes
Dan Winship [Fri, 30 Apr 2010 13:11:40 +0000 (09:11 -0400)]
Mark SoupAuth and SoupAuthDomain abstract
Lorenzo Gil [Fri, 30 Apr 2010 07:23:16 +0000 (09:23 +0200)]
Mark SoupSession as an abstract class
https://bugzilla.gnome.org/show_bug.cgi?id=617216
Dan Winship [Wed, 8 Jul 2009 20:33:16 +0000 (16:33 -0400)]
Add get methods for SoupCookie, SoupDate, and SoupURI fields
for added introspectability
Dan Winship [Wed, 8 Jul 2009 19:19:10 +0000 (15:19 -0400)]
Add properties for request/response body/headers
For use with gobject-introspection in bindings that can't read fields
directly.
Patch from Colin Walters. http://bugzilla.gnome.org/show_bug.cgi?id=551441
Andreas Rottmann [Mon, 26 Apr 2010 19:16:32 +0000 (21:16 +0200)]
Add gobject-introspection support
- Detect gobject-introspection (g-i) in configure, using the M4 macro
from the newly-added introspection.m4. This adds
gobject-introspection as a new *optional* build dependency.
- Integrate the generation of .gir and .typelib files into the build
build process.
- Add the annotations from gir-repository to the source code.
- Include annotation glossary in "Reference Manual" main file.
See <https://bugzilla.gnome.org/show_bug.cgi?id=576595>.
Lukasz Slachciak [Thu, 8 Apr 2010 13:13:59 +0000 (15:13 +0200)]
added PRAGMA secure_delete =1 to overwite deleted cookies with zeros
https://bugzilla.gnome.org/show_bug.cgi?id=615711
Dan Winship [Sun, 11 Apr 2010 13:39:07 +0000 (09:39 -0400)]
post-branch bump to 2.31.0
Dan Winship [Sat, 10 Apr 2010 16:00:58 +0000 (12:00 -0400)]
Fix for proxies that close the connection when 407'ing a CONNECT
If we try to CONNECT through a proxy, and it returns a "407 Proxy
Authentication Required" but then closes the connection, we have to
create a new connection before we can try CONNECTing again. The old
soup-connection.c tunnel code did this, but it got accidentally lost
in the soup-session.c version.
Fix up tests/proxy-test to test both the connection-close and the
persistent-connection cases.
This was the underlying bug in
https://bugzilla.gnome.org/show_bug.cgi?id=611663, and is at least
part of https://bugzilla.gnome.org/show_bug.cgi?id=611539.
Dan Winship [Sat, 10 Apr 2010 16:10:07 +0000 (12:10 -0400)]
SoupLogger: don't crash if the session emits bogus data
In general, if the data being passed to SoupLogger is bad, the app is
probably going to crash soon anyway, but we'd rather have it crash
somewhere "real", not in the debugging code.
https://bugzilla.gnome.org/show_bug.cgi?id=611663
Dan Winship [Sat, 10 Apr 2010 15:55:16 +0000 (11:55 -0400)]
soup_auth_domain_covers: skip the URI path check with proxy auth domains
also, add proxy auth support to tests/simple-proxy
Dan Winship [Tue, 6 Apr 2010 16:42:33 +0000 (12:42 -0400)]
soup-multipart: don't use Content-Transfer-Encoding in multipart/form-data
The HTML 4.01 spec says you have to, but apparently no one else does,
and it confuses some servers.
https://bugzilla.gnome.org/show_bug.cgi?id=614198
Dan Winship [Tue, 6 Apr 2010 16:29:01 +0000 (12:29 -0400)]
soup-multipart: remove extra CRLF before multipart body
HTTP multiparts should have no preamble, so it shouldn't have the
leading CRLF either
https://bugzilla.gnome.org/show_bug.cgi?id=614183
Dan Winship [Tue, 6 Apr 2010 16:08:59 +0000 (12:08 -0400)]
soup-multipart: don't quote the boundary string if it doesn't need it
RFC 2616 warns that some HTTP implementations misparse quoted boundary
parameters in multipart Content-Type headers. (Sigh.) Since our
boundary strings are tokens, they don't need to be quoted anyway
(although if we parse and then later reserialize a multipart generated
by someone else, we may still need to quote it).
https://bugzilla.gnome.org/show_bug.cgi?id=614176
Dan Winship [Tue, 6 Apr 2010 16:05:26 +0000 (12:05 -0400)]
soup_header_g_string_append_param: if @value is a token, don't quote it
also add soup_header_g_string_append_param_quoted(), for places that
need to guarantee they're adding a quoted-string, not a token, even if
a token would be syntactically correct. (eg, digest auth, where lots of
implementations are very very picky)
Dan Winship [Tue, 6 Apr 2010 15:56:04 +0000 (11:56 -0400)]
Add macros for checking character classes. Eg, soup_char_is_token()
Move the existing URI character class table from soup-uri.c to
soup-misc.c, and update for that. Also add soup_char_is_token(), to
determine if a character can be used in a token or not.
Xan Lopez [Sat, 20 Mar 2010 21:29:03 +0000 (23:29 +0200)]
Do not try to resolve URIs without a host
WebKit feeds to us URIs without any host whatsoever (for example,
javascript: URIs), which make libsoup spew a lot of runtime warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=613442
Dan Winship [Mon, 29 Mar 2010 20:51:38 +0000 (16:51 -0400)]
2.30.0
Gustavo Noronha Silva [Mon, 8 Feb 2010 13:03:38 +0000 (11:03 -0200)]
Add test that makes sure parameters are preserved
Gustavo Noronha Silva [Mon, 1 Mar 2010 18:04:51 +0000 (15:04 -0300)]
Be less strict when checking whether to apply "text or binary"
We currently follow the spec to the letter, and only apply the text or
binary algorithm when we find one of three specific content types,
parameters included. It turns out we also want to run that check with
almost any other text/plain variation, such as "text/plain;
charset=utf-8" (only the upper-cased variant is considered today). The
new behaviour matches chromium, and the spec is going to be updated,
according to Adam Barth.
https://bugzilla.gnome.org/show_bug.cgi?id=611502
Dan Winship [Sat, 13 Mar 2010 17:22:16 +0000 (12:22 -0500)]
Don't bind to public interfaces for tests.
based on a patch from Saleem Abdulrasool.
https://bugzilla.gnome.org/show_bug.cgi?id=609489
Dan Winship [Sat, 13 Mar 2010 16:57:09 +0000 (11:57 -0500)]
Fix leaks found by valgrind
Also, simply the suppressions file by using the "..." syntax, which I
think didn't exist (or at least wasn't documented) when I first
created it.
Dan Winship [Sat, 13 Mar 2010 16:56:11 +0000 (11:56 -0500)]
Fix a crash in the whitespace-stripping code in soup_uri_new
Patch from "arnaud.lb".
https://bugzilla.gnome.org/show_bug.cgi?id=612644
Dan Winship [Mon, 1 Mar 2010 14:00:20 +0000 (09:00 -0500)]
Handle "Content-Encoding: x-gzip" as well as gzip
1999 called, they wanted to explain the meaning of the word
"deprecated" to you.
https://bugzilla.gnome.org/show_bug.cgi?id=611476
Dan Winship [Tue, 23 Feb 2010 00:01:11 +0000 (19:01 -0500)]
2.29.91
Dan Winship [Mon, 22 Feb 2010 19:10:37 +0000 (14:10 -0500)]
pre-bump to 2.29.1
Dan Winship [Sun, 21 Feb 2010 23:36:22 +0000 (18:36 -0500)]
Misc gtk-doc updates
Gustavo Noronha Silva [Thu, 18 Feb 2010 16:05:15 +0000 (14:05 -0200)]
New SoupMessageFlag to report whether it has dealt with a trusted certificate
https://bugzilla.gnome.org/show_bug.cgi?id=610374
Dan Winship [Sat, 20 Feb 2010 17:44:44 +0000 (12:44 -0500)]
Add SOUP_SESSION_SSL_STRICT, to control whether SSL cert errors are fatal
Based on a patch from Gustavo Noronha Silva
https://bugzilla.gnome.org/show_bug.cgi?id=610374
Dan Winship [Sun, 21 Feb 2010 14:55:07 +0000 (09:55 -0500)]
Fix error propagation on SSL cert errors
Dan Winship [Sun, 21 Feb 2010 15:02:21 +0000 (10:02 -0500)]
belatedly document the SOUP_MESSAGE_CONTENT_DECODED flag
Dan Winship [Sat, 20 Feb 2010 17:44:44 +0000 (12:44 -0500)]
[SoupURI] further fixes to CRLF-stripping
The original code mistakenly assumed that strcpy() can take
overlapping arguments, but that's not guaranteed. Rewrite to do a
single pass over the string rather than potentially multiple
strcpy/memmoves.
Fixes "make check" on x86_64.
Dan Winship [Mon, 15 Feb 2010 04:11:28 +0000 (23:11 -0500)]
run autoupdate, remove some old junk
Dan Winship [Mon, 15 Feb 2010 03:38:41 +0000 (22:38 -0500)]
[SoupURI] additional fixes to previous commit
Dan Winship [Sun, 14 Feb 2010 23:47:18 +0000 (18:47 -0500)]
[SoupURI] tolerate bad %-encoding and other common sorts of URI lossage
https://bugzilla.gnome.org/show_bug.cgi?id=590524
Dan Winship [Mon, 8 Feb 2010 22:47:20 +0000 (17:47 -0500)]
2.29.90
Xan Lopez [Wed, 3 Feb 2010 19:29:47 +0000 (21:29 +0200)]
[configure] post-release bump to 2.29.90
Xan Lopez [Thu, 28 Jan 2010 16:31:08 +0000 (18:31 +0200)]
Implement acceptance policies in SoupCookieJar
Through the "accept-policy" property in the jar we can now set one
among three predetermined policies: accept all cookies
(SOUP_COOKIE_JAR_ACCEPT_ALWAYS), accept none
(SOUP_COOKIE_JAR_ACCEPT_NEVER) and only accept cookies set by the main
document we are loading (SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY).
A new property, "first-party", is added to SoupMessage so that the
application using libsoup can inform us of what is the main document
URI for each message that is requested.
Dan Winship [Mon, 1 Feb 2010 22:45:14 +0000 (17:45 -0500)]
[SoupServer] actually emit request-read, as documented
https://bugzilla.gnome.org/show_bug.cgi?id=608692
Dan Winship [Mon, 25 Jan 2010 23:01:08 +0000 (18:01 -0500)]
2.29.6
Dan Winship [Sat, 23 Jan 2010 21:05:07 +0000 (16:05 -0500)]
soup-form.c: change some code to make clang happy and to be more obvious
based on a suggestion from kov in
https://bugzilla.gnome.org/show_bug.cgi?id=605543
Dan Winship [Sat, 23 Jan 2010 21:04:52 +0000 (16:04 -0500)]
[SoupCookieJar] change some code to make clang happy
based on a suggestion from kov in
https://bugzilla.gnome.org/show_bug.cgi?id=605543
Dan Winship [Sat, 23 Jan 2010 21:02:09 +0000 (16:02 -0500)]
tests/simple-proxy.c: remove obvious dead assignment noted by clang
Dan Winship [Sat, 23 Jan 2010 20:48:51 +0000 (15:48 -0500)]
Fix leak in previous commit
Dan Winship [Sat, 23 Jan 2010 20:39:31 +0000 (15:39 -0500)]
[SoupServer] Avoid a harmless g_return_if_fail
The code to automatically handle partial GETs doesn't deal with
streamed responses. This is fine, since you're always allowed to
return a full response in return to a range request, but the
code was accidentally triggering a warning in the process.
https://bugzilla.gnome.org/show_bug.cgi?id=606645
Dan Winship [Sat, 23 Jan 2010 20:35:05 +0000 (15:35 -0500)]
Fix invalid read in soup_cookie_applies_to_uri()
https://bugzilla.gnome.org/show_bug.cgi?id=607024
Dan Winship [Sat, 23 Jan 2010 15:40:22 +0000 (10:40 -0500)]
[SoupCodingGzip] discard trailing junk after decoding, for compatibility
https://bugzilla.gnome.org/show_bug.cgi?id=606352