1. 12 Oct, 2011 1 commit
  2. 19 Sep, 2011 1 commit
  3. 08 Jul, 2010 1 commit
  4. 05 May, 2008 1 commit
    • Michael Natterer's avatar
      #define __GLIB_H_INSIDE__ around including everything. · e0aa9d8a
      Michael Natterer authored
      2008-05-05  Michael Natterer  <mitch@imendio.com>
      
      	* glib/glib.h: #define __GLIB_H_INSIDE__ around including
      	everything.
      
      	* glib/*.h: check for that define instead of __G_LIB_H__ if
      	G_DISABLE_SINGLE_INCLUDES is defined.
      
      	* glib/gdatasetprivate.h: #include <glib.h> instead of
      	<glib/gdataset.h>
      
      
      svn path=/trunk/; revision=6875
      e0aa9d8a
  5. 14 Mar, 2008 1 commit
    • Michael Natterer's avatar
      make it possible to disable single-file includes by defining · f4bb21aa
      Michael Natterer authored
      2008-03-14  Michael Natterer  <mitch@imendio.com>
      
      	* glib/*.h: make it possible to disable single-file includes by
      	defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
      	Approved by Tim Janik.
      
      	* glib/glib.h: include <glib/gslice.h>.
      
      	* glib/gi18n.h
      	* glib/gi18n-lib.h
      	* glib/gprintf.h: include <glib.h> so the above works when these
      	files are included without including <glib.h> first.
      
      
      svn path=/trunk/; revision=6713
      f4bb21aa
  6. 28 Jan, 2008 1 commit
  7. 01 Nov, 2005 1 commit
    • Tim Janik's avatar
      prepared deprecation of GMemChunk and GAllocator. added g_slice_*() API to · 0cba1b53
      Tim Janik authored
      Tue Nov  1 16:24:20 2005  Tim Janik  <timj@imendio.com>
      
              * glib/gmem.[hc]: prepared deprecation of GMemChunk and GAllocator.
              added g_slice_*() API to allocate and cache small bits of memory.
              an actuall allocator implementation for g_slice_*() is still pending.
      
              * glib/gthread.[hc]: changes from a patch by Matthias Clasen.
              changed GRealThread list to use in-structure *next; fields instead
              of GSList, in order for thread iteration to not depenend on g_slice_*()
              indirectly.
              _g_thread_mem_private_get():
              _g_thread_mem_private_set(): added accessors for private memory,
              needed because the ordinary GPrivate implementation relies on GArray
              and GSList and therefore indirectly on working g_slice_*() allocations.
      
              * glib/gthread.[hc]:
              g_thread_foreach(): new public API function to loop over all existing threads.
      
              * glib/gdataset.c:
              * glib/gstring.c:
              * glib/gcache.c:
              * glib/garray.c:
              * glib/gqueue.c:
              * glib/gslist.c:
              * glib/glist.c:
              * glib/ghash.c:
              * glib/gtree.c:
              * glib/ghook.c:
              * glib/gmain.c:
              * glib/gnode.c:
              removed GAllocator and free list usages and accompanying locks.
              use g_slice_*() API to allocate and cache small bits of memory.
      
              * glib/ghook.h: removed GMemChunk field from public API.
      
              * glib/gslist.h:
              * glib/glist.h: deprecate allocator API, provide _free1() for consistency.
      
              * glib/gnode.h: deprecate allocator API.
      
              * glib/gmain.c: reordered GPollRec fields so g_slice_free_chain() can
              be used for poll rec lists.
      
              * glib/grel.c: removed mem chunk usage, and allocated tuples via g_slice_*().
              g_relation_destroy(): free all tuples from the all_tuples hash table,
              this effectively maintains the life time track keeping of tuples.
              g_relation_delete_tuple(): free tuples which are removed from the
              all_tuples hash table. this fixes a temporary leak that was present
              in the memchunk code until the destruction of the relation.
      0cba1b53
  8. 08 Nov, 2004 1 commit
  9. 21 Feb, 2004 1 commit
  10. 26 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Move glib library into a subdirectory, make all GLib include files include · 2fd6b001
      Owen Taylor authored
      Tue Jun 26 11:43:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.am *.[ch] glib/*.[ch] glib/Makefile.am:
      	Move glib library into a subdirectory, make all GLib include
      	files include as <glib/glist.h>
      
      	* tests/testglib.c tests/testgdate.c tests/testgdateparser.c
      	  tests/timeloop.c tests/timeloop-basic.c: Move all tests into
      	the tests/ subdirectory.
      2fd6b001
  11. 13 Oct, 2000 1 commit
  12. 12 Oct, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Split glib.h into many header files mostly according to the resp. · b1d15587
      Sebastian Wilhelmi authored
      
      2000-10-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
      	gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
      	ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
      	gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
      	grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
      	gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
      	into many header files mostly according to the resp. *.c-files.
      
      	* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
      	of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
      	__END_DECLS.
      
      	* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
      	gunicode.h, : Changed guard-macro names to something more
      	consistent.
      
      	* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
      b1d15587