Permalink
Commits on Dec 24, 1998
  1. Released GLib 1.1.10

    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
    vaporos committed with Shawn Amundson Dec 24, 1998
Commits on Dec 23, 1998
  1. don't cast to timeval since timeval is for some reason not always a s…

    …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
    George Lebl committed with George Lebl Dec 23, 1998
Commits on Dec 22, 1998
  1. Now passes 'make distcheck'.

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

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

    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.
    tim-janik committed with Tim Janik Dec 22, 1998
Commits on Dec 21, 1998
  1. there was a reference count race for hooks during invocation loops. s…

    …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().
    tim-janik committed with Tim Janik Dec 21, 1998
  2. default initialize source_timeout with -1 so we have a sane timeout v…

    …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.
    tim-janik committed with Tim Janik Dec 21, 1998
Commits on Dec 19, 1998
  1. Add #defines defining scale of priorities.

    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.
    Owen Taylor committed with Owen Taylor Dec 19, 1998
  2. Allocate space for pollfd's _after_ adding poll wake-up-pipe record.

    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().
    Owen Taylor committed with Owen Taylor Dec 19, 1998
  3. fixed a minor bug that would let configures bail out if the MODULES

    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.
    tim-janik committed with Tim Janik Dec 19, 1998
  4. add glibconfig-sysdefs.h to .cvsignore

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

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

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

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

    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.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Dec 18, 1998
  3. new function to check whether a main loop has been quitted. (g_main_n…

    …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.
    tim-janik committed with Tim Janik Dec 18, 1998
Commits on Dec 17, 1998
  1. Fixed size in g_memmove, reported by Alexander Larsson

    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.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Dec 17, 1998
  2. Released GLib 1.1.9

    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
    vaporos committed with Shawn Amundson Dec 17, 1998
  3. giounix.c: s/g_main_poll_add/g_main_remove_add/g

    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)
    vaporos committed with Shawn Amundson Dec 17, 1998
  4. check for pthread_attr_init in all cases, du4 needs this since most o…

    …f the
    
    other functions are just #defines
    
    -Yosh
    Manish Singh committed Dec 17, 1998
  5. if !G_THREADS_ENABLED, eat the trailing semicolon with a bogus function

    Thu Dec 17 04:10:49 1998  Tim Janik  <timj@gtk.org>
    
            * glib.h (G_LOCK_DECLARE_*): if !G_THREADS_ENABLED, eat the
            trailing semicolon with a bogus function declaration, instead
            of with a bogus variable declarations, so we avoid unused
            variable warnings.
    tim-janik committed with Tim Janik Dec 17, 1998
  6. -DG_LOG_DOMAIN="GThread", we don't need an extern variable for that

    Thu Dec 17 03:38:57 1998  Tim Janik  <timj@gtk.org>
    
            * Makefile.am: -DG_LOG_DOMAIN="GThread", we don't need an extern
            variable for that (noticed by Joel Becker <jlbec@ocala.cs.miami.edu>)
    tim-janik committed with Tim Janik Dec 17, 1998
