Dan Winship [Wed, 19 Jun 2013 00:15:50 +0000 (21:15 -0300)]
gnutls: don't crash if G_TLS_GNUTLS_PRIORITY is invalid
If G_TLS_GNUTLS_PRIORITY can't be parsed, print a warning and fall
back to the default value.
https://bugzilla.gnome.org/show_bug.cgi?id=701693
Dan Winship [Tue, 4 Jun 2013 23:21:10 +0000 (20:21 -0300)]
proxy/gnome: check GNOME_DESKTOP_SESSION_ID too
It claims to be deprecated, but $GNOME_DESKTOP_SESSION_ID seems to be
the only reliable identifier of GNOME-ness (other than probing D-Bus,
which we can't do from here).
https://bugzilla.gnome.org/show_bug.cgi?id=701377
Dan Winship [Tue, 28 May 2013 16:49:03 +0000 (13:49 -0300)]
2.37.2
Giovanni Campagna [Sat, 18 May 2013 21:57:55 +0000 (23:57 +0200)]
gnome: improve session detection.
Detect anything beginning with "gnome". Handles gnome-classic,
and custom gnome-jhbuild or similar sessions.
https://bugzilla.gnome.org/show_bug.cgi?id=700607
Dan Winship [Mon, 20 May 2013 13:11:47 +0000 (10:11 -0300)]
proxy/tests: fix to work when neither proxy module is available
automake ends up setting TEST_PROGS to " " in this case, but
Makefile.decl was assuming that if TEST_PROGS is not empty then it
contains actual tests, and then ended up bailing out by passing an no
tests to gtester. Fix it to use $(strip) to get the right result.
Also, drive-by automake warning fix in proxy/tests/Makefile.am
https://bugzilla.gnome.org/show_bug.cgi?id=700628
Dan Winship [Mon, 13 May 2013 21:06:29 +0000 (17:06 -0400)]
tls/tests: don't try to assert !G_IS_OBJECT() on destroyed objects
The pkcs11 tests were using g_assert(!G_IS_OBJECT()) to verify that
objects had been destroyed, but that's just crazy, and will crash
sometimes. Fix them to do a ref_count check instead.
Iain Lane [Tue, 14 May 2013 11:54:17 +0000 (12:54 +0100)]
proxy/tests/libproxy: Set GIO_EXTRA_MODULES to use the just-built module
https://bugzilla.gnome.org/show_bug.cgi?id=700286
Dan Winship [Mon, 13 May 2013 21:05:35 +0000 (17:05 -0400)]
proxy: two fixes to the previous libproxy commit
Dan Winship [Wed, 1 May 2013 12:43:12 +0000 (08:43 -0400)]
libproxy: fix handling of SOCKS in async API, add tests
Fix the handling of SOCKS proxies with g_proxy_resolver_lookup_async()
and the libproxy resolver. (Also, make the sync proxy resolver
properly cancellable.)
Add some tests of the libproxy resolver, based on the existing gnome
proxy resolver tests. Unfortunately, libproxy doesn't implement ignore
hosts in exactly the same way GProxyResolverGnome does, so we need to
keep track of which URIs they give different results for...
https://bugzilla.gnome.org/show_bug.cgi?id=699359
Dan Winship [Tue, 30 Apr 2013 20:41:14 +0000 (16:41 -0400)]
2.37.1
Iain Lane [Mon, 29 Apr 2013 17:42:53 +0000 (17:42 +0000)]
proxy/gnome: Use this in an Ubuntu (Unity) session too.
This avoids falling back to libproxy unnecessarily.
https://bugs.launchpad.net/ubuntu/+source/glib-networking/+bug/1172792
https://bugzilla.gnome.org/show_bug.cgi?id=698936
Dan Winship [Mon, 22 Apr 2013 19:15:48 +0000 (15:15 -0400)]
proxy/gnome: fix automatic mode
Automatic proxy resolution mode was accidentally getting more-or-less
ignored and treated as "none".
Dan Winship [Tue, 16 Apr 2013 12:58:12 +0000 (08:58 -0400)]
bump to 2.37.0
Olivier Crête [Wed, 10 Apr 2013 18:50:34 +0000 (14:50 -0400)]
gtlsconnection-gnutls: Only finish implicit handshake if handshake is implicit
Also add a test to prevent regressions, this test tries to do a async handshake,
and waits for the actual handshake to finish, but before allowing the callback to happen
it tries to do a write.
https://bugzilla.gnome.org/show_bug.cgi?id=697754
Dan Winship [Wed, 10 Apr 2013 21:22:40 +0000 (17:22 -0400)]
gnutls: buffer app data received during a rehandshake request
If a server requests a rehandshake but then receives application data,
gnutls 2.x silently buffers that data, but gnutls 3.x returns a
(non-fatal) error. Do the buffering inside GTlsConnectionGnutls so
that 2.x and 3.x end up behaving the same.
https://bugzilla.gnome.org/show_bug.cgi?id=695062
Muhammet Kara [Wed, 10 Apr 2013 20:41:22 +0000 (23:41 +0300)]
[l10n] Updated Turkish translation
Emmanuel Pacaud [Mon, 25 Mar 2013 13:38:23 +0000 (14:38 +0100)]
gnutls: correctly set CFLAGS using GNUTLS_CFLAGS
(recommit with correct bug url)
https://bugzilla.gnome.org/show_bug.cgi?id=696519
Dan Winship [Wed, 3 Apr 2013 16:38:05 +0000 (12:38 -0400)]
Revert "gnutls: correctly set CFLAGS using GNUTLS_CFLAGS"
This reverts commit
9802180053a0e8eb23116d2f6cd6abb32d9bab3b.
Emmanuel Pacaud [Mon, 25 Mar 2013 13:38:23 +0000 (14:38 +0100)]
gnutls: correctly set CFLAGS using GNUTLS_CFLAGS
https://bugzilla.gnome.org/show_bug.cgi?id=692134
Olivier Crête [Fri, 29 Mar 2013 22:42:45 +0000 (18:42 -0400)]
tlsconnection-gnutls: Create the cancellable pollfd in right buffer
The cancellable pollfd was overwriting the waiting_op one
https://bugzilla.gnome.org/show_bug.cgi?id=696881
Andika Triwidada [Fri, 29 Mar 2013 04:57:56 +0000 (11:57 +0700)]
Updated Indonesian translation
Fabio Tomat [Tue, 26 Mar 2013 12:05:43 +0000 (13:05 +0100)]
Added Friulian translation
Fabio Tomat [Tue, 26 Mar 2013 12:05:32 +0000 (13:05 +0100)]
Added Friulian translation
Dan Winship [Mon, 25 Mar 2013 12:36:29 +0000 (08:36 -0400)]
2.36.0
Rajesh Ranjan [Mon, 25 Mar 2013 09:46:04 +0000 (15:16 +0530)]
hindi translation by chandan kumar
Richard Stanislavský [Sun, 24 Mar 2013 23:30:11 +0000 (00:30 +0100)]
Updated slovak translation
Yuri Myasoedov [Sat, 23 Mar 2013 16:39:03 +0000 (20:39 +0400)]
Updated Russian translation
Arash Mousavi [Sat, 23 Mar 2013 13:41:24 +0000 (18:11 +0430)]
L10N: Updated Persian Translation
Ville-Pekka Vainio [Thu, 21 Mar 2013 20:39:25 +0000 (22:39 +0200)]
Finnish translation update by Jiri Grönroos
Inaki Larranaga Murgoitio [Wed, 20 Mar 2013 08:39:04 +0000 (09:39 +0100)]
Updated Basque language
Victor Ibragimov [Tue, 19 Mar 2013 21:30:41 +0000 (22:30 +0100)]
[l10n] Added Tadjik translation
Carles Ferrando [Sun, 17 Mar 2013 19:04:03 +0000 (20:04 +0100)]
[l10n] Updated Catalan (Valencian) translation
Rūdolfs Mazurs [Sun, 17 Mar 2013 18:22:50 +0000 (20:22 +0200)]
Updated Latvian translation
Ask H. Larsen [Sun, 17 Mar 2013 13:55:22 +0000 (14:55 +0100)]
Updated Danish translation
Duarte Loreto [Fri, 15 Mar 2013 12:42:46 +0000 (12:42 +0000)]
Updated Portuguese translation and converted to New Spelling (Novo AO)
Nilamdyuti Goswami [Tue, 12 Mar 2013 12:58:57 +0000 (18:28 +0530)]
Assamese translation updated for gnome 3.8
Changwoo Ryu [Mon, 11 Mar 2013 17:31:28 +0000 (02:31 +0900)]
Updated Korean translation
Joan Duran [Sun, 10 Mar 2013 22:48:37 +0000 (23:48 +0100)]
[l10] Updated Catalan translation
Theppitak Karoonboonyanan [Sat, 9 Mar 2013 04:46:20 +0000 (11:46 +0700)]
Updated Thai translation
Ihar Hrachyshka [Thu, 7 Mar 2013 14:40:07 +0000 (17:40 +0300)]
Updated Belarusian translation.
Dan Winship [Tue, 5 Mar 2013 15:37:19 +0000 (10:37 -0500)]
2.35.9
Dan Winship [Tue, 5 Mar 2013 14:29:55 +0000 (09:29 -0500)]
gnutls: handle another case of connection-closed-during-handshake
fixes one of the tests with gnutls 3.x
https://bugzilla.gnome.org/show_bug.cgi?id=694812
Mario Blättermann [Mon, 4 Mar 2013 07:35:14 +0000 (08:35 +0100)]
[l10n] Updated German translation
Nguyễn Thái Ngọc Duy [Sat, 2 Mar 2013 13:35:11 +0000 (20:35 +0700)]
Updated Vietnamese translation
Chao-Hsiung Liao [Fri, 1 Mar 2013 14:24:56 +0000 (22:24 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
A S Alam [Tue, 26 Feb 2013 01:50:01 +0000 (07:20 +0530)]
Punjabi: Translation updated (aalam)
Alexandre Franke [Mon, 25 Feb 2013 19:13:18 +0000 (20:13 +0100)]
Update French translation
Gheyret Kenji [Fri, 22 Feb 2013 13:25:54 +0000 (22:25 +0900)]
Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
Daniel Martinez [Wed, 20 Feb 2013 00:20:00 +0000 (01:20 +0100)]
Added Aragonese translation
Dan Winship [Tue, 19 Feb 2013 12:59:44 +0000 (07:59 -0500)]
2.35.8
Dan Winship [Mon, 28 Jan 2013 16:06:21 +0000 (11:06 -0500)]
proxy/gnome: port to GSimpleProxyResolver
Make GProxyResolverGnome a wrapper around GSimpleProxyResolver, and
remove all the code that is no longer needed as a result.
(It can't be a subclass because of odd GType restrictions involving
interfaces and dynamic types.)
Also add more tests to proxy/tests/gnome, based on the
GSimpleProxyResolver tests.
Anish A [Fri, 15 Feb 2013 06:32:53 +0000 (10:32 +0400)]
Updated Malayalam Localization
Dan Winship [Wed, 13 Feb 2013 18:34:34 +0000 (13:34 -0500)]
tls/tests/connection: fix some race conditions
Close the client-side connection cleanly, to avoid a race condition
where the server side might see an unclean close.
In teardown_connection(), loop waiting for objects to be destroyed
rather than just asserting that the ref we hold is the last one; in
some cases, a GTask in another thread may still be holding a reference
on one of the objects for an instant after teardown_connection() is
called.
https://bugzilla.gnome.org/show_bug.cgi?id=693720
Dan Winship [Wed, 13 Feb 2013 16:13:43 +0000 (11:13 -0500)]
gnutls: free op_mutex in finalize()
https://bugzilla.gnome.org/show_bug.cgi?id=693718
Dan Winship [Tue, 5 Feb 2013 15:05:02 +0000 (10:05 -0500)]
2.35.6
Dan Winship [Mon, 28 Jan 2013 15:45:31 +0000 (10:45 -0500)]
proxy/gnome: fix up threading issues and other bugs
We had a mutex to deal with the possibility of multi-threaded use, but
were unlocking it too soon, so there wasn't any actual thread safety
(or at least, not much) if GProxyResolverGnome was being used from
multiple threads at the moment that the GSettings were changed.
Additionally, lookup_async() wasn't noticing updates to the settings
if they switched from automatic to manual/direct, and if they switched
from in the other direction, then the first lookup_async() call after
the change would end up making a synchronous call to the pacrunner.
Also, fix two cases where an operation could return both a list of
proxies and a GError.
Anish A [Sat, 2 Feb 2013 17:28:49 +0000 (21:28 +0400)]
Updated Malayalam Localization
Milo Casagrande [Thu, 24 Jan 2013 21:41:37 +0000 (22:41 +0100)]
[l10n] Updated Italian translation.
Kjartan Maraas [Mon, 21 Jan 2013 11:27:58 +0000 (12:27 +0100)]
Updated Norwegian bokmål translation
Gheyret Kenji [Sun, 20 Jan 2013 10:45:56 +0000 (19:45 +0900)]
Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
Мирослав Николић [Fri, 18 Jan 2013 11:02:02 +0000 (12:02 +0100)]
Updated Serbian translation
Dan Winship [Mon, 14 Jan 2013 22:36:56 +0000 (17:36 -0500)]
2.35.4
Alexander Shopov [Tue, 8 Jan 2013 19:50:14 +0000 (21:50 +0200)]
Updated Bulgarian translation
Balázs Úr [Mon, 31 Dec 2012 18:04:31 +0000 (19:04 +0100)]
Updated Hungarian translation
Antonio Fernandes C. Neto [Tue, 25 Dec 2012 22:45:07 +0000 (20:45 -0200)]
Updated Brazilian Portuguese Translation
Fran Diéguez [Mon, 24 Dec 2012 21:52:12 +0000 (22:52 +0100)]
Updated Galician translations
Dimitris Spingos [Mon, 24 Dec 2012 15:26:37 +0000 (17:26 +0200)]
Updated Greek translation
Robert Ancell [Fri, 21 Dec 2012 02:18:28 +0000 (15:18 +1300)]
Fake being in GNOME to run GNOME proxy settings test
Mattias Põldaru [Wed, 19 Dec 2012 14:36:46 +0000 (16:36 +0200)]
[l10n] Updated Estonian translation
Matej Urbančič [Tue, 18 Dec 2012 07:40:20 +0000 (08:40 +0100)]
Updated Slovenian translation
Dan Winship [Tue, 18 Dec 2012 01:22:47 +0000 (20:22 -0500)]
2.35.3
Dan Winship [Sun, 9 Dec 2012 17:55:33 +0000 (18:55 +0100)]
proxy/gnome: only use this when running under GNOME
The original idea had been that people could just not build/install
this module if they didn't want the GNOME proxy settings, but that
hasn't really worked. So change it to only use this module when in a
GNOME session (falling back to the libproxy module otherwise).
Dan Winship [Fri, 7 Dec 2012 14:37:22 +0000 (15:37 +0100)]
gnutls: fix a hang when closing during handshake
If the app did a synchronous g_io_stream_close() on a connection that
had completed an async handshake but not yet run finish_handshake(),
it would hang forever (because the close would be blocking the main
loop that finish_handshake() was going to run in, and it couldn't
continue until finish_handshake() ran).
Fix this by yielding the handshake op from the end of the handshake
thread, and then in async_handshake_completed(), deal with the
possibility that someone else might have already run
finish_handshake() for us.
Add a test for this to tls/tests/connection. This patch also disables
the refcount checking on test->client_connection for now, because the
new code makes it racy; it's possible we'll run teardown_connection()
before the handshake GTask has dropped its ref on the connection.
https://bugzilla.gnome.org/show_bug.cgi?id=688751
Dan Winship [Wed, 5 Dec 2012 20:05:21 +0000 (15:05 -0500)]
gnutls: move some code from finish_handshake to handshake
verify_peer_certificate() doesn't emit signals, and might block, so it
should happen in the handshake thread. And then with that moved there
there's no reason to not do the other (non-interactive)
certificate-related checks there as well.
Dan Winship [Wed, 5 Dec 2012 20:02:47 +0000 (15:02 -0500)]
tls/tests: fix a race condition
Dan Winship [Wed, 5 Dec 2012 20:02:07 +0000 (15:02 -0500)]
gnutls: deal with G_IO_ERROR_BROKEN_PIPE
glib 2.35 breaks G_IO_ERROR_BROKEN_PIPE out of G_IO_ERROR_FAILED, so
we need to recognize that now as well.
Dan Winship [Tue, 4 Dec 2012 16:37:31 +0000 (11:37 -0500)]
tests: remove an always-false check
Marek Černocký [Sun, 2 Dec 2012 20:49:53 +0000 (21:49 +0100)]
Updated Czech translation
Daniel Mustieles [Sun, 2 Dec 2012 18:32:12 +0000 (19:32 +0100)]
Updated Spanish translation
Piotr Drąg [Sun, 2 Dec 2012 04:58:46 +0000 (05:58 +0100)]
Updated Polish translation
Aurimas Černius [Fri, 30 Nov 2012 19:55:34 +0000 (21:55 +0200)]
Updated Lithuanian translation
Yaron Shahrabani [Fri, 30 Nov 2012 08:54:01 +0000 (10:54 +0200)]
Updated Hebrew translation.
Stef Walter [Thu, 29 Nov 2012 12:51:46 +0000 (13:51 +0100)]
gnutls: Don't hang trying to handshake, if early close
When closing a connection before the handshake, the GTlsConnectionGnutls
code would try to do a handshake. Fix this, and test for it.
https://bugzilla.gnome.org/show_bug.cgi?id=689271
Stef Walter [Thu, 29 Nov 2012 10:05:06 +0000 (11:05 +0100)]
tls: Add a test for client certificate auth failure
Add a test where the server requires a certificate from the client
but the server doesn't provide any.
https://bugzilla.gnome.org/show_bug.cgi?id=689260
Stef Walter [Thu, 29 Nov 2012 10:01:45 +0000 (11:01 +0100)]
gnutls: Allow closing a connection cleanly if handshake fails
Only set the internal ever_handshaked flag if the handshake was
successful. Otherwise using g_io_stream_close() after a handshake
failure results in an internal gnutls error.
https://bugzilla.gnome.org/show_bug.cgi?id=689260
Stef Walter [Thu, 29 Nov 2012 10:00:00 +0000 (11:00 +0100)]
gnutls: Appropriate error when server requires cert but none
When the server requires a certificate for auth, but none is
provider, return the appropriate G_TLS_ERROR_CERTIFICATE_REQUIRED
error.
https://bugzilla.gnome.org/show_bug.cgi?id=689260
Stef Walter [Thu, 29 Nov 2012 09:55:23 +0000 (10:55 +0100)]
gnutls: Fix regression where begin_handshake() is not called
The begin_handshake() virtual method is no longer called. This results
in stuff like the GTlsServerConnection authentication-mode not being
passed to gnutls.
Fix issue, and add tests which a future regression in this area
should fall over.
https://bugzilla.gnome.org/show_bug.cgi?id=689259
Stef Walter [Thu, 29 Nov 2012 13:15:09 +0000 (14:15 +0100)]
gnutls: Avoid assertion in finish_handshake()
https://bugzilla.gnome.org/show_bug.cgi?id=689274
Richard Stanislavský [Fri, 2 Nov 2012 19:50:28 +0000 (19:50 +0000)]
Updated Slovak translation
Richard Stanislavský [Fri, 2 Nov 2012 19:49:11 +0000 (19:49 +0000)]
Added Slovak translation
Saleem Abdulrasool [Wed, 31 Oct 2012 17:43:04 +0000 (10:43 -0700)]
build: disable TLS tests unless GNUTLS is enabled
All of the TLS tests hard-depend on GNUTLS. If glib-networking is built without
GNUTLS, then simply disable the TLS tests.
Dan Winship [Mon, 22 Oct 2012 21:38:49 +0000 (23:38 +0200)]
2.35.1
Dan Winship [Mon, 22 Oct 2012 16:57:45 +0000 (18:57 +0200)]
Remove now-unnecessary g_type_init() calls
Dan Winship [Wed, 20 Jun 2012 20:17:57 +0000 (16:17 -0400)]
Port to GTask
Mattias Põldaru [Mon, 22 Oct 2012 19:02:32 +0000 (22:02 +0300)]
[l10n] Updated Estonian translation
Dan Winship [Wed, 10 Oct 2012 21:08:49 +0000 (17:08 -0400)]
post-branch version bump
Dan Winship [Mon, 24 Sep 2012 17:13:50 +0000 (13:13 -0400)]
2.34
YunQiang Su [Sat, 22 Sep 2012 20:06:39 +0000 (04:06 +0800)]
update Simplified Chinese (zh_CN) translation
Unticha Pramgoed [Sat, 22 Sep 2012 15:25:43 +0000 (22:25 +0700)]
Updated Thai translation
Khaled Hosny [Thu, 20 Sep 2012 05:26:44 +0000 (07:26 +0200)]
Updated Arabic translation