platform/upstream/libsoup.git
11 years agoSoupSession: add a missing signal disconnection
Dan Winship [Sat, 8 Sep 2012 19:29:21 +0000 (15:29 -0400)]
SoupSession: add a missing signal disconnection

Need to disconnect from notify::state when removing a connection.

11 years agoCzech translation
Marek Černocký [Sun, 9 Sep 2012 06:56:43 +0000 (08:56 +0200)]
Czech translation

11 years agoAdded Czech language
Marek Černocký [Sun, 9 Sep 2012 06:56:21 +0000 (08:56 +0200)]
Added Czech language

11 years agoUpdated Portuguese translation
Duarte Loreto [Sun, 9 Sep 2012 01:08:24 +0000 (02:08 +0100)]
Updated Portuguese translation

11 years agoAdded Brazilian Portuguese translation, reviewed by Enrico Nicoletto <liverig@gmail...
Gabriel F. Vilar [Sat, 8 Sep 2012 02:40:29 +0000 (22:40 -0400)]
Added Brazilian Portuguese translation, reviewed by Enrico Nicoletto <liverig@gmail.com>

11 years agol10n: Updated Persian translation
Arash Mousavi [Fri, 7 Sep 2012 20:33:34 +0000 (01:03 +0430)]
l10n: Updated Persian translation

11 years agol10n: Updated Persian translation
Arash Mousavi [Fri, 7 Sep 2012 20:30:20 +0000 (01:00 +0430)]
l10n: Updated Persian translation

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Fri, 7 Sep 2012 16:11:43 +0000 (19:11 +0300)]
Updated Belarusian translation.

11 years ago[l10n] Added Italian translation.
Milo Casagrande [Thu, 6 Sep 2012 21:06:23 +0000 (23:06 +0200)]
[l10n] Added Italian translation.

11 years agoAdded hu to LINGUAS
Gabor Kelemen [Thu, 6 Sep 2012 14:00:44 +0000 (16:00 +0200)]
Added hu to LINGUAS

11 years agoInitial Hungarian translation added
Gabor Kelemen [Thu, 6 Sep 2012 14:00:23 +0000 (16:00 +0200)]
Initial Hungarian translation added

11 years agoUpdated Indonesian translation
Dirgita [Thu, 6 Sep 2012 03:49:50 +0000 (10:49 +0700)]
Updated Indonesian translation

11 years agosoup-cache: check for empy Cache-Control headers
Sergio Villar Senin [Wed, 5 Sep 2012 15:08:55 +0000 (17:08 +0200)]
soup-cache: check for empy Cache-Control headers

Some sites return empty "Cache-Control" headers. We should add an emptiness
check to the existing NULL checks before trying to do things like
soup_header_parse_param_list().

11 years agoAdded British English translation
Bruce Cowan [Wed, 5 Sep 2012 12:47:39 +0000 (13:47 +0100)]
Added British English translation

11 years agoUpdated Polish translation
Piotr Drąg [Tue, 4 Sep 2012 17:05:18 +0000 (19:05 +0200)]
Updated Polish translation

11 years ago2.39.91 LIBSOUP_2_39_91
Dan Winship [Tue, 4 Sep 2012 13:07:20 +0000 (09:07 -0400)]
2.39.91

11 years agoFix the win32 build
Kalev Lember [Sun, 2 Sep 2012 11:03:12 +0000 (13:03 +0200)]
Fix the win32 build

Make sure glib.h is included before using G_OS_WIN32 ifdef.

https://bugzilla.gnome.org/show_bug.cgi?id=683200

11 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 2 Sep 2012 12:29:56 +0000 (15:29 +0300)]
Updated Lithuanian translation

11 years agoAdded Swedish translation
Daniel Nylander [Sun, 2 Sep 2012 10:37:14 +0000 (12:37 +0200)]
Added Swedish translation

11 years agoAdded ta translation
Dr.T.Vasudevan [Sun, 2 Sep 2012 10:02:24 +0000 (15:32 +0530)]
Added ta translation

