dana/cg-glib.git
17 years agoRemove debug spew
Matthias Clasen [Sat, 19 Jul 2008 01:15:12 +0000 (01:15 +0000)]
Remove debug spew

svn path=/trunk/; revision=7206

17 years agoMore updates
Matthias Clasen [Sat, 19 Jul 2008 00:25:52 +0000 (00:25 +0000)]
More updates

svn path=/trunk/; revision=7205

17 years agoUpdates
Matthias Clasen [Fri, 18 Jul 2008 22:03:11 +0000 (22:03 +0000)]
Updates

svn path=/trunk/; revision=7204

17 years agoRemove a warning
Matthias Clasen [Fri, 18 Jul 2008 18:22:48 +0000 (18:22 +0000)]
Remove a warning

svn path=/trunk/; revision=7203

17 years ago Bug 536996 – Missing noop i18n macro equivalent to C_
Matthias Clasen [Fri, 18 Jul 2008 18:14:04 +0000 (18:14 +0000)]
    Bug 536996 – Missing noop i18n macro equivalent to C_

        * glib/glib.symbols:
        * glib/gstrfuncs.[hc]: Add g_dpgettext2() which is a
        variant of g_dpgettext() taking context and id as separate
        arguments.

        * glib/gi18n-lib.h:
        * glib/gi18n.h: Add an NC_() macro that is to C_() as N_()
        is to _().

svn path=/trunk/; revision=7202

17 years agoUpdates
Matthias Clasen [Fri, 18 Jul 2008 17:55:13 +0000 (17:55 +0000)]
Updates

svn path=/trunk/; revision=7201

17 years agoFix a segfault
Matthias Clasen [Fri, 18 Jul 2008 17:48:30 +0000 (17:48 +0000)]
Fix a segfault

svn path=/trunk/; revision=7200

17 years agoAdd g_content_type_guess_for_tree
Matthias Clasen [Fri, 18 Jul 2008 15:33:22 +0000 (15:33 +0000)]
Add g_content_type_guess_for_tree

svn path=/trunk/; revision=7199

17 years agoMove another test
Matthias Clasen [Fri, 18 Jul 2008 07:07:39 +0000 (07:07 +0000)]
Move another test

svn path=/trunk/; revision=7198

17 years agoMove tests around
Matthias Clasen [Fri, 18 Jul 2008 06:25:23 +0000 (06:25 +0000)]
Move tests around

svn path=/trunk/; revision=7197

17 years agoAvoid a warning when printing a pid_t. Pointed out by Morten Welinder.
Matthias Clasen [Wed, 16 Jul 2008 23:12:00 +0000 (23:12 +0000)]
Avoid a warning when printing a pid_t. Pointed out by Morten Welinder.

        * glib/gslice.c (mem_error): Avoid a warning when printing a pid_t.
        Pointed out by Morten Welinder.

svn path=/trunk/; revision=7196

17 years agoDocument that this function does accept localized infinities and nans.
Matthias Clasen [Wed, 16 Jul 2008 22:05:24 +0000 (22:05 +0000)]
Document that this function does accept localized infinities and nans.

        * glib/gstrfuncs.c (g_ascii_strtod): Document that this
        function does accept localized infinities and nans. Reported
        by Morten Welinder.

svn path=/trunk/; revision=7195

17 years agoDetect overflow and error out. Reported by Morten Welinder.
Matthias Clasen [Wed, 16 Jul 2008 21:42:48 +0000 (21:42 +0000)]
Detect overflow and error out. Reported by Morten Welinder.

        * glib/gfileutils.c (get_contents_stdio): Detect overflow and
        error out. Reported by Morten Welinder.

svn path=/trunk/; revision=7194

17 years agoUpdated Translation
Laurent Dhima [Wed, 16 Jul 2008 15:27:48 +0000 (15:27 +0000)]
Updated Translation

svn path=/trunk/; revision=7193

17 years agoAvoid a filename conflict
Matthias Clasen [Wed, 16 Jul 2008 06:30:12 +0000 (06:30 +0000)]
Avoid a filename conflict

svn path=/trunk/; revision=7192

17 years agoPlug a leak
Matthias Clasen [Wed, 16 Jul 2008 06:13:41 +0000 (06:13 +0000)]
Plug a leak

svn path=/trunk/; revision=7191

17 years agoMore documentation fixes
Matthias Clasen [Wed, 16 Jul 2008 05:49:16 +0000 (05:49 +0000)]
More documentation fixes

svn path=/trunk/; revision=7190

17 years agoImprove an error message
Matthias Clasen [Wed, 16 Jul 2008 04:28:07 +0000 (04:28 +0000)]
Improve an error message

svn path=/trunk/; revision=7189

17 years agoImprove docs
Matthias Clasen [Wed, 16 Jul 2008 04:24:56 +0000 (04:24 +0000)]
Improve docs

svn path=/trunk/; revision=7188

17 years agoSmall documentation fixes
Matthias Clasen [Wed, 16 Jul 2008 04:21:50 +0000 (04:21 +0000)]
Small documentation fixes

svn path=/trunk/; revision=7187

17 years agoAdded Entry for addition of Pashto translations by Zabeeh Khan and entry in LINGUAS
Runa Bhattacharjee [Tue, 15 Jul 2008 16:07:46 +0000 (16:07 +0000)]
Added Entry for addition of Pashto translations by Zabeeh Khan and entry in LINGUAS

svn path=/trunk/; revision=7186

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

svn path=/trunk/; revision=7173

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

svn path=/trunk/; revision=7172

17 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

17 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

17 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

17 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

17 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

17 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

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

svn path=/trunk/; revision=7165

17 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

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

svn path=/trunk/; revision=7163

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

svn path=/trunk/; revision=7152

17 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

17 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

17 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

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

svn path=/trunk/; revision=7148

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

svn path=/trunk/; revision=7147

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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