platform/upstream/libsoup.git
4 years agoImported Upstream version 2.62.2 66/219666/1 upstream/2.62.2
Seonah Moon [Mon, 9 Dec 2019 05:52:00 +0000 (14:52 +0900)]
Imported Upstream version 2.62.2

Change-Id: Id151dafaa6ac9f569d76f08282b5c9e4c3b19621

9 years agoImported Upstream version 2.46.0 upstream/2.46.0
Zhang zhengguang [Tue, 4 Nov 2014 03:12:11 +0000 (11:12 +0800)]
Imported Upstream version 2.46.0

11 years agobuild: update Makefile.glib
Dan Winship [Fri, 19 Apr 2013 14:54:05 +0000 (10:54 -0400)]
build: update Makefile.glib

If a SOURCES variable changes, we need to recheck the generated files,
since a file may have been removed from SOURCES, but still be
referenced in a previously-generated -enum-types.c file, etc. So make
these generated files depend on Makefile.

Also, update spacing of silent rules to match current automake.

11 years agoFix build on Windows, deprecate soup-portability.h
Dan Winship [Fri, 19 Apr 2013 13:57:34 +0000 (09:57 -0400)]
Fix build on Windows, deprecate soup-portability.h

soup-portability.h created portability problems (ha!) because the
windows headers do "#define interface struct", conflicting with
variable names elsewhere.

The only thing that needed soup-portability.h in the public headers
was soup-address.h, which uses struct sockaddr. But we can just do a
forward declaration of that type rather than actually pulling in the
headers. Then soup-address.h can stop including soup-portability.h,
and we can use gio/gnetworking.h in the handful of other places that
need networking-related includes.

This may possibly break some other modules that depended on implicitly
getting network includes as a side effect of including soup.h...

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

11 years agomisc-test: skip the IPv6 server test if there's no IPv6 support
Dan Winship [Thu, 18 Apr 2013 19:40:55 +0000 (15:40 -0400)]
misc-test: skip the IPv6 server test if there's no IPv6 support

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

11 years agosoup-address: fix proxy enumerator implementation
Dan Winship [Thu, 18 Apr 2013 14:30:32 +0000 (10:30 -0400)]
soup-address: fix proxy enumerator implementation

When creating a GProxyAddressEnumerator, the destination URI passed to
it must include the port number, or the proxy may end up trying to
connect to port 0. libsoup was omitting the port number when it was
the default for the protocol.

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

11 years agotests: fix to pass when glib-networking TLS isn't available
Dan Winship [Wed, 17 Apr 2013 21:38:37 +0000 (17:38 -0400)]
tests: fix to pass when glib-networking TLS isn't available

11 years agosoup-message-queue: add a priority system to the message queue
Sergio Villar Senin [Wed, 17 Apr 2013 08:15:59 +0000 (10:15 +0200)]
soup-message-queue: add a priority system to the message queue

Clients can specify a priority for each message added to the SoupSession,
which will determine the order in which it is processed by the
session's message processing queue.

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

11 years agoAdded version 2.44 defines
Sergio Villar Senin [Wed, 17 Apr 2013 07:44:29 +0000 (09:44 +0200)]
Added version 2.44 defines

11 years agobump version to 2.43.0
Dan Winship [Tue, 16 Apr 2013 13:09:54 +0000 (09:09 -0400)]
bump version to 2.43.0

11 years ago2.42.1 2.42.1 LIBSOUP_2_42_1
Dan Winship [Tue, 16 Apr 2013 13:09:10 +0000 (09:09 -0400)]
2.42.1

11 years agotests: fix ntlm-test when built without ntlm_auth support
Dan Winship [Wed, 10 Apr 2013 13:11:45 +0000 (09:11 -0400)]
tests: fix ntlm-test when built without ntlm_auth support

Don't try to use external NTLM auth if built without support for that.

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

