platform/upstream/glib.git
17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Fri, 15 Jun 2007 18:12:29 +0000 (18:12 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=5569

17 years agoExtended the comments on those functions, that are NOOPs, before
Sebastian Wilhelmi [Fri, 15 Jun 2007 17:03:13 +0000 (17:03 +0000)]
Extended the comments on those functions, that are NOOPs, before

2007-06-15  Sebastian Wilhelmi  <wilhelmi@google.com>

* docs/reference/glib/tmpl/threads.sgml: Extended the comments on
those functions, that are NOOPs, before g_thread_init() has been
called. (#447583)

* glib/gthread.c (g_static_mutex_free): Clarified comment to
remind myself, tha calling g_static_mutex_free() before
g_thread_init() is safe.

svn path=/trunk/; revision=5567

17 years agoAdded GRegex boxed type. (#445065, Carlos Garnacho)
Cody Russell [Fri, 15 Jun 2007 16:31:21 +0000 (16:31 +0000)]
Added GRegex boxed type. (#445065, Carlos Garnacho)

2007-06-15  Cody Russell  <bratsche@gnome.org>

* docs/reference/gobject/tmpl/gboxed.sgml:
* docs/reference/gobject/gobject-sections.txt:
* glib/gregex.c:
* gobject/gboxed.[ch]:
* gobject/gobject.symbols: Added GRegex boxed type.
(#445065, Carlos Garnacho)

svn path=/trunk/; revision=5566

17 years agoReplaced & by &amp; in <programlisting> to make gtk-doc happy.
Sebastian Wilhelmi [Fri, 15 Jun 2007 15:55:37 +0000 (15:55 +0000)]
Replaced & by &amp; in <programlisting> to make gtk-doc happy.

2007-06-15  Sebastian Wilhelmi  <wilhelmi@google.com>

* glib/gregex.c: Replaced & by &amp; in <programlisting> to make
gtk-doc happy.

svn path=/trunk/; revision=5565

17 years agoImprove performance by removing the use of an intermediate g_malloc'd
Ryan Lortie [Fri, 15 Jun 2007 12:43:54 +0000 (12:43 +0000)]
Improve performance by removing the use of an intermediate g_malloc'd

2007-06-14  Ryan Lortie  <desrt@desrt.ca>

* docs/reference/glib/glib-sections.txt:
* glib/glib/symbols:
* glib/gstring.[ch] (g_string_printf_internal): Improve
performance by removing the use of an intermediate g_malloc'd
buffer.  Rename to g_string_append_vprintf, document, and expose
along with g_string_vprintf as new public API (#57693).

svn path=/trunk/; revision=5564

17 years agoIntroduce g_string_overwrite(_len)? for overwriting parts of strings (#368686, Samuel...
Mathias Hasselmann [Fri, 15 Jun 2007 11:54:21 +0000 (11:54 +0000)]
Introduce g_string_overwrite(_len)? for overwriting parts of strings (#368686, Samuel Cormier-Iijima)

svn path=/trunk/; revision=5563

17 years agoCheck for 0-sized private data. (#443869)
Cody Russell [Fri, 15 Jun 2007 03:50:27 +0000 (03:50 +0000)]
Check for 0-sized private data. (#443869)

2007-06-14  Cody Russell  <bratsche@gnome.org>

        * gobject/gtype.c (g_type_class_add_private): Check for 0-sized
        private data. (#443869)

svn path=/trunk/; revision=5561

17 years agoalways define GType unconditionally in terms of gsize, there's no need to
Tim Janik [Thu, 14 Jun 2007 21:55:41 +0000 (21:55 +0000)]
always define GType unconditionally in terms of gsize, there's no need to

Thu Jun 14 23:32:00 2007  Tim Janik  <timj@gtk.org>

        * gtype.h: always define GType unconditionally in terms of gsize,
        there's no need to jump through a glong hoop ever and this fixes
        the printf modifier to %zu.

svn path=/trunk/; revision=5560

17 years agowork around SGI IDO cc, fixes #363986.
Tim Janik [Thu, 14 Jun 2007 20:56:15 +0000 (20:56 +0000)]
work around SGI IDO cc, fixes #363986.

Thu Jun 14 22:33:11 2007  Tim Janik  <timj@imendio.com>

        * gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
        fixes #363986.

svn path=/trunk/; revision=5559

17 years agoFix typos
Matthias Clasen [Thu, 14 Jun 2007 13:52:01 +0000 (13:52 +0000)]
Fix typos

svn path=/trunk/; revision=5558

17 years agoAdd bug number.
Behdad Esfahbod [Wed, 13 Jun 2007 22:21:54 +0000 (22:21 +0000)]
Add bug number.

svn path=/trunk/; revision=5557

17 years agoWhitelist g_atomic_{int,pointer}_[gs]et() as we don't alias them
Behdad Esfahbod [Wed, 13 Jun 2007 22:21:06 +0000 (22:21 +0000)]
Whitelist g_atomic_{int,pointer}_[gs]et() as we don't alias them

2007-06-13  Behdad Esfahbod  <behdad@gnome.org>

        * glib/pltcheck.sh: Whitelist g_atomic_{int,pointer}_[gs]et() as
        we don't alias them intentionally.

svn path=/trunk/; revision=5556

17 years agoglib/glib-sections.txt document g_slice_copy() and g_slice_dup().
Sven Neumann [Wed, 13 Jun 2007 18:58:49 +0000 (18:58 +0000)]
glib/glib-sections.txt document g_slice_copy() and g_slice_dup().

2007-06-13  Sven Neumann  <sven@gimp.org>

* glib/glib-sections.txt
* glib/tmpl/memory_slices.sgml: document g_slice_copy() and
g_slice_dup().

svn path=/trunk/; revision=5555

17 years agoglib/gslice.[ch] added g_slice_copy() and g_slice_dup() (#442029).
Sven Neumann [Wed, 13 Jun 2007 18:56:51 +0000 (18:56 +0000)]
glib/gslice.[ch] added g_slice_copy() and g_slice_dup() (#442029).

2007-06-13  Sven Neumann  <sven@gimp.org>

* glib/gslice.[ch] added g_slice_copy() and g_slice_dup()
(#442029).

* glib/glib.symbols: updated.

svn path=/trunk/; revision=5554

17 years agoAdd some docs
Matthias Clasen [Wed, 13 Jun 2007 16:26:59 +0000 (16:26 +0000)]
Add some docs

svn path=/trunk/; revision=5553

17 years agoupdated hebrew translation
Yair Hershkovitz [Tue, 12 Jun 2007 22:50:06 +0000 (22:50 +0000)]
updated hebrew translation

svn path=/trunk/; revision=5552

17 years agoAdd more G_GNUC_CONST and G_GNUC_PURE.
Behdad Esfahbod [Tue, 12 Jun 2007 04:58:07 +0000 (04:58 +0000)]
Add more G_GNUC_CONST and G_GNUC_PURE.

2007-06-12  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gunicode.h: Add more G_GNUC_CONST and G_GNUC_PURE.

svn path=/trunk/; revision=5551

17 years agoRemove the cache expiration logic: it makes g_get_user_special_dir() not
Emmanuele Bassi [Mon, 11 Jun 2007 15:31:29 +0000 (15:31 +0000)]
Remove the cache expiration logic: it makes g_get_user_special_dir() not

2007-06-11  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gutils.c (maybe_expire_user_special_dirs),
(g_get_user_special_dir): Remove the cache expiration logic: it
makes g_get_user_special_dir() not thread-safe. Document the fact
that on some platform the value might be changed by the user and
that GLib won't be able to reflect the change.

svn path=/trunk/; revision=5550

17 years agoUpdated Translation
Subhransu Behera [Mon, 11 Jun 2007 12:51:08 +0000 (12:51 +0000)]
Updated Translation

svn path=/trunk/; revision=5549

17 years agoUpdate doc comments. Mention that it is not recommeded to use the Registry
Tor Lillqvist [Mon, 11 Jun 2007 07:59:33 +0000 (07:59 +0000)]
Update doc comments. Mention that it is not recommeded to use the Registry

2007-06-11  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.c (g_win32_get_package_installation_directory)
(g_win32_get_package_installation_subdirectory): Update doc
comments. Mention that it is not recommeded to use the Registry
features.

svn path=/trunk/; revision=5547

17 years agosv.po: Updated Swedish translation
Daniel Nylander [Sun, 10 Jun 2007 11:54:03 +0000 (11:54 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=5546

17 years agoFix a thinko
Matthias Clasen [Wed, 6 Jun 2007 19:15:00 +0000 (19:15 +0000)]
Fix a thinko

svn path=/trunk/; revision=5545

17 years agoAdd definitions for more CSIDL_* constants in case missing from headers.
Tor Lillqvist [Wed, 6 Jun 2007 19:13:45 +0000 (19:13 +0000)]
Add definitions for more CSIDL_* constants in case missing from headers.

2007-06-06  Tor Lillqvist  <tml@novell.com>

* glib/gutils.c: Add definitions for more CSIDL_* constants in
case missing from headers. Use CSIDL_PERSONAL instead of
CSIDL_MYDOCUMENTS as CSIDL_MYDOCUMENTS seems to be a new thing
that doesn't work in XP SP2 even.

svn path=/trunk/; revision=5544

17 years agoFall back to $HOME/Desktop for the DESKTOP directory, like
Matthias Clasen [Wed, 6 Jun 2007 19:05:53 +0000 (19:05 +0000)]
Fall back to $HOME/Desktop for the DESKTOP directory, like

2007-06-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutils.c (g_get_user_special_dir): Fall back to
        $HOME/Desktop for the DESKTOP directory, like
        xdg_user_dir_lookup() does.

svn path=/trunk/; revision=5543

17 years agoBump version
Matthias Clasen [Wed, 6 Jun 2007 04:58:21 +0000 (04:58 +0000)]
Bump version

svn path=/trunk/; revision=5542

17 years ago2.13.4
Matthias Clasen [Wed, 6 Jun 2007 04:57:11 +0000 (04:57 +0000)]
2.13.4

svn path=/trunk/; revision=5540

17 years agoUpdates
Matthias Clasen [Wed, 6 Jun 2007 04:05:42 +0000 (04:05 +0000)]
Updates

svn path=/trunk/; revision=5538

17 years agoDon't assume the string is valid UTF-8, since it may be user data.
Matthias Clasen [Tue, 5 Jun 2007 19:14:46 +0000 (19:14 +0000)]
Don't assume the string is valid UTF-8, since it may be user data.

2007-06-05  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_is_key_name):
        (g_key_file_is_group_name): Don't assume the string is
        valid UTF-8, since it may be user data.  (#444161, Ben Combee)

svn path=/trunk/; revision=5537

17 years agoAdd not to g_utf8_get_char_validated() about nul-terminated strings.
Behdad Esfahbod [Tue, 5 Jun 2007 17:52:04 +0000 (17:52 +0000)]
Add not to g_utf8_get_char_validated() about nul-terminated strings.

2007-06-05  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gutf8.c: Add not to g_utf8_get_char_validated() about
        nul-terminated strings.

svn path=/trunk/; revision=5536

17 years agoDon't deadlock when running with threads. (#444121, Christian Persch)
Matthias Clasen [Tue, 5 Jun 2007 17:36:17 +0000 (17:36 +0000)]
Don't deadlock when running with threads. (#444121, Christian Persch)

2007-06-05  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutils.c (g_get_user_special_dir): Don't deadlock
        when running with threads.  (#444121, Christian Persch)

svn path=/trunk/; revision=5535

17 years agodon't replace the usage line with the description for optional parameters,
Vincent Untz [Tue, 5 Jun 2007 08:44:20 +0000 (08:44 +0000)]
don't replace the usage line with the description for optional parameters,

2007-06-05  Vincent Untz  <vuntz@gnome.org>

* glib/goption.c: (g_option_context_get_help): don't replace the usage
line with the description for optional parameters, but append the
description. (#444130)

svn path=/trunk/; revision=5534

17 years agoBump version
Matthias Clasen [Mon, 4 Jun 2007 15:42:44 +0000 (15:42 +0000)]
Bump version

svn path=/trunk/; revision=5533

17 years ago2.13.3 GLIB_2_13_3
Matthias Clasen [Mon, 4 Jun 2007 15:40:33 +0000 (15:40 +0000)]
2.13.3

svn path=/trunk/; revision=5531

17 years agoComment out broken translation
Matthias Clasen [Mon, 4 Jun 2007 15:16:09 +0000 (15:16 +0000)]
Comment out broken translation

svn path=/trunk/; revision=5530

17 years agoUpdates
Matthias Clasen [Mon, 4 Jun 2007 15:02:29 +0000 (15:02 +0000)]
Updates

svn path=/trunk/; revision=5529

17 years agoAdd support for a number of special directories, as defined by the
Matthias Clasen [Mon, 4 Jun 2007 14:54:49 +0000 (14:54 +0000)]
Add support for a number of special directories, as defined by the

2007-06-04  Matthias Clasen  <mclasen@redhat.com>

        Add support for a number of special directories, as
        defined by the xdg-user-dirs specification.  (#432651,
        Bastien Nocera, Emmanuele Bassi, Michael Natterer)

        * glib/glib.symbols:
        * glib/gutils.[hc]: Add the GUserDirectory enum and
        g_get_user_special_dir(), with implementations based
        on the xdg-user-dirs spec and on native interfaces
        for Win32 and Carbon.

        * configure.in: Add Carbon checks.

        * tests/tetsglib.c: Test g_get_user_special_dir().

svn path=/trunk/; revision=5528

17 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 4 Jun 2007 10:55:11 +0000 (10:55 +0000)]
Updated Norwegian bokmål translation.

2007-06-04  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=5527

17 years agofixed g_regex_fetch_named* for cases when (?J) is used inside a pattern
Yevgen Muntyan [Sun, 3 Jun 2007 06:05:23 +0000 (06:05 +0000)]
fixed g_regex_fetch_named* for cases when (?J) is used inside a pattern

2007-06-03  Yevgen Muntyan  <muntyan@tamu.edu>

* glib/gregex.c: fixed g_regex_fetch_named* for cases when (?J)
is used inside a pattern (#442265, comment #12).
* tests/regex-test.c: Test it.

svn path=/trunk/; revision=5526

17 years agoUpdates
Matthias Clasen [Sun, 3 Jun 2007 05:52:51 +0000 (05:52 +0000)]
Updates

svn path=/trunk/; revision=5525

17 years agoNew functions: g_regex_ref(), g_regex_unref() which replaces
Yevgen Muntyan [Sun, 3 Jun 2007 05:48:17 +0000 (05:48 +0000)]
New functions: g_regex_ref(), g_regex_unref() which replaces

2007-06-03  Yevgen Muntyan  <muntyan@tamu.edu>

* glib/gregex.c:
* glib/gregex.h: New functions: g_regex_ref(), g_regex_unref() which
replaces g_regex_free(); g_match_info_get_regex(), g_match_info_get_string();
g_regex_check_replacement().
Made g_match_info_expand_references() accept NULL; changed GRegexEvalCallback
to take only arguments which are likely to be actualy used.

* docs/reference/glib/glib-sections.txt:
* glib/glib.symbols: Added new functions.

* tests/regex-test.c: Test them.

* docs/reference/glib/tmpl/gregex.sgml: Updated GRegexEvalCallback docs.

svn path=/trunk/; revision=5524

17 years agoFix a typo
Matthias Clasen [Thu, 31 May 2007 23:23:37 +0000 (23:23 +0000)]
Fix a typo

svn path=/trunk/; revision=5523

17 years agoAdd some hints about xgettext invokation.
Matthias Clasen [Wed, 30 May 2007 15:20:23 +0000 (15:20 +0000)]
Add some hints about xgettext invokation.

        * glib/tmpl/i18n.sgml: Add some hints about
        xgettext invokation.

svn path=/trunk/; revision=5522

17 years agoadd defines for desktop file handling. #339225, original patch from
Dan Winship [Wed, 30 May 2007 14:25:34 +0000 (14:25 +0000)]
add defines for desktop file handling. #339225, original patch from

* glib/gkeyfile.h: add defines for desktop file handling. #339225,
original patch from Vincent Untz.

svn path=/trunk/; revision=5521

17 years agoFix a sed script that doesn't correctly detect i586-mingw32-gcc-3.4
Cody Russell [Wed, 30 May 2007 02:45:22 +0000 (02:45 +0000)]
Fix a sed script that doesn't correctly detect i586-mingw32-gcc-3.4

2007-05-29  Cody Russell  <bratsche@gnome.org>

* configure.in: Fix a sed script that doesn't correctly detect
i586-mingw32-gcc-3.4 compiler, and was causing -Wno-pointer-sign
errors when building with that compiler. (#440896, Yevgen Muntyan)

svn path=/trunk/; revision=5520

17 years ago2007-05-29 vi.po Updated Vietnamese translation
Clytie Siddall [Tue, 29 May 2007 13:29:39 +0000 (13:29 +0000)]
2007-05-29    vi.po    Updated Vietnamese translation

Clytie Siddall <clytie@riverland.net.au>

svn path=/trunk/; revision=5519

17 years agoFix g_regex_fetch_named() and g_regex_fetch_named_pos() when
Marco Barisione [Tue, 29 May 2007 09:32:34 +0000 (09:32 +0000)]
Fix g_regex_fetch_named() and g_regex_fetch_named_pos() when

2007-05-29  Marco Barisione <marco@barisione.org>

* glib/gregex.c: Fix g_regex_fetch_named() and
g_regex_fetch_named_pos() when G_REGEX_DUPNAMES is used  (#434358,
Yevgen Muntyan and #419376, Marco Barisione, patch by Yevgen Muntyan)

svn path=/trunk/; revision=5518

17 years agoFix a typo
Matthias Clasen [Sun, 27 May 2007 02:03:14 +0000 (02:03 +0000)]
Fix a typo

svn path=/trunk/; revision=5517

17 years agoUpdate to Markus Kuhn's updated wcwidth for Unicode 5.0.
Behdad Esfahbod [Fri, 25 May 2007 17:15:28 +0000 (17:15 +0000)]
Update to Markus Kuhn's updated wcwidth for Unicode 5.0.

2007-05-25  Behdad Esfahbod  <behdad@gnome.org>

        * glib/guniprop.c (g_unichar_iswide), (g_unichar_iswide_cjk):
        Update to Markus Kuhn's updated wcwidth for Unicode 5.0.

svn path=/trunk/; revision=5515

17 years agoUpdated Estonian translation by Ivar Smolin <okul@linux.ee>.
Priit Laes [Thu, 24 May 2007 05:48:50 +0000 (05:48 +0000)]
Updated Estonian translation by Ivar Smolin <okul@linux.ee>.

2007-05-24  Priit Laes  <plaes@svn.gnome.org>

* et.po: Updated Estonian translation by Ivar Smolin <okul@linux.ee>.

svn path=/trunk/; revision=5514

17 years agoBump version
Matthias Clasen [Wed, 23 May 2007 04:35:14 +0000 (04:35 +0000)]
Bump version

svn path=/trunk/; revision=5513

17 years ago2.13.2 GLIB_2_13_2
Matthias Clasen [Wed, 23 May 2007 04:30:07 +0000 (04:30 +0000)]
2.13.2

svn path=/trunk/; revision=5511

17 years agoUpdates
Matthias Clasen [Wed, 23 May 2007 02:30:05 +0000 (02:30 +0000)]
Updates

svn path=/trunk/; revision=5510

17 years agoUpdates
Matthias Clasen [Wed, 23 May 2007 02:26:39 +0000 (02:26 +0000)]
Updates

svn path=/trunk/; revision=5509

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 22 May 2007 17:35:38 +0000 (17:35 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=5508

17 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Mon, 21 May 2007 11:34:34 +0000 (11:34 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=5507

17 years agoUpdated Galician Translation
Ignacio Casal Quinteiro [Sat, 19 May 2007 15:27:13 +0000 (15:27 +0000)]
Updated Galician Translation

svn path=/trunk/; revision=5506

17 years agoTry again...
Matthias Clasen [Fri, 18 May 2007 14:56:32 +0000 (14:56 +0000)]
Try again...

svn path=/trunk/; revision=5505

17 years agoFix visibility checks
Matthias Clasen [Fri, 18 May 2007 14:04:27 +0000 (14:04 +0000)]
Fix visibility checks

svn path=/trunk/; revision=5504

17 years agoFix attribution
Matthias Clasen [Fri, 18 May 2007 13:30:42 +0000 (13:30 +0000)]
Fix attribution

svn path=/trunk/; revision=5503

17 years agoDon't let PERL_PATH be ''. (#356769, Joseph Sacco)
Michael Natterer [Fri, 18 May 2007 04:22:46 +0000 (04:22 +0000)]
Don't let PERL_PATH be ''. (#356769, Joseph Sacco)

2007-05-18  Michael Natterer  <mitch@imendio.com>

        * configure.in: Don't let PERL_PATH be ''.  (#356769, Joseph Sacco)

svn path=/trunk/; revision=5502

17 years agohotfix: revert last change to fix the build on OS X.
Michael Natterer [Thu, 17 May 2007 19:29:57 +0000 (19:29 +0000)]
hotfix: revert last change to fix the build on OS X.

2007-05-17  Michael Natterer  <mitch@imendio.com>

* configure.in: hotfix: revert last change to fix the build on OS X.

svn path=/trunk/; revision=5501

17 years agoFix a doc typo. (#439232, Vincent Untz)
Matthias Clasen [Thu, 17 May 2007 17:43:07 +0000 (17:43 +0000)]
Fix a doc typo. (#439232, Vincent Untz)

2007-05-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/goption.c (g_option_context_set_translate_func): Fix
        a doc typo.  (#439232, Vincent Untz)

svn path=/trunk/; revision=5500

17 years agoFix a typo (#436547, Guillaume Desmottes)
Matthias Clasen [Thu, 17 May 2007 17:23:15 +0000 (17:23 +0000)]
Fix a typo (#436547, Guillaume Desmottes)

2007-05-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/tmpl/messages.sgml: Fix a typo (#436547,
        Guillaume Desmottes)

svn path=/trunk/; revision=5499

17 years agoAdd gregex.c (#436955, Philip Withnall)
Matthias Clasen [Thu, 17 May 2007 17:15:49 +0000 (17:15 +0000)]
Add gregex.c (#436955, Philip Withnall)

2007-05-17  Matthias Clasen  <mclasen@redhat.com>

        * POTFILES.in: Add gregex.c (#436955, Philip Withnall)

svn path=/trunk/; revision=5498

17 years agoMove the compiler-dependency in the G_GNUC_INTERNAL definition from
Matthias Clasen [Thu, 17 May 2007 16:36:53 +0000 (16:36 +0000)]
Move the compiler-dependency in the G_GNUC_INTERNAL definition from

2007-05-17  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Move the compiler-dependency in the G_GNUC_INTERNAL
        definition from configure-time to runtime (of the compiler).
        (#438869, Damien Carbery)

        * glib/gdebug.h:
        * glib/gmessages.h:
        * glib/gunicodeprivate.h:
        * glib/gthreadprivate.h: Move G_GNUC_INTERNAL before function
        declarations to fix compilation with sun studio.  (#438873,
        Damien Carbery)

svn path=/trunk/; revision=5497

17 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Thu, 17 May 2007 10:23:07 +0000 (10:23 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=5496

17 years agoUpdated en_GB translation
David Lodge [Tue, 15 May 2007 21:10:18 +0000 (21:10 +0000)]
Updated en_GB translation

svn path=/trunk/; revision=5494

17 years agoUpdated Translation
Subhransu Behera [Tue, 15 May 2007 09:04:36 +0000 (09:04 +0000)]
Updated Translation

svn path=/trunk/; revision=5493

17 years agoMake g_slice_debug_tree_statistics() debug-only functionality again.
Matthias Clasen [Tue, 15 May 2007 03:32:29 +0000 (03:32 +0000)]
Make g_slice_debug_tree_statistics() debug-only functionality again.

2007-05-14  Matthias Clasen  <mclasen@redhat.com>

        * glib/gslice.h:
        * glib/gslice.c:
        * glib/glib.symbols: Make g_slice_debug_tree_statistics()
        debug-only functionality again.

svn path=/trunk/; revision=5492

17 years agoImprove g_strerror and g_strsignal docs. Bug #438293.
Christian Persch [Mon, 14 May 2007 17:14:11 +0000 (17:14 +0000)]
Improve g_strerror and g_strsignal docs. Bug #438293.

2007-05-14  Christian Persch  <chpe@gnome.org>

* docs/reference/glib/tmpl/string_utils.sgml: Improve g_strerror and
g_strsignal docs. Bug #438293.

svn path=/trunk/; revision=5491

17 years agoDrop the pipe() macro. Defining macros outside of its namespace that look
Tor Lillqvist [Sun, 13 May 2007 20:46:59 +0000 (20:46 +0000)]
Drop the pipe() macro. Defining macros outside of its namespace that look

2007-05-13  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.h: Drop the pipe() macro. Defining macros outside of
its namespace that look like POSIX functions is not GLib's
business in my opinion. This means pipe()-using code that has
relied on this definition will need changing to call _pipe() on
Windows, and make the decision itself on what size pipe buffer to
use, and whether to use text or binary mode, and whether the pipe
handles should be inheritable or not.

* glib/gspawn-win32.c (make_pipe): Use _pipe() instead of pipe().

svn path=/trunk/; revision=5490

17 years agoOccitan translation update
Yannig MARCHEGAY [Sun, 13 May 2007 12:58:52 +0000 (12:58 +0000)]
Occitan translation update

svn path=/trunk/; revision=5489

17 years agoOccitan first translation
Yannig MARCHEGAY [Sun, 13 May 2007 12:53:51 +0000 (12:53 +0000)]
Occitan first translation

svn path=/trunk/; revision=5488

17 years agoAllow G_OPTION_ARG_CALLBACK for G_OPTION_REMAINING. (#437297, Dave Benson)
Matthias Clasen [Fri, 11 May 2007 18:53:57 +0000 (18:53 +0000)]
Allow G_OPTION_ARG_CALLBACK for G_OPTION_REMAINING. (#437297, Dave Benson)

2007-05-11  Matthias Clasen  <mclasen@redhat.com>

        * glib/goption.c: Allow G_OPTION_ARG_CALLBACK for
        G_OPTION_REMAINING.  (#437297, Dave Benson)

        * tests/option-test.c: Add a test for this.

svn path=/trunk/; revision=5487

17 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 6 May 2007 18:04:10 +0000 (18:04 +0000)]
Updated Norwegian bokmål translation.

2007-05-06  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=5486

17 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sun, 6 May 2007 12:59:57 +0000 (12:59 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=5485

17 years agoDocument the error return values rather than calling them undefined.
Dan Winship [Fri, 4 May 2007 19:14:47 +0000 (19:14 +0000)]
Document the error return values rather than calling them undefined.

* glib/gkeyfile.c (g_key_file_get_boolean)
(g_key_file_get_boolean_list, g_key_file_get_integer)
(g_key_file_get_integer_list, g_key_file_get_double)
(g_key_file_get_double_list): Document the error return values
rather than calling them undefined. #435885.

svn path=/trunk/; revision=5484

17 years agoOops.
Behdad Esfahbod [Thu, 3 May 2007 23:42:41 +0000 (23:42 +0000)]
Oops.

2007-05-03  Behdad Esfahbod  <behdad@gnome.org>

        * glib/glib.symbols:
        * glib/gunicode.h:
        * glib/guniprop.c (g_unichar_ismark):
        Add g_unichar_ismark(). Patch from Yevgen Muntyan. Fixes #339991.

svn path=/trunk/; revision=5483

17 years agosvn path=/trunk/; revision=5482
Behdad Esfahbod [Thu, 3 May 2007 23:42:05 +0000 (23:42 +0000)]
svn path=/trunk/; revision=5482

2007-05-03  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in:
        * glib/glib.symbols:
        * glib/gthread.h:
        * glib/gunicode.h:
        * glib/guniprop.c (g_unichar_ismark):

svn path=/trunk/; revision=5482

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Thu, 3 May 2007 19:02:43 +0000 (19:02 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=5481

17 years agoBump version
Matthias Clasen [Thu, 3 May 2007 05:11:38 +0000 (05:11 +0000)]
Bump version

svn path=/trunk/; revision=5480

17 years ago2.13.1 GLIB_2_13_1
Matthias Clasen [Thu, 3 May 2007 05:09:20 +0000 (05:09 +0000)]
2.13.1

svn path=/trunk/; revision=5478

17 years agoStop unused threads before the last test, to make the test terminate
Matthias Clasen [Thu, 3 May 2007 04:48:10 +0000 (04:48 +0000)]
Stop unused threads before the last test, to make the test terminate

        * tests/threadpool-test.c: Stop unused threads before
        the last test, to make the test terminate reliably.

svn path=/trunk/; revision=5477

17 years agoUpdates
Matthias Clasen [Thu, 3 May 2007 02:45:02 +0000 (02:45 +0000)]
Updates

svn path=/trunk/; revision=5476

17 years agoUpdated Arabic Translation by Djihed Afifi.
Djihed Afifi [Wed, 2 May 2007 15:46:41 +0000 (15:46 +0000)]
Updated Arabic Translation by Djihed Afifi.

svn path=/trunk/; revision=5475

17 years agoMade more clear that the string passed to the match functions cannot be
Marco Barisione [Wed, 2 May 2007 10:39:23 +0000 (10:39 +0000)]
Made more clear that the string passed to the match functions cannot be

2007-05-02  Marco Barisione <marco@barisione.org>

* glib/gregex.c: Made more clear that the string passed to the match
functions cannot be freed before using g_match_info_fetch() and
similar functions, and fixed a typo.

svn path=/trunk/; revision=5474

17 years agoAdd g_regex_get_max_backref() and g_regex_get_capture_count(). (#419371,
Matthias Clasen [Mon, 30 Apr 2007 16:37:38 +0000 (16:37 +0000)]
Add g_regex_get_max_backref() and g_regex_get_capture_count(). (#419371,

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/gregex.[hc]: Add g_regex_get_max_backref() and
        g_regex_get_capture_count().  (#419371, Marco Barisione)

svn path=/trunk/; revision=5469

17 years agoSplit GRegex into GRegex and GMatchInfo. (#419368, Marco Barisione)
Matthias Clasen [Mon, 30 Apr 2007 16:02:26 +0000 (16:02 +0000)]
Split GRegex into GRegex and GMatchInfo. (#419368, Marco Barisione)

2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/gregex.[hc]: Split GRegex into GRegex and GMatchInfo.
        (#419368, Marco Barisione)

        * tests/regex-test.c: Adapt.

svn path=/trunk/; revision=5468

17 years agoInclude the gshell.h header file (to define g_shell_[un]quote) and correct
Chris Wilson [Mon, 30 Apr 2007 11:30:47 +0000 (11:30 +0000)]
Include the gshell.h header file (to define g_shell_[un]quote) and correct

2007-04-30  Chris Wilson  <chris@chris-wilson.co.uk>

    * glib/gbookmarkfile.c (g_bookmark_file_get_app_info):
    Include the gshell.h header file (to define g_shell_[un]quote)
    and correct the order of the arguments to g_propagate_error(), as
    spotted by gcc.

svn path=/trunk/; revision=5467

17 years agoQuote the passed command line...
Emmanuele Bassi [Sun, 29 Apr 2007 11:48:40 +0000 (11:48 +0000)]
Quote the passed command line...

2007-04-29  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gbookmarkfile.c:
(g_bookmark_file_set_app_info): Quote the passed command line...

(g_bookmark_file_get_app_info): ... and unquote it when giving it
back. (#432274)

svn path=/trunk/; revision=5466

17 years agosmall cleanup
Matthias Clasen [Fri, 27 Apr 2007 22:37:49 +0000 (22:37 +0000)]
small cleanup

svn path=/trunk/; revision=5465

17 years agoRemove trailing comma at end of enumerator list.
Chris Wilson [Fri, 27 Apr 2007 17:43:01 +0000 (17:43 +0000)]
Remove trailing comma at end of enumerator list.

2007-04-27  Chris Wilson  <chris@chris-wilson.co.uk>

    * glib/gregex.h: Remove trailing comma at end of enumerator list.

svn path=/trunk/; revision=5464

17 years agoDocument that the mode argument is ignored on Windows (g_stat): Document
Tor Lillqvist [Thu, 26 Apr 2007 23:24:06 +0000 (23:24 +0000)]
Document that the mode argument is ignored on Windows (g_stat): Document

2007-04-27  Tor Lillqvist  <tml@novell.com>

* glib/gstdio.c (g_mkdir): Document that the mode argument is
ignored on Windows
(g_stat): Document that st_mode is mostly useless on Windows.

svn path=/trunk/; revision=5463

17 years agotypo
Paolo Borelli [Wed, 25 Apr 2007 18:44:53 +0000 (18:44 +0000)]
typo

svn path=/trunk/; revision=5461

17 years agosmall cleanup. (#433387)
Paolo Borellki [Wed, 25 Apr 2007 18:43:44 +0000 (18:43 +0000)]
small cleanup. (#433387)

2007-04-25  Paolo Borellki  <pborelli@katamail.com>

* glib/gstrfuncs.c (g_strsplit): small cleanup. (#433387)

svn path=/trunk/; revision=5460

17 years agoalso clear the NOCOPY_CONTENTS flag when replacing NULL with the empty
Michael Natterer [Wed, 25 Apr 2007 08:48:46 +0000 (08:48 +0000)]
also clear the NOCOPY_CONTENTS flag when replacing NULL with the empty

2007-04-25  Michael Natterer  <mitch@imendio.com>

* gparamspecs.c (param_string_validate): also clear the
NOCOPY_CONTENTS flag when replacing NULL with the empty string.

svn path=/trunk/; revision=5458

17 years agoRevert an accidental commit
Matthias Clasen [Wed, 25 Apr 2007 04:21:16 +0000 (04:21 +0000)]
Revert an accidental commit

svn path=/trunk/; revision=5457

17 years agoNew function to get the formatted help string. (#336089, Dom Lachowicz)
Matthias Clasen [Wed, 25 Apr 2007 03:53:30 +0000 (03:53 +0000)]
New function to get the formatted help string. (#336089, Dom Lachowicz)

2007-04-24  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/goption.h:
        * glib/goption.c (g_option_context_get_help): New function to
        get the formatted help string.  (#336089, Dom Lachowicz)

svn path=/trunk/; revision=5456

17 years agodon't free or modify static strings, dup them when needed and clear the
Michael Natterer [Tue, 24 Apr 2007 13:36:58 +0000 (13:36 +0000)]
don't free or modify static strings, dup them when needed and clear the

2007-04-24  Michael Natterer  <mitch@imendio.com>

* gobject/gparamspecs.c (param_string_validate): don't free or
modify static strings, dup them when needed and clear the
G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.

* tests/gobject/paramspec-test.c: test all GParamSpecString
validations with static and allocated strings.

svn path=/trunk/; revision=5454

17 years agoAdd g_key_file_load_from_dirs for looking through a search path for a
William Jon McCann [Thu, 19 Apr 2007 20:48:22 +0000 (20:48 +0000)]
Add g_key_file_load_from_dirs for looking through a search path for a

2007-04-19  William Jon McCann  <mccann@jhu.edu>

* glib/gkeyfile.[ch]: (find_file_in_data_dirs),
(g_key_file_load_from_dirs), (g_key_file_load_from_data_dirs):
Add g_key_file_load_from_dirs for looking through a search
path for a key-file. (#355334)

svn path=/trunk/; revision=5453