Blame ChangeLog.pre-1-2

Packit ae235b
Sun Feb 21 22:11:51 CST 1999  Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.2.0
Packit ae235b
Packit ae235b
	* AUTHORS: updated
Packit ae235b
Packit ae235b
Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* *.[ch]: inserted additional note to look for ChangeLog and
Packit ae235b
	  AUTHORS file for a log of modifications.
Packit ae235b
Packit ae235b
Sun Feb 21 14:01:00 1999  Dr Mike <drmike@redhat.com>
Packit ae235b
Packit ae235b
	* Made specfile generated, tweaked slightly
Packit ae235b
	
Packit ae235b
Thu Feb 18 08:24:12 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gmem.c (g_realloc): plugged a memory leak, reported by Koen D'Hondt
Packit ae235b
	<ripley@xs4all.nl> on 15 Oct 1998. allocate inital block from realloc.
Packit ae235b
Packit ae235b
1999-02-17  Elliot Lee  <sopwith@redhat.com>
Packit ae235b
Packit ae235b
	* glib.spec: Do --enable-debug=no for the .rpm's.
Packit ae235b
Packit ae235b
Wed Feb 17 17:04:06 1999  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* config.h.win32: Must define HAVE_PTHREAD_GETSPECIFIC_POSIX.
Packit ae235b
Packit ae235b
Tue Feb 16 14:08:59 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* NEWS
Packit ae235b
	  README
Packit ae235b
	  INSTALL
Packit ae235b
	  config.h.win32
Packit ae235b
	  configure.in
Packit ae235b
	  glib.spec
Packit ae235b
	  glibconfig.h.win32
Packit ae235b
	  docs/glib-config.1: version=1.1.16 
Packit ae235b
Packit ae235b
	* Released GLib 1.1.16
Packit ae235b
Packit ae235b
1999-02-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib.h, glibconfig.h.win32, configure.in: Changed signature of
Packit ae235b
	all g_static_mutex_* functions to take a pointer rather than the
Packit ae235b
	struct itself. This is not an issue at the moment, because those
Packit ae235b
	funcs are really macros, but is it un'G'ish and might fall on our
Packit ae235b
	feet in the future.
Packit ae235b
Packit ae235b
Mon Feb 15 07:45:54 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in (--enable-debug): default to yes for development trees.
Packit ae235b
Packit ae235b
Mon Feb 15 06:18:58 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: return guints instead of gints for g_hash_table_size
Packit ae235b
	and g_hash_table_foreach_remove.
Packit ae235b
Packit ae235b
Wed Feb 10 12:01:42 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
Packit ae235b
	from the command line.
Packit ae235b
Packit ae235b
1999-02-10  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib.h: s/G_LOCK_DECLARE/G_LOCK_DEFINE/ throuhout glib. Added
Packit ae235b
	G_LOCK_EXTERN macro to declare a lock externally.
Packit ae235b
Packit ae235b
Wed Feb 10 06:20:30 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gmutex.c (g_static_private_set): invoke destroy notifier when
Packit ae235b
	overwriting values, initialize new array fields with NULL.
Packit ae235b
	(g_static_private_free_data): do not skip destroy notification for
Packit ae235b
	data == NULL.
Packit ae235b
Packit ae235b
	* gutils.c (g_direct_equal): compare pointer values directly instead
Packit ae235b
	of just their guint values which is a loosing conversion for
Packit ae235b
	sizeof(gpointer)==8 systems.
Packit ae235b
	(g_get_any_init): restructured code so we don't use endless loops like
Packit ae235b
	while (1), which boil down to an ugly alias for goto.
Packit ae235b
	strip ,.* from the real name.
Packit ae235b
Packit ae235b
February 9, 1999 sopwith@redhat.com
Packit ae235b
Packit ae235b
	. glist.c, gnode.c, gslist.c: allocate pools of 128 items instead
Packit ae235b
	of 1024 items.
Packit ae235b
Packit ae235b
1999-02-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in, acconfig.h: Changed the test for getpwuid_r to
Packit ae235b
	exclude those systems (i.e. IRIX), that set ENOSYS after the call.
Packit ae235b
	Test, if pthread_getspecific is posix like or something different,
Packit ae235b
	as on PCThreads.	
Packit ae235b
Packit ae235b
Sun Feb  7 21:56:00 1999  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* gmem.c (g_mem_profile): Copy all elements
Packit ae235b
	of the allocations[] array, including the last.
Packit ae235b
	(Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>)
Packit ae235b
	
Packit ae235b
1999-02-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Make the error message in case of a broken thread
Packit ae235b
	system a bit more informative.
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): Changed the error logic again, now
Packit ae235b
	only leaving the memory doubling loop, when success is reached or
Packit ae235b
	when the user isn't found or when the buffer is 32k big,
Packit ae235b
	additionally now getpwuid will be run, if getpwuid_r didn't work
Packit ae235b
	out properly. A warning is issued however.
Packit ae235b
Packit ae235b
Thu Feb 04 20:42:24 1999  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glibconfig.h.win32 config.h.win32: Update GLIB_MICRO_VERSION.
Packit ae235b
Packit ae235b
1999-02-04  Christopher Blizzard  <blizzard@redhat.com>
Packit ae235b
Packit ae235b
	* glib.spec (Packager): Change my email address
Packit ae235b
Packit ae235b
Thu Feb  4 01:45:01 PST 1999 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* ChangeLog
Packit ae235b
	  NEWS
Packit ae235b
	  README
Packit ae235b
	  configure.in
Packit ae235b
	  glib.spec
Packit ae235b
	  docs/glib-config.1: version=1.1.15
Packit ae235b
Packit ae235b
	* Released GLib 1.1.15
Packit ae235b
Packit ae235b
Tue Feb 02 00:08:54 1999  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* gmessages.c (g_log_default_handler): (Win32:) Don't call
Packit ae235b
 	ensure_stdout_valid (which would open an unneeded console window)
Packit ae235b
 	if we're calling a logging function.  Define ensure_stdout_valid
Packit ae235b
 	as an empty macro on Unix.
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): (Win32:) Trust HOME first if defined,
Packit ae235b
	then try HOMEDRIVE and HOMEPATH.
Packit ae235b
Packit ae235b
Mon Feb  1 19:04:28 1999  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* gmain.c (g_main_iterate): Release the main_loop
Packit ae235b
	 lock around calls to prepare() and check() so
Packit ae235b
	 that we are not holding the main loop lock
Packit ae235b
	 over user code.
Packit ae235b
Packit ae235b
1999-01-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Moved the check for MT safe function variants
Packit ae235b
	after the determination of the MT cflags and use them there.
Packit ae235b
Packit ae235b
1999-01-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Fixed typo. Now HPUX 11 thread system detection
Packit ae235b
	should work.
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): Changed initial bufsize to 64. Should
Packit ae235b
	solve some problems out there.
Packit ae235b
Packit ae235b
Wed Jan 27 23:21:50 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* INSTALL
Packit ae235b
	  NEWS
Packit ae235b
	  README
Packit ae235b
	  configure.in
Packit ae235b
	  glib.spec
Packit ae235b
	  docs/glib-config.1: version=1.1.14
Packit ae235b
Packit ae235b
	* Released GLib 1.1.14
Packit ae235b
Packit ae235b
1999-01-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Simplified configure.in test for posix threads,
Packit ae235b
	systems, that provide /usr/include/pthread.h should also have the
Packit ae235b
	posix thread library. This is to avoid writing down all the tests
Packit ae235b
	twice. New test for thread system on HPUX 11. Info from Matt
Packit ae235b
	Nottingham <matt@sar.dera.gov.uk>.
Packit ae235b
Packit ae235b
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* acinclude.m4: Xsed isn't valid here, don't use it
Packit ae235b
Packit ae235b
	* ltmain.sh
Packit ae235b
	* ltconfig: better file magic regexp for Linux libs
Packit ae235b
Packit ae235b
	* gmodule/Makefile.am: arg, noinst_LTLIBRARIES doesn't make shared
Packit ae235b
	libs, revert my previous change to this file
Packit ae235b
Packit ae235b
	* docs/texinfo.tex: add it so automake doesn't whine
Packit ae235b
Packit ae235b
Wed Jan 27 01:57:19 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej
Packit ae235b
	Borsenkow <borsenkow.msk@sni.de> to also check for dlsym() in system
Packit ae235b
	libraries and -ldl, to catch systems that provide dlopen() in libc
Packit ae235b
	and dlsym() in libdl. this is at least the case for Reliant UNIX
Packit ae235b
	5.44 (labeling itself as SINIX).
Packit ae235b
Packit ae235b
Tue Jan 26 13:39:22 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: don't use backquotes in warning text
Packit ae235b
Packit ae235b
1999-01-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* gdate.c (g_date_set_time): Removed the #warning about MT
Packit ae235b
	unsafety without localtime_r.
Packit ae235b
Packit ae235b
	* configure.in: Moved it here.
Packit ae235b
Packit ae235b
Mon Jan 25 10:07:53 1999  Raph Levien  <raph@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: (#define G_THREADS_IMPL...) Changed the #define,
Packit ae235b
	adding the G_THREADS_IMPL_ prefix to $g_threads_impl_def because
Packit ae235b
	it looked wrong to me and was breaking gimp compile.
Packit ae235b
Packit ae235b
Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>
Packit ae235b
Packit ae235b
	* configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
Packit ae235b
	now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
Packit ae235b
	#include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
Packit ae235b
	tion hides there.
Packit ae235b
Packit ae235b
1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Do not use the thread libs, when searching for
Packit ae235b
	some functions, as this might require glib to always be linked
Packit ae235b
	with the thread libs on some platforms.
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): Don't set errno to zero and use it
Packit ae235b
	only as the error code, if the function returned a value less
Packit ae235b
	0. It might happen, that the call succeeds, even though the errno
Packit ae235b
	is set during the call (i.e. it first looks for a passwd file,
Packit ae235b
	which is not found). Submitted by Michael Natterer
Packit ae235b
	<mitschel@cs.tu-berlin.de>. BTW: Sorry for all the mess with that
Packit ae235b
	`getpwuid_r' change, but it had to be done once.
Packit ae235b
Packit ae235b
Sun Jan 24 10:33:30 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): reverted raja's changes, since they leaked
Packit ae235b
	a struct passwd contents buffer and for the rest mostly substituted a
Packit ae235b
	while loop with a bunch of gotos.
Packit ae235b
	restored the getpwuid() code to what we had after my recent clean ups
Packit ae235b
	("Sat Jan 23 02:14:28 1999 Tim Janik"), module yosh's recent changes.
Packit ae235b
	to feature solaris behaviour of directly returning errno, we don't
Packit ae235b
	modify error anymore if it's > 0 and simply reset errno.
Packit ae235b
	don't reset g_home_dir for !NATIVE_WIN32 && !NATIVE_WIN32.
Packit ae235b
Packit ae235b
1999-01-24  Raja R Harinath  <harinath@cs.umn.edu>
Packit ae235b
Packit ae235b
	* gutils.c 
Packit ae235b
	(g_get_any_init) [HAVE_GETPWUID_R && HAVE_GETPWUID_R_POSIX]: 
Packit ae235b
	Hopefully got the error handling for `getpwuid_r' right.
Packit ae235b
	(g_get_any_init) [HAVE_GETPWUID_R && !HAVE_GETPWUID_R_POSIX]:
Packit ae235b
	Fix typo (change `pw == NULL' to `pw != NULL').
Packit ae235b
	
Packit ae235b
Sun Jan 24 00:36:22 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* ghash.c:
Packit ae235b
	- Revert previous "fix" (which really just did things a
Packit ae235b
	  different way).
Packit ae235b
	- (g_hash_table_remove): Don't need to support multiple values
Packit ae235b
	  for a single key.
Packit ae235b
Packit ae235b
	* tests/hash-test.c:
Packit ae235b
	Add test where hash function always returns a single value.
Packit ae235b
	Add beginnings of tests for g_hash_table_foreach[_remove] and
Packit ae235b
	g_hash_table_remove.
Packit ae235b
Packit ae235b
Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gutils.c: removed the #warning about MT without getpwuid_r
Packit ae235b
Packit ae235b
	* configure.in: and moved it here
Packit ae235b
Packit ae235b
Sat Jan 23 22:45:59 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
Packit ae235b
		   g_hash_table_insert, g_hash_table_remove,
Packit ae235b
		   g_hash_table_lookup_extended):
Packit ae235b
	  - Fixed bug that overwrote nodes in hash buckets instead of
Packit ae235b
	    adding them to the hash bucket node list.
Packit ae235b
	    Hash tables now work as advertised.
Packit ae235b
Packit ae235b
	(g_hash_table_resize):
Packit ae235b
	  - Use g_new0 instead of manual init.
Packit ae235b
	  - Space out code a bit for readability.
Packit ae235b
Packit ae235b
	(g_hash_nodes_destroy):
Packit ae235b
	  - Replaced "if (!hash_node) return;" with
Packit ae235b
	    "if (hash_node) {do stuff}".
Packit ae235b
	    Testing takes up less code space than explicit call to
Packit ae235b
	    'return' before end of function.  (look at gcc -S)
Packit ae235b
Packit ae235b
	Updated module header copyright to 1999.
Packit ae235b
	New module macro G_HASH_BUCKET for (table,key)->bucket lookups.
Packit ae235b
Packit ae235b
	* tests/hash-test.c:
Packit ae235b
	- Add two new tests, one with strings as the keys and values, and
Packit ae235b
	  one with ints as the keys and values.  Tests indirect (strings)
Packit ae235b
	  and direct (ints) hashing.
Packit ae235b
	- Cleanup unused junk left over from testglib.c.
Packit ae235b
	- Converted a g_print call to g_assert_not_reached.
Packit ae235b
	- Updated copyright to 1999.
Packit ae235b
Packit ae235b
	* testglib.c, tests/string-test.c:
Packit ae235b
	- Init 'tmp_string' var to NULL, silencing uninit-var warning.
Packit ae235b
Packit ae235b
1999-01-23  Raja R Harinath  <harinath@cs.umn.edu>
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init) [HAVE_GETPWUID_R]:
Packit ae235b
	Rewrite not to look at `errno' if library call succeeds, since
Packit ae235b
	`errno' is not reset to 0.
Packit ae235b
	
Packit ae235b
Sat Jan 23 16:17:04 1999  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glibconfig.h.win32: Update the magic values for
Packit ae235b
	pthread_mutex_t size and initializer bytes to match the
Packit ae235b
	latest version of pthreads for Win32.
Packit ae235b
Packit ae235b
Sat Jan 23 02:14:28 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): cleaned up the errno mess for
Packit ae235b
	GETPWUID. we especially don't want to g_error() out here!
Packit ae235b
	the warning for G_THREADS_ENABLED and !HAVE_GETPWUID_R isn't
Packit ae235b
	gcc related.
Packit ae235b
	if !HAVE_PWD_H and !NATIVE_WIN32, g_free the home dir before
Packit ae235b
	resetting it to NULL, why are we doing this anyways?
Packit ae235b
	reordered code a bit so we always provide defaults (except
Packit ae235b
	for g_home_dir).
Packit ae235b
Packit ae235b
Thu Jan 21 12:40:11 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* tests/{Makefile.am, string-test.c, strfunc-test.c}:
Packit ae235b
	Separate string and strfunc tests, working towards goal of
Packit ae235b
	having separate test for each of the GLib modules.
Packit ae235b
	Add a couple GString length tests.
Packit ae235b
Packit ae235b
Thu Jan 21 09:36:05 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* configure.in:
Packit ae235b
	Use AC_PREREQ not AC_REQUIRE for autoconf version test.
Packit ae235b
Packit ae235b
1999-01-21  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): Changed error handling again, as the
Packit ae235b
	error is not always set in errno, it is the return value on some
Packit ae235b
	systems. What an evil world.
Packit ae235b
Packit ae235b
Thu Jan 21 05:35:20 1999  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* gstrfuncs.c: Include signal.h only when the signal names will be
Packit ae235b
	needed.
Packit ae235b
Packit ae235b
Wed Jan 20 22:09:59 EST 1999 Mandrake <mandrake@mandrake.net>
Packit ae235b
Packit ae235b
	* configure.in / Makefile.am : made some adjustments for automake 1.4
Packit ae235b
	and autoconf 2.13 (per suggestions made by  Raja R Harinath
Packit ae235b
	<harinath@cs.umn.edu>)
Packit ae235b
Packit ae235b
Wed Jan 20 20:33:14 EST 1999 Mandrake <mandrake@mandrake.net>
Packit ae235b
Packit ae235b
	* autogen.sh: automake 1.4 and libtool 1.2d notices.
Packit ae235b
	(maybe I'll write an actual test for automake 1.4 later)
Packit ae235b
Packit ae235b
Wed Jan 20 15:05:25 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* HACKING: new file
Packit ae235b
Packit ae235b
	* Makefile.am: since we require automake 1.4 now, ditch the build
Packit ae235b
	top-level first and just use SUBDIRS
Packit ae235b
Packit ae235b
	* gmodule/Makefile.am: use noinst_LTLIBRARIES instead of overriding
Packit ae235b
	the install rule
Packit ae235b
Packit ae235b
Wed Jan 20 16:16:01 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init):
Packit ae235b
	Revert previous patch, move error value set line down to proper
