Permalink
Commits on Dec 17, 1998
  1. 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
  2. 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
  3. 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
  4. 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
  5. -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
  4. This is no valid shell syntax:

    	for module in ; do
    
    So we add a `.' in front of the $4 to make it look like this:
    
    	for module in . $4 ; do
    
    This works even if $4 is empty ...
    Martin Baulig committed Dec 15, 1998
  5. Dont complain, if --without-threads or --with-threads=none is supplied;

    1998-12-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* configure.in: Dont complain, if --without-threads or
    	--with-threads=none is supplied; Test for pthread_attr_init
    	instead of pthread_cond_init, if threads seems to be supported by
    	standard glib. (CFLAGS): Use G_THREAD_CFLAGS for compiling of glib
    	as well.
    
    	* glib.h, gmutex.c: Changed private to private_key to avoid
    	problems when compiling with under C++.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Dec 15, 1998
  6. updated.

    1998-12-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* Makefile.am (EXTRA_DIST): updated.
    
    	* testgthread.c, gthread-*.c: Changed private to private_key to
    	avoid problems when compiling with under C++.
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Dec 15, 1998
  7. Bugfixes to autoconf thread lib detection

    Jeff Garzik committed Dec 15, 1998
  8. s/g_mutex_functions_for_glib_use/g_thread_functions_for_glib_use/

    1998-12-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* gthread-none.c:
    	s/g_mutex_functions_for_glib_use/g_thread_functions_for_glib_use/
    
    	* ChangeLog: from now on there is an extra ChangeLog for gthread
    Sebastian Wilhelmi committed with Sebastian Wilhelmi Dec 15, 1998
  9. Fixed --with-threads, small 64-bit prob

    Jeff Garzik committed Dec 15, 1998
  10. Make sure all calls to g_node_validate_allocator are within

    Tue Dec 15 10:40:09 1998  Owen Taylor  <otaylor@redhat.com>
    
    	* gnode.c glist.c gslist.c: Make sure all
    	calls to g_node_validate_allocator are within
    	current_allocator lock, so we have consistency
    	on that point. (Should not really matter,
    	but this way we match the comments)
    
    	* glist.c (g_list_free_1): Removed some lines
    	that should never have been committed. (For
    	debugging)
    Owen Taylor committed with Owen Taylor Dec 15, 1998
  11. This commit merges the glib-threads branch into the main

    branch. See the ChangeLog for details of the changes.
    
    In brief overview:
    
     - The set of threading functions can be set
     - A default implementation is provided in -lgthread
     - All static data structures are locked using these
       functions if g_thread_init() is called.
    Owen Taylor committed Dec 15, 1998
Commits on Dec 13, 1998
  1. always define G_HAVE_INLINE if __cplusplus is defined, reported by Wa…

    …n-Teh
    
    Sat Dec 12 19:08:59 1998  Tim Janik  <timj@gtk.org>
    
            * configure.in: always define G_HAVE_INLINE if __cplusplus is
            defined, reported by Wan-Teh Chang <wtc@netscape.com>.
    tim-janik committed with Tim Janik Dec 13, 1998
Commits on Dec 11, 1998
  1. Released GLib 1.1.7

    Thu Dec 10 21:49:39 CST 1998 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.7
    
            * INSTALL:
              NEWS:
              README:
              configure.in:
              glib.spec:
              docs/glib-config.1: Increased version to 1.1.7
    vaporos committed with Shawn Amundson Dec 11, 1998
Commits on Dec 10, 1998
Commits on Dec 9, 1998
  1. Released GLib 1.1.6

    Tue Dec  8 12:18:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>
    
            * Released GLib 1.1.6
    
            * NEWS: updated
    vaporos committed with Shawn Amundson Dec 9, 1998
Commits on Dec 8, 1998
  1. fixes to #undef HAVE_POLL case

    -Yosh
    Manish Singh committed Dec 8, 1998
Commits on Dec 5, 1998
  1. When creating glibconfig.h, we need to include <sys/types.h> before

    <sys/poll.h> for NetBSD.
    Martin Baulig committed Dec 5, 1998
Commits on Dec 3, 1998
  1. shut up CVS

    -Yosh
    Manish Singh committed Dec 3, 1998
Commits on Dec 2, 1998
  1. If Julian is valid, we have to update the dmy representation before

    1998-12-02  Havoc Pennington  <hp@pobox.com>
    
    * gdate.c (g_date_set_month): If Julian is valid, we have to
    update the dmy representation before setting the components
    of it.
    (g_date_set_day): Same.
    (g_date_set_year): Same.
    havocp committed with Havoc Pennington Dec 2, 1998