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

        Fixes from Miroslaw Dobrzanski-Neumann (#71963)

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

        * configure.in: Check for unsetenv.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* ja.po: Updated Japanese translation.

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

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

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

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

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

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

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

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

        * 1.3.14

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

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

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

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

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

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

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

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

        * Version 1.3.14.

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

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

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

        * NEWS: Updated.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

22 years agoUse "if (expr) else" rather than "if (!(expr))" so the parentheses don't
Darin Adler [Mon, 11 Feb 2002 22:15:42 +0000 (22:15 +0000)]
Use "if (expr) else" rather than "if (!(expr))" so the parentheses don't

* glib/gmessages.h: Use "if (expr) else" rather than
"if (!(expr))" so the parentheses don't disable the gcc
warnings about = vs. ==.

22 years agomatch the signature in the implementation
jacob berkman [Mon, 11 Feb 2002 16:28:59 +0000 (16:28 +0000)]
match the signature in the implementation

2002-02-11  jacob berkman  <jacob@ximian.com>

* glib/gmarkup.h (g_markup_error_quark): match the signature in
the implementation

22 years agono sym links on win32, no lstat in msvcrt
Hans Breuer [Sun, 10 Feb 2002 16:42:36 +0000 (16:42 +0000)]
no sym links on win32, no lstat in msvcrt

2002-02-10  Hans Breuer  <hans@breuer.org>

* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt

* tests/makefile.msc.in : added uri-test

22 years agomsvc 5.0 can't cast from uint64 to double. Disable respective
Hans Breuer [Sun, 10 Feb 2002 16:39:24 +0000 (16:39 +0000)]
msvc 5.0 can't cast from uint64 to double. Disable respective

2002-02-10  Hans Breuer  <hans@breuer.org>

* gvaluetransform.c : msvc 5.0 can't cast from uint64 to
double. Disable respective transform_func than.

* makefile.msc.in : build test programs

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Sun, 10 Feb 2002 09:56:18 +0000 (09:56 +0000)]
Updated Norwegian (bokmål) translation.

2002-02-10  Kjartan Maraas  <kmaraas@gnome.org>

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

22 years agoNew. (skip_spaces): g_unichar_isspace -> xml_isspace isspace ->
Darin Adler [Sun, 10 Feb 2002 05:56:06 +0000 (05:56 +0000)]
New. (skip_spaces): g_unichar_isspace -> xml_isspace isspace ->

* glib/gmarkup.c: (xml_isspace): New.
(skip_spaces): g_unichar_isspace -> xml_isspace
* glib/gstrfuncs.c: (g_ascii_strtod): isspace -> g_ascii_isspace
isxdigit -> g_ascii_isxdigit, isdigit -> g_ascii_isdigit

22 years agoTest attribute value delimiters.
Matthias Clasen [Sat, 9 Feb 2002 22:08:10 +0000 (22:08 +0000)]
Test attribute value delimiters.

* tests/markups/valid-4.gmarkup: Test attribute value delimiters.

* glib/gmarkup.c (g_markup_parse_context_parse): Support
' and " as attribute value delimiters.  (#70677)

22 years agoFixed typo in G_THREADS_ENABLED.
Sebastian Wilhelmi [Sat, 9 Feb 2002 20:23:01 +0000 (20:23 +0000)]
Fixed typo in G_THREADS_ENABLED.

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

* Fixed typo in G_THREADS_ENABLED.

