Wed Feb 28 16:59:05 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (mem_warn): Add discouraging message if
--enable-mem-profile or --enable-mem-check is given.
Sat Feb 17 07:33:44 2001 Tim Janik <timj@gtk.org>
* configure.in (G_MODULE_BROKEN_RTLD_GLOBAL): check for systems
with broken RTLD_GLOBAL.
Sat Feb 17 07:33:21 2001 Tim Janik <timj@gtk.org>
* gmodule-dl.c: fix systems with broken RTLD_GLOBAL.
Mon Oct 16 11:11:06 2000 Tim Janik <timj@gtk.org>
* configure.in: up version number to 1.2.9, interface 9, binary 9.
* gstrfuncs.c (g_printf_string_upper_bound): added patchy hack to
pad us around segfaults for usages of '\'' in decimal conversions.
applied patch from jody:
2000-10-15 Jody Goldberg <jgoldberg@home.com>
* gstrfuncs.c (g_printf_string_upper_bound) : Add 'G' as a valid
character.
Sun Aug 6 20:06:02 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_domain_check_free): keep *last updated while
running through the domain list, so we don't screw up the removal,
patch provided by Gady Kozma <gadykozma@hotmail.com>.
Sun Aug 6 20:03:41 2000 Tim Janik <timj@gtk.org>
* gmessages.c (g_log_remove_handler): keep *last updated while running
through the handler list, so we don't screw up the removal.
2000-09-30 Martin Baulig <baulig@suse.de>
* glib.pc.in, gmodule.pc.in, gthread.pc.in: Provide
pkg-config scripts.
* configure.in: Create *.pc scripts from the *.pc.in
templates.
* Makefile.am (pkgconfig_DATA): Install the *.pc
scripts in `$(libexecdir)/pkgconfig'.
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>.
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-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.
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>.
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).
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.
* 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().
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>.
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>
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).
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-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.
Wed Feb 10 12:06:30 1999 Tim Janik <timj@gtk.org>
* gmodule.c (CHECK_ERROR): be more descriptive on unsupported systems.
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-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.
* gthread/gthread-posix.c (g_private_get_posix_impl): Use the
HAVE_PTHREAD_GETSPECIFIC_POSIX macro to determine, which signature
to use for pthread_getspecific.
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.
1999-01-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Moved the check for MT save function variants
after the determination of the MT cflags and use them there.
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 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).
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.
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.
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>)
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.
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 I. Bakeyev <timur@comtat.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.