Permalink
Commits on Jan 4, 1999
  1. Released GLib 1.1.12

    vaporos authored and Shawn Amundson committed Jan 4, 1999
    Mon Jan  4 02:58:13 CST 1999 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.12
    
            * INSTALL:
              NEWS:
              README:
              configure.in:
              glib.spec:
              docs/glib-config.1: version=1.1.12
    
            * tests/Makefile.am: fixed so it works properly with
              builddir and srcdir.
Commits on Jan 3, 1999
  1. Add tree test.

    Jeff Garzik
    Jeff Garzik committed Jan 3, 1999
  2. add array-test.c

    Jeff Garzik
    Jeff Garzik committed Jan 3, 1999
            * tests/Makefile.am:
            add array-test.c
    
            * tests/array-test.c:
            New module, tests array family
    
            * tests/hash-test.c, tests/list-test.c, tests/slist-test.c,
              tests/string-test.c, tests/node-test.c:
            Clean out cruft left over from testglib.
  3. Added 'make check' tests, based on testglib code.

    Jeff Garzik
    Jeff Garzik committed Jan 3, 1999
  4. Added g_alloca, g_new_a, g_new0_a macros.

    Jeff Garzik
    Jeff Garzik committed Jan 3, 1999
Commits on Jan 2, 1999
  1. Added g_strdup_printf check

    Jeff Garzik
    Jeff Garzik committed Jan 2, 1999
  2. Handle NULL strings like g_strdup. s/g_strconcat_a/g_strconcat3_a/ to

    Jeff Garzik
    Jeff Garzik committed Jan 2, 1999
            * glib.h:
            (g_strdup_a, g_strndup_a): Handle NULL strings like g_strdup.
            s/g_strconcat_a/g_strconcat3_a/ to reflect fixed number of args
    
            * testglib.c:
            Added g_strdup, g_strconcat checks.
            Added str==NULL checks for alloca string macros.
            s/g_strconcat_a/g_strconcat3_a/
  3. made the alloca tests follow the testglib style

    Manish Singh
    Manish Singh committed Jan 2, 1999
    * testglib.c: made the alloca tests follow the testglib style
    
    * Makefile.am: minor cleanups, mostly cosmetic
    
    -Yosh
  4. added g_strndup_a macro

    Jeff Garzik
    Jeff Garzik committed Jan 2, 1999
            * glib.h: added g_strndup_a macro
    
            * testglib.c:
            Added tests for new alloca-based string routines.
            Reformatted a couple strings.
  5. avoid unneccessary extra hook referencing (the explicit hook referencing

    tim-janik authored and Tim Janik committed Jan 2, 1999
    Sat Jan  2 02:20:59 1999  Tim Janik  <timj@gtk.org>
    
            * ghook.c:
            (g_hook_list_invoke):
            (g_hook_list_invoke_check):
            (g_hook_list_marshal_check):
            (g_hook_list_marshal): avoid unneccessary extra hook referencing (the
            explicit hook referencing became unneccessarry with my changes from
            Mon Dec 21 21:48:29 1998).
    
            * gmain.c (g_main_iterate): fixed reference counting leaks with
            premature loop aborts.
    
    Fri Jan  1 22:47:44 1999  Tim Janik  <timj@gtk.org>
    
            * gscanner.c (g_scanner_unexp_token): handle G_TOKEN_IDENTIFIER_NULL
            as G_TOKEN_IDENTIFIER.
Commits on Jan 1, 1999
  1. Added two new alloca-based function macros, g_strdup_a and g_strconca…

    Jeff Garzik
    Jeff Garzik committed Jan 1, 1999
    …t_a.
    
            * configure.in, glib.h:
            Added two new alloca-based function macros, g_strdup_a and
            g_strconcat_a.  These are stack-based and much faster than
            their g_malloc-based counterparts.  Kudos to Ulrich Drepper
            for help on this one.
Commits on Dec 31, 1998
  1. When testing to see if glib exists, set LIBS="$GLIB_LIBS $LIBS" NOT

    Elliot Lee
    Elliot Lee committed Dec 31, 1998
    When testing to see if glib exists, set
    	LIBS="$GLIB_LIBS $LIBS"
    NOT
    	LIBS="$LIBS $GLIB_LIBS"
    because order matters - if the user specifies their own $LIBS to
    ./configure, these need to be passed in last.
  2. Released GLib 1.1.11

    vaporos authored and Shawn Amundson committed Dec 31, 1998
    Wed Dec 30 18:24:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.11
    
            * INSTALL:
              NEWS:
              README:
              configure.in:
              docs/glib-config.1: version=1.1.11
Commits on Dec 30, 1998
  1. Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.

    Raja R Harinath
    Raja R Harinath committed Dec 30, 1998
    * glib.h (G[U]INT64_FROM_{LE,BE}):
    Define to G[U]INT64_TO_{LE,BE}, not G[U]INT32_TO_{LE,BE}.
    
    Wonder why it wasn't caught before.
Commits on Dec 26, 1998
  1. acglib.m4 provide defaults for POLL sysdefs, simple enums don't work …

    Manish Singh
    Manish Singh committed Dec 26, 1998
    …with
    
    * acglib.m4
    * configure.in: provide defaults for POLL sysdefs, simple enums
    don't work with bitwise logic. Reported by Daniel Skarda
    <0rfelyus@atrey.karlin.mff.cuni.cz>
    
    -Yosh
Commits on Dec 24, 1998
  1. Released GLib 1.1.10

    vaporos authored and Shawn Amundson committed Dec 24, 1998
    Wed Dec 23 00:43:25 CST 1998 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.10
    
            * INSTALL:
              NEWS:
              README:
              configure.in:
              docs/glib-config.1: version=1.1.10
Commits on Dec 23, 1998
  1. don't cast to timeval since timeval is for some reason not always a s…

    George Lebl George Lebl
    George Lebl authored and George Lebl committed Dec 23, 1998
    …truct
    
    Wed Dec 23 04:18:11 1998  George Lebl  <jirka@5z.com>
    
            * gmain.c: (g_get_current_time) don't cast to timeval since
              timeval is for some reason not always a struct of longs, weird
Commits on Dec 22, 1998
  1. Now passes 'make distcheck'.

    Elliot Lee
    Elliot Lee committed Dec 22, 1998
    Now passes 'make distcheck'.
  2. Work with builddir != srcdir

    Elliot Lee
    Elliot Lee committed Dec 22, 1998
    Work with builddir != srcdir
  3. fixed buglet that could cause bogus warnings.

    tim-janik authored and Tim Janik committed Dec 22, 1998
    Tue Dec 22 10:32:11 1998  Tim Janik  <timj@gtk.org>
    
            * ghook.c (g_hook_first_valid): fixed buglet that could cause bogus
            warnings.
Commits on Dec 21, 1998
  1. there was a reference count race for hooks during invocation loops. s…

    tim-janik authored and Tim Janik committed Dec 21, 1998
    …ince
    
    Mon Dec 21 21:48:29 1998  Tim Janik  <timj@gtk.org>
    
            * glib.h:
            * gmain.c: there was a reference count race for hooks during invocation
            loops. since all (known) hook loop implementations, do currently start
            out with g_hook_first_valid() and iterate with g_hook_next_valid(),
            g_hook_first_valid() will now return a referenced hook, and
            g_hook_next_valid() will "eat" that, and eventually transfer it to
            the next hook. <sigh> unfortunately this requires g_hook_next_valid()
            to take the hook_list as additional argument.
    
            * gmain.c (g_main_iterate): adjusted callers of g_hook_next_valid().
  2. default initialize source_timeout with -1 so we have a sane timeout v…

    tim-janik authored and Tim Janik committed Dec 21, 1998
    …alue
    
    Mon Dec 21 03:48:04 1998  Tim Janik  <timj@gtk.org>
    
            * gmain.c (g_main_iterate): default initialize source_timeout with -1
            so we have a sane timeout value if (*prpare) doesn't set it.
Commits on Dec 19, 1998
  1. Add #defines defining scale of priorities.

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Dec 19, 1998
    Sat Dec 19 16:56:02 1998  Owen Taylor  <otaylor@redhat.com>
    
    	* glib.h gmain.c (G_PRIORITY_LOW): Add #defines defining
    	scale of priorities.
  2. Allocate space for pollfd's _after_ adding poll wake-up-pipe record.

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Dec 19, 1998
    Sat Dec 19 16:56:02 1998  Owen Taylor  <otaylor@redhat.com>
    
    	* gmain.c (g_main_poll): Allocate space for pollfd's
    	_after_ adding poll wake-up-pipe record.
    
    	* gmain.c (g_main_add_poll): Changed name
    	of internal function g_main_add_poll_unlocked()
    	back from the non-sensical g_main_add_unlocking_poll().
  3. fixed a minor bug that would let configures bail out if the MODULES

    tim-janik authored and Tim Janik committed Dec 19, 1998
    Sat Dec 19 06:25:55 1998  Tim Janik  <timj@gtk.org>
    
            * glib.m4: fixed a minor bug that would let configures bail out
            if the MODULES argument contained newlines.
    
            * acglib.m4: new file to be included by configure.in. it holds
            special GLIB_ autoconfiguration macros, eventually some of the
            easier ones should be moved into glib.m4, e.g. GLIB_IF_VAR_EQ,
            GLIB_STR_CONTAINS or GLIB_ADD_TO_VAR.
  4. add glibconfig-sysdefs.h to .cvsignore

    Tim Janik
    Tim Janik committed Dec 19, 1998
  5. fixed up sys/poll.h and sys/types.h inclusions.

    tim-janik authored and Tim Janik committed Dec 19, 1998
    Sat Dec 19 04:27:17 1998  Tim Janik  <timj@gtk.org>
    
            * fixed up sys/poll.h and sys/types.h inclusions.
  6. fixed up gthread includes, cleaned up glibconfig.h a little bit.

    tim-janik authored and Tim Janik committed Dec 19, 1998
    Sat Dec 19 03:10:50 1998  Tim Janik  <timj@gtk.org>
    
            * fixed up gthread includes, cleaned up glibconfig.h a little bit.
Commits on Dec 18, 1998
  1. Dec 18 12:51:39 1998 Owen Taylor <otaylor@redhat.com>

    Owen Taylor
    Owen Taylor committed Dec 18, 1998
    	* gmain.c: Fix errors in computation of timeout
    	expiration times > 1sec.
  2. Changed the last pthread_cond_init to pthread_attr_init.

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Dec 18, 1998
    1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* configure.in (have_threads): Changed the last pthread_cond_init
    	to pthread_attr_init.
    
    1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* testgthread.c (new_thread): As a joinable thread seems to be the
    	default on posix, leave the explicit setting out, as it causes
    	problems on some older platforms.
  3. new function to check whether a main loop has been quitted. (g_main_n…

    tim-janik authored and Tim Janik committed Dec 18, 1998
    …ew):
    
    Fri Dec 18 00:03:17 1998  Tim Janik  <timj@gtk.org>
    
            * glib.h:
            * gmain.c:
            (g_main_is_running): new function to check whether a main loop has been
            quitted.
            (g_main_new): added a gboolean argument to determine whether the loop
            should be considered initially running or not. however, g_main_run ()
            will still reset the main loops running state to TRUE upon initial
            entrance.
    
            * gmain.c:
            (g_main_iterate): documented this function's purpose in 5 steps.
            for step 2), flag sources as G_SOURCE_READY even if !dispatch and
            check G_SOURCE_READY prior to (*prepare), so we don't call (*prepare)
            on them multiple times.
    
    Thu Dec 17 23:43:47 1998  Tim Janik  <timj@gtk.org>
    
            * gmain.c (g_main_add_poll): reordered arguments, so GPollFD* comes
            first, <sigh> (sorry Snorfle, i should have let you know in the first
            place).
            (g_main_dispatch): stack G_HOOK_FLAG_IN_CALL flags. call source's
            destructor when destroying a source.