11 years ago[l10n] Updated Turkish translation
Ozan Çağlayan [Tue, 9 Apr 2013 21:54:56 +0000 (00:54 +0300)]
[l10n] Updated Turkish translation

11 years agoconfigure: require glib 2.36 (not just 2.35.x)
Dan Winship [Mon, 8 Apr 2013 19:34:11 +0000 (15:34 -0400)]
configure: require glib 2.36 (not just 2.35.x)

11 years agosoup-connection: fix SoupProxyResolverDefault breakage
Dan Winship [Wed, 3 Apr 2013 15:27:59 +0000 (11:27 -0400)]
soup-connection: fix SoupProxyResolverDefault breakage

It got broken at the last minute when adding
SoupSession:proxy-resolver support.

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

11 years agosoup-session: fix memory leak
Xan Lopez [Tue, 26 Mar 2013 15:20:38 +0000 (16:20 +0100)]
soup-session: fix memory leak

Do not steal the stream from the GTask, otherwise its destruction
method will never run and it will be leaked.

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

11 years agoAdded Basque language\nAdded 'eu' (Basque) to LINGUAS
Inaki Larranaga Murgoitio [Tue, 26 Mar 2013 10:26:19 +0000 (11:26 +0100)]
Added Basque language\nAdded 'eu' (Basque) to LINGUAS

11 years agowin32: link with ws2_32 for htons
Kalev Lember [Thu, 21 Mar 2013 22:54:36 +0000 (23:54 +0100)]
win32: link with ws2_32 for htons

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

11 years ago2.42.0 2.42.0 LIBSOUP_2_42_0 upstream/2.42.0
Dan Winship [Mon, 25 Mar 2013 12:40:19 +0000 (08:40 -0400)]
2.42.0

11 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Mon, 25 Mar 2013 10:41:00 +0000 (16:11 +0530)]
Updated Telugu Translations

11 years agoTamil Translations Updated
Shantha kumar [Mon, 25 Mar 2013 06:41:48 +0000 (12:11 +0530)]
Tamil Translations Updated

11 years agoCompleted for Malayalam
Ani Peter [Mon, 25 Mar 2013 06:13:52 +0000 (11:43 +0530)]
Completed for Malayalam

11 years agoUpdated kn translations
Shankar Prasad [Sun, 24 Mar 2013 12:30:45 +0000 (18:00 +0530)]
Updated kn translations

11 years agoL10N: Updated Persian Translation
Arash Mousavi [Sat, 23 Mar 2013 13:38:26 +0000 (18:08 +0430)]
L10N: Updated Persian Translation

11 years agoUpdated Odia Language along with FUEL implementation
ManojKumar Giri [Fri, 22 Mar 2013 13:02:00 +0000 (18:32 +0530)]
Updated Odia Language along with FUEL implementation

11 years agoUpdated Korean translation
Changwoo Ryu [Thu, 21 Mar 2013 19:46:53 +0000 (04:46 +0900)]
Updated Korean translation

11 years agorequester-test: fix a printf format compiler warning
Kalev Lember [Wed, 20 Mar 2013 16:33:35 +0000 (17:33 +0100)]
requester-test: fix a printf format compiler warning

Could use G_GSIZE_FORMAT here, but casting to gulong is simpler.

11 years agohindi translation
Rajesh Ranjan [Wed, 20 Mar 2013 11:22:29 +0000 (16:52 +0530)]
hindi translation

11 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Wed, 20 Mar 2013 01:27:13 +0000 (06:57 +0530)]
Updated Marathi Translations

11 years ago[l10n] Added Tadjik translation
Victor Ibragimov [Tue, 19 Mar 2013 21:31:49 +0000 (22:31 +0100)]
[l10n] Added Tadjik translation

11 years ago2.41.92 2.41.92 LIBSOUP_2_41_92 upstream/2.41.92
Dan Winship [Mon, 18 Mar 2013 17:48:40 +0000 (13:48 -0400)]
2.41.92

