1. 31 Jan, 2014 1 commit
  2. 13 Jan, 2013 1 commit
  3. 28 Dec, 2012 1 commit
  4. 29 Feb, 2012 1 commit
  5. 25 Jan, 2012 1 commit
    • Emmanuele Bassi's avatar
      Deprecate GValueArray · 0ac9ab4e
      Emmanuele Bassi authored
      The GValueArray type was added in a time, during the Jurassic era or so,
      when GArray did not have a representable GType. The GValueArray API has
      various issues as well:
      
        - it doesn't match the other GLib array types;
        - it is not reference counted;
        - the structure is fully exposed on the stack, so it cannot be
          extended to add reference counting;
        - it cannot be forcibly resized.
      
      The nice thing is that now we have a GArray type that can replace in
      full GValueArray, so we can deprecate the latter, and reduce the
      complexity in GLib, application code, and bindings.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=667228
      0ac9ab4e
  6. 03 Nov, 2011 1 commit
  7. 11 Oct, 2011 1 commit
  8. 09 Oct, 2011 1 commit
  9. 19 May, 2011 1 commit
  10. 14 Feb, 2011 1 commit
  11. 25 Aug, 2010 1 commit
  12. 24 Aug, 2010 1 commit
  13. 17 Jun, 2010 1 commit
  14. 23 Apr, 2010 1 commit
  15. 10 Feb, 2010 1 commit
  16. 29 Apr, 2009 1 commit
  17. 21 Jun, 2008 5 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
      Migrating docs. · 0b9bf79e
      Stefan Kost authored
      	* docs/reference/gobject/tmpl/generic_values.sgml:
      	* gobject/gboxed.h:
      	* gobject/gtype.h:
      	* gobject/gvalue.c:
      	* gobject/gvalue.h:
      	* gobject/gvaluetypes.c:
      	  Migrating docs.
      
      
      svn path=/trunk/; revision=7071
      0b9bf79e
    • Stefan Kost's avatar
      Migrating docs. · 83dd5450
      Stefan Kost authored
      	* docs/reference/gobject/tmpl/gclosure.sgml:
      	* gobject/gboxed.h:
      	* gobject/gclosure.c:
      	* gobject/gclosure.h:
      	* gobject/gobject.c:
      	* gobject/gsourceclosure.c:
      	* gobject/gsourceclosure.h:
      	  Migrating docs.
      
      
      svn path=/trunk/; revision=7069
      83dd5450
    • Stefan Kost's avatar
      Migrating docs. · 86a0f779
      Stefan Kost authored
      	* docs/reference/gobject/tmpl/gboxed.sgml:
      	* gobject/gboxed.c:
      	* gobject/gboxed.h:
      	* gobject/gvaluetypes.c:
      	  Migrating docs.
      
      
      svn path=/trunk/; revision=7065
      86a0f779
  18. 15 Jun, 2007 1 commit
    • Cody Russell's avatar
      Added GRegex boxed type. (#445065, Carlos Garnacho) · 49f802b8
      Cody Russell authored
      2007-06-15  Cody Russell  <bratsche@gnome.org>
      
      	* docs/reference/gobject/tmpl/gboxed.sgml:
      	* docs/reference/gobject/gobject-sections.txt:
      	* glib/gregex.c:
      	* gobject/gboxed.[ch]:
      	* gobject/gobject.symbols: Added GRegex boxed type.
      	(#445065, Carlos Garnacho)
      
      
      svn path=/trunk/; revision=5566
      49f802b8
  19. 27 Nov, 2005 1 commit
  20. 23 Nov, 2005 1 commit
  21. 29 Apr, 2005 1 commit
  22. 09 Jan, 2004 1 commit
  23. 12 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Make the g_value_set_x_take_ownership() functions "official" part of the · c3acb9da
      Matthias Clasen authored
      2003-09-12  Matthias Clasen  <maclas@gmx.de>
      
      	Make the g_value_set_x_take_ownership() functions "official"
      	part of the API (#100948):
      
      	* gvaluetypes.[hc]: Add g_value_take_string() (synonym to the
      	now deprecated g_value_set_string_take_ownership()).
      
      	* gparam.[hc]: Add g_value_take_param() (synonym to the
      	now deprecated g_value_set_param_take_ownership()).
      
      	* gobject.[hc]: Add g_value_take_object() (synonym to the
      	now deprecated g_value_set_object_take_ownership()).
      
      	* gboxed.[hc]: Add g_value_take_boxed() (synonym to the
      	now deprecated g_value_set_boxed_take_ownership()).
      
      	* gobject/gobject-sections.txt: Add new g_value_take_x() functions.
      
      	* gobject/tmpl/param_value_types.sgml: Document new g_value_take_x()
      	functions.  (#100948)
      c3acb9da
  24. 22 Nov, 2001 1 commit
  25. 21 Nov, 2001 1 commit
    • Tim Janik's avatar
      put newly created param spec types into a global array. · 860905c4
      Tim Janik authored
      Wed Nov 21 17:23:33 2001  Tim Janik  <timj@gtk.org>
      
              * gparamspecs.[hc]: put newly created param spec types into a
              global array.
      
              * gboxed.[hc]: moved boxed types with _get_type() function here,
              for: G_TYPE_CLOSURE, G_TYPE_VALUE, G_TYPE_VALUE_ARRAY,
              G_TYPE_GSTRING.
      
              * gtype.h: removed fundamental branch APIs and derived enum
              values.
      860905c4
  26. 18 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Include gtypes.h not gobject/gtype.h · 5852eace
      Owen Taylor authored
      Sat Nov 17 14:10:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
      
      	* glib/glib-object.h gobject/*.h: Prevent headers from
      	being included directly except when compiling GObject.
      
      	* gobject/gvaluecollector.h: Include glib-object.h so that
      	this file can be included directly, since we don't
      	include it _from_ glib-object.h.
      
      	* gobject/gtype.c: Remove struct _GValue hack since we
      	now include glib/gvaluecollector.h which simply pulls in
              glib-object.h.
      5852eace
  27. 14 Nov, 2001 1 commit
    • Tim Janik's avatar
      add API for chaining: g_signal_chain_from_overridden() and · 35bf561f
      Tim Janik authored
      Tue Nov 13 23:18:10 2001  Tim Janik  <timj@gtk.org>
      
              * gsignal.[hc]: add API for chaining:
              g_signal_chain_from_overridden() and g_signal_override_class_closure(),
              implementation yet to come.
      
              * gtype.[hc], Makefile.am: provide G_LOG_DOMAIN as compile flag.
      
              * gparam.[hc]: s/g_param_get/g_param_spec_get/ for get_nick,
              get_name and get_blurb, to be consistent with the rest of the
              g_param_spec_*() functions.
      
              * gparamspecs.[hc]: got rid of bogus GClosure paramspec.
              G_TYPE_CLOSURE is a boxed type already.
      35bf561f
  28. 10 Sep, 2001 1 commit
  29. 19 Jun, 2001 1 commit
    • Tim Janik's avatar
      remove left-over usages of an anonymous GBoxed typedef. · 3b346e35
      Tim Janik authored
      Mon Jun 11 17:07:06 2001  Tim Janik  <timj@gtk.org>
      
              * gboxed.[hc]: remove left-over usages of an anonymous GBoxed typedef.
      
              * gobjectnotifyqueue.c: moved property notify queue implementation
              bits into this function.
      
              * gparam.[hc]: added g_param_spec_pool_belongings(), completed
              g_param_spec_pool_list(). added GParameter for _setv() functions.
      
              * gobject.[hc]: use gobjectnotifyqueue.h implementation now.
              got rid of properties_changed signal.
              new functions g_object_newv(), g_object_class_list_properties().
              removed "properties_changed" signal.
      
              * gtype.[hc]: added g_type_depth() to figure number of parent
              types + 1 for a type.
      
              * gsignal.h: add g_signal_connect() (as per owen's request) and
              g_signal_connect_swapped().
      3b346e35
  30. 21 Mar, 2001 1 commit
  31. 09 Mar, 2001 1 commit
    • Tor Lillqvist's avatar
      Use G_BEGIN_DECLS and G_END_DECLS. · 137d3248
      Tor Lillqvist authored
      2001-02-21  Tor Lillqvist  <tml@iki.fi>
      
      	* *.h: Use G_BEGIN_DECLS and G_END_DECLS.
      
      	* Makefile.am: Use libglib-1.3.la from top_builddir. Invoke
      	libtool with -no-undefined for Win32 and Cygwin.
      137d3248
  32. 07 Mar, 2001 1 commit
    • Tim Janik's avatar
      changed prototype of g_boxed_type_register_static() to contain an optional · 37e4b8c8
      Tim Janik authored
      Wed Mar  7 09:36:33 2001  Tim Janik  <timj@gtk.org>
      
      	* gboxed.[hc]: changed prototype of g_boxed_type_register_static()
      	to contain an optional init function and a hint at whether the
      	boxed structure uses ref counting internally.
      	added g_value_set_boxed_take_ownership().
      	made G_TYPE_BOXED an abstract value type.
      
      	* genums.[hc]: made G_TYPE_ENUM and G_TYPE_FLAGS abstract value
      	types.
      
      	* glib-genmarshal.c: argument type changes, preparation for third-party
      	arg specification.
      
      	* gobject.[hc]: cleaned up get/set property code.
      	added g_strdup_value_contents() to improve warnings.
      
      	* gparam.[hc]: added g_param_value_convert(), taking over responsibility
      	of the old g_value_convert(). added G_PARAM_LAX_VALIDATION flag so
      	validation alterations may be valid a part of the property setting
      	process.
      
      	* gparamspecs.[hc]: made value comparisons stable (for sort applications).
      	added GParamSpecValueArray, a param spec for value arrays and
      	GParamSpecClosure. nuked the value exchange functions and
      	GParamSpecCCallback.
      
      	* gtype.[hc]: catch unintialized usages of the type system with
      	g_return_val_if_uninitialized(). introduced G_TYPE_FLAG_VALUE_ABSTRACT
      	to flag types that introduce a value table, but can't be used for
      	g_value_init(). cleaned up reserved type ids.
      
      	* gvalue.[hc]: code cleanups and saner checking.
      	nuked the value exchange API. implemented value transformations, we
      	can't really "convert" values, rather transforms are an anylogy to
      	C casts, real conversions need a param spec for validation, which is
      	why g_param_value_convert() does real conversions now.
      
      	* gvaluearray.[hc]: new files that implement a GValueArray, a struct
      	that can hold inhomogeneous arrays of value (to that extend that it
      	also allowes undefined values, i.e. G_VALUE_TYPE(value)==0).
      	this is exposed to the type system as a boxed type.
      
      	* gvaluetransform.c: new file implementing most of the former value
      	exchange functions as single-sided transformations.
      
      	* gvaluetypes.[hc]: nuked G_TYPE_CCALLBACK, added
      	g_value_set_string_take_ownership().
      
      	* *.h: s/G_IS_VALUE_/G_VALUE_HOLDS_/.
      
      	* *.[hc]: many fixes and cleanups.
      
      	* many warning improvements.
      
      Tue Feb 27 18:35:15 2001  Tim Janik  <timj@gtk.org>
      
      	* gobject.c (g_object_get_valist): urg, pass G_VALUE_NOCOPY_CONTENTS
      	into G_VALUE_LCOPY(), this needs proper documenting.
      
      	* gparam.c: fixed G_PARAM_USER_MASK.
      
      	* gtype.c (type_data_make_W):
      	(type_data_last_unref_Wm): fixed invalid memory freeing.
      
      	* gobject.c (g_object_last_unref): destroy signal handlers associated
      	with object, right before finalization.
      
      	* gsignal.c (g_signal_parse_name): catch destroyed nodes or signals
      	that don't actually support details.
      
      	* gobject.[hc]: got rid of property trailers. nuked GObject
      	properties "data" and the "signal" variants.
      	(g_object_connect): new convenience function to do multiple
      	signal connections at once.
      	(g_object_disconnect): likewise, for disconnections.
      
      	* gparam.[hc] (g_param_spec_pool_lookup): took out trailer support.
      
      	* gvalue.[hc]: marked g_value_fits_pointer() and g_value_peek_pointer()
      	as private (the latter got renamed from g_value_get_as_pointer()).
      
      Wed Mar  7 09:32:06 2001  Tim Janik  <timj@gtk.org>
      
              * glib-object.h: add gvaluearray.h.
      
              * gstring.[hc]: fixup naming of g_string_sprint*.
      
              * gtypes.h: fixed GCompareDataFunc naming.
      
      Wed Mar  7 09:33:27 2001  Tim Janik  <timj@gtk.org>
      
              * gobject/Makefile.am: shuffled rules to avoid excessive
              rebuilds.
      
              * gobject/gobject-sections.txt: updates.
      
              * gobject/tmpl/*: bunch of updates, added another patch
              from Eric Lemings <eric.b.lemings@lmco.com>.
      37e4b8c8
  33. 25 Oct, 2000 2 commits
    • Tim Janik's avatar
      added g_value_set_static_string(). · 900d0ed0
      Tim Janik authored
      Thu Oct 26 00:30:27 2000  Tim Janik  <timj@gtk.org>
      
              * gvaluetypes.[hc]: added g_value_set_static_string().
      
              * gboxed.[hc]: const corrections. added g_value_set_static_boxed().
      900d0ed0
    • Tim Janik's avatar
      added newly added gobject/ headers. · ee23c09e
      Tim Janik authored
      Tue Oct 24 22:09:14 2000  Tim Janik  <timj@gtk.org>
      
              * glib-object.h: added newly added gobject/ headers.
      
              * gmesage.c: print g_message() output to stderr instead of stdout.
      
      Wed Oct 25 20:27:02 2000  Tim Janik  <timj@gtk.org>
      
              * gtype.c (g_type_free_instance): for the moment, freeing object
              structures will fill their memory portion with 0xAA. there's a
              FIXME there, remove this line at a later point.
      
      Tue Oct 24 23:10:26 2000  Tim Janik  <timj@gtk.org>
      
              * glib-genmarshal.1:
              * glib-genmarshal.c: added publically installed marshaller generator.
      
              * gtype.h: added G_TYPE_INSTANCE_GET_INTERFACE() to retrive a certain
              interface VTable from instances.
      
      Mon Oct 23 08:28:15 2000  Tim Janik  <timj@gtk.org>
      
              * gobject.[hc]: new functions for closure maintenance:
              (g_object_watch_closure): maintain validity of the object and
              the closure for objects that are used as data part of a closure.
              (g_cclosure_new_object): convenience function to create C closures
              that have an object as data argument.
              (g_closure_new_object): convenience function to create closures
              that have an object as data argument.
      
              * gclosure.[hc]: implementation of GClosure mechanism.
              a closure is basically an encapsulation of a callback function
              and its environment. ideally, most places supporting callback
              functions will simply take a GClosure* pointer and thus unify
              callback environments wrg destroy notification etc.
              GClosure provides destroy notifiers for arbitrary data pointers,
              reference counting, invalidation notification (it can be invalidated
              which is merely a deactivate state) and a marshallinbg abstraction.
              GCClosure is also provided in these files, they present a specialized
              GClosure implementation for C language callbacks.
      
              * genum.c: macro cleanups.
      
              * gboxed.[hc]: new files, for boxed type abstraction.
              (g_boxed_copy): copy a boxed structure
              (g_boxed_free): free a boxed structure
              (g_value_set_boxed):
              (g_value_get_boxed): standard GValue functions for boxed types
              (g_boxed_type_register_static): convenience function for easy
              introduction of new G_TYPE_BOXED derivatives.
      
              * gparam.[hc]: introduced g_param_type_register_static(), a short hand
              for creation of new GParamSpec derived types.
      
              * gtype.[hc]: many fixes, introduced ability to flag individual
              type nodes as ABSTRACT upon registration, added value_peek_pointer()
              to the value table to peek at GValue contents as a pointer for types
              that support this. fixed up GValue checks.
      
              * gvalue.[hc]: added g_value_fits_pointer() and g_value_get_as_pointer()
              to peek at the value contents as pointer.
      
              * *.[hc]: adaptions to type macro fixes and changes in the type
              registration API.
      
              * many const corrections over the place.
      
      Sat Oct 21 02:49:56 2000  Tim Janik  <timj@gtk.org>
      
              * gtype.c (g_type_conforms_to): this function basically behaves like
              and is_a check, except that it _additionally_ features interfaces
              for instantiatable types. enforce this in the second branch as well
              (`type' conforms_to `type') even if `type' is not an interface type.
      
      Fri Oct 20 15:31:04 2000  Tim Janik  <timj@gtk.org>
      
              * gvaluetypes.[hc]: added G_TYPE_POINTER implementation from jrb.
      
              * gtype.[hc]:
              * gobject.c:
              * gvaluetypes.c: added GTypeValueTable.value_peek_pointer and
              suitable implementations of this for G_TYPE_STRING, G_TYPE_OBJECT
              and G_TYPE_POINTER.
      
      Mon Aug 21 04:13:37 2000  Tim Janik  <timj@gtk.org>
      
              * gbsearcharray.[hc]: long standing needed generic implementation
              of a binary searchable, sorted and dynamically sized array.
      ee23c09e