Commits on Dec 16, 1998
  1. Released GLib 1.1.8 (CVS tag is GLIB_1_1_8a)

    Wed Dec 16 07:49:16 PST 1998 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.8  (CVS tag is GLIB_1_1_8a)
    vaporos committed with Shawn Amundson Dec 16, 1998
  2. Fixed small bug.

    1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* giounix.c (g_io_channel_unix_get_fd): Fixed small bug.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Dec 16, 1998
  3. Fixed stupid bug, that made g_static_mutex_lock(*mutex) not work as

    1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* configure.in: Fixed stupid bug, that made
    	g_static_mutex_lock(*mutex) not work as expected.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Dec 16, 1998
  4. Updated to reflect the existence of gthread.

    1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* docs/glib-config.1: Updated to reflect the existence of gthread.
    
    	* gmain.c (g_main_poll_add_unlocking): Changed
    	g_main_poll_add_unlocked to g_main_poll_add_unlocking to match
    	semantic, (indeed, main_loop must be locked, when calling this
    	function). Removed the unlocking from the end of that function, as
    	that is not right. Made a 'HOLDS' comment above the function.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Dec 16, 1998
  5. version bump to 1.1.8, binary age 0, interface age 0.

    Wed Dec 16 03:16:58 1998  Tim Janik  <timj@gtk.org>
    
            * configure.in: version bump to 1.1.8, binary age 0, interface age 0.
    
            * glib.h: changed g_lock() to G_LOCK(), g_unlock() to G_UNLOCK() and
            g_trylock() to G_TRYLOCK(), since these are macros that expand to
            nothing with --disable-threads.
            changed G_LOCK_DEFINE() to G_LOCK_DECLARE() and introduced
            G_LOCK_DECLARE_STATIC() to achive the results of static G_LOCK_DECLARE().
            changed semantics of g_thread_supported to g_thread_supported() so it
            can be used as a function like g_module_supported(). the actuall
            definition is still a macro that expands into a variable for
            performance reasons though.
            various indentation and coding style cleanups.
    
            * configure.in: added --enable-threads that defaults to yes.
    
            * gmutex.c: changed tests g_thread_supported to g_thread_supported (),
            changed variable settings of g_thread_supported
            to g_threads_got_initialized.
    
            garray.c:
            gcache.c:
            gdataset.c:
            gdate.c:
            ghash.c:
            glist.c:
            gmain.c:
            gnode.c:
            gslist.c:
            gstring.c:
            gtree.c:
            gutils.c:
            changed s/g_lock/G_LOCK/, s/g_unlock/G_UNLOCK/,
            s/static G_LOCK_DEFINE/G_LOCK_DECLARE_STATIC/.
    tim-janik committed with Tim Janik Dec 16, 1998
  6. Released GLib 1.1.8

    Tue Dec 15 23:16:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.8
    vaporos committed with Shawn Amundson Dec 16, 1998
  7. Overview of Changes in GLib 1.1.8:

    * Added threading support
      - The ability to specify a set of functions to be used for
        locking at runtime.
      - Default implementations of locking functions for pthreads,
        Solaris threads, and (experimentally) NSPR.
      - All static variables should now properly locked.
      - Enhancements to the generic main-loop mechanism to be thread-safe.
        (It is used for the main-loop in GTK+ as of GTK+-1.1.8)
    * Portability fixes.
    Owen Taylor committed Dec 16, 1998
  8. fixed error for AIX thread detection

    Joel Becker committed Dec 16, 1998
  9. fixed library and flag ordering for --libs

    Wed Dec 16 02:02:48 1998  Tim Janik  <timj@gtk.org>
    
            * glib-config.in (lib_glib): fixed library and flag ordering for
            --libs
    tim-janik committed with Tim Janik Dec 16, 1998
Commits on Dec 15, 1998
  1. Use an "inheritance" scheme for IO channel memory allocation.h

    Tue Dec 15 17:17:46 1998  Owen Taylor  <otaylor@redhat.com>
    
    	* glib.h giounix.c giochannel.c: Use an "inheritance"
    	scheme for IO channel memory allocation.h
    Owen Taylor committed with Owen Taylor Dec 15, 1998
  2. -fstack-check generates non-working code for at least a few compilers

    -fstack-check generates non-working code for at least a few compilers
    (egcs 1.1 included) and the benefits are dubious (your program is going to
    crash anyways if you run out of stack) so comment that out for now.
    Elliot Lee committed Dec 15, 1998
  3. Solaris has a broken strftime that produced garbage output for the test

    1998-12-15  Havoc Pennington  <hp@pobox.com>
    
    * gdate.c (g_date_prepare_to_parse): Solaris has a broken strftime
    that produced garbage output for the test date I was using to
    set up the parser. So use a different date that Solaris seems
    to like.
    havocp committed with Havoc Pennington Dec 15, 1998