11 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 17 Mar 2013 18:11:48 +0000 (20:11 +0200)]
Updated Latvian translation

11 years agoUpdated Russian translation
Yuri Myasoedov [Sat, 16 Mar 2013 18:48:24 +0000 (22:48 +0400)]
Updated Russian translation

11 years agoUpdated Hungarian translation
Balázs Úr [Fri, 15 Mar 2013 11:35:44 +0000 (12:35 +0100)]
Updated Hungarian translation

11 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Wed, 13 Mar 2013 10:56:07 +0000 (12:56 +0200)]
[l10n] Updated Estonian translation

11 years agoUpdated Danish translation
Joe Hansen [Tue, 12 Mar 2013 22:14:56 +0000 (23:14 +0100)]
Updated Danish translation

11 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Tue, 12 Mar 2013 22:07:17 +0000 (23:07 +0100)]
[l10n] Updated Catalan (Valencian) translation

11 years ago[l10n] Updated Catalan translation
Gil Forcada [Tue, 12 Mar 2013 22:07:12 +0000 (23:07 +0100)]
[l10n] Updated Catalan translation

11 years agoUpdated French translation
Claude Paroz [Tue, 12 Mar 2013 16:51:25 +0000 (17:51 +0100)]
Updated French translation

11 years agoAdd G_BEGIN_DECLS/G_END_DECLS guards to soup-message-headers.h
Carlos Garcia Campos [Tue, 12 Mar 2013 16:10:05 +0000 (17:10 +0100)]
Add G_BEGIN_DECLS/G_END_DECLS guards to soup-message-headers.h

11 years agoAssamese translation updated for gnome 3.8
Nilamdyuti Goswami [Tue, 12 Mar 2013 13:07:32 +0000 (18:37 +0530)]
Assamese translation updated for gnome 3.8

11 years agoUpdated gujarati file
Sweta Kothari [Tue, 12 Mar 2013 10:52:06 +0000 (16:22 +0530)]
Updated gujarati file

11 years agoUpdated Portuguese translation and converted to New Spelling (Novo AO)
Duarte Loreto [Mon, 11 Mar 2013 22:55:08 +0000 (22:55 +0000)]
Updated Portuguese translation and converted to New Spelling (Novo AO)

11 years agodata: URL requests should serve the whole decoded URL
Zan Dobersek [Thu, 7 Mar 2013 20:23:15 +0000 (21:23 +0100)]
data: URL requests should serve the whole decoded URL

Address the possibility of data: URLs containing null characters when the data
request is being performed. The uri_decoded_copy method is enhanced with a
third argument, a pointer to an integer that should be set to the length of
decoded data when provided. This length is then set as the request's content
length.

A test checking the correct behavior is added in requester-test. Calls to
uri_decoded_copy where the length of the decoded output is not required are
adjusted to provide NULL as the third argument.

11 years ago[l10n] Updated Italian translation.
Milo Casagrande [Mon, 11 Mar 2013 16:00:46 +0000 (17:00 +0100)]
[l10n] Updated Italian translation.

11 years agoUpdated Greek translation
Dimitris Spingos [Sat, 9 Mar 2013 09:44:56 +0000 (11:44 +0200)]
Updated Greek translation

11 years agoUpdated Thai translation
Theppitak Karoonboonyanan [Sat, 9 Mar 2013 04:38:55 +0000 (11:38 +0700)]
Updated Thai translation

11 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 7 Mar 2013 16:02:43 +0000 (17:02 +0100)]
Updated Slovenian translation

11 years agoAdd SoupSession:proxy-resolver
Dan Winship [Sun, 17 Feb 2013 00:20:18 +0000 (19:20 -0500)]
Add SoupSession:proxy-resolver

Now that GSocketClient lets you override its proxy resolver, allow
setting a GProxyResolver on a SoupSession, to eventually pass on to
the GSocketClient.

