Permalink
Commits on Jan 28, 1999
  1. version=1.1.14

    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
    vaporos committed with Shawn Amundson Jan 28, 1999
  2. Simplified configure.in test for posix threads, systems, that provide

    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>.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 28, 1999
  3. Xsed isn't valid here, don't use it

    * 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
    Manish Singh committed Jan 28, 1999
Commits on Jan 27, 1999
  1. applied patch from Andrej Borsenkow <borsenkow.msk@sni.de> to also check

    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).
    tim-janik committed with Tim Janik Jan 27, 1999
Commits on Jan 26, 1999
  1. don't use backquotes in warning text

    -Yosh
    Manish Singh committed Jan 26, 1999
  2. Removed the #warning about MT unsafety without localtime_r.

    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.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 26, 1999
Commits on Jan 25, 1999
  1. Fixed a broken #define for G_THREADS_IMPL_$g_threads_impl_def

    that was causing NONE to get defined in the no-threads case.
    Raph Levien committed Jan 25, 1999
  2. NO_SYS_SIGLIST_DECL change.

    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.
    Timur Bakeyev committed with Timur I. Bakeyev Jan 25, 1999
  3. Do not use the thread libs, when searching for some functions, as this

    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.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 25, 1999
Commits on Jan 24, 1999
  1. reverted raja's changes, since they leaked a struct passwd contents b…

    …uffer
    
    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.
    tim-janik committed with Tim Janik Jan 24, 1999
  2. Hopefully got the error handling for `getpwuid_r' right. (g_get_any_i…

    …nit)
    
            * 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 :-/.
    Raja R Harinath committed Jan 24, 1999
  3. - Revert previous "fix" (which really just did things a different way…

    …). -
    
    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.
    jgarzik committed with Jeff Garzik Jan 24, 1999
  4. Moved the warning about MT and no getpwuid_r from gutils.c to configure

    -Yosh
    Manish Singh committed Jan 24, 1999
  5. - Fixed bug that overwrote nodes in hash buckets instead of adding th…

    …em to
    
    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.
    jgarzik committed with Jeff Garzik Jan 24, 1999
  6. (g_get_any_init) [HAVE_GETPWUID_R && HAVE_GETPWUID_R_POSIX]:

    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.
    Raja R Harinath committed Jan 24, 1999
  7. Rewrite not to look at `errno' if library call succeeds, since `errno…

    …' is
    
    * 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.
    Raja R Harinath committed Jan 24, 1999
Commits on Jan 23, 1999
  1. Update pthread_mutex_t size and initializer contents to match latest …

    …pthreads-Win32.
    Tor Lillqvist committed Jan 23, 1999
  2. cleaned up the errno mess for GETPWUID. we especially don't want to

    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).
    tim-janik committed with Tim Janik Jan 23, 1999
Commits on Jan 22, 1999
  1. file TODO was initially added on branch GLIB_1_3_HACKS.

    Jeff Garzik committed Jan 22, 1999
  2. move gmodule changelog entry to gmodule changelog

    Jeff Garzik committed Jan 22, 1999
Commits on Jan 21, 1999
  1. Add braces to eliminate an ambiguous else warning.

    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.
    jgarzik committed with Jeff Garzik Jan 21, 1999
  2. Use AC_PREREQ not AC_REQUIRE for autoconf version test.

    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.
    jgarzik committed with Jeff Garzik Jan 21, 1999
  3. Changed error handling again, as the error is not always set in errno…

    …, it
    
    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.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 21, 1999
  4. made some adjustments for automake 1.4 and autoconf 2.13 (per suggest…

    …ions
    
    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>)
    karizon committed with Geoff Harrison Jan 21, 1999
  5. automake 1.4 and libtool 1.2d notices. (maybe I'll write an actual test

    Wed Jan 20 20:33:14 EST 1999 Mandrake <mandrake@mandrake.net>
    
        * autogen.sh: automake 1.4 and libtool 1.2d notices.
        (maybe I'll write an actual test for automake 1.4 later)
    karizon committed with Geoff Harrison Jan 21, 1999
Commits on Jan 20, 1999
  1. new file

    * HACKING: new file
    
    * Makefile.am: since we require automake 1.4 now, ditch the build
    top-level first and just use SUBDIRS
    
    * gmodule/Makefile.am: use noinst_LTLIBRARIES instead of overriding
    the install rule
    
    -Yosh
    Manish Singh committed Jan 20, 1999
  2. jgarzik enthusiastically applies a patch

    Jeff Garzik committed Jan 20, 1999
  3. All gtk apps were broken here on my setup. I changed the error to a

    Wed Jan 20 20:48:58 GMT 1999  Adam D. Moss  <adam@gimp.org>
    
            * gutils.c (g_get_any_init): All gtk apps were broken
            here on my setup.  I changed the error to a warning to at
            least get things limping.
    GMT 1999 Adam D. Moss committed with Adam D. Moss Jan 20, 1999
  4. Use getpwuid_r with the right signature, if available.

    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.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 20, 1999
Commits on Jan 19, 1999
  1. More Win32 updates. Add missing Win32 files to distributed files.

    Remove the obsolete makefile.lcc.
    Tor Lillqvist committed Jan 19, 1999
  2. Moved test for localtime_r and rand_r to a place after the determination

    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>.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Jan 19, 1999
  3. The "extern char* sys_siglist" declaration breaks systems with different

    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.
    Josh MacDonald committed with Josh MacDonald Jan 19, 1999
Commits on Jan 17, 1999
  1. Released GLib 1.1.13

    Sun Jan 17 17:13:54 CST 1999 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.13
    
            * README:
              INSTALL:
              docs/glib-config: ver=1.1.13
    vaporos committed with Shawn Amundson Jan 17, 1999