platform/upstream/glib.git
22 years agoremove stamp-cat-id
jacob berkman [Thu, 31 Jan 2002 23:26:20 +0000 (23:26 +0000)]
remove stamp-cat-id

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

* Makefile.in.in (DISTFILES): remove stamp-cat-id

22 years agoremove references to po2tbl
jacob berkman [Thu, 31 Jan 2002 22:26:59 +0000 (22:26 +0000)]
remove references to po2tbl

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

* glib-gettextize.in:
* m4macros/glib-gettext.m4 (AM_GLIB_GNU_GETTEXT): remove
references to po2tbl

22 years agoUpdated Norwegian nynorsk translation
Roy-Magne Mo [Thu, 31 Jan 2002 19:09:08 +0000 (19:09 +0000)]
Updated Norwegian nynorsk translation

22 years agoChange the order in which some error conditions are checked to improve
Matthias Clasen [Wed, 30 Jan 2002 22:14:16 +0000 (22:14 +0000)]
Change the order in which some error conditions are checked to improve

        * glib/gmarkup.c (g_markup_parse_context_parse): Change the
        order in which some error conditions are checked to improve
        error messages. (#69646)

22 years agofixed spelling
Sven Neumann [Tue, 29 Jan 2002 20:27:57 +0000 (20:27 +0000)]
fixed spelling

22 years ago1.3.13 GLIB_1_3_13
Owen Taylor [Tue, 29 Jan 2002 20:23:48 +0000 (20:23 +0000)]
1.3.13

Tue Jan 29 15:04:31 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.13

        * tests/shell-test.c: Workaround for MSVC bugs. (#61064)

22 years ago1.3.13
Owen Taylor [Tue, 29 Jan 2002 19:16:13 +0000 (19:16 +0000)]
1.3.13

Tue Jan 29 14:06:22 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.13

        * NEWS: Update to include last change.

22 years agoRewritten to cache iconv conversion descriptors. On at least some Unix
Jeffrey Stedfast [Tue, 29 Jan 2002 18:25:45 +0000 (18:25 +0000)]
Rewritten to cache iconv conversion descriptors. On at least some Unix

2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>

* glib/gconvert.c (open_converter): Rewritten to cache iconv
conversion descriptors. On at least some Unix systems like
Solaris, iconv_open() must dlopen the necessary charset modules in
order to setup the descriptor. This can take a major toll on
performace if you are constantly opening and closing conversion
descriptors for the same charset conversions over and over.
(g_convert_with_fallback): Use close_converter() rather than
g_iconv_close() since open_converter() now caches iconv
descriptors.

22 years ago1.3.13
Owen Taylor [Tue, 29 Jan 2002 17:10:34 +0000 (17:10 +0000)]
1.3.13

Tue Jan 29 11:18:44 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.13

        * NEWS: Updated.

        * configure.in: Micro == 13, binary age, interface age 0.
        [ binary breakage was return type of g_signal_connect_object(),
        probably could have used binary age == 0, but a little safer not to.]

        * configure.in: Remove configure warning.

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Tue, 29 Jan 2002 12:45:55 +0000 (12:45 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoNULL-terminate context->attr_values so g_strfreev() is safe. Would
Havoc Pennington [Tue, 29 Jan 2002 03:42:23 +0000 (03:42 +0000)]
NULL-terminate context->attr_values so g_strfreev() is safe. Would

2002-01-28  Havoc Pennington  <hp@pobox.com>

* glib/gmarkup.c (add_attribute): NULL-terminate
context->attr_values so g_strfreev() is safe.
Would previously crash if parsing was ended prior
to ending the start tag.
(g_markup_parse_context_parse): add a couple assertions

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Tue, 29 Jan 2002 02:02:32 +0000 (02:02 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoget rid of warning here
Havoc Pennington [Tue, 29 Jan 2002 00:29:24 +0000 (00:29 +0000)]
get rid of warning here

2002-01-28  Havoc Pennington  <hp@redhat.com>

* glib/gmacros.h: get rid of warning here

22 years agoOnly use __FUNCTION__, __PRETTY_FUNCTION__ for G_GNUC_FUNCTION,
Owen Taylor [Mon, 28 Jan 2002 23:01:19 +0000 (23:01 +0000)]
Only use __FUNCTION__, __PRETTY_FUNCTION__ for G_GNUC_FUNCTION,

Mon Jan 28 17:56:10 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gmacros.h: Only use __FUNCTION__, __PRETTY_FUNCTION__ for
        G_GNUC_FUNCTION, G_GNUC_PRETTY_FUNCTION, G_STRLOC when __GNUC__ <
        3, since in 3.0.3 the semantics of these functions were changed in
        an incompatible way. (#69097)

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Mon, 28 Jan 2002 21:59:00 +0000 (21:59 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoSome documentation fixes/elaborations I really should have gotten
Ron Steinke [Mon, 28 Jan 2002 21:17:45 +0000 (21:17 +0000)]
Some documentation fixes/elaborations I really should have gotten
in a long time ago

22 years agoUpdated Norwegian nynorsk translation and switched to UTF-8
Roy-Magne Mo [Mon, 28 Jan 2002 06:11:00 +0000 (06:11 +0000)]
Updated Norwegian nynorsk translation and switched to UTF-8

22 years agoUpdated and converted to UTF-8.
Christian Rose [Mon, 28 Jan 2002 01:22:50 +0000 (01:22 +0000)]
Updated and converted to UTF-8.

2002-01-28  Christian Rose  <menthos@menthos.com>

* sv.po: Updated and converted to UTF-8.

22 years ago- updated dutch translation
Dirk-Jan C. Binnema [Sun, 27 Jan 2002 09:53:58 +0000 (09:53 +0000)]
- updated dutch translation

* nl.po:
- updated dutch translation

22 years agoUpdated Slovenian translation
Andraz Tori [Sat, 26 Jan 2002 22:35:42 +0000 (22:35 +0000)]
Updated Slovenian translation

22 years agoUpdated Slovenian translation
Andraz Tori [Sat, 26 Jan 2002 19:59:14 +0000 (19:59 +0000)]
Updated Slovenian translation

22 years agoUpdated Danish translation and switched to UTF-8.
Ole Laursen [Fri, 25 Jan 2002 21:26:44 +0000 (21:26 +0000)]
Updated Danish translation and switched to UTF-8.

2002-01-25  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation and switched to UTF-8.

22 years agoRemove inlttool [] tags from POTFILE.in
ERDI Gergo [Fri, 25 Jan 2002 00:30:43 +0000 (00:30 +0000)]
Remove inlttool [] tags from POTFILE.in

2002-01-23  ERDI Gergo  <cactus@cactus.rulez.org>

* Makefile.in.in (POTFILES): Remove inlttool [] tags from
POTFILE.in

22 years agoremoved an empty line in the inline documentation that confused gtk-doc.
Sven Neumann [Thu, 24 Jan 2002 14:02:58 +0000 (14:02 +0000)]
removed an empty line in the inline documentation that confused gtk-doc.

2002-01-24  Sven Neumann  <sven@gimp.org>

* glib/gutf8.c (g_utf8_to_utf16): removed an empty line in the
inline documentation that confused gtk-doc.

22 years agoreturn gulong instead of guint.
Tim Janik [Thu, 24 Jan 2002 06:39:31 +0000 (06:39 +0000)]
return gulong instead of guint.

Thu Jan 24 07:39:56 2002  Tim Janik  <timj@gtk.org>

        * gobject.c (g_signal_connect_object): return gulong instead
        of guint.

22 years agoreturn 1 more for the trailing \0 when using vsnprintf. (#69474)
Laszlo Peter [Wed, 23 Jan 2002 19:38:24 +0000 (19:38 +0000)]
return 1 more for the trailing \0 when using vsnprintf. (#69474)

2002-01-23  Laszlo Peter  <laca@ireland.sun.com>

* glib/gmessages.c (g_printf_string_upper_bound): return 1 more
        for the trailing \0 when using vsnprintf. (#69474)

22 years agoMissing asterisk in ChangeLog entry...
Tor Lillqvist [Wed, 23 Jan 2002 00:14:31 +0000 (00:14 +0000)]
Missing asterisk in ChangeLog entry...

22 years agoNot used on Windows, don't even compile it then.
Tor Lillqvist [Wed, 23 Jan 2002 00:05:30 +0000 (00:05 +0000)]
Not used on Windows, don't even compile it then.

2002-01-23  Tor Lillqvist  <tml@iki.fi>

* glib/gconvert.c: (strdup_len): Not used on Windows, don't even
compile it then.

(acceptable): Improve comments for the _acceptable_ table: put
each ASCII char above the hex number for it.

(g_escape_file_uri): On Windows, turn backslashes in the file name
into plain ("forward") slashes.

(g_filename_from_uri): On Windows, don't return the hostname
"localhost", because we can not be 100% sure it will be recognized
in all cases anyway, so simpler to turn it into a null
hostname.

Change slashes in the filename into backslashes, as that is the
more canonical separator.

Recognize drive letters (either followed by a colon or a vertical
bar, as used by some browsers), and if the filename part starts
with a such, don't include any (back)slash.

Don't drop any extra leading slash in the filename on Unix.

(g_filename_to_uri): On Windows, if the hostname is "localhost",
don't use it, for consistency with g_filename_from_uri().

tests/uri-test.c: Change accordingly, so that all tests pass on
Windows. Unix, too, I hope, though I couldn't check that now.

(main): Unset the G_BROKEN_FILENAMES environment variable on Unix,
as some tests require that filenames are in UTF-8. Is unsetenv()
portable?

These changes should fix bugs #59387, #59652, #59657 and #59658.

22 years agobetter ChangeLog
Sebastian Wilhelmi [Tue, 22 Jan 2002 09:52:46 +0000 (09:52 +0000)]
better ChangeLog

better ChangeLog

22 years agoGet the right multithread option for GCC 3.0 and later. (#67583)
Sebastian Wilhelmi [Tue, 22 Jan 2002 09:50:24 +0000 (09:50 +0000)]
Get the right multithread option for GCC 3.0 and later. (#67583)

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

* configure.in: Get the right multithread option for GCC 3.0 and
later. (#67583)

22 years agoIf g_convert fails, set bytes_written to 0 and close the iconv descriptor
Jeffrey Stedfast [Mon, 21 Jan 2002 20:53:18 +0000 (20:53 +0000)]
If g_convert fails, set bytes_written to 0 and close the iconv descriptor

2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>

* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
set bytes_written to 0 and close the iconv descriptor that was
opened a few lines above. On a successful return, calculate
bytes_written to be outp - dest instead of outp - str.

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Mon, 21 Jan 2002 00:29:11 +0000 (00:29 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoNew files.
Matthias Clasen [Thu, 17 Jan 2002 23:06:12 +0000 (23:06 +0000)]
New files.

        * glib/building.sgml, glib/compiling.sgml,
        glib/running.sgml, glib/resources.sgml,
        glib/changes-2.0.sgml: New files.

        * glib/Makefile.am (content_files): Add new files.

        * glib/glib-docs.sgml: Add an Overview chapter.

22 years agoacinclude.m4 removed the --disable-nls option. You can't disable Native
Sven Neumann [Wed, 16 Jan 2002 19:29:16 +0000 (19:29 +0000)]
acinclude.m4 removed the --disable-nls option. You can't disable Native

2002-01-16  Sven Neumann  <sven@gimp.org>

        * acinclude.m4
        * m4macros/glib-gettext.m4: removed the --disable-nls option. You
        can't disable Native Language Support since we rely on it.

        * configure.in: nicer --help output.

22 years agoOps. Fixed ChangeLog.
Sebastian Wilhelmi [Wed, 16 Jan 2002 09:06:34 +0000 (09:06 +0000)]
Ops. Fixed ChangeLog.

Ops. Fixed ChangeLog.

22 years agoUse g_free instead of free. Pointed out by Sam O'Connor <sam@panviva.com>.
Sebastian Wilhelmi [Wed, 16 Jan 2002 09:03:52 +0000 (09:03 +0000)]
Use g_free instead of free. Pointed out by Sam O'Connor <sam@panviva.com>.

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

* gthread-posix.c: Use g_free instead of free. Pointed out by Sam
O'Connor <sam@panviva.com>.

22 years agono message
Peteris Krisjanis [Wed, 16 Jan 2002 00:26:34 +0000 (00:26 +0000)]
no message

22 years ago*** empty log message ***
Hasbullah Bin Pit [Sat, 12 Jan 2002 17:48:34 +0000 (17:48 +0000)]
*** empty log message ***

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Fri, 11 Jan 2002 22:03:22 +0000 (22:03 +0000)]
Updated Norwegian (bokmål) translation.

2002-01-11  Kjartan Maraas  <kmaraas@gnome.org>

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

22 years agofixed param_value_array_values_cmp(), param_value_array_validate() and
Tim Janik [Fri, 11 Jan 2002 12:34:57 +0000 (12:34 +0000)]
fixed param_value_array_values_cmp(), param_value_array_validate() and

Fri Jan 11 12:26:36 2002  Tim Janik  <timj@gtk.org>

        * gparamspecs.c: fixed param_value_array_values_cmp(),
        param_value_array_validate() and
        param_value_array_set_default() to deal with NULL value
        arrays.

22 years agoRemove %m$ notation that can't be used with g_set_error().
Takayuki KUSANO [Wed, 9 Jan 2002 14:20:48 +0000 (14:20 +0000)]
Remove %m$ notation that can't be used with g_set_error().

* ja.po: Remove %m$ notation that can't be used with
g_set_error().

22 years agocosmetic fix.
Tim Janik [Wed, 9 Jan 2002 04:23:12 +0000 (04:23 +0000)]
cosmetic fix.

Wed Jan  9 05:23:27 2002  Tim Janik  <timj@gtk.org>

        * gobject.h (G_OBJECT_WARN_INVALID_PROPERTY_ID): cosmetic fix.

22 years agoAdd text files to EXTRA_DIST. (#68239, Matthias Clasen)
Owen Taylor [Tue, 8 Jan 2002 16:35:08 +0000 (16:35 +0000)]
Add text files to EXTRA_DIST. (#68239, Matthias Clasen)

Tue Jan  8 11:33:28 2002  Owen Taylor  <otaylor@redhat.com>

* docs/Makefile.am (EXTRA_DIST): Add text files to EXTRA_DIST.
(#68239, Matthias Clasen)

22 years agoName the right function.
Sebastian Wilhelmi [Tue, 8 Jan 2002 09:55:13 +0000 (09:55 +0000)]
Name the right function.

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

* glib/tmpl/threads.sgml: Name the right function.

22 years agoAdded Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Mon, 7 Jan 2002 21:03:41 +0000 (21:03 +0000)]
Added Polish translation by GNOME PL Team <translators@gnome.pl>

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.