platform/upstream/glib.git
16 years agoAdded Pashto (ps) to the list of languages
Runa Bhattacharjee [Tue, 15 Jul 2008 16:06:52 +0000 (16:06 +0000)]
Added Pashto (ps) to the list of languages

svn path=/trunk/; revision=7185

16 years agoAdded Pashto Translations by Zabeeh Khan
Runa Bhattacharjee [Tue, 15 Jul 2008 16:05:46 +0000 (16:05 +0000)]
Added Pashto Translations by Zabeeh Khan

svn path=/trunk/; revision=7184

16 years agoUse g_strcmp0 instead of rolling our own
Matthias Clasen [Tue, 15 Jul 2008 05:42:11 +0000 (05:42 +0000)]
Use g_strcmp0 instead of rolling our own

svn path=/trunk/; revision=7183

16 years agoIgnore the error if iconv doesn't support EUC-JP.
Matthias Clasen [Mon, 14 Jul 2008 19:31:33 +0000 (19:31 +0000)]
Ignore the error if iconv doesn't support EUC-JP.

        * tests/iochannel-test.c: Ignore the error if iconv doesn't
        support EUC-JP.

svn path=/trunk/; revision=7182

16 years agoPrint error messages when something fails
Matthias Clasen [Mon, 14 Jul 2008 19:15:18 +0000 (19:15 +0000)]
Print error messages when something fails

svn path=/trunk/; revision=7181

16 years agoSkip a test if iconv doesn't support the encoding
Matthias Clasen [Mon, 14 Jul 2008 18:17:20 +0000 (18:17 +0000)]
Skip a test if iconv doesn't support the encoding

svn path=/trunk/; revision=7180

16 years agoUpdated Traditional Chinese translation(Hong Kong). Updated Traditional
Chao-Hsiung Liao [Mon, 14 Jul 2008 08:29:01 +0000 (08:29 +0000)]
Updated Traditional Chinese translation(Hong Kong). Updated Traditional

2008-07-14  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

        * zh_HK.po: Updated Traditional Chinese translation(Hong Kong).
        * zh_TW.po: Updated Traditional Chinese translation(Taiwan).

svn path=/trunk/; revision=7179

16 years agoUpdated Traditional Chinese translation(Hong Kong). Updated Traditional
Chao-Hsiung Liao [Sun, 13 Jul 2008 08:32:55 +0000 (08:32 +0000)]
Updated Traditional Chinese translation(Hong Kong). Updated Traditional

2008-07-13  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

        * zh_HK.po: Updated Traditional Chinese translation(Hong Kong).
        * zh_TW.po: Updated Traditional Chinese translation(Taiwan).

svn path=/trunk/; revision=7178

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Thu, 10 Jul 2008 12:35:37 +0000 (12:35 +0000)]
Updated Thai translation.

2008-07-10  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=7175

16 years agoadd functions g_markup_parse_context_{push,pop} in order to provide some
Ryan Lortie [Thu, 10 Jul 2008 08:41:59 +0000 (08:41 +0000)]
add functions g_markup_parse_context_{push,pop} in order to provide some

2008-07-10  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/glib/glib-sections.txt:
        * glib/glib.symbols:
        * glib/gmarkup.c:
        * glib/gmarkup.h: add functions g_markup_parse_context_{push,pop} in
        order to provide some small hooks on which to build easy-to-use
        subparsers.

        * glib/tests/Makefile: add new test
        * glib/tests/markup-subparser.c: new test for subparsers

        Fixes bug #337518.

svn path=/trunk/; revision=7174

16 years agoDoc improvement
Matthias Clasen [Wed, 9 Jul 2008 04:26:47 +0000 (04:26 +0000)]
Doc improvement

svn path=/trunk/; revision=7173

16 years agoDocumentation improvements.
Matthias Clasen [Wed, 9 Jul 2008 04:18:45 +0000 (04:18 +0000)]
Documentation improvements.

svn path=/trunk/; revision=7172

16 years agoAdd g_mount_guess_content_type
Matthias Clasen [Tue, 8 Jul 2008 16:02:08 +0000 (16:02 +0000)]
Add g_mount_guess_content_type

svn path=/trunk/; revision=7171

16 years agoMinor doc edits
Matthias Clasen [Tue, 8 Jul 2008 06:01:04 +0000 (06:01 +0000)]
Minor doc edits

svn path=/trunk/; revision=7170