Commits on Dec 17, 1998
  1. Fixed size in g_memmove, reported by Alexander Larsson

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Dec 17, 1998
    1998-12-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* garray.c (g_ptr_array_remove_index): Fixed size in g_memmove,
    	reported by Alexander Larsson <alla@lysator.liu.se>.
    
    	* gmem.c: Fixed bug, that made compile fail for -DENABLE_MEM_PROFILE.
  2. Released GLib 1.1.9

    vaporos authored and Shawn Amundson committed Dec 17, 1998
    Wed Dec 16 23:04:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.9
    
            * INSTALL:
              NEWS:
              README:
              configure.in:
              glib.spec:
              docs/glib-config.1: version=1.1.9
  3. giounix.c: s/g_main_poll_add/g_main_remove_add/g

    vaporos authored and Shawn Amundson committed Dec 17, 1998
    Wed Dec 16 22:32:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>
    
            * glib.h:
              giounix.c: s/g_main_poll_add/g_main_remove_add/g
                         s/g_main_poll_remove/g_main_remove_poll/g
                         s/g_main_poll_add_unlocking/g_main_add_unlocking_poll/g
              (from Tim Janik)
    
            * gthread-posix.c: use g_free in mutex_free (from Tim Janik)
  4. check for pthread_attr_init in all cases, du4 needs this since most o…

    Manish Singh
    Manish Singh committed Dec 17, 1998
    …f the
    
    other functions are just #defines
    
    -Yosh