platform/upstream/glib.git
13 years agogdbus-codegen: It's GDBusProxyTypeFunc, not GDBusProxyFunc
David Zeuthen [Tue, 19 Apr 2011 17:39:12 +0000 (13:39 -0400)]
gdbus-codegen: It's GDBusProxyTypeFunc, not GDBusProxyFunc

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Document the generated ObjectManagerClient structs
David Zeuthen [Tue, 19 Apr 2011 17:16:10 +0000 (13:16 -0400)]
gdbus-codegen: Document the generated ObjectManagerClient structs

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Add "Returns:" blurb for generated get_proxy_type()
David Zeuthen [Tue, 19 Apr 2011 17:10:25 +0000 (13:10 -0400)]
gdbus-codegen: Add "Returns:" blurb for generated get_proxy_type()

This was forgotten.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Generate docs when generating C code
David Zeuthen [Mon, 18 Apr 2011 18:23:19 +0000 (14:23 -0400)]
gdbus-codegen: Generate docs when generating C code

This is handy for both gtk-doc and gobject-introspection.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusObjectManagerClient: Add a GDestroyNotify to the user_data
David Zeuthen [Sat, 16 Apr 2011 19:24:42 +0000 (15:24 -0400)]
GDBusObjectManagerClient: Add a GDestroyNotify to the user_data

For bindings, obviously.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Add some gobject-introspection annotations for new code
David Zeuthen [Sat, 16 Apr 2011 18:42:21 +0000 (14:42 -0400)]
GDBus: Add some gobject-introspection annotations for new code

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Make generated code introspectable
David Zeuthen [Sat, 16 Apr 2011 18:07:23 +0000 (14:07 -0400)]
gdbus-codegen: Make generated code introspectable

Specific changes

 - Use get_type(), not get_gtype() for the GType function
   - so we need to use the lower-case name type_ for properties called type
 - Don't return a function pointer, just make the function returned
   available instead
 - Add (type) annotations in constructors so g-ir-scanner detects them as such
 - Add (transfer none) annotations to property getters
 - Add (out) annotations to D-Bus method call functions

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Nuke debug spew
David Zeuthen [Fri, 15 Apr 2011 20:36:54 +0000 (16:36 -0400)]
gdbus-codegen: Nuke debug spew

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Never emit empty PropertiesChanged signals
David Zeuthen [Fri, 15 Apr 2011 20:11:43 +0000 (16:11 -0400)]
gdbus-codegen: Never emit empty PropertiesChanged signals

It's not that it's actually a bug to do so per se, strictly speaking,
it's just pointless and wasteful.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Don't send out PropertiesChanged if value ends up not changing
David Zeuthen [Fri, 15 Apr 2011 19:53:28 +0000 (15:53 -0400)]
gdbus-codegen: Don't send out PropertiesChanged if value ends up not changing

A fairly typical pattern is to have code that does

 foo_set_bar (object, "");
 if (some_condition)
   {
     foo_set_bar (object, "yes");
   }

where some_condition is often true every time @object is updated.

With this code, bar is essentially always "yes" but because of how
gdbus-codegen works, useless PropertiesChanged events got scheduled
and sent out. With this patch, we avoid that by always keeping the
original value around and comparing it only when we deem it's time to
send out the ::PropertiesChanged signal (typically in an idle but can
be forced by the user via flush()).

Also add a test case for this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Fix obvious bug in _g_variant_equal0() implementation
David Zeuthen [Fri, 15 Apr 2011 17:51:10 +0000 (13:51 -0400)]
gdbus-codegen: Fix obvious bug in _g_variant_equal0() implementation

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Add support for the org.freedesktop.DBus.Deprecated annotation
David Zeuthen [Fri, 15 Apr 2011 16:56:07 +0000 (12:56 -0400)]
gdbus-codegen: Add support for the org.freedesktop.DBus.Deprecated annotation

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Include a blurb about the license of the generated code
David Zeuthen [Fri, 15 Apr 2011 12:48:21 +0000 (08:48 -0400)]
gdbus-codegen: Include a blurb about the license of the generated code

