platform/upstream/glib.git
17 years agoimplemented static debugging hash-tree to validate slice adresses and
Tim Janik [Thu, 28 Dec 2006 11:50:43 +0000 (11:50 +0000)]
implemented static debugging hash-tree to validate slice adresses and

Thu Dec 28 12:50:31 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.h, glib/gslice.c: implemented static debugging
        hash-tree to validate slice adresses and sizes with G_SLICE=debug-blocks.
        use abort() to exit in mem_error() to allow catching of these in gdb.
        abort programs with a descriptive error message if g_thread_init() is
        called after GSlice was in use. previously this just silently corrupted
        the magazines.

        * glib/ghash.c (struct _GHashNode): reordered fields to keep 8-byte
        pointer alignment on 64bit systems and request smaller slice sizes
        on 32bit systems.

        * tests/slice-test.c: support '~' option flag to introduce slice
        allocation/release corruption with a significant probability. this
        allowes testing of G_SLICE=debug-blocks.

17 years agodocument G_SLICE=debug-blocks.
Tim Janik [Thu, 28 Dec 2006 11:50:00 +0000 (11:50 +0000)]
document G_SLICE=debug-blocks.

Wed Dec 27 15:56:53 2006  Tim Janik  <timj@gtk.org>

        * glib/tmpl/memory_slices.sgml:
        * glib/running.sgml: document G_SLICE=debug-blocks.

17 years agoCorrect link to discussion about CRITICAL_SECTIONs vs. mutexes. Thanks to
Tor Lillqvist [Thu, 28 Dec 2006 10:48:39 +0000 (10:48 +0000)]
Correct link to discussion about CRITICAL_SECTIONs vs. mutexes. Thanks to

2006-12-28  Tor Lillqvist  <tml@novell.com>

* gthread-win32.c (g_thread_impl_init): Correct link to discussion
about CRITICAL_SECTIONs vs. mutexes. Thanks to Felix Kater for
pointing this out.

17 years agoClean up includes.
Matthias Clasen [Thu, 28 Dec 2006 05:02:30 +0000 (05:02 +0000)]
Clean up includes.

2006-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gmodule.c: Clean up includes.

