9727 Commits

Author SHA1 Message Date
Chun-wei Fan
41de9eff2c Update config.h.win32(.in) for VS 2010
VS 2010 ships with stdint.h, so update the file.
2011-04-22 18:57:49 +08:00
Ryan Lortie
e781c26b25 GTimeZone: fix non-threadsafe refcounting
In the previous code, if the timezone was pulled out of the cache again
just as the last reference was being dropped, the cache code will
increase its refcount and return it while the unref code was freeing it.

Protect against that.

Note that this patch is not a straight cherry-pick of the one from
master.  It follows closer to the solution that was originally
recommended in the bug and holds the mutex during every unref operation.
Because we don't have the GTimeZoneMonitor changes involved here, it's a
little bit more elegant (due to no early exit condition).  Also, it's
the stable release, and I have more confidence in it (even if it's
probably slower).

Closes #646435.
2011-04-16 10:52:12 -04:00
Ryan Lortie
8c24ea5f49 builder: do not include <unistd.h> on win32
Spotted by Kean Johnston <kean.johnston@gmail.com>.

https://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00010.html
2011-04-15 09:33:12 -04:00
Michael Kuhn
c06be20515 Bug 637561 - Crash when using G_DBUS_SERVER_FLAGS_RUN_IN_THREAD
https://bugzilla.gnome.org/show_bug.cgi?id=637561

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-15 06:26:55 -04:00
Simon McVittie
eb70e54370 /gdbus/message-serialize-invalid test: be compatible with D-Bus 1.4.8
Older versions of libdbus would let you construct an invalid
DBusMessage, but that's a bug, which will be fixed in 1.4.8/1.5.0.
Instead, construct a valid message of the same length, then replace
substrings in the serialized blob with their invalid counterparts.

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-15 06:26:36 -04:00
David Zeuthen
fc80ec9d0c GDBus: If an authentication method fail, don't give up, just try the next one
This problem was reported in bug 647602.

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-14 10:14:02 -04:00
David Zeuthen
69c4e81d0a GDBus: Nuke debug spew from the ANONYMOUS authentication method
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-14 10:13:43 -04:00
Colin Walters
3ea204ccf7 gdbusconnection: Avoid tripping assertion if we fail to authenticate twice
If g_bus_get_sync() fails in authentication (because e.g. the process
uid, doesn't match the expected in EXTERNAL), a secondary call to
g_bus_get_sync() would notice we aren't initialized, and try
to initialize.

The assertion here is just wrong; we now explicitly and clearly handle
both cases where we already have an error, or we already succeeded.

https://bugzilla.gnome.org/show_bug.cgi?id=635694
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-14 10:13:18 -04:00
Matthias Clasen
3a2d5c4089 Bump version 2011-04-14 00:26:56 -04:00
Matthias Clasen
fcb7549777 Updates for 2.28.6 2.28.6 2011-04-08 20:00:05 -04:00
Matthias Clasen
43882037fd Fix another faulty GApplicationCommandline example
Several flaws were pointed out by Shaun McCance. We were
leaking handled arguments, and we were mishandling the last
argument, and we were actually skipping arguments too.

https://bugzilla.gnome.org/show_bug.cgi?id=647031
2011-04-08 17:03:20 -04:00
Ryan Lortie
ddfddbcb40 Don't assert on backend == settings->priv->backend
They could be different if a notification is queued for delivery and
someone calls g_settings_delay().

Bug #646843.
2011-04-08 13:16:33 -04:00
Matthias Clasen
2aad89ab9b Avoid an interaction between GApplication and GOption
When using GOption to handle commandlines, we need to disable
the builtin help handling, since it calls exit(). Also mention
this particular pitfall in the docs.
2011-04-08 07:17:55 -04:00
Matthias Clasen
faa896642d Add a warning to the g_dbus_connection_set_exit_on_close docs
Tell people to not leak their apps out of the session.
2011-04-07 17:16:44 -04:00
Matej Urbančič
af59f8f502 Updated Slovenian translation 2011-04-06 12:31:00 +02:00
Amitakhya Phukan
19960e456c Updated Assamese translations 2011-04-05 12:36:15 +05:30
Jordi Serratosa
73db89ef34 [l10n]Fixes on Catalan translation 2011-04-04 21:47:05 +02:00
OKANO Takayoshi
70563b1e37 Updated Japanese translation 2011-04-04 21:27:35 +09:00
Murray Cumming
092a3c2419 Docs: Change DBus to D-Bus 2011-04-04 09:23:17 +02:00
Sandeep Sheshrao Shedmake
822da36d51 Updated Marathi Translations 2011-04-04 09:39:37 +05:30
Petr Kovar
8dec385e33 Update Czech translation 2011-04-04 04:10:42 +02:00
Inaki Larranaga Murgoitio
34b9f79430 Updated Basque language 2011-04-03 16:47:06 +02:00
Gabor Kelemen
b513701be1 Updated Hungarian translation 2011-04-03 10:29:57 +02:00
Murray Cumming
cdeb2dbd47 GDBusMethodInvocation: Improve get_parameters() documentation.
Note that the returned GVariant is always a tuple.
See bug #646420.
2011-04-03 09:11:59 +02:00
Daniel Nylander
c76d84efcc Updated Swedish translation 2011-04-02 15:46:34 +02:00
Matthias Clasen
08d881f05e Bump version 2011-04-01 14:30:01 -04:00
Matthias Clasen
471498c621 Docs: explain what a NULL vtable might be good for
https://bugzilla.gnome.org/show_bug.cgi?id=646419
2.28.5
2011-04-01 13:44:23 -04:00
Matthias Clasen
770442f2de Remove a reference to a nonexisting function from the docs
There is sadly no async g_dbus_server_new() function.
https://bugzilla.gnome.org/show_bug.cgi?id=646422
2011-04-01 11:50:38 -04:00
Matthias Clasen
048c843b3c Update NEWS 2011-04-01 11:09:43 -04:00
krishnababu k
5b75c32577 Updated Telugu Translations 2011-04-01 14:33:26 +05:30
krishnababu k
3687ab50d6 Updated Telugu Translations 2011-04-01 14:27:59 +05:30
Rajesh Ranjan
6f95b44f2e hindi updated 2011-03-31 17:33:07 +05:30
Miroslav Nikolić
a7a166f3bc Updated Serbian translation 2011-03-31 00:50:10 +02:00
Gil Forcada
565d365745 [l10n]Updated Catalan translation 2011-03-30 23:17:49 +02:00
Martin Pitt
2d3b3f8954 [gi] Add missing allow-none annotations to Gio 2011-03-30 19:58:16 +02:00
Friedel Wolff
6d4153481d Update translation for Afrikaans (af) 2011-03-30 18:54:08 +02:00
Djavan Fagundes
b30a98ae30 Updated Brazilian Portuguese translation 2011-03-30 12:36:18 -03:00
Bruce Cowan
f13243371d Updated British English translation 2011-03-30 15:22:38 +01:00
Chao-Hsiung Liao
d03b3ec749 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-03-30 21:19:43 +08:00
Dirgita
d238aaee5f Updated Indonesian translation 2011-03-30 00:16:20 +07:00
Jonathan Matthew
3ce857f9a4 introspection: add annotations for g_file_load_contents and friends
https://bugzilla.gnome.org/show_bug.cgi?id=645789
2011-03-29 12:03:03 -04:00
Gintautas Miliauskas
9c5ec1c263 Updated Lithuanian translation. 2011-03-29 14:15:42 +02:00
Gil Forcada
60eae44394 [l10n]Updated Catalan translation 2011-03-29 01:00:00 +02:00
Aron Xu
c69900a8cd Update Simplified Chinese translation. 2011-03-28 10:28:32 +00:00
Wouter Bolsterlee
60571bfbee Updated Dutch translation by Wouter Bolsterlee 2011-03-27 23:49:55 +02:00
Nguyễn Thái Ngọc Duy
40902423ff Updated Vietnamese translation 2011-03-27 00:38:07 +07:00
Nguyễn Thái Ngọc Duy
b43ed5ef3d po/vi.po: import from Damned Lies 2011-03-27 00:34:44 +07:00
Ask H. Larsen
c8d97e3c5c Updated Danish translation 2011-03-26 14:18:37 +01:00
Rudolfs Mazurs
4744335aa6 Updated Latvian translation. 2011-03-26 12:49:48 +02:00
Wolfgang Stöggl
b370a213fb Updated German translation 2011-03-26 09:46:42 +01:00