More precisely, include this line

 The license of this code is the same as for the source it was derived from.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Use the right program name in introductory comment (again)
David Zeuthen [Fri, 15 Apr 2011 12:44:05 +0000 (08:44 -0400)]
gdbus-codegen: Use the right program name in introductory comment (again)

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Use the right program name in introductory comment
David Zeuthen [Fri, 15 Apr 2011 12:40:52 +0000 (08:40 -0400)]
gdbus-codegen: Use the right program name in introductory comment

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Add copyright / license headers
David Zeuthen [Fri, 15 Apr 2011 12:33:30 +0000 (08:33 -0400)]
gdbus-codegen: Add copyright / license headers

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Support Ugly_Case and use org.gtk.GDBus.C.Name since it's C-only
David Zeuthen [Fri, 15 Apr 2011 12:24:40 +0000 (08:24 -0400)]
GDBus: Support Ugly_Case and use org.gtk.GDBus.C.Name since it's C-only

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusInterfaceStub: Clarify ::g-authorize-method docs
David Zeuthen [Wed, 13 Apr 2011 20:39:50 +0000 (16:39 -0400)]
GDBusInterfaceStub: Clarify ::g-authorize-method docs

As suggested by Simon in https://bugzilla.gnome.org/show_bug.cgi?id=647577#c11

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Use Skeleton instead of Stub
David Zeuthen [Wed, 13 Apr 2011 20:33:51 +0000 (16:33 -0400)]
GDBus: Use Skeleton instead of Stub

After some brainstorming with Simon, see

 https://bugzilla.gnome.org/show_bug.cgi?id=647577#c8

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusInterfaceStub: Use G_VARIANT_TYPE_VARDICT when referring to type a{sv}
David Zeuthen [Wed, 13 Apr 2011 15:35:06 +0000 (11:35 -0400)]
GDBusInterfaceStub: Use G_VARIANT_TYPE_VARDICT when referring to type a{sv}

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Shorten man page title
David Zeuthen [Wed, 13 Apr 2011 00:40:25 +0000 (20:40 -0400)]
gdbus-codegen: Shorten man page title

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Use CDATA to make gtk-doc avoid expanding certain strings
David Zeuthen [Wed, 13 Apr 2011 00:28:06 +0000 (20:28 -0400)]
gdbus-codegen: Use CDATA to make gtk-doc avoid expanding certain strings

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Minor renames and doc fixes
David Zeuthen [Wed, 13 Apr 2011 00:15:48 +0000 (20:15 -0400)]
GDBus: Minor renames and doc fixes

As requested by Simon in https://bugzilla.gnome.org/show_bug.cgi?id=647577

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Mention that @since can be used
David Zeuthen [Tue, 12 Apr 2011 21:12:26 +0000 (17:12 -0400)]
gdbus-codegen: Mention that @since can be used

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd support for org.gtk.GDBus.Since annotation
David Zeuthen [Tue, 12 Apr 2011 20:17:28 +0000 (16:17 -0400)]
Add support for org.gtk.GDBus.Since annotation

And use this for a) documentation purposes; and b) to preserve C ABI
when an interface is extended. See

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

for more details. Also add test cases for this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Add --c-generate-object-manager option + doc improvements
David Zeuthen [Tue, 12 Apr 2011 15:50:34 +0000 (11:50 -0400)]
gdbus-codegen: Add --c-generate-object-manager option + doc improvements

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoSpiff up the "Migrating to GDBus" docs a bit
David Zeuthen [Tue, 12 Apr 2011 13:28:09 +0000 (09:28 -0400)]
Spiff up the "Migrating to GDBus" docs a bit

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUpdate "Migrating to GDBus" chapter to take gdbus-codegen(1) into account
David Zeuthen [Mon, 11 Apr 2011 22:32:11 +0000 (18:32 -0400)]
Update "Migrating to GDBus" chapter to take gdbus-codegen(1) into account

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Add ObjectManager example
David Zeuthen [Mon, 11 Apr 2011 20:35:14 +0000 (16:35 -0400)]
GDBus: Add ObjectManager example

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAlso use interface_ instead of interface in C files
David Zeuthen [Mon, 11 Apr 2011 19:34:38 +0000 (15:34 -0400)]
Also use interface_ instead of interface in C files

