platform/upstream/libsoup.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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)

12 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

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

12 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...

12 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...

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

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

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

12 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.

12 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...

12 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

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

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

12 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

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

12 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

12 years agosoup-cache: Save the sniffed mime type in the cache too
Carlos Garcia Campos [Mon, 16 Jul 2012 16:18:31 +0000 (18:18 +0200)]
soup-cache: Save the sniffed mime type in the cache too

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

12 years agoSoupSession: rename host_lock to conn_lock
Dan Winship [Mon, 2 Jul 2012 17:50:39 +0000 (13:50 -0400)]
SoupSession: rename host_lock to conn_lock

since that describes its purpose better

12 years agosoup-message-io: make disconnect-on-unfinished more implicit
Dan Winship [Fri, 8 Jun 2012 08:04:36 +0000 (04:04 -0400)]
soup-message-io: make disconnect-on-unfinished more implicit

Rather than disconnecting the connection from soup_message_io_stop()
if the message didn't complete, do it from
SoupConnection:clear_current_item(). This makes it DTRT even if the
SoupMessageQueueItem loses its connection before
soup_message_io_stop() gets called.

12 years agosoup_session_queue_message: simplify the msg refcounting internally
Dan Winship [Sun, 27 May 2012 15:49:26 +0000 (11:49 -0400)]
soup_session_queue_message: simplify the msg refcounting internally

12 years agoSoupSession: replace queue_message() base impl with a separate method
Dan Winship [Sun, 27 May 2012 15:30:03 +0000 (11:30 -0400)]
SoupSession: replace queue_message() base impl with a separate method

Create soup_session_append_queue_item() to do what the base
implementation of queue_message() did, and use that from various
places that used to call the base queue_message() directly.

12 years agosoup-uri: fix uri_normalized_copy to not always do fixup
Dan Winship [Mon, 16 Jul 2012 16:04:52 +0000 (12:04 -0400)]
soup-uri: fix uri_normalized_copy to not always do fixup

need_fixup was always getting set, because the trailing NUL character
was being processed by the loop. Fix.

Pointed out by Yann SOUBEYRAND,
https://bugzilla.gnome.org/show_bug.cgi?id=680018

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Mon, 16 Jul 2012 00:48:40 +0000 (08:48 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sun, 15 Jul 2012 11:23:21 +0000 (14:23 +0300)]
Updated Belarusian translation.

12 years agoAdded Lithuanian translation
Aurimas Černius [Sat, 14 Jul 2012 15:50:25 +0000 (18:50 +0300)]
Added Lithuanian translation

12 years agoRemove zh_HK and zh_TW because the translation files are missing
Kjartan Maraas [Sat, 14 Jul 2012 11:24:22 +0000 (13:24 +0200)]
Remove zh_HK and zh_TW because the translation files are missing

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 14 Jul 2012 06:17:37 +0000 (14:17 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoFix the retry-on-broken-connection codepath for SoupRequest
Dan Winship [Mon, 9 Jul 2012 18:36:09 +0000 (14:36 -0400)]
Fix the retry-on-broken-connection codepath for SoupRequest

The retry-if-the-server-closes-the-connection-immediately code was
only getting run in the SoupMessage API codepaths. Fit it into the
right place in the SoupRequest paths too, and test that from
connection-test.

Might fix https://bugzilla.gnome.org/show_bug.cgi?id=679527 ?

12 years agoAdd some test-utils helpers for async SoupRequest usage
Dan Winship [Mon, 9 Jul 2012 17:44:42 +0000 (13:44 -0400)]
Add some test-utils helpers for async SoupRequest usage

12 years agosoup-client-input-stream: don't chain up from close/close_async
Dan Winship [Fri, 13 Jul 2012 19:27:13 +0000 (15:27 -0400)]
soup-client-input-stream: don't chain up from close/close_async

GInputStream's default close_async method runs the sync close method
in a thread, which means that you can't chain up to it from a subclass
implementation. And GFilterInputStream only overrides close_fn, not
close_async, so there's no way to asynchronously get the
close-base-stream behavior if we want to override close_async in
SoupClientInputStream. Ugh! Anyway, we always have a non
close-base-stream SoupBodyInputStream somewhere under the
SoupClientInputStream, so there's no need to chain up anyway.

Fixes a sporadic bug caused by the fact that we were closing the
stream (and thus calling soup_message_io_run_until_finish()) twice.

12 years agoClean up includes
Dan Winship [Fri, 6 Jul 2012 17:09:50 +0000 (13:09 -0400)]
Clean up includes

Especially, include soup.h rather than individually including a bunch
of other public soup-*.h files.

Remove unnecessary system includes (many are leftovers from code that
has moved down into glib).

12 years agoReorganize files to need fewer forward declarations
Dan Winship [Wed, 4 Jul 2012 17:12:38 +0000 (13:12 -0400)]
Reorganize files to need fewer forward declarations

Also, prefix virtual method implementation names with the class name,
to be consistent with other code.

12 years agoUse G_DEFINE_INTERFACE and G_DEFINE_BOXED_TYPE
Dan Winship [Wed, 4 Jul 2012 16:44:37 +0000 (12:44 -0400)]
Use G_DEFINE_INTERFACE and G_DEFINE_BOXED_TYPE

12 years agoUse g_clear_object(), g_clear_pointer()
Dan Winship [Mon, 2 Jul 2012 14:49:53 +0000 (10:49 -0400)]
Use g_clear_object(), g_clear_pointer()

12 years agoUse g_ptr_array_new_with_free_func()
Dan Winship [Mon, 2 Jul 2012 14:18:18 +0000 (10:18 -0400)]
Use g_ptr_array_new_with_free_func()

12 years agoUse g_slist_free_full()
Dan Winship [Mon, 2 Jul 2012 13:49:48 +0000 (09:49 -0400)]
Use g_slist_free_full()

12 years agoReplace g_hash_table_foreach() with GHashTableIter
Dan Winship [Sun, 3 Jun 2012 13:36:14 +0000 (09:36 -0400)]
Replace g_hash_table_foreach() with GHashTableIter

or g_hash_table_new_full() when the foreach was only being used for
cleanup.

12 years agoRemove an unnecessary old demo program that doesn't work any more
Dan Winship [Mon, 2 Jul 2012 13:34:18 +0000 (09:34 -0400)]
Remove an unnecessary old demo program that doesn't work any more

12 years agosoup-session.c: whitespace fix
Dan Winship [Sun, 3 Jun 2012 13:33:44 +0000 (09:33 -0400)]
soup-session.c: whitespace fix

12 years agorequester-test: fix some debug printfs
Dan Winship [Fri, 13 Jul 2012 18:18:22 +0000 (14:18 -0400)]
requester-test: fix some debug printfs

12 years agoAssamese translation completed
Nilamdyuti Goswami [Fri, 13 Jul 2012 14:42:43 +0000 (20:12 +0530)]
Assamese translation completed

12 years agoAdded Assamese to LINGUAS
Nilamdyuti Goswami [Fri, 13 Jul 2012 14:38:08 +0000 (20:08 +0530)]
Added Assamese to LINGUAS

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 12 Jul 2012 15:58:38 +0000 (18:58 +0300)]
Updated Hebrew translation.