11 years agoupdated Tamil translation
Dr.T.Vasudevan [Sun, 2 Sep 2012 10:01:19 +0000 (15:31 +0530)]
updated Tamil translation

11 years agoUpdated French translation
Claude Paroz [Sat, 1 Sep 2012 15:56:18 +0000 (17:56 +0200)]
Updated French translation

11 years agoAdd new Japanese translation
Takayuki KUSANO [Mon, 27 Aug 2012 14:50:37 +0000 (23:50 +0900)]
Add new Japanese translation

11 years agoAdd Korean translation
eukim [Sun, 26 Aug 2012 05:58:46 +0000 (14:58 +0900)]
Add Korean translation

11 years agoSoupSessionAsync: move more logic into process_queue_item()
Dan Winship [Fri, 10 Aug 2012 14:42:21 +0000 (10:42 -0400)]
SoupSessionAsync: move more logic into process_queue_item()

Move various logic from the post-connect and post-tunnel callbacks
into process_queue_item().

11 years agoSoupSession: merge AWAITING_CONNECTION state into STARTING
Dan Winship [Thu, 2 Aug 2012 16:06:37 +0000 (12:06 -0400)]
SoupSession: merge AWAITING_CONNECTION state into STARTING

The only thing STARTING did was move directly into
AWAITING_CONNECTION, so there's no need for two separate states.

11 years agoSoupSession: move all connection tracking into the base class
Dan Winship [Wed, 15 Aug 2012 00:57:00 +0000 (20:57 -0400)]
SoupSession: move all connection tracking into the base class

Since SoupConnection:state is more reliable now, SoupSession can keep
track of when connections are available itself, rather than the
subclasses trying to guess when connections are available.

11 years agoSoupConnection: fix up ::event signal emissions
Dan Winship [Tue, 14 Aug 2012 19:37:32 +0000 (15:37 -0400)]
SoupConnection: fix up ::event signal emissions

And add a test to make sure that all expected events are emitted, in
the correct order.

11 years agoSoupConnection: fix up states during connection
Dan Winship [Tue, 14 Aug 2012 19:35:03 +0000 (15:35 -0400)]
SoupConnection: fix up states during connection

In particular, when doing an https CONNECT, make sure the connection
never observably switches to the "IDLE" state. Add a test for this.

11 years agoSoupSession: clean up message response when queueing
Dan Winship [Fri, 10 Aug 2012 14:51:34 +0000 (10:51 -0400)]
SoupSession: clean up message response when queueing

To handle messages that get reused, we were calling
soup_message_cleanup_response() from soup_message_send_request(). But
it's better to do it sooner than that, like in
soup_session_append_queue_item().

11 years agoSoupSessionAsync: rename vars to make tunnel_msg vs real msg clearer
Dan Winship [Thu, 2 Aug 2012 17:02:06 +0000 (13:02 -0400)]
SoupSessionAsync: rename vars to make tunnel_msg vs real msg clearer

11 years agoAvoid double free of hash key
Alexander Larsson [Fri, 24 Aug 2012 11:20:15 +0000 (13:20 +0200)]
Avoid double free of hash key

When soup_message_headers_get_content_disposition re-inserts the
new filename we need to g_strdup the key or otherwise it will
be freed by the hashtable key destroy func.

https://bugzilla.gnome.org/show_bug.cgi?id=682569

11 years agoAdded Latvian translation
Rūdolfs Mazurs [Fri, 24 Aug 2012 10:14:40 +0000 (13:14 +0300)]
Added Latvian translation

11 years agoAdd missing transfer full annotation to soup_cookie_jar_add_cookie
Daniel Drake [Thu, 23 Aug 2012 16:04:08 +0000 (10:04 -0600)]
Add missing transfer full annotation to soup_cookie_jar_add_cookie

Adding a cookie to a jar from Python (via introspection) wasn't working
right, since the cookie was being freed as soon as the python object
went out of scope, but soup_cookie_jar_add_cookie() explicitly states
that freeing shouldn't happen.

