Mon Aug 23 18:29:45 1999 Tim Janik <timj@gtk.org>
* configure.in: update version to 1.2.4, interface age 4, binary age 4.
* NEWS: updates.
* Makefile.am: require automake 1.4, build README from README.in and
INSTALL from INSTALL.in in dist-hook.
* README.in:
* INSTALL.in: new files to autogenerate README and INSTALL from.
* COPYING: update to the GNU LESSER GENERAL PUBLIC LICENSE.
1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
is..... and to..... macros, which take unsigned chars, not chars!
Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll() prototype for SunOS, as it doesn't
provide one itself. Reported by Christian Parg
<cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
(Reported by Charles Levert <charles@comm.polymtl.ca>)
* Makefile.am tests/Makefile.am: Correct rules for making the
win32-related files that are made from corresponding .in files.
Is there a cleaner way than explicitly writing rules that invoke
config.status?
* Makefile.am: Don't distribute glibconfig.h.win32.in, but
glibconfig.h.win32. Generate it when making a dist. Also generate
makefile.msc and config.h.win32 from corresponding .in files when
making dist.
* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
@GLIB_BINARY_AGE@ (needed in config.h.win32).
* glibconfig.h.win32.in: Use static mutex structure and initial
value corresponding to the 1999-04-07 snapshot of pthreads-win32.
* tests/Makefile.am: Distribute makefile.msc. Generate it when
making dist.
* tests/makefile.msc.in: New file.
* tests/node-test.c: Include <stdlib.h> for exit().
Tue Apr 27 13:11:29 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_poll): Mask out ERR HUP and NVAL from
the events field so we don't give IRIX fits.
Tue Apr 20 08:42:22 1999 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_unexp_token): behave conservative with
G_TOKEN_IDENTIFIER_NULL and always assume scanner->value.v_string
to be "null" in that case.
1999-04-20 Havoc Pennington <hp@pobox.com>
* gutils.c (g_vsnprintf): When using the vsnprintf()
implementation, '\0'-terminate the resulting string
and return its length rather than -1.
Mon Apr 19 13:42:21 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Added missing
#ifdef G_THREADS_ENABLED. (I never liked G_THREADS_ENABLED in
the first place)
1999-04-18 Havoc Pennington <hp@pobox.com>
* gutils.c (g_snprintf): When using the vsnprintf()
implementation, '\0'-terminate the resulting string
and return its length rather than -1.
Fri Apr 16 06:52:07 1999 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_unexp_token): feature G_TOKEN_EOF as a valid
expected token as well, so we get "- expected end of file" instead of
"- expected (unknown) token <0>".
1999-04-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Adjusted the test for an unimplemented
getpwuid_r. Info from Michael Pruett <mikep@ugcs.caltech.edu>.
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads
calling g_main_iterate at once.
* gmain.c: If the set of poll file descriptors changes
during a call to poll(), abort that call, and start
a new poll. My test program still segfaults
obscurely on glibc 2.0 (in read()!!!), but now it works on
glibc 2.1, so I'll blame something else for the other segfault.
1999-03-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Fixed slight bug, that made configure hang on some
systems. Please do not merge this into 1.3 branch. It's taken care
of differently there. Info from J. Rhett Aultman
<cuplan@alley.gator.net>
Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
* glib.h:
* gmain.c: add user_data to the GSource ->check and ->prepare functions,
so it can be used to e.g. pass a GPollFd.
(g_main_poll): only add poll records with an events mask != 0 to the
fd_array. don't even bother calling poll_func() if fds=timeout=0.
added debugging printouts around poll_func() invokation that can be
enabled with #define G_MAIN_POLL_DEBUG.
Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
to g_return_if_fail().
(g_mem_profile):
(g_mem_chunk_print):
(g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
messages.
* gtimer.c (g_timer_*): changed a bunch of g_assert() statements
to g_return_if_fail().
* grel.c (g_*): changed a bunch of g_assert() statements to
g_return_if_fail() and added some extra ones to check relation != NULL.
1999-03-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Also accept _Pctime_r instead of ctime_r, while
seraching for the right `_REENTRANT' flag. This is for Digital
UNIX 4.0d. Thanks to Sascha Brawer <sb@adasys.ch>.
Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
* configure.in: check for working realloc (NULL,).
* gmem.c (g_realloc): use malloc() for initial allocation on systems
where realloc(NULL,) will not work (this is the case on SunOS, reported
by Tom Geiger).
Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
* ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
flag around the call to g_hook_free() to avoid spurious
warnings (happens during destruction phase).
1999-03-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
from config.h.win32 to glibconfig.h.win32
* acconfig.h, configure.in, config.h.win32: Added test for DCE
versions of mutex_trylock and cond_timedwait. The win32 versions
are posix, aren't they?
* gthread/gthread-posix.c: Fixed broken mutex_trylock and
slightly broken cond_timed_wait functions.
1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
Friedrich Dominicus <Friedrich.Dominicus@inka.de>
1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Fixed yet another bloody
implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
<olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
test better than that, but have no idea, how to do that easily.
Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* *.[ch]: inserted additional note to look for ChangeLog and
AUTHORS file for a log of modifications.
Thu Feb 18 08:24:12 1999 Tim Janik <timj@gtk.org>
* 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-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.
* gthread/testgthread.c (test_mutexes): Use new signature of
g_static_mutex* functions.