summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-02-18revertElliot Lee
1999-02-18glib.spec: Do --enable-debug=no for the .rpm's.Elliot Lee
glib.spec: Do --enable-debug=no for the .rpm's.
1999-02-17Must define HAVE_PTHREAD_GETSPECIFIC_POSIX. Pity I didn't notice thisTor Lillqvist
until just after 1.1.16... sigh.
1999-02-16version=1.1.16upstream/GLIB_1_1_16CST 1999 Shawn T. Amundson
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-15Changed signature of all g_static_mutex_* functions to take a pointerSebastian Wilhelmi
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.
1999-02-15default to yes for development trees.Tim Janik
Mon Feb 15 07:45:54 1999 Tim Janik <timj@gtk.org> * configure.in (--enable-debug): default to yes for development trees.
1999-02-15return guints instead of gints for g_hash_table_size andTim Janik
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.
1999-02-10be more descriptive on unsupported systems.Tim Janik
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-10forgot the ChangeLog. Here we goSebastian Wilhelmi
forgot the ChangeLog. Here we go
1999-02-10s/G_LOCK_DECLARE/G_LOCK_DEFINE/ throuhout glib. Added G_LOCK_EXTERN macroSebastian Wilhelmi
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.
1999-02-10fixed errernerous code wrt to thread specific error string allocationTim Janik
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-09pools of 128 items instead of 1024 items.Elliot Lee
pools of 128 items instead of 1024 items.
1999-02-08Changed the test for getpwuid_r to exclude those systems (i.e. IRIX), thatSebastian Wilhelmi
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-08Copy all elements of the allocations[] array, including the last. (PointedOwen Taylor
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-05Make the error message in case of a broken thread system a bit moreSebastian Wilhelmi
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-02-04Update GLIB_MICRO_VERSION. (Pity it has to be done manually. Hmm.)Tor Lillqvist
1999-02-04change my email addressChristopher Blizzard
1999-02-04version=1.1.15upstream/GLIB_1_1_15PST 1999 Shawn T. Amundson
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
1999-02-02Don't call ensure_stdout_valid (which would open an unneeded consoleTor Lillqvist
* 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.
1999-02-02Release the main_loop lock around calls to prepare() and check() so thatOwen Taylor
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-02-01Moved the check for MT save function variants after the determination ofSebastian Wilhelmi
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-31Removed autogened files, add -a to automakeManish Singh
-Yosh
1999-01-29Fixed typo. Now HPUX 11 thread system detection should work.Sebastian Wilhelmi
1999-01-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Fixed typo. Now HPUX 11 thread system detection should work.
1999-01-29Changed initial bufsize to 64. Should solve some problems out there.Sebastian Wilhelmi
1999-01-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gutils.c (g_get_any_init): Changed initial bufsize to 64. Should solve some problems out there.
1999-01-28version=1.1.14upstream/GLIB_1_1_14CST 1999 Shawn T. Amundson
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-28Simplified configure.in test for posix threads, systems, that provideSebastian Wilhelmi
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>.
1999-01-28Xsed isn't valid here, don't use itManish Singh
* 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
1999-01-27applied patch from Andrej Borsenkow <borsenkow.msk@sni.de> to also checkTim Janik
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-26don't use backquotes in warning textManish Singh
-Yosh
1999-01-26Removed the #warning about MT unsafety without localtime_r.Sebastian Wilhelmi
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-25Fixed a broken #define for G_THREADS_IMPL_$g_threads_impl_defRaph Levien
that was causing NONE to get defined in the no-threads case.
1999-01-25NO_SYS_SIGLIST_DECL change.Timur Bakeyev
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-25Do not use the thread libs, when searching for some functions, as thisSebastian Wilhelmi
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.
1999-01-24reverted raja's changes, since they leaked a struct passwd contents bufferTim Janik
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-24Hopefully got the error handling for `getpwuid_r' right. (g_get_any_init)Raja R Harinath
* 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'). Please let this be right :-/.
1999-01-24- Revert previous "fix" (which really just did things a different way). -EST 1999 Jeff Garzik
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.
1999-01-24Moved the warning about MT and no getpwuid_r from gutils.c to configureManish Singh
-Yosh
1999-01-24- Fixed bug that overwrote nodes in hash buckets instead of adding them toJeff Garzik
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-24(g_get_any_init) [HAVE_GETPWUID_R && HAVE_GETPWUID_R_POSIX]:Raja R Harinath
Aargh. `getpwuid_r' error return: GNU libc.info says to look at `errno'. Solaris 2.5 man page says error code (eg ERANGE) is returned.
1999-01-24Rewrite not to look at `errno' if library call succeeds, since `errno' isRaja R Harinath
* 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.
1999-01-23Update pthread_mutex_t size and initializer contents to match latest ↵Tor Lillqvist
pthreads-Win32.
1999-01-23cleaned up the errno mess for GETPWUID. we especially don't want toTim Janik
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).
1999-01-22file galloca.c was initially added on branch GLIB_1_3_HACKS.Jeff Garzik
1999-01-22file TODO was initially added on branch GLIB_1_3_HACKS.Jeff Garzik
1999-01-22move gmodule changelog entry to gmodule changelogJeff Garzik
1999-01-21Add braces to eliminate an ambiguous else warning.EST 1999 Jeff Garzik
Thu Jan 21 12:40:11 EST 1999 Jeff Garzik <jgarzik@pobox.com> * gmodule/gmodule-dl.c (_g_module_build_path): Add braces to eliminate an ambiguous else warning. * 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.
1999-01-21Use AC_PREREQ not AC_REQUIRE for autoconf version test.EST 1999 Jeff Garzik
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-21Changed error handling again, as the error is not always set in errno, itSebastian Wilhelmi
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.
1999-01-21Include signal.h only when the signal names will be needed.Tor Lillqvist
1999-01-21made some adjustments for automake 1.4 and autoconf 2.13 (per suggestionsEST 1999 Mandrake
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>)