1. 23 Feb, 2009 1 commit
  2. 27 Jul, 2008 1 commit
  3. 24 Jul, 2008 1 commit
  4. 02 Jul, 2008 1 commit
  5. 22 Jun, 2008 3 commits
    • Michael Natterer's avatar
      remove trailing whitespace from newly added gtk-doc comments and · 6347be5f
      Michael Natterer authored
      2008-06-22  Michael Natterer  <mitch@imendio.com>
      
      	* *.c: remove trailing whitespace from newly added gtk-doc
      	comments and reformatted some where they contained overly long or
      	ill-formatted lines.
      
      
      svn path=/trunk/; revision=7090
      6347be5f
    • Michael Natterer's avatar
      moved includes back to the top of the files (before gtk-doc SECTION · 5602b7e2
      Michael Natterer authored
      2008-06-22  Michael Natterer  <mitch@imendio.com>
      
      	* *.c: moved includes back to the top of the files (before gtk-doc
      	SECTION comments). Add "config.h" in all files and move system
      	included before glib includes. Remove trailing whitespace from
      	SECTION comments and did some reformatting where lines were overly
      	long, no documentation content was changed.
      
      
      svn path=/trunk/; revision=7089
      5602b7e2
    • Stefan Kost's avatar
      Move some content for gobject-unused.sgml and cleared empty entries. The · ac94781e
      Stefan Kost authored
      	* docs/reference/gobject/tmpl/gobject-unused.sgml:
      	* gobject/gobject.h:
      	* gobject/gtype.c:
      	* gobject/gtype.h:
      	  Move some content for gobject-unused.sgml and cleared empty entries.
      	  The remaining 4 ones should be checked by some else. If they are not
      	  needed. The file can be removed.
      
      
      svn path=/trunk/; revision=7087
      ac94781e
  6. 21 Jun, 2008 1 commit
    • Stefan Kost's avatar
      Migrating docs. · 005be998
      Stefan Kost authored
      	* docs/reference/gobject/tmpl/gtype.sgml:
      	* gobject/gtype.c:
      	* gobject/gtype.h:
      	* gobject/gvaluetypes.h:
      	  Migrating docs.
      
      
      svn path=/trunk/; revision=7075
      005be998
  7. 10 Jun, 2008 2 commits
  8. 05 Feb, 2008 1 commit
    • 18:52:07  Tim Janik's avatar
      added recursive mutex to protect class initialization, default interface · 0dd27821
      18:52:07 Tim Janik authored
      2008-02-05 18:52:07  Tim Janik  <timj@imendio.com>
      
              * gtype.c: added recursive mutex to protect class initialization,
              default interface initialization and per-class interface construction.
              a lock to this recursive mutex is held during user callback invocations
              such as initializers or finalizers, effectively allowing only one thread
              to run class/interface initializers/finalizers at a time.
              also made misc fixups. this fixes:
              Bug 64764 - Class initialization isn't thread safe.
      
      
      
      svn path=/trunk/; revision=6454
      0dd27821
  9. 15 Jun, 2007 1 commit
  10. 16 Dec, 2006 1 commit
  11. 30 Sep, 2006 1 commit
  12. 15 Jun, 2006 1 commit
  13. 23 Apr, 2006 1 commit
  14. 21 Apr, 2006 1 commit
  15. 01 Dec, 2005 1 commit
  16. 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
  17. 10 Sep, 2005 1 commit
  18. 08 Sep, 2005 1 commit
  19. 31 Aug, 2005 1 commit
  20. 10 Aug, 2005 1 commit
  21. 14 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make work again. · 3448a278
      Matthias Clasen authored
      2005-03-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* abicheck.sh: Make work again.
      
      	* gsourceclosure.c: Fix a typo.
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gobjectalias.h:
      
      	* gobject.symbols: Group symbols by header and source
      	file.
      	* makegobjectalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegalias.pl -def
      	* Makefile.am (gobjectaliasdef.c): Add a rule to
      	build this file.
      	* *.c: Include gobjectalias.h after the other i
              GLib headers, include gobjectaliasdef.c at the bottom.
      3448a278
  22. 01 Nov, 2004 1 commit
  23. 06 Oct, 2004 1 commit
  24. 16 Sep, 2004 2 commits
    • Matthias Clasen's avatar
      Implement the same PLT reduction technique used in GTK+: · 465c7d1e
      Matthias Clasen authored
      2004-09-16  Matthias Clasen  <mclasen@redhat.com>
      
      	Implement the same PLT reduction technique used in GTK+:
      
      	* Makefile.am: Generate gobjectalias.h from gobject.symbols.
      	(BUILT_SOURCES): Add gobjectalias.h.
      
      	* makegobjectalias.pl: Script to generate gobjectalias.h.
      
      	* *.c: Include gobjectalias.h
      465c7d1e
    • Matthias Clasen's avatar
      Add ABI control using the same technique that is used in GTK+. · 88e7569e
      Matthias Clasen authored
      2004-09-16  Matthias Clasen  <mclasen@redhat.com>
      
      	Add ABI control using the same technique that is used in GTK+.
      
      	* gobject.symbols: Master list of symbols.
      
      	* gobject.def: Removed. It is now generated from gobject.symbols.
      
      	* Makefile.am (gobject.def): Generate from gobject.symbols.
      	(TESTS): Add abicheck.sh
      	(EXTRA_DIST): Add abicheck.sh
      	(export_symbols): Don't export _-prefixed symbols.
      
      	* gtype.h:
      	* gtype.c: Move the declarations of the various _init() functions
      	to the header, and mark them as G_GNUC_INTERNAL.
      88e7569e
  25. 28 Jul, 2004 1 commit
  26. 03 Feb, 2004 1 commit
    • Tim Janik's avatar
      provide a short-cut version for this macro in case · 999a87a1
      Tim Janik authored
      Tue Feb  3 21:24:01 2004  Tim Janik  <timj@gtk.org>
      
              * gtype.h (_G_TYPE_CVH): provide a short-cut version for
              this macro in case value->g_type==checked_type for gcc, similar
              to instance and class check short-cuts. this speeds up code that
              makes frequent use of G_VALUE_HOLDS_*() (e.g. setters/getters).
      
              * gtype.c (type_data_last_unref_Wm): don't call class-cache functions
              for the uncached case, this rendered g_type_class_unref_uncached()
              useless. pointed out by Stefan Westerfeld.
      999a87a1
  27. 26 Dec, 2003 1 commit
  28. 27 Nov, 2003 1 commit
    • Tim Janik's avatar
      variant of class_peek() which works for static types only. · 0642df0a
      Tim Janik authored
      Thu Nov 27 17:53:52 2003  Tim Janik  <timj@gtk.org>
      
              * gtype.[hc]:
              (g_type_class_peek_static): variant of class_peek() which works for
              static types only.
      
              * gobject.c:
              (g_object_do_class_init): make ::notify a run-action signal.
              (g_object_newv): use g_type_class_peek_static() by default to
              speed up common code path (trades two write-locks for one read-lock).
              (g_object_disconnect):
              (g_object_connect): allow signal specification words to be
              seperated by '-'.
              (g_object_set_valist):
              (g_object_new_valist): don't leak values.
              (g_object_get_property): check property for readability.
              (g_object_set_property): check property for writability and to
              not be construct-only.
              (g_object_set_valist): check property to not be construct-only.
      0642df0a
  29. 02 Oct, 2003 2 commits
  30. 29 Sep, 2003 1 commit
  31. 26 Sep, 2003 1 commit
  32. 02 Sep, 2003 2 commits
    • Tim Janik's avatar
      added support for a "default vtable" per interface, that interface vtables · 558507bc
      Tim Janik authored
      Tue Sep  2 19:37:21 2003  Tim Janik  <timj@gtk.org>
      
              * gtype.[hc]: added support for a "default vtable" per interface,
              that interface vtables are initialized from.
              the default vtable is initialized and finalized through class_init,
              class_finalize and class_data from the interfaces GTypeInfo struct.
              (type_data_last_unref_Wm): unload child plugin before unreffing
              parent type.
      
              testifaceinit.c: minor fixups. fixed up base_init() assertions, since
              with a default vtable, base_init() may be called multiple times.
              added default initializer to iface1.
      558507bc
    • Tim Janik's avatar
      fix iterating over fundamental types. · de059b53
      Tim Janik authored
      Tue Sep  2 14:53:41 2003  Tim Janik  <timj@gtk.org>
      
              * gobject-query.c (main): fix iterating over fundamental types.
      
              * gtype.c: applied patch from owen which keeps internal
              class initialization state to maintain class and interface
              initialization happen in the order of:
              1. class' base_init
              2. interface' base_init
              =  interfaces added after here are immediately base_init-ialized
              3. class_init
              4. Interface_init
              =  interfaces added here are immediately Interface_init-ialized
      de059b53
  33. 19 Aug, 2003 1 commit
    • Tim Janik's avatar
      check private instance data after initialization. · 105adb9a
      Tim Janik authored
      Tue Aug 19 05:21:04 2003  Tim Janik  <timj@gtk.org>
      
              * testgobject.c (main): check private instance data after
              initialization.
      
              * gtype.c: for instances with private data, store the real class
              pointer in a bsearch array during class initialization.
              (g_type_instance_get_private): fetch the real class of
              an instance from the bsearch array if necessary.
      105adb9a
  34. 08 Jul, 2003 1 commit