Commit Graph

9668 Commits

Author SHA1 Message Date
Jordi Serratosa
9fdc8d976a [l10n]Fixes on Catalan translation 2011-04-04 21:45:39 +02:00
OKANO Takayoshi
418358f452 Updated Japanese translation 2011-04-04 21:27:48 +09:00
Murray Cumming
3ac7e0a7fe Docs: Change DBus to D-Bus 2011-04-04 09:22:06 +02:00
Petr Kovar
27a067a3c8 Update Czech translation 2011-04-04 04:11:17 +02:00
Gabor Kelemen
88a6723bf4 Updated Hungarian translation 2011-04-03 10:14:26 +02:00
Murray Cumming
32e26cf179 GDBusMethodInvocation: Improve get_parameters() documentation.
Note that the returned GVariant is always a tuple.
See bug #646420.
2011-04-03 09:13:15 +02:00
Colin Walters
98365dff73 gqsort: Quiet a compiler warning for qsort_r 2011-03-31 17:07:07 -04:00
Colin Walters
14bb138d58 goption: [linux] Look in /proc/self/cmdline for argv0 if not specified
We really shouldn't use <unknown> when we can perfectly easily
get argv0 out of /proc.  This avoids people having to pass argv
down into gtk_init/g_option_context_parse etc., which is important
because GTK+ uses it to initialize the WM_CLASS, which in turn
GNOME Shell consumes for application tracking.

https://bugzilla.gnome.org/show_bug.cgi?id=644309
2011-03-31 15:29:42 -04:00
Ryan Lortie
131b9f98ea gio.symbols updates 2011-03-31 15:55:21 +05:30
Ryan Lortie
7a752e0817 Improve .gitignore 2011-03-31 15:51:01 +05:30
Ryan Lortie
0cadce7e93 glib.symbols: add some missing symbols 2011-03-31 15:47:54 +05:30
Ryan Lortie
d95b750a1d compile schemas test: open ranges for all types
We need to make sure that every value in the table actually parses with
GVariant.
2011-03-31 15:15:09 +05:30
Ryan Lortie
d2af82e820 gschema-test: invert expectation for min/max omit
It is now completely valid.

Fix up what is now a legitimate range error in the schema used in one of
the tests.
2011-03-31 15:15:09 +05:30
Ryan Lortie
cde83c8ccd glib-compile-schemas: min and max are now optional
Will be taken to be the minimum and maximum value for the type of the
key if they are left out.

Bug #646310.
2011-03-31 15:14:46 +05:30
Ryan Lortie
cd35e2e643 GVariant test: test parsing of "inf" and "nan" 2011-03-31 15:09:55 +05:30
Ryan Lortie
85633f1182 GVariant parser: parse "inf", "-inf" and "nan" 2011-03-31 15:09:26 +05:30
Ryan Lortie
24ed841d6a GVariant parser: match strings without consuming
Add a new function that allows the parser to check that the current
token is equal to a given string without consuming the token.
Reimplement the 'consume' function in terms of the new function.
2011-03-31 14:45:50 +05:30
Ryan Lortie
f6dff49136 GVariant parser: fix memory error
In some cases it was possible for the GVariant parser to access past the
'limit' parameter.  This should fix that.
2011-03-31 14:14:59 +05:30
Ryan Lortie
49fa69e05e Add 'uint' convenience functions for GSettings
Without getting into a debate about the reasons why you may or may not
want to use unsigned integers, it's sufficient to note that people have
been using them and requesting this functionality.