22 years agoMake --disable-threads work again. (#71034)
Sebastian Wilhelmi [Sat, 9 Feb 2002 20:08:06 +0000 (20:08 +0000)]
Make --disable-threads work again. (#71034)

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

* configure.in: Make --disable-threads work again. (#71034)

* gthread-impl.c: Only compile most of this file, if
G_THREAD_ENABLED is set.

22 years agoRegister transformations for gint64, guint64. (#70780, patch from Andy
Owen Taylor [Sat, 9 Feb 2002 04:59:54 +0000 (04:59 +0000)]
Register transformations for gint64, guint64. (#70780, patch from Andy

Fri Feb  8 23:52:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gobject/gvaluetransform.c: Register transformations for
        gint64, guint64. (#70780, patch from Andy Wingo)

        * configure.in: Handle missing G_GINT64_FORMAT,
        G_GUINT64_FORMAT ... harder to require GNU libc than GCC.

        * NEWS: Some cleanups that I had setting around.

22 years agoMake hostname parameter const char *. Added a new "ASCII must not be
Darin Adler [Fri, 8 Feb 2002 19:57:35 +0000 (19:57 +0000)]
Make hostname parameter const char *. Added a new "ASCII must not be

* glib/gconvert.h: Make hostname parameter const char *.
* glib/gconvert.c: (g_unescape_uri_string): Added a new
"ASCII must not be escaped" feature, and some missing error
checking.
(is_escalphanum): New.
(is_escalpha): New.
(hostname_validate): New.
(g_filename_from_uri): Don't allow hostnames to include
escaped ASCII, validate hostnames with the new
hostname_validate.
(g_filename_to_uri): Validate hostnames with the new
hostname_validate.

* tests/uri-test.c: Updated tests to reflect the hostname
validation changes above.

* glib/gdate.c: (g_date_fill_parse_tokens): Remove the
<ctype.h> include and do isdigit -> g_ascii_isdigit.

22 years agoFix access to freed memory in test case (Miroslaw Dobrzanski-Neumann).
Owen Taylor [Fri, 8 Feb 2002 17:34:15 +0000 (17:34 +0000)]
Fix access to freed memory in test case (Miroslaw Dobrzanski-Neumann).

Fri Feb  8 12:32:14 2002  Owen Taylor  <otaylor@redhat.com>

        * tests/hash-test.c (second_hash_test): Fix access to
        freed memory in test case (Miroslaw Dobrzanski-Neumann).
        Re-enable and debug some commented out code.

22 years agog_dir_open: added g_return_val_if_fail() to prevent us from calling
Michael Natterer [Fri, 8 Feb 2002 17:08:22 +0000 (17:08 +0000)]
g_dir_open: added g_return_val_if_fail() to prevent us from calling

2002-02-08  Michael Natterer  <mitch@gimp.org>

* glib/gdir.c: g_dir_open: added g_return_val_if_fail() to prevent
us from calling opendir(NULL) (which simply crashes).

22 years agoExtended documentation.
Sebastian Wilhelmi [Fri, 8 Feb 2002 08:25:49 +0000 (08:25 +0000)]
Extended documentation.

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

* glib/gfileutils.c (g_file_test): Extended documentation.

22 years agoDo not follow symbolic links for G_FILE_TEST_SYMLINK. Also fixed the
Sebastian Wilhelmi [Thu, 7 Feb 2002 20:14:00 +0000 (20:14 +0000)]
Do not follow symbolic links for G_FILE_TEST_SYMLINK. Also fixed the

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

* glib/gfileutils.c (g_file_test): Do not follow symbolic links
for G_FILE_TEST_SYMLINK. Also fixed the correct "OR"-behaviour for
G_FILE_TEST_IS_EXECUTABLE and G_FILE_TEST_EXISTS. (#60048)

22 years agodocument value transformation.
Tim Janik [Thu, 7 Feb 2002 11:09:26 +0000 (11:09 +0000)]
document value transformation.

Thu Feb  7 12:07:06 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/generic_values.sgml: document value transformation.

22 years agoAdded Korean translation.
Changwoo Ryu [Thu, 7 Feb 2002 01:59:29 +0000 (01:59 +0000)]
Added Korean translation.

22 years agoUsual update.
Kwok-Koon Cheung [Thu, 7 Feb 2002 00:27:06 +0000 (00:27 +0000)]
Usual update.

22 years agoHandle NULL entries (already dispatched) in pending_dispatches array
Owen Taylor [Wed, 6 Feb 2002 19:45:56 +0000 (19:45 +0000)]
Handle NULL entries (already dispatched) in pending_dispatches array

Wed Feb  6 14:44:18 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_context_prepare): Handle
        NULL entries (already dispatched) in pending_dispatches array
        (pointed out by Manish Singh)

22 years agoUnref pending dispatches when discarding them.
Owen Taylor [Wed, 6 Feb 2002 00:37:38 +0000 (00:37 +0000)]
Unref pending dispatches when discarding them.

Tue Feb  5 17:13:02 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_context_prepare): Unref pending
        dispatches when discarding them.

22 years agoConverted to UTF-8.
Takayuki KUSANO [Tue, 5 Feb 2002 10:16:38 +0000 (10:16 +0000)]
Converted to UTF-8.

* ja.po: Converted to UTF-8.

22 years agofixes.
Tim Janik [Mon, 4 Feb 2002 18:36:33 +0000 (18:36 +0000)]
fixes.

22 years agodoc common functions like ref/ sink/unref/invalidate.
Tim Janik [Mon, 4 Feb 2002 18:08:23 +0000 (18:08 +0000)]
doc common functions like ref/ sink/unref/invalidate.

Mon Feb  4 17:55:39 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/closures.sgml: doc common functions like ref/
        sink/unref/invalidate.

22 years agodocument g_obejct_watch_closure() and qdata functions.
Tim Janik [Mon, 4 Feb 2002 17:17:44 +0000 (17:17 +0000)]
document g_obejct_watch_closure() and qdata functions.

Mon Feb  4 17:55:39 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/objects.sgml: document g_obejct_watch_closure() and
        qdata functions.

22 years agoDelay allocation until after all g_return_val_if_fail ().
Sebastian Wilhelmi [Mon, 4 Feb 2002 13:49:36 +0000 (13:49 +0000)]
Delay allocation until after all g_return_val_if_fail ().

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

* glib/gthread.c (g_thread_create_full): Delay allocation until
after all g_return_val_if_fail ().

* glib/gthread.h: Make depth member guint for cosmetic reasons.

* glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
be unsigned. All that spotted by Jörgen Viksell
<jorgen.viksell@telia.com>

22 years agoeek, correct typo
Manish Singh [Sun, 3 Feb 2002 01:05:55 +0000 (01:05 +0000)]
eek, correct typo

22 years agoglib/gmain.c remove references to deprecated functions in docs and warning
Manish Singh [Sun, 3 Feb 2002 01:04:32 +0000 (01:04 +0000)]
glib/gmain.c remove references to deprecated functions in docs and warning

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

        * glib/gmain.c
        * glib/gtree.c: remove references to deprecated functions in docs
        and warning message.

22 years agoremove cat-id-tbl.c references (this really
jacob berkman [Fri, 1 Feb 2002 00:02:12 +0000 (00:02 +0000)]
remove cat-id-tbl.c references (this really

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

* Makefile.in.in: remove cat-id-tbl.c references (this really

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>