platform/upstream/glib.git
17 years agofix stupid thinko
Matthias Clasen [Fri, 12 Jan 2007 19:23:27 +0000 (19:23 +0000)]
fix stupid thinko

svn path=/trunk/; revision=5252

17 years agoImprove docs
Matthias Clasen [Fri, 12 Jan 2007 17:54:13 +0000 (17:54 +0000)]
Improve docs

svn path=/trunk/; revision=5251

17 years agoInclude windows.h and fix include order. (#394258, Kazuki Iwamoto)
Matthias Clasen [Fri, 12 Jan 2007 17:31:31 +0000 (17:31 +0000)]
Include windows.h and fix include order. (#394258, Kazuki Iwamoto)

2007-01-12  Matthias Clasen  <mclasen@redhat.com>

        * glib/gthread.c: Include windows.h and fix
        include order. (#394258, Kazuki Iwamoto)

svn path=/trunk/; revision=5249

17 years agofix the build
Matthias Clasen [Fri, 12 Jan 2007 15:54:00 +0000 (15:54 +0000)]
fix the build

svn path=/trunk/; revision=5247

17 years agoMake G_GNUC_INTERNAL a no-op for gcc 2.95. (#329031, David Schleef, Marc
Matthias Clasen [Fri, 12 Jan 2007 15:17:00 +0000 (15:17 +0000)]
Make G_GNUC_INTERNAL a no-op for gcc 2.95. (#329031, David Schleef, Marc

2007-01-12  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Make G_GNUC_INTERNAL a no-op for
        gcc 2.95.    (#329031, David Schleef, Marc Brockschmidt)

svn path=/trunk/; revision=5245

17 years agoFix errors in the recently moved time calculations. (#395203, Chris
Matthias Clasen [Fri, 12 Jan 2007 05:55:16 +0000 (05:55 +0000)]
Fix errors in the recently moved time calculations. (#395203, Chris

2007-01-12  Matthias Clasen  <mclasen@redhat.com>

        * gthread/gthread-posix.c:
        * glib/gtimer.c:
        * glib/gthread.c: Fix errors in the recently moved
        time calculations.  (#395203, Chris Wilson)

svn path=/trunk/; revision=5244

17 years agoActually link gthread against librt. (#394641, Marco Pesenti Gritti)
Matthias Clasen [Wed, 10 Jan 2007 13:52:04 +0000 (13:52 +0000)]
Actually link gthread against librt. (#394641, Marco Pesenti Gritti)

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

        * configure.in: Actually link gthread against librt.
        (#394641, Marco Pesenti Gritti)

svn path=/trunk/; revision=5241

17 years agoGrr, allow '*' in keys, too. (#394262)
Matthias Clasen [Wed, 10 Jan 2007 13:46:45 +0000 (13:46 +0000)]
Grr, allow '*' in keys, too. (#394262)

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

        * glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys,
        too.  (#394262)

svn path=/trunk/; revision=5239

17 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Tue, 9 Jan 2007 23:10:19 +0000 (23:10 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2007-01-10  Alexander Shopov  <ash@contact.bg>

        * bg.po: Updated Bulgarian translation by
        Alexander Shopov <ash@contact.bg>

svn path=/trunk/; revision=5237

17 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Tue, 9 Jan 2007 22:57:16 +0000 (22:57 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2007-01-10  Alexander Shopov  <ash@contact.bg>

        * bg.po: Updated Bulgarian translation by
        Alexander Shopov <ash@contact.bg>

svn path=/trunk/; revision=5235

17 years agoUse a more optimized g_bit_storage() when gcc is available. (#371670,
Behdad Esfahbod [Tue, 9 Jan 2007 19:05:36 +0000 (19:05 +0000)]
Use a more optimized g_bit_storage() when gcc is available. (#371670,

2007-01-09  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gutils.h: Use a more optimized g_bit_storage() when gcc is
        available.  (#371670, Daniel Elstner)

svn path=/trunk/; revision=5234

17 years agoUpdated English (British) translation
David Lodge [Tue, 9 Jan 2007 07:19:05 +0000 (07:19 +0000)]
Updated English (British) translation

svn path=/trunk/; revision=5233

17 years agoDon't use _SC_MONOTONIC_CLOCK unless USE_CLOCK_GETTIME is defined.
Matthias Clasen [Mon, 8 Jan 2007 12:59:05 +0000 (12:59 +0000)]
Don't use _SC_MONOTONIC_CLOCK unless USE_CLOCK_GETTIME is defined.

2007-01-08  Matthias Clasen  <mclasen@redhat.com>

        * gthread/gthread-posix.c (g_thread_impl_init): Don't
        use _SC_MONOTONIC_CLOCK unless USE_CLOCK_GETTIME is
        defined.  (#394150)

svn path=/trunk/; revision=5230

17 years agoUpdated Italian translation.
Luca Ferretti [Mon, 8 Jan 2007 11:19:37 +0000 (11:19 +0000)]
Updated Italian translation.

2007-01-08  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=5229

17 years agoDon't link glib against libpthread. (#393812)
Matthias Clasen [Mon, 8 Jan 2007 05:13:15 +0000 (05:13 +0000)]
Don't link glib against libpthread. (#393812)

2007-01-07  Matthias Clasen  <mclasen@redhat.com>

Don't link glib against libpthread.  (#393812)

* configure.in: Link gthread against librt, not glib itself.

* glib/gthread.h:
* glib/gthread.c: Add a new thread function, gettime.

* glib/gtimer.c: Use gettime instead of directly working with
the various system interfaces.

* gthread/gthread-impl.c:
* gthread/gthread-posix.c:
* gthread/gthread-win32.c: Implement gettime.

svn path=/trunk/; revision=5227

17 years agoUse PKG_PROG_PKG_CONFIG. (#392636, Yevgen Muntyan)
Matthias Clasen [Mon, 8 Jan 2007 04:42:31 +0000 (04:42 +0000)]
Use PKG_PROG_PKG_CONFIG. (#392636, Yevgen Muntyan)

2007-01-07  Matthias Clasen  <mclasen@redhat.com>

        * m4macros/glib-2.0.m4: Use PKG_PROG_PKG_CONFIG.  (#392636,
        Yevgen Muntyan)

svn path=/trunk/; revision=5225

17 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Sun, 7 Jan 2007 10:02:36 +0000 (10:02 +0000)]
Estonian translation update by Ivar Smolin.

2007-01-07  Priit Laes  <plaes@svn.gnome.org>
* et.po: Estonian translation update by Ivar Smolin.

svn path=/trunk/; revision=5223

17 years agoHandle GIOChannels for file descriptors connected to the console
Tor Lillqvist [Sun, 7 Jan 2007 03:02:28 +0000 (03:02 +0000)]
Handle GIOChannels for file descriptors connected to the console

2007-01-07  Tor Lillqvist  <tml@novell.com>

* glib/giowin32.c: Handle GIOChannels for file descriptors
connected to the console separately. This would typically be the
fd 0, 1, or 2 (if not redirected) in a console application. For
such fds we don't need a separate thread, as console HANDLEs are
waitable objects. (#359202, Michiel de Hoon)

svn path=/trunk/; revision=5222

17 years agoUpdated Czech translation.
Jakub Friedl [Fri, 5 Jan 2007 12:35:32 +0000 (12:35 +0000)]
Updated Czech translation.

2007-01-05  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.

svn path=/trunk/; revision=5219

17 years agoupdated hebrew translaion
Yair Hershkovitz [Fri, 5 Jan 2007 11:09:07 +0000 (11:09 +0000)]
updated hebrew translaion

svn path=/trunk/; revision=5218

17 years agoFix tests on x86_64.
Behdad Esfahbod [Fri, 5 Jan 2007 03:31:54 +0000 (03:31 +0000)]
Fix tests on x86_64.

2007-01-04  Behdad Esfahbod  <behdad@gnome.org>

        * tests/bit-test.c (builtin_bit_nth_lsf1), (builtin_bit_nth_lsf2),
        (builtin_bit_nth_msf): Fix tests on x86_64.

svn path=/trunk/; revision=5216

17 years agoUpdated German translation.
Hendrik Richter [Thu, 4 Jan 2007 14:32:26 +0000 (14:32 +0000)]
Updated German translation.

2007-01-04  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=5212

17 years agoUpdated German translation.
Hendrik Richter [Thu, 4 Jan 2007 14:17:33 +0000 (14:17 +0000)]
Updated German translation.

2007-01-04  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=5210

17 years agoAdd bug number to ChangeLog
Behdad Esfahbod [Wed, 3 Jan 2007 23:17:52 +0000 (23:17 +0000)]
Add bug number to ChangeLog

svn path=/trunk/; revision=5207

17 years agoRemove unneeded strlen.
Behdad Esfahbod [Wed, 3 Jan 2007 23:09:12 +0000 (23:09 +0000)]
Remove unneeded strlen.

svn path=/trunk/; revision=5205

17 years agoTake zerowidth and double-width chars into consideration when computing
Behdad Esfahbod [Wed, 3 Jan 2007 23:05:36 +0000 (23:05 +0000)]
Take zerowidth and double-width chars into consideration when computing

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

        * glib/goption.c (_g_unichar_get_width), (_g_utf8_strwidth),
        (calculate_max_length), (print_entry), (print_help): Take zerowidth
        and double-width chars into consideration when computing width of a
        string.  Also fix another bug in width computation.

        * glib/guniprop.c (g_unichar_iszerowidth): Fix typo.  It was not
        working correctly.

svn path=/trunk/; revision=5204

17 years agoAdd g_unichar_iszerowidth(). (#347645)
Behdad Esfahbod [Wed, 3 Jan 2007 20:48:24 +0000 (20:48 +0000)]
Add g_unichar_iszerowidth(). (#347645)

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

        * glib/glib.symbols:
        * glib/gunicode.h:
        * glib/guniprop.c: Add g_unichar_iszerowidth(). (#347645)

svn path=/trunk/; revision=5202

17 years agoFix bug in g_bit_nth_lsf (#371631) and use __builtin_clzl for
Behdad Esfahbod [Wed, 3 Jan 2007 20:08:53 +0000 (20:08 +0000)]
Fix bug in g_bit_nth_lsf (#371631) and use __builtin_clzl for

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

        * glib/gutils.h: Fix bug in g_bit_nth_lsf (#371631) and use
        __builtin_clzl for g_bit_storage if available (#371670).

        * tests/Makefile.am:
        * tests/bit-test.c: New test, to test g_bit_* operations against
        naive and builtin implementations.

svn path=/trunk/; revision=5200

17 years agoAvoid more warnings from running libtool --config. (#391364)
Behdad Esfahbod [Wed, 3 Jan 2007 18:32:04 +0000 (18:32 +0000)]
Avoid more warnings from running libtool --config. (#391364)

2007-01-02  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Avoid more warnings from running libtool --config.
        (#391364)

svn path=/trunk/; revision=5199

17 years agoremoved all .cvsignore files. SVN doesn't need them.
Michael Natterer [Wed, 3 Jan 2007 11:22:36 +0000 (11:22 +0000)]
removed all .cvsignore files. SVN doesn't need them.

2007-01-03  Michael Natterer  <mitch@imendio.com>

* removed all .cvsignore files. SVN doesn't need them.

svn path=/trunk/; revision=5198

17 years agoAdd support for expanding the desktop entry spec variables %U (list of
Emmanuele Bassi [Tue, 2 Jan 2007 16:20:48 +0000 (16:20 +0000)]
Add support for expanding the desktop entry spec variables %U (list of

2007-01-02  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gbookmarkfile.c (expand_exec_line): Add support for
expanding the desktop entry spec variables %U (list of URIs)
and %F (list of filenames), so that using the command line
from the Exec and TryExec key of a desktop entry file works
as intended.

svn path=/trunk/; revision=5196

17 years agoAvoid warnings from running libtool --config. (#391364, Loïc Minier)
Matthias Clasen [Tue, 2 Jan 2007 13:58:54 +0000 (13:58 +0000)]
Avoid warnings from running libtool --config. (#391364, Loïc Minier)

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Avoid warnings from running libtool --config.
        (#391364, Loïc Minier)

svn path=/trunk/; revision=5194

17 years agoReturn an error if the uri is bad. (#391370, Maciej Piechotka)
Matthias Clasen [Tue, 2 Jan 2007 13:53:15 +0000 (13:53 +0000)]
Return an error if the uri is bad. (#391370, Maciej Piechotka)

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * glib/gbookmarkfile.c (g_bookmark_file_get_app_info):
        Return an error if the uri is bad. (#391370, Maciej Piechotka)

svn path=/trunk/; revision=5192

17 years agoGuard g_slice_debug_tree_statistics by G_ENABLE_DEBUG. (#390940, Kazuki
Matthias Clasen [Tue, 2 Jan 2007 13:09:03 +0000 (13:09 +0000)]
Guard g_slice_debug_tree_statistics by G_ENABLE_DEBUG. (#390940, Kazuki

2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols: Guard g_slice_debug_tree_statistics
        by G_ENABLE_DEBUG.  (#390940, Kazuki Iwamoto)

svn path=/trunk/; revision=5190

17 years agoconfigure.in remove references to build/ until a proper decision has been
Michael Natterer [Tue, 2 Jan 2007 10:40:27 +0000 (10:40 +0000)]
configure.in remove references to build/ until a proper decision has been

2007-01-02  Michael Natterer  <mitch@imendio.com>

* configure.in
* Makefile.am: remove references to build/ until a proper decision
has been made what to do with it.

svn path=/trunk/; revision=5189

17 years agoSilence autoconf warnings about datarootdir. (#391367, Loïc Minier)
Matthias Clasen [Tue, 2 Jan 2007 05:26:14 +0000 (05:26 +0000)]
Silence autoconf warnings about datarootdir. (#391367, Loïc Minier)

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

        * glib-gettextize.in: Silence autoconf warnings about
        datarootdir.  (#391367, Loïc Minier)

svn path=/trunk/; revision=5186

17 years agoHandle "/dev/stdin" by dup()ing fd 0 so that it works on Win32, too.
Tor Lillqvist [Mon, 1 Jan 2007 22:31:18 +0000 (22:31 +0000)]
Handle "/dev/stdin" by dup()ing fd 0 so that it works on Win32, too.

2007-01-02  Tor Lillqvist  <tml@novell.com>

* glib-genmarshal.c (main): Handle "/dev/stdin" by dup()ing fd 0
so that it works on Win32, too.

svn path=/trunk/; revision=5185

17 years agoFix whitespace
Matthias Clasen [Sun, 31 Dec 2006 16:33:32 +0000 (16:33 +0000)]
Fix whitespace

svn path=/trunk/; revision=5184

17 years agoFix some C99isms. (#390913, Kazuki Iwamoto)
Matthias Clasen [Sun, 31 Dec 2006 16:27:45 +0000 (16:27 +0000)]
Fix some C99isms. (#390913, Kazuki Iwamoto)

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

        * glib/gslice.c: Fix some C99isms.  (#390913, Kazuki Iwamoto)

svn path=/trunk/; revision=5183

17 years agofix include order
Matthias Clasen [Sun, 31 Dec 2006 15:53:44 +0000 (15:53 +0000)]
fix include order

svn path=/trunk/; revision=5182

17 years agoturned detection of too late g_thread_init() calls into a warning. this is
Tim Janik [Fri, 29 Dec 2006 12:29:55 +0000 (12:29 +0000)]
turned detection of too late g_thread_init() calls into a warning. this is

Fri Dec 29 13:28:07 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: turned detection of too late g_thread_init() calls
        into a warning. this is a temporary work-around for some head-room
        to fix affected programs, memory corruption still occours regardless.

17 years agoDefine G_DEFINE_DYNAMIC_TYPE and and _EXTENDED variant. (#334437)
Matthias Clasen [Fri, 29 Dec 2006 06:12:11 +0000 (06:12 +0000)]
Define G_DEFINE_DYNAMIC_TYPE and and _EXTENDED variant. (#334437)

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

        * gtypemodule.h: Define G_DEFINE_DYNAMIC_TYPE and
        and _EXTENDED variant.  (#334437)

17 years agoClarify a detail about g_object_set_data_full. (#343750, Christian
Matthias Clasen [Fri, 29 Dec 2006 05:10:50 +0000 (05:10 +0000)]
Clarify a detail about g_object_set_data_full. (#343750, Christian

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

        * gobject/tmpl/objects.sgml: Clarify a detail about
        g_object_set_data_full.  (#343750, Christian Neumair)

17 years agoremoved pthread-dependant debugging bits, the code was already converted
Tim Janik [Thu, 28 Dec 2006 20:15:35 +0000 (20:15 +0000)]
removed pthread-dependant debugging bits, the code was already converted

Thu Dec 28 21:14:45 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: removed pthread-dependant debugging bits, the code
        was already converted to GMutex. this obsoletes Tor's recent fixups.

17 years agoUpdated English (British) translation
David Lodge [Thu, 28 Dec 2006 17:59:12 +0000 (17:59 +0000)]
Updated English (British) translation

2006-12-28  David Lodge <dave@cirt.net>

* en_GB.po: Updated English (British) translation

17 years agoCall InitializeCriticalSection() on the sdt_mutex in
Tor Lillqvist [Thu, 28 Dec 2006 17:55:06 +0000 (17:55 +0000)]
Call InitializeCriticalSection() on the sdt_mutex in

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

* glib/gslice.c: Call InitializeCriticalSection() on the
sdt_mutex in g_slice_init_nomessage() and not in
_g_slice_thread_init_nomessage(), which is called only through
g_thread_init(). Not all programs call g_thread_init().

17 years ago: Use only the wide character API here, too.
Tor Lillqvist [Thu, 28 Dec 2006 15:47:42 +0000 (15:47 +0000)]
: Use only the wide character API here, too.

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

* glib/gutils.c (get_windows_directory_root): : Use only the wide
character API here, too.

17 years agoUse only the wide character API here, too.
Tor Lillqvist [Thu, 28 Dec 2006 15:41:28 +0000 (15:41 +0000)]
Use only the wide character API here, too.

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

* glib/gutils.h (G_WIN32_DLLMAIN_FOR_DLL_NAME): Use only the wide
character API here, too.

17 years agoMake it compile on Win32 without pthreads: Use a Win32 critical section
Tor Lillqvist [Thu, 28 Dec 2006 15:39:47 +0000 (15:39 +0000)]
Make it compile on Win32 without pthreads: Use a Win32 critical section

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

* glib/gslice.c: Make it compile on Win32 without pthreads: Use a
Win32 critical section instead.

17 years agoOn Win32, if we get a fatal error message while being debugged we break
Tor Lillqvist [Thu, 28 Dec 2006 14:47:54 +0000 (14:47 +0000)]
On Win32, if we get a fatal error message while being debugged we break

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

* glib/gmessages.c (g_logv): On Win32, if we get a fatal error
message while being debugged we break into the debugger with
G_BREAKPOINT(). Don't call abort() if the user is foolhardy enough
to continue after the breakpoint. The user presumably knows what
he is doing and deserves what he gets. (#376645, Andreas Köhler)

17 years agoupdates from new doc builds
Tim Janik [Thu, 28 Dec 2006 14:14:29 +0000 (14:14 +0000)]
updates from new doc builds

17 years agofixed tag nesting
Tim Janik [Thu, 28 Dec 2006 13:03:41 +0000 (13:03 +0000)]
fixed tag nesting

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