platform/upstream/glib.git
14 years agonotify: Refactor g_object_notify_queue_thaw()
Olivier Crête [Thu, 22 Jul 2010 18:25:00 +0000 (20:25 +0200)]
notify: Refactor g_object_notify_queue_thaw()

This adds better error reporting and simplifies the code for adding
thread safety.

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

14 years agonotify: Remove unused g_object_notify_queue_clear()
Olivier Crête [Thu, 22 Jul 2010 07:02:18 +0000 (09:02 +0200)]
notify: Remove unused g_object_notify_queue_clear()

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

14 years agonotify: Emit a g_critical() instead g_return_if_fail()ing
Benjamin Otte [Thu, 22 Jul 2010 06:52:25 +0000 (08:52 +0200)]
notify: Emit a g_critical() instead g_return_if_fail()ing

This does not change the code semantically in any way but avoids a
return in the middle of the code.

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

14 years agobinding: Cast to avoid compiler warning
Benjamin Otte [Thu, 22 Jul 2010 18:24:29 +0000 (20:24 +0200)]
binding: Cast to avoid compiler warning

14 years agotests: Use GPOINTER_TO_SIZE() instead of just casting to guint
Benjamin Otte [Thu, 22 Jul 2010 18:23:28 +0000 (20:23 +0200)]
tests: Use GPOINTER_TO_SIZE() instead of just casting to guint

a) gcc doesn't like this ("Cast to pointer of different size)
b) It compares only half of the pointer

14 years agoinotify: Constify function argument
Benjamin Otte [Thu, 22 Jul 2010 18:23:04 +0000 (20:23 +0200)]
inotify: Constify function argument

gcc complained...

14 years agoFix very small leak in the GSettings test
Ryan Lortie [Thu, 22 Jul 2010 15:49:30 +0000 (11:49 -0400)]
Fix very small leak in the GSettings test

14 years agoBug 624991 - GSettings mapping for G_TYPE_STRV
Ryan Lortie [Thu, 22 Jul 2010 03:10:31 +0000 (20:10 -0700)]
Bug 624991 - GSettings mapping for G_TYPE_STRV

Added default mapping for G_TYPE_STRV based on a patch from Garrett
Regier.

Add a test case.

14 years agoUpdated Galician translations
Fran Diéguez [Thu, 22 Jul 2010 14:23:18 +0000 (16:23 +0200)]
Updated Galician translations

14 years agoBug 624968 - div by zero in g_malloc_n family
Behdad Esfahbod [Wed, 21 Jul 2010 20:08:19 +0000 (16:08 -0400)]
Bug 624968  - div by zero in g_malloc_n family

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Wed, 21 Jul 2010 16:11:53 +0000 (19:11 +0300)]
Updated Hebrew translation.

14 years agoGDBusAuthObserver: Fix docs
David Zeuthen [Tue, 20 Jul 2010 19:02:36 +0000 (15:02 -0400)]
GDBusAuthObserver: Fix docs

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoBug 617483 – Credentials passing
David Zeuthen [Tue, 20 Jul 2010 18:02:14 +0000 (14:02 -0400)]
Bug 617483 – Credentials passing

 - Make GCredentials instance and class structures private so it can't
   be subclassed and we don't have to worry about ABI compat
   issues. This also allows us to get rid of the GCredentialsPrivate
   struct.

 - Add a GCredentialsType enumeration that is used whenever exchanging
   pointers with the user. This allows us to support OSes with
   multiple native credential types. In particular, it allows
   supporting OSes where the native credential evolves or even changes
   over time.

 - Add g_socket_get_credentials() method.

 - Add tests for g_socket_get_credentials(). Right now this is in the
   GDBus peer-to-peer test case but we can change that later.

 - Move GTcpConnection into a separate gtk-doc page as was already
   half-done with GUnixConnection. Also finish the GUnixConnection
   move and ensure send_credentials() and receive_credentials()
   methods are in the docs. Also nuke comment about GTcpConnection
   being empty compared to its superclass.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBusServer: Avoid handling incoming connections after stop() has been called
David Zeuthen [Tue, 20 Jul 2010 16:14:30 +0000 (12:14 -0400)]
GDBusServer: Avoid handling incoming connections after stop() has been called

