summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated Traditional Chinese translation(Hong Kong and Taiwan)Chao-Hsiung Liao2013-02-042-18/+68
|
* soup-session: use SoupMessageQueueItem's cancellable for the GTaskSergio Villar Senin2013-02-041-4/+12
| | | | | | | | | | | Even if the caller does not specify a GCancellable the GTask must use the one that comes with the item by default. This also sets check_cancellable() to FALSE in the session's GTask in order not to override error messages previously set on the GTask in case of cancellations. https://bugzilla.gnome.org/show_bug.cgi?id=692310
* [l10n] Updated German translationAndre Jonas2013-02-031-17/+39
|
* [l10n] Updated Italian translation.Milo Casagrande2013-01-241-16/+37
|
* Revert "SoupURI: replace NULL password with "" on http"Dan Winship2013-01-212-8/+6
| | | | | | | | | | This broke CalDAV in evolution. I'm not sure exactly why, but if it broke that, it might break other things too, so let's just revert this. This reverts commit 38901ca5e684a8fac75e6ff740d45c82dd44181a. https://bugzilla.gnome.org/show_bug.cgi?id=692149
* Updated Norwegian bokmål translationKjartan Maraas2013-01-211-16/+37
|
* Updated Uyghur translationGheyret Kenji2013-01-201-16/+39
| | | | Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
* soup-body-input-stream: update priv->eof when skippingSergio Villar Senin2013-01-181-1/+3
| | | | | | | | | We must update the priv->eof field in the skip() operation as we do in read(). This bug was causing redirects not to finish because the SoupBodyInputStream was creating a pollable source that will never issue anything instead of a plain timeout source. https://bugzilla.gnome.org/show_bug.cgi?id=692026
* set_ssl_ca_file: don't try unreffing tlsdb if it's NULLGuillaume Desmottes2013-01-171-1/+2
| | | | | | | | If g_tls_file_database_new() failed for any reason but G_TLS_ERROR_UNAVAILABLE, we don't create a fallback DB and so tlsdb stays NULL. https://bugzilla.gnome.org/show_bug.cgi?id=691930
* Updated Serbian translationМирослав Николић2013-01-172-18/+64
|
* Updated Belarusian translation.Ihar Hrachyshka2013-01-151-7/+28
|
* 2.41.4LIBSOUP_2_41_42.41.4Dan Winship2013-01-142-1/+61
|
* soup-session: add SoupMessage-based streaming APIsDan Winship2013-01-145-17/+130
| | | | | | SoupRequestHTTP is now implemented in terms of SoupSession SoupMessage operations, so we might as well just expose those directly, for people who want streaming APIs, but not SoupRequest.
* soup-message: belated #include cleanupDan Winship2013-01-121-3/+0
| | | | | | Remove some includes that I had commented out to see if they were still needed, but then forgot to actually remove when it turned out they weren't.
* SoupURI: replace NULL password with "" on httpDan Winship2013-01-122-6/+8
| | | | | All supported HTTP auth methods use both username and password, so assume a password of "" if none is given
* soup-auth-digest: fix a leak on re-authDan Winship2013-01-121-0/+3
| | | | | | | Calling soup_auth_authenticate() on an already-authenticated SoupAuthDigest would leak the old username and hashed password. https://bugzilla.gnome.org/show_bug.cgi?id=690142
* Updated Bulgarian translationAlexander Shopov2013-01-121-14/+35
|
* soup-session: fix a deadlock when aborting a SoupSessionSyncDan Winship2013-01-091-0/+1
| | | | | | | | We need to signal conn_cond when removing an item from the queue, since flush_queue() expects that... (and also, since in some cases, removing a message from the queue will allow another one to start). https://bugzilla.gnome.org/show_bug.cgi?id=691399
* Add explicit soup-version.h include into soup.hMilan Crha2013-01-091-0/+1
|
* build: Do not use AM_GLIB_GNU_GETTEXTJavier2013-01-082-3/+2
| | | | The po/Makefile.in.inis generated by intltoolize
* autogen.sh: Use autoreconf instead gnome-autogenJavier2013-01-081-15/+27
|
* soup_message_get_https_status: provide info for failed attempts tooDan Winship2013-01-073-8/+14
| | | | | | | | | SoupMessage:tls-certificate and SoupMessage:tls-errors were only getting set for successful https connections. It is useful to have them be set on failed ones as well. Fix that, and make ssl-test test it. https://bugzilla.gnome.org/show_bug.cgi?id=690176
* Revert "SoupConnection: disconnect on failed connections/tunnels"Dan Winship2013-01-072-19/+5
| | | | | | | | | | Disconnecting clears priv->sock, and in some cases, the caller may want to look at that after the failed connection. So switch this back to having the session do the disconnecting itself (which is simpler now due to various SoupSession rewrites), and remove one inconsistent case where the connection was disconnecting itself before. This reverts commit 21d707d66460233596a04f6dc99c945d2dbc3085.
* Fix previous commitDan Winship2013-01-061-2/+5
|
* soup-session: fix up the SoupRequest requeuing logicDan Winship2013-01-051-8/+16
| | | | | | | | Split the "this message is likely to be requeued" logic into a single function that the sync and async codepaths can share, and fix it to not think that SOUP_MESSAGE_NO_REDIRECT messages will be redirected, or that messages that disable SOUP_TYPE_AUTH_MANAGER will be authenticated.
* Rename LIBSOUP_DISABLE_DEPRECATED to SOUP_DISABLE_DEPRECATEDDan Winship2013-01-0410-11/+11
| | | | | | | | | GNOME_MAINTAINER_MODE_DEFINES apparently sets LIBSOUP_DISABLE_DEPRECATED, which is now causing various jhbuild modules to break. "Fix" this by renaming the define (which is only still there because gtk-doc complains if it's not). The *right* way to get deprecation warnings/errors now is to define SOUP_VERSION_MIN_REQUIRED.
* soup-auth-manager: make this thread-safeDan Winship2013-01-021-3/+29
| | | | | | | Very belatedly, make SoupAuthManager thread-safe. It also ensures that any SoupAuth that it manages is only manipulated from one thread at a time.
* soup-auth-manager: add soup_auth_manager_use_auth()Dan Winship2013-01-027-10/+105
| | | | | | Add soup_auth_manager_use_auth(), for "preloading" authentication, and make the old automatically-request-NTLM behavior happen only for the legacy SoupSession subclasses.
* SoupAuthManager: make this publicDan Winship2013-01-028-19/+87
|
* soup-auth-manager: split out connection handlingDan Winship2013-01-0214-217/+483
| | | | | | | | | | | | Add a new SoupConnectionAuth class to help with connection tracking, and make SoupAuthNTLM a subclass of it. Allow a single SoupAuthNTLM to carry state information about multiple connections. Make SoupSession store the SoupConnection a SoupMessage is associated with on the message, and use that from SoupConnectionAuth rather than tracking sockets by hand like SoupAuthManager had previously done. Remove the connection tracking in SoupAuthManager, since it is no longer needed.
* soup-auth-ntlm: get rid of separate SSO statesDan Winship2013-01-021-26/+24
| | | | | | Use a single boolean to track whether we're using single-sign-on (/usr/bin/ntlm_auth) rather than having two parallel sets of SoupNTLMStates.
* ntlm-test: kill some dead codeDan Winship2013-01-021-5/+0
|
* ntlm-test-helper: fixDan Winship2013-01-022-2/+2
| | | | | | | | | | | | | | | | | | | We need to set SOUP_NTLM_AUTH_DEBUG to an empty string (to tell SoupAuthNTLM to always use built-in NTLM), not leave it unset, which will let SoupAuthNTLM use the real ntlm_auth binary. (The effect of this bug was that instead of always using built-in NTLM, ntlm-test-helper would first try to use ntlm_auth, and fail because there were no cached credentials, and then fall back to built-in NTLM, which meant that we were testing the fallback codepath even in the supposed-to-be-non-fallback case. Unless your username was "alice" or "bob" and you had a working winbind configuration, in which case the tests would just fail.) Also, fix up ntlm-test a bit, so that if ntlm-test-helper for some reason tries to authenticate as someone other than alice or bob, it recognizes this, rather than considering everyone who isn't alice to be bob.
* soup-auth-domain-digest: minor documentation correctionGuenther Wutz2013-01-021-1/+1
|
* Updated Friulian translationTmTFx2012-12-302-0/+82
|
* soup-auth-ntlm: small fixDan Winship2012-12-291-1/+1
|
* Reorganize NTLM authentication, fix ntlm_auth supportDan Winship2012-12-2914-1490/+1352
| | | | | | | | | | | | | | | Move the auth-managery parts of SoupAuthManagerNTLM down into SoupAuthManager, and the NTLMy parts into SoupAuthNTLM (in preparation for supporting other kinds of connection-based auth such as Negotiate). The reorganization also makes it possible to use SoupAuthNTLM to implement a mock version of /usr/bin/ntlm_auth, so we can extend ntlm-test to test both the built-in-NTLM and external-NTLM codepaths. Doing this reveals that, AFAICT, the external codepath did not previously actually work, because it mis-used G_SPAWN_FILE_AND_ARGV_ZERO and so ended up passing incorrect arguments to /usr/bin/ntlm_auth.
* tests: add session-testDan Winship2012-12-282-0/+237
| | | | | | Add a test that each of the 3 SoupSession types (plain, async, sync) behaves as expected with soup_session_queue_message(), soup_session_send_message(), and soup_session_cancel_message().
* SoupSession: update docs (and some semantics) for plain SoupSessionDan Winship2012-12-2813-142/+463
| | | | | | | Update the docs to reflect the changes in plain SoupSessions vs its traditional subclasses. And while we're there, add a few new ones (including making soup_session_queue_message() and soup_session_send_message() work on plain SoupSession.
* Revert the mirroring of SoupMessage API onto SoupRequestHTTP.Dan Winship2012-12-2812-628/+61
| | | | | | | | | | | SoupMessage isn't being deprecated, and mirroring its API onto SoupRequestHTTP is just going to result in always having to add every new API twice. Also, it turns out to be less useful than originally expected anyway, since you end up having to cast between SoupRequest and SoupRequestHTTP frequently anyway. This reverts commit d7117329400e47d2187ed033099d921d555f8d71 and most of commit 53c270d0e2868fa5ad48ce864f10a9486b11a071.
* Add back LIBSOUP_DISABLE_DEPRECATEDDan Winship2012-12-287-2/+11
| | | | | | gtk-doc expects "Deprecated:" notes in docs to be matched up with some deprecation-guard #define. So even though we don't want people to use it any more, add LIBSOUP_DISABLE_DEPRECATED back.
* docs: more fixesDan Winship2012-12-2811-43/+90
|
* docs: Lots of minor fixes and additionsDan Winship2012-12-2722-49/+315
|
* Updated Hebrew translation.Yaron Shahrabani2012-12-271-9/+30
|
* soup-session: move cache handling hereDan Winship2012-12-263-112/+125
| | | | | | Move the SoupCache special handling from SoupRequestHTTP to SoupSession (as another step towards making SoupCache not such a magical special case hack that only works in certain situations).
* tests: add cache-testDan Winship2012-12-262-0/+444
| | | | | | Add a test of basic cache functionality (finally!) Still needs more tests...
* test-utils: remove unnecessary #includesDan Winship2012-12-261-3/+0
|
* Updated Polish translationPiotr Drąg2012-12-231-2/+6
|
* Updated Galician translationsFran Diéguez2012-12-231-2/+6
|
* Updated Slovenian translationMatej Urbančič2012-12-221-16/+35
|