Permalink
Commits on Dec 16, 1998
  1. Released GLib 1.1.8 (CVS tag is GLIB_1_1_8a)

    vaporos authored and Shawn Amundson committed Dec 16, 1998
    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)
  2. Fixed small bug.

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

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Dec 16, 1998
    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.
  4. Updated to reflect the existence of gthread.

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Dec 16, 1998
    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.
  5. version bump to 1.1.8, binary age 0, interface age 0.

    tim-janik authored and Tim Janik committed Dec 16, 1998
    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/.
  6. Released GLib 1.1.8

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

    Owen Taylor
    Owen Taylor committed Dec 16, 1998
    * 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.
  8. fixed error for AIX thread detection

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

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

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Dec 15, 1998
    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
  2. -fstack-check generates non-working code for at least a few compilers

    Elliot Lee
    Elliot Lee committed Dec 15, 1998
    -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.
  3. Solaris has a broken strftime that produced garbage output for the test

    havocp authored and Havoc Pennington committed Dec 15, 1998
    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.
  4. This is no valid shell syntax:

    Martin Baulig
    Martin Baulig committed Dec 15, 1998
    	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 ...
  5. Dont complain, if --without-threads or --with-threads=none is supplied;

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Dec 15, 1998
    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++.
  6. updated.

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Dec 15, 1998
    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++.
  7. Bugfixes to autoconf thread lib detection

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

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Dec 15, 1998
    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
  9. Fixed --with-threads, small 64-bit prob

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

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Dec 15, 1998
    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)
  11. This commit merges the glib-threads branch into the main

    Owen Taylor
    Owen Taylor committed Dec 15, 1998
    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.
Commits on Dec 13, 1998
  1. always define G_HAVE_INLINE if __cplusplus is defined, reported by Wa…

    tim-janik authored and Tim Janik committed Dec 13, 1998
    …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>.
Commits on Dec 11, 1998
  1. Released GLib 1.1.7

    vaporos authored and Shawn Amundson committed Dec 11, 1998
    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
Commits on Dec 10, 1998
Commits on Dec 9, 1998
  1. Released GLib 1.1.6

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

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

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

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

    havocp authored and Havoc Pennington committed Dec 2, 1998
    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.
  2. Two new files. This is kind of ugly code, but I want to go ahead and …

    havocp authored and Havoc Pennington committed Dec 2, 1998
    …make
    
    1998-12-02  Havoc Pennington  <hp@pobox.com>
    
    * testgdate.c, testgdateparser.c: Two new files. This is kind of
    ugly code, but I want to go ahead and make the tests available.
    It isn't contaminating any other code. :-) Since one of these
    is interactive and the other takes a while to run, I've kept
    them separate from testglib for now.
    * Makefile.am: Build gdate test programs.
  3. Rely on GDate::dmy and GDate::Julian flags, rather than re-checking the

    havocp authored and Havoc Pennington committed Dec 2, 1998
    1998-12-02  Havoc Pennington  <hp@pobox.com>
    
    * gdate.c (g_date_valid): Rely on GDate::dmy and GDate::Julian
    flags, rather than re-checking the validity of the actual
    values. This should be the correct behavior, the old way was
    leftover cruft.
    
    * glib.h, gdate.c: Changed MDY to DMY throughout.
  4. Merge main loop into head. This probably breaks Win32, until

    Owen Taylor Owen Taylor
    Owen Taylor authored and Owen Taylor committed Dec 2, 1998
    someone does the necessary updates.
    
    Sat Nov 28 12:53:47 1998  Owen Taylor  <otaylor@redhat.com>
    
    	* Makefile.am configure.in acconfig.h giochannel.c
    	  glib.h glist.c gmain.c gutils.c:
    
            - Revised GIOChannel to provide a generic virtual-function
      	  based interface.
    	- Added unix fd-based GIOChannel's
    	- Added generic main-loop abstraction
    	- Added timeouts and idle functions using main-loop abstraction.
  5. changed `gpointer struct_tm_p' parameter of g_date_to_struct_tm back to

    Sebastian Wilhelmi Sebastian Wilhelmi
    Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Dec 2, 1998
    1998-12-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
    
    	* glib.h:
    	* gdate.c: changed `gpointer struct_tm_p' parameter of
    	g_date_to_struct_tm back to `struct tm *tm' and forward declared
    	`struct tm' in glib.h; yes, this is nice, we still need not
    	include time.h.