(In the interest of not breaking things this late in the release
cycle, all of the old SoupProxyURIResolver code still exists as well,
in parallel, but in 2.43 it will be removed and replaced with
GProxyResolver-based backward-compat stuff.)

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

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Thu, 7 Mar 2013 15:06:46 +0000 (18:06 +0300)]
Updated Belarusian translation.

11 years agoUpdated Brazilian Portuguese translation
Enrico Nicoletto [Thu, 7 Mar 2013 02:57:19 +0000 (23:57 -0300)]
Updated Brazilian Portuguese translation

11 years agoSoupAuthManager: deal with "disappearing" auth headers
Dan Winship [Wed, 6 Mar 2013 17:17:19 +0000 (12:17 -0500)]
SoupAuthManager: deal with "disappearing" auth headers

Normally when sending a 401 response, a server re-sends the initial
WWW-Authenticate challenge. However, it doesn't actually have to, and
libsoup was getting confused if it didn't. Fix that.

https://bugzilla.redhat.com/show_bug.cgi?id=916224

11 years agoSoupSession: break infinite loops
Dan Winship [Wed, 6 Mar 2013 17:58:29 +0000 (12:58 -0500)]
SoupSession: break infinite loops

Every year or two some bug comes up that makes libsoup retry a request
infinitely. (Also, apps can do this on their own by not paying
attention to the "retrying" flag in SoupSession::authenticate.) Move
the "too many redirects" code and rework it to handle all possible
cases of "message gets resent a suspicious number of times".

11 years ago2.41.91 2.41.91 LIBSOUP_2_41_91 upstream/2.41.91
Dan Winship [Tue, 5 Mar 2013 15:48:24 +0000 (10:48 -0500)]
2.41.91

11 years agosoup-cache: update cached headers on revalidations
Sergio Villar Senin [Mon, 4 Mar 2013 16:58:41 +0000 (17:58 +0100)]
soup-cache: update cached headers on revalidations

SoupCache was not updating the cached headers on conditional requests. We
were only doing it for revalidations started by libsoup clients.

This also properly reset the values of freshness_lifetime and
must_revalidate on revalidations. These two fields were keeping their
original values even if the server wasn't providing such information.

Finally this adds a new cache test (do_header_test) and fixes the one
disabled with #ifdefs (second revalidations).

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

11 years agobuild: Remove gio resource compiler definition from configure.ac
Carlos Garcia Campos [Fri, 1 Mar 2013 13:18:39 +0000 (14:18 +0100)]
build: Remove gio resource compiler definition from configure.ac

The variable GLIB_COMPILE_RESOURCES is already set by AM_PATH_GLIB_2_0
macro. Spotted by Csaba Osztrogonác.

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

11 years agosoup-message-queue: hold a reference to the async context
Sergio Villar Senin [Mon, 4 Mar 2013 10:26:17 +0000 (11:26 +0100)]
soup-message-queue: hold a reference to the async context

This will ensure that the GMainContext is not freed at least until we get
rid of the queue item. This was causing crashes when synchronously
retrieving resources in WebKit as it uses a different GMainContext for each
of those synchronous requests.

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

11 years ago[l10n] Updated German translation
Mario Blättermann [Sun, 3 Mar 2013 20:11:04 +0000 (21:11 +0100)]
[l10n] Updated German translation

11 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 2 Mar 2013 13:44:41 +0000 (20:44 +0700)]
Updated Vietnamese translation

11 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sat, 2 Mar 2013 13:42:54 +0000 (20:42 +0700)]
po/vi: import from Damned Lies

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Fri, 1 Mar 2013 14:41:18 +0000 (22:41 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoPunjabi: Translation updated (aalam)
A S Alam [Tue, 26 Feb 2013 02:07:04 +0000 (07:37 +0530)]
Punjabi: Translation updated (aalam)

11 years agoUpdated slovak translation
Pavol Klačanský [Mon, 25 Feb 2013 19:30:40 +0000 (20:30 +0100)]
Updated slovak translation

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 25 Feb 2013 16:07:20 +0000 (17:07 +0100)]
Updated Norwegian bokmål translation