Without this fix, we'd sometimes run code after stop() and finalize()
to handle incoming requests. This was observed in the gdbus-peer test
case occasionally crashing:

 $ ./gdbus-peer
 /gdbus/peer-to-peer: OK
 /gdbus/delayed-message-processing: OK
 /gdbus/nonce-tcp:
 GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GDBusServer'
 aborting...

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Add support for D-Bus type 'h' (ie. G_VARIANT_TYPE_HANDLE)
David Zeuthen [Tue, 20 Jul 2010 15:38:23 +0000 (11:38 -0400)]
GDBus: Add support for D-Bus type 'h' (ie. G_VARIANT_TYPE_HANDLE)

This allows sending and receiving D-Bus messages with instances of the
'h' D-Bus type. Unlike libdbus-1's dbus_message_iter_get_basic()
method, g_variant_get_handle() does not return a duplicated unix file
descriptor (that must be closed with close(2)) - instead, it returns
an index that can be used to get/dup the file descriptor from a
GUnixFDList object that can be obtained from the GDBusMessage object.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoMove #include <sys/wait.h> down
Ryan Lortie [Tue, 20 Jul 2010 14:45:52 +0000 (10:45 -0400)]
Move #include <sys/wait.h> down

Until after we include the glib stuff, so that we have G_OS_UNIX
defined.

For some reason <stdlib.h> pulls in <sys/wait.h> on Fedora so this
wasn't a problem, but many others have reported the issue.

14 years agoUpdated Spanish translation
Jorge González [Tue, 20 Jul 2010 06:57:35 +0000 (08:57 +0200)]
Updated Spanish translation

14 years agoCorrected and updated the new version of the Armenian translation - po file.
noch [Tue, 20 Jul 2010 05:33:32 +0000 (10:33 +0500)]
Corrected and updated the new version of the Armenian translation - po file.

14 years agoGDBus: Introduce G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL
David Zeuthen [Mon, 19 Jul 2010 21:03:07 +0000 (17:03 -0400)]
GDBus: Introduce G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL

This is preferable to the current magical solution whereby the serial
is only rewritten if non-zero. In particular, it makes it easier to
send the same message on multiple connections without having to reset
the serial number.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Forgot to add g_dbus_send_message_flags_get_type() to gio.symbols
David Zeuthen [Mon, 19 Jul 2010 20:10:50 +0000 (16:10 -0400)]
GDBus: Forgot to add g_dbus_send_message_flags_get_type() to gio.symbols

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Add GDBusSendMessageFlags
David Zeuthen [Mon, 19 Jul 2010 20:07:57 +0000 (16:07 -0400)]
GDBus: Add GDBusSendMessageFlags

This is currently unused but might be useful in the future. For
example, it might be nice with a way to bypass the current queue of
outgoing messages - having a flag enumeration allows us to add a
G_DBUS_SEND_MESSAGE_FLAGS_BYPASS_QUEUE etc. etc.

This commit breaks ABI and API. Users of the (rarely used) API to send
messages will have to port to this new API.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Remove constness from introspection data structures
David Zeuthen [Mon, 19 Jul 2010 19:45:27 +0000 (15:45 -0400)]
GDBus: Remove constness from introspection data structures

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Add GDBusSignalFlags and use it in g_dbus_connection_signal_subscribe()
David Zeuthen [Mon, 19 Jul 2010 19:03:00 +0000 (15:03 -0400)]
GDBus: Add GDBusSignalFlags and use it in g_dbus_connection_signal_subscribe()

This is currently unused but will probably be useful in the
future. For example, we could have a _ARG0_IS_PATH to specify that
arg0 should be used for arg0path.

This commit breaks API and ABI. Users of
g_dbus_connection_signal_subscribe() will need to port to this new
version.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoUpdate the GDBus subtree example for the new API
Ryan Lortie [Mon, 19 Jul 2010 19:03:54 +0000 (15:03 -0400)]
Update the GDBus subtree example for the new API

14 years agoBug 624754 – gdbusaddress.c missing sys/wait.h
David Hoyt [Mon, 19 Jul 2010 17:52:17 +0000 (13:52 -0400)]
Bug 624754 – gdbusaddress.c missing sys/wait.h

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoUpdated Spanish translation
Jorge González [Sun, 18 Jul 2010 18:29:41 +0000 (20:29 +0200)]
Updated Spanish translation

14 years agoFixed headers in galician translation file
Fran Diéguez [Sun, 18 Jul 2010 17:58:33 +0000 (19:58 +0200)]
Fixed headers in galician translation file

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 17 Jul 2010 10:11:08 +0000 (13:11 +0300)]
Updated Hebrew translation.

