Mon Aug 21 14:39:36 2000 Owen Taylor <otaylor@redhat.com>
* glib.h: Use C99 varargs macros where possible
(check __STDC_VERSION__), otherwise, on gcc, use an alternate
form of gcc varargs which is more likely
to be supported going forward. (Based on some code
from Raja Harinath)
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: glibconfig.h now includes files outside of the
extern "C" block. Makes some C++ compiler happy. Reported by Denis
Vakatov <vakatov@peony.nlm.nih.gov>.
* gmodule/gmodule.h: include glib.h before doing extern "C".
Makes some C++ compiler happy. Reported by Denis Vakatov
<vakatov@peony.nlm.nih.gov>.
Sat Jul 15 09:14:35 2000 Tim Janik <timj@gtk.org>
* gstrfuncs.c (g_strncasecmp): fixed an off by 0 error (yeah,
the function went off when the while (n--) loop failed due to
n==0 ;), reported by Jean-Louis HAMEL <jlhamel@club-internet.fr>.
2000-05-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gutils.c (g_get_any_init): Use sysconf (_SC_GETPW_R_SIZE_MAX)
for initial bufsize, where available. This is already in GLib 1.3.
2000-05-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Use strlen instead of exit in the test for
sys_siglist, as using strlen (function without side effects) makes
the compiler remove that for optimized compilation and the linker
wont see the symbol, thus a successfull link doesn't mean, that
the symbol exists. Hint from Robert Pouliot
<robert.pouliot@bell.ca>.
* configure.in: Also look for thread functions in libthreads. Hint
also from Robert Pouliot <robert.pouliot@bell.ca>.
2000-04-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* garray.c (g_ptr_array_maybe_expand): Really initialize the whole
GPtrArray to 0 after resizing. Pionted out by David Menestrina
<dmenest@Princeton.EDU>. Fixes Bug #9270. This needn't be applied
to glib-1.3.
Wed Apr 19 08:32:32 2000 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_new): make sure that
scanner->config->cset_skip_characters is "" instead of NULL, so we
don't segfault further on.
* gstrfuncs.c: A stringified double can be longer than 32 chars -
fix space calculation routine to 'double' the max amount of space
a double & long double can take.
Fri Mar 24 03:34:02 2000 Tim Janik <timj@gtk.org>
* glib.h: put a comment for the g_datalist_ and g_dataset_ API, that
these fucntions are scheduled for a rename in GLib 1.3.
2000-03-21 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: The mutex in the check for pthread_mutex_trylock
should be a static var. Thanks to Wan-Teh Chang <wtc@netscape.com>
for pointing this out.
2000-02-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Changed GCC version test to also accept major
versions > 2. Thanks to Ben Gertzfield <che@debian.org> for
pointing this out.
Mon Feb 14 22:32:49 2000 Tim Janik <timj@gtk.org>
* gstring.c: changed g_str_hash() to a 31 bit version based on
a submission by Karl Nelson and hand optimized ad absurdum by
various people ;)
Fri Jan 28 11:37:41 2000 Owen Taylor <otaylor@redhat.com>
Bug #4156 - Changes vaguely modelled after Scott Gifford's patch
* gtimer.c (g_timer_elapsed): Never report negative times -
clip times to 0.
* gmain.c (g_timeout_prepare): Guard against unexpected
clock shifts by never setting a timeout of more than
data->interval msecs.
Wed Jan 26 05:29:11 2000 Tim Janik <timj@gtk.org>
* glib.h:
* gmain.c: s/current_time/dispatch_time/ for the dispatch() handlers.
refetch the current time after invocation of poll() to cover up for
the time spent in that function call.
1999-11-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* Make the test for getpwuid_r work on newer AIX versions,
too. Still works on Solaris and Linux. Patch from Craig Rodrigues
<rodrigc@mediaone.net>.
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
destroy() notification here as well.
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem chunk's area
sizes to be a multitiple of atom_size, and to eliminate the MAX_MEM_AREA
restriction of 65536 bytes. we also catch cases where users pass an area
size < atom size with a return_if_fail statement now (which is ok,
because previously this lead to memory corruption anyways).
Thu Aug 26 15:09:36 1999 Tim Janik <timj@gtk.org>
* Makefile.am:
* gmodule/Makefile.am:
* gthread/Makefile.am: added --export-dynamic so we can load dynmic
modules, (required, according to the libtool 1.3.3 docu).
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>)