This is because gtk-doc scans the function in the H file but reads the
docs from the C file. Annoying.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusInterfaceStub: Rename stub parameter to interface
David Zeuthen [Mon, 11 Apr 2011 19:22:37 +0000 (15:22 -0400)]
GDBusInterfaceStub: Rename stub parameter to interface

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Avoid using the word interface in public C headers
David Zeuthen [Mon, 11 Apr 2011 19:13:25 +0000 (15:13 -0400)]
GDBus: Avoid using the word interface in public C headers

Same deal as with e.g. index since some libraries may do crazy stuff
such as "#define interface xyz".

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoDist test-codegen.xml
David Zeuthen [Mon, 11 Apr 2011 18:59:19 +0000 (14:59 -0400)]
Dist test-codegen.xml

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Add test-suite for new ObjectManager and gdbus-codegen(1) code
David Zeuthen [Mon, 11 Apr 2011 14:54:52 +0000 (10:54 -0400)]
GDBus: Add test-suite for new ObjectManager and gdbus-codegen(1) code

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Use thread-default GMainContext in _g_assert_property_notify + friends
David Zeuthen [Mon, 11 Apr 2011 14:51:37 +0000 (10:51 -0400)]
GDBus: Use thread-default GMainContext in _g_assert_property_notify + friends

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoClarify docs for g_dbus_gvalue_to_gvariant() and g_dbus_gvariant_to_gvalue()
David Zeuthen [Sun, 10 Apr 2011 15:19:45 +0000 (11:19 -0400)]
Clarify docs for g_dbus_gvalue_to_gvariant() and g_dbus_gvariant_to_gvalue()

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoImprove g_dbus_gvalue_to_gvariant() docs
David Zeuthen [Sat, 9 Apr 2011 21:51:59 +0000 (17:51 -0400)]
Improve g_dbus_gvalue_to_gvariant() docs

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Document GVariant/GValue conversion routines and move to them to utils
David Zeuthen [Sat, 9 Apr 2011 15:46:19 +0000 (11:46 -0400)]
GDBus: Document GVariant/GValue conversion routines and move to them to utils

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoForgot to add autofoo for libffi
David Zeuthen [Sat, 9 Apr 2011 15:39:32 +0000 (11:39 -0400)]
Forgot to add autofoo for libffi

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd a generic libffi based marshaller to libgobject
David Zeuthen [Fri, 8 Apr 2011 21:34:44 +0000 (17:34 -0400)]
Add a generic libffi based marshaller to libgobject

This code is from https://bugzilla.gnome.org/show_bug.cgi?id=567087
and was adapted by myself to also support the GVariant fundamental
type.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd gdbus-codegen(1) command
David Zeuthen [Fri, 8 Apr 2011 20:57:31 +0000 (16:57 -0400)]
Add gdbus-codegen(1) command

