platform/upstream/glib.git
21 years agoFix docs.
Matthias Clasen [Wed, 19 Mar 2003 22:05:07 +0000 (22:05 +0000)]
Fix docs.

2003-03-19  Matthias Clasen  <maclas@gmx.de>

* glib/giochannel.c (g_io_channel_read_to_end): Fix docs.

21 years agoBump version to 2.3.0
Anders Carlsson [Wed, 19 Mar 2003 21:51:36 +0000 (21:51 +0000)]
Bump version to 2.3.0

2003-03-19  Anders Carlsson  <andersca@codefactory.se>

* configure.in: Bump version to 2.3.0

21 years agoDo not define function g_thread_init_glib, if not G_THREADS_ENABLED. It's
Sebastian Wilhelmi [Fri, 14 Mar 2003 14:29:21 +0000 (14:29 +0000)]
Do not define function g_thread_init_glib, if not G_THREADS_ENABLED. It's

2003-03-14  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gthread.c: Do not define function g_thread_init_glib, if
not G_THREADS_ENABLED. It's not called bu g_thread_init() then,
but calls other, in that case undefined functions.

21 years agoAdd support for instance-private data. g_type_class_add_private(),
Owen Taylor [Mon, 10 Mar 2003 16:41:28 +0000 (16:41 +0000)]
Add support for instance-private data. g_type_class_add_private(),

Thu Feb 27 17:33:19 2003  Owen Taylor  <otaylor@redhat.com>

        * gtype.[ch] testgobject.c: Add support for instance-private data.
        g_type_class_add_private(), g_type_instance_get_private(),
        G_TYPE_INSTANCE_GET_PRIVATE(). (#101959, patch partly by
        Mark McLoughlin, extensive feedback from Tim Janik.)

21 years agoDocument private instance data.
Owen Taylor [Mon, 10 Mar 2003 16:38:58 +0000 (16:38 +0000)]
Document private instance data.

Mon Mar 10 11:33:10 2003  Owen Taylor  <otaylor@redhat.com>

        * gobject/tmpl/gtype.sgml gobject/gobject-sections.txt:
        Document private instance data.