14 years agoGDBus: Add nonce-tcp: test case
David Zeuthen [Fri, 16 Jul 2010 17:19:48 +0000 (13:19 -0400)]
GDBus: Add nonce-tcp: test case

Also fix a couple of TODO items in gdbusaddress.c

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 16 Jul 2010 14:20:42 +0000 (17:20 +0300)]
Updated Hebrew translation.

14 years agog_warning on inconsistent subtree behaviour
Ryan Lortie [Thu, 15 Jul 2010 23:37:26 +0000 (19:37 -0400)]
g_warning on inconsistent subtree behaviour

If the subtree introspection function indicates that an interface exists
but then the dispatch function returns a NULL vtable for that interface,
issue a g_warning pointing programmers in the right direction.

14 years agogio: don't assume that SOCK_CLOEXEC is supported whenever it's defined
Julien Cristau [Thu, 15 Jul 2010 14:26:02 +0000 (15:26 +0100)]
gio: don't assume that SOCK_CLOEXEC is supported whenever it's defined

Just because SOCK_CLOEXEC was defined at build time doesn't mean the
kernel we're running on supports it.  So if socket() fails with EINVAL,
try again without the flag.

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

14 years agoBug 624484: GDBusSubtreeDispatchFunc clarification
Ryan Lortie [Thu, 15 Jul 2010 20:53:43 +0000 (16:53 -0400)]
Bug 624484: GDBusSubtreeDispatchFunc clarification

Pass NULL rather than "/" for the toplevel of a subtree.

Add clarification to the docs about how trees are flat.

14 years agoBug 624483: GDBusSubtreeEnumerateFunc clarification
Ryan Lortie [Thu, 15 Jul 2010 20:47:32 +0000 (16:47 -0400)]
Bug 624483: GDBusSubtreeEnumerateFunc clarification

Clarify a couple of things in the docs:

  1) you must return flat names (no slashes)

  2) g_strfreev() will be called on the result

  3) a benefit of using the DISPATCH_TO_UNENUMERATED flag

14 years agoBug 624473: GDBusSubtreeIntrospectFunc return type
Ryan Lortie [Thu, 15 Jul 2010 20:26:42 +0000 (16:26 -0400)]
Bug 624473: GDBusSubtreeIntrospectFunc return type

Return a NULL terminated C array instead of a GPtrArray

Also, document that %NULL is a permitted return value and clarify its
meaning.

Finally, avoid calling the enumeration function during dispatch when the
G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES flag was given.

14 years agoBug 623810 – Message serialization bug
David Zeuthen [Thu, 15 Jul 2010 16:19:24 +0000 (12:19 -0400)]
Bug 623810 – Message serialization bug

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoAdd annotations for g_variant_new_strv and g_variant_get_strv
Tomeu Vizoso [Thu, 15 Jul 2010 15:05:00 +0000 (17:05 +0200)]
Add annotations for g_variant_new_strv and g_variant_get_strv

14 years agoAdd annotations to g_dbus_proxy_new_sync
Tomeu Vizoso [Thu, 15 Jul 2010 13:32:45 +0000 (15:32 +0200)]
Add annotations to g_dbus_proxy_new_sync

14 years agoUpdate Simplified Chinese translation.
Aron Xu [Thu, 15 Jul 2010 09:56:14 +0000 (17:56 +0800)]
Update Simplified Chinese translation.

14 years agopo: Updated Romanian translation
Lucian Adrian Grijincu [Wed, 14 Jul 2010 23:10:43 +0000 (02:10 +0300)]
po: Updated Romanian translation

14 years ago[i18n] Updated German translation
Mario Blättermann [Wed, 14 Jul 2010 21:06:18 +0000 (23:06 +0200)]
[i18n] Updated German translation

14 years agoGDBusConnection: copy object and subtree virtual tables
David Zeuthen [Wed, 14 Jul 2010 18:46:12 +0000 (14:46 -0400)]
GDBusConnection: copy object and subtree virtual tables

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBusConnection: Fix up g_dbus_connection_close()
David Zeuthen [Wed, 14 Jul 2010 16:37:32 +0000 (12:37 -0400)]
GDBusConnection: Fix up g_dbus_connection_close()

... so it is async, cancelable and returns an error. Also provide a
synchronous version.