Add a missing annotation to fix this. Thanks to Benjamin Berg for the
suggestion.

Fixes http://bugs.sugarlabs.org/ticket/3825
https://bugzilla.gnome.org/show_bug.cgi?id=682554

11 years agoupdate Punjabi Translation
A S Alam [Wed, 22 Aug 2012 03:28:10 +0000 (08:58 +0530)]
update Punjabi Translation

11 years agoUpdated Polish translation
Piotr Drąg [Wed, 22 Aug 2012 01:00:14 +0000 (03:00 +0200)]
Updated Polish translation

11 years agosoup_session_abort: clarify that it closes connections too
Dan Winship [Tue, 21 Aug 2012 12:29:27 +0000 (08:29 -0400)]
soup_session_abort: clarify that it closes connections too

11 years ago2.39.90 LIBSOUP_2_39_90
Dan Winship [Mon, 20 Aug 2012 21:34:28 +0000 (17:34 -0400)]
2.39.90

11 years agoSoupSession: clarify timeout and idle-timeout docs
Dan Winship [Mon, 20 Aug 2012 16:05:22 +0000 (12:05 -0400)]
SoupSession: clarify timeout and idle-timeout docs

They only affect connections opened after you set the property.

https://bugzilla.gnome.org/show_bug.cgi?id=681781

11 years agoAdd missing file for last commit
Gustavo Noronha Silva [Mon, 20 Aug 2012 18:20:22 +0000 (15:20 -0300)]
Add missing file for last commit

11 years agoAdd SoupMultipartInputStream for handling multipart responses
Gustavo Noronha Silva [Mon, 20 Aug 2012 13:37:17 +0000 (10:37 -0300)]
Add SoupMultipartInputStream for handling multipart responses

SoupMultipartInputStream can be used by the API user to wrap the input
stream, and provides API to obtain the next part and its headers,
using a SoupFilterInputStream internally for buffer management.

https://bugzilla.gnome.org/show_bug.cgi?id=656684

11 years agoMake it possibe to request the boundary be discarded by SoupFilterInputStream
Gustavo Noronha Silva [Mon, 20 Aug 2012 13:37:41 +0000 (10:37 -0300)]
Make it possibe to request the boundary be discarded by SoupFilterInputStream

This makes it easier to implement streams that discard the boundary, like
SoupMultipartInputStream.

https://bugzilla.gnome.org/show_bug.cgi?id=656684

11 years agoSoupCache: delete untracked files in soup_cache_clear()
Sergio Villar Senin [Mon, 20 Aug 2012 10:26:19 +0000 (12:26 +0200)]
SoupCache: delete untracked files in soup_cache_clear()

Delete all the files in the cache directory when clearing the cache even if
they aren't coupled with any cache entry.

https://bugzilla.gnome.org/show_bug.cgi?id=681509

11 years agoSoupCache: moved data from SoupCacheEntry to the writing fixture
Sergio Villar Senin [Mon, 20 Aug 2012 10:22:17 +0000 (12:22 +0200)]
SoupCache: moved data from SoupCacheEntry to the writing fixture

The entry fields "current_writing_buffer", "got_body", "stream", and "error"
where only used during the writing phase. Therefore we do not need to keep
all of them in memory in the SoupCacheEntry structure.

https://bugzilla.gnome.org/show_bug.cgi?id=681509

11 years agoSoupCache: simplify the usage of soup_cache_entry_remove()/free()
Sergio Villar Senin [Mon, 20 Aug 2012 09:57:09 +0000 (11:57 +0200)]
SoupCache: simplify the usage of soup_cache_entry_remove()/free()

Added a new parameter to soup_cache_entry_remove() that instructs the function
to delete the cached resource file if TRUE. It also unconditionally frees
the resources allocated by the entry by calling soup_cache_entry_free().

https://bugzilla.gnome.org/show_bug.cgi?id=681509

