platform/upstream/glib.git
22 years agoAdded pl.
Zbigniew Chyla [Mon, 7 Jan 2002 21:02:11 +0000 (21:02 +0000)]
Added pl.

2002-01-07  Zbigniew Chyla  <cyba@gnome.pl>

* configure.in (ALL_LINGUAS): Added pl.

22 years agomoved warning to error pragmas to their own file to not force 'good
Hans Breuer [Sat, 5 Jan 2002 19:11:32 +0000 (19:11 +0000)]
moved warning to error pragmas to their own file to not force 'good

2002-01-05  Hans Breuer  <hans@breuer.org>

* glibconfig.h.win32.in
  msvc_recommended_pragmas.h (new file) : moved warning to
error pragmas to their own file to not force 'good practice'
programming in downstream libs and apps. Instead the new header
will be used by -FImsvc_recommended_pragmas.h in gnome/cvs
makefile.msc
* */makefile.msc.in : use -FImsvc_recommended_pragmas.h

* makefile.am : add msvc_recommended_pragmas.h to EXTRA_DIST

22 years agomoved warning to error pragmas to their own file to not force 'good
Hans Breuer [Sat, 5 Jan 2002 18:54:59 +0000 (18:54 +0000)]
moved warning to error pragmas to their own file to not force 'good

2002-01-05  Hans Breuer  <hans@breuer.org>

* glibconfig.h.win32.in
  msvc_recommended_pragmas.h (new file) : moved warning to
error pragmas to their own file to not force 'good practice'
programming in downstream libs and apps. Instead the new header
will be used by -FImsvc_recommended_pragmas.h in gnome/cvs
makefile.msc
* */makefile.msc.in : use -FImsvc_recommended_pragmas.h

22 years agouse -FImsvc_recommended_pragmas.h
Hans Breuer [Sat, 5 Jan 2002 18:53:58 +0000 (18:53 +0000)]
use -FImsvc_recommended_pragmas.h

2002-01-05  Hans Breuer  <hans@breuer.org>

* makefile.msc.in : use -FImsvc_recommended_pragmas.h

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Fri, 4 Jan 2002 14:55:52 +0000 (14:55 +0000)]
Updated Slovak translation.

2002-01-04  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

22 years agoturn this into a GType, so negating it works on 64bit platforms.
Tim Janik [Fri, 4 Jan 2002 03:38:53 +0000 (03:38 +0000)]
turn this into a GType, so negating it works on 64bit platforms.

Fri Jan  4 04:36:46 2002  Tim Janik  <timj@gtk.org>

        * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): turn this into a GType,
        so negating it works on 64bit platforms.

22 years agoUse longer buffer for user name.
Tor Lillqvist [Mon, 31 Dec 2001 10:12:22 +0000 (10:12 +0000)]
Use longer buffer for user name.

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

* glib/gutils.c (g_get_any_init): (Win32) Use longer buffer for
user name.