Bug #641755.
2011-03-31 12:47:03 +05:30
Ryan Lortie
e9ce8f2374 Add GTimeZoneMonitor
Monitors /etc/localtime for changes and instructs GTimeZone to drop its
cache.  Also has a signal for interested 3rd parties.
2011-03-31 12:47:03 +05:30
Ryan Lortie
de3a3b181a g_time_zone_new_local: cache the result
Add a function to drop the cache.
2011-03-31 12:47:02 +05:30
Ryan Lortie
29a074b87e GTimeZone: don't add /etc/localtime to the cache
It may change.
2011-03-31 12:47:02 +05:30
Miroslav Nikolić
3d46c848c5 Updated Serbian translation 2011-03-31 00:47:41 +02:00
Gil Forcada
d306d0019b [l10n]Updated Catalan translation 2011-03-30 23:18:09 +02:00
Martin Pitt
04969571bb [gi] Add missing allow-none annotations to Gio 2011-03-30 19:52:31 +02:00
Friedel Wolff
abe5750540 Update translation for Afrikaans (af) 2011-03-30 18:53:38 +02:00
Bruce Cowan
92977a2217 Updated British English translation 2011-03-30 15:22:54 +01:00
Chao-Hsiung Liao
5f71bb583b Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-03-30 21:17:26 +08:00
Gintautas Miliauskas
c9bc758e8d Updated Lithuanian translation. 2011-03-29 14:14:32 +02:00
Jonathan Matthew
95e7aa0e07 introspection: add annotations for g_file_load_contents and friends
https://bugzilla.gnome.org/show_bug.cgi?id=645789
2011-03-29 19:40:26 +10:00
Gil Forcada
abe058a599 [l10n]Updated Catalan translation 2011-03-29 00:58:25 +02:00
David Zeuthen
f516ebc57b GDBusProxy: Also check signature when checking if signal is expected
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-28 13:04:34 -04:00
David Zeuthen
caf993df6f GDBusProxy: Drop unexpected signals
If we have an expected interface and receive a signal not mentioned in
the interface, simply drop it. This way, the application won't have to
check for the signal itself.

This was pointed out in

 https://bugzilla.gnome.org/show_bug.cgi?id=642724#c5

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-28 12:10:25 -04:00
Olivier Crête
aa59fb9dd1 GDBusProxy: Validate properties received from service if possible
If the proxy has an GInterfaceInfo set, validate properties against it
so the application doesn't have to do it.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-28 11:59:47 -04:00
David Zeuthen
2809964c28 docs: Add a "Index of new symbols in 2.30" section
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-28 11:39:22 -04:00
David Zeuthen
b845c62c7f GDBusProxy: Make interface lookups O(1)
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-28 11:39:22 -04:00
David Zeuthen
91f97ebbaa GDBusConnection: Make interface lookups O(1)
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-28 11:39:22 -04:00
David Zeuthen
5bcf54b29c GDBus: Add mechanism to make lookup on interfaces constant-time
This is used both on the service- and client-side and is currently
O(n).

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-28 11:39:22 -04:00
Aron Xu
5aa8f135c7 Update Simplified Chinese translation. 2011-03-28 10:21:57 +00:00
Aron Xu
13e2328117 Update Simplified Chinese translation. 2011-03-28 10:18:03 +00:00
Wouter Bolsterlee
6477c58ce4 Updated Dutch translation by Wouter Bolsterlee 2011-03-27 23:51:24 +02:00
Abduxukur Abdurixit
cd7f028cc0 Added UG translation 2011-03-27 19:38:45 +02:00
Nguyễn Thái Ngọc Duy
77f30fc3d3 Updated Vietnamese translation 2011-03-27 00:38:28 +07:00
Nguyễn Thái Ngọc Duy
0e9d328bbe po/vi.po: import from Damned Lies 2011-03-27 00:38:27 +07:00
Ask H. Larsen
ead00ab55d Updated Danish translation 2011-03-26 14:17:39 +01:00
David Zeuthen
1618ca572f Fix test suite breakage caused by Murray's commit
See https://bugzilla.gnome.org/show_bug.cgi?id=645682

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-25 17:56:59 -04:00
Alexander Shopov
222b0276f5 Updated Bulgarian translation 2011-03-25 22:13:47 +02:00
Daniel Nylander
c926c09959 Updated Swedish translation 2011-03-25 18:22:51 +01:00
Daniel Nylander
0760e239d3 Updated Swedish translation 2011-03-25 18:22:13 +01:00
Tristan Van Berkom
a8bc1436f1 GDBusServer: move business logic from _new() function to initable_init()
https://bugzilla.gnome.org/show_bug.cgi?id=639478

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-24 10:08:18 -04:00