This is an API/ABI break but it is expected that only very few
applications use this API.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBusMessage: Make endianness for D-Bus messages match host byte order
David Zeuthen [Wed, 14 Jul 2010 15:39:22 +0000 (11:39 -0400)]
GDBusMessage: Make endianness for D-Bus messages match host byte order

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoBug 623815 – Don't check sender for GDBusProxy objects where name is not set
David Zeuthen [Wed, 14 Jul 2010 15:14:58 +0000 (11:14 -0400)]
Bug 623815 – Don't check sender for GDBusProxy objects where name is not set

Based on a patch from Peng Huang <shawn.p.huang@gmail.com>, thanks!

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoMake default-quit not apply if register=FALSE
Colin Walters [Fri, 18 Jun 2010 18:19:57 +0000 (14:19 -0400)]
Make default-quit not apply if register=FALSE

Callers who are using g_application_unregistered_try_new are
likely wanting to continue doing something else if _register()
fails.  Change the semantics so that passing register=FALSE
unsets default-quit as well.  This means that a later _register()
call will send Activate but continue the process.

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

14 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 14 Jul 2010 11:28:34 +0000 (19:28 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

14 years agodocs: xi:include the annotation glossary to kill warnings and make them work
Stefan Kost [Wed, 14 Jul 2010 08:56:41 +0000 (11:56 +0300)]
docs: xi:include the annotation glossary to kill warnings and make them work

14 years agoClean autotools config a bit
Javier Jardón [Tue, 13 Jul 2010 03:05:48 +0000 (05:05 +0200)]
Clean autotools config a bit

New requirements:
autoconf >= 2.62
automake >= 1.10
libtool >= 2.2

14 years agorename configure.in to configure.ac
Ryan Lortie [Tue, 13 Jul 2010 15:59:16 +0000 (11:59 -0400)]
rename configure.in to configure.ac

14 years agoRemove GUnixVolumeMonitor, GUnixMount from docs
Ryan Lortie [Tue, 13 Jul 2010 13:24:16 +0000 (09:24 -0400)]
Remove GUnixVolumeMonitor, GUnixMount from docs

David says that they're supposed to be private.

14 years agogio/ docs fixup
Ryan Lortie [Mon, 12 Jul 2010 22:30:14 +0000 (18:30 -0400)]
gio/ docs fixup

14 years agoMore docs fixes
Ryan Lortie [Mon, 12 Jul 2010 21:46:17 +0000 (17:46 -0400)]
More docs fixes

  Remove the g*alias.h from the ignore lists

  Remove other old files from ignore lists

  Clean up gobject docs

14 years agoMore gtk-doc cleanups for glib/
Ryan Lortie [Mon, 12 Jul 2010 21:32:44 +0000 (17:32 -0400)]
More gtk-doc cleanups for glib/

14 years agotrivial whitespace fix
Ryan Lortie [Mon, 12 Jul 2010 21:31:03 +0000 (17:31 -0400)]
trivial whitespace fix

14 years agoFix some glib docs warnings
Ryan Lortie [Mon, 12 Jul 2010 20:37:56 +0000 (16:37 -0400)]
Fix some glib docs warnings

Remove some symbols from glib-sections.txt that gtk-doc has no idea
about.

Add proper callback typedefs for GTester (gtk-doc dislikes inline
function types).

Fix some other minor issues.

14 years agoDon't return FALSE when a pointer is expected
Matthias Clasen [Mon, 12 Jul 2010 11:50:36 +0000 (07:50 -0400)]
Don't return FALSE when a pointer is expected

Pointed out in bug 623956

14 years agoBump gtk-doc dependency to 1.15
Ryan Lortie [Mon, 12 Jul 2010 19:30:26 +0000 (15:30 -0400)]
Bump gtk-doc dependency to 1.15

Use the multiple source-directory support contained therein.

14 years agomove glibconfig.h to glib/
Ryan Lortie [Mon, 12 Jul 2010 01:08:42 +0000 (21:08 -0400)]
move glibconfig.h to glib/

14 years agoDon't attempt to build dtrace support on OS X
Colin Walters [Fri, 25 Jun 2010 13:37:06 +0000 (09:37 -0400)]
Don't attempt to build dtrace support on OS X

Apparently the OS X "dtrace" command is different from the Sun one,
which is what Linux supports.  Since I don't have access to an OS X
machine to test build patches on, simply disable dtrace on OS X
for now.

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

14 years agoAdded Kazakh translation for Kazakh
Baurzhan Muftakhidinov [Mon, 12 Jul 2010 13:19:45 +0000 (16:19 +0300)]
Added Kazakh translation for Kazakh

14 years agobump the version
Ryan Lortie [Sun, 11 Jul 2010 16:51:54 +0000 (12:51 -0400)]
bump the version

14 years agoThis is glib 2.25.11 2.25.11
Ryan Lortie [Sun, 11 Jul 2010 16:51:33 +0000 (12:51 -0400)]
This is glib 2.25.11

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sun, 11 Jul 2010 13:51:04 +0000 (15:51 +0200)]
Updated Norwegian bokmål translation

