1. 31 Jan, 2001 1 commit
  2. 19 Dec, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I · 2fb47703
      Sebastian Wilhelmi authored
      
      2000-12-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gslist.c, glist.c: Ok, I'm a moron. When I originally
      	implemented ENABLE_GC_FRIENDLY, I forgot to include config.h into
      	the affected files. Now that Alex did that for those two,
      	inevitable typos surfaced, which are now fixed.
      
      	* garray.c, ghash.c, gqueue.c, gtree.c: Include config.h as well,
      	as ENABLE_GC_FRIENDLY should be known.
      2fb47703
  3. 20 Nov, 2000 1 commit
    • Jonathan Blandford's avatar
      Patch from David Benson <daveb@idealab.com> to add user_data support to · 2645aaf5
      Jonathan Blandford authored
      Mon Nov 20 18:55:17 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtree.[hc]: Patch from David Benson <daveb@idealab.com> to add
      	user_data support to gtree functions.
      
      Mon Nov 13 18:35:52 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtypes.h (GCompareFuncData): new func type to let you use user
      	data when comparing nodes.
      
      	* gslist.c (g_list_sort_with_data): new function to sort with
      	user_data.
      
      	* glist.c (g_list_sort_with_data): new function to sort with
      	user_data.
      
      	* garray.[ch]: Added convenience functions to sort arrays.
      2645aaf5
  4. 26 Jul, 2000 1 commit
  5. 19 May, 2000 1 commit
    • Tim Janik's avatar
      fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas · 1e5d06d4
      Tim Janik authored
      Fri May 19 09:00:44 2000  Tim Janik  <timj@gtk.org>
      
              * gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
              ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
      
              * gslist.c (g_slist_reverse): shut up compiler.
      
              * gscanner.c (g_scanner_get_token_ll): removed inline assignment.
      
              * garray.c: remove index>=0 checks for unsigned indices.
      
              * gmain.c (g_idle_prepare): timeout assignment fix.
      
              * gtree.c (g_tree_node_rotate_right): shut up compiler.
      1e5d06d4
  6. 13 May, 2000 1 commit
    • Tor Lillqvist's avatar
      makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to · 77866eaf
      Tor Lillqvist authored
      2000-05-13  Tor Lillqvist  <tml@iki.fi>
      
      * makefile.mingw.in
      * tests/makefile.mingw.in
      * build-dll: Rename makefile.cygwin(.in) to
      makefile.mingw(.in), which better describes what it is. Move the
      build of gmodule, gthread and gobject DLLs to makefiles in those
      directories. Move resource file handling and build number bump to
      build-dll, where it sits much cleaner.
      
      * README.win32
      * Makefile.am (EXTRA_DIST): Update accordingly.
      
      * glib.h: Add G_PI, G_PI_2, G_PI_4, G_E, G_LN2, G_LN10 and
      G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C
      implementations.
      
      * glib.def: Add g_strcanon.
      
      * gtree.c (g_tree_node_rotate_left): Remove unused variables.
      
      * gwin32.c (g_win32_opendir): Remove unneeded statement.
      
      gmodule:
      
      * makefile.mingw.in: New file, with gmodule stuff
      moved from ../makefile.mingw.in.
      
      * Makefile.am: Add to EXTRA_DIST, and add rule to make makefile.mingw.
      
      gobject:
      * makefile.mingw.in
      * gobject.def
      * gobject.rc.in: New files, for Win32 (mingw) build.
      
      * Makefile.am: Add to EXTRA_DIST. Add rules to produce the
      corresponding non-*.in files.
      
      * gtype.h: (Win32:) Mark _g_type_fundamental_last for
      export/import from DLL.
      
      gthread:
      * makefile.mingw.in: New file, with gthread stuff moved from
      ../makefile.mingw.in.
      
      * Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
      77866eaf
  7. 26 Apr, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Changed the 'value' parameter of g_cache_remove from gpointer to · d5fccfb0
      Sebastian Wilhelmi authored
      
      2000-04-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib.h, gcache.c, gtree.c: Changed the 'value' parameter of
      	g_cache_remove from gpointer to gconstpointer. Dito for the 'key'
      	parameter of g_tree_lookup and g_tree_remove and the 'data'
      	parameter of g_tree_serach. This function now takes a function of
      	type GCompareFunc instead of GSearchFunc.
      
      	* glib.h: Removed declaration of GSearchFunc.
      
      	* gmem.c: s/GSearchFunc/GCompareFunc/.
      d5fccfb0
  8. 17 Apr, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Add configure test for garbage collector friendliness for GLib. If · 8c90d776
      Sebastian Wilhelmi authored
      
      2000-04-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* configure.in, acconfig.h: Add configure test for garbage
      	collector friendliness for GLib. If enabled, ENABLE_GC_FRIENDLY
      	will be defined.
      
      	* garray.c, ghash.c, glist.c, gmain.c, gmem.c, gnode.c, gqueue.c,
      	gslist.c, gtree.c: If ENABLE_GC_FRIENDLY is defined, NULLify all
      	memory released by the user, but cached by GLib. This lets a
      	garbage collector have a more correct view of the actually used
      	memory.
      8c90d776
  9. 24 Feb, 1999 1 commit
  10. 10 Feb, 1999 1 commit
  11. 17 Jan, 1999 1 commit
  12. 16 Dec, 1998 1 commit
    • Tim Janik's avatar
      version bump to 1.1.8, binary age 0, interface age 0. · b2e318ff
      Tim Janik authored
      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/.
      b2e318ff
  13. 15 Dec, 1998 1 commit
    • Owen Taylor's avatar
      This commit merges the glib-threads branch into the main · 931ea952
      Owen Taylor authored
      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.
      931ea952
  14. 24 Nov, 1998 1 commit
    • Tim Janik's avatar
      removed the GListAllocator type and its g_*_allocator_*() function · 9c1692c2
      Tim Janik authored
      Tue Nov 24 09:40:00 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h: removed the GListAllocator type and its g_*_allocator_*()
              function variants (which weren't working anyways) in favour of a
              generic GAllocator type. new functions:
              g_allocator_new, g_allocator_free, g_slist_push_allocator,
              g_slist_pop_allocator, g_list_push_allocator, g_list_pop_allocator,
              g_node_push_allocator and g_node_pop_allocator.
      
              * gstring.c: removed bogus slist allocator code.
              * gtree.c: maintain own list of free tree nodes and don't waste
              GSLists for that, removed bogus slist allocator code.
              * glist.c: use GAllocators for node allocation.
              * gslist.c: use GAllocators for node allocation.
              * gnode.c: use GAllocators for node allocation.
      
              * gdataset.c: cleanups wrt automatic initialization.
      9c1692c2
  15. 18 Sep, 1998 1 commit
  16. 18 Aug, 1998 1 commit
    • Tim Janik's avatar
      new function g_log_set_always_fatal() to set an additional fatal_mask for · e1f0fb0c
      Tim Janik authored
      Tue Aug 18 04:40:17 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h:
              * gmessages.c: new function g_log_set_always_fatal() to set an
              additional fatal_mask for log levels that are considered to be fatal
              globally (required by gtk). since this mask is not domain-associated,
              it is restricted to the log levels, introduced by glib itself.
      
              * gmem.c:
              * grel.c:
              * gtree.c (g_tree_node_check):
              don't use g_print() calls for informational/debugging output,
              but log all this stuff through g_log() with G_LOG_LEVEL_INFO.
              libraries shouldn't use printf(), g_print() or g_printerr() at all.
      e1f0fb0c
  17. 31 Jul, 1998 1 commit
    • Tim Janik's avatar
      added a GNode test. · 5272119c
      Tim Janik authored
      Fri Jul 31 22:17:05 1998  Tim Janik  <timj@gtk.org>
      
              * testglib.c (g_node_test): added a GNode test.
      
      Fri Jul 31 09:08:16 1998  Tim Janik  <timj@gtk.org>
      
              * Makefile.am: compile gnode.c.
      
              * glib.h:
              * gnode.c: added implementation of n-way trees.
      
              * gtree.c (g_tree_traverse): added a warning to the switch() statement
              which says that G_LEVEL_ORDER is not implemented.
      5272119c
  18. 10 Jun, 1998 1 commit