platform/upstream/glib.git
22 years agoNew functions g_str_has_suffix and g_str_has_prefix.
Alex Larsson [Tue, 14 May 2002 18:49:50 +0000 (18:49 +0000)]
New functions g_str_has_suffix and g_str_has_prefix.

2002-05-14  Alex Larsson <alexl@redhat.com>

* glib/gstrfuncs.c:
* glib/gstrfuncs.h:
New functions g_str_has_suffix and g_str_has_prefix.

* tests/string-test.c: (main):
Test the new functions.

22 years agoon May 13 23:20:00 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Tue, 14 May 2002 03:26:37 +0000 (03:26 +0000)]
on May 13 23:20:00 2002  Owen Taylor  <otaylor@redhat.com>

        * autogen.sh (have_gettext): Add a check for GNU gettext.
        (Pointed out by Dan Winship in #59386.)

22 years agoIf sizeof(int) == sizeof(long) run compilation tests to determine which
Owen Taylor [Mon, 13 May 2002 15:57:25 +0000 (15:57 +0000)]
If sizeof(int) == sizeof(long) run compilation tests to determine which

Mon May 13 11:55:33 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in acglib.m4: If sizeof(int) == sizeof(long)
        run compilation tests to determine which way gsize should
        be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)

22 years agoUpdate from libcharset CVS. Includes additional encodings for Solaris
Owen Taylor [Mon, 13 May 2002 15:51:44 +0000 (15:51 +0000)]
Update from libcharset CVS. Includes additional encodings for Solaris