16 years agoAdd new method g_volume_get_activation_root(). This is needed for easily
David Zeuthen [Mon, 7 Jul 2008 15:38:38 +0000 (15:38 +0000)]
Add new method g_volume_get_activation_root(). This is needed for easily

2008-07-06  David Zeuthen  <davidz@redhat.com>

* gio.symbols:
* gvolume.[ch]: Add new method g_volume_get_activation_root(). This
is needed for easily handling adoption of foreign volumes by
out-of-process volume monitors (#541793)

svn path=/trunk/; revision=7169

16 years agoExport the eject-button signal on the volume monitor class (#541794).
David Zeuthen [Mon, 7 Jul 2008 02:23:52 +0000 (02:23 +0000)]
Export the eject-button signal on the volume monitor class (#541794).

2008-07-06  David Zeuthen  <davidz@redhat.com>

        * gvolumemonitor.[ch]:
        * gunionvolumemonitor.c: Export the eject-button signal on the
        volume monitor class (#541794).

svn path=/trunk/; revision=7168

16 years agoMore doc tweaks
Matthias Clasen [Sun, 6 Jul 2008 22:11:58 +0000 (22:11 +0000)]
More doc tweaks

svn path=/trunk/; revision=7167

16 years agoSet a sane default recursion limit of 8192 instead of 1000000. Patch by
Matthias Clasen [Sun, 6 Jul 2008 04:25:18 +0000 (04:25 +0000)]
Set a sane default recursion limit of 8192 instead of 1000000. Patch by

        * glib/pcre/Makefile.am: Set a sane default recursion limit
        of 8192 instead of 1000000.
        Patch by Mart Raudsepp.

svn path=/trunk/; revision=7166

16 years agoMention Vala
Matthias Clasen [Sun, 6 Jul 2008 04:17:36 +0000 (04:17 +0000)]
Mention Vala

svn path=/trunk/; revision=7165

16 years agoUse the right binary name in help output. Patch by Hiroyuki Ikezoe.
Matthias Clasen [Sun, 6 Jul 2008 02:01:56 +0000 (02:01 +0000)]
Use the right binary name in help output. Patch by Hiroyuki Ikezoe.

        * gobject-query.c: Use the right binary name in help output.
        Patch by Hiroyuki Ikezoe.

svn path=/trunk/; revision=7164

16 years agoUpdates
Matthias Clasen [Sun, 6 Jul 2008 01:30:28 +0000 (01:30 +0000)]
Updates

svn path=/trunk/; revision=7163

16 years agoClarify some docs
Matthias Clasen [Sun, 6 Jul 2008 00:07:50 +0000 (00:07 +0000)]
Clarify some docs

svn path=/trunk/; revision=7162

16 years agoBug 541507 – Ambiguous description of assigned characters in the Glib
Behdad Esfahbod [Fri, 4 Jul 2008 18:05:13 +0000 (18:05 +0000)]
Bug 541507 – Ambiguous description of assigned characters in the Glib

2008-07-04  Behdad Esfahbod  <behdad@gnome.org>

        Bug 541507 – Ambiguous description of assigned characters in the Glib
        Unicode Manipulation reference

        * glib/guniprop.c
        (g_unichar_isgraph): Return true for PrivateUse too.
        (g_unichar_isprint): Return true for PrivateUse too.
        (g_unichar_isdefined): Return false for Surrogate.

svn path=/trunk/; revision=7161

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Fri, 4 Jul 2008 17:54:39 +0000 (17:54 +0000)]
Translation updated by Ivar Smolin

2008-07-04  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=7160

16 years agoremove unused #define PREALLOC_CPARAMS.
Michael Natterer [Fri, 4 Jul 2008 13:08:39 +0000 (13:08 +0000)]
remove unused #define PREALLOC_CPARAMS.

2008-07-04  Michael Natterer  <mitch@imendio.com>

* gobject.c: remove unused #define PREALLOC_CPARAMS.

svn path=/trunk/; revision=7159

16 years agoBug 541208 – Functions to easily install and use signals without class
Michael Natterer [Fri, 4 Jul 2008 11:10:48 +0000 (11:10 +0000)]
Bug 541208 – Functions to easily install and use signals without class

2008-07-04  Michael Natterer  <mitch@imendio.com>

Bug 541208 – Functions to easily install and use signals without
class struct slot

* tests/gobject/override.c: added tests for the new gsignal
overriding and chaining APIs.

svn path=/trunk/; revision=7158

16 years agoBug 541208 – Functions to easily install and use signals without class
Michael Natterer [Fri, 4 Jul 2008 11:10:17 +0000 (11:10 +0000)]
Bug 541208 – Functions to easily install and use signals without class

2008-07-04  Michael Natterer  <mitch@imendio.com>

Bug 541208 – Functions to easily install and use signals without
class struct slot

* gobject.symbols
* gsignal.[ch] (g_signal_new_class_handler): the same as
_gtk_binding_signal_new(), to install signals with a callback
instead of a class struct slot as class closure.

The next two functions are C convenience and much easier to use
than the generic overriding and chaining APIs which are intended
primarily for language bindings:

(g_signal_override_class_handler): to override a signal with a
callback instead of a class struct slot.

(g_signal_chain_from_overridden_handler): to chain up from a
signal without class struct slot. The API is similar to
g_signal_emit().

svn path=/trunk/; revision=7157

16 years agoFix a stupid crash
Matthias Clasen [Thu, 3 Jul 2008 22:57:55 +0000 (22:57 +0000)]
Fix a stupid crash

svn path=/trunk/; revision=7155

16 years agoUpdated German translation, fix #540762.
Hendrik Richter [Thu, 3 Jul 2008 17:33:55 +0000 (17:33 +0000)]
Updated German translation, fix #540762.

2008-07-03  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation, fix #540762.

svn path=/trunk/; revision=7154

16 years ago2.17.3 GLIB_2_17_3
Matthias Clasen [Thu, 3 Jul 2008 00:28:00 +0000 (00:28 +0000)]
2.17.3

svn path=/trunk/; revision=7152

16 years agoFix the build
Matthias Clasen [Wed, 2 Jul 2008 22:05:32 +0000 (22:05 +0000)]
Fix the build

svn path=/trunk/; revision=7151

16 years agosvn path=/trunk/; revision=7150
Matthias Clasen [Wed, 2 Jul 2008 21:08:05 +0000 (21:08 +0000)]
svn path=/trunk/; revision=7150

svn path=/trunk/; revision=7150

16 years agoBetter endianness fix
Matthias Clasen [Wed, 2 Jul 2008 19:21:53 +0000 (19:21 +0000)]
Better endianness fix

svn path=/trunk/; revision=7149

16 years agoUpdates
Matthias Clasen [Wed, 2 Jul 2008 19:15:52 +0000 (19:15 +0000)]
Updates

svn path=/trunk/; revision=7148

16 years agoFix syntax
Matthias Clasen [Wed, 2 Jul 2008 19:11:08 +0000 (19:11 +0000)]
Fix syntax

svn path=/trunk/; revision=7147

16 years agoUse UNLOCK to unlock, not LOCK.
Colin Walters [Wed, 2 Jul 2008 19:06:08 +0000 (19:06 +0000)]
Use UNLOCK to unlock, not LOCK.

2008-07-02  Colin Walters  <walters@redhat.com>

* gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK.

svn path=/trunk/; revision=7146

16 years agoAdd g_file_monitor
Matthias Clasen [Wed, 2 Jul 2008 17:19:16 +0000 (17:19 +0000)]
Add g_file_monitor

svn path=/trunk/; revision=7145

16 years agoUse a configure check for structfs.f_bavail.
Matthias Clasen [Wed, 2 Jul 2008 16:49:04 +0000 (16:49 +0000)]
Use a configure check for structfs.f_bavail.

        * glocalfile.c: Use a configure check for structfs.f_bavail.

svn path=/trunk/; revision=7144

16 years agoAdd a function to create a GDesktopAppInfo from a GKeyFile. Proposed by
Matthias Clasen [Wed, 2 Jul 2008 16:23:23 +0000 (16:23 +0000)]
Add a function to create a GDesktopAppInfo from a GKeyFile. Proposed by

        * gio.symbols:
        * gdesktopappinfo.[hc]: Add a function to create a
        GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.

svn path=/trunk/; revision=7143

16 years agoAdd a g_return_val_if_fail check in both versions. Proposed by Patrik
Matthias Clasen [Wed, 2 Jul 2008 16:16:27 +0000 (16:16 +0000)]
Add a g_return_val_if_fail check in both versions. Proposed by Patrik

        * glib/gmain.c (g_get_current_time): Add a g_return_val_if_fail
        check in both versions. Proposed by Patrik Olsson in bug 540545.

svn path=/trunk/; revision=7142

16 years agoWorkaround AC_C_BIGENDIAN breakage in autoconf 2.61. Add a _cv_ to some
Matthias Clasen [Wed, 2 Jul 2008 15:56:27 +0000 (15:56 +0000)]
Workaround AC_C_BIGENDIAN breakage in autoconf 2.61. Add a _cv_ to some

2008-07-02  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Workaround AC_C_BIGENDIAN breakage in autoconf 2.61.
        Add a _cv_ to some variable names, since autoconf wants it.

svn path=/trunk/; revision=7141

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Wed, 2 Jul 2008 14:57:16 +0000 (14:57 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=7140

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Wed, 2 Jul 2008 14:56:53 +0000 (14:56 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=7139

16 years agoFix ulink in doc to make gtk-doc happy.
Wouter Bolsterlee [Wed, 2 Jul 2008 13:17:23 +0000 (13:17 +0000)]
Fix ulink in doc to make gtk-doc happy.

2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gappinfo.c: Fix ulink in doc to make gtk-doc happy.

svn path=/trunk/; revision=7138

16 years agoFix up section comments
Matthias Clasen [Wed, 2 Jul 2008 03:43:13 +0000 (03:43 +0000)]
Fix up section comments

svn path=/trunk/; revision=7137

16 years agoFix a doc typo
Matthias Clasen [Wed, 2 Jul 2008 03:41:58 +0000 (03:41 +0000)]
Fix a doc typo

svn path=/trunk/; revision=7136

16 years agoAdd missing types.
Matthias Clasen [Wed, 2 Jul 2008 02:49:56 +0000 (02:49 +0000)]
Add missing types.

svn path=/trunk/; revision=7135

16 years agoFixed some more includes
Cody Russell [Wed, 2 Jul 2008 01:54:16 +0000 (01:54 +0000)]
Fixed some more includes

svn path=/trunk/; revision=7131

16 years agoFixed some include problems.
Cody Russell [Wed, 2 Jul 2008 01:52:37 +0000 (01:52 +0000)]
Fixed some include problems.

2008-07-01  Cody Russell  <bratsche@gnome.org>

        * gio/gwin32appinfo.c:
        * gio/gwin32mount.c: Fixed some include problems.

svn path=/trunk/; revision=7130

16 years agoMove my ChangeLog entry to the right place
Cody Russell [Tue, 1 Jul 2008 15:18:14 +0000 (15:18 +0000)]
Move my ChangeLog entry to the right place

svn path=/trunk/; revision=7129

16 years agoMoved all relevant typedefs into these files.
Cody Russell [Tue, 1 Jul 2008 06:32:35 +0000 (06:32 +0000)]
Moved all relevant typedefs into these files.

2008-07-01  Cody Russell  <bratsche@gnome.org>

        * gio/gioenums.h:
        * gio/giotypes.h:
Moved all relevant typedefs into these files.

        * gio/*.[ch]:
Updated wrt added files.

        Split types into separate file for easier maintainership. (#538564)

svn path=/trunk/; revision=7127

16 years agoApply fix for CVE-2008-2371 to fix a heap-based buffer overflow.
Matthias Clasen [Tue, 1 Jul 2008 03:27:14 +0000 (03:27 +0000)]
Apply fix for CVE-2008-2371 to fix a heap-based buffer overflow.

        * glib/pcre/pcre_compile.c: Apply fix for CVE-2008-2371 to
        fix a heap-based buffer overflow.

svn path=/trunk/; revision=7123

16 years agoClarify docs. Patch by Jared Moore
Matthias Clasen [Mon, 30 Jun 2008 05:02:06 +0000 (05:02 +0000)]
Clarify docs. Patch by Jared Moore

        * gfile.c (g_file_append_to): Clarify docs.
        Patch by Jared Moore

svn path=/trunk/; revision=7110

16 years agoUnalias. Patch by Markus Bergman
Matthias Clasen [Mon, 30 Jun 2008 04:59:40 +0000 (04:59 +0000)]
Unalias. Patch by Markus Bergman

        * gcontentype.c (g_content_type_from_mime_type): Unalias.
        Patch by Markus Bergman

svn path=/trunk/; revision=7109

16 years agoAllow g_atomic_pointer_get
Matthias Clasen [Mon, 30 Jun 2008 04:55:27 +0000 (04:55 +0000)]
Allow g_atomic_pointer_get

svn path=/trunk/; revision=7108

16 years agoAdd some tests for GMemoryOutputStream.
Matthias Clasen [Mon, 30 Jun 2008 03:47:27 +0000 (03:47 +0000)]
Add some tests for GMemoryOutputStream.

2008-06-29  Matthias Clasen  <mclasen@redhat.com>

        * tests/Makefile.am:
        * tests/memory-output-stream.c: Add some tests for
        GMemoryOutputStream.

2008-06-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
        0, ...)

        * gmemoryoutputstream.c (array_resize): Handle truncation to
        zero correctly. Reported by Akira Tagoh

svn path=/trunk/; revision=7106

16 years agoTrivial doc fixes
Matthias Clasen [Mon, 30 Jun 2008 02:55:39 +0000 (02:55 +0000)]
Trivial doc fixes

svn path=/trunk/; revision=7104

16 years agoDon't g_list_prepend one list to another. Pointed out by Jan Arne Petersen
Matthias Clasen [Mon, 30 Jun 2008 02:44:52 +0000 (02:44 +0000)]
Don't g_list_prepend one list to another. Pointed out by Jan Arne Petersen

        * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
        one list to another. Pointed out by Jan Arne Petersen

svn path=/trunk/; revision=7103

16 years agoBug 539626 – Update docstrings for g_object_freeze_notify and
Björn Lindqvist [Sun, 29 Jun 2008 12:09:31 +0000 (12:09 +0000)]
Bug 539626 – Update docstrings for g_object_freeze_notify and

2008-06-29  Björn Lindqvist  <bjourne@gmail.com>

Bug 539626 – Update docstrings for g_object_freeze_notify and
g_object_thaw_notify

* gobject/gobject.c: Explain how the freeze count works.

svn path=/trunk/; revision=7102

16 years agoremove semicolons from G_IMPLEMENT_INTERFACE().
Michael Natterer [Sat, 28 Jun 2008 20:53:02 +0000 (20:53 +0000)]
remove semicolons from G_IMPLEMENT_INTERFACE().

2008-06-28  Michael Natterer  <mitch@imendio.com>

* gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().

svn path=/trunk/; revision=7101

16 years agomove G_OS_WIN32 inclusion of <io.h> down to where G_OS_WIN32 will be
Hans Breuer [Fri, 27 Jun 2008 09:59:30 +0000 (09:59 +0000)]
move G_OS_WIN32 inclusion of <io.h> down to where G_OS_WIN32 will be

2008-06-27  Hans Breuer  <hans@breuer.org>

* glib-genmarshal.c : move G_OS_WIN32 inclusion of <io.h> down to
where G_OS_WIN32 will be defined (#540047, Kazuki IWAMOTO)

svn path=/trunk/; revision=7100

16 years agoAdd #define GLIB_USING_SYSTEM_PRINTF to glibconfig.h, which specifies if
Cody Russell [Thu, 26 Jun 2008 15:03:05 +0000 (15:03 +0000)]
Add #define GLIB_USING_SYSTEM_PRINTF to glibconfig.h, which specifies if

2008-06-26  Cody Russell  <bratsche@gnome.org>

        * configure.in: Add #define GLIB_USING_SYSTEM_PRINTF
        to glibconfig.h, which specifies if GLib is using
        the system printf functions for g_print*().
        (#539999, by Tim-Philipp Müller)

svn path=/trunk/; revision=7099

16 years agoglib/Makefile.am don't comment out the include of Makefile.decl just
Michael Natterer [Tue, 24 Jun 2008 20:29:24 +0000 (20:29 +0000)]
glib/Makefile.am don't comment out the include of Makefile.decl just

2008-06-24  Michael Natterer  <mitch@imendio.com>

* glib/Makefile.am
* gobject/Makefile.am: don't comment out the include of
Makefile.decl just because there are no tests. It needs to be
included in each Makefile.am or make check will fail.

svn path=/trunk/; revision=7098

16 years agoBug 539770 - migrate gstrfunc unit tests to gtest
Paolo Borelli [Tue, 24 Jun 2008 13:55:22 +0000 (13:55 +0000)]
Bug 539770 - migrate gstrfunc unit tests to gtest

2008-06-24  Paolo Borelli  <pborelli@katamail.com>

Bug 539770 - migrate gstrfunc unit tests to gtest

* tests/strfunc-test.c:
* tests/testglib.c:
* tests/strtoll-test.c:
* tests/strtod-test.c:
* tests/string-test.c:
* tests/Makefile.am:
Removed old tests.

* glib/tests/fileutils.c:
* glib/tests/strfuncs.c:
* glib/tests/Makefile.am:
Added all the old tests migrated to the new unit test framework
and add new unit tests for some of the functions.

svn path=/trunk/; revision=7097

16 years agointroduce an ENUMPREFIX substitution.
Kristian Rietveld [Mon, 23 Jun 2008 12:06:39 +0000 (12:06 +0000)]
introduce an ENUMPREFIX substitution.

2008-06-23  Kristian Rietveld  <kris@imendio.com>

* gobject/glib-mkenums.in: introduce an ENUMPREFIX substitution.

* gio/gioenumtypes.h.template: use @ENUMPREFIX@ instead of
hard coding "G" as prefix.

svn path=/trunk/; revision=7096

16 years agoUpdated Korean translation
Changwoo Ryu [Sun, 22 Jun 2008 22:40:45 +0000 (22:40 +0000)]
Updated Korean translation

svn path=/trunk/; revision=7095

16 years agoUnify the Makefiles. In glib only scan glib folders.
Stefan Kost [Sun, 22 Jun 2008 16:34:30 +0000 (16:34 +0000)]
Unify the Makefiles. In glib only scan glib folders.

* glib/Makefile.am:
* gobject/Makefile.am:
  Unify the Makefiles. In glib only scan glib folders.

svn path=/trunk/; revision=7094

16 years agoFix markup in comment.
Stefan Kost [Sun, 22 Jun 2008 16:32:18 +0000 (16:32 +0000)]
Fix markup in comment.

* glib/gurifuncs.c:
  Fix markup in comment.

svn path=/trunk/; revision=7093

16 years agoInclude "config.h" instead of <config.h> Command used: find -name
Johan Dahlin [Sun, 22 Jun 2008 15:10:51 +0000 (15:10 +0000)]
Include "config.h" instead of <config.h> Command used: find -name

2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

    * *.[ch]: Include "config.h" instead of <config.h>
    Command used:
    find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
    Rubberstamped by Mitch

svn path=/trunk/; revision=7092

16 years agoremove trailing whitespace from newly added gtk-doc comments and
Michael Natterer [Sun, 22 Jun 2008 14:53:09 +0000 (14:53 +0000)]
remove trailing whitespace from newly added gtk-doc comments and

2008-06-22  Michael Natterer  <mitch@imendio.com>

* *.c: remove trailing whitespace from newly added gtk-doc
comments and reformatted some where they contained overly long or
ill-formatted lines.

svn path=/trunk/; revision=7090

16 years agomoved includes back to the top of the files (before gtk-doc SECTION
Michael Natterer [Sun, 22 Jun 2008 14:29:25 +0000 (14:29 +0000)]
moved includes back to the top of the files (before gtk-doc SECTION

2008-06-22  Michael Natterer  <mitch@imendio.com>

* *.c: moved includes back to the top of the files (before gtk-doc
SECTION comments). Add "config.h" in all files and move system
included before glib includes. Remove trailing whitespace from
SECTION comments and did some reformatting where lines were overly
long, no documentation content was changed.

svn path=/trunk/; revision=7089

16 years agomoving changelog entries from main to gobject changelog
Stefan Kost [Sun, 22 Jun 2008 12:35:45 +0000 (12:35 +0000)]
moving changelog entries from main to gobject changelog

svn path=/trunk/; revision=7088

16 years agoMove some content for gobject-unused.sgml and cleared empty entries. The
Stefan Kost [Sun, 22 Jun 2008 10:10:59 +0000 (10:10 +0000)]
Move some content for gobject-unused.sgml and cleared empty entries. The

* docs/reference/gobject/tmpl/gobject-unused.sgml:
* gobject/gobject.h:
* gobject/gtype.c:
* gobject/gtype.h:
  Move some content for gobject-unused.sgml and cleared empty entries.
  The remaining 4 ones should be checked by some else. If they are not
  needed. The file can be removed.

svn path=/trunk/; revision=7087

16 years agoMigrating docs.
Stefan Kost [Sun, 22 Jun 2008 09:53:11 +0000 (09:53 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/value_collection.sgml:
* gobject/gvaluecollector.h:
  Migrating docs.

svn path=/trunk/; revision=7086

16 years agoMigrating docs.
Stefan Kost [Sun, 22 Jun 2008 09:45:13 +0000 (09:45 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/value_arrays.sgml:
* gobject/gvaluearray.c:
* gobject/gvaluearray.h:
  Migrating docs.

svn path=/trunk/; revision=7085

16 years agoFix compiler warning in format string check.
Stefan Kost [Sun, 22 Jun 2008 09:43:54 +0000 (09:43 +0000)]
Fix compiler warning in format string check.

* gobject/gsignal.c:
  Fix compiler warning in format string check.

svn path=/trunk/; revision=7084

16 years agoMigrating docs.
Stefan Kost [Sun, 22 Jun 2008 09:29:52 +0000 (09:29 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/signals.sgml:
* gobject/gclosure.c:
* gobject/gobject.c:
* gobject/gsignal.c:
* gobject/gsignal.h:
  Migrating docs.

svn path=/trunk/; revision=7083

16 years agoHelp poor little gtkdoc a bit and tell that it can ignore G_GNUC_INTERNAL.
Stefan Kost [Sat, 21 Jun 2008 22:38:08 +0000 (22:38 +0000)]
Help poor little gtkdoc a bit and tell that it can ignore G_GNUC_INTERNAL.

* docs/reference/gobject/Makefile.am:
  Help poor little gtkdoc a bit and tell that it can ignore
  G_GNUC_INTERNAL. Also disable including the unit-test header as this
  causes warnings and we don't need it here.

svn path=/trunk/; revision=7082

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 22:16:14 +0000 (22:16 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/param_value_types.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/genums.c:
* gobject/genums.h:
* gobject/gobject.c:
* gobject/gobject.h:
* gobject/gparam.c:
* gobject/gparam.h:
* gobject/gparamspecs.c:
* gobject/gparamspecs.h:
* gobject/gvaluetypes.c:
* gobject/gvaluetypes.h:
  Migrating docs.

svn path=/trunk/; revision=7081

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 20:07:57 +0000 (20:07 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/objects.sgml:
* gobject/gobject.c:
* gobject/gobject.h:
* gobject/gparam.h:
  Migrating docs.

svn path=/trunk/; revision=7080

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 18:20:43 +0000 (18:20 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/gtypeplugin.sgml:
* gobject/gtypeplugin.c:
* gobject/gtypeplugin.h:
  Migrating docs.

svn path=/trunk/; revision=7079

16 years agoAdd --sgml-mode to allow sgml in doc-fragments (which somehow works before
Stefan Kost [Sat, 21 Jun 2008 17:25:17 +0000 (17:25 +0000)]
Add --sgml-mode to allow sgml in doc-fragments (which somehow works before

* docs/reference/gobject/Makefile.am:
  Add --sgml-mode to allow sgml in doc-fragments (which somehow works
  before already).
* gobject/gboxed.h:
* gobject/gclosure.c:
* gobject/gparam.c:
* gobject/gparam.h:
* gobject/gtype.h:
  Convert character entities back. FIx some broken sgml.

svn path=/trunk/; revision=7078

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 16:35:50 +0000 (16:35 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/gtypemodule.sgml:
* gobject/gtypemodule.c:
* gobject/gtypemodule.h:
  Migrating docs.

svn path=/trunk/; revision=7077

16 years agoAdd titles back from tmpl.
Stefan Kost [Sat, 21 Jun 2008 16:24:52 +0000 (16:24 +0000)]
Add titles back from tmpl.

* gobject/gboxed.c:
* gobject/gclosure.c:
* gobject/genums.c:
* gobject/gparam.c:
* gobject/gvalue.c:
  Add titles back from tmpl.

svn path=/trunk/; revision=7076

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 16:14:18 +0000 (16:14 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/gtype.sgml:
* gobject/gtype.c:
* gobject/gtype.h:
* gobject/gvaluetypes.h:
  Migrating docs.

svn path=/trunk/; revision=7075

16 years agoAdd one missing ':' and reformate GParamFlags docs.
Stefan Kost [Sat, 21 Jun 2008 14:00:44 +0000 (14:00 +0000)]
Add one missing ':' and reformate GParamFlags docs.

* gobject/gclosure.h:
* gobject/gparam.h:
  Add one missing ':' and reformate GParamFlags docs.

svn path=/trunk/; revision=7074

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 13:47:14 +0000 (13:47 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/gparamspec.sgml:
* gobject/gparam.c:
* gobject/gparam.h:
  Migrating docs.

svn path=/trunk/; revision=7073

16 years agoUse file-names from the section file for SECTION: comments.
Stefan Kost [Sat, 21 Jun 2008 12:57:06 +0000 (12:57 +0000)]
Use file-names from the section file for SECTION: comments.

* gobject/gboxed.c:
* gobject/gclosure.c:
* gobject/genums.c:
* gobject/gvalue.c:
  Use file-names from the section file for SECTION: comments.

svn path=/trunk/; revision=7072

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 12:45:49 +0000 (12:45 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/generic_values.sgml:
* gobject/gboxed.h:
* gobject/gtype.h:
* gobject/gvalue.c:
* gobject/gvalue.h:
* gobject/gvaluetypes.c:
  Migrating docs.

svn path=/trunk/; revision=7071

16 years agoFix documentation for return values.
Stefan Kost [Sat, 21 Jun 2008 12:24:56 +0000 (12:24 +0000)]
Fix documentation for return values.

* gobject/genums.h:
  Fix documentation for return values.

svn path=/trunk/; revision=7070

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 12:18:12 +0000 (12:18 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/gclosure.sgml:
* gobject/gboxed.h:
* gobject/gclosure.c:
* gobject/gclosure.h:
* gobject/gobject.c:
* gobject/gsourceclosure.c:
* gobject/gsourceclosure.h:
  Migrating docs.

svn path=/trunk/; revision=7069

16 years agoImprove Windows-specific parts of documentation. Mention the different C
Tor Lillqvist [Sat, 21 Jun 2008 11:36:24 +0000 (11:36 +0000)]
Improve Windows-specific parts of documentation. Mention the different C

2008-06-21  Tor Lillqvist  <tml@novell.com>

* glib/gstdio.c: Improve Windows-specific parts of
documentation. Mention the different C library issue in more
places.

svn path=/trunk/; revision=7068

16 years agoRemove duplicated entries. They are documented and should be shown.
Stefan Kost [Sat, 21 Jun 2008 11:33:53 +0000 (11:33 +0000)]
Remove duplicated entries. They are documented and should be shown.

* docs/reference/gobject/gobject-sections.txt:
  Remove duplicated entries. They are documented and should be shown.

svn path=/trunk/; revision=7067

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 11:27:45 +0000 (11:27 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/enumerations_flags.sgml:
* gobject/genums.c:
* gobject/genums.h:
  Migrating docs.

svn path=/trunk/; revision=7066

16 years agoMigrating docs.
Stefan Kost [Sat, 21 Jun 2008 10:19:58 +0000 (10:19 +0000)]
Migrating docs.

* docs/reference/gobject/tmpl/gboxed.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/gvaluetypes.c:
  Migrating docs.

svn path=/trunk/; revision=7065

16 years agoBug 316221 - G_LOCK warns about breaking strict-aliasing rules
Sebastian Dröge [Fri, 20 Jun 2008 11:29:25 +0000 (11:29 +0000)]
Bug 316221 - G_LOCK warns about breaking strict-aliasing rules
* configure.in:
* glib/gthread.h: Revert previous patch as it doesn't improve the
situation and results in other warnings.

svn path=/trunk/; revision=7064

16 years agoBug 539123 – annotate g_d[n]gettext with G_GNUC_FORMAT
Christian Persch [Thu, 19 Jun 2008 14:09:42 +0000 (14:09 +0000)]
Bug 539123 – annotate g_d[n]gettext with G_GNUC_FORMAT

svn path=/trunk/; revision=7062

16 years agoBug 539074 - Cannot get exit status with g_spawn_command_line_sync()
Tor Lillqvist [Thu, 19 Jun 2008 07:13:36 +0000 (07:13 +0000)]
Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()

2008-06-19  Tor Lillqvist  <tml@novell.com>

Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()

* glib/gspawn-win32-helper.c (main): Write also the exit status of
the spawned process to the error report pipe. Patch by Hiroyuki
Ikezoe.

svn path=/trunk/; revision=7060

16 years agoAnnotate functions
Matthias Clasen [Thu, 19 Jun 2008 05:21:29 +0000 (05:21 +0000)]
Annotate functions

svn path=/trunk/; revision=7059

16 years agofix a comment
Matthias Clasen [Thu, 19 Jun 2008 04:40:15 +0000 (04:40 +0000)]
fix a comment

svn path=/trunk/; revision=7058