It doesn't work yet without the user manually adding ffi bits. That's
the topic of the next commit.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd "Since: 2.30" for new D-Bus routines
David Zeuthen [Fri, 8 Apr 2011 20:29:48 +0000 (16:29 -0400)]
Add "Since: 2.30" for new D-Bus routines

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd docs for new high-level D-Bus types
David Zeuthen [Fri, 8 Apr 2011 20:29:30 +0000 (16:29 -0400)]
Add docs for new high-level D-Bus types

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusProxy: Store GDBusObject in private struct instead of qdata
David Zeuthen [Fri, 8 Apr 2011 20:12:33 +0000 (16:12 -0400)]
GDBusProxy: Store GDBusObject in private struct instead of qdata

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusProxy: Update description to match GDBusInterface
David Zeuthen [Fri, 8 Apr 2011 20:12:09 +0000 (16:12 -0400)]
GDBusProxy: Update description to match GDBusInterface

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoStart merging gdbus-codegen code
David Zeuthen [Fri, 8 Apr 2011 19:14:47 +0000 (15:14 -0400)]
Start merging gdbus-codegen code

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoSilence a bunch of -Wunused-but-set-variable warnings
David Zeuthen [Fri, 8 Apr 2011 19:44:25 +0000 (15:44 -0400)]
Silence a bunch of -Wunused-but-set-variable warnings

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGSettings: remove more asserts
Ryan Lortie [Fri, 8 Apr 2011 13:14:50 +0000 (09:14 -0400)]
GSettings: remove more asserts

Same logic as the last commit on this topic, applied to the other
functions too.

13 years agoAvoid an interaction between GApplication and GOption
Matthias Clasen [Fri, 8 Apr 2011 11:13:54 +0000 (07:13 -0400)]
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.

13 years agoglib-compile-schemas: check for undefined refs
Ryan Lortie [Fri, 8 Apr 2011 05:47:52 +0000 (01:47 -0400)]
glib-compile-schemas: check for undefined refs

For child schemas, verify that the named schema actually exists and
issue a warning if not.  This error in schema files will cause runtime
errors when iterating over the list of child schemas and attempting to
instantiate each one.

This will move from being merely a warning to a hard error in the
future.

Bug #646039.

13 years agoDon't assert on backend == settings->priv->backend
Ryan Lortie [Fri, 8 Apr 2011 01:25:01 +0000 (21:25 -0400)]
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.

13 years agoAdd a warning to the g_dbus_connection_set_exit_on_close docs
Matthias Clasen [Thu, 7 Apr 2011 21:14:36 +0000 (17:14 -0400)]
Add a warning to the g_dbus_connection_set_exit_on_close docs

Tell people to not leak their apps out of the session.

13 years agoFix two leaks seen when using TLS connections
Dan Winship [Mon, 4 Apr 2011 15:10:50 +0000 (11:10 -0400)]
Fix two leaks seen when using TLS connections

g_tls_certificate_list_new_from_file() was leaking the file contents,
and GSource was leaking the GSourcePrivate structure that got
created when using child sources.

13 years ago[l10n]Fixes on Catalan translation
Jordi Serratosa [Mon, 4 Apr 2011 19:16:35 +0000 (21:16 +0200)]
[l10n]Fixes on Catalan translation

13 years agoUpdated Japanese translation
OKANO Takayoshi [Mon, 4 Apr 2011 12:27:35 +0000 (21:27 +0900)]
Updated Japanese translation

13 years agoDocs: Change DBus to D-Bus
Murray Cumming [Thu, 24 Mar 2011 08:37:21 +0000 (09:37 +0100)]
Docs: Change DBus to D-Bus

13 years agoUpdate Czech translation
Petr Kovar [Mon, 4 Apr 2011 02:10:42 +0000 (04:10 +0200)]
Update Czech translation

13 years agoUpdated Hungarian translation
Gabor Kelemen [Sun, 3 Apr 2011 08:13:57 +0000 (10:13 +0200)]
Updated Hungarian translation

13 years agoGDBusMethodInvocation: Improve get_parameters() documentation.
Murray Cumming [Sat, 2 Apr 2011 13:42:11 +0000 (15:42 +0200)]
GDBusMethodInvocation: Improve get_parameters() documentation.

Note that the returned GVariant is always a tuple.
See bug #646420.

13 years agogqsort: Quiet a compiler warning for qsort_r
Colin Walters [Thu, 31 Mar 2011 21:07:07 +0000 (17:07 -0400)]
gqsort: Quiet a compiler warning for qsort_r