11 years agoSoupContentSnifferStream: added can_poll() implementation
Sergio Villar Senin [Mon, 20 Aug 2012 08:43:56 +0000 (10:43 +0200)]
SoupContentSnifferStream: added can_poll() implementation

Done in terms of the base_stream can_poll() interface. It was not needed to
read resources from network as the underlying streams were all pollable.
This will be used later to sniff locally cached resources. The file streams are
not pollable so we must implement the can_poll() in order to use "normal"
read() calls instead of the read_nonblocking().

https://bugzilla.gnome.org/show_bug.cgi?id=682112

11 years agoSoupContentSniffer: removed several unused function arguments
Sergio Villar Senin [Mon, 20 Aug 2012 08:42:18 +0000 (10:42 +0200)]
SoupContentSniffer: removed several unused function arguments

Removed the SoupMessage argument from various sniffing functions as it isn't
really used for sniffing.

https://bugzilla.gnome.org/show_bug.cgi?id=682112

11 years agoSoupMessage: Add SOUP_MESSAGE_IDEMPOTENT flag
Milan Crha [Mon, 13 Aug 2012 12:27:02 +0000 (14:27 +0200)]
SoupMessage: Add SOUP_MESSAGE_IDEMPOTENT flag

In particular, this lets the app indicate that it's OK to use an
existing connection when sending a POST.

https://bugzilla.gnome.org/show_bug.cgi?id=681493