Mon May 13 11:42:23 2002  Owen Taylor  <otaylor@redhat.com>

       * glib/libcharset/*: Update from libcharset CVS.
        Includes additional encodings for Solaris (#80396,
        Qingjiang Yuan)

        * configure.in: Add getc_unlocked to CHECK_FUNCS().

        * glib/gmessages.c (strdup_convert): If
        g_convert_with_fallback() fails, print the error
        message to stderr the first time, then return
        the original string. (#78197)

22 years agoUpdated French translation.
Christophe Merlet [Sun, 12 May 2002 20:07:32 +0000 (20:07 +0000)]
Updated French translation.

22 years agoAdded "hi" to ALL_LINGUAS. New Hindi translation added.
Naba Kumar [Fri, 10 May 2002 09:57:51 +0000 (09:57 +0000)]
Added "hi" to ALL_LINGUAS. New Hindi translation added.

* configure.in: Added "hi" to ALL_LINGUAS.
* po/hi.po: New Hindi translation added.

22 years agofixed yesterdays fix for cross compiling: simply check the variable
Michael Natterer [Wed, 8 May 2002 15:19:45 +0000 (15:19 +0000)]
fixed yesterdays fix for cross compiling: simply check the variable

2002-05-08  Michael Natterer  <mitch@gimp.org>

* configure.in: fixed yesterdays fix for cross compiling: simply
check the variable "cross_compiling" which gets set by autoconf.

22 years agoReport unfinished entity references as errors rather than running into an
Matthias Clasen [Tue, 7 May 2002 21:45:21 +0000 (21:45 +0000)]
Report unfinished entity references as errors rather than running into an

* glib/gmarkup.c (unescape_text): Report unfinished entity
references as errors rather than running into an assert.  (#80441)

22 years agoFix include order for config.h (#71704, Morten Welinder)
Owen Taylor [Tue, 7 May 2002 19:06:14 +0000 (19:06 +0000)]
Fix include order for config.h (#71704, Morten Welinder)

Tue May  7 15:03:02 2002  Owen Taylor  <otaylor@redhat.com>

        * glib-genmarshal.c: Fix include order for config.h (#71704,
        Morten Welinder)

22 years agoadded a new conditional CROSS_COMPILING which indicates ($build != $host).
Michael Natterer [Tue, 7 May 2002 15:41:24 +0000 (15:41 +0000)]
added a new conditional CROSS_COMPILING which indicates ($build != $host).

2002-05-07  Michael Natterer  <mitch@gimp.org>

* configure.in: added a new conditional CROSS_COMPILING which
indicates ($build != $host). If it is set, look for
glib-genmarshal in PATH. Error out if it was not found.

2002-05-07  Michael Natterer  <mitch@gimp.org>

* Makefile.am: use the glib-genmarshal found at configure time
if CROSS_COMPILING is set, use the one which was just built
otherwise.

22 years agoFixes for #79347, Ron Arts.
Owen Taylor [Tue, 7 May 2002 15:32:08 +0000 (15:32 +0000)]
Fixes for #79347, Ron Arts.

Tue May  7 11:24:22 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes for #79347, Ron Arts.

        * glib/gqsort.c (g_qsort_with_data): Handle 0 elements,
        don't g_return_if_fail().

        * tests/qsort-test.c (main): Add a 0 element test.

        * glib/garray.c (g_[ptr_]array_sort_with[_data]):
        Remove invalid assertions that array->pdata != NULL ..
        it's NULL for 0 elements which is a valid case.

22 years agoExclude OSF from alpha definition of G_BREAKPOINT(), since the assembler
Owen Taylor [Mon, 6 May 2002 20:08:54 +0000 (20:08 +0000)]
Exclude OSF from alpha definition of G_BREAKPOINT(), since the assembler

Mon May  6 16:00:41 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gbacktrace.h: Exclude OSF from alpha definition
        of G_BREAKPOINT(), since the assembler apparently
        doesn't support bpt. (#77852, Gareth Pierce) [from stable]

22 years ago[ merged from stable ]
Owen Taylor [Mon, 6 May 2002 20:08:17 +0000 (20:08 +0000)]
[ merged from stable ]

Mon May  6 16:06:23 2002  Owen Taylor  <otaylor@redhat.com>

[ merged from stable ]

        * gobject.c: Remove PROPERTIES_CHANGED enumeration
        value that wasn't used any more. (#78833,
        Matthias Clasen)

        * gboxed.c (g_boxed_copy): Remove check on data[2]
        that no longer exists. (#80814, Daniel Elstner)

22 years ago[ merged from stable ]
Owen Taylor [Mon, 6 May 2002 16:07:03 +0000 (16:07 +0000)]
[ merged from stable ]

Mon May  6 11:48:08 2002  Owen Taylor  <otaylor@redhat.com>

[ merged from stable ]

        * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)

        * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when
        compiling "what went wrong" test case. (#79330)

        * m4macros/glib-2.0.m4: Remove reference to editing
        pkg-config script. (From Jim Gettys)

        * configure.in: (Look for dyld interfaces before dlopen()
        since OS X can have both. Patch from Jacob Berkman,
        #80438)

22 years agoupdated Vietnamese file
Pablo Saratxaga [Mon, 6 May 2002 11:02:57 +0000 (11:02 +0000)]
updated Vietnamese file

22 years agofix typo on 64-bit printf formatting string configure message (fixes
jacob berkman [Wed, 1 May 2002 15:21:07 +0000 (15:21 +0000)]
fix typo on 64-bit printf formatting string configure message (fixes

2002-05-01  jacob berkman  <jacob@ximian.com>

* configure.in: fix typo on 64-bit printf formatting string
configure message (fixes #80389)

22 years agoClarify recursion issues with GMutex. (#78171)
Sebastian Wilhelmi [Wed, 1 May 2002 14:39:48 +0000 (14:39 +0000)]
Clarify recursion issues with GMutex. (#78171)

2002-05-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/tmpl/threads.sgml: Clarify recursion issues with
GMutex. (#78171)

22 years agoConverted Portuguese translation to UTF-8.
Duarte Loreto [Mon, 29 Apr 2002 23:34:46 +0000 (23:34 +0000)]
Converted Portuguese translation to UTF-8.

2002-04-30  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Converted Portuguese translation to UTF-8.

22 years agoAdded Vietnamese file
Pablo Saratxaga [Mon, 29 Apr 2002 08:05:44 +0000 (08:05 +0000)]
Added Vietnamese file

22 years agoUpdated French translation.
Christophe Merlet [Sun, 28 Apr 2002 19:40:57 +0000 (19:40 +0000)]
Updated French translation.

22 years agoUpdates.
Matthias Clasen [Tue, 23 Apr 2002 23:18:37 +0000 (23:18 +0000)]
Updates.

* gobject/gobject-sections.txt:
* gobject/tmpl/gtype.sgml: Updates.

22 years agoUpdated Slovenian translation
Andraz Tori [Tue, 23 Apr 2002 12:58:33 +0000 (12:58 +0000)]
Updated Slovenian translation

22 years agoFix the description of g_string_assign. (#78728)
Matthias Clasen [Sat, 20 Apr 2002 23:46:05 +0000 (23:46 +0000)]
Fix the description of g_string_assign. (#78728)

* glib/tmpl/strings.sgml: Fix the description of g_string_assign. (#78728)

22 years agoAdd Windows-specific note to the gtk-doc comment.
Tor Lillqvist [Fri, 19 Apr 2002 20:26:04 +0000 (20:26 +0000)]
Add Windows-specific note to the gtk-doc comment.

2002-04-19  Tor Lillqvist  <tml@iki.fi>

* glib/gspawn.c (g_spawn_command_line_sync): Add Windows-specific
note to the gtk-doc comment.

* glib/gspawn-win32.c: Remove the copy-pasted gtk-doc comment
blocks. It's enough to have them in gspawn.c.

22 years agos/<!>/<!-- -->/g throughout the documentation to bring the produced
Matthias Clasen [Thu, 18 Apr 2002 22:03:38 +0000 (22:03 +0000)]
s/<!>/<!-- -->/g throughout the documentation to bring the produced

* glib/tmpl/error_reporting.sgml:
* glib/tmpl/threads.sgml:
* glib/tmpl/arrays_pointer.sgml:
* glib/tmpl/arrays_byte.sgml:
* glib/tmpl/memory_chunks.sgml: s/<!>/<!-- -->/g throughout the
documentation to bring the produced Docbook closer to XML.

22 years agoFixed typo. (#78985)
Sebastian Wilhelmi [Thu, 18 Apr 2002 11:42:01 +0000 (11:42 +0000)]
Fixed typo. (#78985)

2002-04-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gthread/gthread-impl.c (g_thread_init): Fixed typo. (#78985)

22 years agoDutch translation updated by Ronald Hummelink.
Vincent van Adrighem [Wed, 17 Apr 2002 23:42:59 +0000 (23:42 +0000)]
Dutch translation updated by Ronald Hummelink.

2002-04-18 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Dutch translation updated by Ronald Hummelink.

22 years agoUnlock the pool for all threads leaving it. (#78348) glib-2-0-branchpoint
Sebastian Wilhelmi [Sat, 13 Apr 2002 10:08:31 +0000 (10:08 +0000)]
Unlock the pool for all threads leaving it. (#78348)

2002-04-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
for all threads leaving it. (#78348)

22 years agoRemove manual UTF-8 -> Latin1 conversion for stuff fed to g_print.
Matthias Clasen [Wed, 10 Apr 2002 23:09:15 +0000 (23:09 +0000)]
Remove manual UTF-8 -> Latin1 conversion for stuff fed to g_print.

* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
stuff fed to g_print.

22 years agoUse gsize instead of gint. From Miroslaw Dobrzanski-Neumann
Sebastian Wilhelmi [Mon, 8 Apr 2002 08:36:35 +0000 (08:36 +0000)]
Use gsize instead of gint. From Miroslaw Dobrzanski-Neumann

2002-04-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
gint. From Miroslaw Dobrzanski-Neumann
<mne@mosaic-ag.com>. (#77982)

22 years agoUpdated Ukrainian translation
Yuri Syrota [Mon, 8 Apr 2002 06:53:18 +0000 (06:53 +0000)]
Updated Ukrainian translation

22 years agoAdded Czech (cs) to ALL_LINGUAS.
Stanislav Brabec [Sun, 7 Apr 2002 23:09:08 +0000 (23:09 +0000)]
Added Czech (cs) to ALL_LINGUAS.

2002-04-08  Stanislav Brabec  <utx@penguin.cz>

        * cs.po: Added Czech (cs) to ALL_LINGUAS.

22 years agoAdded Czech translation from Petr Pytelka <pyta@lightcomp.cz>.
Stanislav Brabec [Sun, 7 Apr 2002 13:22:12 +0000 (13:22 +0000)]
Added Czech translation from Petr Pytelka <pyta@lightcomp.cz>.

2002-04-07  Stanislav Brabec  <utx@penguin.cz>

        * cs.po: Added Czech translation from Petr Pytelka
        <pyta@lightcomp.cz>.

22 years agoAdded Malay (ms)to ALL_LINGUAS.
Hasbullah Bin Pit [Sun, 31 Mar 2002 21:51:42 +0000 (21:51 +0000)]
Added Malay (ms)to ALL_LINGUAS.

2002-03-31  Hasbullah Bin Pit <sebol@ikhlas.com>

* configure.in: Added Malay (ms)to ALL_LINGUAS.

22 years agoUpdated traditional Chinese translation
Kwok-Koon Cheung [Sat, 30 Mar 2002 21:04:02 +0000 (21:04 +0000)]
Updated traditional Chinese translation

22 years agoAdd g_convert_init.
Tor Lillqvist [Fri, 29 Mar 2002 19:28:29 +0000 (19:28 +0000)]
Add g_convert_init.

2002-03-29  Tor Lillqvist  <tml@iki.fi>

* glib/glib.def: Add g_convert_init.

22 years agoReleased 2.0.1 GLIB_2_0_1
Owen Taylor [Thu, 28 Mar 2002 23:40:18 +0000 (23:40 +0000)]
Released 2.0.1

Thu Mar 28 18:25:14 2002  Owen Taylor  <otaylor@redhat.com>

        * Released 2.0.1

        * configure.in: Version 2.0.1, interface, binary age 1.

22 years agoRemove warning about g_print, etc, encoding.
Owen Taylor [Thu, 28 Mar 2002 23:24:23 +0000 (23:24 +0000)]
Remove warning about g_print, etc, encoding.

Thu Mar 28 18:22:53 2002  Owen Taylor  <otaylor@redhat.com>

        * README: Remove warning about g_print, etc, encoding.

        * NEWS: Updates.

        * glib/gmessages.c (g_log_default_handler): Use %lu
        (plus a cast) when printing out pid_t arguments.
        (#76770, Morten Welinder)

        * glib/gstrfuncs.c (g_strdup_vprintf): Check the
        result of vasprintf(), return NULL on failure.
        (#76802, Akira Tagoh)

        * tests/testglib.c (TEST): Supress a warning with
        some GCC versions.

22 years agoconvert prtinf() strings to local charset when writing them to stdout or
Tim Janik [Thu, 28 Mar 2002 20:12:32 +0000 (20:12 +0000)]
convert prtinf() strings to local charset when writing them to stdout or

Thu Mar 28 20:31:51 2002  Tim Janik  <timj@gtk.org>

        * glib/gmessages.c:
        (g_print):
        (g_printerr): convert prtinf() strings to local charset
        when writing them to stdout or stderr.

22 years agoUpdated russian translation.
Valek Frob [Thu, 28 Mar 2002 10:44:22 +0000 (10:44 +0000)]
Updated russian translation.

22 years agomajor cleanups. introduced _g_log_fallback_handler() to handle recursive
Tim Janik [Wed, 27 Mar 2002 17:57:30 +0000 (17:57 +0000)]
major cleanups. introduced _g_log_fallback_handler() to handle recursive

Wed Mar 27 18:42:22 2002  Tim Janik  <timj@gtk.org>

        * gmessages.[hc]:
        major cleanups. introduced _g_log_fallback_handler() to handle
        recursive messages which really doesn't call any GLib functions.
        this allowes the default handler to use normal GLib functions and
        also fixes user supplied log level handlers.
        fixed locking issues, based on a patch from Sebastian Willhelmi,
        attached to #74356. translate log messages from UTF-8, based
        on the same patch. save fatal and recursion flags across flag
        loop. use new integer format code from above patch.
        move GLib functions out of locked mutex state to avoid deadlocks.
        move the level prefix and filedescriptor logic into mklevel_prefix().
        move _g_debug_init() into a place where we can figure and handle
        recursion.

22 years agoAdd explicit cast of G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA to
Owen Taylor [Tue, 26 Mar 2002 20:32:30 +0000 (20:32 +0000)]
Add explicit cast of G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA to

Tue Mar 26 15:21:47 2002  Owen Taylor  <otaylor@redhat.com>

        * gsignal.h (g_signal_handlers_*_by_func): Add explicit
        cast of G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA to
        GSignalMatchType so that these macros work for C++.
        (#76454, Damien Sandras)

22 years agoFix various bugs and excessive stack usage that crept in the conversion
Owen Taylor [Mon, 25 Mar 2002 23:23:35 +0000 (23:23 +0000)]
Fix various bugs and excessive stack usage that crept in the conversion

Mon Mar 25 17:51:05 2002  Owen Taylor  <otaylor@redhat.com>

        * glib-mkenums.in (parse_entries): Fix various bugs and
        excessive stack usage that crept in the conversion from
        gtk-mkenums. (#74431)

22 years agoRemove __const__ qualifier from __asm__ statements... GCC since at least
Owen Taylor [Mon, 25 Mar 2002 23:18:13 +0000 (23:18 +0000)]
Remove __const__ qualifier from __asm__ statements... GCC since at least

Mon Mar 25 18:13:06 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
        qualifier from __asm__ statements... GCC since at least
        2.96 has assumed no side effects automaticaly, and gcc-3.1
        will warn about this usage. (#73308, Cody Russell)

22 years agoWrap setting freed instance memory to 0xaa in #ifdef G_ENABLE_DEBUG
Owen Taylor [Mon, 25 Mar 2002 22:26:53 +0000 (22:26 +0000)]
Wrap setting freed instance memory to 0xaa in #ifdef G_ENABLE_DEBUG

Mon Mar 25 17:25:57 2002  Owen Taylor  <otaylor@redhat.com>

        * gtype.c (g_type_free_instance): Wrap setting freed instance
        memory to 0xaa in #ifdef G_ENABLE_DEBUG

22 years agoFixed documentation about unused struct fields and added a note about
Sven Neumann [Mon, 25 Mar 2002 11:55:14 +0000 (11:55 +0000)]
Fixed documentation about unused struct fields and added a note about

2002-03-25  Sven Neumann  <sven@gimp.org>

* glib/tmpl/scanner.sgml: Fixed documentation about unused struct
fields and added a note about proper g_scanner_unexp_token() usage.

22 years agoFix problem where if g_mem_chunk_reset() is called on an alloc-only
Owen Taylor [Fri, 22 Mar 2002 23:01:01 +0000 (23:01 +0000)]
Fix problem where if g_mem_chunk_reset() is called on an alloc-only

Fri Mar 22 17:59:27 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gmem.c (g_mem_chunk_reset): Fix problem where
        if g_mem_chunk_reset() is called on an alloc-only
        memchunk, then a useles GTree was created.

22 years agoUpdated Ukrainian translation
Yuri Syrota [Fri, 22 Mar 2002 18:30:55 +0000 (18:30 +0000)]
Updated Ukrainian translation

22 years agofix extraneous include.
Tim Janik [Thu, 21 Mar 2002 00:34:05 +0000 (00:34 +0000)]
fix extraneous include.

Thu Mar 21 01:28:14 2002  Tim Janik  <timj@gtk.org>

        * gsignal.[hc]:
        * gobject.[hc]: fix extraneous include.

22 years agofix extraneous include.
Tim Janik [Thu, 21 Mar 2002 00:24:41 +0000 (00:24 +0000)]
fix extraneous include.

Thu Mar 21 01:28:14 2002  Tim Janik  <timj@gtk.org>

        * gsignal.h: fix extraneous include.

22 years agoTry to work around segfaults on Solaris if NULL is passed for outbuf...
Owen Taylor [Wed, 20 Mar 2002 23:24:22 +0000 (23:24 +0000)]
Try to work around segfaults on Solaris if NULL is passed for outbuf...

Wed Mar 20 18:20:21 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gconvert.c (open_converter): Try to work around segfaults
        on Solaris if NULL is passed for outbuf... supposedly gchar
        *outbuf = NULL... &outbuf works. (#74336, Lauri Alanko)

22 years agoClose the file descriptor. (#75507, Matthias Clasen)
Owen Taylor [Wed, 20 Mar 2002 16:21:58 +0000 (16:21 +0000)]
Close the file descriptor. (#75507, Matthias Clasen)

Wed Mar 20 11:17:32 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gfileutils.c (get_contents_regfile): Close the
        file descriptor. (#75507, Matthias Clasen)

22 years agoUse $PKG_CONFIG, not pkg-config. (LEE Sau Dan, #75572)
Owen Taylor [Wed, 20 Mar 2002 16:10:34 +0000 (16:10 +0000)]
Use $PKG_CONFIG, not pkg-config. (LEE Sau Dan, #75572)

Wed Mar 20 11:00:59 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Use $PKG_CONFIG, not pkg-config.
        (LEE Sau Dan, #75572)

22 years agoavoid repeated call of g_spaced_primes_closest() by moving it out of the
Sven Neumann [Wed, 20 Mar 2002 10:25:52 +0000 (10:25 +0000)]
avoid repeated call of g_spaced_primes_closest() by moving it out of the

2002-03-20  Sven Neumann  <sven@gimp.org>

* glib/ghash.c (g_hash_table_resize): avoid repeated call of
g_spaced_primes_closest() by moving it out of the CLAMP macro
(spotted by Salmaso Raffaele).

22 years agoapplied patch from Matthias Clasen <maclas@gmx.de> to check for
Tim Janik [Tue, 19 Mar 2002 19:26:27 +0000 (19:26 +0000)]
applied patch from Matthias Clasen <maclas@gmx.de> to check for

Tue Mar 19 18:57:12 2002  Tim Janik  <timj@gtk.org>

        * gtype.c (check_add_interface_L): applied patch from Matthias Clasen
        <maclas@gmx.de> to check for prerequisite of interfaces, fixes #74427.
        fixed mutex recursion in his patch (we can't call g_type_is_a() while
        holding a read lock).

        * gparam.c (canonalize_key): cleanup.

22 years agoAdd MSVC-specific text by Hans Breuer.
Tor Lillqvist [Sun, 17 Mar 2002 21:51:33 +0000 (21:51 +0000)]
Add MSVC-specific text by Hans Breuer.

2002-03-17  Tor Lillqvist  <tml@iki.fi>

* README.win32: Add MSVC-specific text by Hans Breuer.

22 years agoUpdated russian translation.
Valek Frob [Sun, 17 Mar 2002 19:00:04 +0000 (19:00 +0000)]
Updated russian translation.

22 years ago*** empty log message ***
Wang Jian [Sun, 17 Mar 2002 08:30:43 +0000 (08:30 +0000)]
*** empty log message ***

22 years agoUpdated German translation.
Christian Meyer [Sat, 16 Mar 2002 16:14:45 +0000 (16:14 +0000)]
Updated German translation.

22 years agoglib/giowin32.c (g_io_win32_dispatch): Check buffer condition here, too.
Tor Lillqvist [Fri, 15 Mar 2002 23:34:53 +0000 (23:34 +0000)]
glib/giowin32.c (g_io_win32_dispatch): Check buffer condition here, too.

2002-03-16  Tor Lillqvist  <tml@iki.fi>

glib/giowin32.c (g_io_win32_dispatch): Check buffer condition
here, too.

22 years agoSome debugging output formatting changes. The following two changes fixes
Tor Lillqvist [Fri, 15 Mar 2002 23:01:55 +0000 (23:01 +0000)]
Some debugging output formatting changes. The following two changes fixes

2002-03-16  Tor Lillqvist  <tml@iki.fi>

* glib/giowin32.c: Some debugging output formatting changes. The
following two changes fixes a problem with buffered GIOChannels,
noticed with the help of Owen's test program, thanks!
(g_io_win32_prepare): Return value that takes the buffer condition
into account, like g_io_unix_prepare() does.
(g_io_win32_check): Ditto, like g_io_unix_check().

22 years agoMove pre-2.0 ChangeLog aside
Owen Taylor [Fri, 15 Mar 2002 22:42:42 +0000 (22:42 +0000)]
Move pre-2.0 ChangeLog aside

22 years agoUpdated French translation.
Christophe Merlet [Fri, 15 Mar 2002 08:34:23 +0000 (08:34 +0000)]
Updated French translation.

22 years agoshutup CVS
Manish Singh [Fri, 15 Mar 2002 01:16:08 +0000 (01:16 +0000)]
shutup CVS

22 years agoFix some gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)
Owen Taylor [Thu, 14 Mar 2002 22:38:46 +0000 (22:38 +0000)]
Fix some gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)

Thu Mar 14 17:37:45 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/giochannel.c (g_io_channel_write_chars): Fix some
        gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)

22 years agoFixed threading issues brought up by #74577. Make g_log_find_domain,
Sebastian Wilhelmi [Thu, 14 Mar 2002 16:20:42 +0000 (16:20 +0000)]
Fixed threading issues brought up by #74577. Make g_log_find_domain,

2002-03-14  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gmessages.c: Fixed threading issues brought up by
#74577. Make g_log_find_domain, g_log_domain_new,
g_log_domain_check_free and g_log_domain_get_handler require being
called with g_messages_lock held and remove all internal locking
in them. Then added proper locking to g_log_set_handler,
g_log_remove_handler and g_logv. Problem spotted by Miroslaw
Dobrzanski-Neumann <mne@mosaic-ag.com>. (#74577)

22 years agoFunction to canonicalize parameter names. Faster than using g_strcanon().
Alexander Larsson [Thu, 14 Mar 2002 01:41:40 +0000 (01:41 +0000)]
Function to canonicalize parameter names. Faster than using g_strcanon().

2002-03-13  Alexander Larsson  <alla@lysator.liu.se>

* gparam.c (canonalize_key):
Function to canonicalize parameter names. Faster than
using g_strcanon().
(g_param_spec_internal, param_spec_ht_lookup):
Use canonalize_key.

22 years agoglib/gconvert.c glib/gen-unicode-tables.pl fixed cast/type problems to
Erwann Chenede [Wed, 13 Mar 2002 15:36:04 +0000 (15:36 +0000)]
glib/gconvert.c glib/gen-unicode-tables.pl fixed cast/type problems to

2002-03-13  Erwann Chenede  <erwann.chenede@sun.com>
  * glib/gconvert.c
  * glib/gen-unicode-tables.pl
  * glib/gunidecomp.h : fixed cast/type problems to
    avoid warnings (with forte compiler)
  * gobject/gclosure.c
  * gobject/gobject.c
  * gobject/gsignal.c: fixed cast problems with function pointer
    to avoid warnings (with forte compiler) (#73898)

22 years agoCache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and use
Alexander Larsson [Wed, 13 Mar 2002 05:01:58 +0000 (05:01 +0000)]
Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and use

2002-03-12  Alexander Larsson  <alla@lysator.liu.se>

* glib/gconvert.c:
Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and
use instead. Add g_convert_init() that calls have_broken_filenames()

* gthread/gthread-impl.c:
Have g_thread_init call g_convert_init.

22 years agoAdd a note about g_strreverse() and UTF-8.
Matthias Clasen [Mon, 11 Mar 2002 21:38:18 +0000 (21:38 +0000)]
Add a note about g_strreverse() and UTF-8.

* glib/tmpl/string_utils.sgml: Add a note about g_strreverse() and UTF-8.

* glib/gstrfuncs.c (g_strtod):
(g_ascii_strtod):
(g_ascii_dtostr):
(g_ascii_formatd): Doc formatting fixes.

22 years agoCVS_SILENT
Görkem Çetin [Mon, 11 Mar 2002 10:27:01 +0000 (10:27 +0000)]
CVS_SILENT

22 years agoUpdated russin translation.
Valek Frob [Sun, 10 Mar 2002 20:09:12 +0000 (20:09 +0000)]
Updated russin translation.

22 years agoUpdated Slovenian translation
Andraz Tori [Sun, 10 Mar 2002 19:27:19 +0000 (19:27 +0000)]
Updated Slovenian translation

22 years agoDo a comparison, not an assignment, stupid! Spotted by Daniel Elstner
Sebastian Wilhelmi [Sun, 10 Mar 2002 09:15:09 +0000 (09:15 +0000)]
Do a comparison, not an assignment, stupid! Spotted by Daniel Elstner

2002-03-10  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gthread-posix.c (g_thread_create_posix_impl): Do a comparison,
not an assignment, stupid! Spotted by Daniel Elstner
<daniel.elstner@gmx.net>.

22 years ago======== Released 2.0.0 ======== GLIB_2_0_0
Owen Taylor [Fri, 8 Mar 2002 16:34:21 +0000 (16:34 +0000)]
======== Released 2.0.0 ========

Fri Mar  8 10:58:28 2002  Owen Taylor  <otaylor@redhat.com>

        * ======== Released 2.0.0 ========

22 years agoFinal updates for 2.0.0
Owen Taylor [Fri, 8 Mar 2002 15:50:54 +0000 (15:50 +0000)]
Final updates for 2.0.0

Fri Mar  8 10:20:46 2002  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Final updates for 2.0.0

        * glib/gstrfuncs.c: Convert the results of strerror()
        and strsignal() to UTF-8.

        * glib/gconvert.c glib/gdir.c glib/giochannel.c glib/giounix.c
        glib/giowin32.c: Use g_strerror(), not strerror().

22 years agoUpdates.
Owen Taylor [Fri, 8 Mar 2002 05:48:03 +0000 (05:48 +0000)]
Updates.

Fri Mar  8 00:15:29 2002  Owen Taylor  <otaylor@redhat.com>

        * README.in: Updates.

        * README.in: Add warnings about current encoding problems with .po
        files and error logging functions.

        * configure.in: Check for bind_textdomain_codeset().

        * glib/gutils.c (_glib_gettext): Call
        bind_textdomain_codeset, if present.

        * INSTALL.in: Some updates.

        * AUTHORS: Updates.

        * Makefile.am (EXTRA_DIST): Remove TODO.xml from EXTRA_DIST.

        * docs/Makefile.am (EXTRA_DIST): Remove Changes-2.0.txt
        from EXTRA_DIST.

22 years agospelling fix
Owen Taylor [Fri, 8 Mar 2002 01:06:52 +0000 (01:06 +0000)]
spelling fix

22 years agoUpdated Slovenian translation
Andraz Tori [Thu, 7 Mar 2002 12:48:29 +0000 (12:48 +0000)]
Updated Slovenian translation

22 years agoAdded bugnumber
Sebastian Wilhelmi [Wed, 6 Mar 2002 17:44:15 +0000 (17:44 +0000)]
Added bugnumber

Added bugnumber

22 years agoFixed recognition of dce. Do not use -lc_r on OpenBSD and FreeBSD. Instead
Sebastian Wilhelmi [Wed, 6 Mar 2002 17:43:32 +0000 (17:43 +0000)]
Fixed recognition of dce. Do not use -lc_r on OpenBSD and FreeBSD. Instead

2002-03-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: Fixed recognition of dce. Do not use -lc_r on
OpenBSD and FreeBSD. Instead use -pthread. Move scheduling
parameter check to after the case..esac block for finding the
right thread libs.

22 years agoes.po: Updated spanish translation.
Germán Poó Caamaño [Wed, 6 Mar 2002 04:29:56 +0000 (04:29 +0000)]
es.po: Updated spanish translation.

22 years agoGTK+-2.0.0 rc1 GLIB_2_0_0_RC1
Owen Taylor [Wed, 6 Mar 2002 00:42:44 +0000 (00:42 +0000)]
GTK+-2.0.0 rc1

Tue Mar  5 19:41:02 2002  Owen Taylor  <otaylor@redhat.com>

        * GTK+-2.0.0 rc1

22 years agoFinish docs. (#67064)
Matthias Clasen [Tue, 5 Mar 2002 22:56:49 +0000 (22:56 +0000)]
Finish docs. (#67064)

* glib/gmain.c (g_source_set_priority): Finish docs.
(#67064)

22 years agodon't try to register undeclared value transform functions if
Sven Neumann [Tue, 5 Mar 2002 18:08:39 +0000 (18:08 +0000)]
don't try to register undeclared value transform functions if

2002-03-05  Sven Neumann  <sven@gimp.org>

* gvaluetransform.c (g_value_transforms_init): don't try to
register undeclared value transform functions if G_GINT64_FORMAT
or G_GUINT64_FORMAT are undefined (#73586).

22 years agoWhere we have getpwuid[_r], use that in preference to $HOME, and only
Owen Taylor [Tue, 5 Mar 2002 05:46:08 +0000 (05:46 +0000)]
Where we have getpwuid[_r], use that in preference to $HOME, and only

Tue Mar  5 00:38:54 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gutils.c (g_get_any_init): Where we have
        getpwuid[_r], use that in preference to $HOME, and
        only check $HOME as a fallback if getpwuid fails.
        (#2311)

22 years agoDefault to --disable-gtk-doc, to avoid Jade setup hassles.
Owen Taylor [Tue, 5 Mar 2002 05:18:23 +0000 (05:18 +0000)]
Default to --disable-gtk-doc, to avoid Jade setup hassles.

Sun Mar  3 21:09:24 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Default to --disable-gtk-doc, to avoid
        Jade setup hassles.

        * autogen.sh: Add --enable-gtk-doc.

        * configure.in: Default to --disable-static to go
        along with Pango, GTK+ where we need to do that for
        bin-compat reasons.

        * Makefile.am: Add a slightly modified distcheck rule
        that passes --enable-gtk-doc to the configure inside.
        (So that 'make dist' succeeds inside.)

        * configure.in *.pc.in **/Makefile.am m4macros/glib-2.0.m4
        tests/makefile.mingw.in: Switch everything over to
        glib-2.0.

