Owen Taylor [Thu, 25 Jul 2002 23:42:25 +0000 (23:42 +0000)]
hu Jul 25 19:41:03 2002 Owen Taylor <otaylor@redhat.com>
* glib/giochannel.c (g_io_channel_get_flags): Fix
incorrect return value in g_return_val_if_fail
(#85545, David L. Cooper II)
Owen Taylor [Thu, 25 Jul 2002 23:15:41 +0000 (23:15 +0000)]
Clarify that only one of the conditions listed in the docs need to be
Thu Jul 25 19:12:43 2002 Owen Taylor <otaylor@redhat.com>
* glib/giochannel.c (g_io_channel_set_encoding): Clarify
that only one of the conditions listed in the docs
need to be true, not all of them. (#87176,
Sebastian Rittau)
* glib/giochannel.c (g_io_channel_read_line): Fix
description of the return value. (#87754, Manuel Clos)
Owen Taylor [Thu, 25 Jul 2002 23:04:22 +0000 (23:04 +0000)]
Remove reference in the docs to @notify parameter. (#87768, Manuel Clos)
Thu Jul 25 19:02:53 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (g_timeout_add): Remove reference
in the docs to @notify parameter. (#87768,
Manuel Clos)
Owen Taylor [Thu, 25 Jul 2002 22:59:54 +0000 (22:59 +0000)]
Fix reference to non-existing @priority parameter. (#88500, Linux Walleij)
Thu Jul 25 18:58:29 2002 Owen Taylor <otaylor@redhat.com>
* glib/tmpl/threads.sgml: Fix reference to non-existing
@priority parameter. (#88500, Linux Walleij)
Owen Taylor [Thu, 25 Jul 2002 22:35:17 +0000 (22:35 +0000)]
Document the (GIConv)-1 return value on failure. (#87559, Jarek Dukat)
Thu Jul 25 17:57:07 2002 Owen Taylor <otaylor@redhat.com>
* glib/gconvert.c (g_iconv_open): Document the
(GIConv)-1 return value on failure. (#87559,
Jarek Dukat)
* glib/gconvert.c (g_iconv_open): Fix potential
problems with the assumption that (GIConv)(iconv_t)-1
is the same as (GIConv)-1.
Matthias Clasen [Mon, 15 Jul 2002 21:33:18 +0000 (21:33 +0000)]
New function to get the currently open element. (#70448)
* glib/gmarkup.h:
* glib/gmarkup.c (g_markup_parse_context_get_element): New
function to get the currently open element. (#70448)
Anders Carlsson [Fri, 5 Jul 2002 07:55:22 +0000 (07:55 +0000)]
Remove debugging message, approved by Tim Janik.
2002-07-05 Anders Carlsson <andersca@gnu.org>
* gobject.c (g_object_base_class_finalize): Remove debugging
message, approved by Tim Janik.
Sebastian Wilhelmi [Thu, 4 Jul 2002 15:19:30 +0000 (15:19 +0000)]
Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the
2002-07-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN
throughout the files, which didn't already have them. (#87312)
Sebastian Wilhelmi [Wed, 3 Jul 2002 16:43:22 +0000 (16:43 +0000)]
Made the thread flags determination tests first check for the canonical
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Made the thread flags determination tests first
check for the canonical form -pthread[s], then for other
possibilities. Also recognize some more platforms. Modeled after
patch from Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>
(#77981).
Sebastian Wilhelmi [Wed, 3 Jul 2002 15:30:46 +0000 (15:30 +0000)]
Fixed bugs in posix thread priority resolution. Also added AIX priorities.
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed bugs in posix thread priority
resolution. Also added AIX priorities. Fix from
Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
Sebastian Wilhelmi [Wed, 3 Jul 2002 10:38:49 +0000 (10:38 +0000)]
Use thr_min_stack() instead of sysconf (_SC_THREAD_STACK_MIN). if
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
the stack might be to small for any nontrivial thread. Discovered
on intel-solaris by Rajkumar Sivasamy <rajkumar.siva@wipro.com>.
Anders Carlsson [Wed, 3 Jul 2002 08:14:42 +0000 (08:14 +0000)]
Add a forgotten trailing ` in the GLIB_BINARY_AGE expression. Also fixup
2002-07-03 Anders Carlsson <andersca@gnu.org>
* configure.in: Add a forgotten trailing ` in the
GLIB_BINARY_AGE expression. Also fixup LT_CURRENT.
Sebastian Wilhelmi [Tue, 2 Jul 2002 12:41:46 +0000 (12:41 +0000)]
Improve checks for dce/posix threads to also do the right thing, if the
2002-07-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Improve checks for dce/posix threads to also do
the right thing, if the thread functions are not declared in the
pthread.h. Idea from Miroslaw Dobrzanski-Neumann
<mne@mosaic-ag.com> in #77981.
Sebastian Wilhelmi [Tue, 2 Jul 2002 07:18:48 +0000 (07:18 +0000)]
Set binary age to 0 to make it compile.
2002-07-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Set binary age to 0 to make it compile.
Anders Carlsson [Mon, 1 Jul 2002 16:56:25 +0000 (16:56 +0000)]
Up version to 2.1.0.
2002-07-01 Anders Carlsson <andersca@gnu.org>
* configure.in: Up version to 2.1.0.
Sebastian Wilhelmi [Mon, 1 Jul 2002 12:42:20 +0000 (12:42 +0000)]
Fixed ChangeLog entry
Fixed ChangeLog entry
Sebastian Wilhelmi [Mon, 1 Jul 2002 12:41:50 +0000 (12:41 +0000)]
Add parenthesis to protect macro argument. Spotted by Sam Couter"
2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/garray.h: Add parenthesis to protect macro
argument. Spotted by Sam Couter" <sam@topic.com.au>. (#86826)
Sebastian Wilhelmi [Fri, 28 Jun 2002 08:41:16 +0000 (08:41 +0000)]
In case of G_DISABLE_ASSERT replace "G_STMT_START{ }G_STMT_END" with
2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gmessages.h (g_assert, g_assert_not_reached,
g_return_if_fail, g_return_val_if_fail): In case of
G_DISABLE_ASSERT replace "G_STMT_START{ }G_STMT_END" with
"G_STMT_START{ (void)0; }G_STMT_END", because the former chokes
gcc prior to 3.0. (#86664)
Yanko Kaneti [Wed, 26 Jun 2002 08:27:48 +0000 (08:27 +0000)]
Added Bulgarian (bg).
2002-06-26 Yanko Kaneti <yaneti@declera.com>
* configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
po/
* bg.po (added): Bulgarian translation by
Borislav Aleksandrov <B.Aleksandrov@cnsys.bg>.
Andrew V. Samoilov [Wed, 19 Jun 2002 11:43:48 +0000 (11:43 +0000)]
Updated
Owen Taylor [Thu, 13 Jun 2002 20:14:43 +0000 (20:14 +0000)]
Make interval unsigned to match g_timeout_source_new(). (#82624, Tim
Thu Jun 13 16:12:04 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmain.c (struct _GTimeoutSource): Make
interval unsigned to match g_timeout_source_new().
(#82624, Tim Janik.)
* glib/gmain.c (g_timeout_prepare): Add some
extra gymnastics to avoid signed/unisgned integer
overflows.
Owen Taylor [Thu, 13 Jun 2002 20:00:58 +0000 (20:00 +0000)]
Add a note about the deficiency of Tru64 iconv. (#81699, Manuel Op de
Thu Jun 13 15:57:46 2002 Owen Taylor <otaylor@redhat.com>
* INSTALL.in: Add a note about the deficiency
of Tru64 iconv. (#81699, Manuel Op de Coul)
Owen Taylor [Tue, 11 Jun 2002 23:27:33 +0000 (23:27 +0000)]
ChangeLog fixes
Anders Carlsson [Tue, 11 Jun 2002 21:44:35 +0000 (21:44 +0000)]
Fix argument order. Fixes #82806.
2002-06-11 Anders Carlsson <andersca@gnu.org>
* gtypemodule.c: (g_type_module_complete_interface_info):
* gtypeplugin.h:
Fix argument order. Fixes #82806.
Owen Taylor [Tue, 11 Jun 2002 21:04:50 +0000 (21:04 +0000)]
tests/patterntest.c (test_compilation) A couple of 64-bit printf format
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
* tests/patterntest.c (test_compilation)
* glib/gmem.c (profiler_try_realloc): A couple
of 64-bit printf format fix from George Lebl.
* glib/gconvert.c (open_converter): Fix gsize/gint
mixup for g_iconv() arguments.
Andraz Tori [Fri, 7 Jun 2002 21:25:58 +0000 (21:25 +0000)]
Updated Slovenian translation
Christophe Merlet [Wed, 5 Jun 2002 11:31:45 +0000 (11:31 +0000)]
Updated French translation.
Jordi Mallach [Mon, 3 Jun 2002 23:24:12 +0000 (23:24 +0000)]
Updated Catalan translation.
Matthias Clasen [Mon, 3 Jun 2002 17:34:37 +0000 (17:34 +0000)]
Replace homegrown "hash" entity by standard ISO entity "num".
* glib/gwin32.c (g_win32_get_package_installation_directory):
Replace homegrown "hash" entity by standard ISO entity "num".
* gobject/gobject-docs.sgml:
* glib/glib-docs.sgml:
* glib/tmpl/macros.sgml:
* glib/tmpl/string_utils.sgml: Replace homegrown "nbsp", "hash"
and "percent" entities by standard ISO entities "nbsp", "num" and
"percnt".
Matthias Clasen [Thu, 30 May 2002 21:55:14 +0000 (21:55 +0000)]
Small formatting fixes.
* glib/tmpl/string_utils.sgml:
* glib/tmpl/threads.sgml: Small formatting fixes.
Matthias Clasen [Sun, 26 May 2002 22:46:28 +0000 (22:46 +0000)]
Remove references to nonexisting functions
* glib/gmain.c: Remove references to nonexisting functions
g_source_set_callback_closure(), g_source_poll(), g_source_add()
from docs.
* glib/gdir.c (g_dir_open): Typo fix in docs.
* glib/gasyncqueue.c (g_async_queue_lock):
(g_async_queue_unref_and_unlock): Fix markup to avoid erroneous
<link>s in docs.
* glib/gwin32.c: Escape #'s leading to erroneous <link>s in docs.
* glib/gtree.c: Replace some occurances of Gtree by GTree in docs.
* glib/gstring.c (g_string_insert_unichar): Typo fix in docs.
* glib/tmpl/conversions.sgml: Add GIConv.
* glib/tmpl/main.sgml: Fix references to nonexisting functions
g_main_loop_destroy(), g_source_add(), g_source_connect().
* glib/glib-sections.txt: Add GIConv, g_str_has_prefix, g_str_has_suffix.
* glib/tmpl/linked_lists_single.sgml:
* glib/tmpl/linked_lists_double.sgml: GListAllocator doesn't exist.
* glib/glib-docs.sgml: Declare hash entity.
* glib/tmpl/macros.sgml: Escape # in #ifdef to suppress erroneous links.
* gobject/Makefile.am, gobject/gobject-docs.sgml, gobject/tmpl/*:
* glib/Makefile.am, glib/glib-docs.sgml, glib/tmpl/*: Produce XML,
not SGML.
Havoc Pennington [Thu, 23 May 2002 15:36:53 +0000 (15:36 +0000)]
on success, close the pipes from the child. Fix from Tim.
2002-05-23 Havoc Pennington <hp@redhat.com>
* glib/gspawn.c (fork_exec_with_pipes): on success, close the
pipes from the child. Fix from Tim.
jacob berkman [Wed, 22 May 2002 23:11:13 +0000 (23:11 +0000)]
fix tyop
2002-05-22 jacob berkman <jacob@ximian.com>
* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop
Owen Taylor [Wed, 22 May 2002 19:52:41 +0000 (19:52 +0000)]
Remove notes about now-fixed-bugs.
Wed May 22 15:40:47 2002 Owen Taylor <otaylor@redhat.com>
* README.in: Remove notes about now-fixed-bugs.
* m4macros/glib-gettext.m4 acinclude.m4: Get rid
of AC_MSG_NOTICE() usage, since some broken systems
(Hi Debian!) might not be using autoconf-2.5x for
downstream packages even though we require it for
glib itself.
* INSTALL.in: Add a note about installing extra
converters for Solaris.
* glib/gutils.h (g_bit_nth_msf): Fix termination
condition. (#82582, Paolo Molaro)
Wed May 22 15:24:04 2002 Owen Taylor <otaylor@redhat.com>
* README.translators: Add from GTK+.
* *.po: Convert all po files to UTF-8.
Owen Taylor [Tue, 21 May 2002 19:53:31 +0000 (19:53 +0000)]
ue May 21 15:51:17 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: $with_libiconv, not $with_iconv.
Owen Taylor [Tue, 21 May 2002 19:09:37 +0000 (19:09 +0000)]
Move iconv tests before gettext checks. (#81999)
Mon May 20 18:02:46 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Move iconv tests before gettext
checks. (#81999)
* m4macros/glib-gettext.m4 acinclude.m4: If we can't
link to gettext, try adding in -liconv. (#80076,
Boyd Lynn Gerber)
* m4macros/glib-gettext.m4 acinclude.m4: Suppress
warnings about xgettext not being GNU gettext when
libintl wasn't found at all.
(#79016, Andrew P. Lentvorski, Jr.)
Matthias Clasen [Mon, 20 May 2002 22:59:11 +0000 (22:59 +0000)]
Added proper support for CDATA sections. Updates.
* glib/gmarkup.c (g_markup_parse_context_parse): Added
proper support for CDATA sections.
* glib/tmpl/markup.sgml: Updates.
jacob berkman [Mon, 20 May 2002 22:51:51 +0000 (22:51 +0000)]
include sys/types.h before dirent.h to build on darwin (fixes #72859)
2002-05-20 jacob berkman <jacob@ximian.com>
* glib/gdir.c: include sys/types.h before dirent.h to build on
darwin (fixes #72859)
Owen Taylor [Mon, 20 May 2002 19:58:16 +0000 (19:58 +0000)]
When printing errors, handle NULL returns from g_type_debug(). (#73559,
Mon May 20 15:57:47 2002 Owen Taylor <otaylor@redhat.com>
* gsignal.c: When printing errors, handle NULL
returns from g_type_debug(). (#73559, Laszlo Peter)
* gtype.c (type_descriptive_name_I): De-inline,
since it's only used for debugging.
Owen Taylor [Mon, 20 May 2002 19:36:58 +0000 (19:36 +0000)]
Fix double close of file descriptor on error. (#82139, Wayne Schuller)
Mon May 20 15:35:59 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (get_contents_regfile): Fix double
close of file descriptor on error. (#82139, Wayne Schuller)
* glib/gspawn.c (close_and_invalidate): Don't close
fd's that have already been closed. (Fix from Michael
Meeks, #81959)
* glib/giochannel.c (g_io_channel_close): If not flushing,
dump the contents of the write buffers, so we won't try
to write them to an invalid fd later. (Patch from Ron Steinke,
fixing #78290, Andreas Persenius.)
Matthias Clasen [Sat, 18 May 2002 22:06:54 +0000 (22:06 +0000)]
New testcases.
2002-05-18 Matthias Clasen <maclas@gmx.de>
* tests/markups/fail-36.gmarkup:
* tests/markups/fail-35.gmarkup:
* tests/markups/valid-8.gmarkup:
* tests/markups/valid-7.gmarkup:
* tests/markups/valid-6.gmarkup:
* tests/markups/valid-5.gmarkup: New testcases.
* tests/markup-test.c (passthrough_handler):
(text_handler): Don't ignore the text_len parameter.
* glib/gmarkup.c (find_current_text_end): Don't hang on embedded
nuls. (#81977)
(g_markup_parse_context_parse): Fix passthrough handling to
correctly skip processing instructions, comments, doctype
declarations and CDATA marked sections. (#81977)
Christian Rose [Sat, 18 May 2002 00:15:52 +0000 (00:15 +0000)]
Updated Swedish translation.
2002-05-18 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Tim Janik [Fri, 17 May 2002 22:49:06 +0000 (22:49 +0000)]
[merged from stable]
Sat May 18 00:44:35 2002 Tim Janik <timj@gtk.org>
[merged from stable]
* glib/tmpl/scanner.sgml: fix documentation for g_scanner_unexp_token().
Tim Janik [Fri, 17 May 2002 22:46:49 +0000 (22:46 +0000)]
[merged from stable]
Sat May 18 00:21:51 2002 Tim Janik <timj@gtk.org>
[merged from stable]
* glib/gscanner.c (g_scanner_unexp_token): fix missing cases for
expected_token.
Tor Lillqvist [Fri, 17 May 2002 21:07:59 +0000 (21:07 +0000)]
gssize and gsize as in a configure-produced glibconfig.h.
2002-05-17 Tor Lillqvist <tml@iki.fi>
* glibconfig.h.win32.in: gssize and gsize as in a
configure-produced glibconfig.h.
Tor Lillqvist [Fri, 17 May 2002 21:02:13 +0000 (21:02 +0000)]
Match new additions in a configure-produced config.h.
2002-05-17 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Match new additions in a configure-produced
config.h.
Tor Lillqvist [Fri, 17 May 2002 20:27:48 +0000 (20:27 +0000)]
Add new functions.
2002-05-17 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add new functions.
Owen Taylor [Thu, 16 May 2002 16:29:37 +0000 (16:29 +0000)]
Incorporate AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid
Thu May 16 12:24:00 2002 Owen Taylor <otaylor@redhat.com>
* acinclude.m4 m4macros/glib-gettext.m4: Incorporate
AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid
dependencies on gettext m4 files. (#81885, Hidetoshi Tajima.)
Duarte Loreto [Thu, 16 May 2002 00:29:51 +0000 (00:29 +0000)]
Updated Portuguese translation.
2002-05-16 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Alex Larsson [Tue, 14 May 2002 18:49:50 +0000 (18:49 +0000)]
New functions g_str_has_suffix and g_str_has_prefix.
2002-05-14 Alex Larsson <alexl@redhat.com>
* glib/gstrfuncs.c:
* glib/gstrfuncs.h:
New functions g_str_has_suffix and g_str_has_prefix.
* tests/string-test.c: (main):
Test the new functions.
Owen Taylor [Tue, 14 May 2002 03:26:37 +0000 (03:26 +0000)]
on May 13 23:20:00 2002 Owen Taylor <otaylor@redhat.com>
* autogen.sh (have_gettext): Add a check for GNU gettext.
(Pointed out by Dan Winship in #59386.)
Owen Taylor [Mon, 13 May 2002 15:57:25 +0000 (15:57 +0000)]
If sizeof(int) == sizeof(long) run compilation tests to determine which
Mon May 13 11:55:33 2002 Owen Taylor <otaylor@redhat.com>
* configure.in acglib.m4: If sizeof(int) == sizeof(long)
run compilation tests to determine which way gsize should
be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)
Owen Taylor [Mon, 13 May 2002 15:51:44 +0000 (15:51 +0000)]
Update from libcharset CVS. Includes additional encodings for Solaris
Mon May 13 11:42:23 2002 Owen Taylor <otaylor@redhat.com>
* glib/libcharset/*: Update from libcharset CVS.
Includes additional encodings for Solaris (#80396,
Qingjiang Yuan)
* configure.in: Add getc_unlocked to CHECK_FUNCS().
* glib/gmessages.c (strdup_convert): If
g_convert_with_fallback() fails, print the error
message to stderr the first time, then return
the original string. (#78197)
Christophe Merlet [Sun, 12 May 2002 20:07:32 +0000 (20:07 +0000)]
Updated French translation.
Naba Kumar [Fri, 10 May 2002 09:57:51 +0000 (09:57 +0000)]
Added "hi" to ALL_LINGUAS. New Hindi translation added.
* configure.in: Added "hi" to ALL_LINGUAS.
* po/hi.po: New Hindi translation added.
Michael Natterer [Wed, 8 May 2002 15:19:45 +0000 (15:19 +0000)]
fixed yesterdays fix for cross compiling: simply check the variable
2002-05-08 Michael Natterer <mitch@gimp.org>
* configure.in: fixed yesterdays fix for cross compiling: simply
check the variable "cross_compiling" which gets set by autoconf.
Matthias Clasen [Tue, 7 May 2002 21:45:21 +0000 (21:45 +0000)]
Report unfinished entity references as errors rather than running into an
* glib/gmarkup.c (unescape_text): Report unfinished entity
references as errors rather than running into an assert. (#80441)
Owen Taylor [Tue, 7 May 2002 19:06:14 +0000 (19:06 +0000)]
Fix include order for config.h (#71704, Morten Welinder)
Tue May 7 15:03:02 2002 Owen Taylor <otaylor@redhat.com>
* glib-genmarshal.c: Fix include order for config.h (#71704,
Morten Welinder)
Michael Natterer [Tue, 7 May 2002 15:41:24 +0000 (15:41 +0000)]
added a new conditional CROSS_COMPILING which indicates ($build != $host).
2002-05-07 Michael Natterer <mitch@gimp.org>
* configure.in: added a new conditional CROSS_COMPILING which
indicates ($build != $host). If it is set, look for
glib-genmarshal in PATH. Error out if it was not found.
2002-05-07 Michael Natterer <mitch@gimp.org>
* Makefile.am: use the glib-genmarshal found at configure time
if CROSS_COMPILING is set, use the one which was just built
otherwise.
Owen Taylor [Tue, 7 May 2002 15:32:08 +0000 (15:32 +0000)]
Fixes for #79347, Ron Arts.
Tue May 7 11:24:22 2002 Owen Taylor <otaylor@redhat.com>
Fixes for #79347, Ron Arts.
* glib/gqsort.c (g_qsort_with_data): Handle 0 elements,
don't g_return_if_fail().
* tests/qsort-test.c (main): Add a 0 element test.
* glib/garray.c (g_[ptr_]array_sort_with[_data]):
Remove invalid assertions that array->pdata != NULL ..
it's NULL for 0 elements which is a valid case.
Owen Taylor [Mon, 6 May 2002 20:08:54 +0000 (20:08 +0000)]
Exclude OSF from alpha definition of G_BREAKPOINT(), since the assembler
Mon May 6 16:00:41 2002 Owen Taylor <otaylor@redhat.com>
* glib/gbacktrace.h: Exclude OSF from alpha definition
of G_BREAKPOINT(), since the assembler apparently
doesn't support bpt. (#77852, Gareth Pierce) [from stable]
Owen Taylor [Mon, 6 May 2002 20:08:17 +0000 (20:08 +0000)]
[ merged from stable ]
Mon May 6 16:06:23 2002 Owen Taylor <otaylor@redhat.com>
[ merged from stable ]
* gobject.c: Remove PROPERTIES_CHANGED enumeration
value that wasn't used any more. (#78833,
Matthias Clasen)
* gboxed.c (g_boxed_copy): Remove check on data[2]
that no longer exists. (#80814, Daniel Elstner)
Owen Taylor [Mon, 6 May 2002 16:07:03 +0000 (16:07 +0000)]
[ merged from stable ]
Mon May 6 11:48:08 2002 Owen Taylor <otaylor@redhat.com>
[ merged from stable ]
* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
* m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when
compiling "what went wrong" test case. (#79330)
* m4macros/glib-2.0.m4: Remove reference to editing
pkg-config script. (From Jim Gettys)
* configure.in: (Look for dyld interfaces before dlopen()
since OS X can have both. Patch from Jacob Berkman,
#80438)
Pablo Saratxaga [Mon, 6 May 2002 11:02:57 +0000 (11:02 +0000)]
updated Vietnamese file
jacob berkman [Wed, 1 May 2002 15:21:07 +0000 (15:21 +0000)]
fix typo on 64-bit printf formatting string configure message (fixes
2002-05-01 jacob berkman <jacob@ximian.com>
* configure.in: fix typo on 64-bit printf formatting string
configure message (fixes #80389)
Sebastian Wilhelmi [Wed, 1 May 2002 14:39:48 +0000 (14:39 +0000)]
Clarify recursion issues with GMutex. (#78171)
2002-05-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/tmpl/threads.sgml: Clarify recursion issues with
GMutex. (#78171)
Duarte Loreto [Mon, 29 Apr 2002 23:34:46 +0000 (23:34 +0000)]
Converted Portuguese translation to UTF-8.
2002-04-30 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Converted Portuguese translation to UTF-8.
Pablo Saratxaga [Mon, 29 Apr 2002 08:05:44 +0000 (08:05 +0000)]
Added Vietnamese file
Christophe Merlet [Sun, 28 Apr 2002 19:40:57 +0000 (19:40 +0000)]
Updated French translation.
Matthias Clasen [Tue, 23 Apr 2002 23:18:37 +0000 (23:18 +0000)]
Updates.
* gobject/gobject-sections.txt:
* gobject/tmpl/gtype.sgml: Updates.
Andraz Tori [Tue, 23 Apr 2002 12:58:33 +0000 (12:58 +0000)]
Updated Slovenian translation
Matthias Clasen [Sat, 20 Apr 2002 23:46:05 +0000 (23:46 +0000)]
Fix the description of g_string_assign. (#78728)
* glib/tmpl/strings.sgml: Fix the description of g_string_assign. (#78728)
Tor Lillqvist [Fri, 19 Apr 2002 20:26:04 +0000 (20:26 +0000)]
Add Windows-specific note to the gtk-doc comment.
2002-04-19 Tor Lillqvist <tml@iki.fi>
* glib/gspawn.c (g_spawn_command_line_sync): Add Windows-specific
note to the gtk-doc comment.
* glib/gspawn-win32.c: Remove the copy-pasted gtk-doc comment
blocks. It's enough to have them in gspawn.c.
Matthias Clasen [Thu, 18 Apr 2002 22:03:38 +0000 (22:03 +0000)]
s/<!>/<!-- -->/g throughout the documentation to bring the produced
* glib/tmpl/error_reporting.sgml:
* glib/tmpl/threads.sgml:
* glib/tmpl/arrays_pointer.sgml:
* glib/tmpl/arrays_byte.sgml:
* glib/tmpl/memory_chunks.sgml: s/<!>/<!-- -->/g throughout the
documentation to bring the produced Docbook closer to XML.
Sebastian Wilhelmi [Thu, 18 Apr 2002 11:42:01 +0000 (11:42 +0000)]
Fixed typo. (#78985)
2002-04-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gthread/gthread-impl.c (g_thread_init): Fixed typo. (#78985)
Vincent van Adrighem [Wed, 17 Apr 2002 23:42:59 +0000 (23:42 +0000)]
Dutch translation updated by Ronald Hummelink.
2002-04-18 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Dutch translation updated by Ronald Hummelink.
Sebastian Wilhelmi [Sat, 13 Apr 2002 10:08:31 +0000 (10:08 +0000)]
Unlock the pool for all threads leaving it. (#78348)
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
for all threads leaving it. (#78348)
Matthias Clasen [Wed, 10 Apr 2002 23:09:15 +0000 (23:09 +0000)]
Remove manual UTF-8 -> Latin1 conversion for stuff fed to g_print.
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
stuff fed to g_print.
Sebastian Wilhelmi [Mon, 8 Apr 2002 08:36:35 +0000 (08:36 +0000)]
Use gsize instead of gint. From Miroslaw Dobrzanski-Neumann
2002-04-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
gint. From Miroslaw Dobrzanski-Neumann
<mne@mosaic-ag.com>. (#77982)
Yuri Syrota [Mon, 8 Apr 2002 06:53:18 +0000 (06:53 +0000)]
Updated Ukrainian translation
Stanislav Brabec [Sun, 7 Apr 2002 23:09:08 +0000 (23:09 +0000)]
Added Czech (cs) to ALL_LINGUAS.
2002-04-08 Stanislav Brabec <utx@penguin.cz>
* cs.po: Added Czech (cs) to ALL_LINGUAS.
Stanislav Brabec [Sun, 7 Apr 2002 13:22:12 +0000 (13:22 +0000)]
Added Czech translation from Petr Pytelka <pyta@lightcomp.cz>.
2002-04-07 Stanislav Brabec <utx@penguin.cz>
* cs.po: Added Czech translation from Petr Pytelka
<pyta@lightcomp.cz>.
Hasbullah Bin Pit [Sun, 31 Mar 2002 21:51:42 +0000 (21:51 +0000)]
Added Malay (ms)to ALL_LINGUAS.
2002-03-31 Hasbullah Bin Pit <sebol@ikhlas.com>
* configure.in: Added Malay (ms)to ALL_LINGUAS.
Kwok-Koon Cheung [Sat, 30 Mar 2002 21:04:02 +0000 (21:04 +0000)]
Updated traditional Chinese translation
Tor Lillqvist [Fri, 29 Mar 2002 19:28:29 +0000 (19:28 +0000)]
Add g_convert_init.
2002-03-29 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_convert_init.
Owen Taylor [Thu, 28 Mar 2002 23:40:18 +0000 (23:40 +0000)]
Released 2.0.1
Thu Mar 28 18:25:14 2002 Owen Taylor <otaylor@redhat.com>
* Released 2.0.1
* configure.in: Version 2.0.1, interface, binary age 1.
Owen Taylor [Thu, 28 Mar 2002 23:24:23 +0000 (23:24 +0000)]
Remove warning about g_print, etc, encoding.
Thu Mar 28 18:22:53 2002 Owen Taylor <otaylor@redhat.com>
* README: Remove warning about g_print, etc, encoding.
* NEWS: Updates.
* glib/gmessages.c (g_log_default_handler): Use %lu
(plus a cast) when printing out pid_t arguments.
(#76770, Morten Welinder)
* glib/gstrfuncs.c (g_strdup_vprintf): Check the
result of vasprintf(), return NULL on failure.
(#76802, Akira Tagoh)
* tests/testglib.c (TEST): Supress a warning with
some GCC versions.
Tim Janik [Thu, 28 Mar 2002 20:12:32 +0000 (20:12 +0000)]
convert prtinf() strings to local charset when writing them to stdout or
Thu Mar 28 20:31:51 2002 Tim Janik <timj@gtk.org>
* glib/gmessages.c:
(g_print):
(g_printerr): convert prtinf() strings to local charset
when writing them to stdout or stderr.
Valek Frob [Thu, 28 Mar 2002 10:44:22 +0000 (10:44 +0000)]
Updated russian translation.
Tim Janik [Wed, 27 Mar 2002 17:57:30 +0000 (17:57 +0000)]
major cleanups. introduced _g_log_fallback_handler() to handle recursive
Wed Mar 27 18:42:22 2002 Tim Janik <timj@gtk.org>
* gmessages.[hc]:
major cleanups. introduced _g_log_fallback_handler() to handle
recursive messages which really doesn't call any GLib functions.
this allowes the default handler to use normal GLib functions and
also fixes user supplied log level handlers.
fixed locking issues, based on a patch from Sebastian Willhelmi,
attached to #74356. translate log messages from UTF-8, based
on the same patch. save fatal and recursion flags across flag
loop. use new integer format code from above patch.
move GLib functions out of locked mutex state to avoid deadlocks.
move the level prefix and filedescriptor logic into mklevel_prefix().
move _g_debug_init() into a place where we can figure and handle
recursion.
Owen Taylor [Tue, 26 Mar 2002 20:32:30 +0000 (20:32 +0000)]
Add explicit cast of G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA to
Tue Mar 26 15:21:47 2002 Owen Taylor <otaylor@redhat.com>
* gsignal.h (g_signal_handlers_*_by_func): Add explicit
cast of G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA to
GSignalMatchType so that these macros work for C++.
(#76454, Damien Sandras)
Owen Taylor [Mon, 25 Mar 2002 23:23:35 +0000 (23:23 +0000)]
Fix various bugs and excessive stack usage that crept in the conversion
Mon Mar 25 17:51:05 2002 Owen Taylor <otaylor@redhat.com>
* glib-mkenums.in (parse_entries): Fix various bugs and
excessive stack usage that crept in the conversion from
gtk-mkenums. (#74431)
Owen Taylor [Mon, 25 Mar 2002 23:18:13 +0000 (23:18 +0000)]
Remove __const__ qualifier from __asm__ statements... GCC since at least
Mon Mar 25 18:13:06 2002 Owen Taylor <otaylor@redhat.com>
* glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
qualifier from __asm__ statements... GCC since at least
2.96 has assumed no side effects automaticaly, and gcc-3.1
will warn about this usage. (#73308, Cody Russell)
Owen Taylor [Mon, 25 Mar 2002 22:26:53 +0000 (22:26 +0000)]
Wrap setting freed instance memory to 0xaa in #ifdef G_ENABLE_DEBUG
Mon Mar 25 17:25:57 2002 Owen Taylor <otaylor@redhat.com>
* gtype.c (g_type_free_instance): Wrap setting freed instance
memory to 0xaa in #ifdef G_ENABLE_DEBUG
Sven Neumann [Mon, 25 Mar 2002 11:55:14 +0000 (11:55 +0000)]
Fixed documentation about unused struct fields and added a note about
2002-03-25 Sven Neumann <sven@gimp.org>
* glib/tmpl/scanner.sgml: Fixed documentation about unused struct
fields and added a note about proper g_scanner_unexp_token() usage.
Owen Taylor [Fri, 22 Mar 2002 23:01:01 +0000 (23:01 +0000)]
Fix problem where if g_mem_chunk_reset() is called on an alloc-only
Fri Mar 22 17:59:27 2002 Owen Taylor <otaylor@redhat.com>
* glib/gmem.c (g_mem_chunk_reset): Fix problem where
if g_mem_chunk_reset() is called on an alloc-only
memchunk, then a useles GTree was created.
Yuri Syrota [Fri, 22 Mar 2002 18:30:55 +0000 (18:30 +0000)]
Updated Ukrainian translation
Tim Janik [Thu, 21 Mar 2002 00:34:05 +0000 (00:34 +0000)]
fix extraneous include.
Thu Mar 21 01:28:14 2002 Tim Janik <timj@gtk.org>
* gsignal.[hc]:
* gobject.[hc]: fix extraneous include.
Tim Janik [Thu, 21 Mar 2002 00:24:41 +0000 (00:24 +0000)]
fix extraneous include.
Thu Mar 21 01:28:14 2002 Tim Janik <timj@gtk.org>
* gsignal.h: fix extraneous include.
Owen Taylor [Wed, 20 Mar 2002 23:24:22 +0000 (23:24 +0000)]
Try to work around segfaults on Solaris if NULL is passed for outbuf...
Wed Mar 20 18:20:21 2002 Owen Taylor <otaylor@redhat.com>
* glib/gconvert.c (open_converter): Try to work around segfaults
on Solaris if NULL is passed for outbuf... supposedly gchar
*outbuf = NULL... &outbuf works. (#74336, Lauri Alanko)