13 years agogoption: [linux] Look in /proc/self/cmdline for argv0 if not specified
Colin Walters [Fri, 25 Mar 2011 15:59:33 +0000 (11:59 -0400)]
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

13 years agogio.symbols updates
Ryan Lortie [Thu, 31 Mar 2011 10:25:21 +0000 (15:55 +0530)]
gio.symbols updates

13 years agoImprove .gitignore
Ryan Lortie [Thu, 31 Mar 2011 10:21:01 +0000 (15:51 +0530)]
Improve .gitignore

13 years agoglib.symbols: add some missing symbols
Ryan Lortie [Thu, 31 Mar 2011 10:17:54 +0000 (15:47 +0530)]
glib.symbols: add some missing symbols

13 years agocompile schemas test: open ranges for all types
Ryan Lortie [Thu, 31 Mar 2011 09:42:34 +0000 (15:12 +0530)]
compile schemas test: open ranges for all types

We need to make sure that every value in the table actually parses with
GVariant.

13 years agogschema-test: invert expectation for min/max omit
Ryan Lortie [Thu, 31 Mar 2011 09:41:30 +0000 (15:11 +0530)]
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.

13 years agoglib-compile-schemas: min and max are now optional
Ryan Lortie [Thu, 31 Mar 2011 09:40:25 +0000 (15:10 +0530)]
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.

13 years agoGVariant test: test parsing of "inf" and "nan"
Ryan Lortie [Thu, 31 Mar 2011 09:39:55 +0000 (15:09 +0530)]
GVariant test: test parsing of "inf" and "nan"

13 years agoGVariant parser: parse "inf", "-inf" and "nan"
Ryan Lortie [Thu, 31 Mar 2011 09:18:10 +0000 (14:48 +0530)]
GVariant parser: parse "inf", "-inf" and "nan"

13 years agoGVariant parser: match strings without consuming
Ryan Lortie [Thu, 31 Mar 2011 09:15:50 +0000 (14:45 +0530)]
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.

13 years agoGVariant parser: fix memory error
Ryan Lortie [Thu, 31 Mar 2011 08:37:59 +0000 (14:07 +0530)]
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.

13 years agoAdd 'uint' convenience functions for GSettings
Ryan Lortie [Thu, 31 Mar 2011 07:14:40 +0000 (12:44 +0530)]
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.

13 years agoAdd GTimeZoneMonitor
Ryan Lortie [Sat, 19 Mar 2011 02:00:14 +0000 (22:00 -0400)]
Add GTimeZoneMonitor

Monitors /etc/localtime for changes and instructs GTimeZone to drop its
cache.  Also has a signal for interested 3rd parties.

13 years agog_time_zone_new_local: cache the result
Ryan Lortie [Sat, 19 Mar 2011 03:09:52 +0000 (23:09 -0400)]
g_time_zone_new_local: cache the result

Add a function to drop the cache.

13 years agoGTimeZone: don't add /etc/localtime to the cache
Ryan Lortie [Sat, 19 Mar 2011 03:09:17 +0000 (23:09 -0400)]
GTimeZone: don't add /etc/localtime to the cache

It may change.

13 years agoUpdated Serbian translation
Miroslav Nikolić [Wed, 30 Mar 2011 22:47:41 +0000 (00:47 +0200)]
Updated Serbian translation

13 years ago[l10n]Updated Catalan translation
Gil Forcada [Wed, 30 Mar 2011 21:17:29 +0000 (23:17 +0200)]
[l10n]Updated Catalan translation

13 years ago[gi] Add missing allow-none annotations to Gio
Martin Pitt [Wed, 30 Mar 2011 17:52:31 +0000 (19:52 +0200)]
[gi] Add missing allow-none annotations to Gio

13 years agoUpdate translation for Afrikaans (af)
Friedel Wolff [Wed, 30 Mar 2011 16:53:38 +0000 (18:53 +0200)]
Update translation for Afrikaans (af)