22 years agoCopy trailing NULL into new ARGV array. (#67673)
Owen Taylor [Sat, 29 Dec 2001 20:11:07 +0000 (20:11 +0000)]
Copy trailing NULL into new ARGV array. (#67673)

Sat Dec 29 15:07:21 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gspawn.c (script_execute): Copy trailing NULL
        into new ARGV array. (#67673)

22 years agoReplace references to deprecated functions.
Matthias Clasen [Sat, 29 Dec 2001 00:09:15 +0000 (00:09 +0000)]
Replace references to deprecated functions.

        * glib/tmpl/main.sgml, glib/tmpl/string_utils.sgml,
        glib/tmpl/strings.sgml: Replace references to deprecated
        functions.

22 years agoonly include printf_string_upper_bound() if HAVE_C99_VSNPRINTF is not
Sven Neumann [Fri, 28 Dec 2001 17:47:35 +0000 (17:47 +0000)]
only include printf_string_upper_bound() if HAVE_C99_VSNPRINTF is not

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

* glib/gmessages.c: only include printf_string_upper_bound() if
HAVE_C99_VSNPRINTF is not defined.

22 years agoAdded portuguese to ALL_LINGUAS
Duarte Loreto [Thu, 27 Dec 2001 03:38:54 +0000 (03:38 +0000)]
Added portuguese to ALL_LINGUAS

2001-12-27  Duarte Loreto <happyguy_pt@hotmail.com>

        * configure.in: Added portuguese to ALL_LINGUAS

22 years agoUpdated Galician translation
Jesus Bravo Alvarez [Wed, 26 Dec 2001 23:29:38 +0000 (23:29 +0000)]
Updated Galician translation

22 years agoaz:po * updating
Vasif Ismailoglu MD [Mon, 24 Dec 2001 19:32:53 +0000 (19:32 +0000)]
az:po * updating

22 years ago\7fupdating Azerbaijani po file
Vasif Ismailoglu MD [Mon, 24 Dec 2001 19:32:42 +0000 (19:32 +0000)]
\7fupdating Azerbaijani po file

\7fupdating Azerbaijani po file

22 years ago1.3.12, binary, interface age 0. GLIB_1_3_12
Owen Taylor [Mon, 24 Dec 2001 00:48:58 +0000 (00:48 +0000)]
1.3.12, binary, interface age 0.

Sat Dec 22 12:08:56 2001  Owen Taylor  <otaylor@redhat.com>

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

22 years ago1.3.12, binary, interface age 0.
Owen Taylor [Sun, 23 Dec 2001 22:39:10 +0000 (22:39 +0000)]
1.3.12, binary, interface age 0.

Sat Dec 22 12:08:56 2001  Owen Taylor  <otaylor@redhat.com>

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

        * NEWS: Updated.

22 years agoAdd (undefined) HAVE_C99_VSNPRINTF.
Tor Lillqvist [Sat, 22 Dec 2001 08:29:06 +0000 (08:29 +0000)]
Add (undefined) HAVE_C99_VSNPRINTF.

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

* config.h.win32.in: Add (undefined) HAVE_C99_VSNPRINTF.

* glibconfig.h.win32.in: Add definition of G_HAVE_GROWING_STACK.

* tests/Makefile.am: Rename the progs_LDADD, thread_LDADD and
module_LDADD Make macros to progs_ldadd, thread_ldadd and
module_ldadd. Newer automakes reserve macros named *_LDADD for
the use as LDADDs for targets it knows.

* glib/giowin32.c: (struct _GIOWin32Watch): 'callback' wasn't used
here, either.

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

* gobject.def: Add g_signal_get_invocation_hint.

22 years agoRemove FIXME. (#67063)
Matthias Clasen [Thu, 20 Dec 2001 23:13:19 +0000 (23:13 +0000)]
Remove FIXME. (#67063)

        * glib/gfileutils.c (g_file_get_contents): Remove FIXME. (#67063)

        * glib/glib-sections.txt: Move g_get_charset() to the
        Charset conversion section. (#65630)

22 years agoUpdated Japanese translation.
Takayuki KUSANO [Thu, 20 Dec 2001 15:34:44 +0000 (15:34 +0000)]
Updated Japanese translation.

* ja.po: Updated Japanese translation.

22 years agofix segfaults.
Mark McLoughlin [Thu, 20 Dec 2001 11:12:47 +0000 (11:12 +0000)]
fix segfaults.

2001-12-19  Mark McLoughlin  <mark@skynet.ie>

        * glib/gscanner.c: (g_scanner_unexp_token): fix segfaults.

22 years agokill 'callback'
Michael Meeks [Thu, 20 Dec 2001 08:52:01 +0000 (08:52 +0000)]
kill 'callback'

2001-12-20  Michael Meeks  <michael@ximian.com>

* glib/giounix.c (struct _GIOUnixWatch): kill 'callback'

22 years agoSGML doc fix.
Owen Taylor [Thu, 20 Dec 2001 04:49:44 +0000 (04:49 +0000)]
SGML doc fix.

Wed Dec 19 23:09:07 2001  Owen Taylor  <otaylor@redhat.com>
        * glib/gconvert.c (g_iconv_open): SGML doc fix.

22 years agoSGML fixes. Small updates.
Owen Taylor [Thu, 20 Dec 2001 04:48:36 +0000 (04:48 +0000)]
SGML fixes. Small updates.

Wed Dec 19 23:07:53 2001  Owen Taylor  <otaylor@redhat.com>
        * glib/tmpl/messages.sgml glib/tmpl/string_utils.sgml:
        SGML fixes.
        * gobject/gobject-sections.txt glib/glib-sectoins.txt: Small updates.

22 years agoUpdated Swedish translation.
Christian Rose [Wed, 19 Dec 2001 20:40:05 +0000 (20:40 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

22 years agoadd configure check to determine G_HAVE_GROWING_STACK.
Tim Janik [Tue, 18 Dec 2001 20:39:53 +0000 (20:39 +0000)]
add configure check to determine G_HAVE_GROWING_STACK.

Tue Dec 18 21:11:10 2001  Tim Janik  <timj@gtk.org>

        * configure.in: add configure check to determine G_HAVE_GROWING_STACK.

22 years agoadded some assertions to test g_signal_get_invocation_hint().
Tim Janik [Tue, 18 Dec 2001 20:38:58 +0000 (20:38 +0000)]
added some assertions to test g_signal_get_invocation_hint().

Tue Dec 18 21:39:57 2001  Tim Janik  <timj@gtk.org>

        * testoverride.c: added some assertions to test
        g_signal_get_invocation_hint().

        * gsignal.[hc]: remove signal_id argument from
        g_signal_chain_from_overridden(), the parameters are assumed to match
        the innermost signal currently in emission for this instance.
        added g_signal_get_invocation_hint() to figure the invocation hint
        of the innermost signal emission of an instance.

        * gsignal.c (g_signal_list_ids): fix G_BSEARCH_ARRAY_NODES() to
        access a bsearch array and not a pointer to it (discovered by
        Sven Neumann).

22 years agouse g_try_malloc and return error on not-enough-memory
Havoc Pennington [Tue, 18 Dec 2001 18:46:41 +0000 (18:46 +0000)]
use g_try_malloc and return error on not-enough-memory

2001-12-16  Havoc Pennington  <hp@pobox.com>

* glib/gfileutils.c (get_contents_regfile): use g_try_malloc and
return error on not-enough-memory
(get_contents_stdio): ditto

22 years agoUpdated Japanese translation.
Takayuki KUSANO [Tue, 18 Dec 2001 14:05:47 +0000 (14:05 +0000)]
Updated Japanese translation.

* ja.po: Updated Japanese translation.

22 years agoUse <envar>, not <envvar>.
Matthias Clasen [Mon, 17 Dec 2001 23:04:09 +0000 (23:04 +0000)]
Use <envar>, not <envvar>.

        * glib/gspawn.c, glib/gspawn-win32.c: Use <envar>, not <envvar>.

22 years agoSet the reserved bit to (1 << 0) instead of (1 << 30).
Anders Carlsson [Mon, 17 Dec 2001 21:59:34 +0000 (21:59 +0000)]
Set the reserved bit to (1 << 0) instead of (1 << 30).

2001-12-17  Anders Carlsson  <andersca@gnu.org>

* gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit
to (1 << 0) instead of (1 << 30).

22 years agoMinor markup fixes.
Matthias Clasen [Sun, 16 Dec 2001 19:31:36 +0000 (19:31 +0000)]
Minor markup fixes.

        * glib/gshell.c, glib/gspawn.c, glib/gspawn-win32.c, glib/gerror.c,
        glib/gfileutils.c, glib/ghash.c, glib/gmain.c, glib/gasyncqueue.c,
        glib/gtree.c: Minor markup fixes.

        * glib/tmpl/caches.sgml: GCs are cached by GTK, not by GDK.

22 years agoTypo fixes.
Matthias Clasen [Sat, 15 Dec 2001 19:29:20 +0000 (19:29 +0000)]
Typo fixes.

        * glib/tmpl/memory.sgml: Typo fixes.

22 years agoUpdated russian translation.
Valek Frob [Sat, 15 Dec 2001 18:12:26 +0000 (18:12 +0000)]
Updated russian translation.

22 years agoUpdated Swedish translation.
Christian Rose [Sat, 15 Dec 2001 15:13:43 +0000 (15:13 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

22 years agonote on how to free returned vector
Havoc Pennington [Fri, 14 Dec 2001 16:26:24 +0000 (16:26 +0000)]
note on how to free returned vector

2001-12-14  Havoc Pennington  <hp@pobox.com>

* glib/gshell.c (g_shell_parse_argv): note on how to free returned
vector

2001-12-08  Havoc Pennington  <hp@pobox.com>

* glib/gspawn.c (fork_exec_with_pipes): include argv[0] in error
message about failure to exec

22 years agoadd rules to build it.
James Henstridge [Fri, 14 Dec 2001 04:48:56 +0000 (04:48 +0000)]
add rules to build it.

2001-12-14  James Henstridge  <james@daa.com.au>

* Makefile.am: add rules to build it.

* testoverride.c: test program for closure override/chaining.

22 years agoRevert mistaken change: it is UNIX, not Unix.
Matthias Clasen [Thu, 13 Dec 2001 22:24:18 +0000 (22:24 +0000)]
Revert mistaken change: it is UNIX, not Unix.

        * glib/tmpl/completion.sgml, glib/tmpl/date.sgml,
        glib/tmpl/fileutils.sgml, glib/tmpl/iochannels.sgml,
        glib/tmpl/macros.sgml, glib/tmpl/memory.sgml,
        glib/tmpl/misc_utils.sgml, glib/tmpl/warnings.sgml,
        glib/tmpl/windows.sgml: Revert mistaken change: it is UNIX, not Unix.

        * glib/tmpl/memory_chunks.sgml,
        glib/tmpl/date.sgml, glib/tmpl/threads.sgml,
        glib/tmpl/gtype.sgml: Trivial markup fixes.

        * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
        glib/gwin32.c: Revert mistaken change: it is UNIX, not Unix.

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Thu, 13 Dec 2001 19:33:44 +0000 (19:33 +0000)]
Updated Norwegian (bokmål) translation.

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

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

22 years agoAPI revamp to shorten GValueArray structure.
Tim Janik [Thu, 13 Dec 2001 07:06:56 +0000 (07:06 +0000)]
API revamp to shorten GValueArray structure.

Thu Dec 13 05:37:51 2001  Tim Janik  <timj@gtk.org>

        * glib/gbsearcharray.[hc]: API revamp to shorten GValueArray
        structure.

22 years agoimplemented closure chaining.
Tim Janik [Thu, 13 Dec 2001 07:04:41 +0000 (07:04 +0000)]
implemented closure chaining.

Thu Dec 13 08:03:17 2001  Tim Janik  <timj@gtk.org>

        * gsignal.c: implemented closure chaining.

22 years ago This fixes #60543:
Matthias Clasen [Wed, 12 Dec 2001 22:05:55 +0000 (22:05 +0000)]
    This fixes #60543:

        * glib/gutils.c (g_snprintf, g_vsnprintf): Switch to C99-[v]snprintf().

        * tests/strfunc-test.c: Add some tests for g_snprintf().

22 years agoDocumentation fixes.
Matthias Clasen [Wed, 12 Dec 2001 20:32:07 +0000 (20:32 +0000)]
Documentation fixes.

        * glib/gconvert.c, glib/grand.c, glib/ghash.c,
        glib/gthreadpool.c, glib/gtree.c: Documentation fixes.

        * glib/tmpl/allocators.sgml, glib/tmpl/arrays.sgml,
        glib/tmpl/arrays_byte.sgml, glib/tmpl/arrays_pointer.sgml,
        glib/tmpl/caches.sgml, glib/tmpl/completion.sgml,
        glib/tmpl/conversions.sgml,
        glib/tmpl/datalist.sgml, glib/tmpl/date.sgml,
        glib/tmpl/error_reporting.sgml, glib/tmpl/fileutils.sgml,
        glib/tmpl/hash_tables.sgml,
        glib/tmpl/hooks.sgml, glib/tmpl/macros.sgml,
        glib/tmpl/macros_misc.sgml, glib/tmpl/main.sgml, glib/tmpl/markup.sgml,
        glib/tmpl/memory.sgml, glib/tmpl/memory_chunks.sgml,
        glib/tmpl/messages.sgml, glib/tmpl/misc_utils.sgml,
        glib/tmpl/modules.sgml, glib/tmpl/numerical.sgml,
        glib/tmpl/patterns.sgml, glib/tmpl/queue.sgml,
        glib/tmpl/shell.sgml, glib/tmpl/spawn.sgml,
        glib/tmpl/string_utils.sgml, glib/tmpl/thread_pools.sgml,
        glib/tmpl/threads.sgml, glib/tmpl/timers.sgml,
        glib/tmpl/trees-binary.sgml, glib/tmpl/trees-nary.sgml,
        glib/tmpl/type_conversion.sgml, glib/tmpl/unicode.sgml,
        glib/tmpl/warnings.sgml, glib/tmpl/windows.sgml:
        Improve markup of examples, general consistency improvements.

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Tue, 11 Dec 2001 12:39:16 +0000 (12:39 +0000)]
Updated Slovak translation.

2001-12-11  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

22 years agoUsual update
Kwok-Koon Cheung [Tue, 11 Dec 2001 00:45:58 +0000 (00:45 +0000)]
Usual update

22 years agoadd ISO8859-3 for Solaris. (#66174)
Hidetoshi Tajima [Mon, 10 Dec 2001 23:56:32 +0000 (23:56 +0000)]
add ISO8859-3 for Solaris. (#66174)

* glib/libcharset/config.charset (os):
add ISO8859-3 for Solaris. (#66174)

22 years agoperform an exact match on the two types instead of using
Sven Neumann [Mon, 10 Dec 2001 22:21:50 +0000 (22:21 +0000)]
perform an exact match on the two types instead of using

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

* gobject/gvalue.c (g_value_register_transform_func): perform an exact
match on the two types instead of using transform_func_lookup().

22 years agoUpdated Japanese translation.
Takayuki KUSANO [Mon, 10 Dec 2001 02:24:13 +0000 (02:24 +0000)]
Updated Japanese translation.

* ja.po: Updated Japanese translation.

22 years agoAdd pragma that will prevent warnings when you are not using -std=99 and
Christopher Blizzard [Sun, 9 Dec 2001 23:15:35 +0000 (23:15 +0000)]
Add pragma that will prevent warnings when you are not using -std=99 and

2001-12-09  Christopher Blizzard  <blizzard@redhat.com>

        * glib/gmessages.h: Add pragma that will prevent warnings when you
        are not using -std=99 and newer gcc compilers.  Patch from Red
        Hat's gtk+ 1.2 rpm.

22 years agoExplicitly add a cast to the last argument so that the macro will work
Christopher Blizzard [Sat, 8 Dec 2001 23:52:50 +0000 (23:52 +0000)]
Explicitly add a cast to the last argument so that the macro will work

2001-12-08  Christopher Blizzard  <blizzard@redhat.com>

        * gsignal.h (g_signal_connect): Explicitly add a cast to the last
        argument so that the macro will work from C++.

22 years agoUpdated Swedish translation.
Christian Rose [Sat, 8 Dec 2001 16:56:44 +0000 (16:56 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

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