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
Murray Cumming
30fdc1a799
Docs: Changed can not to cannot.
2011-03-24 09:33:55 +01:00
Daniel Nylander
16358f76f6
Updated Swedish translation
2011-03-22 15:12:58 +01:00
Daniel Nylander
78e075f369
Updated Swedish translation
2011-03-22 15:12:58 +01:00
Luca Ferretti
57b1142bee
Updated Italian translation
2011-03-22 14:42:32 +01:00
Sweta Kothari
175f5292e4
Updated Gujarati Translations
2011-03-21 16:41:46 +05:30
Piotr Drąg
432180d02f
Updated Polish translation
2011-03-19 16:31:42 +01:00
Piotr Drąg
a5999d317a
Updated Polish translation
2011-03-19 16:30:22 +01:00
Gabor Kelemen
dc4a95ed97
Updated Hungarian translation
2011-03-18 17:11:53 +01:00
Bruno Brouard
029b8fa069
Updated French translation
2011-03-17 21:40:33 +01:00
Daniel Mustieles
545faa8d2c
Updated Spanish translation
2011-03-17 20:35:31 +01:00
Mario Blättermann
e2ed78417a
[l10n] Updated German translation
2011-03-17 12:53:06 +01:00
Sweta Kothari
89194fb415
Updated Gujarati Translations
2011-03-17 16:09:40 +05:30
Matthias Clasen
098aa5639c
Document which files glib-compile-schemas looks at
...
Otherwise, your vendor override files are silently ignored...
2011-03-15 11:30:38 -04:00
Lucian Adrian Grijincu
0fbdd5c1d2
Updated Romanian translation
2011-03-15 14:08:09 +01:00
Lucian Adrian Grijincu
1518592045
Updated Romanian translation
2011-03-15 14:06:59 +01:00
Lucian Adrian Grijincu
8f0e371cbf
Updated Romanian translation
2011-03-15 14:03:51 +01:00
Lupescu Mircea
1732e89166
Updated Romanian translation
2011-03-15 14:00:11 +01:00
Lucian Adrian Grijincu
e16547e79f
Updated Romanian translation
2011-03-15 13:34:46 +01:00
Emmanuele Bassi
08f0a31289
Revert "Remove all uses of G_CONST_RETURN"
...
This reverts commit 36741245cc
.
The removal has not been discussed, except on Bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=644611
2011-03-15 09:03:28 +00:00
Emmanuele Bassi
0c1acc7e74
Revert "Deprecate G_CONST_RETURN"
...
This reverts commit a7fc7909da
.
The deprecations was not discussed except on Bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=644611
2011-03-15 09:02:08 +00:00
Ryan Lortie
d679a7659f
GVariant parser: fix tuple type checking
...
Robert Ancell discovered that the GVariant parser messes up pretty badly
when the type of a tuple is specified and the tuple in the text being
parsed has a different number of elements (but otherwise matching child
types).
Check that we have the expected number of elements.
Closes #644786 .
2011-03-15 01:32:22 -04:00
Ryan Lortie
a7fc7909da
Deprecate G_CONST_RETURN
2011-03-15 01:32:22 -04:00
Ryan Lortie
36741245cc
Remove all uses of G_CONST_RETURN
...
Just use 'const'.
2011-03-15 01:32:22 -04:00
Christian Persch
61b0e1c8d4
Add G_SIGNAL_MUST_COLLECT
...
In some cases, signal arguments have to be collected, even if there are i
no signal handlers connected (e.g. for GVariant parameters, where collection
consumes a floating variant).
Based on a patch by Christian Persch.
Bug #643624 .
2011-03-15 01:32:22 -04:00
Olivier Crête
c95ff4de04
GDBusProxy: Check if connection is NULL before unreffing
...
If no connection can be established with the bus, it is possible that
the GDBusPRoxy will be finalized without having a connection object.
2011-03-14 15:49:02 -04:00
Owen W. Taylor
789b341eff
Correct internal definition of C_()
...
* Since the GLib translations are lazily initialized, we need an
internal wrapper for g_dpgettext() that does the initialization
in the same way as glib_gettext()
* We need to use the glib domain defined by GETTEXT_PACKAGE
rather than than the application's domain.
https://bugzilla.gnome.org/show_bug.cgi?id=644607
2011-03-12 21:10:06 -05:00
Gabor Kelemen
88d23f0285
Updated Hungarian translation
2011-03-13 02:22:08 +01:00
Emilio Pozuelo Monfort
89ca0f7296
Document g_timeout_add_seconds first call latency
...
And fix /timeout/rounding to not fail if the first call
happens after 2 seconds.
https://bugzilla.gnome.org/show_bug.cgi?id=644552
2011-03-12 15:51:44 +00:00
Duarte Loreto
1a2f1d3458
Updated Portuguese translation
2011-03-12 01:09:49 +00:00
Murray Cumming
c1a75ca783
g_file_info_get/set_attribute_string*(): Document the UTF-8ness.
...
* gio/gfileattribute.c: (_g_file_attribute_value_get_string,
_g_file_attribute_value_set_string): These use
G_FILE_ATTRIBUTE_TYPE_STRING, which is documented as UTF-8, so
document these private functions as using UTF-8.
* gio/gfileinfo.c: (g_file_info_get_attribute_string,
g_file_info_set_attribute_string, and stringv versions):
Document that the strings are UTF-8 because the implementation uses
those private functions, that use UTF-8.
This helps language bindings (such as glibmm) whose API
distinguishes between known and unknown encodings.
2011-03-11 09:59:09 +01:00
Tor Lillqvist
9505ad05ee
Use g_usleep() for portability, bug #644465
2011-03-11 10:19:42 +02:00