17 years agoConsistently use gsize rather than size_t. (#333310, Morten Welinder)
Matthias Clasen [Thu, 28 Dec 2006 04:48:06 +0000 (04:48 +0000)]
Consistently use gsize rather than size_t. (#333310, Morten Welinder)

2006-12-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gconvert.[hc]:
        * glib/gfileutils.c:
        * glib/giochannel.c:
        * glib/goption.c:
        * glib/gspawn.c:
        * glib/gunicollate.c:
        * glib/gutils.c:
        * tests/timeloop-basic.c:
        Consistently use gsize rather than size_t.  (#333310,
        Morten Welinder)

17 years agoUse AC_CACHE_CHECK for the nl_langinfo check. (#304517, Lőrinczy
Matthias Clasen [Thu, 28 Dec 2006 04:41:23 +0000 (04:41 +0000)]
Use AC_CACHE_CHECK for the nl_langinfo check. (#304517, Lőrinczy

2006-12-27  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Use AC_CACHE_CHECK for the nl_langinfo
        check.  (#304517, Lőrinczy Zsigmond)

17 years agoforgotten file
Matthias Clasen [Wed, 27 Dec 2006 23:08:52 +0000 (23:08 +0000)]
forgotten file

17 years agoglib/gwin32.h Add const to gchar* arguments. (#384523, Yevgen Muntyan)
Tor Lillqvist [Wed, 27 Dec 2006 14:50:17 +0000 (14:50 +0000)]
glib/gwin32.h Add const to gchar* arguments. (#384523, Yevgen Muntyan)

2006-12-27  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.h
* glib/gwin32.c (get_package_directory_from_module)
(g_win32_get_package_installation_directory)
(g_win32_get_package_installation_subdirectory): Add const to
gchar* arguments. (#384523, Yevgen Muntyan)

17 years agocache the value of the hash function in the GHashNode. this speeds up
Ryan Lortie [Wed, 27 Dec 2006 05:43:40 +0000 (05:43 +0000)]
cache the value of the hash function in the GHashNode. this speeds up

2006-12-27  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c: cache the value of the hash function
        in the GHashNode.  this speeds up resizing the hash
        table and it also allows a slight optimisation on
        lookups.  (#388332)

17 years agoDon't modify the current locale. (#389300)
Matthias Clasen [Wed, 27 Dec 2006 05:12:47 +0000 (05:12 +0000)]
Don't modify the current locale. (#389300)

2006-12-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gunicollate.c (g_utf8_collate_key): Don't modify
        the current locale.  (#389300)

17 years agoForgotten file
Matthias Clasen [Wed, 27 Dec 2006 05:10:54 +0000 (05:10 +0000)]
Forgotten file

17 years agoAdd hints for locale-dependent interfaces. Add hints for locale-dependent
Matthias Clasen [Wed, 27 Dec 2006 05:09:48 +0000 (05:09 +0000)]
Add hints for locale-dependent interfaces. Add hints for locale-dependent

2006-12-26  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutf8.c: Add hints for locale-dependent interfaces.
        * glib/gconvert.c: Add hints for locale-dependent interfaces.

17 years agoImprove formatting of docs.
Matthias Clasen [Wed, 27 Dec 2006 04:29:27 +0000 (04:29 +0000)]
Improve formatting of docs.

2006-12-26  Matthias Clasen  <mclasen@redhat.com>

        * glib/gconvert.c (g_get_filename_charsets): Improve
        formatting of docs.

17 years agoUse libtool to determine shared library suffix. (#357245)
Behdad Esfahbod [Tue, 26 Dec 2006 20:18:58 +0000 (20:18 +0000)]
Use libtool to determine shared library suffix. (#357245)

2006-12-26  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Use libtool to determine shared library suffix.
        (#357245)

17 years agoSilently skip tests if we can't set LC_COLLATE to en_US. (#336438)
Matthias Clasen [Sun, 24 Dec 2006 21:47:05 +0000 (21:47 +0000)]
Silently skip tests if we can't set LC_COLLATE to en_US. (#336438)

2006-12-24  Matthias Clasen  <mclasen@redhat.com>

        * tests/run-collate-tests.sh:
        * tests/unicode-collate.c: Silently skip tests if
        we can't set LC_COLLATE to en_US.  (#336438)

17 years agoAccept '/', '+' and '.' in key names, since gnome-vfs uses mime types as
Matthias Clasen [Tue, 19 Dec 2006 21:08:32 +0000 (21:08 +0000)]
Accept '/', '+' and '.' in key names, since gnome-vfs uses mime types as

2006-12-19  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_is_key_name): Accept
        '/', '+' and '.' in key names, since gnome-vfs uses
        mime types as keys in some cache.

2

17 years agoFix the broken poll test. (#387260, Christian Persch)
Matthias Clasen [Tue, 19 Dec 2006 15:28:17 +0000 (15:28 +0000)]
Fix the broken poll test. (#387260, Christian Persch)

2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Fix the broken poll test.  (#387260,
        Christian Persch)

17 years agoReadd a return which was removed as dead code a while ago. icc may
Matthias Clasen [Tue, 19 Dec 2006 02:49:39 +0000 (02:49 +0000)]
Readd a return which was removed as dead code a while ago. icc may

        * glib/gmain.c (child_watch_helper_thread): Readd a
        return which was removed as dead code a while ago.
        icc may consider it dead, but gcc doesn't like non-void
        functions without a return...  (#354707)

17 years agoForgotten file
Matthias Clasen [Mon, 18 Dec 2006 20:17:35 +0000 (20:17 +0000)]
Forgotten file

17 years agoSmall clarification (#369908, Tapani Pälli)
Matthias Clasen [Mon, 18 Dec 2006 20:09:12 +0000 (20:09 +0000)]
Small clarification (#369908, Tapani Pälli)

2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * glib/tmpl/keyfile.sgml: Small clarification (#369908,
        Tapani Pälli)

17 years agoTry a different fix for bug 346373.
Matthias Clasen [Mon, 18 Dec 2006 14:50:36 +0000 (14:50 +0000)]
Try a different fix for bug 346373.

2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * tests/Makefile.am: Try a different fix for bug 346373.

17 years agoFix bug 161288:
Matthias Clasen [Mon, 18 Dec 2006 14:38:07 +0000 (14:38 +0000)]
Fix bug 161288:

2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        Fix bug 161288:

        * configure.in: Check for wcslen.

        * glib/gnulib/vasnprintf.c: Handle wcslen missing.

17 years agoAccept '@' in locale names.
Matthias Clasen [Mon, 18 Dec 2006 14:13:34 +0000 (14:13 +0000)]
Accept '@' in locale names.

2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Accept '@' in locale names.

17 years agoTighten up the check for allowed key and group names. (#343191, Tommi
Matthias Clasen [Mon, 18 Dec 2006 07:29:56 +0000 (07:29 +0000)]
Tighten up the check for allowed key and group names. (#343191, Tommi

2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Tighten up the check for allowed
        key and group names.  (#343191, Tommi Komulainen)

        * tests/keyfile-test.c: Test handling of key and group names.

17 years agoDon't use $RANDOM if the shell doesn't have it. (#346373, Thomas Klausner)
Matthias Clasen [Mon, 18 Dec 2006 05:02:37 +0000 (05:02 +0000)]
Don't use $RANDOM if the shell doesn't have it. (#346373, Thomas Klausner)

        * tests/Makefile.am: Don't use $RANDOM if the shell doesn't
        have it.  (#346373, Thomas Klausner)

17 years agoFix a typo
Matthias Clasen [Mon, 18 Dec 2006 04:44:44 +0000 (04:44 +0000)]
Fix a typo

17 years agoImprove docs about string functions taking a length. (#378727)
Behdad Esfahbod [Mon, 18 Dec 2006 03:04:48 +0000 (03:04 +0000)]
Improve docs about string functions taking a length. (#378727)

2006-12-17  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gstring.c: Improve docs about string functions taking a
        length.  (#378727)

17 years agoUse AC_LANG_SOURCE for the clock test.
Matthias Clasen [Mon, 18 Dec 2006 01:16:03 +0000 (01:16 +0000)]
Use AC_LANG_SOURCE for the clock test.

2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Use AC_LANG_SOURCE for the clock test.

17 years agoDon't use "wait" as parameter name. (#379207, Christian Biere)
Matthias Clasen [Sun, 17 Dec 2006 20:27:02 +0000 (20:27 +0000)]
Don't use "wait" as parameter name. (#379207, Christian Biere)

2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/gthreadpool.h:
        * glib/gthreadpool.c (g_thread_pool_free): Don't use "wait"
        as parameter name.  (#379207, Christian Biere)

17 years agoImprove docs
Matthias Clasen [Sun, 17 Dec 2006 20:22:20 +0000 (20:22 +0000)]
Improve docs

17 years agoExpand GObject::notify documentation. (#381722, Nickolay V. Shmyrev)
Matthias Clasen [Sun, 17 Dec 2006 19:59:02 +0000 (19:59 +0000)]
Expand GObject::notify documentation. (#381722, Nickolay V. Shmyrev)

2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * gobject/tmpl/objects.sgml: Expand GObject::notify
        documentation.  (#381722, Nickolay V. Shmyrev)

        * gobject/tmpl/gparamspec.sgml: Add canonical-parameter-name id.

17 years agotypo fix
Matthias Clasen [Sun, 17 Dec 2006 19:51:28 +0000 (19:51 +0000)]
typo fix

17 years agoMove docs inline, and improve wording. (#372598, Behdad Esfahbod)
Matthias Clasen [Sun, 17 Dec 2006 19:12:58 +0000 (19:12 +0000)]
Move docs inline, and improve wording. (#372598, Behdad Esfahbod)

2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/gstrfuncs.c (g_strndup, g_strnfill): Move docs
        inline, and improve wording.  (#372598, Behdad Esfahbod)

17 years agoAdd some pointers to the gdk_spawn_ variants. (#338134, Federico Mena
Matthias Clasen [Sun, 17 Dec 2006 18:49:57 +0000 (18:49 +0000)]
Add some pointers to the gdk_spawn_ variants. (#338134, Federico Mena

2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/gspawn.c: Add some pointers to the gdk_spawn_
        variants.  (#338134, Federico Mena Quintero)

17 years agoMake montonic clock test work again. Does AC_COMPILE_IFELSE not get
Matthias Clasen [Sun, 17 Dec 2006 18:39:10 +0000 (18:39 +0000)]
Make montonic clock test work again. Does AC_COMPILE_IFELSE not get

2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Make montonic clock test work again. Does
        AC_COMPILE_IFELSE not get confdefs ? Also, move the clock
        tests below the thread checks to fix #364663.

17 years agoSilence autoconf 2.60
Matthias Clasen [Sun, 17 Dec 2006 18:35:23 +0000 (18:35 +0000)]
Silence autoconf 2.60

17 years agoDon't use diff -u (#380801, Marek Rouchal)
Matthias Clasen [Sun, 17 Dec 2006 18:01:15 +0000 (18:01 +0000)]
Don't use diff -u (#380801, Marek Rouchal)

2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * tests/run-markup-tests.sh: Don't use diff -u  (#380801,
        Marek Rouchal)

17 years agoFix the recent fdwalk()-related changes to not break mapping-test.
Matthias Clasen [Sun, 17 Dec 2006 17:45:03 +0000 (17:45 +0000)]
Fix the recent fdwalk()-related changes to not break mapping-test.

        * glib/gspawn.c: Fix the recent fdwalk()-related changes
        to not break mapping-test.  (#286838, Marco Barisione)

17 years agoDon't shadow size parameter
Matthias Clasen [Sun, 17 Dec 2006 14:54:01 +0000 (14:54 +0000)]
Don't shadow size parameter

17 years agoMove more documentation inline.
Matthias Clasen [Sat, 16 Dec 2006 22:39:55 +0000 (22:39 +0000)]
Move more documentation inline.

2006-12-16  Matthias Clasen  <mclasen@redhat.com>

* glib/gstring.c: Move more documentation inline.

17 years agoUse AC_COMPILE_IFELSE for the monotonic clock test. (#362918, Han-Wen
Matthias Clasen [Sat, 16 Dec 2006 22:11:23 +0000 (22:11 +0000)]
Use AC_COMPILE_IFELSE for the monotonic clock test. (#362918, Han-Wen

2006-12-16  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Use AC_COMPILE_IFELSE for the monotonic
        clock test.  (#362918, Han-Wen Nienhuys, Jeremy Lainé)

17 years agoMove documentation inline.
Matthias Clasen [Sat, 16 Dec 2006 06:14:45 +0000 (06:14 +0000)]
Move documentation inline.

2006-12-16  Matthias Clasen  <mclasen@redhat.com>

* glib/gstring.c: Move documentation inline.

17 years agoFri Dec 15 2006 Matthias Clasen <mclasen@redhat.com>
Matthias Clasen [Sat, 16 Dec 2006 04:28:43 +0000 (04:28 +0000)]
Fri Dec 15 2006  Matthias Clasen  <mclasen@redhat.com>

        * gtype.c (instance_real_class_get): Dereference the pointer
        before dropping the lock.  (#378078, Jonathan Matthew)

17 years agoMake ref_count a gint to avoid compiler warnings. (#321977, Andrew
Matthias Clasen [Sat, 16 Dec 2006 04:05:32 +0000 (04:05 +0000)]
Make ref_count a gint to avoid compiler warnings. (#321977, Andrew

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/giochannel.h: Make ref_count a gint to avoid
        compiler warnings.  (#321977, Andrew Paprocki)

17 years agoOn Solaris, set CFLAGS and LDFLAGS that work both with Sun cc and gcc.
Matthias Clasen [Sat, 16 Dec 2006 03:52:27 +0000 (03:52 +0000)]
On Solaris, set CFLAGS and LDFLAGS that work both with Sun cc and gcc.

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: On Solaris, set CFLAGS and LDFLAGS that
        work both with Sun cc and gcc.  (#315061, Lazlo Peter)

17 years agoadd a comment
Matthias Clasen [Sat, 16 Dec 2006 03:36:14 +0000 (03:36 +0000)]
add a comment

17 years agoUndefine READ_OK to fix the build on old versions of Darwin. (#327800)
Matthias Clasen [Sat, 16 Dec 2006 03:33:23 +0000 (03:33 +0000)]
Undefine READ_OK to fix the build on old versions of Darwin. (#327800)

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

* glib/gspawn.c: Undefine READ_OK to fix the build on
old versions of Darwin.  (#327800)

17 years agobroken pipe
Matthias Clasen [Fri, 15 Dec 2006 22:58:04 +0000 (22:58 +0000)]
broken pipe

17 years agoAdd a function for clearing a GStringChunk. (#364608, Matt Barnes)
Matthias Clasen [Fri, 15 Dec 2006 22:57:15 +0000 (22:57 +0000)]
Add a function for clearing a GStringChunk. (#364608, Matt Barnes)

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/gstring.[hc] (g_string_chunk_clear): Add a function
        for clearing a GStringChunk. (#364608, Matt Barnes)

17 years agoAvoid a compiler warning.
Matthias Clasen [Fri, 15 Dec 2006 22:13:53 +0000 (22:13 +0000)]
Avoid a compiler warning.

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/guniprop.c (interval_compare): Avoid a compiler
        warning.

17 years agoCall set_cloexec() with the right parameters. (#386252, Guillaume
Matthias Clasen [Fri, 15 Dec 2006 18:27:51 +0000 (18:27 +0000)]
Call set_cloexec() with the right parameters. (#386252, Guillaume

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/gspawn.c (do_exec): Call set_cloexec() with
        the right parameters.  (#386252, Guillaume Desmottes)

17 years agoFix #357585, Padraig O'Briain.
Matthias Clasen [Fri, 15 Dec 2006 05:33:32 +0000 (05:33 +0000)]
Fix #357585, Padraig O'Briain.

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

Fix #357585, Padraig O'Briain.

* configure.in: Check for fdwalk.

* glib/gspawn.c (do_exec): Use fdwalk() to close all
file descriptors.

* glib/gspawn.c (fdwalk): Fallback implementation of
fdwalk.

17 years agoDon't use alloca and avoid allocating memory for small keys that are
Matthias Clasen [Fri, 15 Dec 2006 04:35:13 +0000 (04:35 +0000)]
Don't use alloca and avoid allocating memory for small keys that are

2006-12-14  Matthias Clasen  <mclasen@redhat.com>

* glib/gconvert.c (open_converter): Don't use alloca
and avoid allocating memory for small keys that are
already cached.  (#172406, Morten Welinder)

17 years agos/Gnome/GNOME/g (#352156, Guillaume Desmottes)
Matthias Clasen [Fri, 15 Dec 2006 04:03:07 +0000 (04:03 +0000)]
s/Gnome/GNOME/g (#352156, Guillaume Desmottes)

2006-12-14  Matthias Clasen  <mclasen@redhat.com>

        * gobject/*.xml: s/Gnome/GNOME/g (#352156, Guillaume Desmottes)

17 years agoImprove the docs. (#345569, Tim-Philipp Müller)
Matthias Clasen [Fri, 15 Dec 2006 03:42:24 +0000 (03:42 +0000)]
Improve the docs. (#345569, Tim-Philipp Müller)

2006-12-14  Matthias Clasen  <mclasen@redhat.com>

* glib/gmain.c (g_child_watch_add_full): Improve the docs.
(#345569, Tim-Philipp Müller)

17 years agoIf the group is already there, make it current. (#385910, Joe Halliwell)
Matthias Clasen [Thu, 14 Dec 2006 23:19:28 +0000 (23:19 +0000)]
If the group is already there, make it current. (#385910, Joe Halliwell)

2006-12-14  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_add_group): If the group
        is already there, make it current.  (#385910, Joe Halliwell)

        * tests/keyfile-test.c: Add a test for duplicate groups/keys.

17 years agoRequire AC_CANONICAL_HOST in GLIB_WITH_NLS. (#385132, Laszlo Peter)
Matthias Clasen [Wed, 13 Dec 2006 20:08:22 +0000 (20:08 +0000)]
Require AC_CANONICAL_HOST in GLIB_WITH_NLS. (#385132, Laszlo Peter)

2006-12-13  Matthias Clasen  <mclasen@redhat.com>

        * m4macros/glib-gettext.m4: Require AC_CANONICAL_HOST in
        GLIB_WITH_NLS.  (#385132, Laszlo Peter)

17 years agoHandle valid symbols that are NULL correctly. (#385388, Felix Kater)
Matthias Clasen [Wed, 13 Dec 2006 15:41:22 +0000 (15:41 +0000)]
Handle valid symbols that are NULL correctly. (#385388, Felix Kater)

2006-12-13  Matthias Clasen  <mclasen@redhat.com>

        * gmodule.c (g_module_open):
        * gmodule-dl.c (_g_module_symbol): Handle valid symbols
        that are NULL correctly.  (#385388, Felix Kater)

17 years agoAdd a check for broken poll on Mac OS X.
Matthias Clasen [Tue, 12 Dec 2006 20:04:45 +0000 (20:04 +0000)]
Add a check for broken poll on Mac OS X.

2006-12-12  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Add a check for broken poll on Mac OS X.

        * glib/gmain.c: Use poll emulation on OS X.  (#302672, Toby Peterson,
        patch by Dave Vasilevsky)

17 years agoDon't use local numeric labels in inline assembler on AIX. (#316434, Hans
Matthias Clasen [Mon, 11 Dec 2006 14:25:07 +0000 (14:25 +0000)]
Don't use local numeric labels in inline assembler on AIX. (#316434, Hans

2006-12-11  Matthias Clasen  <mclasen@redhat.com>

        * glib/gatomic.c: Don't use local numeric labels in
        inline assembler on AIX.  (#316434, Hans Rosenfeld)

17 years agoCast to const char *, not char *. (#138153, Nikolai Weibull)
Matthias Clasen [Mon, 11 Dec 2006 14:17:14 +0000 (14:17 +0000)]
Cast to const char *, not char *. (#138153, Nikolai Weibull)

2006-12-11  Matthias Clasen  <mclasen@redhat.com>

        * glib/gunicode.h (g_utf8_next_char): Cast to const char *,
        not char *.  (#138153, Nikolai Weibull)

17 years agoUpdated Canadian English translation.
Adam Weinberger [Thu, 7 Dec 2006 16:08:46 +0000 (16:08 +0000)]
Updated Canadian English translation.

2006-12-07  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

17 years agoadded G_GNUC_MAY_ALIAS, suggested by Mathias Hasselmann in bug #335341,
Tim Janik [Wed, 22 Nov 2006 15:54:58 +0000 (15:54 +0000)]
added G_GNUC_MAY_ALIAS, suggested by Mathias Hasselmann in bug #335341,

Wed Nov 22 16:09:13 2006  Tim Janik  <timj@gtk.org>

        * glib/gmacros.h: added G_GNUC_MAY_ALIAS, suggested by Mathias
        Hasselmann in bug #335341, fixes bug #335853.

17 years agofix 343825
Matthias Clasen [Wed, 15 Nov 2006 19:17:16 +0000 (19:17 +0000)]
fix 343825

17 years agoReplace bash-specific == with sh-understood =. Fixes bug #373864.
Behdad Esfahbod [Tue, 14 Nov 2006 18:23:48 +0000 (18:23 +0000)]
Replace bash-specific == with sh-understood =. Fixes bug #373864.

2006-11-14  Behdad Esfahbod  <behdad@gnome.org>

        * sanity_check: Replace bash-specific == with sh-understood =.
        Fixes bug #373864.

17 years agoglib/ version not the gobject/ one I accidentially commited. Fixes bug
Hans Breuer [Sun, 5 Nov 2006 21:18:09 +0000 (21:18 +0000)]
glib/ version not the gobject/ one I accidentially commited. Fixes bug

2006-11-05  Hans Breuer  <hans@breuer.org>

* glib/makefile.msc.in : glib/ version not the gobject/
one I accidentially commited. Fixes bug #371074.

17 years agomakefile.mingw gmodule/makefile.mingw.in glib/makefile.mingw.in
Tor Lillqvist [Sun, 5 Nov 2006 15:42:42 +0000 (15:42 +0000)]
makefile.mingw gmodule/makefile.mingw.in glib/makefile.mingw.in

2006-11-05  Tor Lillqvist  <tml@novell.com>

* makefile.mingw
* gmodule/makefile.mingw.in
* glib/makefile.mingw.in
* gobject/makefile.mingw.in
* gthread/makefile.mingw.in
* tests/makefile.mingw.in: Remove from CVS. Haven't been
maintained or distributed for long.

17 years agoupdated hebrew translation
Yair Hershkovitz [Tue, 31 Oct 2006 15:21:19 +0000 (15:21 +0000)]
updated hebrew translation

17 years agoFix small leak on failed realloc in _g_locale_get_charset_aliases
Pascal Terjan [Thu, 26 Oct 2006 21:09:04 +0000 (21:09 +0000)]
Fix small leak on failed realloc in _g_locale_get_charset_aliases

2006-10-26  Pascal Terjan  <pterjan@linuxfr.org>

* glib/libcharset/localcharset.c: Fix small leak on failed
realloc in _g_locale_get_charset_aliases (#338582)

17 years agoAdd $(GLIB_DEBUG_FLAGS). (#362543, Peter Kjellerstedt)
Behdad Esfahbod [Mon, 16 Oct 2006 12:51:54 +0000 (12:51 +0000)]
Add $(GLIB_DEBUG_FLAGS). (#362543, Peter Kjellerstedt)

2006-10-16  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gnulib/Makefile.am: Add $(GLIB_DEBUG_FLAGS).  (#362543,
        Peter Kjellerstedt)

17 years agoCompile errorcheck-mutex-test with thread libraries explicitly. (#74748,
Sebastian Wilhelmi [Sun, 15 Oct 2006 12:18:25 +0000 (12:18 +0000)]
Compile errorcheck-mutex-test with thread libraries explicitly. (#74748,

2006-10-15  Sebastian Wilhelmi  <seppi@seppi.de>

        * tests/Makefile.am: Compile errorcheck-mutex-test with thread
        libraries explicitly. (#74748, Javier Villavicencio)

17 years agoapplied patch from David Necas which introduces an underscore_name option
Tim Janik [Tue, 10 Oct 2006 10:10:43 +0000 (10:10 +0000)]
applied patch from David Necas which introduces an underscore_name option

Tue Oct 10 12:06:08 2006  Tim Janik  <timj@gtk.org>

        * glib-mkenums.in:
        * glib-mkenums.1: applied patch from David Necas which introduces
        an underscore_name option and fixes #358734.

17 years agoAdd docs
Matthias Clasen [Mon, 9 Oct 2006 05:09:57 +0000 (05:09 +0000)]
Add docs

17 years agoMissing files
Matthias Clasen [Mon, 9 Oct 2006 04:24:29 +0000 (04:24 +0000)]
Missing files

17 years agoAdd Unicode script support
Matthias Clasen [Mon, 9 Oct 2006 04:23:58 +0000 (04:23 +0000)]
Add Unicode script support

17 years agoportability fix
Matthias Clasen [Sun, 8 Oct 2006 19:59:26 +0000 (19:59 +0000)]
portability fix

17 years agoAdd a hint about the requirement that enum and flags values must be
Matthias Clasen [Sun, 8 Oct 2006 19:35:52 +0000 (19:35 +0000)]
Add a hint about the requirement that enum and flags values must be

2006-10-08  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/enumerations_flags.sgml: Add a hint about
the requirement that enum and flags values must be static.

17 years agog_strdup the keys that we are passed before adding them to the hash
Tor Lillqvist [Sat, 7 Oct 2006 19:27:17 +0000 (19:27 +0000)]
g_strdup the keys that we are passed before adding them to the hash

2006-10-07  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.c (get_package_directory_from_module)
(g_win32_get_package_installation_directory): g_strdup the keys
that we are passed before adding them to the hash tables, to guard
against the caller freeing them. (#355955, Andreas Köhler)

17 years agofix a typo
Matthias Clasen [Fri, 6 Oct 2006 18:52:33 +0000 (18:52 +0000)]
fix a typo

17 years agoUpdated Czech translation.
Jakub Friedl [Wed, 4 Oct 2006 14:25:43 +0000 (14:25 +0000)]
Updated Czech translation.

2006-10-04  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.

17 years agoInclude pltcheck.sh in EXTRA_DIST, and remove redefinition of TESTS.
Behdad Esfahbod [Mon, 2 Oct 2006 18:03:50 +0000 (18:03 +0000)]
Include pltcheck.sh in EXTRA_DIST, and remove redefinition of TESTS.

2006-10-02  Behdad Esfahbod  <behdad@gnome.org>

        * glib/Makefile.am:
        * gobject/Makefile.am:
        Include pltcheck.sh in EXTRA_DIST, and remove redefinition of TESTS.
        (#358966)

17 years agoAdded.
Behdad Esfahbod [Mon, 2 Oct 2006 17:38:35 +0000 (17:38 +0000)]
Added.

17 years agoreverted a change to have an assert instead of a g_return_val_if_fail()
Tim Janik [Mon, 2 Oct 2006 13:52:13 +0000 (13:52 +0000)]
reverted a change to have an assert instead of a g_return_val_if_fail()

Mon Oct  2 15:50:16 2006  Tim Janik  <timj@gtk.org>

        * gvalue.c (g_value_peek_pointer): reverted a change to have an
        assert instead of a g_return_val_if_fail() here. libraries (and
        programs) should only ever g_assert or g_error if there is no way
        to carry on with the current program state. that's clearly not
        the case here.

        * ChangeLog: added missing changelog entry for 2003-12-30.

17 years agoImprove example. (#367625, Ross Burton)
Matthias Clasen [Sun, 1 Oct 2006 06:04:54 +0000 (06:04 +0000)]
Improve example. (#367625, Ross Burton)

2006-10-01  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/option.sgml: Improve example.  (#367625, Ross Burton)

17 years agoUse nsleep to implement g_usleep on AIX. (#321974, Andrew Paprocki)
Matthias Clasen [Sun, 1 Oct 2006 05:53:49 +0000 (05:53 +0000)]
Use nsleep to implement g_usleep on AIX. (#321974, Andrew Paprocki)

2006-10-01  Matthias Clasen  <mclasen@redhat.com>

* glib/gtimer.c (g_usleep): Use nsleep to implement
g_usleep on AIX.  (#321974, Andrew Paprocki)

* configure.in: Check for nsleep

17 years agoFix typos in doc comments. (#358421, Tom Tromey)
Matthias Clasen [Sun, 1 Oct 2006 05:35:29 +0000 (05:35 +0000)]
Fix typos in doc comments. (#358421, Tom Tromey)

2006-10-01  Matthias Clasen  <mclasen@redhat.com>

* glib/gmain.c: Fix typos in doc comments.
(#358421, Tom Tromey)

17 years agoFix PLT issues
Matthias Clasen [Sat, 30 Sep 2006 14:06:45 +0000 (14:06 +0000)]
Fix PLT issues

17 years agoFix some issues with PLT entries.
Matthias Clasen [Sat, 30 Sep 2006 13:59:01 +0000 (13:59 +0000)]
Fix some issues with PLT entries.

17 years agoapplied patch from Behdad with slight optimization, fixes #356175.
Tim Janik [Fri, 22 Sep 2006 12:06:28 +0000 (12:06 +0000)]
applied patch from Behdad with slight optimization, fixes #356175.

Fri Sep 22 13:41:02 2006  Tim Janik  <timj@imendio.com>

        * gtype.h: applied patch from Behdad with slight optimization,
        fixes #356175.

        * gobjectnotifyqueue.c: fixed include-guard macro name.

17 years agobetter filtering of G_GNUC_* stuff when generating .def files. Now also
Hans Breuer [Sun, 17 Sep 2006 16:17:44 +0000 (16:17 +0000)]
better filtering of G_GNUC_* stuff when generating .def files. Now also

2006-09-17  Hans Breuer  <hans@breuer.org>

* glib/makefile.msc.in gobject/makefile.msc.in : better filtering
of G_GNUC_* stuff when generating .def files. Now also works with
newer (less tolerant) linkers, e.g. from vc2500e

17 years agoapplied patch from Christian Persch to support G_DEBUG flags
Tim Janik [Mon, 11 Sep 2006 13:11:15 +0000 (13:11 +0000)]
applied patch from Christian Persch to support G_DEBUG flags

Mon Sep 11 14:58:56 2006  Tim Janik  <timj@imendio.com>

        * gmodule.c: applied patch from Christian Persch to support
        G_DEBUG flags resident-modules and bind-now-modules, bug #345099.

17 years agodocumented G_DEBUG flags resident-modules and bind-now-modules, patch by
Tim Janik [Mon, 11 Sep 2006 13:10:44 +0000 (13:10 +0000)]
documented G_DEBUG flags resident-modules and bind-now-modules, patch by

Mon Sep 11 14:57:46 2006  Tim Janik  <timj@imendio.com>

        * glib/running.sgml: documented G_DEBUG flags resident-modules
        and bind-now-modules, patch by Christian Persch on bug #345099.

17 years agoreimplemented floating flag handling by atomically accessing a reserved
Tim Janik [Mon, 11 Sep 2006 10:14:05 +0000 (10:14 +0000)]
reimplemented floating flag handling by atomically accessing a reserved

Mon Sep 11 12:12:45 2006  Tim Janik  <timj@imendio.com>

        * gparam.c (g_param_spec_sink): reimplemented floating flag handling by
        atomically accessing a reserved GData bit, fixes #330556.

17 years agoAssume string.h is available
Matthias Clasen [Sun, 10 Sep 2006 05:50:50 +0000 (05:50 +0000)]
Assume string.h is available

17 years agoBump version
Matthias Clasen [Sun, 10 Sep 2006 05:45:45 +0000 (05:45 +0000)]
Bump version

17 years agoAdd functions for approximate timeouts
Matthias Clasen [Sun, 10 Sep 2006 05:44:46 +0000 (05:44 +0000)]
Add functions for approximate timeouts

17 years agoInitialize save_errno. (#355206, Mike Edenfield)
Matthias Clasen [Sun, 10 Sep 2006 05:13:52 +0000 (05:13 +0000)]
Initialize save_errno. (#355206, Mike Edenfield)

2006-09-10  Matthias Clasen  <mclasen@redhat.com>

* glib/gstdio.c (g_rename): Initialize save_errno.
(#355206, Mike Edenfield)

17 years ago2006-09-09 David Lodge
David Lodge [Sat, 9 Sep 2006 17:26:35 +0000 (17:26 +0000)]
2006-09-09  David Lodge

* en_GB.po: Updated British English translation.

17 years agoNepali Translation updated
Pawan Chitrakar [Tue, 5 Sep 2006 12:46:03 +0000 (12:46 +0000)]
Nepali Translation updated

17 years agoUpdated Persian translation by Meelad Zakaria.
Roozbeh Pournader [Mon, 4 Sep 2006 10:28:35 +0000 (10:28 +0000)]
Updated Persian translation by Meelad Zakaria.

2006-09-04  Roozbeh Pournader  <roozbeh@farsiweb.info>

* fa.po: Updated Persian translation by Meelad Zakaria.