11 years agoAdded uk translation
Daniel Korostil [Fri, 17 Aug 2012 05:19:28 +0000 (08:19 +0300)]
Added uk translation

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 15 Aug 2012 07:13:22 +0000 (15:13 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoAdded Entry for Bengali India and fixed a wrong sequence in the list
Runa Bhattacharjee [Tue, 14 Aug 2012 10:42:38 +0000 (16:12 +0530)]
Added Entry for Bengali India and fixed a wrong sequence in the list

11 years agoAdded Bengali India Translations
Sayak Sarkar [Tue, 14 Aug 2012 10:41:39 +0000 (16:11 +0530)]
Added Bengali India Translations

11 years agoSoupSession: make queue items hold a ref on the session
Dan Winship [Sun, 12 Aug 2012 14:43:01 +0000 (10:43 -0400)]
SoupSession: make queue items hold a ref on the session

Historically, messages sent via soup_session_queue_message() did not
hold a ref on the session, and unreffing the session when messages
were in progress would cancel them. This is ugly internally though,
and at any rate, depends on being able to know for sure that no one
else is secretly holding a ref on the session.

So, fix it so that pending messages hold a ref on the session, and you
need to use soup_session_abort() before unreffing if you want to
cancel everything.

If it turns out that this breaks things it can be reverted before
2.40...

11 years agoSoupSessionAsync: fix the idle_run_queue source handling (again)
Dan Winship [Sun, 12 Aug 2012 14:32:49 +0000 (10:32 -0400)]
SoupSessionAsync: fix the idle_run_queue source handling (again)

The previous code checked priv->disposed after the session was freed
sometimes...

11 years agoAdded German translation
Christian Kirbach [Sun, 12 Aug 2012 19:58:37 +0000 (21:58 +0200)]
Added German translation

11 years agoAdded Marathi Translations
Sandeep Sheshrao Shedmake [Sun, 12 Aug 2012 14:29:53 +0000 (19:59 +0530)]
Added Marathi Translations

11 years agovalgrindage
Dan Winship [Sun, 12 Aug 2012 00:03:44 +0000 (20:03 -0400)]
valgrindage

11 years agotests: parallelize proxy-test to make it faster
Dan Winship [Fri, 10 Aug 2012 20:53:30 +0000 (16:53 -0400)]
tests: parallelize proxy-test to make it faster

TODO: parallelize auth-test and timeout-test, make it easier to use.

11 years agosoup-misc-private.h: Fix the single-include #define
Dan Winship [Thu, 9 Aug 2012 11:24:10 +0000 (07:24 -0400)]
soup-misc-private.h: Fix the single-include #define

Pointed out by various people on multiple occasions until eventually I
remembered to fix it...

11 years agoMakefile.glib: allow marshallers signatures containing integer (like INT64)
Lionel Landwerlin [Wed, 8 Aug 2012 10:13:19 +0000 (11:13 +0100)]
Makefile.glib: allow marshallers signatures containing integer (like INT64)

https://bugzilla.gnome.org/show_bug.cgi?id=681438

11 years ago[l10n]Added Turkish translation
Muhammet Kara [Wed, 8 Aug 2012 17:06:41 +0000 (20:06 +0300)]
[l10n]Added Turkish translation

11 years agopost-release version bump
Xan Lopez [Tue, 7 Aug 2012 13:39:30 +0000 (15:39 +0200)]
post-release version bump

11 years agoSoupTLD: fix a regression in soup_tld_is_public_suffix()
Sergio Villar Senin [Thu, 2 Aug 2012 14:50:54 +0000 (16:50 +0200)]
SoupTLD: fix a regression in soup_tld_is_public_suffix()

soup_tld_is_public_suffix() was not returning TRUE for well known TLDs as
".com" after cbae89f4. Also added some extra documentation to
soup_tld_get_base_domain() in order to make explicit that it returns NULL
for private URLs.

Reworked unit tests in order to allow them detect these regressions.

https://bugzilla.gnome.org/show_bug.cgi?id=681085

11 years ago2.39.5 LIBSOUP_2_39_5
Dan Winship [Mon, 6 Aug 2012 21:46:39 +0000 (17:46 -0400)]
2.39.5

11 years agosoup-xmlrpc: fix parsing of <methodCall> without <params>
Dan Winship [Mon, 6 Aug 2012 18:28:00 +0000 (14:28 -0400)]
soup-xmlrpc: fix parsing of <methodCall> without <params>

If a method takes no parameters, you can leave out the <params>
section of <methodCall>, but soup_xmlrpc_parse_method_call() was
requiring it anyway.

Fix that and add some tests of parameter-less methods.

https://bugzilla.gnome.org/show_bug.cgi?id=671661

12 years agosoup-socket.c: fix a use-after-free of a GCancellable
Dan Winship [Mon, 6 Aug 2012 14:33:38 +0000 (10:33 -0400)]
soup-socket.c: fix a use-after-free of a GCancellable

12 years agoAdd a simple regression test for unbound sockets
Simon McVittie [Thu, 29 Mar 2012 18:17:17 +0000 (19:17 +0100)]
Add a simple regression test for unbound sockets

https://bugzilla.gnome.org/show_bug.cgi?id=673083

12 years agoSoupSocket: local, remote address are undefined if unconnected
Simon McVittie [Thu, 29 Mar 2012 18:17:02 +0000 (19:17 +0100)]
SoupSocket: local, remote address are undefined if unconnected

Warn and return NULL deterministically, rather than warning and returning
uninitialized stack garbage, but document it as "undefined"; these
methods were never meant to be valid in this situation, apparently.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=673083

12 years agotld-test: update for changes to TLD data
Dan Winship [Mon, 6 Aug 2012 14:29:31 +0000 (10:29 -0400)]
tld-test: update for changes to TLD data

12 years agoupdate effective_tld_names.dat
Dan Winship [Mon, 6 Aug 2012 14:17:28 +0000 (10:17 -0400)]
update effective_tld_names.dat

12 years agoAssamese translation updated
Nilamdyuti Goswami [Fri, 3 Aug 2012 10:08:38 +0000 (15:38 +0530)]
Assamese translation updated

12 years agoAdd Esperanto translation
Kristjan SCHMIDT [Wed, 1 Aug 2012 18:01:48 +0000 (20:01 +0200)]
Add Esperanto translation

12 years agoUpdated Galician translations
Fran Diéguez [Tue, 31 Jul 2012 00:02:52 +0000 (02:02 +0200)]
Updated Galician translations

12 years agoautogen.sh: remove two outdated bits
Dan Winship [Mon, 30 Jul 2012 16:13:16 +0000 (12:13 -0400)]
autogen.sh: remove two outdated bits

12 years agoUpdated Russian translation
Alexsey Nadtochey [Mon, 30 Jul 2012 11:40:13 +0000 (15:40 +0400)]
Updated Russian translation

12 years agoUpdated gujarati file & Added LINGUAS file for gujarati
Sweta Kothari [Fri, 27 Jul 2012 09:06:06 +0000 (14:36 +0530)]
Updated gujarati file  & Added LINGUAS file for gujarati

12 years agoFix building with MinGW compiler
Paweł Forysiuk [Thu, 26 Jul 2012 18:44:02 +0000 (20:44 +0200)]
Fix building with MinGW compiler

12 years agoUpdate Chinese simplified translation for ui
Cheng Lu [Thu, 26 Jul 2012 05:35:55 +0000 (13:35 +0800)]
Update Chinese simplified translation for ui

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 25 Jul 2012 14:29:32 +0000 (16:29 +0200)]
Updated Norwegian bokmål translation