Packit ae235b
	place.  Caught by Elliot Lee <sopwith@redhat.com>.
Packit ae235b
Packit ae235b
Wed Jan 20 20:48:58 GMT 1999  Adam D. Moss  <adam@gimp.org>
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): All gtk apps were broken
Packit ae235b
	here on my setup.  I changed the error to a warning to at
Packit ae235b
	least get things limping.
Packit ae235b
Packit ae235b
1999-01-20  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): Use getpwuid_r with the right
Packit ae235b
	signature, if available.
Packit ae235b
Packit ae235b
	* configure.in, acconfig.h: Test for existance of getpwuid_r and
Packit ae235b
	its signature.
Packit ae235b
Packit ae235b
Tue Jan 19 20:52:43 1999  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
	
Packit ae235b
	* Makefile.am (EXTRA_DIST): Add new Win32 files.
Packit ae235b
Packit ae235b
	* README.win32: Describe the conditional compilation macros.
Packit ae235b
Packit ae235b
	* makefile.lcc: Removed.
Packit ae235b
Packit ae235b
1999-01-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Moved test for localtime_r and rand_r to a place
Packit ae235b
	after the determination of the G_THREAD_LIBS and use them for
Packit ae235b
	finding those functions, necessary on systems with a different C
Packit ae235b
	library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
Packit ae235b
	Timur Bakeyev <mc@bat.ru>.
Packit ae235b
Packit ae235b
Tue Jan 19 00:44:24 1999  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
Packit ae235b
Packit ae235b
	* gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
Packit ae235b
	declaration breaks systems with different declarations, like
Packit ae235b
	mine (FreeBSD).  So, I added a configuration variable to decide
Packit ae235b
	whether the declaration is neccesary.  Change also appears on
Packit ae235b
	line 275 of configure.in.
Packit ae235b
Packit ae235b
Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.13
Packit ae235b
Packit ae235b
	* README:
Packit ae235b
	  INSTALL:
Packit ae235b
	  docs/glib-config: ver=1.1.13
Packit ae235b
Packit ae235b
Mon Jan 18 00:02:46 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* NEWS: updates for 1.1.13.
Packit ae235b
Packit ae235b
Sun Jan 17 17:15:59 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gtree.c (g_tree_traverse): removed assertion about rtree->root being
Packit ae235b
	NULL, so this function can be applied to unpopulated trees as well, fix
Packit ae235b
	provided by Simon Kagedal <sika8225@csd.uu.se>.
Packit ae235b
Packit ae235b
Sun Jan 17 11:17:19 1999 Christopher Blizzard  <blizzard@appliedtheory.com>
Packit ae235b
Packit ae235b
	* glib.spec: add packager address
Packit ae235b
Packit ae235b
Sun Jan 17 11:10:05 1999 Christopher Blizzard  <blizzard@appliedtheory.com>
Packit ae235b
Packit ae235b
	* glib.spec: increment version number to 1.1.13