22 years agoUpdated Portuguese translation.
Duarte Loreto [Mon, 4 Mar 2002 23:43:05 +0000 (23:43 +0000)]
Updated Portuguese translation.

2002-03-04  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.

22 years agospelling fix
Owen Taylor [Mon, 4 Mar 2002 15:22:37 +0000 (15:22 +0000)]
spelling fix

22 years agomakefile.msc.in Rename testgruntime to testgobject here, too.
Tor Lillqvist [Sun, 3 Mar 2002 20:40:50 +0000 (20:40 +0000)]
makefile.msc.in Rename testgruntime to testgobject here, too.

2002-03-03  Tor Lillqvist  <tml@iki.fi>

* makefile.msc.in
* makefile.mingw.in: Rename testgruntime to testgobject here, too.

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Sun, 3 Mar 2002 07:40:18 +0000 (07:40 +0000)]
Updated Norwegian (bokmål) translation.

2002-03-03  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

22 years agoadded padding.
Tim Janik [Sun, 3 Mar 2002 03:15:10 +0000 (03:15 +0000)]
added padding.

Sun Mar  3 02:30:05 2002  Tim Janik  <timj@gtk.org>

        * glib/gscanner.h (_GScannerConfig): added padding.

        * glib/ghook.h (struct _GHook): add two padding pointers.

