1. 30 Nov, 2011 1 commit
  2. 18 Oct, 2011 1 commit
  3. 17 Oct, 2011 1 commit
  4. 03 Oct, 2011 1 commit
  5. 21 Sep, 2011 1 commit
  6. 29 Aug, 2011 1 commit
    • Matthias Clasen's avatar
      Spelling fixes · 1b28408b
      Matthias Clasen authored
      Spelling fixes in comments and docs, provided by
      Kjartan Maraas in bug 657336.
      1b28408b
  7. 17 Aug, 2011 1 commit
  8. 21 Jul, 2011 1 commit
    • Allison Karlitskaya's avatar
      GParam: try to avoid further invalid uses · 706b2751
      Allison Karlitskaya authored
      In an attempt to avoid some potential future abuses of the GParamSpec
      API, qualify the 'name' field of the structure as 'const' and add a
      comment noting that it is an interned string.
      
      This is a theoretical API break, but it will only ever result in
      warnings -- and even then, only if you were already doing something
      questionable.
      
      Clean up some of the warnings that were caused internally in gparam.c
      from these changes.
      706b2751
  9. 15 Jul, 2011 1 commit
  10. 09 Jun, 2011 2 commits
  11. 05 Jun, 2011 1 commit
  12. 03 Jun, 2011 1 commit
  13. 15 Mar, 2011 2 commits
  14. 27 Dec, 2010 1 commit
  15. 19 Dec, 2010 1 commit
  16. 03 Sep, 2010 1 commit
  17. 07 Jul, 2010 1 commit
  18. 23 Feb, 2009 1 commit
  19. 26 Sep, 2008 1 commit
    • Dan Winship's avatar
      add uint* -> int* casts in g_atomic_int calls to avoid gcc warnings · 7afe2bb0
      Dan Winship authored
      	* gobject.c (g_object_ref, g_object_unref)
      	(g_object_freeze_notify, g_object_notify, g_object_thaw_notify):
      	* gparam.c (g_param_spec_ref, g_param_spec_unref):
      	* gsignal.c (handler_ref, handler_unref_R): add uint* -> int*
      	casts in g_atomic_int calls to avoid gcc warnings
      
      svn path=/trunk/; revision=7551
      7afe2bb0
  20. 21 Aug, 2008 1 commit
  21. 20 Aug, 2008 1 commit
    • Johan Dahlin's avatar
      Bug 548689 – The type name for GParamSpec is wrong · 0f7359d2
      Johan Dahlin authored
      2008-08-20  Johan Dahlin  <johan@gnome.org>
      
          Bug 548689 – The type name for GParamSpec is wrong
      
          * gparam.c (g_param_type_init):
          Register the type name as GParam instead of GParamSpec.
      
      
      svn path=/trunk/; revision=7374
      0f7359d2
  22. 02 Jul, 2008 1 commit
  23. 22 Jun, 2008 2 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
  24. 21 Jun, 2008 4 commits
    • Stefan Kost's avatar
      Migrating docs. · fca3fb58
      Stefan Kost authored
      	* docs/reference/gobject/tmpl/param_value_types.sgml:
      	* gobject/gboxed.c:
      	* gobject/gboxed.h:
      	* gobject/genums.c:
      	* gobject/genums.h:
      	* gobject/gobject.c:
      	* gobject/gobject.h:
      	* gobject/gparam.c:
      	* gobject/gparam.h:
      	* gobject/gparamspecs.c:
      	* gobject/gparamspecs.h:
      	* gobject/gvaluetypes.c:
      	* gobject/gvaluetypes.h:
      	  Migrating docs.
      
      
      svn path=/trunk/; revision=7081
      fca3fb58
    • Stefan Kost's avatar
      Add --sgml-mode to allow sgml in doc-fragments (which somehow works before · f22d19fc
      Stefan Kost authored
      	* docs/reference/gobject/Makefile.am:
      	  Add --sgml-mode to allow sgml in doc-fragments (which somehow works
      	  before already).
      	* gobject/gboxed.h:
      	* gobject/gclosure.c:
      	* gobject/gparam.c:
      	* gobject/gparam.h:
      	* gobject/gtype.h:
      	  Convert character entities back. FIx some broken sgml.
      
      
      svn path=/trunk/; revision=7078
      f22d19fc
    • Stefan Kost's avatar
      Add titles back from tmpl. · bce5ebd4
      Stefan Kost authored
      	* gobject/gboxed.c:
      	* gobject/gclosure.c:
      	* gobject/genums.c:
      	* gobject/gparam.c:
      	* gobject/gvalue.c:
      	  Add titles back from tmpl.
      
      
      svn path=/trunk/; revision=7076
      bce5ebd4
    • Stefan Kost's avatar
      Migrating docs. · fb07c650
      Stefan Kost authored
      	* docs/reference/gobject/tmpl/gparamspec.sgml:
      	* gobject/gparam.c:
      	* gobject/gparam.h:
      	  Migrating docs.
      
      
      svn path=/trunk/; revision=7073
      fb07c650
  25. 23 Feb, 2008 1 commit
  26. 11 Sep, 2006 1 commit
  27. 23 Nov, 2005 1 commit
    • Tim Janik's avatar
      added floating reference count. g_object_is_floating(): · 6e5f4659
      Tim Janik authored
      Wed Nov 23 18:01:46 2005  Tim Janik  <timj@imendio.com>
      
              * gobject.[hc]: added floating reference count.
              g_object_is_floating():
              g_object_ref_sink(): new functions to deal with floating references.
              g_object_force_floating(): new funciton for object implementations
              to set the floating flag.
      
              * gobject.c (g_object_init): make objects initially floating.
      
      Wed Nov 23 17:58:13 2005  Tim Janik  <timj@gtk.org>
      
              * gparam.[hc]: added g_param_spec_ref_sink().
      6e5f4659
  28. 22 Sep, 2005 1 commit
    • Tim Janik's avatar
      fix pspec->name assignment which needs to be strdup()ed for non · b94a2fe6
      Tim Janik authored
      Thu Sep 22 12:42:12 2005  Tim Janik  <timj@gtk.org>
      
              * gparam.c (g_param_spec_internal): fix pspec->name assignment which
              needs to be strdup()ed for non G_PARAM_STATIC_NAME pspecs. this fixes
              recently introduced crashes during plugin unloading.
              also, ensure that static pspec names are canonicalized.
      
              * gsignal.h: reverted last change from matthias, we don't guarantee
              that type ids aren't mangled with G_SIGNAL_TYPE_STATIC_SCOPE anywhere.
      b94a2fe6
  29. 01 Sep, 2005 1 commit
  30. 31 Aug, 2005 2 commits
  31. 30 Jul, 2005 1 commit
    • Tim Janik's avatar
      reverted notify_mutex introduction, since this prevents parallelized · f0cfc267
      Tim Janik authored
      Sat Jul 30 21:10:26 2005  Tim Janik  <timj@gtk.org>
      
              * gobject.c: reverted notify_mutex introduction, since this prevents
              parallelized setting of object properties on different objects, and
              serves no apparent purpose (to me at least).
              g_object_real_dispose(): removed non-atomic reference count
              modifications.
              g_object_unref(): make sure the closures array is destroyed when
              destroying signal handlers.
      
              * gparam.c: cosmetic changes.
      
              * gsignal.c: comment fixup. allow 16bit blocking count.
      
              * gsignal.c: reverted GClosure related changes.
      
              * gclosure.c: reverted premature commit of atomic reference
              counting attempt.
      f0cfc267
  32. 15 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      Make refcounting threadsafe by using atomic operations. (#166020, Wim · 39ea11ce
      Matthias Clasen authored
      2005-07-15  Matthias Clasen  <mclasen@redhat.com>
      
      	Make refcounting threadsafe by using atomic
      	operations.  (#166020, Wim Taymans)
      
      	* gobject.c: Use a recursive lock to protect the
      	notify queue.
      	(g_object_unref): Get rid of g_object_last_unref and
      	do the last unref handling in g_object_unref.
      	(g_object_ref, g_object_unref): Use atomic operations.
      
      	* gsignal.c (struct _HandlerMatch): Use a full integer
      	for the ref_count field.
      	(handler_ref, handler_unref_R): Use atomic operations.
      
      	* gparam.c (g_param_spec_ref, g_param_spec_unref):
      	Use atomic operations instead of a lock to make the
      	refcounting threadsafe.
      
      	* gclosure.c (g_closure_ref, g_closure_unref): Use atomic
      	operations. This is more complicated here, since the
      	refcount is stored in a bitfield, so we also have
      	to access all other bitfield members atomically.
      
      	* gsignal.c (handlers_find): Read the meta_marshal flag
      	of the closure atomically.
      
      	* tests/Makefile.am (SUBDIRS): Add tests/refcount
      
      	* configure.in: Add tests/refcount
      
      	* tests/refcount/properties.c: Test property changes
      	from multiple threads.
      
      	* tests/refcount/signals.c: Test signal emission from
      	multiple threads.
      
      	* tests/refcount/objects.c: Test refcounting from
      	multiple threads.
      
      	* tests/refcount/objects2.c:
      	* tests/refcount/properties2.c: Tests to measure the
      	overhead of threadsafe refcounting.
      
      	* glib/giochannel.c (g_io_channel_ref, g_io_channel_unref):
      	Use atomic operations to make refcounting
      	threadsafe.  (#166020, Wim Taymans)
      39ea11ce
  33. 26 Mar, 2005 1 commit