11 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 24 Feb 2013 19:55:55 +0000 (21:55 +0200)]
Updated Lithuanian translation

11 years agoexamples: use GOptionContext (finally)
Dan Winship [Sat, 23 Feb 2013 01:43:33 +0000 (02:43 +0100)]
examples: use GOptionContext (finally)

11 years agoexamples: move examples from tests/ to examples/
Dan Winship [Sat, 23 Feb 2013 01:13:26 +0000 (02:13 +0100)]
examples: move examples from tests/ to examples/

get, simple-httpd, and simple-proxy are more example code than test
programs, so move them into a separate directory.

Also, remove "dns", which was once a sort-of test of SoupAddress, but
is now just a redundant sort-of test of GResolver.

11 years agobuild: remove some cruft
Dan Winship [Fri, 22 Feb 2013 21:13:33 +0000 (22:13 +0100)]
build: remove some cruft

Remove accumulated cruft, mostly from things we used to depend on but
don't any more.

Also a few minor drive-by configure cleanups

11 years agoUpdated Uyghur translation
Gheyret Kenji [Fri, 22 Feb 2013 13:20:48 +0000 (22:20 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 21 Feb 2013 17:55:39 +0000 (19:55 +0200)]
Updated Hebrew translation.

11 years agoUpdated Galician translations
Fran Diéguez [Wed, 20 Feb 2013 09:40:04 +0000 (10:40 +0100)]
Updated Galician translations

11 years agotests: do skipped tests properly
Dan Winship [Wed, 20 Feb 2013 00:21:35 +0000 (19:21 -0500)]
tests: do skipped tests properly

automake interprets exit code 77 as meaning "skipped", so have the
various apache-dependent, php-dependent, and curl-dependent tests do
that, and compile them unconditionally. (Although, to avoid "unused"
warnings, we end up #ifdeffing out the whole file.)

11 years agotests: [CENSORED] [CENSORED] automake [CENSORED]
Dan Winship [Wed, 20 Feb 2013 00:02:59 +0000 (19:02 -0500)]
tests: [CENSORED] [CENSORED] automake [CENSORED]

Specifying serial-tests in AM_INIT_AUTOMAKE breaks the build with
automake 1.11, so the only way to support both 1.11 and 1.13 is to
make the tests work under the parallel harness. Fortunately this
wasn't that hard.

11 years agoAdded Aragonese translation
Daniel Martinez [Tue, 19 Feb 2013 22:17:42 +0000 (23:17 +0100)]
Added Aragonese translation

11 years agotests: fix under automake 1.13
Dan Winship [Tue, 19 Feb 2013 15:34:22 +0000 (10:34 -0500)]
tests: fix under automake 1.13

The parallel test harness (which is the default as of automake 1.13)
doesn't let you use make functions in the definition of TESTS. (It
generates an invalid Makefile in this case.) Since the tests as
currently written won't work with the parallel harness anyway (since
each apache-based test stops apache when it's done), just force the
serial harness for now.

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

11 years agosoup-session.c: do not emit content-sniffed if it isn't cached
Sergio Villar Senin [Tue, 19 Feb 2013 14:44:17 +0000 (15:44 +0100)]
soup-session.c: do not emit content-sniffed if it isn't cached

The SoupCache does not get any information from sniffed content types as it
works at a lower level. That's why sometimes we might not have any
Content-Type information for a cached resource (if the server does not
specify it).

11 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 19 Feb 2013 11:43:10 +0000 (12:43 +0100)]
Updated Spanish translation

11 years agoUpdated Czech translation
Marek Černocký [Tue, 19 Feb 2013 10:23:40 +0000 (11:23 +0100)]
Updated Czech translation

11 years ago2.41.90 2.41.90 LIBSOUP_2_41_90 upstream/2.41.90
Dan Winship [Mon, 18 Feb 2013 23:25:25 +0000 (18:25 -0500)]
2.41.90

