platform/upstream/glib.git
22 years agoDo the same for "pure".
Darin Adler [Thu, 6 Dec 2001 22:58:58 +0000 (22:58 +0000)]
Do the same for "pure".

* glib/gmacros.h: Do the same for "pure".

22 years agoimprove g_log_set_handler docs
Havoc Pennington [Thu, 6 Dec 2001 22:48:10 +0000 (22:48 +0000)]
improve g_log_set_handler docs

2001-12-06  Havoc Pennington  <hp@redhat.com>

* glib/tmpl/messages.sgml: improve g_log_set_handler docs

22 years agoThe following patch corrects some function attributes. (#61780)
Matthias Clasen [Thu, 6 Dec 2001 22:37:05 +0000 (22:37 +0000)]
The following patch corrects some function attributes. (#61780)

        The following patch corrects some function attributes. (#61780)

        * glib/ghash.h (g_int_equal, g_int_hash): These are not const.

        * glib/glibintl.h (_glib_gettext): Add G_GNUC_FORMAT(1).

        * glib/gmacros.h: Use reserved symbols in function attribute macros.

        The following patch avoids manual printf()-format parsing
        if a C99-conforming vsnprintf() is available. (#55106)

        * acinclude.m4 (AC_FUNC_VSNPRINTF_C99): New macro to test for a
        C99 conforming vsnprintf.

        * configure.in: Use AC_FUNC_VSNPRINTF_C99.

        * glib/gmessages.c (g_printf_string_upper_bound): Use C99 vsnprintf().

22 years agoAdd gsourceclosure.o.
Tor Lillqvist [Thu, 6 Dec 2001 20:41:57 +0000 (20:41 +0000)]
Add gsourceclosure.o.

2001-12-06  Tor Lillqvist  <tml@iki.fi>

* gobject/makefile.mingw.in (gobject_OBJECTS): Add gsourceclosure.o.

22 years agomention the fact that the tree is traversed in sorted order.
Sven Neumann [Wed, 5 Dec 2001 01:38:12 +0000 (01:38 +0000)]
mention the fact that the tree is traversed in sorted order.

2001-12-05  Sven Neumann  <sven@gimp.org>

* glib/gtree.c (g_tree_foreach): mention the fact that the tree is
traversed in sorted order.

22 years agoUpdated Norwegian (bokmål) translation. Added glib/gdir.c.
Kjartan Maraas [Tue, 4 Dec 2001 09:41:48 +0000 (09:41 +0000)]
Updated Norwegian (bokmål) translation. Added glib/gdir.c.

2001-12-04  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.
* POTFILES.in: Added glib/gdir.c.

22 years agog_module_symbol takes a gpointer *, not just a gpointer
Manish Singh [Mon, 3 Dec 2001 20:10:44 +0000 (20:10 +0000)]
g_module_symbol takes a gpointer *, not just a gpointer

22 years agog_module_symbol takes a gpointer *, not just a gpointer
Manish Singh [Mon, 3 Dec 2001 19:22:50 +0000 (19:22 +0000)]
g_module_symbol takes a gpointer *, not just a gpointer

2001-12-03  Manish Singh  <yosh@gimp.org>

        * tests/module-test.c: g_module_symbol takes a gpointer *, not just
        a gpointer

22 years agoUpdated Swedish translation.
Christian Rose [Mon, 3 Dec 2001 01:21:51 +0000 (01:21 +0000)]
Updated Swedish translation.

2001-12-03  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoAdd notes about how you shouldn't modify these data structures as you
Havoc Pennington [Thu, 29 Nov 2001 20:49:07 +0000 (20:49 +0000)]
Add notes about how you shouldn't modify these data structures as you

2001-11-29  Havoc Pennington  <hp@redhat.com>

* glib/gtree.c (g_tree_foreach):
* glib/ghash.c (g_hash_table_foreach):

Add notes about how you shouldn't modify these data structures as
you iterate over them.

22 years agoUpdate (#65721, Dave Neary)
Owen Taylor [Thu, 29 Nov 2001 16:18:50 +0000 (16:18 +0000)]
Update (#65721, Dave Neary)

Thu Nov 29 11:16:03 2001  Owen Taylor  <otaylor@redhat.com>
* HACKING: Update (#65721, Dave Neary)

22 years agoFixed wrong order in conversion.
Sebastian Wilhelmi [Thu, 29 Nov 2001 09:41:25 +0000 (09:41 +0000)]
Fixed wrong order in conversion.

2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gdate.c: Fixed wrong order in conversion.

22 years agoRename (private) GSource.id and id parameter to
Owen Taylor [Wed, 28 Nov 2001 23:51:51 +0000 (23:51 +0000)]
Rename (private) GSource.id and id parameter to

Wed Nov 28 18:34:22 2001  Owen Taylor  <otaylor@redhat.com>
        * glib/gmain.[ch]: Rename (private) GSource.id and
        id parameter to g_main_context_find_source_by_id()
        to avoid problems with Objective C where 'id' is
        a keyword. (#65616)

22 years agoIn order to avoid infinite loops on invalid UTF-8 strings, change the skip
Daniel Elstner [Wed, 28 Nov 2001 21:23:32 +0000 (21:23 +0000)]
In order to avoid infinite loops on invalid UTF-8 strings, change the skip

2001-11-28  Daniel Elstner  <daniel.elstner@gmx.net>
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops on invalid UTF-8 strings, change the skip count for 0xfe and 0xff from 0 to 1.

22 years agoFix g_usleep docs.
Sebastian Wilhelmi [Wed, 28 Nov 2001 16:51:19 +0000 (16:51 +0000)]
Fix g_usleep docs.

2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/tmpl/date.sgml: Fix g_usleep docs.

22 years agoAlways call GLIB_SIZEOF(..., system_thread). Fixes #65624.
Sebastian Wilhelmi [Wed, 28 Nov 2001 16:47:26 +0000 (16:47 +0000)]
Always call GLIB_SIZEOF(..., system_thread). Fixes #65624.

2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
#65624.

22 years agoAdd GLIB_SIZEOF_SIZE_T here, too.
Tor Lillqvist [Tue, 27 Nov 2001 23:30:07 +0000 (23:30 +0000)]
Add GLIB_SIZEOF_SIZE_T here, too.

2001-11-28  Tor Lillqvist  <tml@iki.fi>

* glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.

22 years agoDocument G_LEVEL_ORDER better.
Matthias Clasen [Tue, 27 Nov 2001 22:16:54 +0000 (22:16 +0000)]
Document G_LEVEL_ORDER better.

        * glib/tmpl/trees-binary.sgml: Document G_LEVEL_ORDER better.

22 years agoSet this from libtool rather than hardcoding values for certain platforms.
Dan Winship [Tue, 27 Nov 2001 17:31:12 +0000 (17:31 +0000)]
Set this from libtool rather than hardcoding values for certain platforms.

* configure.in (G_MODULE_LDFLAGS): Set this from libtool rather
than hardcoding values for certain platforms.

* glib/libcharset/config.charset: Add a rule for NetBSD.

* glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
If LIBCHARSET_ALIAS_DIR is set, look for charset.aliases there.

* tests/Makefile.am (TESTS_ENVIRONMENT): set LIBCHARSET_ALIAS_DIR
so we don't depend on charset.aliases having been installed

22 years agoImplement G_LEVEL_ORDER correctly.
Matthias Clasen [Mon, 26 Nov 2001 19:08:46 +0000 (19:08 +0000)]
Implement G_LEVEL_ORDER correctly.

        * glib/gnode.c (g_node_traverse): Implement G_LEVEL_ORDER correctly.

        * tests/node-test.c: Add a testcase for G_LEVEL_ORDER implementation.

        * glib/tmpl/trees-nary.sgml: Document G_LEVEL_ORDER better.

22 years agoMark g_tree_traverse() as deprecated. (#65343)
Matthias Clasen [Mon, 26 Nov 2001 19:01:08 +0000 (19:01 +0000)]
Mark g_tree_traverse() as deprecated. (#65343)

        * glib/gtree.h: Mark g_tree_traverse() as deprecated. (#65343)

        * glib/gtree.c (g_tree_traverse): Explain the deprecation in
        some detail.

22 years agoprovide GLIB_SIZEOF_SIZE_T.
Tim Janik [Mon, 26 Nov 2001 09:19:17 +0000 (09:19 +0000)]
provide GLIB_SIZEOF_SIZE_T.

Mon Nov 26 09:42:24 2001  Tim Janik  <timj@gtk.org>

        * configure.in: provide GLIB_SIZEOF_SIZE_T.

22 years agotypedef GType to gulong instead of gsize, if possible.
Tim Janik [Mon, 26 Nov 2001 09:18:55 +0000 (09:18 +0000)]
typedef GType to gulong instead of gsize, if possible.

Mon Nov 26 09:55:12 2001  Tim Janik  <timj@gtk.org>

        * gtype.h: typedef GType to gulong instead of gsize, if possible.

        * gtype.c: fixups for GType being sizeof(long) wide (changed
        UINT casts).
        * gsignal.c:
        * gclosure.c:
        * gparam.c: likewise.

22 years agoAdded Galician translation
Jesus Bravo Alvarez [Sun, 25 Nov 2001 23:24:51 +0000 (23:24 +0000)]
Added Galician translation

22 years agoremoved enum GTypeFundamentals. use macros to provide the constant
Tim Janik [Sun, 25 Nov 2001 21:59:53 +0000 (21:59 +0000)]
removed enum GTypeFundamentals. use macros to provide the constant

Sun Nov 25 22:33:32 2001  Tim Janik  <timj@gtk.org>

        * gtype.h: removed enum GTypeFundamentals. use macros
        to provide the constant fundamental type IDs, so they
        all return numbers of type GType, and not int.
        sizeof(GTypeFundamentals) < sizeof(GType) problem reported
        and fix sugegsted by Havoc.

22 years ago - added nl (Dutch) to ALL_LINGUAS
Dirk-Jan C. Binnema [Sat, 24 Nov 2001 22:55:58 +0000 (22:55 +0000)]
- added nl (Dutch) to ALL_LINGUAS

22 years ago*/.cvsignore: Add various Win32 related file types.
Tor Lillqvist [Sat, 24 Nov 2001 18:53:03 +0000 (18:53 +0000)]
*/.cvsignore: Add various Win32 related file types.

2001-11-24  Tor Lillqvist  <tml@iki.fi>

*/.cvsignore: Add various Win32 related file types.

gmodule:

2001-11-24  Tor Lillqvist  <tml@iki.fi>

* Makefile.am: Remove rule for testgmodule.exp, too.

2001-11-22  Tor Lillqvist  <tml@iki.fi>

* gmodule-win32.c: Current w32api headers do include tlhelp32.h,
so no need to have an extract from it here.

22 years agoUpdated Slovenian translation
Andraz Tori [Sat, 24 Nov 2001 13:49:36 +0000 (13:49 +0000)]
Updated Slovenian translation

22 years ago Fixes for #61284:
Matthias Clasen [Fri, 23 Nov 2001 20:59:06 +0000 (20:59 +0000)]
    Fixes for #61284:

        * glib/tmpl/windows.sgml: Document G_WIN32_DLLMAIN_FOR_DLL_NAME.

        * glib/tmpl/fileutils.sgml: Document GDir.

        * glib/tmpl/limits.sgml: Document G_MININT64, G_MAXINT64, G_MAXUINT64.

22 years agoadded -Zm400 to DEPCFLAGS to avoid : gunidecomp.h(5846) : fatal error
Hans Breuer [Fri, 23 Nov 2001 15:59:30 +0000 (15:59 +0000)]
added -Zm400 to DEPCFLAGS to avoid : gunidecomp.h(5846) : fatal error

2001-11-23  Hans Breuer  <hans@breuer.org>

* glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid :
gunidecomp.h(5846) : fatal error C1076: compiler limit :
internal heap limit reached; use /Zm to specify a higher limit

* glibconfig.h.win32.in : added recommended pragma list for
msvc again. They are an invaluable help of letting the
compiler catch bugs.

22 years agoupdated externals
Hans Breuer [Fri, 23 Nov 2001 15:57:26 +0000 (15:57 +0000)]
updated externals

2001-11-23  Hans Breuer  <hans@breuer.org>

* gobject.def : updated externals

22 years ago - added Dutch translation
Dirk-Jan C. Binnema [Fri, 23 Nov 2001 12:12:26 +0000 (12:12 +0000)]
- added Dutch translation

22 years agoVersion 1.3.11 GLIB_1_3_11
Owen Taylor [Thu, 22 Nov 2001 19:36:31 +0000 (19:36 +0000)]
Version 1.3.11

Thu Nov 22 13:56:55 2001  Owen Taylor  <otaylor@redhat.com>

        * Version 1.3.11

22 years agoVersion 11, interface, binary age 0.
Owen Taylor [Thu, 22 Nov 2001 18:56:12 +0000 (18:56 +0000)]
Version 11, interface, binary age 0.

Thu Nov 22 13:14:18 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in (GLIB_MICRO_VERSION): Version 11,
        interface, binary age 0.

        * NEWS: Updated.

        * tests/Makefile.am (libmoduletestplugin_[ab]_la_LDFLAGS):
        Add dummy -rpath argument. On some (but not all) platforms,
        libtool will only build a convenience library without this.
        (#63486, Dan Winship)

        * Makefile.am (EXTRA_DIST): Add README.in, INSTALL.in -
        autoconf-2.5x checks for 'make dist' in the tarball
        when you make distcheck.

        * glib/Makefile.am (EXTRA_DIST): Distribute
        makefile.msc/mingw.in, glib.rc.in.

        * tests/patterntest.c: Include string.h.

        * glib/gpattern.c (g_utf8_reverse): doc parsing fix.

22 years agoImprove the detection of invalid includes by moving the test outside the
Owen Taylor [Thu, 22 Nov 2001 18:55:06 +0000 (18:55 +0000)]
Improve the detection of invalid includes by moving the test outside the

Mon Nov 19 14:35:56 2001  Owen Taylor  <otaylor@redhat.com>

        * *.h: Improve the detection of invalid includes by moving
        the test outside the duplicate include guards.

        * gsourceclosure.c (g_source_set_closure): Doc fix.

22 years agoUpdate.
Owen Taylor [Thu, 22 Nov 2001 18:54:47 +0000 (18:54 +0000)]
Update.

Thu Nov 22 12:56:57 2001  Owen Taylor  <otaylor@redhat.com>

        * gobject/gobject-sections.txt: Update.

        * glib/tmpl/{spawn.sgml,patterns.sgml}: SGML fixes.

        * glib/glib-sections.txt: Updated.

        * glib/Makefile.am (IGNORE_HFILES): Don't scan
        headers in build/

22 years agouse g_type_check_is_value_type() instead of g_type_value_table_peek().
Tim Janik [Thu, 22 Nov 2001 03:20:07 +0000 (03:20 +0000)]
use g_type_check_is_value_type() instead of g_type_value_table_peek().

Thu Nov 22 03:30:57 2001  Tim Janik  <timj@gtk.org>

        * gvalue.h (G_TYPE_IS_VALUE): use g_type_check_is_value_type()
        instead of g_type_value_table_peek().

        * gtype.[hc] (type_check_is_value_type_U): speed up check
        LOCK-less by caching lookups in node->mutatable_has_value_table.

        * gtype.[hc]: removed locks where possible. partly based on
        patches from owen and alex.

22 years agoprovide G_TYPE_FUNDAMENTAL_SHIFT and g_type_fundamental_next() to return
Tim Janik [Wed, 21 Nov 2001 23:48:19 +0000 (23:48 +0000)]
provide G_TYPE_FUNDAMENTAL_SHIFT and g_type_fundamental_next() to return

Thu Nov 22 00:26:26 2001  Tim Janik  <timj@gtk.org>

        * gtype.[hc]: provide G_TYPE_FUNDAMENTAL_SHIFT and
        g_type_fundamental_next() to return next usable fundamental
        type. use TypeNode pointers as type IDs.

22 years agoSet G_LOG_DOMAIN as in Makefile.am.
Tor Lillqvist [Wed, 21 Nov 2001 22:01:50 +0000 (22:01 +0000)]
Set G_LOG_DOMAIN as in Makefile.am.

2001-11-21  Tor Lillqvist  <tml@iki.fi>

* glib/makefile.mingw.in (DEFINES): Set G_LOG_DOMAIN as in
Makefile.am.

gobject:

2001-11-22  Tor Lillqvist  <tml@iki.fi>

* makefile.mingw.in (DEFINES): Set G_LOG_DOMAIN as in Makefile.am.

* gparamspecs.h (GOBJECT_VAR): Can't use GLIB_VAR here, as that
makes sense only when building libglib. GOBJECT_VAR is similar for
libgobject.

* gobject.def: Add g_param_spec_types, remove
g_type_fundamental_branch_last.

22 years agoput newly created param spec types into a global array. GOBJECT_GType_guint
Tim Janik [Wed, 21 Nov 2001 17:49:34 +0000 (17:49 +0000)]
put newly created param spec types into a global array.

Wed Nov 21 17:23:33 2001  Tim Janik  <timj@gtk.org>

        * gparamspecs.[hc]: put newly created param spec types into a
        global array.

        * gboxed.[hc]: moved boxed types with _get_type() function here,
        for: G_TYPE_CLOSURE, G_TYPE_VALUE, G_TYPE_VALUE_ARRAY,
        G_TYPE_GSTRING.

        * gtype.h: removed fundamental branch APIs and derived enum
        values.

22 years agoPatch from Andrew Taylor to optimize the decomposition table to eliminate
Owen Taylor [Wed, 21 Nov 2001 01:57:10 +0000 (01:57 +0000)]
Patch from Andrew Taylor to optimize the decomposition table to eliminate

Tue Nov 20 20:54:25 2001  Owen Taylor  <otaylor@redhat.com>
* glib/gunidecomp.[ch] glib/gen-unicode-tables.pl: Patch
from Andrew Taylor to optimize the decomposition table
to eliminate relocations and save space. (#64982)

22 years agoinclude glib-object.h rather than gobject/gobject.h
jacob berkman [Tue, 20 Nov 2001 00:02:15 +0000 (00:02 +0000)]
include glib-object.h rather than gobject/gobject.h

2001-11-19  jacob berkman  <jacob@ximian.com>

* gobjectnotifyqueue.c: include glib-object.h rather than
gobject/gobject.h

22 years agoUsual update
Kwok-Koon Cheung [Mon, 19 Nov 2001 20:31:29 +0000 (20:31 +0000)]
Usual update

22 years agofix leak.
Michael Meeks [Sun, 18 Nov 2001 22:26:39 +0000 (22:26 +0000)]
fix leak.

2001-11-16  Michael Meeks  <michael@ximian.com>

* gmodule.c (parse_libtool_archive): fix leak.

22 years agoallow the enums name to not be on the same line as the trailing '}'.
Mark McLoughlin [Sun, 18 Nov 2001 17:03:33 +0000 (17:03 +0000)]
allow the enums name to not be on the same line as the trailing '}'.

2001-11-16  Mark McLoughlin  <mark@skynet.ie>

        * glib-mkenums.in: allow the enums name to not be on the same
        line as the trailing '}'. (#64714)

22 years agoremove g_log_domain_glib usage/export
Hans Breuer [Sun, 18 Nov 2001 15:30:53 +0000 (15:30 +0000)]
remove g_log_domain_glib usage/export

2001-11-18  Hans Breuer  <hans@breuer.org>

* glib/glib.def :
* glib/makefile.msc.in : remove g_log_domain_glib usage/export

* tests/makefile.msc.in : add iochannel-test

22 years agoremove g_log_domain_gruntime usage
Hans Breuer [Sun, 18 Nov 2001 15:29:16 +0000 (15:29 +0000)]
remove g_log_domain_gruntime usage

2001-11-18  Hans Breuer  <hans@breuer.org>

* makefile.msc.in : remove g_log_domain_gruntime usage

22 years agomissed changelog entry
Owen Taylor [Sun, 18 Nov 2001 12:49:29 +0000 (12:49 +0000)]
missed changelog entry

22 years agoInclude gtypes.h not gobject/gtype.h
Owen Taylor [Sun, 18 Nov 2001 00:38:48 +0000 (00:38 +0000)]
Include gtypes.h not gobject/gtype.h

Sat Nov 17 14:10:35 2001  Owen Taylor  <otaylor@redhat.com>

* glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h

* glib/glib-object.h gobject/*.h: Prevent headers from
being included directly except when compiling GObject.

* gobject/gvaluecollector.h: Include glib-object.h so that
this file can be included directly, since we don't
include it _from_ glib-object.h.

* gobject/gtype.c: Remove struct _GValue hack since we
now include glib/gvaluecollector.h which simply pulls in
        glib-object.h.

22 years agoRemove g_log_domain_glib
Owen Taylor [Sat, 17 Nov 2001 23:24:19 +0000 (23:24 +0000)]
Remove g_log_domain_glib

Sat Nov 17 17:24:19 2001  Owen Taylor  <otaylor@redhat.com>

* glib/glib-sections.txt: Remove g_log_domain_glib

22 years agoGet rid fo g_log_domain_glib variable in favor of just using a string
Owen Taylor [Sat, 17 Nov 2001 23:23:01 +0000 (23:23 +0000)]
Get rid fo g_log_domain_glib variable in favor of just using a string

Sat Nov 17 17:21:57 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/Makefile.am glib/*.c glib/gmessages.h: Get
        rid fo g_log_domain_glib variable in favor of just
        using a string constant.

22 years agoExit with non-zero exit status if any errors were encountered.
Owen Taylor [Sat, 17 Nov 2001 23:22:43 +0000 (23:22 +0000)]
Exit with non-zero exit status if any errors were encountered.

Sat Nov 17 18:14:40 2001  Owen Taylor  <otaylor@redhat.com>

* glib-genmarshal.c: Exit with non-zero exit status if
any errors were encountered.

* glib-genmarshal.c: Instead of generating gobject/gmarshal.h
#include only for the header, generate glib-object.h
#include for both the header and body. (#63834)

* glib-genmarshal.c: Generate include guards around the
content unless --nostdinc is specified.

22 years agoAdd g_pointer_type_register_static.
Tor Lillqvist [Sat, 17 Nov 2001 00:03:22 +0000 (00:03 +0000)]
Add g_pointer_type_register_static.

2001-11-17  Tor Lillqvist  <tml@iki.fi>

* gobject.def: Add g_pointer_type_register_static.

22 years agoDocumentation fixes.
Matthias Clasen [Thu, 15 Nov 2001 23:03:29 +0000 (23:03 +0000)]
Documentation fixes.

        * glib/giochannel.c: Documentation fixes.

        * glib/tmpl/iochannels.sgml: Document GIOFlags, fix typos.

        * glib/tmpl/conversions.sgml, glib/tmpl/unicode.sgml,
        glib/tmpl/spawn.sgml, glib/tmpl/fileutils.sgml,
        glib/tmpl/shell.sgml, glib/tmpl/windows.sgml: Add
        some missing short and long descriptions.

22 years agoAdded "ja" to ALL_LINGUAS. Added Japanese translation.
Takayuki KUSANO [Thu, 15 Nov 2001 08:21:45 +0000 (08:21 +0000)]
Added "ja" to ALL_LINGUAS. Added Japanese translation.

* configure.in: Added "ja" to ALL_LINGUAS.
* po/ja.po: Added Japanese translation.

22 years agoset the fd before using it.
Michael Meeks [Thu, 15 Nov 2001 00:13:52 +0000 (00:13 +0000)]
set the fd before using it.

2001-11-15  Michael Meeks  <michael@ximian.com>

* glib/giounix.c (g_io_channel_unix_new): set the fd
before using it.

22 years agoAdd back mainloop-test here, too.
Tor Lillqvist [Wed, 14 Nov 2001 23:41:54 +0000 (23:41 +0000)]
Add back mainloop-test here, too.

2001-11-15  Tor Lillqvist  <tml@iki.fi>

* tests/makefile.{mingw,msc}.in (TESTS): Add back mainloop-test
here, too.

* tests/Makefile.am: Remove leftover comment that claimed
mainloop-test is removed.

2001-11-15  Tor Lillqvist  <tml@iki.fi>

* gobject.def: Reflect recent changes.

22 years agoadd UTF-8 support.
Matthias Clasen [Wed, 14 Nov 2001 22:22:34 +0000 (22:22 +0000)]
add UTF-8 support.

        * glib/gpattern.c: add UTF-8 support.

        * tests/patterntest.c: add UTF-8 and equality tests.

        * docs/reference/glib/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.

        * docs/reference/glib/tmpl/patterns.sgml: Document UTF-8 support.

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Wed, 14 Nov 2001 14:58:29 +0000 (14:58 +0000)]
Updated Norwegian (bokmål) translation.

2001-11-14  Kjartan Maraas  <kmaraas@gnome.org>

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

22 years agoprovide g_newa(ctype, count) on top of g_alloca() like we provide g_new()
Tim Janik [Wed, 14 Nov 2001 07:50:12 +0000 (07:50 +0000)]
provide g_newa(ctype, count) on top of g_alloca() like we provide g_new()

Wed Nov 14 07:34:24 2001  Tim Janik  <timj@gtk.org>

        * glib/galloca.h (g_newa): provide g_newa(ctype, count) on top of
        g_alloca() like we provide g_new() on top of g_malloc().

22 years agoadd API for chaining: g_signal_chain_from_overridden() and
Tim Janik [Wed, 14 Nov 2001 03:02:22 +0000 (03:02 +0000)]
add API for chaining: g_signal_chain_from_overridden() and

Tue Nov 13 23:18:10 2001  Tim Janik  <timj@gtk.org>

        * gsignal.[hc]: add API for chaining:
        g_signal_chain_from_overridden() and g_signal_override_class_closure(),
        implementation yet to come.

        * gtype.[hc], Makefile.am: provide G_LOG_DOMAIN as compile flag.

        * gparam.[hc]: s/g_param_get/g_param_spec_get/ for get_nick,
        get_name and get_blurb, to be consistent with the rest of the
        g_param_spec_*() functions.

        * gparamspecs.[hc]: got rid of bogus GClosure paramspec.
        G_TYPE_CLOSURE is a boxed type already.

22 years agomore docs.
Tim Janik [Wed, 14 Nov 2001 03:01:31 +0000 (03:01 +0000)]
more docs.

Wed Nov 14 03:19:49 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmp/param_value_types.sgml: more docs.

22 years agoPatch from Andrew Taylor to improve tables and reduce relocations by using
Owen Taylor [Wed, 14 Nov 2001 02:32:45 +0000 (02:32 +0000)]
Patch from Andrew Taylor to improve tables and reduce relocations by using

Tue Nov 13 21:25:35 2001  Owen Taylor  <otaylor@redhat.com>

* glib/{gen-unicode-tables.pl,gunibreak.c,gunibreak.h,
gunichartables.h, gunicomp.h, gunidecomp.[ch],
guniprop.c}: Patch from Andrew Taylor to improve
tables and reduce relocations by using indices
rather than pointers. (#64433)

* tests/unicode-normalize.c (main): Fix for changes
to g_strsplit().

22 years agolist parameter and value types.
Tim Janik [Wed, 14 Nov 2001 01:08:19 +0000 (01:08 +0000)]
list parameter and value types.

Tue Nov 13 21:31:58 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmp/param_value_types.sgml: list parameter and
        value types.

        * gobject/tmpl/gparamspec.sgml: more docs for g_param_spec*()
        functions.

        * gobject/*: section cleanups.

22 years agoAPI cleanups. remove g_type_check_flags(), provide g_type_test_flags() as
Tim Janik [Tue, 13 Nov 2001 21:49:13 +0000 (21:49 +0000)]
API cleanups. remove g_type_check_flags(), provide g_type_test_flags() as

Tue Nov 13 22:16:41 2001  Tim Janik  <timj@gtk.org>

        * gtype.[hc]: API cleanups.
        remove g_type_check_flags(), provide g_type_test_flags() as
        a *private* function.
        s/g_type_check_is_a/g_type_check_class_is_a/, private function.
        s/g_type_instance_is_a/g_type_check_instance_is_a/, also private.

22 years agofix standard type macros.
Tim Janik [Tue, 13 Nov 2001 19:02:40 +0000 (19:02 +0000)]
fix standard type macros.

Tue Nov 13 20:02:47 2001  Tim Janik  <timj@gtk.org>

        * gparam.h: fix standard type macros.

22 years agoparam spec updates.
Tim Janik [Tue, 13 Nov 2001 18:49:56 +0000 (18:49 +0000)]
param spec updates.

Tue Nov 13 19:49:16 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gparamspec.sgml: param spec updates.

22 years agoFix max_tokens == 1 case to match documentation. Add tests.
Darin Adler [Tue, 13 Nov 2001 00:02:30 +0000 (00:02 +0000)]
Fix max_tokens == 1 case to match documentation. Add tests.

* glib/gstrfuncs.c: (g_strsplit): Fix max_tokens == 1 case to
match documentation.
* tests/strfunc-test.c: (main): Add tests.

* tests/.cvsignore: Recently-added test.

22 years agoRemove excess listitem from long description.
Matthias Clasen [Mon, 12 Nov 2001 22:26:21 +0000 (22:26 +0000)]
Remove excess listitem from long description.

        * glib/tmpl/markup.sgml: Remove excess listitem from long
        description.

22 years agoG_TOKEN_ERROR is also an end of stream condition.
Tim Janik [Mon, 12 Nov 2001 14:11:30 +0000 (14:11 +0000)]
G_TOKEN_ERROR is also an end of stream condition.

Mon Nov 12 03:01:28 2001  Tim Janik  <timj@gtk.org>

        * glib/gscanner.c (g_scanner_eof): G_TOKEN_ERROR is also an end
        of stream condition.

22 years agoCorrected duplicate
Keld Jørn Simonsen [Sun, 11 Nov 2001 17:02:08 +0000 (17:02 +0000)]
Corrected duplicate

22 years agoAlso share/glib-2.0.
Tor Lillqvist [Sun, 11 Nov 2001 12:53:36 +0000 (12:53 +0000)]
Also share/glib-2.0.

2001-11-10  Tor Lillqvist  <tml@iki.fi>

* glib-zip.in (DEVZIP): Also share/glib-2.0.

22 years agoDocument GNormalizeMode enum.
Matthias Clasen [Sun, 11 Nov 2001 00:27:27 +0000 (00:27 +0000)]
Document GNormalizeMode enum.

        * glib/tmpl/unicode.sgml: Document GNormalizeMode enum.

        * glib/tmpl/spawn.sgml: Document GSpawnFlags flags.

        * glib/tmpl/error_reporting.sgml: Document GError struct.

        * glib/tmpl/main.sgml: Document GMainContext, GSource and
        GSourceCallbackFuncs structs.

22 years agoAdd a couple of languages that have LANG_* codes in newest headers, just
Tor Lillqvist [Fri, 9 Nov 2001 21:21:27 +0000 (21:21 +0000)]
Add a couple of languages that have LANG_* codes in newest headers, just

2001-11-09  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c (g_win32_getlocale): Add a couple of languages
that have LANG_* codes in newest headers, just for completeness.

22 years ago*** empty log message ***
Wang Jian [Fri, 9 Nov 2001 06:37:04 +0000 (06:37 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Wang Jian [Thu, 8 Nov 2001 13:49:31 +0000 (13:49 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Wang Jian [Thu, 8 Nov 2001 13:48:55 +0000 (13:48 +0000)]
*** empty log message ***

23 years agoDon't define LANG_AZERI etc in case those aren't defined in the headers
Tor Lillqvist [Thu, 8 Nov 2001 06:47:33 +0000 (06:47 +0000)]
Don't define LANG_AZERI etc in case those aren't defined in the headers

2001-11-08  Tor Lillqvist  <tml@iki.fi>

* glib/gwin32.c: Don't define LANG_AZERI etc in case those aren't
defined in the headers (MSVC 5.0).
(g_win32_getlocale): Instead, surround uses of those with
#ifdef. Those MSVC 5.0 users that want to build a GLib that
recognizes those languages should download the Platform SDK and
use the headers from it.

2001-11-07  Peter Williams  <peterw@ximian.com>

* glib/gdir.c (g_dir_read_name): Return NULL when done reading.

23 years agoprovide G_CLOSURE_N_NOTIFIERS() for people that need to walk the notifier
Tim Janik [Wed, 7 Nov 2001 03:25:55 +0000 (03:25 +0000)]
provide G_CLOSURE_N_NOTIFIERS() for people that need to walk the notifier

Wed Nov  7 00:56:00 2001  Tim Janik  <timj@gtk.org>

        * gclosure.h: provide G_CLOSURE_N_NOTIFIERS() for people that need
        to walk the notifier list (puhh, black magic, stay-away-warning ;).

23 years agoUse -mwindows.
Tor Lillqvist [Tue, 6 Nov 2001 06:38:36 +0000 (06:38 +0000)]
Use -mwindows.

2001-11-06  Tor Lillqvist  <tml@iki.fi>

* glib/Makefile.am (gspawn_win32_helper_LDFLAGS): Use -mwindows.

23 years agoMinor edits.
Tor Lillqvist [Mon, 5 Nov 2001 20:40:14 +0000 (20:40 +0000)]
Minor edits.

2001-11-05  Tor Lillqvist  <tml@iki.fi>

* README.win32: Minor edits.

* glib-zip.in: Build separate runtime and developer packages.

* glib/libcharset/config.charset (os): Don't need to match mingw
after all, the charset.alias file isn't even used on Win32... (see
localcharset.c).

* glib/makefile.mingw.in: Add gdir.

* glib/glib.def: Add g_dir_* entry points.

23 years agowe need signal.h for G_BREAKPOINT().
Tim Janik [Mon, 5 Nov 2001 17:58:43 +0000 (17:58 +0000)]
we need signal.h for G_BREAKPOINT().

Mon Nov  5 18:59:08 2001  Tim Janik  <timj@gtk.org>

        * gobject.h:
        * gsignal.h: we need signal.h for G_BREAKPOINT().

23 years agoAdd check for dirent.h
Owen Taylor [Mon, 5 Nov 2001 01:47:31 +0000 (01:47 +0000)]
Add check for dirent.h

Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in (CFLAGS): Add check for dirent.h

* glib/glib.h glib/Makefile.am: Add gdir.

* glib/gdir.c (g_dir_close): Couple of small tweaks
now that it is actually compiling...

23 years agoIndentation fixes, some rewriting of docs to conform to gtk-doc standard.
Owen Taylor [Mon, 5 Nov 2001 01:35:30 +0000 (01:35 +0000)]
Indentation fixes, some rewriting of docs to conform to gtk-doc standard.

Sun Nov  4 20:29:31 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gdir.[ch]: Indentation fixes, some rewriting of docs to
        conform to gtk-doc standard.

        * glib/gdir.[ch] (g_dir_close): Remove the boolean
        return value. What would you do if closing failed?
        What would the user do if you printed a warning
        message "closing directory %d failed"?

23 years agosimplified wrapper around dirent functions to improve portability of
Hans Breuer [Mon, 5 Nov 2001 01:15:38 +0000 (01:15 +0000)]
simplified wrapper around dirent functions to improve portability of

2001-11-04  Hans Breuer  <hans@breuer.org>

* glib/gdir.[hc] : (new files) simplified wrapper around dirent
functions to improve portability of downstream libs/apps
* glib/makefile.msc.in : use them
* glib/glib.def : export them
* config.h.win32.in : needing HAVE_DIRENT_H defined

23 years agoAdd a function g_pointer_type_register_static() to register a type derived
Owen Taylor [Sun, 4 Nov 2001 19:02:10 +0000 (19:02 +0000)]
Add a function g_pointer_type_register_static() to register a type derived

Sun Nov  4 14:01:23 2001  Owen Taylor  <otaylor@redhat.com>

        * gvaluetypes.[ch]: Add a function g_pointer_type_register_static()
        to register a type derived from G_TYPE_POINTER.

23 years agoOn Win32, create separate .exp file for module-test.o and link with that.
Tor Lillqvist [Sat, 3 Nov 2001 23:19:25 +0000 (23:19 +0000)]
On Win32, create separate .exp file for module-test.o and link with that.

2001-11-04  Tor Lillqvist  <tml@iki.fi>

* tests/Makefile.am: On Win32, create separate .exp file for
module-test.o and link with that. Otherwise the GNU linker doesn't
export the g_clash_func.

23 years agostatic correctness
Hans Breuer [Sat, 3 Nov 2001 16:51:10 +0000 (16:51 +0000)]
static correctness

2001-11-03  Hans Breuer  <hans@breuer.org>

* glib/giowin32.c : static correctness

* glib/gwin32.c : some more #if defined (SUBLANG_* ...
(g_win32_get_package_installation_subdirectory) use g_build_filename
instead of duplicating its logic

* glib/glib.def : removed duplicates, added mising, removed
compat cruft

23 years agogobject-query needs gmarshal.[hc,stings] so build it after them. Add
Hans Breuer [Sat, 3 Nov 2001 16:49:27 +0000 (16:49 +0000)]
gobject-query needs gmarshal.[hc,stings] so build it after them. Add

2001-11-03  Hans Breuer  <hans@breuer.org>

* makefile.msc.in : gobject-query needs gmarshal.[hc,stings]
so build it after them. Add gsourceclosure.obj.

* gobject.def : removed duplicates, added mising

23 years agoremove public signal.h include.
Tim Janik [Fri, 2 Nov 2001 18:56:51 +0000 (18:56 +0000)]
remove public signal.h include.

Fri Nov  2 19:54:16 2001  Tim Janik  <timj@gtk.org>

        * glib/gbacktrace.h (G_BREAKPOINT): remove public signal.h include.

23 years agoRecurse with may_block = FALSE, so we don't get into the pathology where
Owen Taylor [Fri, 2 Nov 2001 02:56:08 +0000 (02:56 +0000)]
Recurse with may_block = FALSE, so we don't get into the pathology where

Thu Nov  1 21:48:43 2001  Owen Taylor  <otaylor@redhat.com>

        * tests/mainloop-test.c (recurser_idle): Recurse
        with may_block = FALSE, so we don't get into
        the pathology where the recurser_idle recurses
        for 10 iterations, and the only thing that is
        running is the recurser idle, which adds
        another recursion for each of those 10 iterations
        and....

        * tests/mainloop-test.c (create_crawler): Fix race
        condition where a crawler source could be destroyed
        before it was added to the crawler array.

        * test/Makefile.am: Add mainloop-test back.

23 years agoUpdated Slovenian translation
Andraz Tori [Fri, 2 Nov 2001 00:21:50 +0000 (00:21 +0000)]
Updated Slovenian translation

23 years agoAdded ro (Romanian) to ALL_LINGUAS added
Marius Andreiana [Thu, 1 Nov 2001 13:45:55 +0000 (13:45 +0000)]
Added ro (Romanian) to ALL_LINGUAS added

2001-11-01  Marius Andreiana  <mandreiana@yahoo.com>

        * configure.in: Added ro (Romanian) to ALL_LINGUAS
* po/ro.po: added

23 years agofix to the locking so we don't hang
Havoc Pennington [Thu, 1 Nov 2001 00:01:50 +0000 (00:01 +0000)]
fix to the locking so we don't hang

2001-10-31  Havoc Pennington  <hp@redhat.com>

* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang

23 years agoAdd gmodule-dyld.c
Dan Winship [Wed, 31 Oct 2001 16:53:25 +0000 (16:53 +0000)]
Add gmodule-dyld.c

* Makefile.am (EXTRA_DIST): Add gmodule-dyld.c

23 years agoMake --with-threads=none mean, that we want thread support, but no default
Sebastian Wilhelmi [Wed, 31 Oct 2001 15:40:52 +0000 (15:40 +0000)]
Make --with-threads=none mean, that we want thread support, but no default

2001-10-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: Make --with-threads=none mean, that we want thread
support, but no default thread implementation. This also was the
original intention, but disapeared around 1998... So it doesn't
seem to be the most requested feature, but we went far to make it
possible in the code, so I resurrected this feature.

* INSTALL.in: Describe the --enable-gc-friendly, --disable-threads
and --with-threads options of configure.

23 years agoUse the right conditional (G_THREADS_ENABLED instead of G_THREAD_ENABLED).
Sebastian Wilhelmi [Wed, 31 Oct 2001 13:49:53 +0000 (13:49 +0000)]
Use the right conditional (G_THREADS_ENABLED instead of G_THREAD_ENABLED).

2001-10-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gmain.c (g_main_context_acquire, g_main_context_release,
g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
instead of G_THREAD_ENABLED). Also remove wrong
return-statement. Unfortunately mainloop-test still does fail. Many
thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
this. (#63455)

23 years agoFix documentation. Document g_log_domain_glib, gunichar, gunichar2,
Matthias Clasen [Tue, 30 Oct 2001 23:56:30 +0000 (23:56 +0000)]
Fix documentation. Document g_log_domain_glib, gunichar, gunichar2,

        * gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
        * glib/tmpl/messages.sgml, glib/tmpl/unicode.sgml:
        Document g_log_domain_glib, gunichar, gunichar2, GUnicodeType,
        GUnicodeBreakType.

23 years agoshut up CVS
Sven Neumann [Tue, 30 Oct 2001 16:55:37 +0000 (16:55 +0000)]
shut up CVS

23 years agoNew file, used to build distribution packages for Windows.
Tor Lillqvist [Mon, 29 Oct 2001 22:33:34 +0000 (22:33 +0000)]
New file, used to build distribution packages for Windows.

2001-10-30  Tor Lillqvist  <tml@iki.fi>

* glib-zip.in: New file, used to build distribution packages for
Windows.

* configure.in: Expand it.

* Makefile.am: Distribute it.

* config.h.win32.in: Update to match currently produced config.h