Packit ae235b
Packit ae235b
Sun Jan 17 16:14:03 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
Packit ae235b
	((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
Packit ae235b
	by Seth Alves <alves@hungry.com>.
Packit ae235b
Packit ae235b
Sun Jan 17 14:13:52 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
Packit ae235b
	GHookList.hook_destroy function.
Packit ae235b
Packit ae235b
	* ghook.c (g_hook_destroy_link): don't really call hook_destroy if it
Packit ae235b
	is G_HOOK_DEFERRED_DESTROY. for the case where we invoke hook->destroy()
Packit ae235b
	we now clean up the hook completely afterwards, i.e. data, func and
Packit ae235b
	destroy are immediately set to NULL and hook_free can't play with that
Packit ae235b
	values anymore.
Packit ae235b
Packit ae235b
	* gmain.c (g_source_add): set hook_destroy to G_HOOK_DEFERRED_DESTROY,
Packit ae235b
	instead of using an ugly _noop() hack, this is to avoid an uneccessary
Packit ae235b
	function invocation. set hook_free to g_source_destroy_func, this way
Packit ae235b
	we always invoke the destroy notifiers for user_data and source_data
Packit ae235b
	after execution of dispatch(). thus, g_source_destroy_func() will always
Packit ae235b
	be called within the main_loop lock (this wasn't really assured
Packit ae235b
	before), and can release and reaquire the look around destroy notifier
Packit ae235b
	invocation.
Packit ae235b
Packit ae235b
Sun Jan 17 11:01:40 1999  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* config.h.win32 glibconfig.h.win32: Increment version number here
Packit ae235b
 	also.
Packit ae235b
Packit ae235b
Sun Jan 17 05:12:17 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in: incremented version number to 1.1.13, bin age 0,
Packit ae235b
	interface age 0.
Packit ae235b
Packit ae235b
	* glib.h: added hook_destroy member to struct _GHookList.
Packit ae235b
Packit ae235b
	* ghook.c (g_hook_destroy_link): if the hook_list defines a hook_destroy
Packit ae235b
	function, use that to marshal hook destruction notifiers.
Packit ae235b
Packit ae235b
	* gmain.c: removed g_source_free_func and added g_source_destroy_func,
Packit ae235b
	which marshalls the user_data and source_data destructors of sources
Packit ae235b
	outside of the main_loop lock.
Packit ae235b
	removed GIdleData struct since its sole member callback can be passed
Packit ae235b
	as source_data directly.
Packit ae235b
	added a gboolean return value to all g_source_remove* functions,
Packit ae235b
	indicating whether the source could be removed, because these functions
Packit ae235b
	don't issue warnings upon unseccessful removals themselves. this way at
Packit ae235b
	least the caller gets a chance to warn upon failing removals.
Packit ae235b
	(g_main_iterate): set in_check_or_prepare around calls to check() or
Packit ae235b
	prepare().
Packit ae235b
	(g_main_pending): simply return FALSE if called from within check() or
Packit ae235b
	prepare().
Packit ae235b
	(g_main_iteration): issue a warning if called from within check() or
Packit ae235b
	prepare() and bail out with FALSE.
Packit ae235b
	(g_main_run): likewise.
Packit ae235b
	(g_source_remove_by_funcs_user_data): new function to remove sources by
Packit ae235b
	user data and function table.
Packit ae235b
	(g_idle_remove_by_data): new function to really remove idles only, since
Packit ae235b
	g_source_remove_by_user_data would remove timeouts or other sources as
Packit ae235b
	well.
Packit ae235b
Packit ae235b
1999-01-16  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
	* Merge in current Win32 version:
Packit ae235b
Packit ae235b
	* README.win32: More text.
Packit ae235b
Packit ae235b
	* config.h.win32 glibconfig.h.win32: Update to match the
Packit ae235b
	corresponding generated files on Unix.
Packit ae235b
Packit ae235b
	* makefile.msc: Update with new source files, and gthread
Packit ae235b
 	library. Use the compiler flag -MD instead of using -D_DLL and
Packit ae235b
	/nodefaultlib:libc msvcrt.lib in the link phase.
Packit ae235b
Packit ae235b
	* glib.def: Update to include new functions, drop removed ones.
Packit ae235b
Packit ae235b
	* glib.h: Add comments about main loop and polling on Win32. (In
Packit ae235b
	general, it's only for the GIMP's use.) Add Win32 IO Channel
Packit ae235b
	functions. Remove the obsoleted old IO Channel stuff (which was
Packit ae235b
	in #if 0 already).
Packit ae235b
Packit ae235b
	* giowin32.c: New file.
Packit ae235b
Packit ae235b
	* gmain.c: Include config.h, conditionalize <sys/time.h>
Packit ae235b
 	inclusion.  Add g_poll implementation for Win32 (only for the
Packit ae235b
 	GIMP's needs for now, it's hard or even impossible to be as clean
Packit ae235b
 	and generic as on Unix). Implement g_get_current_time on Win32. If
Packit ae235b
 	threads aren't supported, don't try to wake up main thread's
Packit ae235b
 	loop. On Win32, use a semaphore and not a pipe to wake up the main
Packit ae235b
 	loop.
Packit ae235b
Packit ae235b
	* gmessages.c: On Win32, allocate a console window if the standard
Packit ae235b
	output handle is invalid before writing to stdout, and reopen stdout
Packit ae235b
	to that console window.
Packit ae235b
Packit ae235b
	* giochannel.c: Conditionalize unistd.h inclusion. Some indentation
Packit ae235b
	cleanup.
Packit ae235b
Packit ae235b
	* gstrfuncs.c: Include <signal.h>.
Packit ae235b
Packit ae235b
	* gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
Packit ae235b
	environment variables.
Packit ae235b
Packit ae235b
Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
Packit ae235b
Packit ae235b
	* configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
Packit ae235b
Packit ae235b
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h: don't use inline for !__GNUC__ case with g_warning,
Packit ae235b
	g_error, and g_message wrappers since some compilers throw
Packit ae235b
	away arguments in this case
Packit ae235b
Packit ae235b
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* acinclude.m4
Packit ae235b
	* ltconfig
Packit ae235b
	* ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)
Packit ae235b
Packit ae235b
	* testglib.c: removed unused cruft
Packit ae235b
Packit ae235b
Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gdate.c: #warning isn't portable, check for gcc
Packit ae235b
Packit ae235b
1999-01-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
        * gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
Packit ae235b
Packit ae235b
        * configure.in: Moved function check back to the place, they've
Packit ae235b
        been before.
Packit ae235b
Packit ae235b
1999-01-11  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* gstrfuncs.c:
Packit ae235b
	Do not use vasprintf.
Packit ae235b
Packit ae235b
	* configure.in, glib.h, testglib.c, tests/.cvsignore,
Packit ae235b
	  tests/Makefile.am, tests/alloca-test.c:
Packit ae235b
	Do not use alloca.
Packit ae235b
Packit ae235b
1999-01-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Test for localtime_r only after including the
Packit ae235b
	right MT enabling CFLAGS (i.e. -D_REENTRANT on most systems).
Packit ae235b
Packit ae235b
	* configure.in: Find right thread system on DG/UX. Thanks to Marc
Packit ae235b
	J. Fraioli <fraioli@dg-rtp.dg.com> for hint. Finally removed the
Packit ae235b
	stuff for -fstack-check, that didnt work anyway.
Packit ae235b
Packit ae235b
	* gdate.c (g_date_set_time): Emit warning, if no localtime_r
Packit ae235b
	function is available on thread enabled systems. Define ptm only,
Packit ae235b
	if really needed, and assert on it.
Packit ae235b
Packit ae235b
Sat Jan  9 15:08:44 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* testglib.c:
Packit ae235b
	Make all aux functions static.
Packit ae235b
Packit ae235b
	* tests/Makefile.am, tests/dirname-test.c, tests/type-test.c:
Packit ae235b
	New tests dirname-test and type-test, from testglib.
Packit ae235b
Packit ae235b
Sat Jan  9 13:53:00 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* configure.in:
Packit ae235b
	Add checks for vasprintf, localtime_r.
Packit ae235b
Packit ae235b
	* gdate.c (g_date_set_time):
Packit ae235b
	Use localtime if localtime_r is not available.
Packit ae235b
Packit ae235b
	* gstrfuncs.c (g_strdup_vprintf):
Packit ae235b
	Use glibc vasprintf if possible; it's a bit faster than using
Packit ae235b
	GLib routines, and makes output code a bit smaller.
Packit ae235b
Packit ae235b
	* acconfig.h:
Packit ae235b
	Remove HAVE_VSNPRINTF and HAVE_VPRINTF.  autoheader picks these
Packit ae235b
	up automatically and puts them in config.h.in.
Packit ae235b
Packit ae235b
Thu Jan  7 15:14:08 1999  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* gmain.c (g_source_free_func): Call the source-specific
Packit ae235b
	free function when the hook is freed not when it
Packit ae235b
	is destroyed; this fixes a bug where a timeout destroyed
Packit ae235b
	from itself would access already freed data.
Packit ae235b
Packit ae235b
1999-01-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* gutils.c (g_get_any_init): Here we must replace getpwuid by
Packit ae235b
	getpwuid_r, but as I do not know how for now, I just made a FIXME
Packit ae235b
	note ;-)
Packit ae235b
Packit ae235b
	* gdate.c (g_date_set_time): localtime --> localtime_r to make it
Packit ae235b
	thread safe.
Packit ae235b
Packit ae235b
	* configure.in: We do not need to check for broken solaris mutex
Packit ae235b
	intitializer any longer. Provide a macro to show the used thread
Packit ae235b
	implementation. Not nice, but this is needed until thread support
Packit ae235b
	is completed here inside glib.
Packit ae235b
Packit ae235b
Tue Jan  5 12:23:52 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: ditch whitespace before GLIB_SYSDEFS #includes,
Packit ae235b
	the # needs to be in column 1
Packit ae235b
Packit ae235b
	* gthread/testgthread.c: cleanups
Packit ae235b
Packit ae235b
	* tests/node-test.c: #include unistd.h for exit()
Packit ae235b
Packit ae235b
1999-01-04  Andrew T. Veliath  <andrewtv@usa.net>
Packit ae235b
Packit ae235b
	* glib.h (g_array_insert_val): fix macro to be shorthand of
Packit ae235b
	g_array_insert_vals.
Packit ae235b
Packit ae235b
Mon Jan  4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* acglib.m4: some echos interpret \n's and some don't. Deal with
Packit ae235b
	accordingly.
Packit ae235b
Packit ae235b
Mon Jan  4 20:58:50 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gscanner.c: eliminated extraneous "register" qualifiers in variable
Packit ae235b
	declarations.
Packit ae235b
Packit ae235b
	* gmain.c: #undef events and revents which may have been defined in
Packit ae235b
 	sys/poll.h for SVR3,4 compatibility on some AIX systems. fix been
Packit ae235b
	provided by Philippe Defert <Philippe.Defert@cern.ch>.
Packit ae235b
Packit ae235b
Mon Jan  4 14:38:11 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: adjusted the g_strdup_a, g_strndup_a and g_strconcat3_a macros
Packit ae235b
	so their arguments get only evaluated once. changed g_strconcat3_a to
Packit ae235b
	have the same semantics as g_strconcat, i.e. if a certain argument is
Packit ae235b
 	NULL, the rest of the parameter list is skipped.
Packit ae235b
Packit ae235b
	* tests/alloca-test.c: removed #if/#endif G_HAVE_ALLOCA, we need to be
Packit ae235b
 	able to compile on all systems. added test for g_strconcat() semantics.
Packit ae235b
Packit ae235b
	* we need a alloca() replacement for !G_HAVE_ALLOCA rsn!
Packit ae235b
Packit ae235b
Mon Jan  4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
        * Released GLib 1.1.12
Packit ae235b
Packit ae235b
        * INSTALL:
Packit ae235b
          NEWS:
Packit ae235b
          README:
Packit ae235b
          configure.in:
Packit ae235b
	  glib.spec:
Packit ae235b
          docs/glib-config.1: version=1.1.12
Packit ae235b
Packit ae235b
	* tests/Makefile.am: fixed so it works properly with
Packit ae235b
	  builddir and srcdir.
Packit ae235b
Packit ae235b
Sun Jan  3 01:38:14 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* tests/Makefile.am:
Packit ae235b
	add array-test.c, tree-test.c
Packit ae235b
Packit ae235b
	* tests/array-test.c, tests/tree-test.c:
Packit ae235b
	New module, tests array family
Packit ae235b
Packit ae235b
	* tests/hash-test.c, tests/list-test.c, tests/slist-test.c,
Packit ae235b
	  tests/string-test.c, tests/node-test.c:
Packit ae235b
	Clean out cruft left over from testglib.
Packit ae235b
Packit ae235b
Sat Jan  2 22:42:25 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* Makefile.am, configure.in, tests/*:
Packit ae235b
	Added 'make check' tests, based on testglib code.
Packit ae235b
Packit ae235b
Sat Jan  2 19:52:45 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* glib.h, testglib.c:
Packit ae235b
	Added g_alloca, g_new_a, g_new0_a macros.
Packit ae235b
Packit ae235b
Sat Jan  2 16:45:44 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* testglib.c: Added g_strdup_printf check.
Packit ae235b
Packit ae235b
Fri Jan  1 21:58:40 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	(g_strdup_a, g_strndup_a): Handle NULL strings like g_strdup.
Packit ae235b
	s/g_strconcat_a/g_strconcat3_a/ to reflect fixed number of args
Packit ae235b
Packit ae235b
	* testglib.c:
Packit ae235b
	Added g_strdup, g_strconcat checks.
Packit ae235b
	Added str==NULL checks for alloca string macros.
Packit ae235b
	s/g_strconcat_a/g_strconcat3_a/
Packit ae235b
Packit ae235b
Fri Jan  1 18:30:41 PST 1999 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* testglib.c: made the alloca tests follow the testglib style
Packit ae235b
Packit ae235b
	* Makefile.am: minor cleanups, mostly cosmetic
Packit ae235b
Packit ae235b
Fri Jan  1 20:43:19 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* glib.h: added g_strndup_a macro
Packit ae235b
Packit ae235b
	* testglib.c:
Packit ae235b
	Added tests for new alloca-based string routines.
Packit ae235b
	Reformatted a couple strings.
Packit ae235b
Packit ae235b
Sat Jan  2 02:20:59 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* ghook.c:
Packit ae235b
	(g_hook_list_invoke):
Packit ae235b
	(g_hook_list_invoke_check):
Packit ae235b
	(g_hook_list_marshal_check):
Packit ae235b
	(g_hook_list_marshal): avoid unneccessary extra hook referencing (the
Packit ae235b
	explicit hook referencing became unneccessarry with my changes from
Packit ae235b
	Mon Dec 21 21:48:29 1998).
Packit ae235b
Packit ae235b
	* gmain.c (g_main_iterate): fixed reference counting leaks with
Packit ae235b
 	premature loop aborts.
Packit ae235b
Packit ae235b
Fri Jan  1 22:47:44 1999  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_unexp_token): handle G_TOKEN_IDENTIFIER_NULL
Packit ae235b
	as G_TOKEN_IDENTIFIER.
Packit ae235b
Packit ae235b
Fri Jan  1 17:09:19 EST 1999  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* configure.in, glib.h:
Packit ae235b
	Added two new alloca-based function macros, g_strdup_a and
Packit ae235b
	g_strconcat_a.	These are stack-based and much faster than
Packit ae235b
	their g_malloc-based counterparts.  Kudos to Ulrich Drepper
Packit ae235b
	for help on this one.
Packit ae235b
Packit ae235b
Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
        * Released GLib 1.1.11
Packit ae235b
Packit ae235b
        * INSTALL:
Packit ae235b
          NEWS:
Packit ae235b
          README:
Packit ae235b
          configure.in:
Packit ae235b
          docs/glib-config.1: version=1.1.11
Packit ae235b
Packit ae235b
1998-12-30  Raja R Harinath  <harinath@cs.umn.edu>
Packit ae235b
Packit ae235b
	* glib.h (G[U]INT64_FROM_{LE,BE}):
Packit ae235b
	Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
Packit ae235b
Packit ae235b
Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* acglib.m4
Packit ae235b
	* configure.in: provide defaults for POLL sysdefs, simple enums
Packit ae235b
	don't work with bitwise logic. Reported by Daniel Skarda
Packit ae235b
	<0rfelyus@atrey.karlin.mff.cuni.cz>
Packit ae235b
Packit ae235b
Wed Dec 23 00:43:25 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* INSTALL:
Packit ae235b
	  NEWS:
Packit ae235b
	  README:
Packit ae235b
	  configure.in:
Packit ae235b
	  docs/glib-config.1: version=1.1.10
Packit ae235b
Packit ae235b
Wed Dec 23 04:18:11 1998  George Lebl  <jirka@5z.com>
Packit ae235b
Packit ae235b
	* gmain.c: (g_get_current_time) don't cast to timeval since
Packit ae235b
	  timeval is for some reason not always a struct of longs, weird
Packit ae235b
Packit ae235b
Tue Dec 22 10:32:11 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
Packit ae235b
	warnings.
Packit ae235b
Packit ae235b
Mon Dec 21 21:48:29 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gmain.c: there was a reference count race for hooks during invocation
Packit ae235b
	loops. since all (known) hook loop implementations, do currently start
Packit ae235b
	out with g_hook_first_valid() and iterate with g_hook_next_valid(),
Packit ae235b
	g_hook_first_valid() will now return a referenced hook, and
Packit ae235b
	g_hook_next_valid() will "eat" that, and eventually transfer it to
Packit ae235b
	the next hook. <sigh> unfortunately this requires g_hook_next_valid()
Packit ae235b
 	to take the hook_list as additional argument.
Packit ae235b
Packit ae235b
	* gmain.c (g_main_iterate): adjusted callers of g_hook_next_valid().
Packit ae235b
Packit ae235b
Mon Dec 21 03:48:04 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gmain.c (g_main_iterate): default initialize source_timeout with -1
Packit ae235b
	so we have a sane timeout value if (*prpare) doesn't set it.
Packit ae235b
Packit ae235b
Sat Dec 19 16:56:02 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
Packit ae235b
	scale of priorities.
Packit ae235b
Packit ae235b
Sat Dec 19 16:56:02 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* gmain.c (g_main_poll): Allocate space for pollfd's
Packit ae235b
	_after_ adding poll wake-up-pipe record.
Packit ae235b
Packit ae235b
	* gmain.c (g_main_add_poll): Changed name
Packit ae235b
	of internal function g_main_add_poll_unlocked()
Packit ae235b
	back from the non-sensical g_main_add_unlocking_poll().
Packit ae235b
Packit ae235b
Sat Dec 19 06:25:55 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.m4: fixed a minor bug that would let configures bail out
Packit ae235b
	if the MODULES argument contained newlines.
Packit ae235b
Packit ae235b
	* acglib.m4: new file to be included by configure.in. it holds
Packit ae235b
	special GLIB_ autoconfiguration macros, eventually some of the
Packit ae235b
	easier ones should be moved into glib.m4, e.g. GLIB_IF_VAR_EQ,
Packit ae235b
	GLIB_STR_CONTAINS or GLIB_ADD_TO_VAR.
Packit ae235b
Packit ae235b
Sat Dec 19 04:27:17 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* fixed up sys/poll.h and sys/types.h inclusions.
Packit ae235b
Packit ae235b
Sat Dec 19 03:10:50 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* fixed up gthread includes, cleaned up glibconfig.h a little bit.
Packit ae235b
Packit ae235b
Fri Dec 18 12:51:39 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* gmain.c: Fix errors in computation of timeout
Packit ae235b
	expiration times > 1sec.
Packit ae235b
Packit ae235b
1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in (have_threads): Changed the last pthread_cond_init
Packit ae235b
	to pthread_attr_init.
Packit ae235b
Packit ae235b
Fri Dec 18 00:03:17 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gmain.c:
Packit ae235b
	(g_main_is_running): new function to check whether a main loop has been
Packit ae235b
	quitted.
Packit ae235b
	(g_main_new): added a gboolean argument to determine whether the loop
Packit ae235b
	should be considered initially running or not. however, g_main_run ()
Packit ae235b
 	will still reset the main loops running state to TRUE upon initial
Packit ae235b
 	entrance.
Packit ae235b
Packit ae235b
	* gmain.c:
Packit ae235b
 	(g_main_iterate): documented this function's purpose in 5 steps.
Packit ae235b
 	for step 2), flag sources as G_SOURCE_READY even if !dispatch and
Packit ae235b
	check G_SOURCE_READY prior to (*prepare), so we don't call (*prepare)
Packit ae235b
 	on them multiple times.
Packit ae235b
Packit ae235b
Thu Dec 17 23:43:47 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gmain.c (g_main_add_poll): reordered arguments, so GPollFD* comes
Packit ae235b
	first, <sigh> (sorry Snorfle, i should have let you know in the first
Packit ae235b
 	place).
Packit ae235b
	(g_main_dispatch): stack G_HOOK_FLAG_IN_CALL flags. call source's
Packit ae235b
	destructor when destroying a source.
Packit ae235b
Packit ae235b
1998-12-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
Packit ae235b
	reported by Alexander Larsson <alla@lysator.liu.se>.
Packit ae235b
Packit ae235b
	* gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
Packit ae235b
Packit ae235b
Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.9
Packit ae235b
Packit ae235b
	* INSTALL:
Packit ae235b
	  NEWS:
Packit ae235b
	  README:
Packit ae235b
	  configure.in:
Packit ae235b
	  glib.spec:
Packit ae235b
	  docs/glib-config.1: version=1.1.9
Packit ae235b
Packit ae235b
Wed Dec 16 22:32:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	  giounix.c: s/g_main_poll_add/g_main_remove_add/g
Packit ae235b
                     s/g_main_poll_remove/g_main_remove_poll/g
Packit ae235b
                     s/g_main_poll_add_unlocking/g_main_add_unlocking_poll/g
Packit ae235b
          (from Tim Janik)
Packit ae235b
Packit ae235b
Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: check for pthread_attr_init in all cases, du4
Packit ae235b
	needs this since most of the other functions are just #defines
Packit ae235b
Packit ae235b
Thu Dec 17 04:10:49 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
Packit ae235b
	trailing semicolon with a bogus function declaration, instead
Packit ae235b
	of with a bogus variable declarations, so we avoid unused
Packit ae235b
	variable warnings.
Packit ae235b
Packit ae235b
Wed Dec 16 07:49:16 PST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.8  (CVS tag is GLIB_1_1_8a)
Packit ae235b
Packit ae235b
1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
Packit ae235b
Packit ae235b
1998-12-16  Joel Becker  <jlbec@ocala.cs.miami.edu>
Packit ae235b
Packit ae235b
	* glib.h, gscanner.c: changed func_data to user_data in
Packit ae235b
        g_scanner_scope_symbol_foreach and associated friends, because
Packit ae235b
	AIX headers #define func_data.
Packit ae235b
Packit ae235b
1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Fixed stupid bug, that made
Packit ae235b
	g_static_mutex_lock(*mutex) not work as expected.
Packit ae235b
Packit ae235b
	* docs/glib-config.1: Updated to reflect the existence of gthread.
Packit ae235b
Packit ae235b
	* gmain.c (g_main_poll_add_unlocking): Changed
Packit ae235b
	g_main_poll_add_unlocked to g_main_poll_add_unlocking to match
Packit ae235b
	semantic, (indeed, main_loop must be locked, when calling this
Packit ae235b
	function). Removed the unlocking from the end of that function, as
Packit ae235b
	that is not right. Made a 'HOLDS' comment above the function.
Packit ae235b
Packit ae235b
Wed Dec 16 03:16:58 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
        * configure.in: version bump to 1.1.8, binary age 0, interface age 0.
Packit ae235b
Packit ae235b
	* glib.h: changed g_lock() to G_LOCK(), g_unlock() to G_UNLOCK() and
Packit ae235b
	g_trylock() to G_TRYLOCK(), since these are macros that expand to
Packit ae235b
	nothing with --disable-threads.
Packit ae235b
	changed G_LOCK_DEFINE() to G_LOCK_DECLARE() and introduced
Packit ae235b
 	G_LOCK_DECLARE_STATIC() to achive the results of static G_LOCK_DECLARE().
Packit ae235b
	changed semantics of g_thread_supported to g_thread_supported() so it
Packit ae235b
	can be used as a function like g_module_supported(). the actuall
Packit ae235b
	definition is still a macro that expands into a variable for
Packit ae235b
 	performance reasons though.
Packit ae235b
	various indentation and coding style cleanups.
Packit ae235b
Packit ae235b
	* configure.in: added --enable-threads that defaults to yes.
Packit ae235b
Packit ae235b
	* gmutex.c: changed tests g_thread_supported to g_thread_supported (),
Packit ae235b
	changed variable settings of g_thread_supported
Packit ae235b
 	to g_threads_got_initialized.
Packit ae235b
Packit ae235b
	garray.c:
Packit ae235b
	gcache.c:
Packit ae235b
	gdataset.c:
Packit ae235b
	gdate.c:
Packit ae235b
	ghash.c:
Packit ae235b
	glist.c:
Packit ae235b
	gmain.c:
Packit ae235b
	gnode.c:
Packit ae235b
	gslist.c:
Packit ae235b
	gstring.c:
Packit ae235b
	gtree.c:
Packit ae235b
	gutils.c:
Packit ae235b
	changed s/g_lock/G_LOCK/, s/g_unlock/G_UNLOCK/,
Packit ae235b
 	s/static G_LOCK_DEFINE/G_LOCK_DECLARE_STATIC/.
Packit ae235b
Packit ae235b
Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* INSTALL:
Packit ae235b
	  NEWS:
Packit ae235b
	  README
Packit ae235b
	  configure.in:
Packit ae235b
	  glib.spec:
Packit ae235b
	  docs/glib-config.1: Incremented version
Packit ae235b
Packit ae235b
Wed Dec 16 22:29:48 1998  Joel Becker  <jlbec@ocala.cs.miami.edu>
Packit ae235b
Packit ae235b
	* configure.in: fixed the AIX thread checking.
Packit ae235b
	Just an error on the wildcard.  BTW, -D_THREAD_SAFE
Packit ae235b
	is correct for AIX.
Packit ae235b
Packit ae235b
Wed Dec 16 02:02:48 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib-config.in (lib_glib): fixed library and flag ordering for
Packit ae235b
	--libs
Packit ae235b
Packit ae235b
Tue Dec 15 17:17:46 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glib.h giounix.c giochannel.c: Use an "inheritance"
Packit ae235b
	scheme for IO channel memory allocation.h
Packit ae235b
Packit ae235b
1998-12-15  Havoc Pennington  <hp@pobox.com>
Packit ae235b
Packit ae235b
	* gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
Packit ae235b
	that produced garbage output for the test date I was using to
Packit ae235b
	set up the parser. So use a different date that Solaris seems
Packit ae235b
	to like.
Packit ae235b
Packit ae235b
1998-12-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: Dont complain, if --without-threads or
Packit ae235b
	--with-threads=none is supplied; Test for pthread_attr_init
Packit ae235b
	instead of pthread_cond_init, if threads seems to be supported by
Packit ae235b
	standard glib. (CFLAGS): Use G_THREAD_CFLAGS for compiling of glib
Packit ae235b
	as well.
Packit ae235b
Packit ae235b
	* glib.h, gmutex.c: Changed private to private_key to avoid
Packit ae235b
	problems when compiling with under C++.
Packit ae235b
Packit ae235b
1998-12-15  Jeff Garzik  <jgarzik@Pobox.com>
Packit ae235b
Packit ae235b
	* configure.in:
Packit ae235b
	bugfixes, correctly support --without-threads and friends
Packit ae235b
Packit ae235b
	* gthread/testgthread.c: corrected 64-bitness problem
Packit ae235b
Packit ae235b
Tue Dec 15 10:40:09 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* gnode.c glist.c gslist.c: Make sure all
Packit ae235b
	calls to g_node_validate_allocator are within
Packit ae235b
	current_allocator lock, so we have consistency
Packit ae235b
	on that point. (Should not really matter,
Packit ae235b
	but this way we match the comments)
Packit ae235b
Packit ae235b
	* glist.c (g_list_free_1): Removed some lines
Packit ae235b
	that should never have been committed. (For
Packit ae235b
	debugging)
Packit ae235b
Packit ae235b
1998-12-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* gthread/gthread-nspr.c, configure.in: Added new default thread
Packit ae235b
	implementation on top of the mozilla nspr library.
Packit ae235b
Packit ae235b
	* gmem.c, gmessaged.c, gthread/gthread.c, gthread/gthread-*.c:
Packit ae235b
	Changed GStaticMutex and GStaticPrivate in gmem.c and gmessages.c
Packit ae235b
	into GMutex and GPrivate resp. to make error reporting and use of
Packit ae235b
	gmem possible in most (not all, though) gthread functions. Also
Packit ae235b
	initialized the modules via new init functions.
Packit ae235b
Packit ae235b
	* configure.in: Fixed syntax bug in definition of type
Packit ae235b
	GStaticMutex.
Packit ae235b
Packit ae235b
	* gthread/testgthread.c: Updated to work with nspr, but see note
Packit ae235b
	there for remaining problems.
Packit ae235b
Packit ae235b
1998-12-10  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* gmutex.c, glib.h: Now abort, if a mutex/cond/private is
Packit ae235b
	allocated before the thread system is set up.
Packit ae235b
Packit ae235b
	* gthread/gthread.c (g_thread_init): Removed g_thread_try_init(),
Packit ae235b
	as it is not necessary. Changed the error message. Corrected logic
Packit ae235b
	for g_thread_use_default_impl.
Packit ae235b
Packit ae235b
	* gmutex.c (g_mutex_init): Keep the thread private data array
Packit ae235b
	after calling g_thread_init().
Packit ae235b
Packit ae235b
1998-12-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* gthread/testgthread.c (new_thread): Now also working for posix
Packit ae235b
	threads; (wait_thread): Now a better implementation, that does not
Packit ae235b
	use 100% CPU.
Packit ae235b
Packit ae235b
	* Made the thread related code follow GNU coding standard.
Packit ae235b
Packit ae235b
	* Made a comment (HOLDS:) above each function, that expects the
Packit ae235b
	given locks to be held.
Packit ae235b
Packit ae235b
	* Changed try_lock to trylock throughout.
Packit ae235b
Packit ae235b
	* glib.c: Eventually removed the #if 0'ed code for old GStaticMutex.
Packit ae235b
Packit ae235b
	* glib.c: Corrected g_trylock macro for G_DEBUG_LOCKS.
Packit ae235b
Packit ae235b
	* gmain.c (g_main_poll_add_unlocked): first take a new poll record
Packit ae235b
	form the poll_free_list.
Packit ae235b
Packit ae235b
	* gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
Packit ae235b
Packit ae235b
	* gthraed/*.c: Added copyright headers.
Packit ae235b
Packit ae235b
	* gthread/gthread-solaris.c: do not use g_log for errors, as g_log
Packit ae235b
	uses these module and endless recursions might happen, just use a
Packit ae235b
	plain fprintf(stderr,...).
Packit ae235b
Packit ae235b
	* gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
Packit ae235b
Packit ae235b
	* gthread/testgthread.c: updated test program.
Packit ae235b
Packit ae235b
Tue Dec  8 18:49:56 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* Start at adding thread-safety. (mostly work
Packit ae235b
	of Sebastian Wilhelmi <wilhelmi@ira.uka.de>)
Packit ae235b
Packit ae235b
	- configure.in now looks for a system thread implementation.
Packit ae235b
	Currently support is included for POSIX threads
Packit ae235b
	and Solaris threads. The default support is built
Packit ae235b
	into a separate library -lgthread.
Packit ae235b
Packit ae235b
	- The thread implementation can be modified by passing
Packit ae235b
	a vector of functions g_thread_init().
Packit ae235b
Packit ae235b
	- The default or supplied functions are used to
Packit ae235b
	implement a small set of thread functions for
Packit ae235b
	mutexes, condition variables, and thread-private
Packit ae235b
	data.
Packit ae235b
Packit ae235b
	- GLib now uses these functions to provide thread
Packit ae235b
	safety. (In the sense that all global static
Packit ae235b
	data is locked... individual structures must still
Packit ae235b
	be locked by the caller.)
Packit ae235b
Packit ae235b
Sat Dec 12 19:08:59 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in: always define G_HAVE_INLINE if __cplusplus is
Packit ae235b
 	defined, reported by Wan-Teh Chang <wtc@netscape.com>.
Packit ae235b
Packit ae235b
Thu Dec 10 21:49:39 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.7
Packit ae235b
Packit ae235b
	* INSTALL:
Packit ae235b
	  NEWS:
Packit ae235b
	  README:
Packit ae235b
	  configure.in:
Packit ae235b
	  glib.spec:
Packit ae235b
	  docs/glib-config.1: Increased version to 1.1.7
Packit ae235b
Packit ae235b
Wed Dec  9 22:44:44 EST 1998 Joel Becker <jlbec@ocala.cs.miami.edu>
Packit ae235b
Packit ae235b
	* Removed #define of G_COMPILED_WITH_DEBUGGING from glibconfig.h
Packit ae235b
	It shouldn't be there, and it was causing a double #define.
Packit ae235b
        (config.h defines it also)
Packit ae235b
Packit ae235b
Tue Dec  8 12:18:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.6
Packit ae235b
Packit ae235b
	* NEWS: updated
Packit ae235b
Packit ae235b
Mon Dec  7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gmain.c: fixes to #undef HAVE_POLL case
Packit ae235b
Packit ae235b
1998-12-02  Havoc Pennington  <hp@pobox.com>
Packit ae235b
Packit ae235b
	* gdate.c (g_date_set_month): If Julian is valid, we have to
Packit ae235b
	update the dmy representation before setting the components
Packit ae235b
	of it.
Packit ae235b
	(g_date_set_day): Same.
Packit ae235b
	(g_date_set_year): Same.
Packit ae235b
Packit ae235b
1998-12-02  Havoc Pennington  <hp@pobox.com>
Packit ae235b
Packit ae235b
	* testgdate.c, testgdateparser.c: Two new files. This is kind of
Packit ae235b
	ugly code, but I want to go ahead and make the tests available.
Packit ae235b
	It isn't contaminating any other code. :-) Since one of these
Packit ae235b
	is interactive and the other takes a while to run, I've kept
Packit ae235b
	them separate from testglib for now.
Packit ae235b
	* Makefile.am: Build gdate test programs.
Packit ae235b
Packit ae235b
1998-12-02  Havoc Pennington  <hp@pobox.com>
Packit ae235b
Packit ae235b
	* gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
Packit ae235b
	flags, rather than re-checking the validity of the actual
Packit ae235b
	values. This should be the correct behavior, the old way was
Packit ae235b
	leftover cruft.
Packit ae235b
Packit ae235b
	* glib.h, gdate.c: Changed MDY to DMY throughout.
Packit ae235b
Packit ae235b
Sat Nov 28 12:53:47 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* Makefile.am configure.in acconfig.h giochannel.c
Packit ae235b
	  glib.h glist.c gmain.c gutils.c:
Packit ae235b
Packit ae235b
        - Revised GIOChannel to provide a generic virtual-function
Packit ae235b
  	  based interface.
Packit ae235b
	- Added unix fd-based GIOChannel's
Packit ae235b
	- Added generic main-loop abstraction
Packit ae235b
	- Added timeouts and idle functions using main-loop abstraction.
Packit ae235b
Packit ae235b
1998-12-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gdate.c: changed `gpointer struct_tm_p' parameter of
Packit ae235b
	g_date_to_struct_tm back to `struct tm *tm' and forward declared
Packit ae235b
	`struct tm' in glib.h; yes, this is nice, we still need not
Packit ae235b
	include time.h.
Packit ae235b
Packit ae235b
Tue Dec  1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* INSTALL:
Packit ae235b
          NEWS:
Packit ae235b
	  README:
Packit ae235b
	  glib.spec:
Packit ae235b
	  docs/glib-config.1: Incremented versions to 1.1.6.
Packit ae235b
Packit ae235b
Wed Dec  2 02:10:59 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gdate.c: s/time_t/GTime/ and s/g_print/g_message/
Packit ae235b
	include time.h.
Packit ae235b
Packit ae235b
	* glib.h: removed #include <time.h>, changed time_t paramter of
Packit ae235b
 	g_date_set_time() to time_t, changed struct tm parameter of
Packit ae235b
	g_date_to_struct_tm to `gpointer struct_tm_p'. yes, this is not
Packit ae235b
	nice, but including time.h actually breaks a bunch of code.
Packit ae235b
Packit ae235b
	* incremented GLib version to 1.1.6.
Packit ae235b
Packit ae235b
1998-11-30  Havoc Pennington  <hp@pobox.com>
Packit ae235b
Packit ae235b
	* gdate.c: New file, implements calendrical calculations.
Packit ae235b
Packit ae235b
	* glib.h: Added declarations for GDate module.
Packit ae235b
Packit ae235b
Mon Nov 30 07:12:10 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* ghook.c: added g_hook_list_marshal_check() to eventually destroy
Packit ae235b
	hooks after they got marshalled.
Packit ae235b
Packit ae235b
Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* configure.in, Makefile.am, gmodule/Makefile.am:
Packit ae235b
	Put -DFOO stuff into Makefile.am INCLUDES.
Packit ae235b
Packit ae235b
Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
Packit ae235b
	so CFLAGS can be overridden at make time properly
Packit ae235b
Packit ae235b
Sat Nov 28 01:23:25 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* ghash.c: implemented incremental freezing facility.
Packit ae235b
Packit ae235b
Thu Nov 26 01:36:20 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* ghash.c: reverted the g_hash_table_set_key_freefunc() addition,
Packit ae235b
	since it's to specialized and needs to be resolved in a generic
Packit ae235b
	fashion.
Packit ae235b
Packit ae235b
Tue Nov 24 18:57:59 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* applied glib-tml-981120-0, change log appended below.
Packit ae235b
Packit ae235b
	* glibconfig.h.win32: passthrough 64-bit constants unchanged, VC++
Packit ae235b
	infers them
Packit ae235b
Packit ae235b
Fri Nov 20 22:26:43 1998  Tor Lillqvist  <tml@iki.fi>
Packit ae235b
Packit ae235b
        * glib.h: Moved MSC pragmas from glib.h to glibconfig.h.win32.
Packit ae235b
        peer_offset field in WIN32 part of GIOChannel removed, need_wakeups
Packit ae235b
        added. Added "extern" to __declspec(dllimport).
Packit ae235b
Packit ae235b
        * gutils.c: Initialise need_wakeups.
Packit ae235b
Packit ae235b
        * glibconfig.h.win32: Pragmas moved here. Define G_GINT64_CONSTANT.
Packit ae235b
Packit ae235b
        * gmodule/gmodule.def: Added g_module_build_path.
Packit ae235b
Packit ae235b
        * gscanner.c: (g_scanner_cur_value) Move initailisation of v
Packit ae235b
        to before its use.
Packit ae235b
Packit ae235b
        * glib.def: Added g_(s)list_sort.
Packit ae235b
Packit ae235b
        * makefile.msc: A few more comments.
Packit ae235b
Packit ae235b
Tue Nov 24 14:05:47 EST 1998	Michael K. Johnson <johnsonm@redhat.com>
Packit ae235b
Packit ae235b
	* glib.h: added GFreeFunc and g_hash_table_set_key_freefunc()
Packit ae235b
	prototype.
Packit ae235b
	* ghash.c: added g_hash_table_set_key_freefunc() implementation.
Packit ae235b
	Modified the prototypes of the functions g_hash_node_destroy() and
Packit ae235b
	g_hash_nodes_destroy(), and changed the functions that call them
Packit ae235b
	to match the new definitions.
Packit ae235b
	This changes no external interfaces, and should create no binary
Packit ae235b
	or source incompatibilities.  It does add a member to the
Packit ae235b
	GHashTable structure.
Packit ae235b
Packit ae235b
Tue Nov 24 09:40:00 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: removed the GListAllocator type and its g_*_allocator_*()
Packit ae235b
 	function variants (which weren't working anyways) in favour of a
Packit ae235b
 	generic GAllocator type. new functions:
Packit ae235b
	g_allocator_new, g_allocator_free, g_slist_push_allocator,
Packit ae235b
	g_slist_pop_allocator, g_list_push_allocator, g_list_pop_allocator,
Packit ae235b
	g_node_push_allocator and g_node_pop_allocator.
Packit ae235b
Packit ae235b
	* gstring.c: removed bogus slist allocator code.
Packit ae235b
	* gtree.c: maintain own list of free tree nodes and don't waste
Packit ae235b
	GSLists for that, removed bogus slist allocator code.
Packit ae235b
	* glist.c: use GAllocators for node allocation.
Packit ae235b
	* gslist.c: use GAllocators for node allocation.
Packit ae235b
	* gnode.c: use GAllocators for node allocation.
Packit ae235b
Packit ae235b
	* gdataset.c: cleanups wrt automatic initialization.
Packit ae235b
Packit ae235b
Mon Nov 23 10:03:58 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h garray.[ch]: added g_array_insert_vals() to
Packit ae235b
	insert elements at an arbitrary index, and
Packit ae235b
	g_array_insert_val() macro.
Packit ae235b
Packit ae235b
Sun Nov 22 17:07:03 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gslist.c: new function g_slist_copy() to duplicate a list with all its
Packit ae235b
	data pointers.
Packit ae235b
	* glist.c: new function g_list_copy.
Packit ae235b
Packit ae235b
Sat Nov 21 14:57:39 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* INSTALL:
Packit ae235b
	  NEWS:
Packit ae235b
	  README:
Packit ae235b
	  configure.in:
Packit ae235b
	  glib.spec: Updated to version 1.1.5
Packit ae235b
Packit ae235b
	* Released GLib 1.1.5
Packit ae235b
Packit ae235b
Wed Nov 18 1998 Elliot Lee <sopwith@redhat.com>
Packit ae235b
Packit ae235b
	* gdataset.c: There was a code path into g_data_set_internal
Packit ae235b
	  through a function (g_datalist_id_set_full). Neither function
Packit ae235b
	  checked for g_dataset_init having been run, but
Packit ae235b
	  g_data_set_internal used the memchunk. I added
Packit ae235b
	  a check into g_data_set_internal so it will do the
Packit ae235b
	  initialization if needed. (There's probably a better way.)
Packit ae235b
Packit ae235b
Mon Nov 16 07:48:06 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h (g_bit_nth_msf): fixed off-by-one error, so we don't waste
Packit ae235b
	a loop iteration if (-1) was passed, reported by Andreas Bombe
Packit ae235b
 	<andreas.bombe@munich.netsurf.de>.
Packit ae235b
Packit ae235b
Fri Nov 13 15:17:34 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* glist.c gslist.c glib.h: Added g_list_sort() and
Packit ae235b
	g_slist_sort() to merge sort GLists and GSLists.
Packit ae235b
	Submitted by Sven Over <sven.over@ob.kamp.net>
Packit ae235b
	over a year ago!
Packit ae235b
Packit ae235b
	* testglib.c: Test the new sort functions.
Packit ae235b
Packit ae235b
Wed Nov 11 23:23:22 EST 1998 Jeff Garzik <jgarzik@pobox.com>
Packit ae235b
Packit ae235b
	* Makefile.am : INCLUDES is the right way to add to CFLAGS, not
Packit ae235b
	DEFS.  Also there are bugs with '+=' in makefiles.
Packit ae235b
	Got rid of DEFS line by moving G_LOG_DOMAIN setting into INCLUDES.
Packit ae235b
	Removed redundant -I from INCLUDES.
Packit ae235b
Packit ae235b
Wed Nov 11 18:11:24 EST 1998 Gregory McLean <gregm@comstar.net>
Packit ae235b
Packit ae235b
	* docs/*.sgml : Batch of new documentation that should be easier
Packit ae235b
	to maintain and extend. Plus generate whatever sort of doc file
Packit ae235b
	you would like. I didn't change the Makefile stuff as I'm not sure
Packit ae235b
	what default doc type people want. Oh and this is all DocBook format.
Packit ae235b
	Enjoy!
Packit ae235b
Packit ae235b
Tue Nov 10 17:12:45 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: use __extension__ for long long on gcc >= 2.8 and
Packit ae235b
	egcs, and provide a G_GINT64_CONSTANT wrapper so -ansi -pedantic
Packit ae235b
	compiles clean.
Packit ae235b
Packit ae235b
	* glib.h: make the endian x86 asm __const__ so the compiler can do
Packit ae235b
	better optimizations. Also remove the cc clobber, these shouldn't
Packit ae235b
	be changing condition codes. Ditch some redundant casts. Add an
Packit ae235b
	optimization for 64-bit endian conversions in x86. Use constant
Packit ae235b
	wrapper for the generic method.
Packit ae235b
Packit ae235b
	* testglib.c: use constant wrappers for 64-bit constants
Packit ae235b
Packit ae235b
1998-11-04  Phil Schwan  <pschwan@cmu.edu>
Packit ae235b
Packit ae235b
	* configure.in: Added 'strncasecmp' to the list of functions to be
Packit ae235b
	searched for.
Packit ae235b
	* glib.h: Added a prototype for 'g_strncasecmp'
Packit ae235b
	* gstrfuncs.c: (g_strncasecmp) new function modeled closely after
Packit ae235b
	'g_strcasecmp'
Packit ae235b
Packit ae235b
Wed Nov  4 15:06:44 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* config.h.win32 (new file)
Packit ae235b
	* glibconfig.h.win32
Packit ae235b
	* glib.def
Packit ae235b
	* makefile.msc: applied glib-tml-981104, win32 sync
Packit ae235b
Packit ae235b
1998-11-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* garray.c:
Packit ae235b
	(g_array_remove_index): new function for removing an entry from an
Packit ae235b
	array while preserving the order
Packit ae235b
	(g_array_remove_index_fast): new function for removing an entry
Packit ae235b
	from an array. the order might be distorted
Packit ae235b
	(g_ptr_array_remove_index_fast, g_ptr_array_remove_fast): new
Packit ae235b
	functions; working similiar to the above. (they have the semantic
Packit ae235b
	of the old g_ptr_array_remove[_index] functions)
Packit ae235b
	(g_ptr_array_remove_index, g_ptr_array_remove): new semantic. now
Packit ae235b
	the order of the elements in the array is not changed
Packit ae235b
	(g_byte_array_remove_index, g_byte_array_remove_index_fast): new
Packit ae235b
	functions; byte_array wrapper for g_array_remove_index[_fast]
Packit ae235b
Packit ae235b
Sun Nov  1 23:00:18 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h
Packit ae235b
	* configure.in: endian macros defined using the glibconfig.h
Packit ae235b
	mechanism now
Packit ae235b
Packit ae235b
	* ghook.c: casts for GHookFunc and GHookCheckFunc to avoid warnings
Packit ae235b
Packit ae235b
Sat Oct 31 20:14:22 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* applied glib-tml-981101-1 patch from Tor Lillqvist (ChangeLog
Packit ae235b
	entry appended below)
Packit ae235b
Packit ae235b
	* testglib.c
Packit ae235b
	* gstrfuncs.c
Packit ae235b
	* glib.h: use G_HAVE_GINT64, since HAVE_GINT64 is gone
Packit ae235b
Packit ae235b
	* gmessages.c
Packit ae235b
	* gscanner.c: #include <config.h> in here too, for HAVE_UNISTD_H
Packit ae235b
Packit ae235b
1998-11-01 Tor Lillqvist <tml@iki.fi>
Packit ae235b
Packit ae235b
	* glib.def: Added the new functions.
Packit ae235b
Packit ae235b
	* gutils.c:
Packit ae235b
	(g_getenv): Better implementation on Win32. No loop necessary.
Packit ae235b
	(g_get_any_init): Use P_tmpdir if defined as tmp directory. Don't
Packit ae235b
	set home dir always to NULL on Win32.  Don't use tmp directory as
Packit ae235b
	last resort home directory, but return NULL if no home
Packit ae235b
	directory is known (application must check).
Packit ae235b
Packit ae235b
	* makefile.msc: Better touch command, just COPYing a single file
Packit ae235b
	sets the timestamp from that file, which isn't what touching should
Packit ae235b
	do.
Packit ae235b
Packit ae235b
1998-10-31  Raja R Harinath  <harinath@cs.umn.edu>
Packit ae235b
Packit ae235b
	Land glib-rrh-19981025-0.patch.
Packit ae235b
	* Makefile.am (glibconfig.h): New rule.
Packit ae235b
	(stamp-gc-h): New rule.  Generate `glibconfig.h'.
Packit ae235b
	* configure.in (AM_CONFIG_HEADER): It is now `config.h'.
Packit ae235b
	(HAVE_BROKEN_WCTYPE): On Solaris, look for iswalnum in -lw before
Packit ae235b
	concluding "broken wctype".
Packit ae235b
	(glibconfig.h): Use AC_OUTPUT_COMMANDS to put generation code into
Packit ae235b
	config.status.
Packit ae235b
	* glib.h: Remove a lot of tests and defines.  All these have been
Packit ae235b
	moved to `configure.in (glibconfig.h)'.
Packit ae235b
	* gerror.c: Include <config.h>.
Packit ae235b
	* gmem.c: Likewise.
Packit ae235b
	* gstrfuncs.c: Likewise.
Packit ae235b
	* gutils.c: Likewise.
Packit ae235b
Packit ae235b
Sat Oct 31 05:08:26 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
Packit ae235b
	added macros G_STRUCT_OFFSET(), G_STRUCT_MEMBER_P() and
Packit ae235b
 	G_STRUCT_MEMBER() for handling structure fields through their offsets.
Packit ae235b
	(struct _GHookList): added a hook_free function member, that can be used
Packit ae235b
	to free additional fields in derived hook structures.
Packit ae235b
	g_hook_free(): if hook_list->hook_free != NULL, call this function prior
Packit ae235b
	to freeing the hook. (this functionality should have been there in the
Packit ae235b
	first place, it just got forgotten as an implementation detail).
Packit ae235b
Packit ae235b
Wed Oct 28 00:49:32 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h: G_BREAKPOINT for alpha from Robert Wilhelm
Packit ae235b
	<robert@physiol.med.tu-muenchen.de>
Packit ae235b
Packit ae235b
Tue Oct 27 07:25:53 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gscanner.c:
Packit ae235b
	(g_scanner_sync_file_offset): new function for file input.
Packit ae235b
	rewind the filedescriptor to the current buffer position and blow
Packit ae235b
 	the file read ahead buffer. usefull for third party uses of our
Packit ae235b
 	filedescriptor, which hooks onto the current scanning position.
Packit ae235b
	(this became neccessary with the implementation of buffered
Packit ae235b
	reads).
Packit ae235b
	(g_scanner_input_file):
Packit ae235b
	(g_scanner_input_text): automatically blow the read ahead buffer.
Packit ae235b
	(g_scanner_get_char): blow the read ahead buffer when the end of
Packit ae235b
	input is reached, i.e. a '\000' char is read.
Packit ae235b
Packit ae235b
Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h: get rid of duplicate #g_htonl and friends in the
Packit ae235b
	NATIVE_WIN32 part
Packit ae235b
Packit ae235b
Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glibconfig.h.win32
Packit ae235b
	* gutils.c
Packit ae235b
	* makefile.msc: win32 patch from Tor Lillqvist (glib-tml-981027-0),
Packit ae235b
	fixes some minor win32 buglets
Packit ae235b
Packit ae235b
Mon Oct 26 22:12:03 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h: reimplemented the endian stuff, using inline asm
Packit ae235b
	for x86. #define g_htonl and friends.
Packit ae235b
Packit ae235b
	* testglib.c: new tests for the endian stuff
Packit ae235b
Packit ae235b
	* configure.in: care for AIX in gmodule linker flags test (from
Packit ae235b
	Joel Becker <jlbec@raleigh.ibm.com>). Check $host_os for linux
Packit ae235b
	instead of existance of /usr/include/linux
Packit ae235b
Packit ae235b
	* gutils.c: buh-bye evil warning. Thou hast been #ifdef'd out
Packit ae235b
	of thine existance!
Packit ae235b
Packit ae235b
Tue Oct 27 03:00:50 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: removed dummy structure definitions for struct _GCache,
Packit ae235b
 	_GTree, _GTimer, _GMemChunk, _GListAllocator and _GStringChunk.
Packit ae235b
Packit ae235b
	* gutils.c: implement glib's inline functions _after_ all include
Packit ae235b
 	statements have been processed.
Packit ae235b
	removed Tor's MAXPATHLEN check since there already was one supplied
Packit ae235b
	further down in this file.
Packit ae235b
	(LibMain): special cased the #ifdef __LCC__ case for NATIVE_WIN32,
Packit ae235b
 	since lcc maybe used on other platforms as well. why in hell is this
Packit ae235b
	stuff required?
Packit ae235b
	(g_get_any_init): for windows, if the user name is supplied, use it as
Packit ae235b
	realname also.
Packit ae235b
	in general, if there is no homedir specified, use the tmpdir that
Packit ae235b
	we already figured.
Packit ae235b
Packit ae235b
	* gtimer.c (g_timer_elapsed): changed a g_assert() statement to
Packit ae235b
 	g_return_if_fail().
Packit ae235b
Packit ae235b
	* applied glib-tml-981020-0.patch for WIN32 portability, added some
Packit ae235b
	comments and g_return_if_fail() statements, minor indentation fixes.
Packit ae235b
	ChangeLog entry from Tor Lillqvist is appended.
Packit ae235b
Packit ae235b
	* glib.h (struct dirent): use lower case structure members.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* makefile.lcc:
Packit ae235b
	* makefile.msc:
Packit ae235b
	s/COMPILING_GLIB/GLIB_COMPILATION/
Packit ae235b
Packit ae235b
1998-10-20: Tor Lillqvist <tml@iki.fi>
Packit ae235b
Packit ae235b
	* README.win32 glib.def gmodule.def
Packit ae235b
	* glibconfig.h.win32 gmodule/gmoduleconf.h.win32:
Packit ae235b
	New files for the Windows port. The .def files list exported
Packit ae235b
	symbols for the Microsoft linker and compatibles.
Packit ae235b
Packit ae235b
	* configure.in:
Packit ae235b
	Added checks for some platform-dependent headers: pwd.h sys/param.h
Packit ae235b
	sys/select.h sys/time.h sys/times.h unistd.h, and the function lstat.
Packit ae235b
Packit ae235b
	* gerror.c:
Packit ae235b
	Conditionalized inclusion of system-dependent headers. Changes
Packit ae235b
	for Windows: no gdb to do a stack trace. Just call abort().
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	Changes for Windows:
Packit ae235b
Packit ae235b
	Added macros G_DIR_SEPARATOR, G_DIR_SEPARATOR_S for
Packit ae235b
	platform-dependent file name syntax elements. Added macros
Packit ae235b
	G_SEARCHPATH_SEPARATOR, G_SEARCHPATH_SEPARATOR_S for
Packit ae235b
	platform-dependent search path syntax conventions.
Packit ae235b
Packit ae235b
	Added pragmas for Microsoft C to make it more pedantic.
Packit ae235b
Packit ae235b
	Marked GLib's global variables for export from DLL.
Packit ae235b
Packit ae235b
	Added the function g_strescape that escapes backslashes.
Packit ae235b
Packit ae235b
	Added functions g_path_is_absolute and g_path_skip_root to
Packit ae235b
	handle platform-dependent file name syntax.
Packit ae235b
Packit ae235b
	Added the function g_getenv that expands environment variables
Packit ae235b
	that contain references to other environment variables, as is
Packit ae235b
	typical on Windows NT.
Packit ae235b
Packit ae235b
	Added the GIOChannel structure which is used to encapsulate the
Packit ae235b
	IPC mechanism used by the GIMP's plug-ins, and possibly other
Packit ae235b
	things later. On Unix a GIOChannel encapsulates just a file
Packit ae235b
	descriptor. On Windows it contains a file handle from _pipe() and a
Packit ae235b
	few other things related to the implementation of gdk_input_add
Packit ae235b
	and GIMP plug-in communication. Subject to change.
Packit ae235b
Packit ae235b
	Removed duplicate declarations of the version variables.
Packit ae235b
Packit ae235b
	For the Microsoft compiler, declare own implementation of
Packit ae235b
	ftruncate and the <dirent.h> functions.
Packit ae235b
Packit ae235b
	* gmem.c:
Packit ae235b
	Define a symbolic name  for the profiling table size.
Packit ae235b
Packit ae235b
	* gmessages.c:
Packit ae235b
	Conditionalized inclusion of unistd.h. On Windows, output using
Packit ae235b
	stdio to stdout.
Packit ae235b
Packit ae235b
	* gscanner.c:
Packit ae235b
	Conditionalized inclusion of unistd.h. Added changes for
Packit ae235b
	Microsoft C. Added CR to the skipped character set. Added small
Packit ae235b
	workaround for MSC compiler bug in g_scanner_cur_value.
Packit ae235b
Packit ae235b
	* gstrfuncs.c:
Packit ae235b
	Added the function g_strescape, which escapes the backslash
Packit ae235b
	character. Needed especially when printing Windows filenames.
Packit ae235b
Packit ae235b
	* gtimer.c:
Packit ae235b
	Conditionalized inclusion of unistd.h and sys/time.h. Added
Packit ae235b
	implementations for Windows.
Packit ae235b
Packit ae235b
	* gutils.c:
Packit ae235b
	Conditionalized inclusion of platform-dependent headers. Use
Packit ae235b
	the platform-independent file name syntax macros.
Packit ae235b
	Conditionalize code on platform-dependent features. Added the
Packit ae235b
	functions g_path_is_absolute g_path_skip_root and g_getenv.
Packit ae235b
	Added the GIOChannel-related functions. Added
Packit ae235b
	compiler-dependent Unix compatibility functions for Windows.
Packit ae235b
Packit ae235b
	* makefile.lcc makefile.msc:
Packit ae235b
	New files. Compiler-specific makefiles for LCC-Win32 and
Packit ae235b
	Microsoft C. Only Microsoft C is actually supported currently.
Packit ae235b
Packit ae235b
	* testglib.c:
Packit ae235b
	Added pathname check cases for Windows. Added workaround for
Packit ae235b
	bug in the Microsoft runtime library. Improved some tests a bit.
Packit ae235b
Packit ae235b
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.4
Packit ae235b
Packit ae235b
	* docs/Makefile.am:
Packit ae235b
	* docs/.cvsignore
Packit ae235b
	* docs/glib-config.1:
Packit ae235b
	* docs/glib.texi: Moved docs from gtk and created glib-config.1
Packit ae235b
	from gtk-config.1 in gtk
Packit ae235b
Packit ae235b
	* configure.in:
Packit ae235b
	* Makefile.am:
Packit ae235b
	* sanity_check: added in docs directory, change rule 'release'
Packit ae235b
	to 'snapshot' and created a new 'release' rule for doing the
Packit ae235b
	distribution.  Added in a 'sanity' rule.
Packit ae235b
Packit ae235b
	* NEWS:
Packit ae235b
	* README:
Packit ae235b
	* INSTALL: Updated for the release
Packit ae235b
Packit ae235b
Sun Oct 25 07:30:10 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gscanner.c:
Packit ae235b
	(g_scanner_peek_next_char):
Packit ae235b
 	(g_scanner_get_char): no more characters are available if read() returns
Packit ae235b
 	anything less than 1, not only on 0 return.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gstrfuncs.c: final API cleanup of string arrays to suit sopwith's
Packit ae235b
	argument order requirements.
Packit ae235b
 	(g_strsplit): renamed from g_str_array_split().
Packit ae235b
	(g_strjoinv): renamed from g_str_array_joinv(), string array is
Packit ae235b
	now passed as last parameter. removed `const' qualifier from string
Packit ae235b
	array pointer (again).
Packit ae235b
	(g_strjoin): new function from sopwith to concatenate strings with
Packit ae235b
	an additional seperator.
Packit ae235b
	(g_strfreev): renamed from g_str_array_free.
Packit ae235b
Packit ae235b
Sat Oct 24 22:23:04 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gnode.c: small fix to g_node_children_foreach to make it work right.
Packit ae235b
	From Paco Moya <paco@cadnotebk17.eecs.berkeley.edu>
Packit ae235b
Packit ae235b
Wed Oct 21 19:22:58 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in (G_MODULE_HAVE_DLERROR): reverted part of the changes
Packit ae235b
 	from Sebastian Wilhelmi (1998-10-20). don't specify a specific loading
Packit ae235b
	behaviour (i.e. RTLD_NOW) when we are not sure whether it is supplied.
Packit ae235b
	changed the return value from (!f2 && f1) to (!f2 || f1) so we default
Packit ae235b
	to not needing an underscore. reverted the extra plugin.c building,
Packit ae235b
	because .lo files are not ELF libraries, this can't work. This needs
Packit ae235b
	further investigation on Solaris...
Packit ae235b
Packit ae235b
Wed Oct 21 17:03:05 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gstrfuncs.c: API cleanups of the new g_str* functions for consistency
Packit ae235b
 	with the existing naming scheme for g_str* functions. grouped the g_str*
Packit ae235b
	functions that will return a newly allocated string seperatedly. all of
Packit ae235b
	the in_place arguments were skipped, the caller is supposed to pass a
Packit ae235b
	g_strdup()ed string if he wants to retrive a new copy. indentation and
Packit ae235b
	coding style fixups. added some g_return_if_fail() statements.
Packit ae235b
	string array functions are prefixed with g_str_array_.
Packit ae235b
	(g_strdelimit): return the modified string like all other g_str*
Packit ae235b
 	functions, that operate in place.
Packit ae235b
	(g_strchug): renamed from g_str_chug(), removed in_place argument.
Packit ae235b
	(g_strchomp): renamed from g_str_chomp(), removed in_place argument.
Packit ae235b
	(g_strstrip): renamed from g_str_strip(), removed in_place argument.
Packit ae235b
	(g_str_array_join): renamed from g_strconcatv(), since it actually
Packit ae235b
 	operates on a string array and has totaly different semantics from
Packit ae235b
	g_strconcat(). check for separator != NULL, don't segfault if the first
Packit ae235b
 	string is NULL. removed the `const' from the string array that's passed,
Packit ae235b
	so users can operate on gchar** string arrays.
Packit ae235b
	(g_str_array_split): renamed from g_str_split() because we actually
Packit ae235b
 	produce a string array. reimplemented this function for efficiency.
Packit ae235b
	removed macro aliases g_str_joinv and g_str_join.
Packit ae235b
Packit ae235b
1998-10-20  Elliot Lee  <sopwith@redhat.com>
Packit ae235b
Packit ae235b
	* glib.h, gstrfuncs.c: Move string join/split/free routines from
Packit ae235b
 	libgnome/gnome-string, rename, and add g_str_chug.
Packit ae235b
Packit ae235b
1998-10-20  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* configure.in: made the check for needed _ in module's func-names
Packit ae235b
	work on solaris. (G_MODULE_NEED_USCORE must be set outside
Packit ae235b
	AC_CACHE_VAL, dlopen(0,0) refused to work on solaris).
Packit ae235b
Packit ae235b
Tue Oct 20 03:32:58 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in
Packit ae235b
	* acconfig.h: added test for endianness
Packit ae235b
Packit ae235b
	* glib.h: #define endian macros for system and some conversions
Packit ae235b
	between byte order
Packit ae235b
Packit ae235b
Thu Oct  8 06:47:27 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gdataset.c: removed functions g_dataset_id_set_destroy and
Packit ae235b
	g_datalist_id_set_destroy and macros g_dataset_set_destroy and
Packit ae235b
	g_datalist_set_destroy.
Packit ae235b
	added new functions g_dataset_id_remove_no_notify and
Packit ae235b
	g_datalist_id_remove_no_notify plus associated macros
Packit ae235b
	g_dataset_remove_no_notify and g_datalist_remove_no_notify, which
Packit ae235b
 	will remove a certain data portion without invocation of its destroy
Packit ae235b
 	notifier, this should only be used in very controled circumstances.
Packit ae235b
Packit ae235b
Wed Oct  7 05:31:24 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	removed the #pragma } statement after extern "C" {. use
Packit ae235b
 	(c-set-offset 'inextern-lang 0) to fixup emacs cc-mode indentation.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* ghook.c: API and code cleanups. changed the G_HOOK_ACTIVE and
Packit ae235b
 	G_HOOK_IN_CALL enum vals to G_HOOK_FLAG_ACTIVE and G_HOOK_FLAG_IN_CALL.
Packit ae235b
	changed the G_HOOK_IS_ACTIVE() and G_HOOK_IS_IN_CALL() macros to
Packit ae235b
	G_HOOK_ACTIVE() and G_HOOK_IN_CALL().
Packit ae235b
	fixed the g_hook_find* functions, so they iterate over non-active
Packit ae235b
	hooks as well.
Packit ae235b
	(g_hook_first_valid):
Packit ae235b
	(g_hook_next_valid): added an extra argument gboolean may_be_in_call,
Packit ae235b
	which indicates whether G_HOOK_IN_CALL() hooks are considered valid
Packit ae235b
	or not. these two functions are meant as iterators for the hook list
Packit ae235b
	invocation, so they need to a) provide functionality to implement
Packit ae235b
	may_recurse bahaviour and b) only walk active hooks.
Packit ae235b
Packit ae235b
Tue Oct  6 14:29:47 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gmem.c (g_malloc0): fixed memory offsett when ENABLE_MEM_CHECK is
Packit ae235b
	defined and ENABLE_MEM_PROFILE is not (patch from Martin Pool
Packit ae235b
 	<mbp@wistful.humbug.org.au>).
Packit ae235b
Packit ae235b
Sat Oct  3 01:18:10 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* ghook.c:
Packit ae235b
	(g_hook_list_invoke):
Packit ae235b
	(g_hook_list_invoke):
Packit ae235b
	(g_hook_list_marshal): properly handle the first valid hook to call,
Packit ae235b
	it maybe IN_CALL already.
Packit ae235b
	(g_hook_list_marshal): minor name change.
Packit ae235b
Packit ae235b
Fri Oct  2 23:21:21 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* ghook.c: renamed GHook.id to GHook.hook_id so we don't get troubles
Packit ae235b
	with ObjC which reserves "id" as a keyword (Raja R Harinath
Packit ae235b
 	<harinath@cs.umn.edu>).
Packit ae235b
Packit ae235b
Wed Sep 30 10:53:03 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* Makefile.am: added ghook.c.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
 	* ghook.c: generic callback maintenance functions.
Packit ae235b
Packit ae235b
	* glib.h: define G_GNUC_UNUSED.
Packit ae235b
Packit ae235b
Fri Sep 25 00:04:37 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in: version bump to 1.1.4, binary age 0, interface age 0.
Packit ae235b
Packit ae235b
	* glib.h (struct _GScanner): dumped peeked_char and text_len in favour
Packit ae235b
 	of *text_end and *buffer for buffered read()s.
Packit ae235b
Packit ae235b
	* gscanner.c: changed peeking and retrival of next character so we
Packit ae235b
	have buffered reads. fixed minor bug with number parsing error
Packit ae235b
	reporting. made some static!!! variables local ones (why did we use
Packit ae235b
 	static temporary variables in the lowlevel tokenization code anyways?).
Packit ae235b
Packit ae235b
Mon Sep 21 23:23:10 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.3
Packit ae235b
Packit ae235b
Mon Sep 21 07:43:13 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: added g_renew() which works as g_new() for g_realloc().
Packit ae235b
Packit ae235b
Mon Sep 21 02:22:12 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* NEWS file update for upcoming release of GLib + GModule
Packit ae235b
	version 1.1.3, binary age 0, interface age 0. (GModule uses
Packit ae235b
	the same version numbers as GLib.)
Packit ae235b
Packit ae235b
	* glib.h: swap the inclusion of of float.h and limits.h to work
Packit ae235b
	around a egcs 1.1 oddity on Solaris 2.5.1 (fix provided by
Packit ae235b
	Per Abrahamsen  <abraham@dina.kvl.dk>).
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gscanner.c: renamed the GValue union to GTokenValue, this should
Packit ae235b
	not affect source compatibility in most cases.
Packit ae235b
Packit ae235b
	* ghash.c: added some g_return_if_fail() statements. make
Packit ae235b
 	g_hash_table_lookup_node() an inline function so we save an extra
Packit ae235b
	function invocation on lookups.
Packit ae235b
Packit ae235b
Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* ltmain.sh: Patch to libtool-1.2b to make --disable-static
Packit ae235b
	work.
Packit ae235b
Packit ae235b
Sun Sep 20 02:09:44 1998  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
Packit ae235b
Packit ae235b
	* glib.h: New function g_hash_table_foreach_remove is similar to
Packit ae235b
 	g_hash_table_foreach, but the callback's return value indicates
Packit ae235b
 	whether to remove the element (if TRUE) or not (if FALSE).
Packit ae235b
	Returns the number of elements deleted.
Packit ae235b
Packit ae235b
Fri Sep 18 11:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h
Packit ae235b
	* gstrfuncs.c: added g_memdup implementation
Packit ae235b
Packit ae235b
Fri Sep 18 18:46:14 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gdataset.c: make the datalists a safe type (not using a generic
Packit ae235b
	gpointer) by expecting a GData* argument in the g_datalist functions.
Packit ae235b
	provide g_dataset_foreach() and g_datalist_foreach() functions that
Packit ae235b
 	allow a GDataForeachFunc function to walk the data lists.
Packit ae235b
	(g_dataset_destroy_internal): made this function truely reentrant (i.e.
Packit ae235b
	can be called from within destroy notifiers as well).
Packit ae235b
	the *_foreach functions are _not_ reentrant (unless all the other
Packit ae235b
	dataset and datalist functions).
Packit ae235b
Packit ae235b
Fri Sep 18 03:41:20 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gtree.c (g_tree_new): check for key_compare_func != NULL (reported
Packit ae235b
	by Michal Kara).
Packit ae235b
Packit ae235b
Thu Sep 17 18:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* config.h.in: removed from repository
Packit ae235b
Packit ae235b
	* install-sh
Packit ae235b
	* missing
Packit ae235b
	* mkinstalldirs: updated to latest automake version
Packit ae235b
Packit ae235b
Thu Sep 17 06:36:25 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gdataset.c: implemented g_datalist_* along the lines of g_dataset,
Packit ae235b
	but operates on an opaque gpointer *datalist; pointer, e.g. for the
Packit ae235b
	implementation of GtkObject named data.
Packit ae235b
	we cache a certain portion of the already freed data entries now, to
Packit ae235b
 	gain a slight performance improve with data reallocation.
Packit ae235b
Packit ae235b
Tue Sep 15 14:57:30 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* Makefile.am glib-config.in l*: Update to libtool-1.2b,
Packit ae235b
	change library versioning scheme to drop LT_RELEASE
Packit ae235b
	from the -l line, while keeping it in the soname.
Packit ae235b
Packit ae235b
Fri Sep 11 02:11:46 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: explicitely include the prototypes for inline functions
Packit ae235b
	to cure gcc warnings for -Wmissing-prototypes.
Packit ae235b
Packit ae235b
Wed Sep  9 02:52:04 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: added -posix check for NeXTStep
Packit ae235b
Packit ae235b
Tue Sep  8 05:04:06 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: abandon the use of ATEXIT(), we keep the fallback
Packit ae235b
	macros for backwards compatibility. people ought to use g_atexit().
Packit ae235b
Packit ae235b
	* gutils.c (g_atexit): new function to take over the implementation
Packit ae235b
	of ATEXIT. this function is guarranteed to succeed, similar to
Packit ae235b
	g_malloc().
Packit ae235b
Packit ae235b
Mon Sep  7 20:07:38 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: comment the -std1 check and save LIBS properly
Packit ae235b
Packit ae235b
Mon Sep  7 07:53:21 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in: check for all three inline keywords individually.
Packit ae235b
Packit ae235b
	* glib.h: inlining hassle. for compilers that don't allow the `inline'
Packit ae235b
 	keyword, mostly because of strict ANSI C compliance or dumbness, we try
Packit ae235b
 	to fall back to either `__inline__' or `__inline'.
Packit ae235b
	we define G_CAN_INLINE, if the compiler seems to be actually *capable*
Packit ae235b
 	to do function inlining, in which case inline function bodys do make
Packit ae235b
 	sense. we also define G_INLINE_FUNC to properly export the function
Packit ae235b
 	prototypes if no inlinig can be performed. we special case most of the
Packit ae235b
 	stuff, so inline functions can have a normal implementation by defining
Packit ae235b
 	G_INLINE_FUNC to extern and G_CAN_INLINE to 1.
Packit ae235b
Packit ae235b
	* ltconfig: (compiler PIC flag test): special case linux for non
Packit ae235b
	aout systems to honour lcc's position independant code (cases
Packit ae235b
	"linux*aout)" and "linux*)" got added). (this needs to go into
Packit ae235b
	libtool which does an advanced test, checking for __LCC__).
Packit ae235b
Packit ae235b
	* autogen.sh: take $CC=lcc into account by invoking automake with
Packit ae235b
	--include-deps so lcc isn't scared by gcc's auto-dependancy
Packit ae235b
	generation code. care about $ACLOCAL_FLAGS. optionally feature
Packit ae235b
	autoheader.
Packit ae235b
Packit ae235b
	* minor fixups in other places to cure some of lcc's warnings.
Packit ae235b
Packit ae235b
Sun Sep  6 19:08:53 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* configure.in: added -std1 check for ANSI compliance (from gtk)
Packit ae235b
Packit ae235b
Sun Sep  6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
Packit ae235b
Packit ae235b
Sat Sep  5 18:03:36 1998  Tom Tromey  <tromey@cygnus.com>
Packit ae235b
Packit ae235b
	* gutils.c (GLIB_INLINE): Define.
Packit ae235b
	* glib.h (GLIB_INLINE): New define.
Packit ae235b
	(g_bit_nth_msf): Use it.  Also, add prototype.
Packit ae235b
	(g_bit_storage): Likewise.
Packit ae235b
	(g_bit_storage): Likewise.
Packit ae235b
Packit ae235b
Sat Sep  5 04:40:02 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	(g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
Packit ae235b
	so the correct size of the memchunk is allocated with 0's and not
Packit ae235b
	a memory portion of the size of the desired type.
Packit ae235b
Packit ae235b
	* gmem.c: new function g_mem_chunk_alloc0() which will initialize
Packit ae235b
	a memory area allocated with g_mem_chunk_alloc() with 0's.
Packit ae235b
Packit ae235b
Wed Sep  2 19:13:28 1998  Owen Taylor  <otaylor@redhat.com>
Packit ae235b
Packit ae235b
	* garray.c glib.h (g_array_[ap/pre]pend_vals): make
Packit ae235b
	data argument const.
Packit ae235b
Packit ae235b
Wed Aug 26 06:32:40 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gstrfuncs.c: new function g_strnfill() to return a new string
Packit ae235b
	of specified length, filled with a specific character.
Packit ae235b
Packit ae235b
Tue Sep  1 23:46:31 1998  Josh MacDonald  <jmacd@axis.hip.berkeley.edu>
Packit ae235b
Packit ae235b
	* testglib.c (main): Update the array tests.  Reduce the number of
Packit ae235b
	iterations for the prepend test from 10000 to 100 since it is
Packit ae235b
	O(n^2) and was taking longer than I would like to wait.
Packit ae235b
Packit ae235b
	* garray.c: I've worked on the GArray interface, mostly.  It was
Packit ae235b
 	seriously broken before and I hate to do it, but this is going to
Packit ae235b
 	break some code.  It is important to do this now, because more and
Packit ae235b
 	more people are starting to use glib and the interface was both
Packit ae235b
 	broken and inconsistent.  First, rename the _truncate functions of
Packit ae235b
 	both the GArray and GPtrArray classes to _set_size, since this
Packit ae235b
 	function can also be used to extend the arrays.  GArray now
Packit ae235b
 	accepts two more initialization arguments: clear and element_size.
Packit ae235b
  	Instead of providing the type to each access function, the array
Packit ae235b
 	now stores the element size.  Clear, if set, causes the library to
Packit ae235b
 	zero element's memory as the array expands.  The major broken-ness
Packit ae235b
 	here was that array->len was in bytes, not elements.  Now, since
Packit ae235b
 	the array knows its element size, array->len is correct and I have
Packit ae235b
 	removed the g_array_length macro.  The only macro which now
Packit ae235b
 	accepts the type as an argument is g_array_index, which casts the
Packit ae235b
 	element to the right type--this interface does not change.  The
Packit ae235b
 	append and prepend functions simply need the types removed.
Packit ae235b
  	g_ptr_array_remove_index now returns the removed element.
Packit ae235b
Packit ae235b
	* gprimes.c (g_spaced_primes_closest): Move this function out of
Packit ae235b
 	ghash.c and rename it from g_hash_closest_prime.  Fix the primes
Packit ae235b
 	so that they are actually prime (they weren't all -- isn't that
Packit ae235b
 	nice?).
Packit ae235b
Packit ae235b
Mon Aug 24 02:08:56 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
 	* gstring.c:
Packit ae235b
	* gstrfuncs.c:
Packit ae235b
 	(g_vsprintf): removed this function which was not publically
Packit ae235b
	exported in glib.h. to export it, it should have been named
Packit ae235b
 	differently in the first place, since its semantics differ from
Packit ae235b
 	vsprintf(). apart from that, it was a possible cause for
Packit ae235b
	problems since it worked on a previously allocated memory area and
Packit ae235b
	was used in a lot places of glib. exporting it would have been a
Packit ae235b
	guararant for problems with threaded programs.
Packit ae235b
	(g_printf_string_upper_bound): exported this function to return
Packit ae235b
	a string size, guarranteed to be big enough to hold the fully
Packit ae235b
 	expanded format+args string. added 'q', 'L' and 'll' flag handling.
Packit ae235b
 	in fact, the newly allocated area is in most cases much bigger than
Packit ae235b
 	required.
Packit ae235b
	(g_strdup_vprintf()): new function returning a newly allocated string
Packit ae235b
 	containing the contents of *format and associated args (size is
Packit ae235b
	calculated with g_printf_string_upper_bound()).
Packit ae235b
	(g_strdup_printf): new function which wraps g_strdup_vprintf().
Packit ae235b
Packit ae235b
	* configure.in: check for va_copy() or __va_copy() alternatively.
Packit ae235b
	check whether va_lists can be copyied by value.
Packit ae235b
Packit ae235b
	* glib.h: provide a definition for G_VA_COPY.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gmessages.c:
Packit ae235b
 	(g_logv):
Packit ae235b
	(g_vsnprintf):
Packit ae235b
	pass va_lists by value, not by reference, since this causes problems
Packit ae235b
	on platforms that implement va_list as as arrays. internaly, use
Packit ae235b
	G_VA_COPY (new_arg, org_arg); va_end (new_arg); to produce a second
Packit ae235b
	va_list variable, if multiple passes are required. changed all
Packit ae235b
	callers.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gerror.h:
Packit ae235b
	renamed g_debug() to g_on_error_query(), cleaned up a bit.
Packit ae235b
	renamed g_stack_trace() to g_on_error_stack_trace() since both
Packit ae235b
	functions cluttered different namespaces.
Packit ae235b
	there is an appropriate comment in glib.h now that explains the
Packit ae235b
	unix and gdb specific dependencies of both functions.
Packit ae235b
	removed g_attach_process().
Packit ae235b
	g_on_error_stack_trace() should probably be handled with caution,
Packit ae235b
	i've seem several different linux versions (2.0.x) become unstable
Packit ae235b
	after invocation of this function.
Packit ae235b
Packit ae235b
1998-08-18: Elliot Lee <sopwith@redhat.com>
Packit ae235b
Packit ae235b
	* In gmem.c, add the ability to exclude memory chunks from the
Packit ae235b
 	  memory profiling information.
Packit ae235b
Packit ae235b
Tue Aug 18 18:23:09 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h
Packit ae235b
	* gstrfuncs.c: added g_strndup
Packit ae235b
Packit ae235b
Tue Aug 18 04:40:17 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gmessages.c: new function g_log_set_always_fatal() to set an
Packit ae235b
	additional fatal_mask for log levels that are considered to be fatal
Packit ae235b
	globally (required by gtk). since this mask is not domain-associated,
Packit ae235b
	it is restricted to the log levels, introduced by glib itself.
Packit ae235b
Packit ae235b
	* gmem.c:
Packit ae235b
	* grel.c:
Packit ae235b
	* gtree.c (g_tree_node_check):
Packit ae235b
	don't use g_print() calls for informational/debugging output,
Packit ae235b
	but log all this stuff through g_log() with G_LOG_LEVEL_INFO.
Packit ae235b
	libraries shouldn't use printf(), g_print() or g_printerr() at all.
Packit ae235b
Packit ae235b
Tue Aug 18 02:46:44 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
Packit ae235b
	* glib.h (__STRICT_ANSI__): if __STRICT_ANSI__ is defined, make
Packit ae235b
	`inline' a noop, since strict ANSI rules don't permit `inline'.
Packit ae235b
Packit ae235b
Mon Aug 17 15:21:42 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* grel.c: made private functions static.
Packit ae235b
Packit ae235b
Sun Aug 16 23:23:46 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* gmodule/Makefile.am: added gmodule-dl.c and gmodule-dld.c to
Packit ae235b
	  EXTRA_DIST
Packit ae235b
	* glib.spec: version = 1.1.3
Packit ae235b
Packit ae235b
Mon Aug 17 01:46:14 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.m4: feature an extra MODULES parameter, so glib-config can
Packit ae235b
	be invoked with the "gmodule" argument.
Packit ae235b
Packit ae235b
	* glib.h: changed the log level to G_LOG_LEVEL_CRITICAL for all
Packit ae235b
 	g_return*_if_fail statements, and made them issue a message
Packit ae235b
	like "assertion `%s' failed".
Packit ae235b
Packit ae235b
	* gmessages.c (g_logv): ugh, don't pass log_domain as NULL to
Packit ae235b
 	g_log_find_domain.
Packit ae235b
Packit ae235b
Sun Aug 16 20:28:27 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
        * version bump to 1.1.3, binary age 0, interface age 0.
Packit ae235b
Packit ae235b
	* glib.h: be nice to platforms that don't have gint64 and don't
Packit ae235b
	issue #warning on every compilation. since glib doesn't require
Packit ae235b
	gint64 itself, packages that need gint64 should test for this
Packit ae235b
 	themselves.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gutils.c: added a new function g_vsnprintf().
Packit ae235b
Packit ae235b
Sun Aug 16 Elliot Lee
Packit ae235b
Packit ae235b
	glib.h: #error out if we don't recognize the SIZEOF_VOID_P
Packit ae235b
	        #warning if no gint64
Packit ae235b
Packit ae235b
Fri Aug 14 16:41:53 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: added static inline functions for bit mask tests:
Packit ae235b
	g_bit_nth_lsf, g_bit_nth_msf and g_bit_storage.
Packit ae235b
Packit ae235b
Fri Aug 13 14:23:37 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gmessages.c:
Packit ae235b
	revised the message handling system, which is now based on a new
Packit ae235b
 	mechanism g_log*. most of the assertment macros got adapted to
Packit ae235b
	feature the new g_log() call with an additional specification of
Packit ae235b
	the log level in a preprocessor macro G_LOG_DOMAIN. if G_LOG_DOMAIN
Packit ae235b
	is undefined upon the includion of glib.h, it'll be defined with a
Packit ae235b
	value of (NULL) and thus preserves the original bahaviour for
Packit ae235b
	warning and error messages. the message handler setting functions
Packit ae235b
	for g_warning, g_error and g_message are only provided for backwards
Packit ae235b
	compatibility and might get removed somewhen.
Packit ae235b
Packit ae235b
	* Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
Packit ae235b
	to "GLib" upon compilation. we currently have to add this definition
Packit ae235b
	to the DEFS variable.
Packit ae235b
	* testglib.c: we need an ugly #undef G_LOG_DOMAIN at the start
Packit ae235b
	of this file currently, since automake doesn't support per target
Packit ae235b
	_CFLAGS yet.
Packit ae235b
Packit ae235b
	* glib.h: changed some gints to gbooleans, made a few const corrections,
Packit ae235b
	removed some superfluous G_STMT_START{}G_STMT_END wrappers, added some
Packit ae235b
	in other required places.
Packit ae235b
Packit ae235b
	* gnode.c:
Packit ae235b
 	(g_node_prepend):
Packit ae235b
	(g_node_insert_before):
Packit ae235b
	(g_node_insert):
Packit ae235b
	(g_node_append_data):
Packit ae235b
	(g_node_prepend_data):
Packit ae235b
	(g_node_insert_data_before):
Packit ae235b
	(g_node_insert_data):
Packit ae235b
	(g_node_append):
Packit ae235b
	return (node), so these macros/functions can be usefully chained with
Packit ae235b
	g_node_new().
Packit ae235b
Packit ae235b
Mon Aug 10 17:56:11 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h: it's GTime now, and it's back!
Packit ae235b
Packit ae235b
Mon Aug 10 02:17:19 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* Makefile.am: minor hack to cause SUBDIRS (gmodule) to be build
Packit ae235b
	last. we do this by making all-recursive-am depend on all-am.
Packit ae235b
Packit ae235b
Sun Aug  9 15:56:11 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in: added GModule checks. generate files in gmodule/.
Packit ae235b
	* glib-config.in: support library specifications `glib' and `gmodule'.
Packit ae235b
	* Makefile.am: feature the gmodule/ subdir.
Packit ae235b
Packit ae235b
Wed Aug  5 10:04:29 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.2
Packit ae235b
Packit ae235b
Wed Aug 05 01:15:36 1998  George Lebl  <jirka@5z.com>
Packit ae235b
Packit ae235b
	* testglib.c: fix 64-bitness in g_prints, sizeof doesn't
Packit ae235b
	  seem to return int so I cast it for printing, probably
Packit ae235b
	  just cosmetic
Packit ae235b
Packit ae235b
Tue Aug  4 19:54:06 PDT 1998 Shawn T. Amundson <amundson@gkt.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.1
Packit ae235b
Packit ae235b
Tue Aug  4 15:17:54 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in: version bump to 1.1.1, binary age 1, interface age 0.
Packit ae235b
	* NEWS: updates.
Packit ae235b
	* README: updates.
Packit ae235b
	* INSTALL: updates and fixes.
Packit ae235b
	* COPYING: include the GNU LGPL, rather than shipping an empty file.
Packit ae235b
	* AUTHORS: listed original authors here, and added people who made
Packit ae235b
	significant improvements to glib.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gutils.c: implement g_get_current_dir() which returns a newly
Packit ae235b
	allocated string, instead of a g_getcwd() variant that operates
Packit ae235b
	on a static buffer.
Packit ae235b
	export glib_interface_age and glib_binary_age.
Packit ae235b
	as a convenience, macro definitions have been added for
Packit ae235b
 	g_node_insert_data, g_node_insert_data_before, g_node_append_data and
Packit ae235b
	g_node_prepend_data.
Packit ae235b
Packit ae235b
	* testglib.c: minor cleanups, print current dir.
Packit ae235b
Packit ae235b
Mon Aug  3 16:02:26 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gnode.c: change order of gpointer data; field in struct _GNode to
Packit ae235b
	be partly binary compatible with GList and GSList.
Packit ae235b
Packit ae235b
1998-08-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
Packit ae235b
Packit ae235b
	* garray.c (g_ptr_array_remove_index): bugfix: index check for
Packit ae235b
	array has been wrong.
Packit ae235b
Packit ae235b
Fri Jul 31 22:17:05 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* testglib.c (g_node_test): added a GNode test.
Packit ae235b
Packit ae235b
Fri Jul 31 09:08:16 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* Makefile.am: compile gnode.c.
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gnode.c: added implementation of n-way trees.
Packit ae235b
Packit ae235b
	* gtree.c (g_tree_traverse): added a warning to the switch() statement
Packit ae235b
	which says that G_LEVEL_ORDER is not implemented.
Packit ae235b
Packit ae235b
Mon Jul 27 00:17:30 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
Packit ae235b
Packit ae235b
	* Released GLib 1.1.0
Packit ae235b
Packit ae235b
Mon Jul 27 01:02:27 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: #if 0'ed out the GTime definition, until it is definitively
Packit ae235b
 	needed. #if 0'ed out the g_getcwd() version, because it is the wrong
Packit ae235b
 	implementation.
Packit ae235b
Packit ae235b
Sat Jul 25 16:09:00 1998  Mark Crichton <crichton@expert.cc.purdue.edu>
Packit ae235b
Packit ae235b
	* glib.h: gtime changed to g_time.  gtime is used in
Packit ae235b
	/usr/include/time.h in NetBSD, causing multiple headaches.
Packit ae235b
	If this isn't the right way of fixing it.... ;)
Packit ae235b
Packit ae235b
Thu Jul 23 00:29:14 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gscanner.c: new functions to make a scanner scope sensitive wrt
Packit ae235b
 	symbol lookups.
Packit ae235b
	g_scanner_scope_foreach_symbol, g_scanner_scope_lookup_symbol,
Packit ae235b
	g_scanner_scope_remove_symbol, g_scanner_scope_add_symbol and
Packit ae235b
	g_scanner_set_scope.
Packit ae235b
	g_scanner_add_symbol, g_scanner_remove_symbol and
Packit ae235b
 	g_scanner_foreach_symbol are now aliases for scope 0.
Packit ae235b
Packit ae235b
Mon Jul 20 23:05:34 1998  George Lebl  <jirka@5z.com>
Packit ae235b
Packit ae235b
	* glib.h: typo fixed for alphas for gint64
Packit ae235b
Packit ae235b
Tue Jul 14 09:05:18 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gutils.c: new fuction g_dirname() which returns a newlly
Packit ae235b
	allocated string.
Packit ae235b
Packit ae235b
Fri Jul 10 06:33:43 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* gutils.h: added a bunch of utility/wrapper functions:
Packit ae235b
	g_basename(), g_getcwd(), g_get_user_name(), g_get_real_name(),
Packit ae235b
	g_get_home_dir(), g_get_tmp_dir(), g_get_prgname() and g_set_prgname().
Packit ae235b
Packit ae235b
	* gutils.c: removed all g_str* functions.
Packit ae235b
	* gstrfuncs.c: moved the bunch g_str* functions from gutils.c in this
Packit ae235b
	place. this file shall never include <unistd.h> to avoid clashes for
Packit ae235b
	some of the g_str* functions on some OSes.
Packit ae235b
Packit ae235b
Fri Jul 10 00:29:03 EEST 1998 Lauri Alanko <nether@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* ghash.c: Renamed g_hash_table_lookup_full to
Packit ae235b
	g_hash_table_lookup_extended to conform with naming conventions.
Packit ae235b
Packit ae235b
Tue Jul  7 03:18:58 EEST 1998 Lauri Alanko <nether@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* ghash.c: Generic cleanup, added a function:
Packit ae235b
	(g_hash_table_lookup_full): Return whether the lookup succeeded,
Packit ae235b
	and also retrieve the key and value. This allows one to
Packit ae235b
	distinguish between failed lookup and finding a NULL, and also
Packit ae235b
	allows one to free a key in the hash.
Packit ae235b
Packit ae235b
Mon Jul  6 10:12:05 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* ltconfig: fix for properly detecting shared lib support on
Packit ae235b
	SunPro cc (taken from libtool 1.2.a)
Packit ae235b
Packit ae235b
Sat Jul  4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h: added g_array_length
Packit ae235b
Packit ae235b
Tue Jun 30 11:58:25 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_unexp_token): take symbol_2_token into
Packit ae235b
	account. react on valid/invalid string pairs.
Packit ae235b
Packit ae235b
Sat Jun 27 21:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.m4: ftp.glib.org -> ftp.gtk.org, since glib.org isn't
Packit ae235b
	ours. ;)
Packit ae235b
Packit ae235b
Fri Jun 19 03:11:02 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gdataset.c: removed g_dataset_try_key, g_dataset_force_id and
Packit ae235b
 	g_dataset_retrive_key in favour of GQuarks.
Packit ae235b
	a GQuark is an numeric id wich is associated with a certain string.
Packit ae235b
	(g_quark_try_string): try to get the quark associated with this string,
Packit ae235b
 	if the lookup failed return 0.
Packit ae235b
	(g_quark_from_string): get the associated quark for a string, if there
Packit ae235b
 	isn't currently a GQuark associated with this string, then allocate a
Packit ae235b
 	new quark and return that.
Packit ae235b
	(g_quark_from_static_string): like the above function, but the string
Packit ae235b
 	isn't strdup()ed to save memory.
Packit ae235b
	(g_quark_to_string): get the string that is associated with a certain
Packit ae235b
	GQuark.
Packit ae235b
Packit ae235b
	* gdataset.c (g_dataset_id_set_data_full): invoke the destroy function
Packit ae235b
	_after_ the new data has been setup.
Packit ae235b
Packit ae235b
Thu Jun 18 02:35:21 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: Changed messages for g_return_[val]_if_fail to
Packit ae235b
	be somewhat more clear: assertion "blah" failed.
Packit ae235b
Packit ae235b
1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>
Packit ae235b
Packit ae235b
	* testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
Packit ae235b
	warnings.
Packit ae235b
Packit ae235b
	* grel.c: #include <string.h>
Packit ae235b
Packit ae235b
Fri Jun 12 15:39:06 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h (GScanner): cleanups of the structure fields (binary
Packit ae235b
	incompatible).
Packit ae235b
Packit ae235b
Fri Jun 12 00:39:28 1998  Josh MacDonald  <jmacd@icw.EECS.Berkeley.EDU>
Packit ae235b
Packit ae235b
	* glib.h: add new hash and equal functions g_int_*.  complement
Packit ae235b
	g_direct_hash with g_direct_equal.
Packit ae235b
Packit ae235b
	* grel.c: new file, GRelations implement tuples of N-N mappings.
Packit ae235b
	A comment in glib.h briefly describes the interface.
Packit ae235b
Packit ae235b
	* ghash.c: new function, g_hash_table_size
Packit ae235b
Packit ae235b
	* glib.h: new typedefs, gsize, gssize, gtime.
Packit ae235b
Packit ae235b
	* garray.c: new functions implementing a simplified GArray.  This
Packit ae235b
	GPtrArray is an array of gpointers and has functions to add and
Packit ae235b
	remove elements, much like java.lang.Vector.
Packit ae235b
Packit ae235b
	* garray.c: new functions for the single-byte special case of
Packit ae235b
	GArray.  The functions g_byte_array* operate on arrays of bytes.
Packit ae235b
	Internally, a GArray is used.
Packit ae235b
Packit ae235b
	* testglib.c: tests for g_ptr_array, g_byte_array, and g_relation...
Packit ae235b
Packit ae235b
1998-06-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>
Packit ae235b
Packit ae235b
	* gdataset.c: #include <string.h>
Packit ae235b
Packit ae235b
Thu Jun 11 04:15:31 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
        * glib.h:
Packit ae235b
        * gdataset.c: new function g_dataset_retrive_key. adjusted prealloc
Packit ae235b
        sizes, to take up less space on initial allocation.
Packit ae235b
Packit ae235b
1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>
Packit ae235b
Packit ae235b
	* acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
Packit ae235b
	the version from which glib's libtool forked.  Needed for people
Packit ae235b
	who use post-1.2 alphas of libtool.
Packit ae235b
	* configure.in (enable_mem_check, enable_mem_profile): Replace
Packit ae235b
	`echo -n' with AC_MSG_CHECKING.
Packit ae235b
	(fd_set): Explain test for `fd_set' better.
Packit ae235b
Packit ae235b
Wed Jun 10 19:29:51 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
	* Makefile.am glib.m4 configure.in:
Packit ae235b
Packit ae235b
	Moved out from GTK+; added AM_PATH_GLIB macro.
Packit ae235b
Packit ae235b
Wed Jun 10 12:56:07 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: renamed g_const_pointer => gconstpointer
Packit ae235b
Packit ae235b
Tue Jun  9 17:47:33 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: Remove #error - HP/UX.
Packit ae235b
Packit ae235b
Sat May 23 19:00:01 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
  [ Combination of:
Packit ae235b
     gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
Packit ae235b
     gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
Packit ae235b
Packit ae235b
	* glib.h ghash.c gstring.c gdataset.c gutils.c:
Packit ae235b
	- Added new typedef g_const_pointer; expunged all incorrect
Packit ae235b
	  uses of 'const gpointer'.
Packit ae235b
	- Fixed up warnings that that created,
Packit ae235b
	- Changed GHashFunc and GCompareFunc to take g_const_pointer
Packit ae235b
	  arguments. (Necessary, but will cause warnings in existing
Packit ae235b
	  code until fixed)
Packit ae235b
	- Added other new const in harmless positions.
Packit ae235b
Packit ae235b
Mon Jun  8 01:06:47 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: added enum-helper macros for code generation.
Packit ae235b
	added G_BREAKPOINT().
Packit ae235b
Packit ae235b
Sat Jun  6 14:09:22 PDT 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gmem.c: commented out MEM_PROFILE and MEM_CHECK, causing weird
Packit ae235b
	problems
Packit ae235b
Packit ae235b
Wed Jun  3 06:19:42 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h (g_chunk_new0): convenience macro, for allocating small chunks
Packit ae235b
	like g_chunk_new() with additional 0 initialization.
Packit ae235b
Packit ae235b
Mon Jun  1 04:43:27 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* ghash.c (g_hash_table_insert): wrote a comment describing why
Packit ae235b
	a hash node's key should not also get replaced when overriding
Packit ae235b
 	previous entries.
Packit ae235b
Packit ae235b
Tue May 26 18:30:06 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h (g_string_sized_new): new function to controll the preallocated
Packit ae235b
	size of a GString.
Packit ae235b
Packit ae235b
	* glib.h (g_strreversed): new function to reverse a string.
Packit ae235b
Packit ae235b
Mon May 18 22:14:39 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
(Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp> : gtk-joke-980517-0.patch)
Packit ae235b
Packit ae235b
	* gutils.c: Restored a missing prototype for g_vsprintf.
Packit ae235b
Packit ae235b
Wed May 20 05:02:26 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
        * glib.h: conditionally define NULL, FALSE and TRUE.
Packit ae235b
        (g_mem_chunk_create): new convenience macro as a short hand for
Packit ae235b
        g_mem_chunk_new().
Packit ae235b
        (g_chunk_free): new convenience macro to be consistent with g_chunk_new.
Packit ae235b
Packit ae235b
Tue, 19 May 1998 09:00:02 +0200  Paolo Molaro <lupus@debian.org>
Packit ae235b
Packit ae235b
	* gcompletion.c: generic functions for com<TAB>pletion...
Packit ae235b
Packit ae235b
Sun May 17 10:48:27 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_unexp_token): provide usefull default
Packit ae235b
 	specifications for identifier_spec and symbol_spec.
Packit ae235b
Packit ae235b
	* glib.h: new functions g_slist_nth_data and g_list_nth_data to return
Packit ae235b
 	the data of the nth element in the list.
Packit ae235b
Packit ae235b
Fri May 15 22:31:49 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_unexp_token): removed spurious va_end(args)
Packit ae235b
 	that for some reason didn't produce a compiler warning on my machine
Packit ae235b
 	(is va_end defined to nothing for i386?).
Packit ae235b
Packit ae235b
Fri May 15 12:32:08 1998  rodo  <doulik@karlin.mff.cuni.cz>
Packit ae235b
Packit ae235b
	* gscanner.c: replaced some snprintf with g_snprintf
Packit ae235b
Packit ae235b
Fri May 15 00:56:59 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: further support for gcc function attributes: G_GNUC_FORMAT,
Packit ae235b
	G_GNUC_NORETURN and G_GNUC_CONST.
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_stat_mode): changed stat() to lstat().
Packit ae235b
	(g_scanner_msg_handler): "\n" at end of line!
Packit ae235b
	(g_scanner_foreach_symbol): new function to iterate over the symbol
Packit ae235b
 	table (GScanner does value-wrapping).
Packit ae235b
Packit ae235b
Thu May 14 04:14:12 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h: typedef gint gboolean;
Packit ae235b
	this is needed to provide portability with big-endian platforms (e.g.
Packit ae235b
	try sizeof(bool) for c++ on big-endians - it's 4).
Packit ae235b
	this is also needed to maintain some_union.d_gint==some_union.d_gboolean.
Packit ae235b
 	plus, gint to gboolean casts and vice versa need to be possible without
Packit ae235b
 	loss.
Packit ae235b
Packit ae235b
Tue May 12 19:22:58 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
 	* glib/glib.h: Added macros G[U]INT_TO_POINTER() and
Packit ae235b
	GPOINTER_TO_[U]INT for storing small integers integers
Packit ae235b
	inside pointers.
Packit ae235b
Packit ae235b
	* glib/testglib.c: Print sizeof() results
Packit ae235b
	as g_print("%ld", (glong)sizeof(foo)), to deal with
Packit ae235b
	size_t being long on Alpha's.
Packit ae235b
Packit ae235b
Tue May 12 16:54:15 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
	(James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
Packit ae235b
Packit ae235b
	* glib.h gstring.c gmessages.c: Added some missing
Packit ae235b
	const to arguments.
Packit ae235b
Packit ae235b
	* gutils.c (g_strsignal.c): Added missing return statements.
Packit ae235b
Packit ae235b
Mon May 11 21:11:54 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
	* gutils.c gmessages.c: Moved g_error, g_warning, g_message and
Packit ae235b
	g_print from gutils.c to new file gmessages.c, to avoid having to
Packit ae235b
	include <unistd.h> in gutils.c which was causing problems for the
Packit ae235b
	g_strsignal implementation on FreeBSD boxes.
Packit ae235b
Packit ae235b
Mon May 11 09:53:43 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* configure.in: preserve automake CFLAGS.
Packit ae235b
Packit ae235b
	* Makefile.am: fully rename the created library to libglib-1.1.la.
Packit ae235b
	this means we need to change certain portions of the Makefile.am on
Packit ae235b
	major/minor version bumps.
Packit ae235b
Packit ae235b
	* ltmain.sh: the -release option is not required anymore.
Packit ae235b
Packit ae235b
        * glib.h: provide G_GNUC_FUNCTION and G_GNUC_PRETTY_FUNCTION to
Packit ae235b
	avoid conditionals. unconditionally define NULL, TRUE, FALSE, MAX,
Packit ae235b
	MIN, ABS and CLAMP, these macros might be screwed from other headers.
Packit ae235b
Packit ae235b
Mon May 11 01:44:10 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gdataset.c: new file, gdatasets implement the object data
Packit ae235b
	mechanism from GtkObject. a generic data pointer is associated with
Packit ae235b
	a certain location and a key id.
Packit ae235b
Packit ae235b
Sat May  9 20:08:12 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
        * glib/gmem.c: Experimentally restore GMemChunk
Packit ae235b
        to its primeval state - where mem areas are
Packit ae235b
        freed incrementally instead of searching the tree
Packit ae235b
        every time a mem area is completely empty. Also,
Packit ae235b
        always keep one mem chunk around. (Reduced calls
Packit ae235b
        to malloc() a lot, but doesn't really improve
Packit ae235b
        performance significiantly)
Packit ae235b
Packit ae235b
Thu May  7 08:17:28 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* glib.h (G_GNUC_PRINTF):
Packit ae235b
	(G_GNUC_SCANF): macros to facilitate the printf/scanf format argument
Packit ae235b
	checking of gcc.
Packit ae235b
Packit ae235b
	* gstring.c: const corrections, string!=NULL checks at function entry.
Packit ae235b
	(g_string_down): new function for tolower(3) conversion.
Packit ae235b
	(g_string_up): new function for toupper(3) conversion.
Packit ae235b
Packit ae235b
	* gutils.c: const corrections.
Packit ae235b
	(g_strdown): g_string_down() counterpart.
Packit ae235b
	(g_strup): g_string_up() counterpart.
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_unexp_token):
Packit ae235b
 	(g_scanner_error):
Packit ae235b
	(g_scanner_warn): new functions to let a scanner put out warnings
Packit ae235b
 	or errors, especially to react on unexpected tokens.
Packit ae235b
Packit ae235b
	* gslist.c:
Packit ae235b
 	(g_slist_index): find out about about the position of a
Packit ae235b
	certain data pointer.
Packit ae235b
 	(g_slist_position): find out about about the position of a
Packit ae235b
	certain node.
Packit ae235b
Packit ae235b
	* glist.c:
Packit ae235b
 	(g_list_index): find out about about the position of a
Packit ae235b
	certain data pointer.
Packit ae235b
Packit ae235b
Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* ltmain.sh: added a new commandline flag -postfix similar to -release,
Packit ae235b
	but will immediately change the library name.
Packit ae235b
Packit ae235b
	* Makefile.am: specify -postfix and -version-info
Packit ae235b
Packit ae235b
	* configure.in: version bump to 1.1.0. added GLIB_INTERFACE_AGE and
Packit ae235b
	GLIB_BINARY_AGE. calculate LT_* variables for libtool.
Packit ae235b
Packit ae235b
Fri May  1 16:36:08 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
	* gutils.c: (g_strcasecmp). Check for isupper before
Packit ae235b
	taking tolower, and account for macroized tolower.
Packit ae235b
Packit ae235b
	* gutils.c (g_error): Check for recursion.
Packit ae235b
Packit ae235b
1998-04-27  Elliot Lee  <sopwith@cuc.ml.org>
Packit ae235b
Packit ae235b
	* glist.c (g_list_position): New function to find the position of
Packit ae235b
	a link in a list - should be the inverse of g_list_nth(), but
Packit ae235b
	haven't tested it so poof.
Packit ae235b
Packit ae235b
Thu Apr 30 21:41:30 1998  Owen Taylor  <otaylor@gtk.org>
Packit ae235b
Packit ae235b
	* gstring.c : Check arguments more carefully,
Packit ae235b
	(gtk-draco-980423-1.patch; ramsey@rhrk.uni-kl.de)
Packit ae235b
Packit ae235b
Tue Apr  7 19:36:48 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* gutils.c (g_direct_compare): Removed, because that's what
Packit ae235b
	a NULL comparison function means. And it wasn't 64 bit safe.
Packit ae235b
Packit ae235b
Mon Apr  6 18:43:25 1998  Tim Janik  <timj@gtk.org>
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_get_token_ll): fixed a bug that caused floats
Packit ae235b
	of the format ".xxx" to be parsed as "xxx".
Packit ae235b
Packit ae235b
Fri Apr  3 20:36:35 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* gutils.c (g_parse_debug_string): Make debug string
Packit ae235b
	parsine case-insensitive
Packit ae235b
Packit ae235b
Fri Apr  3 17:03:18 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gstring.c: corrected possible overrun when inserting into
Packit ae235b
	GStrings (thanks Elrond)
Packit ae235b
Packit ae235b
Fri Apr  3 18:05:45 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* testglib.c: Removed literal german from strings
Packit ae235b
	to appease SGI compiler.
Packit ae235b
Packit ae235b
Thu Mar 26 20:47:21 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* configure.in glib glibconfig.h.in: Add test for atexit/on_exit -
Packit ae235b
	use on_exit if atexit not found in definition of ATEXIT.
Packit ae235b
Packit ae235b
Wed Mar 25 15:23:37 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* Makefile.am: Switched glibconfig.h rule from HEADERS
Packit ae235b
	to DATA, so that it is not added to DISTFILES
Packit ae235b
Packit ae235b
Wed Mar 18 22:27:08 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* garray.c: g_rarray_truncate length done correctly
Packit ae235b
Packit ae235b
Sun Mar 15 07:13:34 1998  Tim Janik  <timj@gimp.org>
Packit ae235b
Packit ae235b
	* gutils.c: changed *_handler variables to be named glib_*_handler,
Packit ae235b
	so you can easily access them from gdb.
Packit ae235b
Packit ae235b
Sat Mar 14 17:47:43 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* Makefile.am: Don't refer to current directory as $(top_builddir)
Packit ae235b
	to avoid confusing non-gmakes
Packit ae235b
Packit ae235b
Sat Mar 14 01:37:35 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* Makefile.am (configincludedir): Moved glibconfig.h to
Packit ae235b
          $(pkglibdir)/include
Packit ae235b
Packit ae235b
Tue Mar 10 02:03:12 1998  Tim Janik  <timj@gimp.org>
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_destroy_symbol_table_entry): new function to
Packit ae235b
	free symbol table entries upon destruction
Packit ae235b
 	(gtk-gronlund-980309-0.patch.gz).
Packit ae235b
Packit ae235b
Mon Mar  9 15:02:21 1998  Tim Janik  <timj@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h: changed *_length functions to return guint.
Packit ae235b
	changed *_nth functions to take guint as argument.
Packit ae235b
Packit ae235b
	* glist.c: adapted g_list_length and g_list_length.
Packit ae235b
Packit ae235b
	* gslist.c: adapted g_slist_length and g_slist_length.
Packit ae235b
Packit ae235b
Mon Mar  2 17:51:18 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* glib.h gutils.c : changed g_strcasecmp
Packit ae235b
	  to take gchar* not guchar*
Packit ae235b
Packit ae235b
	* testglib.c: Remove trailing ; after functions
Packit ae235b
Packit ae235b
Sun Mar  1 19:04:40 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* glib.h gstring.c: Added g_string_insert[_c]()
Packit ae235b
	  and g_string_erase().
Packit ae235b
Packit ae235b
	  From: Stefan Wille  <1wille@vsys1.informatik.uni-hamburg.de>
Packit ae235b
Packit ae235b
Mon Feb 16 23:05:06 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* glist.c (g_list_insert_sorted): Changed function
Packit ae235b
	  so elements are always inserted, even if they compare
Packit ae235b
	  equal with another.
Packit ae235b
Packit ae235b
Thu Feb 12 22:48:11 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* gstring.c glib.h: removed deprecated g_string_equal
Packit ae235b
	  and g_string_hash.
Packit ae235b
Packit ae235b
Tue Feb 10 13:04:36 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* configure.in: Add check to see if the C library's
Packit ae235b
	  iswalnum can actually be used. (Not true for
Packit ae235b
	  Linux libc-5.4.38)
Packit ae235b
Packit ae235b
Sat Feb  7 11:48:09 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* gstring.c gutils.c: added some additional consts in
Packit ae235b
	  appropriate places to remove a warning
Packit ae235b
Packit ae235b
Sat Feb  7 11:15:54 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* gutils.c: include <ctype.h> for tolower()
Packit ae235b
Packit ae235b
Fri Jan 30 23:57:17 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* added and autoconfigured in a new utility function
Packit ae235b
	g_strcasecmp
Packit ae235b
Packit ae235b
Wed Jan 28 23:53:27 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glist.c
Packit ae235b
	* gslist.c
Packit ae235b
	* testglib.c: the sort functions compared backwards. Fixed
Packit ae235b
	* glib.h: list iterator macros now check for NULL pointers
Packit ae235b
Packit ae235b
Tue Jan 27 09:46:57 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gstring.c: g_string_prepend and g_string_prepend_c had
Packit ae235b
	interchanged src and dest parameters for g_memmove. Fixed.
Packit ae235b
Packit ae235b
Tue Jan 27 01:38:52 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* gslist.c: fixed a really, really lame error. g_slist_insert
Packit ae235b
	didn't hook the data in! Reworked the routine to reflect the
Packit ae235b
	functionality of g_list
Packit ae235b
Packit ae235b
Wed Jan 21 01:13:25 1998  Tim Janik  <timj@psynet.net>
Packit ae235b
Packit ae235b
	* Applied patch from (Raja R Harinath <harinath@cs.umn.edu>)
Packit ae235b
	  to add function g_snprintf.
Packit ae235b
        * configure.in (AC_CHECK_FUNCS): Check for vsnprintf.
Packit ae235b
        * glib.h: Add prototype for g_snprintf.
Packit ae235b
        * glibconfig.h.in: Add HAVE_VSNPRINTF.
Packit ae235b
        * gutils.c (g_snprintf): new function.
Packit ae235b
Packit ae235b
Sat Jan 17 23:52:40 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* gstring.{c,h} gscanner.c:
Packit ae235b
	   renamed g_string_equal => g_str_equal
Packit ae235b
	   renamed g_string_hash => g_str_hash
Packit ae235b
	  And const corrected. Old functions left in for now.
Packit ae235b
Packit ae235b
Fri Jan  9 20:03:46 1998  Tim Janik  <timj@psynet.net>
Packit ae235b
Packit ae235b
	* gutils.c (g_strerror): changed message for EAGAIN from
Packit ae235b
	"no more processes" to "try again" since EAGAIN is used with
Packit ae235b
	functions else than fork().
Packit ae235b
Packit ae235b
	* gscanner.c (g_scanner_get_token_ll): use strtol() instead of
Packit ae235b
	strtoul() to avoid conflicts with solaris.
Packit ae235b
Packit ae235b
	* merged the glib portions from Jan 2 to Jan 7 out of gtk+/ChangeLog
Packit ae235b
 	into this file.
Packit ae235b
Packit ae235b
Wed Jan  7 02:14:30 PST 1998 Manish Singh <yosh@gimp.org>
Packit ae235b
Packit ae235b
	* glib.h:
Packit ae235b
	* glist.c:
Packit ae235b
	* gslist.c:
Packit ae235b
	* testglib.c: Added g_[s]list_insert_sorted function
Packit ae235b
	and appropriate tests in testglib
Packit ae235b
Packit ae235b
Sat Jan  3 20:23:25 1998  Owen Taylor  <owt1@cornell.edu>
Packit ae235b
Packit ae235b
	* glib.h: Changed guint32 -> guint for bitfields.
Packit ae235b
	(Bitfields must be int or unsigned int?)
Packit ae235b
Packit ae235b
Fri Jan  2 23:52 PST 1998 Jay Painter <jpaint@serv.net>
Packit ae235b
Packit ae235b
	* glib_pre1.h:
Packit ae235b
	* glib_pre2.h:
Packit ae235b
	* glib.h: reverted glibconfig.h and glib.h files back to the
Packit ae235b
	way they were before my ugly hack.
Packit ae235b
Packit ae235b
	* gscanner.c: removed inlines from clist and gscanner
Packit ae235b
Packit ae235b
Tue Dec 23 02:49:51 1997  Tim Janik  <timj@psynet.net>
Packit ae235b
Packit ae235b
	* gscanner.c: new file for GScanner: Flexible lexical scanner for
Packit ae235b
 	general purpose.
Packit ae235b
	* glib_pre2.h: added GScanner includes. added g_strconcat and g_strtod.
Packit ae235b
	gutils.c (g_strconcat): new function for string concatenation of NULL
Packit ae235b
 	terminated parameter list.
Packit ae235b
	(g_strtod): new function to perform best string to double conversion
Packit ae235b
	with or without consideration of the current locale.
Packit ae235b
Packit ae235b
Mon Dec 15 19:33:58 1997  Tim Janik  <timj@psynet.net>
Packit ae235b
Packit ae235b
	* glist.c: minor optimizations:
Packit ae235b
 	(g_list_append): `if' optimized for common code path, commented out
Packit ae235b
 	unneccessary `assert', saved one variable assignment.
Packit ae235b
	(g_list_prepend): saved two (conditioned) variable assignment.
Packit ae235b
	(g_list_insert): saved one  (conditioned) variable assignment,
Packit ae235b
	saved one variable assignment.
Packit ae235b
	(g_list_remove): `if' optimized for common code path, saved two
Packit ae235b
	variable assignments by using `g_list_free_1' (which is even
Packit ae235b
 	faster) instead of `g_list_free'.
Packit ae235b
	(g_list_reverse): saved allocation of one variable, saved one
Packit ae235b
	variable assignment.
Packit ae235b
Packit ae235b
Wed Dec 10 23:27:20 1997  Tim Janik  <timj@psynet.net>
Packit ae235b
Packit ae235b
	* glib_pre1.h:
Packit ae235b
	* glib_pre2.h:
Packit ae235b
	* glib.h: this file now gets concatenated by makeglib_h from
Packit ae235b
	glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got
Packit ae235b
	created by configure (done by Jay Painter).
Packit ae235b
Packit ae235b
	* glib_pre2.h: the g_assert*() and g_return_*_fail() macros
Packit ae235b
	are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts
Packit ae235b
	when used within if (...) g_macro(); else ... conditionals.
Packit ae235b
Packit ae235b
Tue Dec 17 13:14:07 1996  Peter Mattis  <pmattis@charnley.HIP.Berkeley.EDU>
Packit ae235b
Packit ae235b
	* glib.h: Changed 'g_return_if_fail' and 'g_return_val_if_fail' to
Packit ae235b
	not call 'g_string' but to simply stringify the
Packit ae235b
	expression. Calling 'g_string' causes the expression to be
Packit ae235b
	expanded which is undesired.
Packit ae235b
Packit ae235b
Sun Dec  1 01:30:48 1996  Peter Mattis  <pmattis@charnley.HIP.Berkeley.EDU>
Packit ae235b
Packit ae235b
	* Started ChangeLog