11 years agoUpdated Serbian translation
Мирослав Николић [Mon, 18 Feb 2013 19:14:22 +0000 (20:14 +0100)]
Updated Serbian translation

11 years agoUpdated Polish translation
Piotr Drąg [Mon, 18 Feb 2013 15:17:37 +0000 (16:17 +0100)]
Updated Polish translation

11 years agocache-test: added a new cancellation test
Sergio Villar Senin [Fri, 15 Feb 2013 20:40:37 +0000 (21:40 +0100)]
cache-test: added a new cancellation test

Added do_refcounting_test that checks that streams do not leak any
reference when a message is cancelled just before starting to read.

This test also need a new cancel flag called
SOUP_TEST_REQUEST_CANCEL_AFTER_SEND_FINISH.

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

11 years agotest-utils: Added SOUP_TEST_REQUEST_CANCEL_IMMEDIATE flag
Sergio Villar Senin [Fri, 15 Feb 2013 20:15:08 +0000 (21:15 +0100)]
test-utils: Added SOUP_TEST_REQUEST_CANCEL_IMMEDIATE flag

We were assuming that if the SOUP_TEST_REQUEST_CANCEL_SOON flag was not
present then we wanted an immediate cancelation. That worked but now we need
to add it to support more cancellation types.

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

11 years agosoup-cache-input-stream: fixed a reference cycle
Sergio Villar Senin [Fri, 15 Feb 2013 20:40:28 +0000 (21:40 +0100)]
soup-cache-input-stream: fixed a reference cycle

Fixed a reference cycle between SoupCacheInputStream and a
GTask. This reference cycle was preventing the input stream from
being freed when the SoupMessage was cancelled before the stream
was completely read. Furthermore the SoupCache was not able to
complete the pending request because the SoupCacheInputStream was
not aware of the message cancellation and remained waiting forever.

In order to remove the cycle
soup_cache_input_stream_cache(_finish) were removed and the
caching operation finalization is now reported via a signal.
SoupCacheInputStream also implements close_fn which properly
finalizes any pending caching operation.

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

11 years agotests: simplify and improve "make check"
Dan Winship [Sat, 16 Feb 2013 23:26:54 +0000 (18:26 -0500)]
tests: simplify and improve "make check"

Remove rules that automake can figure out itself. Run the tests in
alphabetical order. Run "make kill-httpd" at the end of "make check",
in case the last httpd-using test crashed.

11 years agoSoupSession: remove some dead code, fix proxy error messages
Dan Winship [Sun, 27 Jan 2013 01:06:50 +0000 (20:06 -0500)]
SoupSession: remove some dead code, fix proxy error messages

SoupMessageQueueItem's proxy_addr and proxy_uri fields were no longer
being used, but they were still there, and SoupSession was trying to
use item->proxy_uri to provide clarifying information on
SOUP_STATUS_CANT_RESOLVE_PROXY / SOUP_STATUS_CANT_CONNECT_PROXY.

Remove the unused fields, and fix SoupSession to get the proxy name
from the SoupConnection instead.

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

11 years agoInternal renamings for clarity
Dan Winship [Sun, 27 Jan 2013 00:44:56 +0000 (19:44 -0500)]
Internal renamings for clarity

The GSocketClient::event signal gets proxied from GSocketClient to
SoupSocket to SoupConnection to SoupSession to SoupMessage (!) via
signal handlers that used to have "proxy" in their names. But that
made it sound like they had something to do with network proxies. So
rename them all (to "re_emit").

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

11 years agoUpdated Malayalam Localization
Anish A [Fri, 15 Feb 2013 06:30:05 +0000 (10:30 +0400)]
Updated Malayalam Localization

11 years agocache-test: added cancellation tests
Sergio Villar Senin [Wed, 30 Jan 2013 17:16:32 +0000 (18:16 +0100)]
cache-test: added cancellation tests

