Blame ChangeLog.pre-2-2

Packit ae235b
Fri Dec 20 10:45:29 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* === Released 2.2.0 ===
Packit ae235b
Packit ae235b
	* INSTALL.in: --enable-included-printf, not --enable-trio.
Packit ae235b
	(Matthias Clasen)
Packit ae235b
Packit ae235b
Fri Dec 20 09:52:15 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* INSTALL.in: Document --enable-trio, --disable-mempools,
Packit ae235b
	--enable-debug. Include docs on cross compilation.
Packit ae235b
Packit ae235b
	* NEWS: Update.
Packit ae235b
Packit ae235b
	* configure.in: Version 2.2.0, interface age 0.
Packit ae235b
Packit ae235b
Fri Dec 20 09:37:27 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
Packit ae235b
	after setting g_threads_got_initialized. (#101624, 
Packit ae235b
	Alceste Scalas, Sebastian Wilhelmi)
Packit ae235b
Packit ae235b
Wed Dec 18 16:19:08 2002  Manish Singh  <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib/gtypes.h: new endian asm for ia64 and x86_64, general
Packit ae235b
	reorg and clean up. New implementation of GUINT16_SWAP_LE_BE_CONSTANT()
Packit ae235b
	that should optimize better. (#101318)
Packit ae235b
Packit ae235b
2002-12-17  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	Improvement based on suggestion by Thorsten Maerz:
Packit ae235b
Packit ae235b
	* glib/giowin32.c (struct _GIOWin32Channel): Don't need thread_handle.
Packit ae235b
Packit ae235b
	(create_thread): We can close thread handle right away, it isn't
Packit ae235b
	used for anything.
Packit ae235b
Packit ae235b
	(read_thread, select_thread): Thus, don't close it here.
Packit ae235b
Packit ae235b
	Fix #57690, partial fix for #57689:
Packit ae235b
	
Packit ae235b
	* glib/giowin32.c (g_io_win32_set_flags): Don't set the GError,
Packit ae235b
	instead call g_warning().
Packit ae235b
Packit ae235b
	(g_io_win32_fd_get_flags_internal): New function, sets the
Packit ae235b
	is_readable, is_writeable and is_seekable flags based on the
Packit ae235b
	actual access modes of the underlying Win32 HANDLE, by trying
Packit ae235b
	Win32 ReadFile() and WriteFile() of zero bytes, and
Packit ae235b
	PeekNamedPipe(). Should work for disk files and pipes. For devices
Packit ae235b
	(consoles) unfortunately not.
Packit ae235b
Packit ae235b
	(g_io_win32_fd_get_flags): Don't set the
Packit ae235b
	G_IO_FLAG_IS_{READ,WRITE}ABLE flags, g_io_channel_get_flags()
Packit ae235b
	already does. Call g_io_win32_fd_get_flags_internal() to set the
Packit ae235b
	is_* flags.
Packit ae235b
Packit ae235b
	(g_io_win32_msg_get_flags, g_io_win32_sock_get_flags): Splice the
Packit ae235b
	generic g_io_win32_get_flags() into these specific functions, as
Packit ae235b
	they need to do different things. Not implemented yet, though.
Packit ae235b
Packit ae235b
	(g_io_channel_win32_new_fd_internal): New function, to avoid
Packit ae235b
	duplicate fstat() calls. Most code from g_io_channel_win32_new_fd() 
Packit ae235b
	moved here. Call g_io_win32_fd_get_flags_internal() to set the
Packit ae235b
	is_* flags.
Packit ae235b
Packit ae235b
	(g_io_channel_win32_new_fd, g_io_channel_unix_new): Call
Packit ae235b
	g_io_channel_win32_new_fd_internal().
Packit ae235b
Packit ae235b
	(g_io_win32_no_seek): Remove. Don't set is_seekable for those
Packit ae235b
	channel types.
Packit ae235b
Packit ae235b
Mon Dec 16 17:31:50 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* === Released 2.1.5 ===
Packit ae235b
Packit ae235b
	* configure.in: Version 2.1.5, interface age 2.
Packit ae235b
Packit ae235b
	* NEWS: Updated.
Packit ae235b
Packit ae235b
Mon Dec 16 14:58:33 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Add a hack to mostly deal with
Packit ae235b
	problems in support of -pthread and -lpthread;
Packit ae235b
	pass -lpthread (for linux) or -Wc,-pthread (for
Packit ae235b
	other platforms) to libtool when linking libgthread. 
Packit ae235b
	(#100697)
Packit ae235b
Packit ae235b
2002-12-16  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/gspawn-win32.c (do_spawn): Fix potential heap
Packit ae235b
	corruption. Sometimes called g_free() on string literal.
Packit ae235b
Packit ae235b
Sun Dec 15 19:51:58 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not 
Packit ae235b
	DATADIR.
Packit ae235b
Packit ae235b
Sun Dec 15 19:22:58 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: Restore a missing AC_SUBST()
Packit ae235b
	for DATADIRNAME. (Found by Kjartan Maraas)
Packit ae235b
Packit ae235b
Sun Dec 15 11:24:29 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: Actually set INTLLIBS
Packit ae235b
	when needed. (Reported by Tor Lillqvist)
Packit ae235b
Packit ae235b
2002-12-15  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/glib.def: Add g_rand_init.
Packit ae235b
Packit ae235b
	* config.h.win32.in: Slight update to match what is currently
Packit ae235b
	produced by configure.
Packit ae235b
Packit ae235b
Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
Packit ae235b
	same non-posix getpwuid_r signature as AIX. 
Packit ae235b
	(#100756, Kai Poitschke)
Packit ae235b
Packit ae235b
Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gthread.h: Mark the contents of the strucures
Packit ae235b
	in this file /*< private >*/
Packit ae235b
Packit ae235b
	* glib/gthread.[ch]: Rename the 'write' field of the
Packit ae235b
	structure to 'have_writer' to avoid any possible
Packit ae235b
	conflict with system headers. (#90549, Morten Welinder)
Packit ae235b
Packit ae235b
Sat Dec 14 20:11:41 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/libcharset/{localcharset.[ch] libcharset-glib.patch}
Packit ae235b
	glib/gutf8.c: Break _g_locale_charset() into two pieces 
Packit ae235b
	- a fast "raw" piece, and a slow "unalias pieces". 
Packit ae235b
	Always call the "raw" piece, and call the unalias bit
Packit ae235b
	if it changes. Use a per-thread cache. (#79529)
Packit ae235b
Packit ae235b
2002-12-15  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* configure.in: Set TRIO_LIBS when building with trio.
Packit ae235b
Packit ae235b
	* glib-2.0.pc.in (Libs): Add @TRIO_LIBS@.
Packit ae235b
Packit ae235b
	* glib/trio/Makefile.am (libtrio_la_LIBADD): Use @TRIO_LIBS@.
Packit ae235b
Packit ae235b
	* glib/trio/glibtrio.h: New file, redefining all trio symbols to
Packit ae235b
	fall into the _G/_g_ private glib namespace.
Packit ae235b
Packit ae235b
	* glib/trio/Makefile.am (libtrio_la_SOURCES): Add glibtrio.h
Packit ae235b
Packit ae235b
	* glib/trio/trionan.c: 
Packit ae235b
	* glib/trio/triostr.c: 
Packit ae235b
	* glib/trio/trio.c: Include glibtrio.h
Packit ae235b
Packit ae235b
	* glib/gprintfint.h: 
Packit ae235b
	* glib/trio/trionan.c: 
Packit ae235b
	* glib/trio/triostr.c: 
Packit ae235b
	* glib/trio/trio.c: Include glibtrio.h
Packit ae235b
Packit ae235b
Fri Dec 13 17:10:21 2002  Manish Singh  <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib/gscanner.c (g_scanner_unexp_token): Fix typo. Missing '%'
Packit ae235b
	in my last commit.
Packit ae235b
Packit ae235b
Thu Dec 12 23:08:29 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	Fixes from Johannes Stezenbach
Packit ae235b
Packit ae235b
	* configure.in: When adding extra libraries to $LIBS for
Packit ae235b
	tests, always put them at the front, since that's how
Packit ae235b
	they'll be used in the actual Makefiles.
Packit ae235b
Packit ae235b
	* configure.in: Add a couple of missing ','s in AC_LINK_IFELSE()
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: Remove a stray setting of $LIBS.
Packit ae235b
Packit ae235b
Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Allow not setting glib_cv_long_long_format
Packit ae235b
	when cross-compiling since we assume other things that
Packit ae235b
	will cause us to pull in Trio anyways.
Packit ae235b
Packit ae235b
	* configure.in: long_long_format is always ll for trio.
Packit ae235b
	
Packit ae235b
	* configure.in: Error out if --disable-trio is specified
Packit ae235b
	but the C library doesn't have the necessary features.
Packit ae235b
Packit ae235b
2002-12-13  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
Packit ae235b
Packit ae235b
	* tests/string-test.c: Add a test for positional parameters in
Packit ae235b
	g_snprintf().
Packit ae235b
Packit ae235b
Thu Dec 12 14:58:55 2002  Manish Singh  <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: pull in trio if host printf doesn't have a known
Packit ae235b
	way of printing 64-bit ints.
Packit ae235b
Packit ae235b
	* glib/gmacros.h: remove extra whitespace at the end
Packit ae235b
Packit ae235b
	* glib/gscanner.c (g_scanner_unexp_token): use G_GUINT64_FORMAT
Packit ae235b
	instead of hardcoding "%llu"
Packit ae235b
Packit ae235b
	* tests/testglib.c: remove obsolete conditionals using G_HAVE_GINT64,
Packit ae235b
	we always have it now.
Packit ae235b
Packit ae235b
	* tests/type-test.c: same as above, and for G_G[U]INT64_FORMAT as
Packit ae235b
	well.
Packit ae235b
Packit ae235b
Thu Dec 12 13:52:58 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: AC_PREREQ(2.53) here; convinces
Packit ae235b
	Debian's wrappers to use the right autoconf for atk, etc.
Packit ae235b
	(Reported by Jody Goldberg)
Packit ae235b
Packit ae235b
2002-12-11  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/gtimer.c (g_timer_elapsed): Fix off-by-one error. (#100853)
Packit ae235b
Packit ae235b
	* glib/gfileutils.c (g_file_test): Bypass extra test for root on
Packit ae235b
	Win32.
Packit ae235b
Packit ae235b
	* glib/glib.def: Add g_{get,set}_application_name.
Packit ae235b
Packit ae235b
Wed Dec 11 17:53:34 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* === Released 2.1.4 ===
Packit ae235b
Packit ae235b
	* NEWS: Updates.
Packit ae235b
Packit ae235b
Wed Dec 11 17:49:15 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: Unset 
Packit ae235b
	ac_cv_func_bind_textdomain_codeset before calling
Packit ae235b
	AC_CHECK_FUNCS(bind_textdomain_codeset) again.
Packit ae235b
Packit ae235b
	* configure.in: Remove duplicate call to
Packit ae235b
	AC_CHECK_FUNCS(bind_textdomain_codeset)
Packit ae235b
Packit ae235b
2002-12-11  Pauli Virtanen <pauli.virtanen@hut.fi>
Packit ae235b
Packit ae235b
	* configure.in: Added "fi" to ALL_LINGUAS.
Packit ae235b
Packit ae235b
Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
Packit ae235b
	a helper for adding "must be set when cross-compiling"
Packit ae235b
	errors.
Packit ae235b
Packit ae235b
	* configure.in: For all cached variables without defaults,
Packit ae235b
	error out if they aren't set.
Packit ae235b
Packit ae235b
Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Also assume AC_LINK_IFELSE() is
Packit ae235b
	OK when cross-compiling for the libs checks, and for
Packit ae235b
	the sched_get_priority_min() check.
Packit ae235b
Packit ae235b
	* configure.in: Add cached value glib_cv_use_pid_surrogate.
Packit ae235b
	
Packit ae235b
Wed Dec 11 15:10:25 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Factor out repeated thread test into
Packit ae235b
	a m4_define(); when cross-compiling, assume that 
Packit ae235b
	AC_LINK_IFELSE() is good enough for thinking that
Packit ae235b
	-pthread[s] is OK. (More of #58786)
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: Fix typo. (Manish Singh)
Packit ae235b
Packit ae235b
Wed Dec 11 14:28:50 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Version 2.1.4, interface age 1.
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: Major rewrite; remove leftovers
Packit ae235b
	from building intl/, prefer libintl if both libc and libintl 
Packit ae235b
	have dgettext and libintl also has bind_textdomain_codeset().
Packit ae235b
	(#70627)
Packit ae235b
Packit ae235b
	* configure.in acinclude.m4: Use an include to avoid having 
Packit ae235b
	to duplicate the gettext macros between glib-gettext.m4
Packit ae235b
	and acinclude.m4.
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: Do some tricks so that configure.in 
Packit ae235b
	can use macros under hidden names, but aclocal will still 
Packit ae235b
	find them when installed.
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4: Add AM_GLIB_DEFINE_LOCALEDIR
Packit ae235b
	to encapsulate install location of catalog files.
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4 (AM_GLIB_DEFINE_LOCALEDIR):
Packit ae235b
	Fix bug where if --prefix wasn't set on the configure line,
Packit ae235b
	GLib would look for translations in NONE/share/locale.
Packit ae235b
Packit ae235b
Wed Dec 11 11:11:44 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/grand.c: Include string.h, supress a warning.
Packit ae235b
Packit ae235b
2002-12-10  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib/grand.c (g_rand_int_range): Improve generation of
Packit ae235b
	pseudo-random integers. (#99720, Morten Welinder <terra@diku.dk>)
Packit ae235b
Packit ae235b
	* README.in, docs/reference/glib/running.sgml,
Packit ae235b
	docs/reference/glib/tmpl/random_numbers.sgml,
Packit ae235b
	docs/reference/glib/changes.sgml: Added notes about the new
Packit ae235b
	algorithm.
Packit ae235b
Packit ae235b
2002-12-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: use 0 instead of $defattr, as it isn't defined
Packit ae235b
	anymore on platforms using -pthread and linux, where this is used,
Packit ae235b
	only uses 0 anyway and not "pthread_attr_default".
Packit ae235b
Packit ae235b
Sun Dec  8 23:36:12 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gfileutils.c (g_file_test): Guard against
Packit ae235b
	the POSIX allowed behavior where access (file, X_OK)
Packit ae235b
	succeeds for uid==0 when no executable bits are set.
Packit ae235b
Packit ae235b
	* glib/gfileutils.c (g_file_test): Add doc notes
Packit ae235b
	about the possibility of race conditions, and the
Packit ae235b
	fact that EXISTS and IS_EXECUTABLE give results
Packit ae235b
	for the real uid not the effective user ID.
Packit ae235b
	(#81854, Morten Welinder.)
Packit ae235b
Packit ae235b
Fri Dec  6 14:34:42 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	Avoid literal UTF-8. (Allow it to build with 
Packit ae235b
	IRIX cc, #72757, Tomas Ogren)
Packit ae235b
Packit ae235b
	* tests/patterntest.c (main): Convert literal 
Packit ae235b
	iso-8859-1 high bit characters in tests to
Packit ae235b
	string escapes.
Packit ae235b
Packit ae235b
	* glib/gunichartable.h glib/gen-unicode-tables.pl:
Packit ae235b
	Use hex \xMN escapes rather than literal UTF-8
Packit ae235b
	for casefold tables.
Packit ae235b
Packit ae235b
	* configure.in: AC_PREREQ(2.53). needed for recent
Packit ae235b
	GLIB_SIZEOF() changes.
Packit ae235b
Packit ae235b
Fri Dec  6 12:40:00 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/libcharset/Makefile.am (EXTRA_DIST): Don't
Packit ae235b
	distribute ref-add/del.sed., fixing problem with
Packit ae235b
	srcdir != destdir. (#99813, Phuc LeHong)
Packit ae235b
Packit ae235b
Fri Dec  6 12:31:30 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
 
Packit ae235b
 	* configure.in: chmod 0755 scripts in AC_OUTPUT(), since 
Packit ae235b
 	install -c won't necessarily do that. (#74376, Martin
Packit ae235b
	Gansser, Joshua Weage)
Packit ae235b
 
Packit ae235b
Thu Dec  5 16:05:55 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Use AC_LINK_IFELSE(), not AC_TRY_RUN()
Packit ae235b
	for va_copy(), __va_copy() checks.
Packit ae235b
Packit ae235b
	* configure.in: When there is a reasonable default,
Packit ae235b
	provide that in the 3rd argument of AC_TRY_RUN(),
Packit ae235b
	instead of just leaving the 3rd argument empty.
Packit ae235b
Packit ae235b
2002-12-05  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
Packit ae235b
	info into two paragraphs.
Packit ae235b
Packit ae235b
Thu Dec  5 15:43:46 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Fix multiple problems with the programs
Packit ae235b
	in the argument of AC_TRY_RUN() having preprocessor
Packit ae235b
	defines not in the first column.
Packit ae235b
Packit ae235b
Thu Dec  5 15:24:14 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	Start of fixes for cross-compilation. Based on
Packit ae235b
	patches from Dimi Shahbaz, Dan Kegel, Johannes Stezenbach,
Packit ae235b
	Amy Lin. (#58786)
Packit ae235b
Packit ae235b
	* configure.in: Don't run the Digital-Unix 4 -std1 check
Packit ae235b
	when cross_compiling.
Packit ae235b
Packit ae235b
	* configure.in: Use AC_TRY_COMPILE() rather than 
Packit ae235b
	AC_TRY_RUN() for inline checks. (Daniel Egger)
Packit ae235b
Packit ae235b
	* configure.in: use AC_CHECK_SIZEOF rather than
Packit ae235b
	GLIB_SIZEOF for size_t. Remove unused checks for
Packit ae235b
	size of ptrdiff_t/intmax_t.
Packit ae235b
Packit ae235b
	* acglib.m4: Resync GLIB_SIZEOF of to the current
Packit ae235b
	AC_CHECK_SIZEOF, which handles cross-compilation.
Packit ae235b
Packit ae235b
	* acglib.m4: Remove no longer needed GLIB_SYSDEFS(),
Packit ae235b
	add GLIB_CHECK_VALUE() as a wrapper around the
Packit ae235b
	amazing _AC_COMPUTE_INT() autoconf 2.5x internal.
Packit ae235b
Packit ae235b
	* configure.in: Redo the POLL* value checks in a
Packit ae235b
	cross-compilation friendly way.
Packit ae235b
Packit ae235b
Thu Dec  5 15:28:37 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gtimer.c: Include glibconfig.h early so
Packit ae235b
	that we include <windows.h> when needed.
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c: Fix typo.
Packit ae235b
Packit ae235b
Tue Dec  3 21:10:28 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Add 3rd argument to remaining AC_DEFINES(),
Packit ae235b
	so we can get rid of acconfig.h. (#76334, Daniel Egger)
Packit ae235b
Packit ae235b
	* acconfig.h: Removed.
Packit ae235b
Packit ae235b
Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/*.c: Patch from Sven Neumann to make the
Packit ae235b
	include order consistent. (#71704)
Packit ae235b
Packit ae235b
2002-12-03  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* configure.in: Check that strlcpy behaves as per the OpenBSD 
Packit ae235b
	man page before wrapping it.  (#53933)
Packit ae235b
Packit ae235b
2002-12-03  Frederic Crozat  <fcrozat@mandrakesoft.com>
Packit ae235b
Packit ae235b
	* glib/gunicollate.c: (g_utf8_collate_key):
Packit ae235b
	Fix typo from previous commit
Packit ae235b
Packit ae235b
Tue Dec  3 01:05:00 2002  James M. Cape  <jcape@ignore-your.tv>
Packit ae235b
Packit ae235b
	* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key):
Packit ae235b
	Check for NULL before doing anything.
Packit ae235b
Packit ae235b
Mon Dec  2 16:34:13 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* === Released 2.1.3 ===
Packit ae235b
Packit ae235b
	* NEWS: Updated.
Packit ae235b
Packit ae235b
	[ Unmerged change from stable from May 16 ]
Packit ae235b
Packit ae235b
	* autogen.sh: Remove check for GNU gettext, since it
Packit ae235b
	was causing problems for Solaris CVS builds.
Packit ae235b
	(#81885, Hidetoshi Tajima.)
Packit ae235b
Packit ae235b
Tue Nov 26 09:51:43 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_strchomp): Avoid non-ANSI pointer
Packit ae235b
	comparison. (#54344, Morten Welinder)
Packit ae235b
Packit ae235b
	* tests/strfunc-test.c (main): Add tests for strchomp().
Packit ae235b
Packit ae235b
2002-11-30  Ole Laursen  <olau@hardworking.dk>
Packit ae235b
Packit ae235b
	* configure.in: Added "da" to ALL_LINGUAS.
Packit ae235b
Packit ae235b
2002-11-29  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_ascii_strtoull): It is a 2.2 addition.
Packit ae235b
Packit ae235b
	* glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.
Packit ae235b
Packit ae235b
	* glib/gutils.c (g_get_application_name): Mark as 2.2. addition.
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition. 
Packit ae235b
Packit ae235b
2002-11-28  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gutils.c:
Packit ae235b
	* glib/gtree.c: 
Packit ae235b
	* glib/gstring.c: 
Packit ae235b
	* glib/gstrfuncs.c: 
Packit ae235b
	* glib/giochannel.c: Move some docs inline, and add deprecation
Packit ae235b
	information. To see the list of affected functions, grep for
Packit ae235b
	"Deprecated:". 
Packit ae235b
Packit ae235b
	* configure.in: Fix the definitions around printf: either we use
Packit ae235b
	system printf in which case HAVE_VASPRINTF, HAVE_C99_VSNPRINTF and
Packit ae235b
	HAVE_UNIX98_PRINTF have already been determined by earlier tests,
Packit ae235b
	or we use the included printf, in which case we know that these
Packit ae235b
	three can be defined as 1.  (#99826)
Packit ae235b
Packit ae235b
	* glib/gutf8.c (g_utf8_strreverse): 
Packit ae235b
	* glib/gstrfuncs.c (g_str_has_suffix): 
Packit ae235b
	(g_str_has_prefix): 
Packit ae235b
	* glib/gprintf.c (g_printf): 
Packit ae235b
	(g_fprintf): 
Packit ae235b
	(g_sprintf): 
Packit ae235b
	(g_vprintf): 
Packit ae235b
	(g_vfprintf): 
Packit ae235b
	(g_vsprintf): 
Packit ae235b
	* glib/gmarkup.c (g_markup_parse_context_get_element): 
Packit ae235b
	Mark as 2.2 API additions.
Packit ae235b
Packit ae235b
	* configure.in: Fix the gtk-doc version check.
Packit ae235b
Packit ae235b
2002-11-27  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmessages.h: Use G_LIKELY without surrounding parentheses 
Packit ae235b
	in g_assert() and g_return_[val]_if_fail() so that we always trigger
Packit ae235b
	the gcc warning about "assignment used as truth value".
Packit ae235b
Packit ae235b
	* glib/gmacros.h: Always put parentheses in G_LIKELY and G_UNLIKELY.
Packit ae235b
Packit ae235b
2002-11-26  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmessages.h: Only use G_LIKELY in g_assert() and 
Packit ae235b
	g_return_[val]_if_fail() if it is actually doing something.
Packit ae235b
Packit ae235b
2002-11-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib/grand.c, gthread/gthread-impl.c, tests/rand-test.c: 
Packit ae235b
	Changed the seeding algorithm. Old behaviour can be achived by
Packit ae235b
	setting envvar G_RANDOM_VERSION to "2.0". (#99262)
Packit ae235b
Packit ae235b
	* docs/reference/glib/glib-docs.sgml,
Packit ae235b
	docs/reference/glib/Makefile.am: Renamed
Packit ae235b
	docs/reference/glib/changes-2.0.sgml to
Packit ae235b
	docs/reference/glib/changes.sgml and added section for changes
Packit ae235b
	from 2.0 to 2.2 (Also corrected 1.0 to 1.2).
Packit ae235b
Packit ae235b
	* README.in, docs/reference/glib/running.sgml,
Packit ae235b
	docs/reference/glib/tmpl/random_numbers.sgml,
Packit ae235b
	docs/reference/glib/changes.sgml: Added notes about the new
Packit ae235b
	seeding algorithm.
Packit ae235b
Packit ae235b
	* configure.in: Make CPPFLAGS, not CFLAGS, include
Packit ae235b
	G_THREAD_CFLAGS. CFLAGS is used while linking too and thus GLib
Packit ae235b
	programs would link to the threads library on some platforms. Also
Packit ae235b
	fixed a bug manifesting through this change. (#77981)
Packit ae235b
Packit ae235b
2002-11-26  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY 
Packit ae235b
	and G_UNLIKELY.  (Reported by Dan Mills)
Packit ae235b
Packit ae235b
2002-11-25  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gfileutils.c (g_build_path): 
Packit ae235b
	(g_build_filename): Document that the varargs must be 
Packit ae235b
	NULL-terminated. (#99510)
Packit ae235b
Packit ae235b
	* glib/gmessages.h (g_assert): 
Packit ae235b
	(g_return_if_fail): 
Packit ae235b
	(g_return_val_if_fail): Remove the (no longer effective) empty
Packit ae235b
	if-branch.
Packit ae235b
Packit ae235b
	* glib/gmacros.h: Change the definition of G_LIKELY, so that
Packit ae235b
	g_return_if_fail() and friends still trigger a gcc warning if
Packit ae235b
	the expr is an assignment. 
Packit ae235b
Packit ae235b
2002-11-23  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* configure.in: Generate docs/reference/*/version.xml.
Packit ae235b
Packit ae235b
	* glib/gdir.h: Add Copyright notice.
Packit ae235b
Packit ae235b
2002-11-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Fixed typo: PTHREAD_PRIO_MIN ->
Packit ae235b
	PTHREAD_PRIO_MAX. (Laurent Vivier, #99293)
Packit ae235b
Packit ae235b
Fri Nov 22 09:39:09 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gmacros.h: Remove broken G_HIDDEN_SYMBOL
Packit ae235b
	definition which wasn't supposed to be committed
Packit ae235b
	at all.
Packit ae235b
Packit ae235b
Thu Nov 21 16:19:21 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/ghash.c: Patch from Morten Welinder to 
Packit ae235b
	make ghash.c properly obey DISABLE_MEM_POOLS. (#96600)
Packit ae235b
Packit ae235b
Thu Nov 21 14:09:44 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
Packit ae235b
	#87969)
Packit ae235b
Packit ae235b
2002-11-21  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* config.h.win32.in: Update to match what is currently produced by
Packit ae235b
	autotools.
Packit ae235b
Packit ae235b
	* configure.in: Remove superfluous spaces on two shell variable
Packit ae235b
	assignment lines. Don't define HAVE_GOOD_PRINTF as 0 if we don't
Packit ae235b
	have a good printf, it is tested with #ifdef.
Packit ae235b
Packit ae235b
	* glib/glib.def: Add new functions.
Packit ae235b
Packit ae235b
	* glib/Makefile.am: If !HAVE_GOOD_PRINTF, add libtrio.la to LIBADD
Packit ae235b
	and DEPENDENCIES.
Packit ae235b
Packit ae235b
	* glib/glib.rc.in
Packit ae235b
	* gmodule/gmodule.rc.in
Packit ae235b
	* gobject/gobject.rc.in
Packit ae235b
	* gthread/gthread.rc.in
Packit ae235b
	* {glib,gmodule,gobject,gthread}/makefile.{mingw,msc}.in:
Packit ae235b
	Hardcode 2.0 in the names, as that is what Makefile.am does.
Packit ae235b
Packit ae235b
2002-11-21  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	Include a printf implementation supporting C99 snprintf and SUS
Packit ae235b
	positional parameters:  (#79488)
Packit ae235b
	
Packit ae235b
	* glib/gstrfuncs.c:
Packit ae235b
	* glib/gspawn-win32.c:
Packit ae235b
	* glib/gscanner.c:
Packit ae235b
	* glib/gconvert.c: 
Packit ae235b
	* glib/gbacktrace.c: Use _g_printf wrappers. 
Packit ae235b
Packit ae235b
	* glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99
Packit ae235b
	snprintf semantics now.
Packit ae235b
Packit ae235b
	* glib/gmessages.c (printf_string_upper_bound): No longer needed,
Packit ae235b
	since we can assume C99 snprintf semantics now.
Packit ae235b
	(g_logv): Simplify.
Packit ae235b
	
Packit ae235b
	* acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether
Packit ae235b
	printf supports SUS positional parameters.
Packit ae235b
Packit ae235b
	* configure.in: New option --enable-included-printf to force
Packit ae235b
	compilation of trio; otherwise trio is compiled if the system
Packit ae235b
	printf misses either C99 snprintf semantics of SUS positional 
Packit ae235b
	parameters.
Packit ae235b
Packit ae235b
	* glib/Makefile.am (SUBDIRS): Conditionally compile trio.
Packit ae235b
	(libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h.
Packit ae235b
	(glibsubinclude_HEADERS): Add gprintf.h.
Packit ae235b
Packit ae235b
	* glib/gprintfint.h: New private wrapping either system printf
Packit ae235b
	or trio printf variants in _g_printf wrappers for use inside glib.
Packit ae235b
Packit ae235b
	* glib/gprintf.h: New public header declaring g_printf variants.
Packit ae235b
	* glib/gprintf.c: Corresponding implementations.
Packit ae235b
Packit ae235b
	* glib/trio/*: New directory, containing the trio-1.9 sources. 
Packit ae235b
Packit ae235b
2002-11-20  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmessages.h (g_return_if_fail): 
Packit ae235b
	(g_return_val_if_fail): Use G_LIKELY.  (#69022)
Packit ae235b
Packit ae235b
	* glib/gmacros.h (G_LIKELY): 
Packit ae235b
	(G_UNLIKELY): New macros for hinting the compiler about the
Packit ae235b
	expected result of expressions. For gcc 3.x, define these
Packit ae235b
	using __builtin_expect.  (#69022)
Packit ae235b
Packit ae235b
Tue Nov 19 14:38:18 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_ascii_strtoull): Fix 
Packit ae235b
	strtull/strtoull type in docs (#99012, Morten
Packit ae235b
	Welinder.) Add copyright information for code
Packit ae235b
	taken from GNU libc.
Packit ae235b
Packit ae235b
2002-11-18  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle
Packit ae235b
	G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If the
Packit ae235b
	flag is not set, don't call DuplicateHandle() on the handle
Packit ae235b
	returned by the helper process, and set the "child pid" returned
Packit ae235b
	to the called to zero. Close the handle to the helper process in
Packit ae235b
	all cases.
Packit ae235b
Packit ae235b
	* glib/gspawn.c (g_spawn_async_with_pipes): Document Windows
Packit ae235b
	behaviour of G_SPAWN_DO_NOT_REAP_CHILD.
Packit ae235b
Packit ae235b
2002-11-18  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	[Win32] Fix the asynchronous g_spawn* to return the process handle
Packit ae235b
	of the started program properly. (Note: not the process id. The
Packit ae235b
	spawn*() functions in the C runtime return the created process's
Packit ae235b
	handle. There doesn't seem to be any way to get the process id of
Packit ae235b
	a child process if you have the handle. But then, the process
Packit ae235b
	handle usually is more useful anyway.)
Packit ae235b
Packit ae235b
	* glib/gspawn-win32-helper.c (WinMain): If the spawning of the
Packit ae235b
	child process succeeded, and if asynchronous spawn (P_NOWAIT),
Packit ae235b
	write the result handle up to the parent process, waiting to read
Packit ae235b
	it in do_spawn_with_pipes().
Packit ae235b
Packit ae235b
	* glib/gspawn-win32.c (do_spawn): Use return value from spawning
Packit ae235b
	the helper. If it is -1 the helper wasn't found or couldn't be run
Packit ae235b
	for some reason. Otherwise it is the helper's process handle.
Packit ae235b
Packit ae235b
	(g_spawn_async_with_pipes): Pass the child_pid parameter on to
Packit ae235b
	do_spawn_with_pipes().
Packit ae235b
Packit ae235b
	(do_spawn_with_pipes): Take also a child_pid parameter. If
Packit ae235b
	do_spawn() returned -1, fail immediately. Otherwise make the
Packit ae235b
	handle passed to us by the helper process into a handle valid in
Packit ae235b
	this process by calling DuplicateHandle().
Packit ae235b
Packit ae235b
2002-11-17  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the
Packit ae235b
	G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented
Packit ae235b
	on Windows, at least not now. Always pass dont_wait as TRUE to
Packit ae235b
	do_spawn_with_pipes(). The semantics of the dont_wait parameter is
Packit ae235b
	very different from the semantics of the intermediate_child
Packit ae235b
	parameter to fork_exec_with_pipes() in the Unix version. This
Packit ae235b
	fixes a serious bug, g_spawn_async() in fact behaved
Packit ae235b
	synchronously.
Packit ae235b
Packit ae235b
	(do_spawn_with_pipes, do_spawn): Rename from
Packit ae235b
	fork_exec_with_pipes() and do_exec(), those names were from the
Packit ae235b
	Unix bersion, and misleading.
Packit ae235b
Packit ae235b
	(close_and_invalidate): Don't try to close invalid fds.
Packit ae235b
Packit ae235b
	* glib/gspawn.c (g_spawn_async_with_pipes): Add warning about
Packit ae235b
	Windows behaviour. There is no fork(), so the child_setup()
Packit ae235b
	function is in fact called in the parent.
Packit ae235b
	
Packit ae235b
	* glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv
Packit ae235b
	debugging output.
Packit ae235b
Packit ae235b
	* tests/spawn-test-win32-gui.c: New file. Test program to be
Packit ae235b
	linked as a GUI application. Behaves differently depending on how
Packit ae235b
	invoked (by spawn-test).
Packit ae235b
Packit ae235b
	* tests/spawn-test.c (run_tests): On Win32, run the
Packit ae235b
	spawn-test-win32-gui program, too, in several ways, synchronously
Packit ae235b
	and asynchronously.
Packit ae235b
Packit ae235b
	* tests/Makefile.am: Corresponding change.
Packit ae235b
Packit ae235b
Fri Nov  8 19:44:20 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
Packit ae235b
Packit ae235b
	* docs/reference/glib/tmpl/arrays.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/arrays_byte.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/arrays_pointer.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/date.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/linked_lists_double.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/linked_lists_single.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/main.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/queue.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/random_numbers.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/relations.sgml:
Packit ae235b
	* docs/reference/glib/tmpl/scanner.sgml:
Packit ae235b
	* docs/reference/gobject/tmpl/gtype.sgml:
Packit ae235b
	* docs/reference/gobject/tmpl/value_arrays.sgml glib/garray.h:
Packit ae235b
	* glib/gdate.h glib/giochannel.h glib/glist.h glib/gmain.c:
Packit ae235b
	* glib/gmain.h glib/gqueue.c glib/gqueue.h glib/grand.c glib/grand.h:
Packit ae235b
	* glib/grel.h glib/gslist.h glib/gtimer.h gobject/gvaluearray.h:
Packit ae235b
Packit ae235b
	Trivial s/foo/foo_/ fixes to make <glib.h> includable with
Packit ae235b
	-Wshadow without warnings (#91680)
Packit ae235b
Packit ae235b
Thu Nov  7 19:32:26 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gutils.[ch] (g_set/get_application_name): 
Packit ae235b
	Patch from Havoc Pennington to add functions for 
Packit ae235b
	setting and getting a human readable application
Packit ae235b
	name.
Packit ae235b
Packit ae235b
	* configure.in: Up to version 2.1.3, since we'll
Packit ae235b
	need to depend on last addition for GTK+.
Packit ae235b
Packit ae235b
2002-11-06  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/glib.def: Add g_main_thread_init.
Packit ae235b
Packit ae235b
2002-11-06  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_str_has_suffix): 
Packit ae235b
	(g_str_has_prefix): Minor doc markup fix.
Packit ae235b
Packit ae235b
Mon Nov  4 10:45:48 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Add -DG_DISABLE_CAST_CHECKS for 
Packit ae235b
	everything but --enable-debug.
Packit ae235b
Packit ae235b
	* configure.in: Require pkg-config 0.14. (#97553)
Packit ae235b
Packit ae235b
Mon Nov  4 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
 
Packit ae235b
 	* glib/gbsearcharray.c: Include config.h
Packit ae235b
 	so DISABLE_MEMPOOLS actually has an effect.
Packit ae235b
 	(#96437, Morten Welinder)
Packit ae235b
 
Packit ae235b
 	* tests/uri-test.c: Include <config.h>
Packit ae235b
Packit ae235b
2002-11-03  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
Packit ae235b
Packit ae235b
	* configure.in: Added Belarusian to ALL_LINGUAS
Packit ae235b
Packit ae235b
2002-11-02  Daniel Elstner  <daniel.elstner@gmx.net>
Packit ae235b
Packit ae235b
	* glib/giochannel.c (g_io_channel_write_chars): Fix left_len
Packit ae235b
	calculation in the from UTF-8 to UTF-8 case: left_len should
Packit ae235b
	be the number of bytes left in the input buffer rather than
Packit ae235b
	channel->write_buf. (#96373)
Packit ae235b
Packit ae235b
2002-10-27  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* configure.in (G_MODULE_LDFLAGS): Don't set on Win32, only causes
Packit ae235b
	trouble.
Packit ae235b
	
Packit ae235b
	* glib/gmain.c (g_poll): Fix for bug reported by Herman Bloggs
Packit ae235b
	(http://mail.gnome.org/archives/gtk-devel-list/2002-October/msg00101.html)
Packit ae235b
	and others. We waited for events only for GPollFDs whose events
Packit ae235b
	field had G_IO_IN set. We need to wait also for events for
Packit ae235b
	GPollFDs that have just G_IO_OUT set. Non-blocking sockets in the
Packit ae235b
	process of being connect()ed are one such case. Also silence a
Packit ae235b
	couple of gcc warnings.
Packit ae235b
Packit ae235b
Fri Oct 18 13:41:30 2002  Manish Singh  <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib/giochannel.c (g_io_channel_read_line_backend): avoid
Packit ae235b
	creating negative values out of unsigned values using MAX,
Packit ae235b
	check to see if the result would be positive before doing
Packit ae235b
	the calculation.
Packit ae235b
Packit ae235b
Tue Oct 15 15:28:47 2002  Manish Singh  <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* tests/iochannel-test.c: use gsize instead of int where appropriate
Packit ae235b
        (64-bit cleanliness fix). Removed leftover line_term cruft.
Packit ae235b
Packit ae235b
Tue Oct 15 15:07:45 2002  Manish Singh  <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am:
Packit ae235b
	add -DG_DISABLED_DEPRECATED
Packit ae235b
Packit ae235b
	* tests/gio-test.c tests/mainloop-test.c tests/string-test.c
Packit ae235b
	tests/testglib.c test/tree-test.c tests/unicode-collate.c
Packit ae235b
	tests/unicode-normalize.c: Deprecation cleanup
Packit ae235b
Packit ae235b
Mon Oct 14 15:51:05 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
Packit ae235b
	leak. (#94550, Sebastian Rittau)
Packit ae235b
Packit ae235b
Mon Oct 14 15:36:11 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gcompletion.[ch] (g_completion_complete): Make
Packit ae235b
	prefix argument const. (#91662, Gustavo Carneiro) 
Packit ae235b
Packit ae235b
Mon Oct 14 15:32:14 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
 
Packit ae235b
 	* tests/mainloop-test.c (adder_response): Fix a minor memory
Packit ae235b
 	leak.
Packit ae235b
 
Packit ae235b
Sat Oct 12 21:30:41 2002  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* merged up from glib-2-0:
Packit ae235b
Packit ae235b
        * glib/gstrfuncs.c (g_ascii_strtod): fix comment.
Packit ae235b
        (g_ascii_strtoull): new function, acting like strtoull(3) in the C
Packit ae235b
        locale.
Packit ae235b
Packit ae235b
        * glib/gscanner.[hc]: fix 32bit issues with integer parsing and
Packit ae235b
        support storing 64bit values in GTokenValue by
Packit ae235b
        using g_ascii_strtoull().
Packit ae235b
Packit ae235b
Sat Oct 12 12:34:22 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
Packit ae235b
Packit ae235b
	* glib/gtree.c (g_tree_search), glib/gspawn.c
Packit ae235b
	(g_spawn_async_with_pipes): 
Packit ae235b
Packit ae235b
	Documentation fixes: #71778, Owen Taylor; #85095, Bill Janssen,
Packit ae235b
	Owen Taylor. 
Packit ae235b
Packit ae235b
Thu Oct 10 23:27:02 2002  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
        * glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
Packit ae235b
        print out "<memory>" instead of completely skipping input specification
Packit ae235b
        and thusly loosing error line information.
Packit ae235b
Packit ae235b
Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* tests/mainloop-test.c: use gsize instead of int where appropriate
Packit ae235b
	(64-bit cleanliness fix)
Packit ae235b
Packit ae235b
2002-09-29  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* configure.in: Instead of forcing -fnative-struct into CFLAGS
Packit ae235b
	when using gcc for Win32, check for gcc version 3.x which uses
Packit ae235b
	-mms-bitfields instead. Also check if either of these switches is
Packit ae235b
	actually available at all, and warn if not. Thanks to Soren
Packit ae235b
	Andersen for the inspiration.
Packit ae235b
Packit ae235b
	* HACKING: Say we require autoconf 2.52 as that is what
Packit ae235b
	configure.in does.
Packit ae235b
Packit ae235b
2002-09-23  Arvind Samptur <arvind.samptur@wipro.com>
Packit ae235b
	* glib/gspawn.c (fork_exec_with_pipes) : when the child fails
Packit ae235b
	we need to reap it to avoid a zombie. This would
Packit ae235b
	happen in case of g_spawn_sync. Fixes #92658
Packit ae235b
Packit ae235b
2002-09-20  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gscanner.c (g_scanner_msg_handler): Don't print
Packit ae235b
	scanner->input_name when it is NULL.  (#93752)
Packit ae235b
Packit ae235b
2002-09-06  Havoc Pennington  <hp@redhat.com>
Packit ae235b
Packit ae235b
	* autogen.sh: automake 1.4
Packit ae235b
Packit ae235b
2002-09-01  Soeren Sandmann  <sandmann@daimi.au.dk>
Packit ae235b
Packit ae235b
	* docs/reference/glib/tmpl/datalist.sgml, glib/gmain.c:
Packit ae235b
Packit ae235b
	Documentation fixes: (#75255, Martin Schulze; #76104, Daryll Strauss)
Packit ae235b
Packit ae235b
2002-08-26  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* configure.in (G_LIBS_EXTRA): Don't link with -lwsock32 on
Packit ae235b
	Cygwin (#91696, Masahiro Sakai).
Packit ae235b
Packit ae235b
Tue Aug 20 16:01:03 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
Packit ae235b
Packit ae235b
	* glib/gconvert.c (strdup_len): validate 'len' argument properly
Packit ae235b
	for the case that input string is not null-terminated. (#91222)
Packit ae235b
Packit ae235b
2002-08-10  Gustavo Noronha Silva  <kov@debian.org>
Packit ae235b
Packit ae235b
	* configure.in: added pt_BR to ALL_LINGUAS
Packit ae235b
Packit ae235b
2002-08-07  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmarkup.c (g_markup_parse_context_get_element): 
Packit ae235b
	Use g_return_val_if_fail, no g_return_if_fail.
Packit ae235b
Packit ae235b
2002-08-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib/gthread.c: Set the normal PID surrogate priority according
Packit ae235b
	to getpid() to avoid errors for niced processes. (#86116)
Packit ae235b
Packit ae235b
	* gthread/gthread-impl.c, gthread/gthread-posix.c,
Packit ae235b
	gthread/gthread-solaris.c: Do the same for the posix/dce
Packit ae235b
	implementation. Solaris still needs to set priority of the main
Packit ae235b
	thread, because all unbound threads will schedule according to
Packit ae235b
	that value and it defaults to 0 (the minimal value). 
Packit ae235b
Packit ae235b
	* glib/gmain.c: Factor out g_main_context_init_pipe from
Packit ae235b
	g_main_context_new to initialize the wakeup pipe of a
Packit ae235b
	context. Call that function from g_main_context_new if threads are
Packit ae235b
	initialized and for all contexts when threads are initialized
Packit ae235b
	in g_main_thread_init. (#86872) 
Packit ae235b
Packit ae235b
	* gthread/gthread-impl.c: Call g_main_thread_init. (#86872) 
Packit ae235b
Packit ae235b
Thu Jul 25 14:23:15 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
 	* glib/gfileutils.c: Clarify the behavior of g_build_path()
Packit ae235b
 	for empty elements and for leading and trailing copies
Packit ae235b
 	of the separator in the docs.
Packit ae235b
 
Packit ae235b
 	* glib/gfileutils.c: Fix problems with leading elements
Packit ae235b
 	consisting only of "/" characters. (#85928, Guillaume Chazarain)
Packit ae235b
 
Packit ae235b
 	* tests/strfunc-test.c (main): Add more test cases
Packit ae235b
 	for g_build_filename().
Packit ae235b
 
Packit ae235b
2002-07-26  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gunicode.h: 
Packit ae235b
	* glib/gutf8.c (g_utf8_strreverse): New function to revert
Packit ae235b
	a utf8 string.
Packit ae235b
	* glib/gpattern.c (g_utf8_reverse): Gone, replaced by 
Packit ae235b
	g_utf8_strreverse.  (#87725)
Packit ae235b
Packit ae235b
Thu Jul 25 20:57:20 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/giochannel.c (g_io_channel_read_line): Fix 
Packit ae235b
	docs for @str_return to conform to the main docs
Packit ae235b
	and the implementation as to whether the terminator
Packit ae235b
	is included. (#87964, Jacob Berkman)
Packit ae235b
Packit ae235b
Thu Jul 25 19:52:41 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/guniprop.c (real_tolower): Handle the 
Packit ae235b
	end of the string properly when max_len is set.
Packit ae235b
	(#88545, Morten Welinder.) Rename the next_t
Packit ae235b
	variable to next_type to make cc-mode happy.
Packit ae235b
Packit ae235b
	* glib/gconvert.c (g_iconv_open): Fix missing
Packit ae235b
	label from previous commit.
Packit ae235b
Packit ae235b
Thu Jul 25 19:41:03 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/giochannel.c (g_io_channel_get_flags): Fix 
Packit ae235b
	incorrect return value in g_return_val_if_fail 
Packit ae235b
	(#85545, David L. Cooper II)
Packit ae235b
Packit ae235b
Thu Jul 25 19:12:43 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/giochannel.c (g_io_channel_set_encoding): Clarify
Packit ae235b
	that only one of the conditions listed in the docs
Packit ae235b
	need to be true, not all of them. (#87176,
Packit ae235b
	Sebastian Rittau)
Packit ae235b
Packit ae235b
	* glib/giochannel.c (g_io_channel_read_line): Fix 
Packit ae235b
	description of the return value. (#87754, Manuel Clos)
Packit ae235b
Packit ae235b
Thu Jul 25 19:02:53 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gmain.c (g_timeout_add): Remove reference
Packit ae235b
	in the docs to @notify parameter. (#87768,
Packit ae235b
	Manuel Clos)
Packit ae235b
Packit ae235b
Thu Jul 25 17:57:07 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gconvert.c (g_iconv_open): Document the
Packit ae235b
	(GIConv)-1 return value on failure. (#87559, 
Packit ae235b
	Jarek Dukat)
Packit ae235b
Packit ae235b
	* glib/gconvert.c (g_iconv_open): Fix potential
Packit ae235b
	problems with the assumption that (GIConv)(iconv_t)-1
Packit ae235b
	is the same as (GIConv)-1.
Packit ae235b
	
Packit ae235b
2002-07-15  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmarkup.h: 
Packit ae235b
	* glib/gmarkup.c (g_markup_parse_context_get_element): New
Packit ae235b
	function to get the currently open element.  (#70448)
Packit ae235b
Packit ae235b
2002-07-04  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN
Packit ae235b
	throughout the files, which didn't already have them. (#87312)
Packit ae235b
Packit ae235b
2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
        * configure.in: Made the thread flags determination tests first
Packit ae235b
	check for the canonical form -pthread[s], then for other
Packit ae235b
	possibilities. Also recognize some more platforms. Modeled after
Packit ae235b
	patch from Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>
Packit ae235b
	(#77981).
Packit ae235b
	
Packit ae235b
	* configure.in: Fixed bugs in posix thread priority
Packit ae235b
	resolution. Also added AIX priorities. Fix from
Packit ae235b
	Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
Packit ae235b
	
Packit ae235b
	* gthread/gthread-solaris.c: Use thr_min_stack() instead of
Packit ae235b
	sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
Packit ae235b
	g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
Packit ae235b
	the stack might be to small for any nontrivial thread. Discovered
Packit ae235b
	on intel-solaris by Rajkumar Sivasamy <rajkumar.siva@wipro.com>.
Packit ae235b
Packit ae235b
2002-07-03  Anders Carlsson  <andersca@gnu.org>
Packit ae235b
Packit ae235b
	* configure.in: Add a forgotten trailing ` in the 
Packit ae235b
	GLIB_BINARY_AGE expression. Also fixup LT_CURRENT.
Packit ae235b
Packit ae235b
2002-07-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Set binary age to 0 to make it compile.
Packit ae235b
Packit ae235b
	* configure.in: Improve checks for dce/posix threads to also do
Packit ae235b
	the right thing, if the thread functions are not declared in
Packit ae235b
	pthread.h. Idea from Miroslaw Dobrzanski-Neumann
Packit ae235b
	<mne@mosaic-ag.com> in #77981.
Packit ae235b
Packit ae235b
2002-07-01  Anders Carlsson  <andersca@gnu.org>
Packit ae235b
Packit ae235b
	* configure.in: Up version to 2.1.0.
Packit ae235b
Packit ae235b
2002-07-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib/garray.h: Add parenthesis to protect macro
Packit ae235b
	argument. Spotted by Sam Couter <sam@topic.com.au>. (#86826)
Packit ae235b
Packit ae235b
2002-06-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib/gmessages.h (g_assert, g_assert_not_reached,
Packit ae235b
	g_return_if_fail, g_return_val_if_fail): In case of
Packit ae235b
	G_DISABLE_ASSERT replace "G_STMT_START{ }G_STMT_END" with
Packit ae235b
	"G_STMT_START{ (void)0; }G_STMT_END", because the former chokes
Packit ae235b
	gcc prior to 3.0. (#86664)
Packit ae235b
Packit ae235b
2002-06-26  Yanko Kaneti <yaneti@declera.com>
Packit ae235b
Packit ae235b
	* configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
Packit ae235b
Packit ae235b
Thu Jun 13 16:12:04 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gmain.c (struct _GTimeoutSource): Make 
Packit ae235b
	interval unsigned to match g_timeout_source_new().
Packit ae235b
	(#82624, Tim Janik.)
Packit ae235b
Packit ae235b
	* glib/gmain.c (g_timeout_prepare): Add some
Packit ae235b
	extra gymnastics to avoid signed/unisgned integer
Packit ae235b
	overflows.
Packit ae235b
Packit ae235b
Thu Jun 13 15:57:46 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* INSTALL.in: Add a note about the deficiency
Packit ae235b
	of Tru64 iconv. (#81699, Manuel Op de Coul)
Packit ae235b
Packit ae235b
Tue Jun 11 17:03:39 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* tests/patterntest.c (test_compilation)
Packit ae235b
	* glib/gmem.c (profiler_try_realloc): A couple
Packit ae235b
	of 64-bit printf format fix from George Lebl.
Packit ae235b
	(#82817)
Packit ae235b
Packit ae235b
	* glib/gconvert.c (open_converter): Fix gsize/gint
Packit ae235b
	mixup for g_iconv() arguments. (#83270,
Packit ae235b
	David L. Cooper II)
Packit ae235b
Packit ae235b
2002-06-03  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gwin32.c (g_win32_get_package_installation_directory):
Packit ae235b
	Replace homegrown "hash" entity by standard ISO entity "num".
Packit ae235b
Packit ae235b
2002-05-26  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmain.c: Remove references to nonexisting functions 
Packit ae235b
	g_source_set_callback_closure(), g_source_poll(), g_source_add()
Packit ae235b
	from docs.
Packit ae235b
Packit ae235b
	* glib/gdir.c (g_dir_open): Typo fix in docs.
Packit ae235b
Packit ae235b
	* glib/gasyncqueue.c (g_async_queue_lock):
Packit ae235b
	(g_async_queue_unref_and_unlock): Fix markup to avoid erroneous 
Packit ae235b
	<link>s in docs.
Packit ae235b
Packit ae235b
	* glib/gwin32.c: Escape #'s leading to erroneous <link>s in docs.
Packit ae235b
Packit ae235b
	* glib/gtree.c: Replace some occurances of Gtree by GTree in docs.
Packit ae235b
Packit ae235b
	* glib/gstring.c (g_string_insert_unichar): Typo fix in docs.
Packit ae235b
Packit ae235b
2002-05-23  Havoc Pennington  <hp@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gspawn.c (fork_exec_with_pipes): on success, close the
Packit ae235b
	pipes from the child. Fix from Tim.
Packit ae235b
Packit ae235b
2002-05-22  jacob berkman  <jacob@ximian.com>
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop
Packit ae235b
Packit ae235b
Wed May 22 15:40:47 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* README.in: Remove notes about now-fixed-bugs.
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4 acinclude.m4: Get rid
Packit ae235b
	of AC_MSG_NOTICE() usage, since some broken systems
Packit ae235b
	(Hi Debian!) might not be using autoconf-2.5x for
Packit ae235b
	downstream packages even though we require it for
Packit ae235b
	glib itself.
Packit ae235b
Packit ae235b
	* INSTALL.in: Add a note about installing extra
Packit ae235b
	converters for Solaris.
Packit ae235b
Packit ae235b
	* glib/gutils.h (g_bit_nth_msf): Fix termination
Packit ae235b
	condition. (#82582, Paolo Molaro)
Packit ae235b
 
Packit ae235b
Tue May 21 15:51:17 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: $with_libiconv, not $with_iconv.
Packit ae235b
Packit ae235b
Mon May 20 18:02:46 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Move iconv tests before gettext
Packit ae235b
	checks. (#81999)
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4 acinclude.m4: If we can't
Packit ae235b
	link to gettext, try adding in -liconv. (#80076,
Packit ae235b
	Boyd Lynn Gerber)
Packit ae235b
Packit ae235b
	* m4macros/glib-gettext.m4 acinclude.m4: Suppress
Packit ae235b
	warnings about xgettext not being GNU gettext when
Packit ae235b
	libintl wasn't found at all. 
Packit ae235b
	(#79016, Andrew P. Lentvorski, Jr.)
Packit ae235b
	 
Packit ae235b
2002-05-21  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmarkup.c (g_markup_parse_context_parse): Added
Packit ae235b
	proper support for CDATA sections.
Packit ae235b
Packit ae235b
2002-05-20  jacob berkman  <jacob@ximian.com>
Packit ae235b
Packit ae235b
	* glib/gdir.c: include sys/types.h before dirent.h to build on
Packit ae235b
	darwin (fixes #72859)
Packit ae235b
Packit ae235b
Mon May 20 15:35:59 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
 
Packit ae235b
 	* glib/gfileutils.c (get_contents_regfile): Fix double
Packit ae235b
 	close of file descriptor on error. (#82139, Wayne Schuller)
Packit ae235b
 
Packit ae235b
 	* glib/gspawn.c (close_and_invalidate): Don't close
Packit ae235b
 	fd's that have already been closed. (Fix from Michael
Packit ae235b
 	Meeks, #81959)
Packit ae235b
 
Packit ae235b
 	* glib/giochannel.c (g_io_channel_close): If not flushing,
Packit ae235b
 	dump the contents of the write buffers, so we won't try
Packit ae235b
 	to write them to an invalid fd later. (Patch from Ron Steinke,
Packit ae235b
 	fixing #78290, Andreas Persenius.)
Packit ae235b
 
Packit ae235b
2002-05-18  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* tests/markups/fail-36.gmarkup: 
Packit ae235b
	* tests/markups/fail-35.gmarkup: 
Packit ae235b
	* tests/markups/valid-8.gmarkup: 
Packit ae235b
	* tests/markups/valid-7.gmarkup: 
Packit ae235b
	* tests/markups/valid-6.gmarkup: 
Packit ae235b
	* tests/markups/valid-5.gmarkup: New testcases.
Packit ae235b
Packit ae235b
	* tests/markup-test.c (passthrough_handler): 
Packit ae235b
	(text_handler): Don't ignore the text_len parameter.
Packit ae235b
Packit ae235b
	* glib/gmarkup.c (find_current_text_end): Don't hang on embedded
Packit ae235b
	nuls.  (#81977)
Packit ae235b
	(g_markup_parse_context_parse): Fix passthrough handling to
Packit ae235b
	correctly skip processing instructions, comments, doctype
Packit ae235b
	declarations and CDATA marked sections.  (#81977)
Packit ae235b
Packit ae235b
Sat May 18 00:21:51 2002  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	[merged from stable]
Packit ae235b
Packit ae235b
        * glib/gscanner.c (g_scanner_unexp_token): fix missing cases for
Packit ae235b
        expected_token.
Packit ae235b
Packit ae235b
2002-05-17  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* config.h.win32.in: Match new additions in a configure-produced
Packit ae235b
	config.h.
Packit ae235b
Packit ae235b
	* glibconfig.h.win32.in: gssize and gsize as in a
Packit ae235b
	configure-produced glibconfig.h.
Packit ae235b
Packit ae235b
	* glib/glib.def: Add new functions.
Packit ae235b
Packit ae235b
Thu May 16 12:24:00 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
 
Packit ae235b
 	* acinclude.m4 m4macros/glib-gettext.m4: Incorporate 
Packit ae235b
 	AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid 
Packit ae235b
 	dependencies on gettext m4 files. (#81885, Hidetoshi Tajima.)
Packit ae235b
	
Packit ae235b
2002-05-14  Alex Larsson <alexl@redhat.com>
Packit ae235b
	
Packit ae235b
	* glib/gstrfuncs.c: 
Packit ae235b
	* glib/gstrfuncs.h:
Packit ae235b
	New functions g_str_has_suffix and g_str_has_prefix.
Packit ae235b
	
Packit ae235b
	* tests/string-test.c: (main):
Packit ae235b
	Test the new functions.
Packit ae235b
Packit ae235b
Mon May 13 23:20:00 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* autogen.sh (have_gettext): Add a check for GNU gettext.
Packit ae235b
	(Pointed out by Dan Winship in #59386.)
Packit ae235b
Packit ae235b
Mon May 13 11:55:33 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in acglib.m4: If sizeof(int) == sizeof(long)
Packit ae235b
	run compilation tests to determine which way gsize should
Packit ae235b
	be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)
Packit ae235b
Packit ae235b
Mon May 13 11:42:23 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
 
Packit ae235b
        * glib/libcharset/*: Update from libcharset CVS.
Packit ae235b
 	Includes additional encodings for Solaris (#80396,
Packit ae235b
	Qingjiang Yuan)
Packit ae235b
 
Packit ae235b
 	* configure.in: Add getc_unlocked to CHECK_FUNCS().
Packit ae235b
 
Packit ae235b
 	* glib/gmessages.c (strdup_convert): If
Packit ae235b
 	g_convert_with_fallback() fails, print the error
Packit ae235b
 	message to stderr the first time, then return
Packit ae235b
 	the original string. (#78197)
Packit ae235b
 
Packit ae235b
2002-05-10  Naba Kumar  <kh_naba@users.sourceforge.net>
Packit ae235b
Packit ae235b
	* configure.in: Added "hi" to ALL_LINGUAS.
Packit ae235b
Packit ae235b
2002-05-08  Michael Natterer  <mitch@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: fixed yesterdays fix for cross compiling: simply
Packit ae235b
	check the variable "cross_compiling" which gets set by autoconf.
Packit ae235b
Packit ae235b
2002-05-07  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gmarkup.c (unescape_text): Report unfinished entity
Packit ae235b
	references as errors rather than running into an assert.  (#80441)
Packit ae235b
Packit ae235b
2002-05-07  Michael Natterer  <mitch@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: added a new conditional CROSS_COMPILING which
Packit ae235b
	indicates ($build != $host). If it is set, look for
Packit ae235b
	glib-genmarshal in PATH. Error out if it was not found.
Packit ae235b
Packit ae235b
Tue May  7 11:24:22 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	Fixes for #79347, Ron Arts.
Packit ae235b
Packit ae235b
	* glib/gqsort.c (g_qsort_with_data): Handle 0 elements,
Packit ae235b
	don't g_return_if_fail().
Packit ae235b
Packit ae235b
	* tests/qsort-test.c (main): Add a 0 element test.
Packit ae235b
Packit ae235b
	* glib/garray.c (g_[ptr_]array_sort_with[_data]): 
Packit ae235b
	Remove invalid assertions that array->pdata != NULL ..
Packit ae235b
	it's NULL for 0 elements which is a valid case.
Packit ae235b
Packit ae235b
Mon May  6 16:00:41 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gbacktrace.h: Exclude OSF from alpha definition
Packit ae235b
	of G_BREAKPOINT(), since the assembler apparently
Packit ae235b
	doesn't support bpt. (#77852, Gareth Pierce) [from stable]
Packit ae235b
Packit ae235b
Mon May  6 11:48:08 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	[ merged from stable ]
Packit ae235b
 
Packit ae235b
 	* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
Packit ae235b
 
Packit ae235b
 	* m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when
Packit ae235b
 	compiling "what went wrong" test case. (#79330)
Packit ae235b
 
Packit ae235b
 	* m4macros/glib-2.0.m4: Remove reference to editing
Packit ae235b
 	pkg-config script. (From Jim Gettys)
Packit ae235b
 
Packit ae235b
 	* configure.in: (Look for dyld interfaces before dlopen()
Packit ae235b
 	since OS X can have both. Patch from Jacob Berkman, 
Packit ae235b
 	#80438)
Packit ae235b
	
Packit ae235b
2002-05-01  jacob berkman  <jacob@ximian.com>
Packit ae235b
Packit ae235b
	* configure.in: fix typo on 64-bit printf formatting string
Packit ae235b
	configure message (fixes #80389)
Packit ae235b
Packit ae235b
2002-04-29  Pablo Saratxaga  <pablo@mandrakesoft.com>
Packit ae235b
Packit ae235b
	* configure.in: Added Vietnamese (vi) to ALL_LINGUAS
Packit ae235b
Packit ae235b
2002-04-19  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/gspawn.c (g_spawn_command_line_sync): Add Windows-specific
Packit ae235b
	note to the gtk-doc comment.
Packit ae235b
Packit ae235b
	* glib/gspawn-win32.c: Remove the copy-pasted gtk-doc comment
Packit ae235b
	blocks. It's enough to have them in gspawn.c.
Packit ae235b
Packit ae235b
2002-04-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* gthread/gthread-impl.c (g_thread_init): Fixed typo. (#78985)
Packit ae235b
Packit ae235b
2002-04-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
Packit ae235b
	for all threads leaving it. (#78348)
Packit ae235b
Packit ae235b
2002-04-11  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
Packit ae235b
	stuff fed to g_print.
Packit ae235b
Packit ae235b
2002-04-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* tests/gio-test.c, tests/markup-test.c: Use gsize instead of
Packit ae235b
	gint. From Miroslaw Dobrzanski-Neumann
Packit ae235b
	<mne@mosaic-ag.com>. (#77982)
Packit ae235b
	
Packit ae235b
2002-04-08  Stanislav Brabec  <utx@penguin.cz> 
Packit ae235b
Packit ae235b
        * cs.po: Added Czech (cs) to ALL_LINGUAS.
Packit ae235b
Packit ae235b
2002-03-31  Hasbullah Bin Pit <sebol@ikhlas.com>
Packit ae235b
Packit ae235b
	* configure.in: Added Malay (ms)to ALL_LINGUAS.
Packit ae235b
Packit ae235b
2002-03-29  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/glib.def: Add g_convert_init.
Packit ae235b
Packit ae235b
Thu Mar 28 18:25:14 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* Released 2.0.1
Packit ae235b
Packit ae235b
	* configure.in: Version 2.0.1, interface, binary age 1.
Packit ae235b
Packit ae235b
Thu Mar 28 18:22:53 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* README: Remove warning about g_print, etc, encoding.
Packit ae235b
Packit ae235b
	* NEWS: Updates.
Packit ae235b
Packit ae235b
	* glib/gmessages.c (g_log_default_handler): Use %lu
Packit ae235b
	(plus a cast) when printing out pid_t arguments.
Packit ae235b
	(#76770, Morten Welinder)
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_strdup_vprintf): Check the
Packit ae235b
	result of vasprintf(), return NULL on failure.
Packit ae235b
	(#76802, Akira Tagoh)
Packit ae235b
Packit ae235b
	* tests/testglib.c (TEST): Supress a warning with
Packit ae235b
	some GCC versions. 
Packit ae235b
Packit ae235b
Thu Mar 28 20:31:51 2002  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib/gmessages.c:
Packit ae235b
	(g_print): 
Packit ae235b
	(g_printerr): convert prtinf() strings to local charset
Packit ae235b
	when writing them to stdout or stderr.
Packit ae235b
Packit ae235b
Wed Mar 27 18:42:22 2002  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gmessages.[hc]:
Packit ae235b
	major cleanups. introduced _g_log_fallback_handler() to handle
Packit ae235b
	recursive messages which really doesn't call any GLib functions.
Packit ae235b
	this allowes the default handler to use normal GLib functions and
Packit ae235b
	also fixes user supplied log level handlers.
Packit ae235b
	fixed locking issues, based on a patch from Sebastian Willhelmi,
Packit ae235b
	attached to #74356. translate log messages from UTF-8, based
Packit ae235b
	on the same patch. save fatal and recursion flags across flag
Packit ae235b
	loop. use new integer format code from above patch.
Packit ae235b
	move GLib functions out of locked mutex state to avoid deadlocks.
Packit ae235b
	move the level prefix and filedescriptor logic into mklevel_prefix().
Packit ae235b
	move _g_debug_init() into a place where we can figure and handle
Packit ae235b
	recursion.
Packit ae235b
Packit ae235b
Mon Mar 25 18:13:06 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gtypes.h (GUINT*_SWAP_LE_BE_X86): Remove __const__
Packit ae235b
	qualifier from __asm__ statements... GCC since at least
Packit ae235b
	2.96 has assumed no side effects automaticaly, and gcc-3.1
Packit ae235b
	will warn about this usage. (#73308, Cody Russell)
Packit ae235b
Packit ae235b
Fri Mar 22 17:59:27 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gmem.c (g_mem_chunk_reset): Fix problem where
Packit ae235b
	if g_mem_chunk_reset() is called on an alloc-only
Packit ae235b
	memchunk, then a useles GTree was created.
Packit ae235b
Packit ae235b
Wed Mar 20 18:20:21 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gconvert.c (open_converter): Try to work around segfaults
Packit ae235b
	on Solaris if NULL is passed for outbuf... supposedly gchar
Packit ae235b
	*outbuf = NULL... &outbuf works. (#74336, Lauri Alanko)
Packit ae235b
Packit ae235b
Wed Mar 20 11:17:32 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/gfileutils.c (get_contents_regfile): Close the
Packit ae235b
	file descriptor. (#75507, Matthias Clasen)
Packit ae235b
Packit ae235b
Wed Mar 20 11:00:59 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* configure.in: Use $PKG_CONFIG, not pkg-config.
Packit ae235b
	(LEE Sau Dan, #75572)
Packit ae235b
Packit ae235b
2002-03-20  Sven Neumann  <sven@gimp.org>
Packit ae235b
Packit ae235b
	* glib/ghash.c (g_hash_table_resize): avoid repeated call of 
Packit ae235b
	g_spaced_primes_closest() by moving it out of the CLAMP macro 
Packit ae235b
	(spotted by Salmaso Raffaele).
Packit ae235b
Packit ae235b
2002-03-17  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* README.win32: Add MSVC-specific text by Hans Breuer.
Packit ae235b
Packit ae235b
2002-03-16  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib/giowin32.c: Some debugging output formatting changes. The
Packit ae235b
	following changes fix a problem with buffered GIOChannels, noticed
Packit ae235b
	with the help of Owen's test program, thanks! (#59969)
Packit ae235b
	(g_io_win32_prepare): Return value that takes the buffer condition
Packit ae235b
	into account, like g_io_unix_prepare() does.
Packit ae235b
	(g_io_win32_check): Ditto, like g_io_unix_check().
Packit ae235b
	(g_io_win32_dispatch): Ditto, like g_io_unix_dispatch().
Packit ae235b
Packit ae235b
Thu Mar 14 17:37:45 2002  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib/giochannel.c (g_io_channel_write_chars): Fix some
Packit ae235b
	gsize/gint mismatches. (#74422, Miroslaw Dobrzanski-Neumann)
Packit ae235b
Packit ae235b
2002-03-14  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib/gmessages.c: Fixed threading issues brought up by
Packit ae235b
	#74577. Make g_log_find_domain, g_log_domain_new,
Packit ae235b
	g_log_domain_check_free and g_log_domain_get_handler require being
Packit ae235b
	called with g_messages_lock held and remove all internal locking
Packit ae235b
	in them. Then added proper locking to g_log_set_handler,
Packit ae235b
	g_log_remove_handler and g_logv. Problem spotted by Miroslaw
Packit ae235b
	Dobrzanski-Neumann <mne@mosaic-ag.com>. (#74577)
Packit ae235b
Packit ae235b
2002-03-13  Erwann Chenede  <erwann.chenede@sun.com>
Packit ae235b
        * glib/gconvert.c 
Packit ae235b
	  glib/gen-unicode-tables.pl
Packit ae235b
	  glib/gunidecomp.h : fixed cast/type problems to 
Packit ae235b
	  avoid warnings (with forte compiler) (#73898)
Packit ae235b
	
Packit ae235b
2002-03-12  Alexander Larsson  <alla@lysator.liu.se>
Packit ae235b
Packit ae235b
	* glib/gconvert.c:
Packit ae235b
	Cache getenv("G_BROKEN_FILENAMES") in have_broken_filenames() and
Packit ae235b
	use instead. Add g_convert_init() that calls have_broken_filenames()
Packit ae235b
Packit ae235b
	* gthread/gthread-impl.c:
Packit ae235b
	Have g_thread_init call g_convert_init.
Packit ae235b
Packit ae235b
2002-03-11  Matthias Clasen  <maclas@gmx.de>
Packit ae235b
Packit ae235b
	* glib/gstrfuncs.c (g_strtod): 
Packit ae235b
	(g_ascii_strtod): 
Packit ae235b
	(g_ascii_dtostr): 
Packit ae235b
	(g_ascii_formatd): Doc formatting fixes.
Packit ae235b