14 years agoMove main loop docs inline
Matthias Clasen [Sun, 11 Jul 2010 03:53:36 +0000 (23:53 -0400)]
Move main loop docs inline

14 years agoFix a typo
Matthias Clasen [Sun, 11 Jul 2010 02:30:04 +0000 (22:30 -0400)]
Fix a typo

14 years agoMove docs for atomic operations inline
Matthias Clasen [Sun, 11 Jul 2010 01:51:34 +0000 (21:51 -0400)]
Move docs for atomic operations inline

14 years agoMove GAsyncQueue docs inline
Matthias Clasen [Sun, 11 Jul 2010 01:26:28 +0000 (21:26 -0400)]
Move GAsyncQueue docs inline

14 years agoNEWS for the pending release
Ryan Lortie [Sun, 11 Jul 2010 03:28:30 +0000 (23:28 -0400)]
NEWS for the pending release

14 years agoAnnotate all custom GIO GSource using g_source_set_name
Colin Walters [Sun, 11 Jul 2010 00:09:34 +0000 (20:09 -0400)]
Annotate all custom GIO GSource using g_source_set_name

Naming the sources allows easier debugging with e.g. SystemTap
probes.

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

14 years agouse proper feature test macros for isnan
Matthias Clasen [Sun, 11 Jul 2010 00:00:49 +0000 (20:00 -0400)]
use proper feature test macros for isnan

Problem pointed out in bug 581354

14 years agoAdd ACLOCAL_AMFLAGS to Makefile.am
Matthias Clasen [Sat, 10 Jul 2010 23:46:40 +0000 (19:46 -0400)]
Add ACLOCAL_AMFLAGS to Makefile.am

Patch by Vincent Untz, bug 570036

14 years agoOne more dubious return
Matthias Clasen [Sat, 10 Jul 2010 23:16:27 +0000 (19:16 -0400)]
One more dubious return

14 years agoGVariant: fix some more leaks in error cases
Ryan Lortie [Sat, 10 Jul 2010 21:54:08 +0000 (17:54 -0400)]
GVariant: fix some more leaks in error cases

14 years agomove the g_free() from the last commit down
Ryan Lortie [Sat, 10 Jul 2010 21:45:51 +0000 (17:45 -0400)]
move the g_free() from the last commit down

It is needed for the error message...

14 years agoMinor cleanup
Matthias Clasen [Sat, 10 Jul 2010 22:04:22 +0000 (18:04 -0400)]
Minor cleanup

14 years agoAdd a GAppInfoCreate flag for startup-notification
Matthias Clasen [Sat, 10 Jul 2010 21:57:45 +0000 (17:57 -0400)]
Add a GAppInfoCreate flag for startup-notification

Using this flag, it will be possible to launch apps without a
desktop file, in the same way that gdk_spawn_... lets you do.

Requested in bug 599223.

14 years agoFix sparse warnings
Matthias Clasen [Sat, 10 Jul 2010 21:21:32 +0000 (17:21 -0400)]
Fix sparse warnings

These were listed in bug 623955

14 years agoChain up in g_settings_finalize
Matthias Clasen [Sat, 10 Jul 2010 21:12:31 +0000 (17:12 -0400)]
Chain up in g_settings_finalize

Requested in bug 623954

14 years agoTurn on glibc malloc checking features for make check
Matthias Clasen [Sat, 10 Jul 2010 21:06:41 +0000 (17:06 -0400)]
Turn on glibc malloc checking features for make check

14 years agoGVariant: don't leak during type inferencing
Ryan Lortie [Sat, 10 Jul 2010 20:56:51 +0000 (16:56 -0400)]
GVariant: don't leak during type inferencing

14 years agoUpdated Spanish translation
Jorge González [Sat, 10 Jul 2010 09:03:52 +0000 (11:03 +0200)]
Updated Spanish translation