13 years agoUpdated British English translation
Bruce Cowan [Wed, 30 Mar 2011 14:22:38 +0000 (15:22 +0100)]
Updated British English translation

13 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 30 Mar 2011 13:17:26 +0000 (21:17 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

13 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Tue, 29 Mar 2011 12:12:25 +0000 (14:12 +0200)]
Updated Lithuanian translation.

13 years agointrospection: add annotations for g_file_load_contents and friends
Jonathan Matthew [Sun, 27 Mar 2011 00:44:31 +0000 (10:44 +1000)]
introspection: add annotations for g_file_load_contents and friends

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

13 years ago[l10n]Updated Catalan translation
Gil Forcada [Mon, 28 Mar 2011 22:58:25 +0000 (00:58 +0200)]
[l10n]Updated Catalan translation

13 years agoGDBusProxy: Also check signature when checking if signal is expected
David Zeuthen [Mon, 28 Mar 2011 17:04:34 +0000 (13:04 -0400)]
GDBusProxy: Also check signature when checking if signal is expected

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusProxy: Drop unexpected signals
David Zeuthen [Mon, 28 Mar 2011 16:10:25 +0000 (12:10 -0400)]
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>
13 years agoGDBusProxy: Validate properties received from service if possible
Olivier Crête [Sat, 19 Feb 2011 01:34:06 +0000 (20:34 -0500)]
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>
13 years agodocs: Add a "Index of new symbols in 2.30" section
David Zeuthen [Mon, 28 Mar 2011 15:35:14 +0000 (11:35 -0400)]
docs: Add a "Index of new symbols in 2.30" section

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusProxy: Make interface lookups O(1)
David Zeuthen [Mon, 28 Mar 2011 15:34:48 +0000 (11:34 -0400)]
GDBusProxy: Make interface lookups O(1)

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBusConnection: Make interface lookups O(1)
David Zeuthen [Mon, 28 Mar 2011 15:33:36 +0000 (11:33 -0400)]
GDBusConnection: Make interface lookups O(1)

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoGDBus: Add mechanism to make lookup on interfaces constant-time
David Zeuthen [Mon, 28 Mar 2011 15:31:05 +0000 (11:31 -0400)]
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>
13 years agoUpdate Simplified Chinese translation.
Aron Xu [Mon, 28 Mar 2011 10:21:57 +0000 (10:21 +0000)]
Update Simplified Chinese translation.

13 years agoUpdate Simplified Chinese translation.
Aron Xu [Mon, 28 Mar 2011 10:18:03 +0000 (10:18 +0000)]
Update Simplified Chinese translation.

13 years agoUpdated Dutch translation by Wouter Bolsterlee
Wouter Bolsterlee [Sun, 27 Mar 2011 21:49:55 +0000 (23:49 +0200)]
Updated Dutch translation by Wouter Bolsterlee

13 years agoAdded UG translation
Abduxukur Abdurixit [Sun, 27 Mar 2011 17:38:45 +0000 (19:38 +0200)]
Added UG translation

13 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 26 Mar 2011 17:38:07 +0000 (00:38 +0700)]
Updated Vietnamese translation

13 years agopo/vi.po: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sat, 26 Mar 2011 17:34:44 +0000 (00:34 +0700)]
po/vi.po: import from Damned Lies

13 years agoUpdated Danish translation
Ask H. Larsen [Sat, 26 Mar 2011 13:17:39 +0000 (14:17 +0100)]
Updated Danish translation

13 years agoFix test suite breakage caused by Murray's commit
David Zeuthen [Fri, 25 Mar 2011 21:56:59 +0000 (17:56 -0400)]
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>
13 years agoUpdated Bulgarian translation
Alexander Shopov [Fri, 25 Mar 2011 20:13:47 +0000 (22:13 +0200)]
Updated Bulgarian translation