12 years agotest-utils: simplify the SoupRequest test utils a bit
Dan Winship [Wed, 25 Jul 2012 12:54:11 +0000 (08:54 -0400)]
test-utils: simplify the SoupRequest test utils a bit

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Tue, 24 Jul 2012 20:15:09 +0000 (23:15 +0300)]
Updated Hebrew translation.

12 years agoSoupConverterWrapper: handle truncated responses in general
Dan Winship [Tue, 24 Jul 2012 20:06:43 +0000 (16:06 -0400)]
SoupConverterWrapper: handle truncated responses in general

Rather than just the specific case of "server claims non-0
Content-Length but response is empty", allow the response to be
truncated at any point. Because, you know, the web.

12 years agoSoupSessionAsync: fix handling of timed-out SoupRequests
Dan Winship [Tue, 24 Jul 2012 19:22:44 +0000 (15:22 -0400)]
SoupSessionAsync: fix handling of timed-out SoupRequests

When using the SoupRequest API, a message that hit
SOUP_SESSION_TIMEOUT would error out, but would not emit "finished" or
get fully removed from the queue. Fix that and add SoupRequest tests
to timeout-test (along with tests that "finished" gets emitted).

12 years agoUpdated Greek translation
Tom Tryfonidis [Fri, 20 Jul 2012 10:59:25 +0000 (13:59 +0300)]
Updated Greek translation

12 years agoSoupSocket: don't emit "readable" on disconnect for blocking sockets
Dan Winship [Thu, 19 Jul 2012 12:49:55 +0000 (08:49 -0400)]
SoupSocket: don't emit "readable" on disconnect for blocking sockets

"readable" and "writable" are only supposed to be emitted for
non-blocking sockets, but we were emitting "readable" on disconnect
for all sockets.

In libsoup 2.38 and earlier, this could cause a crash if a message in
a SoupSessionSync failed at certain points, since the code wasn't
expecting to end up in io_read(). The current code no longer has this
problem (since soup-message-io no longer uses the SoupSocket signals),
but other external users of SoupSocket might.

12 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 19 Jul 2012 08:13:14 +0000 (10:13 +0200)]
Updated Slovenian translation

12 years agoSoupServer: fix non-default-main-context usage
Dan Winship [Wed, 18 Jul 2012 21:43:12 +0000 (17:43 -0400)]
SoupServer: fix non-default-main-context usage

Need to push the server's async_context around doing message I/O to
make sure all the responses come back to the right place.

12 years agoFix deprecation warning on soup_message_headers_get()
Dan Winship [Wed, 18 Jul 2012 12:35:58 +0000 (08:35 -0400)]
Fix deprecation warning on soup_message_headers_get()

https://bugzilla.gnome.org/show_bug.cgi?id=680143

12 years agoSoupConverterWrapper: handle empty "compressed" responses
Dan Winship [Tue, 17 Jul 2012 21:00:07 +0000 (17:00 -0400)]
SoupConverterWrapper: handle empty "compressed" responses