12 years agoSoupCookie: ignore values on httponly and secure attributes
Dan Winship [Wed, 11 Jul 2012 00:35:08 +0000 (20:35 -0400)]
SoupCookie: ignore values on httponly and secure attributes

The cookie parsing algorithm says to ignore values on attributes that
aren't supposed to have them, so do that. Also add a test for this.
Based on a patch from "Basavaraj".

Also, drive-by bugfix in soup_cookie_to_set_cookie_header() /
soup_cookies_to_response() (the SoupServer side of the cookie APIs),
which were outputting "HttpOnly" if the cookie had the "secure" flag
set, rather than the "http_only" flag.

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

12 years agoFix cookies-test.c indentation
Dan Winship [Wed, 11 Jul 2012 00:12:41 +0000 (20:12 -0400)]
Fix cookies-test.c indentation

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 10 Jul 2012 05:57:26 +0000 (07:57 +0200)]
Updated Norwegian bokmål translation

12 years agoReplace deprecated symbols
Javier Jardón [Thu, 5 Jul 2012 14:50:32 +0000 (23:50 +0900)]
Replace deprecated symbols

12 years agoAdd deprecation attributes to deprecated functions
Javier Jardón [Sat, 10 Mar 2012 12:24:05 +0000 (12:24 +0000)]
Add deprecation attributes to deprecated functions

This is using the newly introduce G_DEPRECATED macros
from GLib. Traditional deprecation guards are still in
place.

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

12 years agoUpdated Bulgarian translation
Alexander Shopov [Thu, 5 Jul 2012 09:37:46 +0000 (12:37 +0300)]
Updated Bulgarian translation

12 years agoupdate .gitignore for tld_data.inc
Dan Winship [Wed, 4 Jul 2012 15:11:50 +0000 (11:11 -0400)]
update .gitignore for tld_data.inc

12 years agoAdded Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 30 Jun 2012 03:16:01 +0000 (10:16 +0700)]
Added Vietnamese translation

12 years agoUpdated Indonesian translation
Andika Triwidada [Thu, 28 Jun 2012 03:26:37 +0000 (10:26 +0700)]
Updated Indonesian translation

12 years agotld-parser: Rewrite in Python
Colin Walters [Tue, 26 Jun 2012 17:27:17 +0000 (13:27 -0400)]
tld-parser: Rewrite in Python

This avoids the issues in building native code to build an
intermediate file to build more native code.  Automake has
BUILT_SOURCES but it's easier to just have build tools in scripting
languages.

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

12 years agobuild: Don't write tld_data.inc to srcdir which may not be writable
Colin Walters [Tue, 26 Jun 2012 17:40:33 +0000 (13:40 -0400)]
build: Don't write tld_data.inc to srcdir which may not be writable

Generated data should go in the builddir.

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