Matthias Clasen [Thu, 5 Jun 2003 22:54:55 +0000 (22:54 +0000)]
Add g_vasprintf().
2003-06-06 Matthias Clasen <maclas@gmx.de>
* glib/glib-sections.txt: Add g_vasprintf().
* glib/tmpl/string_utils.sgml: Add a hint about g_vasprintf() to
the g_strdup_printf() docs.
Matthias Clasen [Thu, 5 Jun 2003 22:47:42 +0000 (22:47 +0000)]
Synchronize argument names with headers and docs. (g_vasprintf): An
2003-06-06 Matthias Clasen <maclas@gmx.de>
* glib/gprintf.[ch]: Synchronize argument names with headers and docs.
(g_vasprintf): An implementation of vasprintf(), code was lifted
from g_strdup_vprintf(). (#112365)
* glib/gstrfuncs.c (g_strdup_vprintf): Just use g_vasprintf().
Tor Lillqvist [Thu, 5 Jun 2003 22:18:27 +0000 (22:18 +0000)]
glib/giochannel.h Remove bogus (Win32-only) declaration of
2003-06-05 Tor Lillqvist <tml@iki.fi>
* glib/giochannel.h
* glib/gmain.h: Remove bogus (Win32-only) declaration of
g_main_poll_win32_msg_add(). No such function exists.
* glib/gmain.c (g_poll) [Win32]: Use g_win32_error_message() for
better warning messages.
Matthias Clasen [Wed, 4 Jun 2003 22:49:08 +0000 (22:49 +0000)]
Use the current g_file_get_contents() as example.
Noah Levitt [Wed, 4 Jun 2003 20:53:55 +0000 (20:53 +0000)]
Fix typo (#114375). Also, make the function static.
2003-06-04 Noah Levitt <nlevitt@columbia.edu>
* glib/gunidecomp.h (combine): Fix typo (#114375). Also, make the
function static.
Kwok-Koon Cheung [Wed, 4 Jun 2003 19:43:12 +0000 (19:43 +0000)]
Global fix of tamil translation encoding
Kenneth Christiansen [Wed, 4 Jun 2003 11:32:58 +0000 (11:32 +0000)]
file li.po was initially added on branch glib-2-2.
Sebastian Wilhelmi [Tue, 3 Jun 2003 12:35:00 +0000 (12:35 +0000)]
Test for pthread_setschedparam. If not existant, disable priorities.
2003-06-03 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Test for pthread_setschedparam. If not existant,
disable priorities. (#104718)
Owen Taylor [Mon, 2 Jun 2003 18:20:25 +0000 (18:20 +0000)]
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
* glib/gspawn.c (read_data): Don't read() into '&buf', while this
is technically okay - it is clearer as just 'buf'.
(write_all): New helper function that handles write() interrupts.
(write_err_and_exit): Use write_all() instead of write().
(fork_exec_with_pipes): Same here.
Owen Taylor [Sun, 1 Jun 2003 13:44:47 +0000 (13:44 +0000)]
Put the g_return_val_if_fail() in the right place.
Sun Jun 1 09:42:36 2003 Owen Taylor <otaylor@redhat.com>
* glib/giochannel.c (g_io_error_get_from_g_error): Put
the g_return_val_if_fail() in the right place.
Ray Strode [Sat, 31 May 2003 16:10:50 +0000 (16:10 +0000)]
Fix typo: should be G_IO_ERROR_UNKNOWN not G_ERROR_ERROR_UNKNOWN
Fri May 31 1:17:45 2003 Ray Strode <halfline@hawaii.rr.com>
* glib/giochannel.c (g_io_channel_error_from_errno):
Fix typo: should be G_IO_ERROR_UNKNOWN not
G_ERROR_ERROR_UNKNOWN
Owen Taylor [Fri, 30 May 2003 23:28:34 +0000 (23:28 +0000)]
glib/gstrfuncs.c (g_ascii_strncasecmp) Use TOLOWER() macro instead of
Fri May 30 19:23:47 2003 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c (g_ascii_strncasecmp)
* glib/gstrfuncs.c (g_ascii_strcasecmp): Use TOLOWER()
macro instead of g_ascii_tolower() (#107138)
Owen Taylor [Fri, 30 May 2003 23:13:55 +0000 (23:13 +0000)]
Backport better handling of ALL_LINGUAS from gettext.m4. (#103808, Andras
Fri May 30 19:09:25 2003 Owen Taylor <otaylor@redhat.com>
* m4macros/glib-gettext.m4: Backport better handling
of ALL_LINGUAS from gettext.m4. (#103808, Andras Salamon)
Owen Taylor [Fri, 30 May 2003 22:49:13 +0000 (22:49 +0000)]
expand $exec_prefix as well as $prefix. (#107290, reported by Morten
Fri May 30 18:46:05 2003 Owen Taylor <otaylor@redhat.com>
* m4macros/glib-gettext.m4: expand $exec_prefix as
well as $prefix. (#107290, reported by Morten Welinder,
patch from Raja Harinath)
Owen Taylor [Fri, 30 May 2003 21:25:38 +0000 (21:25 +0000)]
Quote $srcdir to handle $srcdir with spaces (#107850, Evan Martin)
Fri May 30 17:24:23 2003 Owen Taylor <otaylor@redhat.com>
* glib-gettextize.in: Quote $srcdir to handle $srcdir
with spaces (#107850, Evan Martin)
Owen Taylor [Fri, 30 May 2003 21:11:08 +0000 (21:11 +0000)]
Silently return G_IO_CHANNEL_ERROR_FAILED for EINTR, since close() can
Fri May 30 16:48:26 2003 Owen Taylor <otaylor@redhat.com>
* glib/giochannel.c (g_io_channel_error_from_errno):
Silently return G_IO_CHANNEL_ERROR_FAILED for EINTR,
since close() can return EINTR. (#11842, Balazs Scheidler)
Owen Taylor [Fri, 30 May 2003 19:54:35 +0000 (19:54 +0000)]
Do a g_return_val_if_fail() on err == NULL to be a bit more robuts on
Fri May 30 15:51:43 2003 Owen Taylor <otaylor@redhat.com>
* glib/giochannel.c (g_io_error_get_from_g_error):
Do a g_return_val_if_fail() on err == NULL to be a
bit more robuts on buggy IO channel implementations.
(#113396, Dan Winship)
Owen Taylor [Fri, 30 May 2003 18:44:57 +0000 (18:44 +0000)]
Order refs/unrefs so setting the same object back is safe. (#112861,
Fri May 30 14:42:24 2003 Owen Taylor <otaylor@redhat.com>
* gobject.c (g_value_set_object): Order refs/unrefs
so setting the same object back is safe. (#112861,
Morten Welinder)
Owen Taylor [Wed, 28 May 2003 16:53:20 +0000 (16:53 +0000)]
__PRETTY_FUNCTION__ was made a non-token before gcc-3.0.0 for C++. (Fix
Tue May 27 19:56:35 2003 Owen Taylor <otaylor@redhat.com>
* glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
#113797)
Matthias Clasen [Tue, 27 May 2003 22:25:03 +0000 (22:25 +0000)]
Document that g_strdup() and g_strndup() accept NULL. (#106987, Christian
2003-05-28 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/string_utils.sgml: Document that g_strdup() and
g_strndup() accept NULL. (#106987, Christian Biere)
Matthias Clasen [Tue, 27 May 2003 22:12:40 +0000 (22:12 +0000)]
Remain silent when sucessful.
2003-05-28 Matthias Clasen <maclas@gmx.de>
* tests/patterntest.c: Remain silent when sucessful.
* tests/Makefile.am: Add patterntest to make check. (#113143,
Zach Frey)
Matthias Clasen [Tue, 27 May 2003 21:30:08 +0000 (21:30 +0000)]
Use memcpy instead of strcpy. (#106988, Christian Biere)
2003-05-27 Matthias Clasen <maclas@gmx.de>
* glib/gstrfuncs.c (g_strdup): Use memcpy instead of
strcpy. (#106988, Christian Biere)
Kwok-Koon Cheung [Tue, 27 May 2003 13:33:07 +0000 (13:33 +0000)]
Updated traditional Chinese translation.
* zh_TW.po: Updated traditional Chinese translation.
Noah Levitt [Fri, 23 May 2003 21:18:32 +0000 (21:18 +0000)]
Fix typo in UNICODE_VALID (related to #107427).
2003-05-23 Noah Levitt <nlevitt@columbia.edu>
* glib/gutf8.c: Fix typo in UNICODE_VALID (related to #107427).
Noah Levitt [Fri, 23 May 2003 20:42:35 +0000 (20:42 +0000)]
Remove stale comment.
2003-05-23 Noah Levitt <nlevitt@columbia.edu>
* glib/guniprop.c: Remove stale comment.
Noah Levitt [Thu, 22 May 2003 19:48:45 +0000 (19:48 +0000)]
Update g_unichar_iswide to Unicode 4.0 (#113404).
2003-05-22 Noah Levitt <nlevitt@columbia.edu>
* glib/guniprop.c: Update g_unichar_iswide to Unicode 4.0 (#113404).
Noah Levitt [Wed, 21 May 2003 21:58:31 +0000 (21:58 +0000)]
Fix obscure typo in case conversion routine (#113469).
2003-05-21 Noah Levitt <nlevitt@columbia.edu>
* glib/guniprop.c: Fix obscure typo in case conversion routine
(#113469).
Manish Singh [Tue, 20 May 2003 21:18:23 +0000 (21:18 +0000)]
ytpo
PDT 2003 Manish Singh [Tue, 20 May 2003 21:17:35 +0000 (21:17 +0000)]
wrap 64-bit MIN/MAX limit constants in G_GINT64_CONSTANT. Fixes bug
Tue May 20 14:14:55 PDT 2003 Manish Singh <yosh@gimp.org>
* configure.in: wrap 64-bit MIN/MAX limit constants in
G_GINT64_CONSTANT. Fixes bug #108699.
Noah Levitt [Tue, 20 May 2003 03:38:48 +0000 (03:38 +0000)]
Fix cut-and-pasto: g_unichar_break_type should return
2003-05-19 Noah Levitt <nlevitt@columbia.edu>
* glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should
return G_UNICODE_BREAK_UNKNOWN if the character is greater than
G_UNICODE_LAST_CHAR.
Noah Levitt [Mon, 19 May 2003 17:02:32 +0000 (17:02 +0000)]
Remove unused function g_list_sort2 (bug #113203).
2003-05-19 Noah Levitt <nlevitt@columbia.edu>
* glib/glist.c: Remove unused function g_list_sort2 (bug #113203).
Noah Levitt [Mon, 19 May 2003 15:54:48 +0000 (15:54 +0000)]
Fix off-by-one error in g_unicode_canonical_ordering (bug #113260).
2003-05-19 Noah Levitt <nlevitt@columbia.edu>
* glib/gunidecomp.c: Fix off-by-one error in
g_unicode_canonical_ordering (bug #113260).
Arafat Medini [Mon, 19 May 2003 15:36:33 +0000 (15:36 +0000)]
*ar.po: Added Arabic translation by Arabeyes <doc@arabeyes.org>
2003-05-19 Arafat Medini <lumina@silverpen.de>
*ar.po: Added Arabic translation by
Arabeyes <doc@arabeyes.org>
Telsa Gwynne [Sat, 17 May 2003 18:44:56 +0000 (18:44 +0000)]
Welsh translation from Dafydd Harries
Matthias Clasen [Sun, 11 May 2003 22:29:50 +0000 (22:29 +0000)]
Fix a duplicate id left by copy-and-paste. (#112785, Owen Taylor)
2003-05-12 Matthias Clasen <maclas@gmx.de>
* glib/cross.sgml: Fix a duplicate id left by copy-and-paste.
(#112785, Owen Taylor)
Christophe Merlet [Thu, 8 May 2003 12:18:12 +0000 (12:18 +0000)]
Updated French translation.
Matthias Clasen [Mon, 5 May 2003 18:26:38 +0000 (18:26 +0000)]
Some doc fixes. (#111805)
2003-05-05 Matthias Clasen <maclas@gmx.de>
* glib/gstrfuncs.c (g_ascii_dtostr):
(g_ascii_formatd):
(g_ascii_strtod): Some doc fixes. (#111805)
Christian Rose [Mon, 5 May 2003 13:45:22 +0000 (13:45 +0000)]
Added sr and sr@Latn to ALL_LINGUAS. Added Serbian translation by Danilo
2003-05-05 Christian Rose <menthos@menthos.com>
* configure.in: Added sr and sr@Latn to ALL_LINGUAS.
* po/sr.po, po/sr@Latn.po: Added Serbian translation by
Danilo Šegan <dsegan@gmx.net>.
Owen Taylor [Thu, 24 Apr 2003 23:51:26 +0000 (23:51 +0000)]
Accept libtool-1.5. (#111483)
Thu Apr 24 19:12:05 2003 Owen Taylor <otaylor@redhat.com>
* autogen.sh (have_libtool): Accept libtool-1.5. (#111483)
Matthias Clasen [Fri, 18 Apr 2003 00:18:06 +0000 (00:18 +0000)]
Forgotten cleanup.
Matthias Clasen [Fri, 18 Apr 2003 00:17:16 +0000 (00:17 +0000)]
Correct the documentation GSignalEmissionHook (#110906) and some cleanups.
2003-04-18 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/signals.sgml: Correct the documentation
GSignalEmissionHook (#110906) and some cleanups.
Matthias Clasen [Fri, 11 Apr 2003 21:56:50 +0000 (21:56 +0000)]
Fix a few typos.
Raphael Finkel [Fri, 11 Apr 2003 16:43:23 +0000 (16:43 +0000)]
Updated Yiddish translation
2003-04-11 Raphael Finkel <raphael@cs.uky.edu>
* yi.po: Updated Yiddish translation
Matthias Clasen [Wed, 9 Apr 2003 18:49:48 +0000 (18:49 +0000)]
Move install docs into reference manual.
Matthias Clasen [Mon, 7 Apr 2003 23:20:57 +0000 (23:20 +0000)]
Move cross-compilation info to reference manual.
Owen Taylor [Mon, 7 Apr 2003 17:50:53 +0000 (17:50 +0000)]
When waiting for the main loop to be freed up, wait on either
Mon Apr 7 13:40:28 2003 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_main_loop_run): When waiting for
the main loop to be freed up, wait on either
!loop->is_running or got_ownership, not both.
(Caused gtk_dialog_run() not to work in other
threads, reported by Jean-Yves Lefort)
Matthias Clasen [Mon, 7 Apr 2003 00:08:19 +0000 (00:08 +0000)]
Additions.
Matthias Clasen [Sun, 6 Apr 2003 22:16:59 +0000 (22:16 +0000)]
Warn if p == NULL && max != 0. (#110087)
2003-04-07 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (g_utf8_strlen): Warn if p == NULL && max != 0.
(#110087)
Raphael Finkel [Fri, 4 Apr 2003 20:44:03 +0000 (20:44 +0000)]
Updated Yiddish translation by Raphael Finkel <raphael@cs.uky.edu>.
2003-04-04 Raphael Finkel <raphael@cs.uky.edu>
* yi.po: Updated Yiddish translation by
Raphael Finkel <raphael@cs.uky.edu>.
Tor Lillqvist [Tue, 1 Apr 2003 19:11:48 +0000 (19:11 +0000)]
Add g_string_chunk_insert_len.
2003-04-01 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_string_chunk_insert_len.
Matthias Clasen [Mon, 31 Mar 2003 22:51:28 +0000 (22:51 +0000)]
Fix formatting of examples.
2003-04-01 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/error_reporting.sgml:
* glib/tmpl/random_numbers.sgml:
* glib/tmpl/arrays_pointer.sgml:
* glib/tmpl/arrays.sgml: Fix formatting of examples.
Matthias Clasen [Mon, 31 Mar 2003 22:08:08 +0000 (22:08 +0000)]
New function, to insert possible non-nul-terminated byte sequences into a
2003-04-01 Matthias Clasen <maclas@gmx.de>
* glib/gstring.[hc] (g_string_chunk_insert_len): New function, to
insert possible non-nul-terminated byte sequences into a string
chunk. (#96279)
(g_string_chunk_insert): Implement in terms of
g_string_chunk_insert_len() now.
Matthias Clasen [Sun, 30 Mar 2003 22:02:20 +0000 (22:02 +0000)]
Optimize the common cases (init == NULL or init == "") a bit. replace uses
2003-03-30 Matthias Clasen <maclas@gmx.de>
* glib/gstring.c (g_string_new): Optimize the common cases
(init == NULL or init == "") a bit.
* glib/gmarkup.c, glib/gmessages.c, glib/gscanner.c,
glib/gshell.c, glib/gspawn-win32-helper.c, glib/gspawn-win32.c,
glib/gspawn.c, gobject/gvaluetransform.c: replace uses of
g_string_new ("") by g_string_new (NULL). (#106973, Morten Welinder)
Matthias Clasen [Sun, 30 Mar 2003 21:51:30 +0000 (21:51 +0000)]
2003-03-a30 Matthias Clasen <maclas@gmx.de>
* glib/gutf8.c (UNICODE_VALID): Update to Unicode 3.1 and optimize
a bit. (#107427, Noah Lewitt)
Matthias Clasen [Sun, 30 Mar 2003 21:29:26 +0000 (21:29 +0000)]
Add cp1251 support for Solaris. (#104738, Hidetoshi Tajima)
2003-03-30 Matthias Clasen <maclas@gmx.de>
* glib/libcharset/config.charset: Add cp1251 support for Solaris.
(#104738, Hidetoshi Tajima)
Matthias Clasen [Sun, 30 Mar 2003 21:24:58 +0000 (21:24 +0000)]
Get rid of UNSAFE_DOS_PATH. (acceptable): Align with RFC2396. (#59653)
2003-03-30 Matthias Clasen <maclas@gmx.de>
* glib/gconvert.c (UnsafeCharacterSet): Get rid of
UNSAFE_DOS_PATH.
(acceptable): Align with RFC2396. (#59653)
* tests/uri-test.c: Adjust to the changes above.
Matthias Clasen [Thu, 27 Mar 2003 23:17:59 +0000 (23:17 +0000)]
Additions.
Christian Rose [Wed, 26 Mar 2003 21:48:11 +0000 (21:48 +0000)]
Added "yi" to ALL_LINGUAS. Added Yiddish translation by Raphael Finkel
2003-03-26 Christian Rose <menthos@menthos.com>
* configure.in: Added "yi" to ALL_LINGUAS.
* po/yi.po: Added Yiddish translation by
Raphael Finkel <raphael@cs.uky.edu>.
Matthias Clasen [Mon, 24 Mar 2003 23:28:35 +0000 (23:28 +0000)]
Additions.
Sven Neumann [Mon, 24 Mar 2003 16:59:09 +0000 (16:59 +0000)]
removed leftover debugging message (bug #109093).
2003-03-24 Sven Neumann <sven@gimp.org>
* gtype.c (type_data_finalize_class_ifaces_Wm): removed leftover
debugging message (bug #109093).
Matthias Clasen [Mon, 24 Mar 2003 01:54:38 +0000 (01:54 +0000)]
Some more additions.
Matthias Clasen [Mon, 24 Mar 2003 01:10:28 +0000 (01:10 +0000)]
Additions.
2003-03-24 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/objects.sgml: Additions.
Matthias Clasen [Wed, 19 Mar 2003 22:05:07 +0000 (22:05 +0000)]
Fix docs.
2003-03-19 Matthias Clasen <maclas@gmx.de>
* glib/giochannel.c (g_io_channel_read_to_end): Fix docs.
Anders Carlsson [Wed, 19 Mar 2003 21:51:36 +0000 (21:51 +0000)]
Bump version to 2.3.0
2003-03-19 Anders Carlsson <andersca@codefactory.se>
* configure.in: Bump version to 2.3.0
Sebastian Wilhelmi [Fri, 14 Mar 2003 14:29:21 +0000 (14:29 +0000)]
Do not define function g_thread_init_glib, if not G_THREADS_ENABLED. It's
2003-03-14 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gthread.c: Do not define function g_thread_init_glib, if
not G_THREADS_ENABLED. It's not called bu g_thread_init() then,
but calls other, in that case undefined functions.
Owen Taylor [Mon, 10 Mar 2003 16:41:28 +0000 (16:41 +0000)]
Add support for instance-private data. g_type_class_add_private(),
Thu Feb 27 17:33:19 2003 Owen Taylor <otaylor@redhat.com>
* gtype.[ch] testgobject.c: Add support for instance-private data.
g_type_class_add_private(), g_type_instance_get_private(),
G_TYPE_INSTANCE_GET_PRIVATE(). (#101959, patch partly by
Mark McLoughlin, extensive feedback from Tim Janik.)
Owen Taylor [Mon, 10 Mar 2003 16:38:58 +0000 (16:38 +0000)]
Document private instance data.
Mon Mar 10 11:33:10 2003 Owen Taylor <otaylor@redhat.com>
* gobject/tmpl/gtype.sgml gobject/gobject-sections.txt:
Document private instance data.
Matthias Clasen [Thu, 6 Mar 2003 22:48:16 +0000 (22:48 +0000)]
Fix 0/FALSE confusion. (#107662, Morten Welinder)
2003-03-06 Matthias Clasen <maclas@gmx.de>
* gsignal.c (g_signal_handlers_block_matched):
(g_signal_handlers_unblock_matched):
(g_signal_handlers_disconnect_matched): Fix 0/FALSE confusion.
(#107662, Morten Welinder)
Matthias Clasen [Thu, 6 Mar 2003 22:41:03 +0000 (22:41 +0000)]
Fix FALSE/NULL confusion. (#107646, Morten Welinder)
2003-03-06 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c (g_main_context_find_source_by_id):
(g_main_context_find_source_by_funcs_user_data): Fix FALSE/NULL
confusion. (#107646, Morten Welinder)
James Henstridge [Tue, 4 Mar 2003 10:10:48 +0000 (10:10 +0000)]
require automake 1.7. Add calls to libtoolize and gtkdocize. Clean up some
2003-03-01 James Henstridge <james@daa.com.au>
* autogen.sh: require automake 1.7. Add calls to libtoolize and
gtkdocize. Clean up some of the error messages.
* configure.in: move version declaration to the top of the file
(before AC_INIT), using M4 macros.
GLIB_AC_DIVERT_BEFORE_HELP() calls no longer necessary, due to use
of M4 macro expansion in help messages instead.
Convert AC_ARG_WITH/AC_ARG_ENABLE calls to use AC_HELP_STRING to
format help strings. Use quadrigraphs to get square brackets to
show correctly.
Replace gtk-doc checks with a call to GTK_DOC_CHECK() macro.
Use AC_CONFIG_COMMANDS([glibconfig.h], ...) to output
glibconfig.h, so that "./config.status glibconfig.h" works.
Add an extra AC_CONFIG_FILES call listing other files we want
generated by config.status protected by an "if false" block. This
way automake generates the rules needed to rebuild the files for
us.
Add quotes in various places.
* docs/reference/*/Makefile.am: convert to use the common
gtk-doc.make file. This localises the complexity to a single
makefile fragment maintained with gtk-doc itself.
* */Makefile.am: remove unneeded rules to build win32 files with
config.status. Automake now does this for us.
Replace instances of @FOO@ with $(FOO) where appropriate -- this
allows automake to do a better job checking the makefile.
Add some files to DISTCLEANFILES where appropriate
* Makefile.am: use the DISTCHECK_CONFIGURE_FLAGS variable to
ensure that --enable-gtk-doc is passed to configure during a
distcheck. Remove the custom distcheck, since the standard one
will now do.
* gobject/Makefile.am: switch to BUILT_SOURCES, since that now
works.
Matthias Clasen [Wed, 26 Feb 2003 00:12:42 +0000 (00:12 +0000)]
Use g_strndup, not g_strdup, since we know the length in advance.
2003-02-26 Matthias Clasen <maclas@gmx.de>
* glib/gstrfuncs.c (g_strdup_vprintf): Use g_strndup, not
g_strdup, since we know the length in advance.
Matthias Clasen [Tue, 25 Feb 2003 23:20:16 +0000 (23:20 +0000)]
Use g_malloc instead of directly using malloc.
2003-02-26 Matthias Clasen <maclas@gmx.de>
* glib/gunidecomp.c (g_unicode_canonical_decomposition): Use
g_malloc instead of directly using malloc.
Tor Lillqvist [Tue, 25 Feb 2003 21:19:05 +0000 (21:19 +0000)]
Add a couple of missing entries, thanks to Cedric Gustin. Thread
2003-02-25 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add a couple of missing entries, thanks to Cedric
Gustin. Thread initialization function changes according to
Sebastian Wilhelmi's changes below (2003-02-14).
Roozbeh Pournader [Mon, 24 Feb 2003 09:57:04 +0000 (09:57 +0000)]
Updated Persian translation.
2003-02-24 Roozbeh Pournader <roozbeh@sharif.edu>
* fa.po: Updated Persian translation.
Matthias Clasen [Sun, 23 Feb 2003 22:55:47 +0000 (22:55 +0000)]
Clarify documentation.
2003-02-24 Matthias Clasen <maclas@gmx.de>
* glib/gdir.c (g_dir_read_name): Clarify documentation.
Metin Amiroff [Fri, 21 Feb 2003 09:47:06 +0000 (09:47 +0000)]
Updated Azerbaijani translation.
2003-02-21 Metin Amiroff <metin@karegen.com>
* az.po: Updated Azerbaijani translation.
Sebastian Wilhelmi [Tue, 18 Feb 2003 14:00:16 +0000 (14:00 +0000)]
Make glib_thread_test not unnecessarily convert between int and void*.
2003-02-18 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Make glib_thread_test not unnecessarily convert
between int and void*. (#106278). Let main return int.
* configure.in: Add an argument to specify the default thread
attribute to glib_thread_test. Disappeared somewhere between 2.0
and 2.2.
Tim Janik [Mon, 17 Feb 2003 20:17:17 +0000 (20:17 +0000)]
don't assert the types passed in to have value tables. this prevents
Mon Feb 17 20:59:47 2003 Tim Janik <timj@gtk.org>
* gvalue.c (g_value_register_transform_func): don't assert the types
passed in to have value tables. this prevents dynamic types from
registering transform functions.
Sebastian Wilhelmi [Fri, 14 Feb 2003 15:08:46 +0000 (15:08 +0000)]
Fixes for #101264 and #99372:
2003-02-14 Sebastian Wilhelmi <seppi@seppi.de>
Fixes for #101264 and #99372:
* glib/gconvert.h, glib/gmain.c, glib/gmem.c, glib/gmessages.c,
glib/grand.c: Include gthreadinit.h and rename the thread
initialization functions a bit and let them start with _, so that
later we can stop exporting them.
* glib/gmem.c, glib/gmessages.c: Move the g_private_new() calls to
new functions. They have to be called after setting
g_threads_got_initialized to TRUE (see #101264).
* glib/gthread.c: Include gthreadinit.h. Renamed g_mutex_init() to
g_thread_init_glib(). Call the thread initialization functions
(which are not allowed to call g_private_new), then set
g_threads_got_initialized to TRUE, then call the other thread
initialization functions (which must not call anything but
g_private_new()).
* glib/gthreadinit.h: New private header to cleanly declare all
thread initialization functions.
* gthread/gthread-impl.c: Include gthreadinit.h. In
g_thread_init() just call g_thread_init_glib(), which in turn calls the
other functions (see #99372).
* glib/Makefile.am: Added gthreadinit.h.
Sebastian Wilhelmi [Wed, 12 Feb 2003 13:01:35 +0000 (13:01 +0000)]
Make GLib recognize Tru64Unix thread system. (#103020)
2003-02-12 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
Tor Lillqvist [Tue, 11 Feb 2003 18:02:53 +0000 (18:02 +0000)]
Include ChangeLog.pre-2-2.
2003-02-11 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
Tor Lillqvist [Tue, 11 Feb 2003 17:59:04 +0000 (17:59 +0000)]
Include also the gtk-doc/html documentation in the developer package.
2003-02-11 Tor Lillqvist <tml@iki.fi>
* glib-zip.in: Include also the gtk-doc/html documentation in the
developer package.
* README.win32: Updates.
Sebastian Wilhelmi [Tue, 11 Feb 2003 10:13:49 +0000 (10:13 +0000)]
Changed my e-mail address. Removed my e-mail address.
2003-02-11 Sebastian Wilhelmi <seppi@seppi.de>
* AUTHORS: Changed my e-mail address.
* glib/grand.c: Removed my e-mail address.
Matthias Clasen [Mon, 10 Feb 2003 23:56:45 +0000 (23:56 +0000)]
Fix an off-by-one error in the g_strescape() docs. (#105431, Phillip
2003-02-11 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/string_utils.sgml: Fix an off-by-one error in the
g_strescape() docs. (#105431, Phillip Vandry)
Fatih Demir [Mon, 10 Feb 2003 23:43:22 +0000 (23:43 +0000)]
Take over
Mohammad DAMT [Mon, 10 Feb 2003 08:01:42 +0000 (08:01 +0000)]
Added Indonesian translation Added "id" to ALL_LINGUAS
2003-02-10 Mohammad DAMT <mdamt@bisnisweb.com>
* po/id.po: Added Indonesian translation
* configure.in: Added "id" to ALL_LINGUAS
Soeren Sandmann [Sun, 9 Feb 2003 12:40:53 +0000 (12:40 +0000)]
remove lookup of unused BoxedNode.
Sun Feb 9 13:44:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gboxed.c (boxed_proxy_value_init): remove lookup of unused
BoxedNode.
Matthias Clasen [Fri, 7 Feb 2003 22:08:53 +0000 (22:08 +0000)]
Move all docs out-of-line. Boy, what a waste of time.
2003-02-07 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/gtypemodule.sgml:
* gobject/tmpl/gtype.sgml:
* gobject/tmpl/gclosure.sgml:
* gobject/tmpl/param_value_types.sgml:
* gobject/tmpl/gparamspec.sgml:
* gobject/tmpl/objects.sgml:
* gobject/tmpl/signals.sgml: Move all docs out-of-line. Boy, what
a waste of time.
Matthias Clasen [Fri, 7 Feb 2003 22:04:24 +0000 (22:04 +0000)]
Remove all docs from gobject at Tims request. Documentation is only for
2003-02-07 Matthias Clasen <maclas@gmx.de>
* gtypemodule.c:
* gtype.c:
* gsourceclosure.c:
* gparamspecs.c:
* gparam.c:
* gobject.c:
* gsignal.c: Remove all docs from gobject at Tims
request. Documentation is only for weenies anyway...
Matthias Clasen [Thu, 6 Feb 2003 19:57:14 +0000 (19:57 +0000)]
Fix a bunch of typos in header comments. (#102422, Morten Welinder)
2003-02-06 Matthias Clasen <maclas@gmx.de>
* glib/gmessages.h:
* glib/gmem.h:
* glib/ghash.h:
* glib/gasyncqueue.h:
* glib/garray.h:
* glib/ghook.h:
* glib/gtypes.h: Fix a bunch of typos in header comments.
(#102422, Morten Welinder)
Tor Lillqvist [Tue, 4 Feb 2003 23:37:04 +0000 (23:37 +0000)]
Fix typo: Should be SOCKET_ERROR, not SO_ERROR. Noticed by Daniel
2003-02-04 Tor Lillqvist <tml@iki.fi>
* glib/giowin32.c (g_io_channel_unix_new): Fix typo: Should be
SOCKET_ERROR, not SO_ERROR. Noticed by Daniel Kaufmann.
Merge from stable branch:
Fix for bug #104014, reported by Alex Shaduri:
* glib/gspawn-win32.c (protect_argv): New function. Add
double-quotes around argv elements that need it, and escape
embedded double-quotes with backslash.
(do_spawn_with_pipes) Call protect_argv().
* glib/gspawn-win32-helper.c (WinMain): Call protect_argv().
* glib/gspawn.c (g_spawn_async_with_pipes): Document argument
vector vs. command line details on Win32.
(g_spawn_command_line_sync): Improve documentation about
backslashes in the command line on Windows.
Owen Taylor [Thu, 30 Jan 2003 21:47:23 +0000 (21:47 +0000)]
Remove references to glib.spec. (#102231)
Thu Jan 30 16:45:13 2003 Owen Taylor <otaylor@redhat.com>
* Makefile.am: Remove references to glib.spec.
(#102231)
* configure.in: Don't generate glib.spec.
Tõivo Leedjärv [Wed, 29 Jan 2003 11:14:42 +0000 (11:14 +0000)]
Fixed a small bug in Estonian translation.
2003-01-29 Tõivo Leedjärv <toivo@linux.ee>
* et.po: Fixed a small bug in Estonian translation.
Owen Taylor [Tue, 28 Jan 2003 21:13:43 +0000 (21:13 +0000)]
If msgfmt isn't found, unset gt_cv_have_gettext. (#102552, Tim Mooney)
Tue Jan 28 16:08:56 2003 Owen Taylor <otaylor@redhat.com>
* m4macros/glib-gettext.m4: If msgfmt isn't found,
unset gt_cv_have_gettext. (#102552, Tim Mooney)
Owen Taylor [Tue, 28 Jan 2003 20:26:05 +0000 (20:26 +0000)]
Fix version in complaint message about automake. (#104366, Rich Burridge)
Tue Jan 28 15:18:24 2003 Owen Taylor <otaylor@redhat.com>
* autogen.sh (have_automake): Fix version in complaint
message about automake. (#104366, Rich Burridge)
Yuri Syrota [Mon, 27 Jan 2003 17:57:24 +0000 (17:57 +0000)]
Updated Ukrainian translation
Paisa Seeluangsawat [Sun, 26 Jan 2003 00:05:48 +0000 (00:05 +0000)]
Added Thai translation.
2003-01-22 Paisa Seeluangsawat <paisa@colorado.edu>
* th.po: Added Thai translation.
Pablo Saratxaga [Thu, 23 Jan 2003 11:42:49 +0000 (11:42 +0000)]
Added Bengali file
Yuri Syrota [Wed, 22 Jan 2003 14:52:48 +0000 (14:52 +0000)]
Updated Ukrainian translation
Abel Cheung [Wed, 22 Jan 2003 13:15:15 +0000 (13:15 +0000)]
Updated traditional Chinese translation.
2003-01-22 Abel Cheung <maddog@linux.org.hk>
* zh_TW.po: Updated traditional Chinese translation.