22 years agoplaced a comment about not changing CArray until we have
Tim Janik [Sun, 3 Mar 2002 03:14:43 +0000 (03:14 +0000)]
placed a comment about not changing CArray until we have

Sun Mar  3 04:11:58 2002  Tim Janik  <timj@gtk.org>

        * gobject.c: placed a comment about not changing CArray until we have
        g_object_list_watched_closures().

        * gparam.h (struct _GParamSpecClass): added padding.

        * gobjectnotifyqueue.c (struct _GObjectNotifyQueue): abuse
        g_list_alloc() to allocate GObjectNotifyQueue to et rid
        of locking issues.

22 years agoUse G_MODULE_SUFFIX rather than a hardcoded ".so". (#72803)
Owen Taylor [Sat, 2 Mar 2002 20:30:33 +0000 (20:30 +0000)]
Use G_MODULE_SUFFIX rather than a hardcoded ".so". (#72803)

Sat Mar  2 14:46:17 2002  Owen Taylor  <otaylor@redhat.com>

        * gmodule-beos.c (_g_module_build_path) * gmodule-dyld.c (_g_module_build_path)
          gmodule-dl.c (_g_module_build_path): Use G_MODULE_SUFFIX rather than
        a hardcoded ".so". (#72803)

22 years agoUpdated Malay Translation.
Hasbullah Bin Pit [Sat, 2 Mar 2002 00:48:32 +0000 (00:48 +0000)]
Updated Malay Translation.

2002-03-02  Hasbullah Bin Pit <sebol@ikhlas.com>

* ms.po: Updated Malay Translation.

22 years agoUpdated Korean translation.
Changwoo Ryu [Fri, 1 Mar 2002 19:49:38 +0000 (19:49 +0000)]
Updated Korean translation.

22 years ago*** empty log message ***
Changwoo Ryu [Fri, 1 Mar 2002 19:48:45 +0000 (19:48 +0000)]
*** empty log message ***

22 years agofixed typo in german translation
Sven Neumann [Fri, 1 Mar 2002 17:31:05 +0000 (17:31 +0000)]
fixed typo in german translation

22 years agoUpdated Slovenian translation
Andraz Tori [Thu, 28 Feb 2002 23:38:44 +0000 (23:38 +0000)]
Updated Slovenian translation

22 years agoUpdated Danish translation.
Ole Laursen [Thu, 28 Feb 2002 19:28:28 +0000 (19:28 +0000)]
Updated Danish translation.

2002-02-28  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.