If a server sends an empty response but includes a Content-Encoding
header (in particular, in a HEAD or 304 response), suppress the
PARTIAL_INPUT error from the GZlibDecompressor and just return 0.

https://bugzilla.gnome.org/show_bug.cgi?id=679527 (?)

12 years agoSoupBodyInputStream: fix hang reading empty chunked response
Dan Winship [Tue, 17 Jul 2012 20:58:55 +0000 (16:58 -0400)]
SoupBodyInputStream: fix hang reading empty chunked response

Set the eof flag immediately after reading the last chunk, rather than
waiting for the next read, since if the caller calls is_readable() or
create_source() instead, we need to know to not wait for the
base_stream to become readable.

12 years agoAdded Serbian translation
Мирослав Николић [Tue, 17 Jul 2012 20:08:13 +0000 (22:08 +0200)]
Added Serbian translation

12 years agosoup_uri_normalize: more fixes
Dan Winship [Tue, 17 Jul 2012 14:11:07 +0000 (10:11 -0400)]
soup_uri_normalize: more fixes

uri_normalized_copy() should not go into fixup mode when it sees a
non-printable character if that character is in @unescape_extra.
Likewise, if it does go into fixup mode, it shouldn't fix up the
@unescape_extra characters.

https://bugzilla.gnome.org/show_bug.cgi?id=680018

12 years ago2.39.4.1 LIBSOUP_2_39_4_1
Dan Winship [Tue, 17 Jul 2012 12:34:51 +0000 (08:34 -0400)]
2.39.4.1

12 years agosoup-tld: Handle SOUP_TLD_ERROR_NO_BASE_DOMAIN in soup_tld_domain_is_public_suffix()
Carlos Garcia Campos [Tue, 17 Jul 2012 10:54:07 +0000 (12:54 +0200)]
soup-tld: Handle SOUP_TLD_ERROR_NO_BASE_DOMAIN in soup_tld_domain_is_public_suffix()

And return FALSE in case domain doesn't have a base domain, so that non
suffixed domains like localhost are not considered public.

https://bugzilla.gnome.org/show_bug.cgi?id=679230

12 years agotld-parser.py: fix tabs vs spaces
Dan Winship [Tue, 17 Jul 2012 12:27:46 +0000 (08:27 -0400)]
tld-parser.py: fix tabs vs spaces

and remove an unused import. patch from "marduk".

https://bugzilla.gnome.org/show_bug.cgi?id=680089

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 17 Jul 2012 10:05:08 +0000 (12:05 +0200)]
Updated Spanish translation

12 years ago2.39.4 LIBSOUP_2_39_4
Dan Winship [Mon, 16 Jul 2012 22:27:30 +0000 (18:27 -0400)]
2.39.4

12 years agosoup-tld: do not consider non suffixed domains as public
Dan Winship [Mon, 16 Jul 2012 22:03:24 +0000 (18:03 -0400)]
soup-tld: do not consider non suffixed domains as public

Non suffixed hostnames (used in many intranet applications) should not be
considered as public.

Based on a patch from Sergio Villar Senin.

https://bugzilla.gnome.org/show_bug.cgi?id=679230

12 years agoSet the message priv->decoders to NULL after free.
Alban Browaeys [Mon, 16 Jul 2012 21:21:18 +0000 (23:21 +0200)]
Set the message priv->decoders to NULL after free.

Set the message priv->decoders to NULL after free
to fix

(epiphany:14909): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

 in epiphany from soup_message_cleanup_response.

https://bugzilla.gnome.org/show_bug.cgi?id=680055

12 years agosoup_message_headers_get_content_length: recheck encoding
Dan Winship [Mon, 16 Jul 2012 16:58:40 +0000 (12:58 -0400)]
soup_message_headers_get_content_length: recheck encoding

Use soup_message_headers_get_encoding() rather than looking at
hdrs->encoding directly, so that it gets recomputed if it's stale (eg,
from another header having been removed).

https://bugzilla.gnome.org/show_bug.cgi?id=680029