- * gmem.c (g_realloc): plugged a memory leak, reported by Koen D'Hondt
- <ripley@xs4all.nl> on 15 Oct 1998. allocate inital block from realloc.
-
-1999-02-17 Elliot Lee <sopwith@redhat.com>
-
- * glib.spec: Do --enable-debug=no for the .rpm's.
-
-Wed Feb 17 17:04:06 1999 Tor Lillqvist <tml@iki.fi>
-
- * config.h.win32: Must define HAVE_PTHREAD_GETSPECIFIC_POSIX.
-
-Tue Feb 16 14:08:59 CST 1999 Shawn T. Amundson <amundson@gtk.org>
-
- * NEWS
- README
- INSTALL
- config.h.win32
- configure.in
- glib.spec
- glibconfig.h.win32
- docs/glib-config.1: version=1.1.16
-
- * Released GLib 1.1.16
-
-1999-02-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * glib.h, glibconfig.h.win32, configure.in: Changed signature of
- all g_static_mutex_* functions to take a pointer rather than the
- struct itself. This is not an issue at the moment, because those
- funcs are really macros, but is it un'G'ish and might fall on our
- feet in the future.
-
-Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org>
-
- * configure.in (--enable-debug): default to yes for development trees.
-
-Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org>
-
- * glib.h: return guints instead of gints for g_hash_table_size
- and g_hash_table_foreach_remove.
-
-Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
-
- * configure.in: don't reset G_MODULE_IMPL, so it can be overridden
- from the command line.
-
-1999-02-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * glib.h: s/G_LOCK_DECLARE/G_LOCK_DEFINE/ throuhout glib. Added
- G_LOCK_EXTERN macro to declare a lock externally.
-
-Wed Feb 10 06:20:30 1999 Tim Janik <timj@gtk.org>
-
- * gmutex.c (g_static_private_set): invoke destroy notifier when
- overwriting values, initialize new array fields with NULL.
- (g_static_private_free_data): do not skip destroy notification for
- data == NULL.
-
- * gutils.c (g_direct_equal): compare pointer values directly instead
- of just their guint values which is a loosing conversion for
- sizeof(gpointer)==8 systems.
- (g_get_any_init): restructured code so we don't use endless loops like
- while (1), which boil down to an ugly alias for goto.
- strip ,.* from the real name.
-
-February 9, 1999 sopwith@redhat.com
-
- . glist.c, gnode.c, gslist.c: allocate pools of 128 items instead
- of 1024 items.
-
-1999-02-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in, acconfig.h: Changed the test for getpwuid_r to
- exclude those systems (i.e. IRIX), that set ENOSYS after the call.
- Test, if pthread_getspecific is posix like or something different,
- as on PCThreads.
-
-Sun Feb 7 21:56:00 1999 Owen Taylor <otaylor@redhat.com>
-
- * gmem.c (g_mem_profile): Copy all elements
- of the allocations[] array, including the last.
- (Pointed out by "Matthew W. Samsonoff" <mws7323@osfmail.isc.rit.edu>)
-
-1999-02-05 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Make the error message in case of a broken thread
- system a bit more informative.
-
- * gutils.c (g_get_any_init): Changed the error logic again, now
- only leaving the memory doubling loop, when success is reached or
- when the user isn't found or when the buffer is 32k big,
- additionally now getpwuid will be run, if getpwuid_r didn't work
- out properly. A warning is issued however.
-
-Thu Feb 04 20:42:24 1999 Tor Lillqvist <tml@iki.fi>
-
- * glibconfig.h.win32 config.h.win32: Update GLIB_MICRO_VERSION.
-
-1999-02-04 Christopher Blizzard <blizzard@redhat.com>
-
- * glib.spec (Packager): Change my email address
-
-Thu Feb 4 01:45:01 PST 1999 Shawn T. Amundson <amundson@gtk.org>
-
- * ChangeLog
- NEWS
- README
- configure.in
- glib.spec
- docs/glib-config.1: version=1.1.15
-
- * Released GLib 1.1.15
-
-Tue Feb 02 00:08:54 1999 Tor Lillqvist <tml@iki.fi>
-
- * gmessages.c (g_log_default_handler): (Win32:) Don't call
- ensure_stdout_valid (which would open an unneeded console window)
- if we're calling a logging function. Define ensure_stdout_valid
- as an empty macro on Unix.
-
- * gutils.c (g_get_any_init): (Win32:) Trust HOME first if defined,
- then try HOMEDRIVE and HOMEPATH.
-
-Mon Feb 1 19:04:28 1999 Owen Taylor <otaylor@redhat.com>
-
- * gmain.c (g_main_iterate): Release the main_loop
- lock around calls to prepare() and check() so
- that we are not holding the main loop lock
- over user code.
-
-1999-01-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Moved the check for MT safe function variants
- after the determination of the MT cflags and use them there.
-
-1999-01-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Fixed typo. Now HPUX 11 thread system detection
- should work.
-
- * gutils.c (g_get_any_init): Changed initial bufsize to 64. Should
- solve some problems out there.
-
-Wed Jan 27 23:21:50 CST 1999 Shawn T. Amundson <amundson@gtk.org>
-
- * INSTALL
- NEWS
- README
- configure.in
- glib.spec
- docs/glib-config.1: version=1.1.14
-
- * Released GLib 1.1.14
-
-1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Simplified configure.in test for posix threads,
- systems, that provide /usr/include/pthread.h should also have the
- posix thread library. This is to avoid writing down all the tests
- twice. New test for thread system on HPUX 11. Info from Matt
- Nottingham <matt@sar.dera.gov.uk>.
-
-Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
-
- * acinclude.m4: Xsed isn't valid here, don't use it
-
- * ltmain.sh
- * ltconfig: better file magic regexp for Linux libs
-
- * gmodule/Makefile.am: arg, noinst_LTLIBRARIES doesn't make shared
- libs, revert my previous change to this file
-
- * docs/texinfo.tex: add it so automake doesn't whine
-
-Wed Jan 27 01:57:19 1999 Tim Janik <timj@gtk.org>
-
- * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej
- Borsenkow <borsenkow.msk@sni.de> to also check for dlsym() in system
- libraries and -ldl, to catch systems that provide dlopen() in libc
- and dlsym() in libdl. this is at least the case for Reliant UNIX
- 5.44 (labeling itself as SINIX).
-
-Tue Jan 26 13:39:22 PST 1999 Manish Singh <yosh@gimp.org>
-
- * configure.in: don't use backquotes in warning text
-
-1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gdate.c (g_date_set_time): Removed the #warning about MT
- unsafety without localtime_r.
-
- * configure.in: Moved it here.
-
-Mon Jan 25 10:07:53 1999 Raph Levien <raph@gimp.org>
-
- * configure.in: (#define G_THREADS_IMPL...) Changed the #define,
- adding the G_THREADS_IMPL_ prefix to $g_threads_impl_def because
- it looked wrong to me and was breaking gimp compile.
-
-Mon Jan 25 15:34:43 1999 Timur Bakeyev <mc@bat.ru>
-
- * configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
- now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
- #include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
- tion hides there.
-
-1999-01-25 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Do not use the thread libs, when searching for
- some functions, as this might require glib to always be linked
- with the thread libs on some platforms.
-
- * gutils.c (g_get_any_init): Don't set errno to zero and use it
- only as the error code, if the function returned a value less
- 0. It might happen, that the call succeeds, even though the errno
- is set during the call (i.e. it first looks for a passwd file,
- which is not found). Submitted by Michael Natterer
- <mitschel@cs.tu-berlin.de>. BTW: Sorry for all the mess with that
- `getpwuid_r' change, but it had to be done once.
-
-Sun Jan 24 10:33:30 1999 Tim Janik <timj@gtk.org>
-
- * gutils.c (g_get_any_init): reverted raja's changes, since they leaked
- a struct passwd contents buffer and for the rest mostly substituted a
- while loop with a bunch of gotos.
- restored the getpwuid() code to what we had after my recent clean ups
- ("Sat Jan 23 02:14:28 1999 Tim Janik"), module yosh's recent changes.
- to feature solaris behaviour of directly returning errno, we don't
- modify error anymore if it's > 0 and simply reset errno.
- don't reset g_home_dir for !NATIVE_WIN32 && !NATIVE_WIN32.
-
-1999-01-24 Raja R Harinath <harinath@cs.umn.edu>
-
- * gutils.c
- (g_get_any_init) [HAVE_GETPWUID_R && HAVE_GETPWUID_R_POSIX]:
- Hopefully got the error handling for `getpwuid_r' right.
- (g_get_any_init) [HAVE_GETPWUID_R && !HAVE_GETPWUID_R_POSIX]:
- Fix typo (change `pw == NULL' to `pw != NULL').
-
-Sun Jan 24 00:36:22 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * ghash.c:
- - Revert previous "fix" (which really just did things a
- different way).
- - (g_hash_table_remove): Don't need to support multiple values
- for a single key.
-
- * tests/hash-test.c:
- Add test where hash function always returns a single value.
- Add beginnings of tests for g_hash_table_foreach[_remove] and
- g_hash_table_remove.
-
-Sat Jan 23 20:40:06 PST 1999 Manish Singh <yosh@gimp.org>
-
- * gutils.c: removed the #warning about MT without getpwuid_r
-
- * configure.in: and moved it here
-
-Sat Jan 23 22:45:59 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * ghash.c (g_hash_table_lookup_node, g_hash_table_lookup,
- g_hash_table_insert, g_hash_table_remove,
- g_hash_table_lookup_extended):
- - Fixed bug that overwrote nodes in hash buckets instead of
- adding them to the hash bucket node list.
- Hash tables now work as advertised.
-
- (g_hash_table_resize):
- - Use g_new0 instead of manual init.
- - Space out code a bit for readability.
-
- (g_hash_nodes_destroy):
- - Replaced "if (!hash_node) return;" with
- "if (hash_node) {do stuff}".
- Testing takes up less code space than explicit call to
- 'return' before end of function. (look at gcc -S)
-
- Updated module header copyright to 1999.
- New module macro G_HASH_BUCKET for (table,key)->bucket lookups.
-
- * tests/hash-test.c:
- - Add two new tests, one with strings as the keys and values, and
- one with ints as the keys and values. Tests indirect (strings)
- and direct (ints) hashing.
- - Cleanup unused junk left over from testglib.c.
- - Converted a g_print call to g_assert_not_reached.
- - Updated copyright to 1999.
-
- * testglib.c, tests/string-test.c:
- - Init 'tmp_string' var to NULL, silencing uninit-var warning.
-
-1999-01-23 Raja R Harinath <harinath@cs.umn.edu>
-
- * gutils.c (g_get_any_init) [HAVE_GETPWUID_R]:
- Rewrite not to look at `errno' if library call succeeds, since
- `errno' is not reset to 0.
-
-Sat Jan 23 16:17:04 1999 Tor Lillqvist <tml@iki.fi>
-
- * glibconfig.h.win32: Update the magic values for
- pthread_mutex_t size and initializer bytes to match the
- latest version of pthreads for Win32.
-
-Sat Jan 23 02:14:28 1999 Tim Janik <timj@gtk.org>
-
- * gutils.c (g_get_any_init): cleaned up the errno mess for
- GETPWUID. we especially don't want to g_error() out here!
- the warning for G_THREADS_ENABLED and !HAVE_GETPWUID_R isn't
- gcc related.
- if !HAVE_PWD_H and !NATIVE_WIN32, g_free the home dir before
- resetting it to NULL, why are we doing this anyways?
- reordered code a bit so we always provide defaults (except
- for g_home_dir).
-
-Thu Jan 21 12:40:11 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * tests/{Makefile.am, string-test.c, strfunc-test.c}:
- Separate string and strfunc tests, working towards goal of
- having separate test for each of the GLib modules.
- Add a couple GString length tests.
-
-Thu Jan 21 09:36:05 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * configure.in:
- Use AC_PREREQ not AC_REQUIRE for autoconf version test.
-
-1999-01-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gutils.c (g_get_any_init): Changed error handling again, as the
- error is not always set in errno, it is the return value on some
- systems. What an evil world.
-
-Thu Jan 21 05:35:20 1999 Tor Lillqvist <tml@iki.fi>
-
- * gstrfuncs.c: Include signal.h only when the signal names will be
- needed.
-
-Wed Jan 20 22:09:59 EST 1999 Mandrake <mandrake@mandrake.net>
-
- * configure.in / Makefile.am : made some adjustments for automake 1.4
- and autoconf 2.13 (per suggestions made by Raja R Harinath
- <harinath@cs.umn.edu>)
-
-Wed Jan 20 20:33:14 EST 1999 Mandrake <mandrake@mandrake.net>
-
- * autogen.sh: automake 1.4 and libtool 1.2d notices.
- (maybe I'll write an actual test for automake 1.4 later)
-
-Wed Jan 20 15:05:25 PST 1999 Manish Singh <yosh@gimp.org>
-
- * HACKING: new file
-
- * Makefile.am: since we require automake 1.4 now, ditch the build
- top-level first and just use SUBDIRS
-
- * gmodule/Makefile.am: use noinst_LTLIBRARIES instead of overriding
- the install rule
-
-Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * gutils.c (g_get_any_init):
- Revert previous patch, move error value set line down to proper
- place. Caught by Elliot Lee <sopwith@redhat.com>.
-
-Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
-
- * gutils.c (g_get_any_init): All gtk apps were broken
- here on my setup. I changed the error to a warning to at
- least get things limping.
-
-1999-01-20 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gutils.c (g_get_any_init): Use getpwuid_r with the right
- signature, if available.
-
- * configure.in, acconfig.h: Test for existance of getpwuid_r and
- its signature.
-
-Tue Jan 19 20:52:43 1999 Tor Lillqvist <tml@iki.fi>
-
- * Makefile.am (EXTRA_DIST): Add new Win32 files.
-
- * README.win32: Describe the conditional compilation macros.
-
- * makefile.lcc: Removed.
-
-1999-01-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Moved test for localtime_r and rand_r to a place
- after the determination of the G_THREAD_LIBS and use them for
- finding those functions, necessary on systems with a different C
- library libc_r for threaded progs, like FreeBSD 2.2.x. Info from
- Timur Bakeyev <mc@bat.ru>.
-
-Tue Jan 19 00:44:24 1999 Josh MacDonald <jmacd@axis.hip.berkeley.edu>
-
- * gstrfuncs.c (g_strsignal): The "extern char* sys_siglist"
- declaration breaks systems with different declarations, like
- mine (FreeBSD). So, I added a configuration variable to decide
- whether the declaration is neccesary. Change also appears on
- line 275 of configure.in.
-
-Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GLib 1.1.13
-
- * README:
- INSTALL:
- docs/glib-config: ver=1.1.13
-
-Mon Jan 18 00:02:46 1999 Tim Janik <timj@gtk.org>
-
- * NEWS: updates for 1.1.13.
-
-Sun Jan 17 17:15:59 1999 Tim Janik <timj@gtk.org>
-
- * gtree.c (g_tree_traverse): removed assertion about rtree->root being
- NULL, so this function can be applied to unpopulated trees as well, fix
- provided by Simon Kagedal <sika8225@csd.uu.se>.
-
-Sun Jan 17 11:17:19 1999 Christopher Blizzard <blizzard@appliedtheory.com>
-
- * glib.spec: add packager address
-
-Sun Jan 17 11:10:05 1999 Christopher Blizzard <blizzard@appliedtheory.com>
-
- * glib.spec: increment version number to 1.1.13
-
-Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
-
- * glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
- ((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
- by Seth Alves <alves@hungry.com>.
-
-Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
-
- * glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
- GHookList.hook_destroy function.
-
- * ghook.c (g_hook_destroy_link): don't really call hook_destroy if it
- is G_HOOK_DEFERRED_DESTROY. for the case where we invoke hook->destroy()
- we now clean up the hook completely afterwards, i.e. data, func and
- destroy are immediately set to NULL and hook_free can't play with that
- values anymore.
-
- * gmain.c (g_source_add): set hook_destroy to G_HOOK_DEFERRED_DESTROY,
- instead of using an ugly _noop() hack, this is to avoid an uneccessary
- function invokation. set hook_free to g_source_destroy_func, this way
- we always invoke the destroy notifiers for user_data and source_data
- after execution of dispatch(). thus, g_source_destroy_func() will always
- be called within the main_loop lock (this wasn't really assured
- before), and can release and reaquire the look around destroy notifier
- invokation.
-
-Sun Jan 17 11:01:40 1999 Tor Lillqvist <tml@iki.fi>
-
- * config.h.win32 glibconfig.h.win32: Increment version number here
- also.
-
-Sun Jan 17 05:12:17 1999 Tim Janik <timj@gtk.org>
-
- * configure.in: incremented version number to 1.1.13, bin age 0,
- interface age 0.
-
- * glib.h: added hook_destroy member to struct _GHookList.
-
- * ghook.c (g_hook_destroy_link): if the hook_list defines a hook_destroy
- function, use that to marshal hook destruction notifiers.
-
- * gmain.c: removed g_source_free_func and added g_source_destroy_func,
- which marshalls the user_data and source_data destructors of sources
- outside of the main_loop lock.
- removed GIdleData struct since its sole member callback can be passed
- as source_data directly.
- added a gboolean return value to all g_source_remove* functions,
- indicating whether the source could be removed, because these functions
- don't issue warnings upon unseccessful removals themselves. this way at
- least the caller gets a chance to warn upon failing removals.
- (g_main_iterate): set in_check_or_prepare around calls to check() or
- prepare().
- (g_main_pending): simply return FALSE if called from within check() or
- prepare().
- (g_main_iteration): issue a warning if called from within check() or
- prepare() and bail out with FALSE.
- (g_main_run): likewise.
- (g_source_remove_by_funcs_user_data): new function to remove sources by
- user data and function table.
- (g_idle_remove_by_data): new function to really remove idles only, since
- g_source_remove_by_user_data would remove timeouts or other sources as
- well.
-
-1999-01-16 Tor Lillqvist <tml@iki.fi>
-
- * Merge in current Win32 version:
-
- * README.win32: More text.
-
- * config.h.win32 glibconfig.h.win32: Update to match the
- corresponding generated files on Unix.
-
- * makefile.msc: Update with new source files, and gthread
- library. Use the compiler flag -MD instead of using -D_DLL and
- /nodefaultlib:libc msvcrt.lib in the link phase.
-
- * glib.def: Update to include new functions, drop removed ones.
-
- * glib.h: Add comments about main loop and polling on Win32. (In
- general, it's only for the GIMP's use.) Add Win32 IO Channel
- functions. Remove the obsoleted old IO Channel stuff (which was
- in #if 0 already).
-
- * giowin32.c: New file.
-
- * gmain.c: Include config.h, conditionalize <sys/time.h>
- inclusion. Add g_poll implementation for Win32 (only for the
- GIMP's needs for now, it's hard or even impossible to be as clean
- and generic as on Unix). Implement g_get_current_time on Win32. If
- threads aren't supported, don't try to wake up main thread's
- loop. On Win32, use a semaphore and not a pipe to wake up the main
- loop.
-
- * gmessages.c: On Win32, allocate a console window if the standard
- output handle is invalid before writing to stdout, and reopen stdout
- to that console window.
-
- * giochannel.c: Conditionalize unistd.h inclusion. Some indentation
- cleanup.
-
- * gstrfuncs.c: Include <signal.h>.
-
- * gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
- environment variables.
-
-Sun Jan 17 01:06:38 1999 Timur Bakeyev <mc@bat.ru>
-
- * configure.in: Add support for FreeBSD 2.2.x macro _THREAD_SAFE.
-
-Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
-
- * glib.h: don't use inline for !__GNUC__ case with g_warning,
- g_error, and g_message wrappers since some compilers throw
- away arguments in this case
-
-Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
-
- * acinclude.m4
- * ltconfig
- * ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)
-
- * testglib.c: removed unused cruft
-
-Tue Jan 12 09:57:06 PST 1999 Manish Singh <yosh@gimp.org>
-
- * gdate.c: #warning isn't portable, check for gcc
-
-1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gdate.c: Include config.h to get HAVE_LOCALTIME_R macro.
-
- * configure.in: Moved function check back to the place, they've
- been before.
-
-1999-01-11 Jeff Garzik <jgarzik@pobox.com>
-
- * gstrfuncs.c:
- Do not use vasprintf.
-
- * configure.in, glib.h, testglib.c, tests/.cvsignore,
- tests/Makefile.am, tests/alloca-test.c:
- Do not use alloca.
-
-1999-01-11 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Test for localtime_r only after including the
- right MT enabling CFLAGS (i.e. -D_REENTRANT on most systems).
-
- * configure.in: Find right thread system on DG/UX. Thanks to Marc
- J. Fraioli <fraioli@dg-rtp.dg.com> for hint. Finally removed the
- stuff for -fstack-check, that didnt work anyway.
-
- * gdate.c (g_date_set_time): Emit warning, if no localtime_r
- function is available on thread enabled systems. Define ptm only,
- if really needed, and assert on it.
-
-Sat Jan 9 15:08:44 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * testglib.c:
- Make all aux functions static.
-
- * tests/Makefile.am, tests/dirname-test.c, tests/type-test.c:
- New tests dirname-test and type-test, from testglib.
-
-Sat Jan 9 13:53:00 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * configure.in:
- Add checks for vasprintf, localtime_r.
-
- * gdate.c (g_date_set_time):
- Use localtime if localtime_r is not available.
-
- * gstrfuncs.c (g_strdup_vprintf):
- Use glibc vasprintf if possible; it's a bit faster than using
- GLib routines, and makes output code a bit smaller.
-
- * acconfig.h:
- Remove HAVE_VSNPRINTF and HAVE_VPRINTF. autoheader picks these
- up automatically and puts them in config.h.in.
-
-Thu Jan 7 15:14:08 1999 Owen Taylor <otaylor@redhat.com>
-
- * gmain.c (g_source_free_func): Call the source-specific
- free function when the hook is freed not when it
- is destroyed; this fixes a bug where a timeout destroyed
- from itself would access already freed data.
-
-1999-01-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gutils.c (g_get_any_init): Here we must replace getpwuid by
- getpwuid_r, but as I do not know how for now, I just made a FIXME
- note ;-)
-
- * gdate.c (g_date_set_time): localtime --> localtime_r to make it
- thread safe.
-
- * configure.in: We do not need to check for broken solaris mutex
- intitializer any longer. Provide a macro to show the used thread
- implementation. Not nice, but this is needed until thread support
- is completed here inside glib.
-
-Tue Jan 5 12:23:52 PST 1999 Manish Singh <yosh@gimp.org>
-
- * configure.in: ditch whitespace before GLIB_SYSDEFS #includes,
- the # needs to be in column 1
-
- * gthread/testgthread.c: cleanups
-
- * tests/node-test.c: #include unistd.h for exit()
-
-1999-01-04 Andrew T. Veliath <andrewtv@usa.net>
-
- * glib.h (g_array_insert_val): fix macro to be shorthand of
- g_array_insert_vals.
-
-Mon Jan 4 15:35:29 PST 1999 Manish Singh <yosh@gimp.org>
-
- * acglib.m4: some echos interpret \n's and some don't. Deal with
- accordingly.
-
-Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org>
-
- * gscanner.c: eliminated extraneous "register" qualifiers in variable
- declarations.
-
- * gmain.c: #undef events and revents which may have been defined in
- sys/poll.h for SVR3,4 compatibility on some AIX systems. fix been
- provided by Philippe Defert <Philippe.Defert@cern.ch>.
-
-Mon Jan 4 14:38:11 1999 Tim Janik <timj@gtk.org>
-
- * glib.h: adjusted the g_strdup_a, g_strndup_a and g_strconcat3_a macros
- so their arguments get only evaluated once. changed g_strconcat3_a to
- have the same semantics as g_strconcat, i.e. if a certain argument is
- NULL, the rest of the parameter list is skipped.
-
- * tests/alloca-test.c: removed #if/#endif G_HAVE_ALLOCA, we need to be
- able to compile on all systems. added test for g_strconcat() semantics.
-
- * we need a alloca() replacement for !G_HAVE_ALLOCA rsn!
-
-Mon Jan 4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GLib 1.1.12
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- glib.spec:
- docs/glib-config.1: version=1.1.12
-
- * tests/Makefile.am: fixed so it works properly with
- builddir and srcdir.
-
-Sun Jan 3 01:38:14 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * tests/Makefile.am:
- add array-test.c, tree-test.c
-
- * tests/array-test.c, tests/tree-test.c:
- New module, tests array family
-
- * tests/hash-test.c, tests/list-test.c, tests/slist-test.c,
- tests/string-test.c, tests/node-test.c:
- Clean out cruft left over from testglib.
-
-Sat Jan 2 22:42:25 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * Makefile.am, configure.in, tests/*:
- Added 'make check' tests, based on testglib code.
-
-Sat Jan 2 19:52:45 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * glib.h, testglib.c:
- Added g_alloca, g_new_a, g_new0_a macros.
-
-Sat Jan 2 16:45:44 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * testglib.c: Added g_strdup_printf check.
-
-Fri Jan 1 21:58:40 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * glib.h:
- (g_strdup_a, g_strndup_a): Handle NULL strings like g_strdup.
- s/g_strconcat_a/g_strconcat3_a/ to reflect fixed number of args
-
- * testglib.c:
- Added g_strdup, g_strconcat checks.
- Added str==NULL checks for alloca string macros.
- s/g_strconcat_a/g_strconcat3_a/
-
-Fri Jan 1 18:30:41 PST 1999 Manish Singh <yosh@gimp.org>
-
- * testglib.c: made the alloca tests follow the testglib style
-
- * Makefile.am: minor cleanups, mostly cosmetic
-
-Fri Jan 1 20:43:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * glib.h: added g_strndup_a macro
-
- * testglib.c:
- Added tests for new alloca-based string routines.
- Reformatted a couple strings.
-
-Sat Jan 2 02:20:59 1999 Tim Janik <timj@gtk.org>
-
- * ghook.c:
- (g_hook_list_invoke):
- (g_hook_list_invoke_check):
- (g_hook_list_marshal_check):
- (g_hook_list_marshal): avoid unneccessary extra hook referencing (the
- explicit hook referencing became unneccessarry with my changes from
- Mon Dec 21 21:48:29 1998).
-
- * gmain.c (g_main_iterate): fixed reference counting leaks with
- premature loop aborts.
-
-Fri Jan 1 22:47:44 1999 Tim Janik <timj@gtk.org>
-
- * gscanner.c (g_scanner_unexp_token): handle G_TOKEN_IDENTIFIER_NULL
- as G_TOKEN_IDENTIFIER.
-
-Fri Jan 1 17:09:19 EST 1999 Jeff Garzik <jgarzik@pobox.com>
-
- * configure.in, glib.h:
- Added two new alloca-based function macros, g_strdup_a and
- g_strconcat_a. These are stack-based and much faster than
- their g_malloc-based counterparts. Kudos to Ulrich Drepper
- for help on this one.
-
-Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GLib 1.1.11
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- docs/glib-config.1: version=1.1.11
-
-1998-12-30 Raja R Harinath <harinath@cs.umn.edu>
-
- * glib.h (G[U]INT64_FROM_{LE,BE}):
- Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
-
-Fri Dec 25 19:56:33 PST 1998 Manish Singh <yosh@gimp.org>
-
- * acglib.m4
- * configure.in: provide defaults for POLL sysdefs, simple enums
- don't work with bitwise logic. Reported by Daniel Skarda
- <0rfelyus@atrey.karlin.mff.cuni.cz>
-
-Wed Dec 23 00:43:25 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- docs/glib-config.1: version=1.1.10
-
-Wed Dec 23 04:18:11 1998 George Lebl <jirka@5z.com>
-
- * gmain.c: (g_get_current_time) don't cast to timeval since
- timeval is for some reason not always a struct of longs, weird
-
-Tue Dec 22 10:32:11 1998 Tim Janik <timj@gtk.org>
-
- * ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
- warnings.
-
-Mon Dec 21 21:48:29 1998 Tim Janik <timj@gtk.org>
-
- * glib.h:
- * gmain.c: there was a reference count race for hooks during invocation
- loops. since all (known) hook loop implementations, do currently start
- out with g_hook_first_valid() and iterate with g_hook_next_valid(),
- g_hook_first_valid() will now return a referenced hook, and
- g_hook_next_valid() will "eat" that, and eventually transfer it to
- the next hook. <sigh> unfortunately this requires g_hook_next_valid()
- to take the hook_list as additional argument.
-
- * gmain.c (g_main_iterate): adjusted callers of g_hook_next_valid().
-
-Mon Dec 21 03:48:04 1998 Tim Janik <timj@gtk.org>
-
- * gmain.c (g_main_iterate): default initialize source_timeout with -1
- so we have a sane timeout value if (*prpare) doesn't set it.
-
-Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
-
- * glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
- scale of priorities.
-
-Sat Dec 19 16:56:02 1998 Owen Taylor <otaylor@redhat.com>
-
- * gmain.c (g_main_poll): Allocate space for pollfd's
- _after_ adding poll wake-up-pipe record.
-
- * gmain.c (g_main_add_poll): Changed name
- of internal function g_main_add_poll_unlocked()
- back from the non-sensical g_main_add_unlocking_poll().
-
-Sat Dec 19 06:25:55 1998 Tim Janik <timj@gtk.org>
-
- * glib.m4: fixed a minor bug that would let configures bail out
- if the MODULES argument contained newlines.
-
- * acglib.m4: new file to be included by configure.in. it holds
- special GLIB_ autoconfiguration macros, eventually some of the
- easier ones should be moved into glib.m4, e.g. GLIB_IF_VAR_EQ,
- GLIB_STR_CONTAINS or GLIB_ADD_TO_VAR.
-
-Sat Dec 19 04:27:17 1998 Tim Janik <timj@gtk.org>
-
- * fixed up sys/poll.h and sys/types.h inclusions.
-
-Sat Dec 19 03:10:50 1998 Tim Janik <timj@gtk.org>
-
- * fixed up gthread includes, cleaned up glibconfig.h a little bit.
-
-Fri Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>
-
- * gmain.c: Fix errors in computation of timeout
- expiration times > 1sec.
-
-1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in (have_threads): Changed the last pthread_cond_init
- to pthread_attr_init.
-
-Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
-
- * glib.h:
- * gmain.c:
- (g_main_is_running): new function to check whether a main loop has been
- quitted.
- (g_main_new): added a gboolean argument to determine whether the loop
- should be considered initially running or not. however, g_main_run ()
- will still reset the main loops running state to TRUE upon initial
- entrance.
-
- * gmain.c:
- (g_main_iterate): documented this function's purpose in 5 steps.
- for step 2), flag sources as G_SOURCE_READY even if !dispatch and
- check G_SOURCE_READY prior to (*prepare), so we don't call (*prepare)
- on them multiple times.
-
-Thu Dec 17 23:43:47 1998 Tim Janik <timj@gtk.org>
-
- * gmain.c (g_main_add_poll): reordered arguments, so GPollFD* comes
- first, <sigh> (sorry Snorfle, i should have let you know in the first
- place).
- (g_main_dispatch): stack G_HOOK_FLAG_IN_CALL flags. call source's
- destructor when destroying a source.
-
-1998-12-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
- reported by Alexander Larsson <alla@lysator.liu.se>.
-
- * gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
-
-Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GLib 1.1.9
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- glib.spec:
- docs/glib-config.1: version=1.1.9
-
-Wed Dec 16 22:32:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * glib.h:
- giounix.c: s/g_main_poll_add/g_main_remove_add/g
- s/g_main_poll_remove/g_main_remove_poll/g
- s/g_main_poll_add_unlocking/g_main_add_unlocking_poll/g
- (from Tim Janik)
-
-Wed Dec 16 20:04:10 PST 1998 Manish Singh <yosh@gimp.org>
-
- * configure.in: check for pthread_attr_init in all cases, du4
- needs this since most of the other functions are just #defines
-
-Thu Dec 17 04:10:49 1998 Tim Janik <timj@gtk.org>
-
- * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
- trailing semicolon with a bogus function declaration, instead
- of with a bogus variable declarations, so we avoid unused
- variable warnings.
-
-Wed Dec 16 07:49:16 PST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GLib 1.1.8 (CVS tag is GLIB_1_1_8a)
-
-1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
-
-1998-12-16 Joel Becker <jlbec@ocala.cs.miami.edu>
-
- * glib.h, gscanner.c: changed func_data to user_data in
- g_scanner_scope_symbol_foreach and associated friends, because
- AIX headers #define func_data.
-
-1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Fixed stupid bug, that made
- g_static_mutex_lock(*mutex) not work as expected.
-
- * docs/glib-config.1: Updated to reflect the existence of gthread.
-
- * gmain.c (g_main_poll_add_unlocking): Changed
- g_main_poll_add_unlocked to g_main_poll_add_unlocking to match
- semantic, (indeed, main_loop must be locked, when calling this
- function). Removed the unlocking from the end of that function, as
- that is not right. Made a 'HOLDS' comment above the function.
-
-Wed Dec 16 03:16:58 1998 Tim Janik <timj@gtk.org>
-
- * configure.in: version bump to 1.1.8, binary age 0, interface age 0.
-
- * glib.h: changed g_lock() to G_LOCK(), g_unlock() to G_UNLOCK() and
- g_trylock() to G_TRYLOCK(), since these are macros that expand to
- nothing with --disable-threads.
- changed G_LOCK_DEFINE() to G_LOCK_DECLARE() and introduced
- G_LOCK_DECLARE_STATIC() to achive the results of static G_LOCK_DECLARE().
- changed semantics of g_thread_supported to g_thread_supported() so it
- can be used as a function like g_module_supported(). the actuall
- definition is still a macro that expands into a variable for
- performance reasons though.
- various indentation and coding style cleanups.
-
- * configure.in: added --enable-threads that defaults to yes.
-
- * gmutex.c: changed tests g_thread_supported to g_thread_supported (),
- changed variable settings of g_thread_supported
- to g_threads_got_initialized.
-
- garray.c:
- gcache.c:
- gdataset.c:
- gdate.c:
- ghash.c:
- glist.c:
- gmain.c:
- gnode.c:
- gslist.c:
- gstring.c:
- gtree.c:
- gutils.c:
- changed s/g_lock/G_LOCK/, s/g_unlock/G_UNLOCK/,
- s/static G_LOCK_DEFINE/G_LOCK_DECLARE_STATIC/.
-
-Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * INSTALL:
- NEWS:
- README
- configure.in:
- glib.spec:
- docs/glib-config.1: Incremented version
-
-Wed Dec 16 22:29:48 1998 Joel Becker <jlbec@ocala.cs.miami.edu>
-
- * configure.in: fixed the AIX thread checking.
- Just an error on the wildcard. BTW, -D_THREAD_SAFE
- is correct for AIX.
-
-Wed Dec 16 02:02:48 1998 Tim Janik <timj@gtk.org>
-
- * glib-config.in (lib_glib): fixed library and flag ordering for
- --libs
-
-Tue Dec 15 17:17:46 1998 Owen Taylor <otaylor@redhat.com>
-
- * glib.h giounix.c giochannel.c: Use an "inheritance"
- scheme for IO channel memory allocation.h
-
-1998-12-15 Havoc Pennington <hp@pobox.com>
-
- * gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
- that produced garbage output for the test date I was using to
- set up the parser. So use a different date that Solaris seems
- to like.
-
-1998-12-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: Dont complain, if --without-threads or
- --with-threads=none is supplied; Test for pthread_attr_init
- instead of pthread_cond_init, if threads seems to be supported by
- standard glib. (CFLAGS): Use G_THREAD_CFLAGS for compiling of glib
- as well.
-
- * glib.h, gmutex.c: Changed private to private_key to avoid
- problems when compiling with under C++.
-
-1998-12-15 Jeff Garzik <jgarzik@Pobox.com>
-
- * configure.in:
- bugfixes, correctly support --without-threads and friends
-
- * gthread/testgthread.c: corrected 64-bitness problem
-
-Tue Dec 15 10:40:09 1998 Owen Taylor <otaylor@redhat.com>
-
- * gnode.c glist.c gslist.c: Make sure all
- calls to g_node_validate_allocator are within
- current_allocator lock, so we have consistency
- on that point. (Should not really matter,
- but this way we match the comments)
-
- * glist.c (g_list_free_1): Removed some lines
- that should never have been committed. (For
- debugging)
-
-1998-12-11 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gthread/gthread-nspr.c, configure.in: Added new default thread
- implementation on top of the mozilla nspr library.
-
- * gmem.c, gmessaged.c, gthread/gthread.c, gthread/gthread-*.c:
- Changed GStaticMutex and GStaticPrivate in gmem.c and gmessages.c
- into GMutex and GPrivate resp. to make error reporting and use of
- gmem possible in most (not all, though) gthread functions. Also
- initialized the modules via new init functions.
-
- * configure.in: Fixed syntax bug in definition of type
- GStaticMutex.
-
- * gthread/testgthread.c: Updated to work with nspr, but see note
- there for remaining problems.
-
-1998-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gmutex.c, glib.h: Now abort, if a mutex/cond/private is
- allocated before the thread system is set up.
-
- * gthread/gthread.c (g_thread_init): Removed g_thread_try_init(),
- as it is not necessary. Changed the error message. Corrected logic
- for g_thread_use_default_impl.
-
- * gmutex.c (g_mutex_init): Keep the thread private data array
- after calling g_thread_init().
-
-1998-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gthread/testgthread.c (new_thread): Now also working for posix
- threads; (wait_thread): Now a better implementation, that does not
- use 100% CPU.
-
- * Made the thread related code follow GNU coding standard.
-
- * Made a comment (HOLDS:) above each function, that expects the
- given locks to be held.
-
- * Changed try_lock to trylock throughout.
-
- * glib.c: Eventually removed the #if 0'ed code for old GStaticMutex.
-
- * glib.c: Corrected g_trylock macro for G_DEBUG_LOCKS.
-
- * gmain.c (g_main_poll_add_unlocked): first take a new poll record
- form the poll_free_list.
-
- * gmem.c, gstrfuncs.c, gutils.c: Made it MT safe.
-
- * gthraed/*.c: Added copyright headers.
-
- * gthread/gthread-solaris.c: do not use g_log for errors, as g_log
- uses these module and endless recursions might happen, just use a
- plain fprintf(stderr,...).
-
- * gthread/gthread.c (g_thread_try_init): Call g_mutex_init().
-
- * gthread/testgthread.c: updated test program.
-
-Tue Dec 8 18:49:56 1998 Owen Taylor <otaylor@redhat.com>
-
- * Start at adding thread-safety. (mostly work
- of Sebastian Wilhelmi <wilhelmi@ira.uka.de>)
-
- - configure.in now looks for a system thread implementation.
- Currently support is included for POSIX threads
- and Solaris threads. The default support is built
- into a separate library -lgthread.
-
- - The thread implementation can be modified by passing
- a vector of functions g_thread_init().
-
- - The default or supplied functions are used to
- implement a small set of thread functions for
- mutexes, condition variables, and thread-private
- data.
-
- - GLib now uses these functions to provide thread
- safety. (In the sense that all global static
- data is locked... individual structures must still
- be locked by the caller.)
-
-Sat Dec 12 19:08:59 1998 Tim Janik <timj@gtk.org>
-
- * configure.in: always define G_HAVE_INLINE if __cplusplus is
- defined, reported by Wan-Teh Chang <wtc@netscape.com>.
-
-Thu Dec 10 21:49:39 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GLib 1.1.7
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- glib.spec:
- docs/glib-config.1: Increased version to 1.1.7
-
-Wed Dec 9 22:44:44 EST 1998 Joel Becker <jlbec@ocala.cs.miami.edu>
-
- * Removed #define of G_COMPILED_WITH_DEBUGGING from glibconfig.h
- It shouldn't be there, and it was causing a double #define.
- (config.h defines it also)
-
-Tue Dec 8 12:18:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GLib 1.1.6
-
- * NEWS: updated
-
-Mon Dec 7 23:10:41 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gmain.c: fixes to #undef HAVE_POLL case
-
-1998-12-02 Havoc Pennington <hp@pobox.com>
-
- * gdate.c (g_date_set_month): If Julian is valid, we have to
- update the dmy representation before setting the components
- of it.
- (g_date_set_day): Same.
- (g_date_set_year): Same.
-
-1998-12-02 Havoc Pennington <hp@pobox.com>
-
- * testgdate.c, testgdateparser.c: Two new files. This is kind of
- ugly code, but I want to go ahead and make the tests available.
- It isn't contaminating any other code. :-) Since one of these
- is interactive and the other takes a while to run, I've kept
- them separate from testglib for now.
- * Makefile.am: Build gdate test programs.
-
-1998-12-02 Havoc Pennington <hp@pobox.com>
-
- * gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
- flags, rather than re-checking the validity of the actual
- values. This should be the correct behavior, the old way was
- leftover cruft.
-
- * glib.h, gdate.c: Changed MDY to DMY throughout.
-
-Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>