platform/upstream/libsoup.git
11 years agoAdded Thai translation
Akom Chotiphantawanon [Fri, 21 Sep 2012 11:53:21 +0000 (18:53 +0700)]
Added Thai translation

11 years agoUploaded Ukranian
Daniel Korostil [Fri, 21 Sep 2012 07:09:11 +0000 (10:09 +0300)]
Uploaded Ukranian

11 years agoUpdated Bengali India Translations
Sayak Sarkar [Fri, 21 Sep 2012 04:44:35 +0000 (10:14 +0530)]
Updated Bengali India Translations

11 years ago[l10n] Updated German translation
Mario Blättermann [Thu, 20 Sep 2012 11:31:15 +0000 (13:31 +0200)]
[l10n] Updated German translation

11 years agohindi updated file
Rajesh Ranjan [Thu, 20 Sep 2012 08:45:35 +0000 (14:15 +0530)]
hindi updated file

11 years agohindi updated file by Pratibha Kumari
Rajesh Ranjan [Thu, 20 Sep 2012 08:45:19 +0000 (14:15 +0530)]
hindi updated file by Pratibha Kumari

11 years agoUpdated Bulgarian translation
Alexander Shopov [Wed, 19 Sep 2012 18:08:37 +0000 (21:08 +0300)]
Updated Bulgarian translation

11 years agoupdated Tamil translation
Dr.T.Vasudevan [Wed, 19 Sep 2012 14:57:04 +0000 (20:27 +0530)]
updated Tamil translation

11 years agoupdate Punjabi Translation
A S Alam [Wed, 19 Sep 2012 15:22:58 +0000 (20:52 +0530)]
update Punjabi Translation

11 years agoUpdated Malayalam file
Ani Peter [Tue, 18 Sep 2012 17:31:53 +0000 (23:01 +0530)]
Updated Malayalam file

11 years agoUpdated Hungarian translation
Gabor Kelemen [Mon, 17 Sep 2012 21:29:36 +0000 (23:29 +0200)]
Updated Hungarian translation

11 years ago2.39.92 LIBSOUP_2_39_92
Dan Winship [Mon, 17 Sep 2012 20:43:05 +0000 (16:43 -0400)]
2.39.92

11 years agoUpdated British English translation
Chris Leonard [Mon, 17 Sep 2012 19:29:17 +0000 (20:29 +0100)]
Updated British English translation

11 years agoSoupSessionAsync: destroy the I/O GSource when returning a result
Dan Winship [Mon, 17 Sep 2012 17:53:48 +0000 (13:53 -0400)]
SoupSessionAsync: destroy the I/O GSource when returning a result

When a soup_request_send_async() gets cancelled, we were leaving its
GSource active, causing it to be triggered later, sometimes causing
criticals. Fix that.

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

11 years agoUpdated Russian translation
Yuri Myasoedov [Mon, 17 Sep 2012 12:46:08 +0000 (16:46 +0400)]
Updated Russian translation

11 years agoUpdated Danish translation
Ask H. Larsen [Sat, 15 Sep 2012 21:42:58 +0000 (23:42 +0200)]
Updated Danish translation

11 years agoAdded da to list of languages
Kenneth Nielsen [Sat, 15 Sep 2012 21:42:58 +0000 (23:42 +0200)]
Added da to list of languages

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 15 Sep 2012 04:53:52 +0000 (12:53 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoFixed plurals in Brazilian Portuguese translation
Rafael Ferreira [Fri, 14 Sep 2012 12:15:42 +0000 (09:15 -0300)]
Fixed plurals in Brazilian Portuguese translation

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Fri, 14 Sep 2012 10:29:33 +0000 (13:29 +0300)]
Updated Belarusian translation.

11 years agoUpdated gujarati file
Sweta Kothari [Fri, 14 Sep 2012 10:24:32 +0000 (15:54 +0530)]
Updated gujarati file

11 years agoUpdated Serbian translation
Мирослав Николић [Fri, 14 Sep 2012 03:55:12 +0000 (05:55 +0200)]
Updated Serbian translation

11 years agoUpdated Lithuanian translation
Aurimas Černius [Thu, 13 Sep 2012 19:40:49 +0000 (22:40 +0300)]
Updated Lithuanian translation

11 years agoUpdate French translation
Alexandre Franke [Thu, 13 Sep 2012 18:45:03 +0000 (20:45 +0200)]
Update French translation

11 years agoUpdated Portuguese translation
Duarte Loreto [Wed, 12 Sep 2012 22:37:31 +0000 (23:37 +0100)]
Updated Portuguese translation

11 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Wed, 12 Sep 2012 12:36:11 +0000 (18:06 +0530)]
Updated Marathi Translations

11 years agoUpdated Galician translations
Fran Diéguez [Wed, 12 Sep 2012 00:05:10 +0000 (02:05 +0200)]
Updated Galician translations

11 years agoUpdated Galician translations
Fran Diéguez [Wed, 12 Sep 2012 00:04:35 +0000 (02:04 +0200)]
Updated Galician translations

11 years agoUpdated Slovenian translation
Martin Srebotnjak [Tue, 11 Sep 2012 17:36:54 +0000 (19:36 +0200)]
Updated Slovenian translation

11 years agoUpdated Indonesian translation
Andika Triwidada [Tue, 11 Sep 2012 16:45:50 +0000 (23:45 +0700)]
Updated Indonesian translation

11 years agoAssamese translation updated
Nilamdyuti Goswami [Tue, 11 Sep 2012 15:46:32 +0000 (21:16 +0530)]
Assamese translation updated

11 years ago[l10n] Updated Italian translation.
Milo Casagrande [Mon, 10 Sep 2012 19:10:03 +0000 (21:10 +0200)]
[l10n] Updated Italian translation.

11 years agoUpdated Greek translation
Tom Tryfonidis [Mon, 10 Sep 2012 18:43:41 +0000 (21:43 +0300)]
Updated Greek translation

11 years agoCzech translation
Marek Černocký [Mon, 10 Sep 2012 16:26:31 +0000 (18:26 +0200)]
Czech translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 10 Sep 2012 16:19:58 +0000 (18:19 +0200)]
Updated Spanish translation

11 years agoUpdated Polish translation
Piotr Drąg [Mon, 10 Sep 2012 15:23:09 +0000 (17:23 +0200)]
Updated Polish translation

11 years agoSoupBodyInputStream: make it seekable
Sergio Villar Senin [Tue, 7 Aug 2012 18:16:01 +0000 (20:16 +0200)]
SoupBodyInputStream: make it seekable

SoupBodyInputStream implements now the GSeekable interface. It does not
longer require a SoupFilterInputStream as base stream unless the encoding is
SOUP_ENCODING_CHUNKED.

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

11 years agoSoupSession: when freeing an "unused" host, make sure it's still unused
Dan Winship [Sun, 9 Sep 2012 14:19:00 +0000 (10:19 -0400)]
SoupSession: when freeing an "unused" host, make sure it's still unused

In a multithreaded session, it's possible that a new connection will
be opened on a host while free_unused_host() is waiting to get
conn_lock. So check for that before freeing it.

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

11 years agoSoupSession: ensure that no new connections are created after dispose()
Dan Winship [Sun, 9 Sep 2012 13:48:41 +0000 (09:48 -0400)]
SoupSession: ensure that no new connections are created after dispose()

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