14 years agoFix some leaks in the inotify code
Matthias Clasen [Fri, 9 Jul 2010 12:33:27 +0000 (08:33 -0400)]
Fix some leaks in the inotify code

Also avoid creating some unused objects. Patch by Carlos Garnacho,
bug 613057

14 years agoAdapt to recent MLS changes
Matthias Clasen [Fri, 9 Jul 2010 11:24:08 +0000 (07:24 -0400)]
Adapt to recent MLS changes

g_file_query_info returns non-NULL more often now.

14 years agoRemove dead links from the IEEE float documentation
Matthias Clasen [Thu, 8 Jul 2010 23:52:36 +0000 (19:52 -0400)]
Remove dead links from the IEEE float documentation

14 years agoImprove the long description of GString
Matthias Clasen [Thu, 8 Jul 2010 23:37:31 +0000 (19:37 -0400)]
Improve the long description of GString

It is more similar to a Java StringBuffer than to a C string.
See bug 612439.

14 years agoDocument NULL shortcut to g_value_array_insert etc.
Will Thompson [Thu, 8 Jul 2010 23:30:53 +0000 (19:30 -0400)]
Document NULL shortcut to g_value_array_insert etc.

You can pass a NULL GValue * to any of g_value_array_insert, _prepend or
_append to add a new, uninitialized value. This is a very useful
shortcut, and it should be documented rather than left languishing in a
comment in the implementation.

Fixes Gnome bug #552363.

14 years agoImprove some GNode docs
Matthias Clasen [Thu, 8 Jul 2010 23:26:25 +0000 (19:26 -0400)]
Improve some GNode docs

See bug 561248

14 years agoExpand the g_sprintf docs
Matthias Clasen [Thu, 8 Jul 2010 23:23:42 +0000 (19:23 -0400)]
Expand the g_sprintf docs

As requested in bug 576833.

14 years agoAdd a note about l10n to the g_strconcat docs
Matthias Clasen [Thu, 8 Jul 2010 23:03:18 +0000 (19:03 -0400)]
Add a note about l10n to the g_strconcat docs

As requested in bug 576854

14 years agoMove uri conversion functions to a better place in the docs
Matthias Clasen [Thu, 8 Jul 2010 21:38:47 +0000 (17:38 -0400)]
Move uri conversion functions to a better place in the docs

g_filename_from/to_uri are better off in the section called
"URI functions". Requested in bug 582227.

14 years agoUpdated Spanish translation
Jorge González [Thu, 8 Jul 2010 21:25:01 +0000 (23:25 +0200)]
Updated Spanish translation

14 years agoComment out an unused function
Matthias Clasen [Thu, 8 Jul 2010 20:32:08 +0000 (16:32 -0400)]
Comment out an unused function

it is causing warnings, so it needs to die...bug 622600

14 years agoFix an oversight in the previous commit
Matthias Clasen [Thu, 8 Jul 2010 20:24:44 +0000 (16:24 -0400)]
Fix an oversight in the previous commit

14 years agoUse glib infrastructure to parse debug flags
Matthias Clasen [Thu, 8 Jul 2010 20:22:16 +0000 (16:22 -0400)]
Use glib infrastructure to parse debug flags

Proposed in bug 623319

14 years agoBe a bit more picky when deciding if mounts are internal
Matthias Clasen [Thu, 8 Jul 2010 19:18:05 +0000 (15:18 -0400)]
Be a bit more picky when deciding if mounts are internal

Complained about in bug 623780.

14 years agoA little more correctness in formatting pids
Matthias Clasen [Thu, 8 Jul 2010 19:11:24 +0000 (15:11 -0400)]
A little more correctness in formatting pids

Requested in bug 623772

14 years agoEscape arguments when putting together a cmdline
Matthias Clasen [Thu, 8 Jul 2010 18:58:33 +0000 (14:58 -0400)]
Escape arguments when putting together a cmdline

See bug 623770

14 years agoxinclude the dtd
Matthias Clasen [Thu, 8 Jul 2010 18:38:55 +0000 (14:38 -0400)]
xinclude the dtd

Keeping two copies in sync manually gets tiresome.

14 years agoUpdate the dtd to match the implementation
Matthias Clasen [Thu, 8 Jul 2010 18:29:17 +0000 (14:29 -0400)]
Update the dtd to match the implementation

See bug 623720