1. 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
  2. 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
  3. 17 Dec, 2006 1 commit
  4. 03 Jan, 2006 1 commit
    • Martyn James Russell's avatar
      - Added new API g_thread_pool_get_idle_time() and · 941faa1c
      Martyn James Russell authored
      * docs/reference/glib/glib-sections.txt:
      * glib/glib.symbols:
      * glib/gthreadpool.[ch]:
      - Added new API g_thread_pool_get_idle_time() and
      g_thread_pool_set_idle_time(). (#324228).
      
      * tests/threadpool-test.c:
      - Updated test case to do thread pool sorting, thread pool with
      no sorting and a thread pool with idle thread timeouts.
      941faa1c
  5. 21 Dec, 2005 1 commit
  6. 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
  7. 18 May, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Renamed g_thread_create to g_thread_create_full and added macro · 227d18bc
      Sebastian Wilhelmi authored
      
      2001-05-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.c, gthread.h: Renamed g_thread_create to
      	g_thread_create_full and added macro g_thread_create, which omits
      	'stack_size', 'bound' and 'priority' parameters. Also removed
      	'bound' from GThread struct.
      
      	* gthreadpool.h, gthreadpool.c: Adapted GThreadPool to the above
      	changes. GThreadPool lost the 'priority' and 'bound'
      	members. g_thread_pool_new the 'stack_size', 'bound' and
      	'priority' parameters.
      
      	* tests/mainloop-test.c, tests/thread-test.c,
      	tests/threadpool-test.c: Adapted to the above changes.
      227d18bc
  8. 09 May, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Renamed 'value' and 'arg' to 'data' and 'thread_func' to 'func' to make it · a8c9dadd
      Sebastian Wilhelmi authored
      
      2001-05-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.c, gthread.h: Renamed 'value' and 'arg' to 'data' and
      	'thread_func' to 'func' to make it more consistent with the rest
      	of GLib.
      
      	* gthreadpool.c, gthreadpool.h: Moved 'stack_size' from the public
      	members of GThreadPool to the private ones. Renamed 'thread_func'
      	to 'func' as above. Moved up 'user_data' in g_thead_pool_new
      	argument list and in GThreadPool struct.
      a8c9dadd
  9. 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