platform/upstream/glib.git
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.

22 years agoFix memory leak. (#72990, Paoloo Maggi)
Owen Taylor [Thu, 28 Feb 2002 16:45:37 +0000 (16:45 +0000)]
Fix memory leak. (#72990, Paoloo Maggi)

Thu Feb 28 11:13:49 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gshell.c (g_shell_unquote): Fix memory leak.
        (#72990, Paoloo Maggi)

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Thu, 28 Feb 2002 15:45:27 +0000 (15:45 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agonicer output of configure --help.
Sven Neumann [Thu, 28 Feb 2002 10:03:24 +0000 (10:03 +0000)]
nicer output of configure --help.

2002-02-28  Sven Neumann  <sven@gimp.org>

* m4macros/glib-2.0.m4: nicer output of configure --help.

22 years agoUpdated German translation.
Christian Meyer [Thu, 28 Feb 2002 00:12:56 +0000 (00:12 +0000)]
Updated German translation.

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Wed, 27 Feb 2002 13:54:00 +0000 (13:54 +0000)]
Updated Slovak translation.

2002-02-27  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

22 years agoRemove the shortcut for UTF-8 locales to ensure consistent behaviour. Fix
Daniel Elstner [Wed, 27 Feb 2002 08:34:46 +0000 (08:34 +0000)]
Remove the shortcut for UTF-8 locales to ensure consistent behaviour. Fix

2002-02-27  Daniel Elstner  <daniel.elstner@gmx.net>

* glib/gdate.c (g_date_strftime): Remove the shortcut for UTF-8 locales to ensure consistent behaviour.  Fix handling of the strftime return value, and avoid looping if strftime is buggy and constantly returns 0.  Always return 0 if the output buffer was to small. (#72544)

22 years agoRemove these files from CVS so we more-or-less current versions from
Owen Taylor [Wed, 27 Feb 2002 02:53:36 +0000 (02:53 +0000)]
Remove these files from CVS so we more-or-less current versions from

Tue Feb 26 21:44:01 2002  Owen Taylor  <otaylor@redhat.com>

        * config.status config.guess: Remove these files
        from CVS so we more-or-less current versions from
        automake --add-missing. (Reported by Finlay Dobbie,
        #60342)

22 years agoshut up cvs
Manish Singh [Tue, 26 Feb 2002 22:11:17 +0000 (22:11 +0000)]
shut up cvs

22 years agoUpdated French translation.
Christophe Merlet [Tue, 26 Feb 2002 22:10:46 +0000 (22:10 +0000)]
Updated French translation.

22 years agoRemove references to gruntime. This includes renaming the test program
Matthias Clasen [Tue, 26 Feb 2002 21:23:52 +0000 (21:23 +0000)]
Remove references to gruntime. This includes renaming the test program

* docs/debugging.txt, gobject/glib-genmarshal.c,
gobject/glib-genmarshal.1, gobject/Makefile.am, gobject/gtype.c:
Remove references to gruntime. This includes renaming the test
program testgruntime to testgobject and the debug envvar
GRUNTIME_DEBUG to GOBJECT_DEBUG.  (#50877)

22 years agofix wrong bug number
Owen Taylor [Tue, 26 Feb 2002 19:59:09 +0000 (19:59 +0000)]
fix wrong bug number

22 years agoReorder @INTL_LIBS@ and @ICONV_LIBS@ in case -lintl depends on -licon.
Owen Taylor [Tue, 26 Feb 2002 19:58:15 +0000 (19:58 +0000)]
Reorder @INTL_LIBS@ and @ICONV_LIBS@ in case -lintl depends on -licon.

Tue Feb 26 14:56:31 2002  Owen Taylor  <otaylor@redhat.com>

        * glib-2.0.pc.in: Reorder @INTL_LIBS@ and @ICONV_LIBS@ in case
        -lintl depends on -licon. (Miroslaw Dobrzanski-Neumann #72717)

22 years agoUpdated Japanese translation.
Takayuki KUSANO [Tue, 26 Feb 2002 16:36:42 +0000 (16:36 +0000)]
Updated Japanese translation.

* ja.po: Updated Japanese translation.

22 years agoRename testgruntime to testgobject.
Owen Taylor [Tue, 26 Feb 2002 15:53:54 +0000 (15:53 +0000)]
Rename testgruntime to testgobject.

Tue Feb 26 10:51:00 2002  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (testgobject_LDADD): Rename testgruntime
        to testgobject.

22 years agoUpdated Slovenian translation
Andraz Tori [Tue, 26 Feb 2002 12:41:39 +0000 (12:41 +0000)]
Updated Slovenian translation

22 years agoUpdated Swedish translation.
Christian Rose [Tue, 26 Feb 2002 09:55:18 +0000 (09:55 +0000)]
Updated Swedish translation.

2002-02-26  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoCheck for iconv_* in -liconv as well as libiconv_* in -liconv since AIX
Owen Taylor [Tue, 26 Feb 2002 04:12:52 +0000 (04:12 +0000)]
Check for iconv_* in -liconv as well as libiconv_* in -liconv since AIX

Mon Feb 25 23:01:53 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in acconfig.h config.h.win32.in
        glib/gconvert.c: Check for iconv_* in -liconv
        as well as libiconv_* in -liconv since AIX ships
        the system iconv in a separate library.
        Patch from Miroslaw Dobrzanski-Neumann (#72569)

22 years agoFix trailing , in enumeration Miroslaw Dobrzanski-Neumann (#72574)
Owen Taylor [Tue, 26 Feb 2002 03:47:47 +0000 (03:47 +0000)]
Fix trailing , in enumeration Miroslaw Dobrzanski-Neumann (#72574)

Mon Feb 25 22:46:29 2002  Owen Taylor  <otaylor@redhat.com>

* glib/gdebug.h: Fix trailing , in enumeration
Miroslaw Dobrzanski-Neumann (#72574)

22 years agoAccount for some characters having now uppercase/lowercase equivalents in
Owen Taylor [Tue, 26 Feb 2002 03:01:09 +0000 (03:01 +0000)]
Account for some characters having now uppercase/lowercase equivalents in

Mon Feb 25 21:58:01 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/guniprop.c (g_unichar_toupper/lower): Account
        for some characters having now uppercase/lowercase
        equivalents in code, docs. (#65416)

22 years agoFix quoting of \' sequence (#72548, Christian Rose)
Owen Taylor [Mon, 25 Feb 2002 21:34:38 +0000 (21:34 +0000)]
Fix quoting of \' sequence (#72548, Christian Rose)

Mon Feb 25 16:31:09 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gshell.c (tokenize_command_line): Fix quoting
        of \' sequence (#72548, Christian Rose)

22 years agoFixed Swedish translation.
Christian Rose [Mon, 25 Feb 2002 18:57:36 +0000 (18:57 +0000)]
Fixed Swedish translation.

2002-02-25  Christian Rose  <menthos@menthos.com>

* sv.po: Fixed Swedish translation.

22 years agoUpdated Malay Translation.
Hasbullah Bin Pit [Mon, 25 Feb 2002 17:08:46 +0000 (17:08 +0000)]
Updated Malay Translation.

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

* ms.po: Updated Malay Translation.

22 years agoUpdated russian translation.
Valek Frob [Mon, 25 Feb 2002 11:23:02 +0000 (11:23 +0000)]
Updated russian translation.

22 years agoUpdated Swedish translation.
Christian Rose [Mon, 25 Feb 2002 09:15:32 +0000 (09:15 +0000)]
Updated Swedish translation.

2002-02-25  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoMake GInterfaceInfo paramter const to correspond to the conventions for
Owen Taylor [Mon, 25 Feb 2002 03:15:25 +0000 (03:15 +0000)]
Make GInterfaceInfo paramter const to correspond to the conventions for

Sun Feb 24 22:08:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gtypemodule.[ch] (g_type_module_add_interface): Make
        GInterfaceInfo paramter const to correspond to the
        conventions for the g_type_add_interface() functions.
        (#72461, Miroslaw Dobrzanski-Neumann)

22 years agoEdits.
Tor Lillqvist [Sun, 24 Feb 2002 21:42:34 +0000 (21:42 +0000)]
Edits.

2002-02-24  Tor Lillqvist  <tml@iki.fi>

* README.win32: Edits.

* config.h.win32.in: Add (as undefined) HAVE_UNSETENV,
_FILE_OFFSET_BITS and _LARGE_FILES, just for completeness.

* glibconfig.h.win32.in: Add the gcc-2.95.x undef of
G_HAVE_ISO_VARARGS.

22 years ago1.3.15, binary, interface age 0. GLIB_1_3_15
Owen Taylor [Sun, 24 Feb 2002 03:19:45 +0000 (03:19 +0000)]
1.3.15, binary, interface age 0.

Sat Feb 23 21:36:51 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.15, binary, interface age 0.

        * NEWS: Updated.

22 years agoAdd a little bit of padding.
Owen Taylor [Sat, 23 Feb 2002 20:08:45 +0000 (20:08 +0000)]
Add a little bit of padding.

Sat Feb 23 14:54:13 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/giochannel.h (struct _GIOChannel): Add a little bit
        of padding.

        * glib/gmain.h (struct _GSource): Add a little bit of padding.

22 years agoAdd some padding to the class.
Owen Taylor [Sat, 23 Feb 2002 20:08:13 +0000 (20:08 +0000)]
Add some padding to the class.

Sat Feb 23 13:28:56 2002  Owen Taylor  <otaylor@redhat.com>

        * gtypeplugin.h (struct _GTypePluginClass): Add some
        padding to the class.

        * gclosure.h (struct _GClosure): Fix typo in comment.

22 years agoUpdated Danish translation.
Ole Laursen [Sat, 23 Feb 2002 15:34:06 +0000 (15:34 +0000)]
Updated Danish translation.

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

* da.po: Updated Danish translation.

22 years agoNew header containing GTK_DEBUG-style debugging support for GLib.
Matthias Clasen [Thu, 21 Feb 2002 23:07:34 +0000 (23:07 +0000)]
New header containing GTK_DEBUG-style debugging support for GLib.

* glib/gdebug.h: New header containing GTK_DEBUG-style debugging
support for GLib. Currently only the fatal_warnings debug option exists.

* glib/gmessages.c (g_log_msg_prefix_init): New one-shot function
for parsing G_MESSAGES_PREFIXED.
(_g_debug_init): New one-shot function for parsing G_DEBUG.
(g_log_write_prefix): Use g_log_msg_prefix_init().
(g_messages_init): Use g_log_msg_prefix_init() and _g_debug_init().

* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gdebug.h.

* glib/Makefile.am (IGNORE_HFILES): Add gdebug.h.

* glib/running.sgml: Document the G_DEBUG environment variable.

* glib/tmpl/threads.sgml: Replace g_thread_wait() by
g_thread_join() in two places.

22 years agoAdd g_value_set_object_take_ownership and
Tor Lillqvist [Thu, 21 Feb 2002 20:46:12 +0000 (20:46 +0000)]
Add g_value_set_object_take_ownership and

2002-02-20  Tor Lillqvist  <tml@iki.fi>

* gobject.def: Add g_value_set_object_take_ownership and
g_value_set_param_take_ownership.

22 years agoFix implicit conversions between void * and function pointer (Miroslaw
Owen Taylor [Thu, 21 Feb 2002 03:57:33 +0000 (03:57 +0000)]
Fix implicit conversions between void * and function pointer (Miroslaw

Wed Feb 20 22:55:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gobject.c: Fix implicit conversions between void * and
        function pointer (Miroslaw Dobrzanski-Neumann, #71963)

22 years agoed Feb 20 22:35:42 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Thu, 21 Feb 2002 03:54:34 +0000 (03:54 +0000)]
ed Feb 20 22:35:42 2002  Owen Taylor  <otaylor@redhat.com>

        Fixes from Miroslaw Dobrzanski-Neumann (#71963)

        * glib/giounix.c (g_io_channel_new_file): Fix trailing comma
        in enum.

        * configure.in: Check for unsetenv.

        * test/uri-test.c: Fall back to trying putenv(VARNAME) if
        unsetenv isn't present.

22 years agoUse gssize instead of gsize as type of the pos and len arguments. (#71964)
Daniel Elstner [Wed, 20 Feb 2002 16:44:56 +0000 (16:44 +0000)]
Use gssize instead of gsize as type of the pos and len arguments. (#71964)

2002-02-20  Daniel Elstner  <daniel.elstner@gmx.net>

* glib/gstring.[ch] (g_string_erase): Use gssize instead of gsize as type of the pos and len arguments. (#71964)

22 years agoAdded Greek translation
Simos Xenitellis [Wed, 20 Feb 2002 14:34:32 +0000 (14:34 +0000)]
Added Greek translation

22 years agogobject/gobject-sections.txt gobject/tmpl/generic_values.sgml updated for
Sven Neumann [Wed, 20 Feb 2002 09:51:10 +0000 (09:51 +0000)]
gobject/gobject-sections.txt gobject/tmpl/generic_values.sgml updated for

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

* gobject/gobject-sections.txt
* gobject/tmpl/generic_values.sgml
* gobject/tmpl/param_value_types.sgml: updated for GValue changes.

22 years agoprovide marshaller specific value_set_*_take_ownership() variants.
Tim Janik [Tue, 19 Feb 2002 17:38:45 +0000 (17:38 +0000)]
provide marshaller specific value_set_*_take_ownership() variants.

Sun Feb 16 22:08:48 2002  Tim Janik  <timj@gtk.org>

        * gobject.[hc]:
        * gparam.[hc]: provide marshaller specific value_set_*_take_ownership()
        variants.

        * gvalue.h: shrink GValue's data contents to 2 unions.

        * glib-genmarshal.c: fix release and realeas_check hackage by always
        using _take_ownership() variants. directly access value contents if
        G_ENABLE_DEBUG is not defined.

        * gobject.h: add padding pointers to the class struct.

22 years agoadded GValue documentation.
Tim Janik [Tue, 19 Feb 2002 17:08:11 +0000 (17:08 +0000)]
added GValue documentation.

Tue Feb 19 17:45:43 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/generic_values.sgml: added GValue documentation.

22 years agoInclude <config.h> first here, too. Use g_io_channel_read_chars() instead
Tor Lillqvist [Tue, 19 Feb 2002 09:08:24 +0000 (09:08 +0000)]
Include <config.h> first here, too. Use g_io_channel_read_chars() instead

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

* glib/gspawn-win32.c: Include <config.h> first here, too. Use
g_io_channel_read_chars() instead of (deprecated)
g_io_channel_read(). Set encoding to NULL for the channels used
for the pipes from the child.

* glib/giowin32.c (buffer_read): Do return G_IO_STATUS_EOF when
EOF has been reached. Otherwise, with the above change to
gspawn-win32.c, spawn-test hangs.

22 years agoUpdated Japanese translation.
Takayuki KUSANO [Tue, 19 Feb 2002 04:22:08 +0000 (04:22 +0000)]
Updated Japanese translation.

* ja.po: Updated Japanese translation.

22 years agoRemove charset.alias from EXTRA_DIST; we don't want the charset.alias from
Owen Taylor [Tue, 19 Feb 2002 01:20:35 +0000 (01:20 +0000)]
Remove charset.alias from EXTRA_DIST; we don't want the charset.alias from

Mon Feb 18 20:18:23 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/libcharset/Makefile.am (EXTRA_DIST): Remove
        charset.alias from EXTRA_DIST; we don't want the
charset.alias from the make distcheck machine
        on the target system!. (#70974, reported by
        Ryan Lovett)

22 years agoTurn off ISO varargs support for gcc-2.95 since it causes problems with
Owen Taylor [Mon, 18 Feb 2002 17:48:44 +0000 (17:48 +0000)]
Turn off ISO varargs support for gcc-2.95 since it causes problems with

Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Turn off ISO varargs support for gcc-2.95
        since it causes problems with ANSI and we we have GNUC
        varargs. (#70024, reported by Morten Welinder, fix from
        James Henstridge)

22 years ago1.3.14 GLIB_1_3_14
Owen Taylor [Sun, 17 Feb 2002 23:28:43 +0000 (23:28 +0000)]
1.3.14

Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.14

        * glib/glibintl.h: Error out of config.h wasn't included
        rather than including it, since config.h must be the
        first thing included.

        * glib/gconvert.c glib/gmarkup.c glib/gshell.c glib/gspawn.c
        glib/gunibreak.c glib/gunidecomp.c glib/guniprop.c:
        Include config.h as the first thing. (#71704, Morten
        Welinder)

22 years agoFix typo when checking if file + module_suffix exists. (Miroslaw
Owen Taylor [Sun, 17 Feb 2002 23:17:52 +0000 (23:17 +0000)]
Fix typo when checking if file + module_suffix exists. (Miroslaw

Sun Feb 17 18:15:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gmodule.c (g_module_open): Fix typo when checking
        if file + module_suffix exists. (Miroslaw Dobrzanski-Neumann,
        #71801)

22 years ago*** empty log message ***
Wang Jian [Sun, 17 Feb 2002 09:53:08 +0000 (09:53 +0000)]
*** empty log message ***

22 years agoVersion 1.3.14.
Owen Taylor [Fri, 15 Feb 2002 17:26:49 +0000 (17:26 +0000)]
Version 1.3.14.

Fri Feb 15 11:41:42 2002  Owen Taylor  <otaylor@redhat.com>

        * Version 1.3.14.

        * configure.in: 1.3.14, binary age 0, interface age 0.

22 years agoUpdated.
Owen Taylor [Fri, 15 Feb 2002 16:41:54 +0000 (16:41 +0000)]
Updated.

Fri Feb 15 10:41:51 2002  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Updated.

        * configure.in: Require autoconf-2.52, run AC_SYS_LARGEFILE.
        (#71410, Sven Neumann)

        * glib/giounix.c glib/giowin32.c glib/giochannel.[ch]:
        Change offset type for g_io_channel_seek[_position] to
        gint64.

22 years agoDo not assume, that after g_usleep(G_USEC_PER_SEC) the newly started
Sebastian Wilhelmi [Fri, 15 Feb 2002 09:58:49 +0000 (09:58 +0000)]
Do not assume, that after g_usleep(G_USEC_PER_SEC) the newly started

2002-02-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* tests/thread-test.c: Do not assume, that after
g_usleep(G_USEC_PER_SEC) the newly started thread began
running. Spotted by Miroslaw Dobrzanski-Neumann
<mne@mosaic-ag.com>. Make the test_g_static_rw_lock_thread threads
wait a random time. Make the test_g_static_rw_lock test run 5
seconds, not 1.

22 years agoUse the #if branch with G_BREAKPOINT() also on Win32. Remove the separate
Tor Lillqvist [Thu, 14 Feb 2002 07:06:56 +0000 (07:06 +0000)]
Use the #if branch with G_BREAKPOINT() also on Win32. Remove the separate

2002-02-14  Tor Lillqvist  <tml@iki.fi>

* glib/gmessages.c (g_logv): Use the #if branch with
G_BREAKPOINT() also on Win32. Remove the separate __asm int 3 for
MSVC, G_BREAKPOINT() does exactly that.

22 years agooops. revert some files that accidentally got into that last commit.
James Henstridge [Thu, 14 Feb 2002 00:46:58 +0000 (00:46 +0000)]
oops.  revert some files that accidentally got into that last commit.
They were local changes that shouldn't have gone into the commit
(way too early)

22 years agoadd third argument to the AC_DEFINE calls, so users of the macro don't
James Henstridge [Thu, 14 Feb 2002 00:28:02 +0000 (00:28 +0000)]
add third argument to the AC_DEFINE calls, so users of the macro don't

2002-02-14  James Henstridge  <james@daa.com.au>

* m4macros/glib-gettext.m4: add third argument to the AC_DEFINE
calls, so users of the macro don't need to add entries to
acconfig.h in their package.

22 years agonever dispatch sources of mixed priority, because while iterating over the
Havoc Pennington [Wed, 13 Feb 2002 22:37:26 +0000 (22:37 +0000)]
never dispatch sources of mixed priority, because while iterating over the

2002-02-13  Havoc Pennington  <hp@redhat.com>

* glib/gmain.c (g_main_context_check): never dispatch sources of
mixed priority, because while iterating over the dispatch array a
new source with more priority may be added, while a source with
less priority remains in the dispatch array

22 years agofixed a check for node not being NULL.
Tim Janik [Wed, 13 Feb 2002 16:24:35 +0000 (16:24 +0000)]
fixed a check for node not being NULL.

Wed Feb 13 17:22:37 2002  Tim Janik  <timj@gtk.org>

        * gtype.c (g_type_value_table_peek): fixed a check for node not being NULL.

22 years agoremove extraneous redefinition of G_PARAM_SPEC_CLASS().
Tim Janik [Wed, 13 Feb 2002 05:53:54 +0000 (05:53 +0000)]
remove extraneous redefinition of G_PARAM_SPEC_CLASS().

Wed Feb 13 06:53:50 2002  Tim Janik  <timj@gtk.org>

        * gparam.c: remove extraneous redefinition of G_PARAM_SPEC_CLASS().

22 years agocosmetic cleanups, fixed [u]int64->string conversions.
Tim Janik [Wed, 13 Feb 2002 05:30:42 +0000 (05:30 +0000)]
cosmetic cleanups, fixed [u]int64->string conversions.

Wed Feb 13 06:29:51 2002  Tim Janik  <timj@gtk.org>

        * gvaluetransform.c: cosmetic cleanups, fixed [u]int64->string
        conversions.

        * ChangeLog: added entry from owen which went into the wrong
        file.

22 years agoUse "if (expr) { } else" as I meant to in the first place. The other form
Darin Adler [Tue, 12 Feb 2002 00:50:23 +0000 (00:50 +0000)]
Use "if (expr) { } else" as I meant to in the first place. The other form

2002-02-11  Darin Adler  <darin@bentspoon.com>

* glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
first place. The other form can trigger warnings in some compilers

22 years agoUse "if (expr) { } else" as I meant to in the first place. The other form
Darin Adler [Mon, 11 Feb 2002 22:33:55 +0000 (22:33 +0000)]
Use "if (expr) { } else" as I meant to in the first place. The other form

* glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
first place. The other form can trigger warnings in some compilers
that suspect a ";" after "if (expr)" is an error.

22 years agoytpo fix
Manish Singh [Mon, 11 Feb 2002 22:31:07 +0000 (22:31 +0000)]
ytpo fix

22 years agoneed statement terminators for the if clauses for the precedeing change.
Manish Singh [Mon, 11 Feb 2002 22:30:43 +0000 (22:30 +0000)]
need statement terminators for the if clauses for the precedeing change.

2002-02-11  Manish Singh  <yosh@gimp.org>

        * glib/gmessages.h: need statement terminators for the if clauses for
        the precedeing change.