1. 13 Jan, 2013 1 commit
  2. 28 Dec, 2012 1 commit
  3. 26 May, 2012 1 commit
  4. 11 Feb, 2012 1 commit
  5. 06 Jan, 2012 2 commits
  6. 03 Nov, 2011 1 commit
  7. 12 Oct, 2011 1 commit
  8. 02 Oct, 2011 1 commit
  9. 21 Jun, 2011 1 commit
  10. 29 Jan, 2010 1 commit
  11. 27 Apr, 2009 1 commit
  12. 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
  13. 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
  14. 15 Dec, 2007 1 commit
  15. 11 Apr, 2007 1 commit
    • Emmanuele Bassi's avatar
      Add g_hash_table_get_keys() and g_hash_table_get_values(), API to retrieve · db8642a5
      Emmanuele Bassi authored
      2007-04-11  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* glib/ghash.[ch]: Add g_hash_table_get_keys() and
      	g_hash_table_get_values(), API to retrieve the keys
      	and values inside an hash table in list form. (#413133)
      
      	* glib/glib.symbols: Update symbols.
      
      	* tests/hash-test.c: Exercise newly added functions.
      
      svn path=/trunk/; revision=5444
      db8642a5
  16. 01 Jun, 2006 1 commit
  17. 22 Nov, 2005 1 commit
    • Tim Janik's avatar
      g_hash_table_new_full(): create hash tables with a ref count of 1. · 3e847a09
      Tim Janik authored
      Tue Nov 22 14:04:26 2005  Tim Janik  <timj@imendio.com>
      
              * glib/ghash.h:
              * glib/ghash.c:
              g_hash_table_new_full(): create hash tables with a ref count of 1.
              g_hash_table_ref(): atomically ref_count+=1
              g_hash_table_unref(): atomically ref_count-=1, destroys hash table
              when refcount reaches 0.
              g_hash_table_destroy(): just destroy keys and values, unref by 1.
              g_hash_table_insert():
              g_hash_table_replace(): assert ref_count>0.
      
              * glib/gatomic.h:
              * glib/gatomic.c: added 'volatile' qualifier to all atomic pointer and
              integer pointers.
      3e847a09
  18. 01 May, 2005 2 commits
  19. 20 Feb, 2004 1 commit
  20. 06 Feb, 2003 1 commit
  21. 06 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      The following patch corrects some function attributes. (#61780) · 39e4c5af
      Matthias Clasen authored
      
              The following patch corrects some function attributes. (#61780)
      
              * glib/ghash.h (g_int_equal, g_int_hash): These are not const.
      
              * glib/glibintl.h (_glib_gettext): Add G_GNUC_FORMAT(1).
      
              * glib/gmacros.h: Use reserved symbols in function attribute macros.
      
              The following patch avoids manual printf()-format parsing
              if a C99-conforming vsnprintf() is available. (#55106)
      
              * acinclude.m4 (AC_FUNC_VSNPRINTF_C99): New macro to test for a
              C99 conforming vsnprintf.
      
              * configure.in: Use AC_FUNC_VSNPRINTF_C99.
      
              * glib/gmessages.c (g_printf_string_upper_bound): Use C99 vsnprintf().
      39e4c5af
  22. 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
  23. 19 Apr, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Remove definition of g_hash_table_freeze and g_hash_table_thaw. Instead · d52e5cd5
      Sebastian Wilhelmi authored
      
      2001-04-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* ghash.c, ghash.h: Remove definition of g_hash_table_freeze and
      	g_hash_table_thaw. Instead added G_DISABLE_DEPRECATED-guarded
      	macros to ghash.h to go along the lines of the standard.
      
      	* gscanner.c, gscanner.h: Dito for g_scanner_freeze_symbol_table
      	and g_scanner_thaw_symbol_table.
      
      	* gutils.c, gutils.h: Dito for g_dirname. g_basename is still
      	defined in gutils.c, but declared ing gutils.h only
      	G_DISABLE_DEPRECATED-guarded.
      d52e5cd5
  24. 30 Mar, 2001 1 commit
    • Sven Neumann's avatar
      ghash.[ch] added new functions g_hash_table_new_full, · a2b269ba
      Sven Neumann authored
      2001-03-30  Sven Neumann  <sven@gimp.org>
      
              * ghash.[ch]
              * docs/reference/glib/tmpl/hash_tables.sgml: added new functions
              g_hash_table_new_full, g_hash_table_replace, g_hash_table_steal and
              g_hash_table_foreach_steal. Moved most docs out of the template
              file into the C file. Please proofread the new documentation.
      a2b269ba
  25. 13 Dec, 2000 1 commit
    • Tim Janik's avatar
      return whether a value got removed. · 9a8c33db
      Tim Janik authored
      Tue Dec 12 18:58:22 2000  Tim Janik  <timj@gtk.org>
      
              * ghash.c (g_hash_table_remove): return whether a value
              got removed.
      
      Tue Dec 12 23:38:02 2000  Tim Janik  <timj@gtk.org>
      
              * Makefile.am: _never_ touch oldest-source-stamp.
      
              * gobject.[hc]: construct property handling fixes/improvements.
              fixed trailer handling in get/set property.
      
              * gparam.[hc]: implement param spec pool, got rid of param spec
              hashtable. the most prominent change is that e deal with type
              prefixes here.
      9a8c33db
  26. 30 Oct, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Introduced new function type GEqualFunc to return TRUE for equal params. · 267b6813
      Sebastian Wilhelmi authored
      
      2000-10-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gcache.h, gcache.c, ghash.h, ghash.c, grel.c, grel.h, gtypes.h:
      	Introduced new function type GEqualFunc to return TRUE for equal
      	params. This is now used instead of GCompareFunc (which should
      	work akin to strcmp) here. This kind of fixes Bug #14412. Note
      	that technically GCompareFunc and GEqualFunc are still the same
      	types, as gint == gboolean.
      
      	* ghash.h, gutils.c: g_int_equal and g_direct_equal now return
      	gboolean to be really become GEqualFunc.
      
      	* gscanner.c, testglib.c, tests/hash-test.c: Some tiny changes to
      	follow the above change.
      267b6813
  27. 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