21 years agoFix 0/FALSE confusion. (#107662, Morten Welinder)
Matthias Clasen [Thu, 6 Mar 2003 22:48:16 +0000 (22:48 +0000)]
Fix 0/FALSE confusion. (#107662, Morten Welinder)

2003-03-06  Matthias Clasen  <maclas@gmx.de>

* gsignal.c (g_signal_handlers_block_matched):
(g_signal_handlers_unblock_matched):
(g_signal_handlers_disconnect_matched): Fix 0/FALSE confusion.
(#107662, Morten Welinder)

21 years agoFix FALSE/NULL confusion. (#107646, Morten Welinder)
Matthias Clasen [Thu, 6 Mar 2003 22:41:03 +0000 (22:41 +0000)]
Fix FALSE/NULL confusion. (#107646, Morten Welinder)

2003-03-06  Matthias Clasen  <maclas@gmx.de>

* glib/gmain.c (g_main_context_find_source_by_id):
(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
confusion.  (#107646, Morten Welinder)

21 years agorequire automake 1.7. Add calls to libtoolize and gtkdocize. Clean up some
James Henstridge [Tue, 4 Mar 2003 10:10:48 +0000 (10:10 +0000)]
require automake 1.7. Add calls to libtoolize and gtkdocize. Clean up some

2003-03-01  James Henstridge  <james@daa.com.au>

    * autogen.sh: require automake 1.7.  Add calls to libtoolize and
    gtkdocize.  Clean up some of the error messages.

    * configure.in: move version declaration to the top of the file
    (before AC_INIT), using M4 macros.
    GLIB_AC_DIVERT_BEFORE_HELP() calls no longer necessary, due to use
    of M4 macro expansion in help messages instead.
    Convert AC_ARG_WITH/AC_ARG_ENABLE calls to use AC_HELP_STRING to
    format help strings.  Use quadrigraphs to get square brackets to
    show correctly.
    Replace gtk-doc checks with a call to GTK_DOC_CHECK() macro.
    Use AC_CONFIG_COMMANDS([glibconfig.h], ...) to output
    glibconfig.h, so that "./config.status glibconfig.h" works.
    Add an extra AC_CONFIG_FILES call listing other files we want
    generated by config.status protected by an "if false" block.  This
    way automake generates the rules needed to rebuild the files for
    us.
    Add quotes in various places.

    * docs/reference/*/Makefile.am: convert to use the common
    gtk-doc.make file.  This localises the complexity to a single
    makefile fragment maintained with gtk-doc itself.

    * */Makefile.am: remove unneeded rules to build win32 files with
    config.status.  Automake now does this for us.
    Replace instances of @FOO@ with $(FOO) where appropriate -- this
    allows automake to do a better job checking the makefile.
    Add some files to DISTCLEANFILES where appropriate

    * Makefile.am: use the DISTCHECK_CONFIGURE_FLAGS variable to
    ensure that --enable-gtk-doc is passed to configure during a
    distcheck.  Remove the custom distcheck, since the standard one
    will now do.

    * gobject/Makefile.am: switch to BUILT_SOURCES, since that now
    works.

21 years agoUse g_strndup, not g_strdup, since we know the length in advance.
Matthias Clasen [Wed, 26 Feb 2003 00:12:42 +0000 (00:12 +0000)]
Use g_strndup, not g_strdup, since we know the length in advance.

2003-02-26  Matthias Clasen  <maclas@gmx.de>

* glib/gstrfuncs.c (g_strdup_vprintf): Use g_strndup, not
g_strdup, since we know the length in advance.

21 years agoUse g_malloc instead of directly using malloc.
Matthias Clasen [Tue, 25 Feb 2003 23:20:16 +0000 (23:20 +0000)]
Use g_malloc instead of directly using malloc.

2003-02-26  Matthias Clasen  <maclas@gmx.de>

* glib/gunidecomp.c (g_unicode_canonical_decomposition): Use
g_malloc instead of directly using malloc.

21 years agoAdd a couple of missing entries, thanks to Cedric Gustin. Thread
Tor Lillqvist [Tue, 25 Feb 2003 21:19:05 +0000 (21:19 +0000)]
Add a couple of missing entries, thanks to Cedric Gustin. Thread

2003-02-25  Tor Lillqvist  <tml@iki.fi>

* glib/glib.def: Add a couple of missing entries, thanks to Cedric
Gustin. Thread initialization function changes according to
Sebastian Wilhelmi's changes below (2003-02-14).

21 years agoUpdated Persian translation.
Roozbeh Pournader [Mon, 24 Feb 2003 09:57:04 +0000 (09:57 +0000)]
Updated Persian translation.

2003-02-24  Roozbeh Pournader  <roozbeh@sharif.edu>

* fa.po: Updated Persian translation.

21 years agoClarify documentation.
Matthias Clasen [Sun, 23 Feb 2003 22:55:47 +0000 (22:55 +0000)]
Clarify documentation.

2003-02-24  Matthias Clasen  <maclas@gmx.de>

* glib/gdir.c (g_dir_read_name): Clarify documentation.

21 years agoUpdated Azerbaijani translation.
Metin Amiroff [Fri, 21 Feb 2003 09:47:06 +0000 (09:47 +0000)]
Updated Azerbaijani translation.

2003-02-21  Metin Amiroff  <metin@karegen.com>

* az.po: Updated Azerbaijani translation.

21 years agoMake glib_thread_test not unnecessarily convert between int and void*.
Sebastian Wilhelmi [Tue, 18 Feb 2003 14:00:16 +0000 (14:00 +0000)]
Make glib_thread_test not unnecessarily convert between int and void*.

2003-02-18  Sebastian Wilhelmi  <seppi@seppi.de>

* configure.in: Make glib_thread_test not unnecessarily convert
between int and void*. (#106278). Let main return int.

* configure.in: Add an argument to specify the default thread
attribute to glib_thread_test. Disappeared somewhere between 2.0
and 2.2.

21 years agodon't assert the types passed in to have value tables. this prevents
Tim Janik [Mon, 17 Feb 2003 20:17:17 +0000 (20:17 +0000)]
don't assert the types passed in to have value tables. this prevents

Mon Feb 17 20:59:47 2003  Tim Janik  <timj@gtk.org>

* gvalue.c (g_value_register_transform_func): don't assert the types
passed in to have value tables. this prevents dynamic types from
registering transform functions.

21 years agoFixes for #101264 and #99372:
Sebastian Wilhelmi [Fri, 14 Feb 2003 15:08:46 +0000 (15:08 +0000)]
Fixes for #101264 and #99372:

2003-02-14  Sebastian Wilhelmi  <seppi@seppi.de>

Fixes for #101264 and #99372:

* glib/gconvert.h, glib/gmain.c, glib/gmem.c, glib/gmessages.c,
glib/grand.c: Include gthreadinit.h and rename the thread
initialization functions a bit and let them start with _, so that
later we can stop exporting them.

* glib/gmem.c, glib/gmessages.c: Move the g_private_new() calls to
new functions. They have to be called after setting
g_threads_got_initialized to TRUE (see #101264).

* glib/gthread.c: Include gthreadinit.h. Renamed g_mutex_init() to
g_thread_init_glib(). Call the thread initialization functions
(which are not allowed to call g_private_new), then set
g_threads_got_initialized to TRUE, then call the other thread
initialization functions (which must not call anything but
g_private_new()).

* glib/gthreadinit.h: New private header to cleanly declare all
thread initialization functions.

* gthread/gthread-impl.c: Include gthreadinit.h. In
g_thread_init() just call g_thread_init_glib(), which in turn calls the
other functions (see #99372).

* glib/Makefile.am: Added gthreadinit.h.

21 years agoMake GLib recognize Tru64Unix thread system. (#103020)
Sebastian Wilhelmi [Wed, 12 Feb 2003 13:01:35 +0000 (13:01 +0000)]
Make GLib recognize Tru64Unix thread system. (#103020)

2003-02-12  Sebastian Wilhelmi  <seppi@seppi.de>

* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)

21 years agoInclude ChangeLog.pre-2-2.
Tor Lillqvist [Tue, 11 Feb 2003 18:02:53 +0000 (18:02 +0000)]
Include ChangeLog.pre-2-2.

2003-02-11  Tor Lillqvist  <tml@iki.fi>

* Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.

21 years agoInclude also the gtk-doc/html documentation in the developer package.
Tor Lillqvist [Tue, 11 Feb 2003 17:59:04 +0000 (17:59 +0000)]
Include also the gtk-doc/html documentation in the developer package.

2003-02-11  Tor Lillqvist  <tml@iki.fi>

* glib-zip.in: Include also the gtk-doc/html documentation in the
developer package.

* README.win32: Updates.

21 years agoChanged my e-mail address. Removed my e-mail address.
Sebastian Wilhelmi [Tue, 11 Feb 2003 10:13:49 +0000 (10:13 +0000)]
Changed my e-mail address. Removed my e-mail address.

2003-02-11  Sebastian Wilhelmi  <seppi@seppi.de>

* AUTHORS: Changed my e-mail address.
* glib/grand.c: Removed my e-mail address.

21 years agoFix an off-by-one error in the g_strescape() docs. (#105431, Phillip
Matthias Clasen [Mon, 10 Feb 2003 23:56:45 +0000 (23:56 +0000)]
Fix an off-by-one error in the g_strescape() docs. (#105431, Phillip

2003-02-11  Matthias Clasen  <maclas@gmx.de>

* glib/tmpl/string_utils.sgml: Fix an off-by-one error in the
g_strescape() docs.  (#105431, Phillip Vandry)

21 years agoTake over
Fatih Demir [Mon, 10 Feb 2003 23:43:22 +0000 (23:43 +0000)]
Take over

21 years agoAdded Indonesian translation Added "id" to ALL_LINGUAS
Mohammad DAMT [Mon, 10 Feb 2003 08:01:42 +0000 (08:01 +0000)]
Added Indonesian translation Added "id" to ALL_LINGUAS

2003-02-10  Mohammad DAMT  <mdamt@bisnisweb.com>

* po/id.po: Added Indonesian translation
* configure.in: Added "id" to ALL_LINGUAS

21 years agoremove lookup of unused BoxedNode.
Soeren Sandmann [Sun, 9 Feb 2003 12:40:53 +0000 (12:40 +0000)]
remove lookup of unused BoxedNode.

Sun Feb  9 13:44:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gboxed.c (boxed_proxy_value_init): remove lookup of unused
BoxedNode.

21 years agoMove all docs out-of-line. Boy, what a waste of time.
Matthias Clasen [Fri, 7 Feb 2003 22:08:53 +0000 (22:08 +0000)]
Move all docs out-of-line. Boy, what a waste of time.

2003-02-07  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtypemodule.sgml:
* gobject/tmpl/gtype.sgml:
* gobject/tmpl/gclosure.sgml:
* gobject/tmpl/param_value_types.sgml:
* gobject/tmpl/gparamspec.sgml:
* gobject/tmpl/objects.sgml:
* gobject/tmpl/signals.sgml: Move all docs out-of-line. Boy, what
a waste of time.

21 years agoRemove all docs from gobject at Tims request. Documentation is only for
Matthias Clasen [Fri, 7 Feb 2003 22:04:24 +0000 (22:04 +0000)]
Remove all docs from gobject at Tims request. Documentation is only for

2003-02-07  Matthias Clasen  <maclas@gmx.de>

* gtypemodule.c:
* gtype.c:
* gsourceclosure.c:
* gparamspecs.c:
* gparam.c:
* gobject.c:
* gsignal.c: Remove all docs from gobject at Tims
request. Documentation is only for weenies anyway...

21 years agoFix a bunch of typos in header comments. (#102422, Morten Welinder)
Matthias Clasen [Thu, 6 Feb 2003 19:57:14 +0000 (19:57 +0000)]
Fix a bunch of typos in header comments. (#102422, Morten Welinder)

2003-02-06  Matthias Clasen  <maclas@gmx.de>

* glib/gmessages.h:
* glib/gmem.h:
* glib/ghash.h:
* glib/gasyncqueue.h:
* glib/garray.h:
* glib/ghook.h:
* glib/gtypes.h: Fix a bunch of typos in header comments.
(#102422, Morten Welinder)

21 years agoFix typo: Should be SOCKET_ERROR, not SO_ERROR. Noticed by Daniel
Tor Lillqvist [Tue, 4 Feb 2003 23:37:04 +0000 (23:37 +0000)]
Fix typo: Should be SOCKET_ERROR, not SO_ERROR. Noticed by Daniel

2003-02-04  Tor Lillqvist  <tml@iki.fi>

* glib/giowin32.c (g_io_channel_unix_new): Fix typo: Should be
SOCKET_ERROR, not SO_ERROR. Noticed by Daniel Kaufmann.

Merge from stable branch:

Fix for bug #104014, reported by Alex Shaduri:

* glib/gspawn-win32.c (protect_argv): New function. Add
double-quotes around argv elements that need it, and escape
embedded double-quotes with backslash.
(do_spawn_with_pipes) Call protect_argv().

* glib/gspawn-win32-helper.c (WinMain): Call protect_argv().

* glib/gspawn.c (g_spawn_async_with_pipes): Document argument
vector vs. command line details on Win32.
(g_spawn_command_line_sync): Improve documentation about
backslashes in the command line on Windows.

21 years agoRemove references to glib.spec. (#102231)
Owen Taylor [Thu, 30 Jan 2003 21:47:23 +0000 (21:47 +0000)]
Remove references to glib.spec. (#102231)

Thu Jan 30 16:45:13 2003  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am: Remove references to glib.spec.
        (#102231)

        * configure.in: Don't generate glib.spec.

21 years agoFixed a small bug in Estonian translation.
Tõivo Leedjärv [Wed, 29 Jan 2003 11:14:42 +0000 (11:14 +0000)]
Fixed a small bug in Estonian translation.

2003-01-29  Tõivo Leedjärv  <toivo@linux.ee>

        * et.po: Fixed a small bug in Estonian translation.

21 years agoIf msgfmt isn't found, unset gt_cv_have_gettext. (#102552, Tim Mooney)
Owen Taylor [Tue, 28 Jan 2003 21:13:43 +0000 (21:13 +0000)]
If msgfmt isn't found, unset gt_cv_have_gettext. (#102552, Tim Mooney)

Tue Jan 28 16:08:56 2003  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: If msgfmt isn't found,
        unset gt_cv_have_gettext. (#102552, Tim Mooney)

21 years agoFix version in complaint message about automake. (#104366, Rich Burridge)
Owen Taylor [Tue, 28 Jan 2003 20:26:05 +0000 (20:26 +0000)]
Fix version in complaint message about automake. (#104366, Rich Burridge)

Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>

* autogen.sh (have_automake): Fix version in complaint
message about automake. (#104366, Rich Burridge)

21 years agoUpdated Ukrainian translation
Yuri Syrota [Mon, 27 Jan 2003 17:57:24 +0000 (17:57 +0000)]
Updated Ukrainian translation

21 years agoAdded Thai translation.
Paisa Seeluangsawat [Sun, 26 Jan 2003 00:05:48 +0000 (00:05 +0000)]
Added Thai translation.

2003-01-22  Paisa Seeluangsawat  <paisa@colorado.edu>

        * th.po: Added Thai translation.

21 years agoAdded Bengali file
Pablo Saratxaga [Thu, 23 Jan 2003 11:42:49 +0000 (11:42 +0000)]
Added Bengali file

21 years agoUpdated Ukrainian translation
Yuri Syrota [Wed, 22 Jan 2003 14:52:48 +0000 (14:52 +0000)]
Updated Ukrainian translation

21 years agoUpdated traditional Chinese translation.
Abel Cheung [Wed, 22 Jan 2003 13:15:15 +0000 (13:15 +0000)]
Updated traditional Chinese translation.

2003-01-22  Abel Cheung  <maddog@linux.org.hk>

* zh_TW.po: Updated traditional Chinese translation.

21 years agoAdded "mn" to ALL_LINGUAS. Added Mongolian translation by Sanlig Badral
Christian Rose [Tue, 21 Jan 2003 22:43:17 +0000 (22:43 +0000)]
Added "mn" to ALL_LINGUAS. Added Mongolian translation by Sanlig Badral

2003-01-21  Christian Rose  <menthos@menthos.com>

* configure.in: Added "mn" to ALL_LINGUAS.
* po/mn.po: Added Mongolian translation by
Sanlig Badral <badral@chinggis.com>.

21 years agoDocument the return value of g_string_free().
Matthias Clasen [Tue, 21 Jan 2003 22:24:00 +0000 (22:24 +0000)]
Document the return value of g_string_free().

2003-01-21  Matthias Clasen  <maclas@gmx.de>

* glib/tmpl/strings.sgml: Document the return value of g_string_free().

21 years agoUpdated German translation.
Christian Neumair [Mon, 20 Jan 2003 21:53:13 +0000 (21:53 +0000)]
Updated German translation.

21 years agoupdated Vietnamese file;
Pablo Saratxaga [Mon, 20 Jan 2003 18:38:54 +0000 (18:38 +0000)]
updated Vietnamese file;
added missing langs to ALL_LINGUAS

21 years agoUpdated German translation.
Christian Neumair [Mon, 20 Jan 2003 16:33:31 +0000 (16:33 +0000)]
Updated German translation.

21 years agoAdding Amharic translation.
Daniel Yacob [Thu, 16 Jan 2003 16:28:30 +0000 (16:28 +0000)]
Adding Amharic translation.

21 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Wed, 15 Jan 2003 06:03:29 +0000 (06:03 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

21 years agoUpdated Bulgarian translation (style) by Alexander Shopov
Yanko Kaneti [Wed, 15 Jan 2003 00:06:17 +0000 (00:06 +0000)]
Updated Bulgarian translation (style) by Alexander Shopov

2003-01-14  Yanko Kaneti <yaneti@declera.com>

* bg.po: Updated Bulgarian translation (style) by
Alexander Shopov <al_shopov@yahoo.com>.

21 years agoFix the description of G_TYPE_FUNDAMENTAL. (#103119, Josh Parsons)
Matthias Clasen [Tue, 14 Jan 2003 23:38:34 +0000 (23:38 +0000)]
Fix the description of G_TYPE_FUNDAMENTAL. (#103119, Josh Parsons)

2003-01-15  Matthias Clasen  <maclas@gmx.de>

* gobject/tmpl/gtype.sgml: Fix the description of
G_TYPE_FUNDAMENTAL.  (#103119, Josh Parsons)

21 years agoUpdated Slovenian translation
Andraz Tori [Tue, 14 Jan 2003 18:38:52 +0000 (18:38 +0000)]
Updated Slovenian translation

21 years agodoc update
Thomas Vander Stichele [Mon, 13 Jan 2003 10:36:37 +0000 (10:36 +0000)]
doc update

21 years agoAdd g_type_interface_prerequisites. Thanks to Kenichi SUTO.
Tor Lillqvist [Sun, 12 Jan 2003 02:36:33 +0000 (02:36 +0000)]
Add g_type_interface_prerequisites. Thanks to Kenichi SUTO.

2003-01-12  Tor Lillqvist  <tml@iki.fi>

* gobject.def: Add g_type_interface_prerequisites. Thanks to
Kenichi SUTO.

21 years agoAdd some missing entries. Thanks to Kenichi SUTO.
Tor Lillqvist [Sun, 12 Jan 2003 02:35:15 +0000 (02:35 +0000)]
Add some missing entries. Thanks to Kenichi SUTO.

2003-01-12  Tor Lillqvist  <tml@iki.fi>

* glib/glib.def: Add some missing entries. Thanks to Kenichi SUTO.

21 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Mon, 6 Jan 2003 11:21:01 +0000 (11:21 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

21 years agoUpdates.
Tor Lillqvist [Sun, 5 Jan 2003 22:51:09 +0000 (22:51 +0000)]
Updates.

2003-01-05  Tor Lillqvist  <tml@iki.fi>

* README.win32: Updates.

* configure.in: Don't use -lm in TRIO_LIBS on Windows, with no
libm. (Mingw has a dummy libm.a, but the .pc file should be
useable by MSVC users, too.)

21 years ago(Ancient, binary compatible fixes found sitting in my tree)
Ron Steinke [Sun, 5 Jan 2003 18:11:15 +0000 (18:11 +0000)]
(Ancient, binary compatible fixes found sitting in my tree)
* Added early checks for count == 0 and buf == NULL in g_io_channel_read()
* Better error message for EFAULT in  g_io_channel_error_from_errno()

21 years agoUpdated Finnish translation from Lauri Nurmi.
Pauli Virtanen [Sun, 5 Jan 2003 15:36:39 +0000 (15:36 +0000)]
Updated Finnish translation from Lauri Nurmi.

2003-01-05  Pauli Virtanen <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation from Lauri Nurmi.

21 years agoDon't distribute glib-zip.
Tor Lillqvist [Sat, 4 Jan 2003 17:14:35 +0000 (17:14 +0000)]
Don't distribute glib-zip.

2003-01-04  Tor Lillqvist  <tml@iki.fi>

* Makefile.am (BUILT_EXTRA_DIST): Don't distribute glib-zip.

21 years ago[Win32] Install also the .def files, to help users generate import
Tor Lillqvist [Sat, 4 Jan 2003 06:47:14 +0000 (06:47 +0000)]
[Win32] Install also the .def files, to help users generate import

2003-01-04  Tor Lillqvist  <tml@iki.fi>

* {glib,gmodule,gobject,gthread}/Makefile.am:
[Win32] Install also the .def files, to help users generate
import libraries for other compilers. Uninstall, too.

* glib-zip.in: Include .def files from above.

21 years agoDon't claim broken pipes are unreadable. (Well, they are, but read()
Tor Lillqvist [Sat, 4 Jan 2003 05:43:06 +0000 (05:43 +0000)]
Don't claim broken pipes are unreadable. (Well, they are, but read()

2003-01-04  Tor Lillqvist  <tml@iki.fi>

* glib/giowin32.c (g_io_win32_fd_get_flags_internal): Don't claim
broken pipes are unreadable. (Well, they are, but read() handles
it, and treats it like EOF.)

21 years agoUse g_ascii_strcasecmp().
Tor Lillqvist [Sat, 4 Jan 2003 03:54:35 +0000 (03:54 +0000)]
Use g_ascii_strcasecmp().

2003-01-01  Tor Lillqvist  <tml@iki.fi>

* gmodule-win32.c (_g_module_build_path): Use g_ascii_strcasecmp().

21 years agouse AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for tests for inline
Manish Singh [Fri, 3 Jan 2003 00:16:09 +0000 (00:16 +0000)]
use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for tests for inline

Thu Jan  2 16:19:15 2003  Manish Singh  <yosh@gimp.org>

        * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
        tests for inline keywords. Fixes #101976.

21 years agoCorrect the comment telling what headers have the declarations of some
Tor Lillqvist [Thu, 2 Jan 2003 00:30:22 +0000 (00:30 +0000)]
Correct the comment telling what headers have the declarations of some

2003-01-02  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.h: Correct the comment telling what headers have
the declarations of some POSIXish functions.

* glib/giowin32.c (g_io_win32_fd_get_flags_internal): Fix braino:
The checks for readability/writeability were backwards.

21 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Thu, 2 Jan 2003 00:18:46 +0000 (00:18 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

21 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Thu, 2 Jan 2003 00:16:57 +0000 (00:16 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

21 years agoCheck the C stdout and stderr streams for validity, instead of what
Tor Lillqvist [Wed, 1 Jan 2003 23:18:44 +0000 (23:18 +0000)]
Check the C stdout and stderr streams for validity, instead of what

2003-01-01  Tor Lillqvist  <tml@iki.fi>

* glib/gmessages.c (ensure_stdout_valid, ensure_stderr_valid):
Check the C stdout and stderr streams for validity, instead of
what GetStdHandle() returns.

21 years agoUpdated traditional Chinese translation.
Abel Cheung [Wed, 1 Jan 2003 19:44:30 +0000 (19:44 +0000)]
Updated traditional Chinese translation.

2003-01-02  Abel Cheung  <maddog@linux.org.hk>

* zh_TW.po: Updated traditional Chinese translation.

21 years agoMove the alloc_console_called static flag inside these two functions.
Tor Lillqvist [Wed, 1 Jan 2003 17:00:51 +0000 (17:00 +0000)]
Move the alloc_console_called static flag inside these two functions.

2003-01-01  Tor Lillqvist  <tml@iki.fi>

* glib/gmessages.c (ensure_stderr_valid, ensure_stdout_valid): Move the
alloc_console_called static flag inside these two functions.

21 years agoRemove comment that only stdout would be used on Windows, no longer true.
Tor Lillqvist [Wed, 1 Jan 2003 01:40:52 +0000 (01:40 +0000)]
Remove comment that only stdout would be used on Windows, no longer true.

2003-01-01  Tor Lillqvist  <tml@iki.fi>

* glib/tmpl/messages.sgml: Remove comment that only stdout would
be used on Windows, no longer true.

21 years agoNew function, parallel to ensure_stdout_valid(). #defined as empty on
Tor Lillqvist [Wed, 1 Jan 2003 01:19:47 +0000 (01:19 +0000)]
New function, parallel to ensure_stdout_valid(). #defined as empty on

2003-01-01  Tor Lillqvist  <tml@iki.fi>

* glib/gmessages.c (ensure_stderr_valid): New function, parallel
to ensure_stdout_valid(). #defined as empty on Unix.
(mklevel_prefix): Do use either stderr or stdout on Windows,
too. Otherwise g_warning() messages (that are just warnings, by
definition) will get mixed with proper stdout output. Noticed in
GIMP's gimpconfig-dump.
(strdup_convert, mklevel_prefix, g_printerr): Call
ensure_stderr_valid() before trying to use stderr.
(g_logv): [Win32] Convert message to current codepage before
display with MessageBox().

21 years ago*** empty log message ***
Gil Osher [Mon, 30 Dec 2002 10:13:46 +0000 (10:13 +0000)]
*** empty log message ***

21 years agoSplit ChangeLog glib-2-2-branchpoint
Owen Taylor [Sat, 28 Dec 2002 21:16:55 +0000 (21:16 +0000)]
Split ChangeLog

21 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Sat, 28 Dec 2002 14:29:46 +0000 (14:29 +0000)]
Dutch translation updated by Tino Meinen.

2002-12-28  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>

* nl.po: Dutch translation updated by Tino Meinen.

21 years agoAdded Estonian translation by Allan Sims <allsi@eau.ee>.
Tõivo Leedjärv [Fri, 27 Dec 2002 23:43:22 +0000 (23:43 +0000)]
Added Estonian translation by Allan Sims <allsi@eau.ee>.

2002-12-28  Tõivo Leedjärv  <toivo@linux.ee>

        * et.po: Added Estonian translation
        by Allan Sims <allsi@eau.ee>.

21 years agoAdded et to ALL_LINGUAS.
Tõivo Leedjärv [Fri, 27 Dec 2002 23:41:33 +0000 (23:41 +0000)]
Added et to ALL_LINGUAS.

2002-12-28  Tõivo Leedjärv  <toivo@linux.ee>

        * configure.in: Added et to ALL_LINGUAS.

21 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Fri, 27 Dec 2002 08:31:54 +0000 (08:31 +0000)]
Dutch translation updated by Tino Meinen.

2002-12-27  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>

* nl.po: Dutch translation updated by Tino Meinen.

21 years agoAdded Macedonian translation
Ivan Stojmirov [Wed, 25 Dec 2002 11:32:42 +0000 (11:32 +0000)]
Added Macedonian translation

21 years ago=== Released 2.2.0 === GLIB_2_2_0
Owen Taylor [Fri, 20 Dec 2002 15:48:15 +0000 (15:48 +0000)]
=== Released 2.2.0 ===

Fri Dec 20 10:45:29 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.0 ===

        * INSTALL.in: --enable-included-printf, not --enable-trio.
        (Matthias Clasen)

21 years ago=== Released 2.2.0 ===
Owen Taylor [Fri, 20 Dec 2002 15:23:12 +0000 (15:23 +0000)]
=== Released 2.2.0 ===

Fri Dec 20 09:52:15 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.0 ===

        * INSTALL.in: Document --enable-trio, --disable-mempools,
        --enable-debug. Include docs on cross compilation.

        * NEWS: Update.

        * configure.in: Version 2.2.0, interface age 0.

21 years agoCall g_main_thread_init() after setting g_threads_got_initialized.
Owen Taylor [Fri, 20 Dec 2002 14:42:56 +0000 (14:42 +0000)]
Call g_main_thread_init() after setting g_threads_got_initialized.

Fri Dec 20 09:37:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
        after setting g_threads_got_initialized. (#101624,
        Alceste Scalas, Sebastian Wilhelmi)

21 years agoUpdated Catalan translation.
Jordi Mallach [Thu, 19 Dec 2002 14:57:39 +0000 (14:57 +0000)]
Updated Catalan translation.

21 years agoUpdated Bulgarian translation (style) by Alexander Shopov
Yanko Kaneti [Thu, 19 Dec 2002 12:04:05 +0000 (12:04 +0000)]
Updated Bulgarian translation (style) by Alexander Shopov

2002-12-19  Yanko Kaneti <yaneti@declera.com>

* bg.po: Updated Bulgarian translation (style) by
Alexander Shopov <al_shopov@yahoo.com>.

21 years agonew endian asm for ia64 and x86_64, general reorg and clean up. New
Manish Singh [Thu, 19 Dec 2002 00:20:03 +0000 (00:20 +0000)]
new endian asm for ia64 and x86_64, general reorg and clean up. New

Wed Dec 18 16:19:08 2002  Manish Singh  <yosh@gimp.org>

        * glib/gtypes.h: new endian asm for ia64 and x86_64, general
        reorg and clean up. New implementation of GUINT16_SWAP_LE_BE_CONSTANT()
        that should optimize better. (#101318)

21 years agoAdd docs.
Matthias Clasen [Wed, 18 Dec 2002 23:46:18 +0000 (23:46 +0000)]
Add docs.

21 years ago2002-12-18 Artis Trops <hornet@navigator.lv> * lv.po: Updated Latvian translation
Peteris Krisjanis [Wed, 18 Dec 2002 23:05:52 +0000 (23:05 +0000)]
2002-12-18  Artis Trops  <hornet@navigator.lv> * lv.po: Updated Latvian translation

21 years agoapplied patch I got from Tim Janik for testing which fixes bug #101521.
Michael Natterer [Wed, 18 Dec 2002 18:16:07 +0000 (18:16 +0000)]
applied patch I got from Tim Janik for testing which fixes bug #101521.

2002-12-18  Michael Natterer  <mitch@gimp.org>

* gobject/gtype.c (type_data_finalize_class_ifaces_Wm): applied
patch I got from Tim Janik for testing which fixes bug #101521.
(restart iterating the interface enties each time we finalized one
because they might have been modified).

21 years agoUpdated Danish translation.
Ole Laursen [Wed, 18 Dec 2002 17:06:36 +0000 (17:06 +0000)]
Updated Danish translation.

2002-12-18  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

21 years agoUpdated Slovak translation.
Stanislav Visnovsky [Wed, 18 Dec 2002 12:38:31 +0000 (12:38 +0000)]
Updated Slovak translation.

2002-12-18  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

21 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Wed, 18 Dec 2002 04:31:52 +0000 (04:31 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

21 years ago2002-12-17 German Poo-Caaman~o
Germán Poó Caamaño [Wed, 18 Dec 2002 00:17:31 +0000 (00:17 +0000)]
2002-12-17  German Poo-Caaman~o

* es.po: Updated Spanish translation

21 years agoImprovement based on suggestion by Thorsten Maerz:
Tor Lillqvist [Tue, 17 Dec 2002 04:48:03 +0000 (04:48 +0000)]
Improvement based on suggestion by Thorsten Maerz:

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

Improvement based on suggestion by Thorsten Maerz:

* glib/giowin32.c (struct _GIOWin32Channel): Don't need thread_handle.

(create_thread): We can close thread handle right away, it isn't
used for anything.

(read_thread, select_thread): Thus, don't close it here.

Fix #57690, partial fix for #57689:

* glib/giowin32.c (g_io_win32_set_flags): Don't set the GError,
instead call g_warning().

(g_io_win32_fd_get_flags_internal): New function, sets the
is_readable, is_writeable and is_seekable flags based on the
actual access modes of the underlying Win32 HANDLE, by trying
Win32 ReadFile() and WriteFile() of zero bytes, and
PeekNamedPipe(). Should work for disk files and pipes. For devices
(consoles) unfortunately not.

(g_io_win32_fd_get_flags): Don't set the
G_IO_FLAG_IS_{READ,WRITE}ABLE flags, g_io_channel_get_flags()
already does. Call g_io_win32_fd_get_flags_internal() to set the
is_* flags.

(g_io_win32_msg_get_flags, g_io_win32_sock_get_flags): Splice the
generic g_io_win32_get_flags() into these specific functions, as
they need to do different things. Not implemented yet, though.

(g_io_channel_win32_new_fd_internal): New function, to avoid
duplicate fstat() calls. Most code from g_io_channel_win32_new_fd()
moved here. Call g_io_win32_fd_get_flags_internal() to set the
is_* flags.

(g_io_channel_win32_new_fd, g_io_channel_unix_new): Call
g_io_channel_win32_new_fd_internal().

(g_io_win32_no_seek): Remove. Don't set is_seekable for those
channel types.

21 years agoRemove markup from doc comment, as GObject doesn't use --sgml-mode yet.
Matthias Clasen [Mon, 16 Dec 2002 23:33:08 +0000 (23:33 +0000)]
Remove markup from doc comment, as GObject doesn't use --sgml-mode yet.

* gparam.c (g_param_spec_internal): Remove markup from doc
comment, as GObject doesn't use --sgml-mode yet.

21 years ago=== Released 2.1.5 === GLIB_2_1_5
Owen Taylor [Mon, 16 Dec 2002 22:58:40 +0000 (22:58 +0000)]
=== Released 2.1.5 ===

Mon Dec 16 17:31:50 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.1.5 ===

        * configure.in: Version 2.1.5, interface age 2.

        * NEWS: Updated.

21 years agoAdd a hack to mostly deal with problems in support of -pthread and
Owen Taylor [Mon, 16 Dec 2002 22:14:40 +0000 (22:14 +0000)]
Add a hack to mostly deal with problems in support of -pthread and

Mon Dec 16 14:58:33 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Add a hack to mostly deal with
        problems in support of -pthread and -lpthread;
        pass -lpthread (for linux) or -Wc,-pthread (for
        other platforms) to libtool when linking libgthread.
        (#100697)

21 years agoIn the admittedly strangely worded "Channel set flags unsupported"
Tor Lillqvist [Mon, 16 Dec 2002 05:24:07 +0000 (05:24 +0000)]
In the admittedly strangely worded "Channel set flags unsupported"

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

* fi.po: In the admittedly strangely worded "Channel set flags
unsupported" message, "set" is a verb.

21 years agoFix potential heap corruption. Sometimes called g_free() on string
Tor Lillqvist [Mon, 16 Dec 2002 05:22:08 +0000 (05:22 +0000)]
Fix potential heap corruption. Sometimes called g_free() on string

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

* glib/gspawn-win32.c (do_spawn): Fix potential heap
corruption. Sometimes called g_free() on string literal.

21 years agoAC_SUBST() DATADIRNAME, not DATADIR.
Owen Taylor [Mon, 16 Dec 2002 00:53:45 +0000 (00:53 +0000)]
AC_SUBST() DATADIRNAME, not DATADIR.

Sun Dec 15 19:51:58 2002  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
        DATADIR.

21 years agoRestore a missing AC_SUBST() for DATADIRNAME. (Found by Kjartan Maraas)
Owen Taylor [Mon, 16 Dec 2002 00:25:26 +0000 (00:25 +0000)]
Restore a missing AC_SUBST() for DATADIRNAME. (Found by Kjartan Maraas)

Sun Dec 15 19:22:58 2002  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: Restore a missing AC_SUBST()
        for DATADIRNAME. (Found by Kjartan Maraas)

21 years agoUpdated German translation.
Christian Neumair [Sun, 15 Dec 2002 20:53:49 +0000 (20:53 +0000)]
Updated German translation.

21 years agoActually set INTLLIBS when needed. (Reported by Tor Lillqvist)
Owen Taylor [Sun, 15 Dec 2002 16:26:58 +0000 (16:26 +0000)]
Actually set INTLLIBS when needed. (Reported by Tor Lillqvist)

Sun Dec 15 11:24:29 2002  Owen Taylor  <otaylor@redhat.com>

* m4macros/glib-gettext.m4: Actually set INTLLIBS
when needed. (Reported by Tor Lillqvist)

21 years agoUpdated French translation.
Christophe Merlet [Sun, 15 Dec 2002 15:54:58 +0000 (15:54 +0000)]
Updated French translation.

21 years agoAdd g_rand_init.
Tor Lillqvist [Sun, 15 Dec 2002 15:51:20 +0000 (15:51 +0000)]
Add g_rand_init.

2002-12-15  Tor Lillqvist  <tml@iki.fi>

* glib/glib.def: Add g_rand_init.