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.
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.
Wed Feb 10 07:56:33 1999 Tim Janik <timj@gtk.org>
* gmodule.c (g_module_error): fixed errernerous code wrt to thread
specific error string allocation handling.
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.
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.
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.
* 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 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>.
* 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
-Yosh
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.