Added cancellation tests for both fresh and under revalidation resources.
These tests ensure that cancellations happen flawlessly and that any
potential revalidation process is also cancelled.

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

11 years agotest-utils: add cancellation support to soup_test_request_send
Sergio Villar Senin [Wed, 30 Jan 2013 16:56:38 +0000 (17:56 +0100)]
test-utils: add cancellation support to soup_test_request_send

The function gets a new parametter used to enable request cancellation for
both sync and async sessions. The cancellation could be performed by either
using the GCancellable or by directly cancelling the SoupMessage.

Also the GMainContext used to simulate sync operations with async ones will
now try to execute all its pending events before quiting the main loop.

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

11 years agosoup-session: handle cancellation of SoupCache resources
Sergio Villar Senin [Wed, 30 Jan 2013 19:05:29 +0000 (20:05 +0100)]
soup-session: handle cancellation of SoupCache resources

SoupSession will now properly handle cancellations (either with
soup_session_cancel_message or g_cancellable_cancel) of resources returned
by the cache whether they're fresh or need a revalidation.

http://bugzilla.gnome.org/show_bug.cgi?id=692310

11 years agoUpdated slovak translation
Pavol Klačanský [Sat, 9 Feb 2013 21:41:00 +0000 (22:41 +0100)]
Updated slovak translation

11 years agoSoupAuthNTLM: fix to do a "retrying" authenticate
Dan Winship [Thu, 7 Feb 2013 20:03:41 +0000 (15:03 -0500)]
SoupAuthNTLM: fix to do a "retrying" authenticate

If the first attempt at NTLM auth fails, let the auth manager emit a
"retrying" authenticate as well, just like normal auths do.

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

11 years agoSoupSession: fix a bug with the add-feature-by-type property
Dan Winship [Thu, 7 Feb 2013 19:14:47 +0000 (14:14 -0500)]
SoupSession: fix a bug with the add-feature-by-type property

The add-feature-by-type and remove-feature-by-type properties were
only accepting SoupSessionFeature types, so you couldn't use it for
things like request types, auth types, etc.

11 years agotests: fix non-php apache tests to still work without php
Dan Winship [Thu, 7 Feb 2013 14:23:31 +0000 (09:23 -0500)]
tests: fix non-php apache tests to still work without php

Setting "IF_HAVE_PHP" to "#" actually sets it to "", because the "#"
is treated as the start of a comment. We have to set it to "\#" if we
want to cause the "#" to actually get substituted into httpd.conf

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

11 years agoSoupSession: added a new construction-time property "local-address"
Jonh Wendell [Tue, 5 Feb 2013 15:57:44 +0000 (13:57 -0200)]
SoupSession: added a new construction-time property "local-address"

It will be proxied to the SoupConnection and then to SoupSocket,
allowing the user to specify a local address to bind the local socket.

11 years agoSoupConnection: added a new construction-time property "local-address"
Jonh Wendell [Tue, 5 Feb 2013 15:38:09 +0000 (13:38 -0200)]
SoupConnection: added a new construction-time property "local-address"

It will be proxied to the SoupSocket upon its creation.

11 years agoSoupSocket: Use the local socket, when available, even on client side.
Jonh Wendell [Tue, 5 Feb 2013 00:21:12 +0000 (22:21 -0200)]
SoupSocket: Use the local socket, when available, even on client side.

This allows binding the client connection to a specific local address.

11 years agoSoupSocket: Move the creation of socket clients to a single place
Jonh Wendell [Mon, 4 Feb 2013 23:52:26 +0000 (21:52 -0200)]
SoupSocket: Move the creation of socket clients to a single place

Thus avoiding duplication of code in sync and async functions.

11 years ago2.41.5 2.41.5 LIBSOUP_2_41_5 upstream/2.41.5
Dan Winship [Tue, 5 Feb 2013 15:14:44 +0000 (10:14 -0500)]
2.41.5