1 Sat Jun 24 23:03:04 2000 Tim Janik <timj@gtk.org>
3 * gtype.[hc]: provide G_TYPE_CHAR, G_TYPE_UCHAR, G_TYPE_BOOLEAN,
4 G_TYPE_INT, G_TYPE_UINT, G_TYPE_LONG, G_TYPE_ULONG, G_TYPE_FLOAT,
5 G_TYPE_DOUBLE and G_TYPE_STRING fundamental types.
6 added a GTypeValueTable* pointer to GTypeInfo structure for types
7 to implement GValue handling functions.
8 GTypeValueTable contains the following members:
9 value_init(): initialize a GValue structure.
10 value_free(): free GValue structure contents (optional).
11 value_copy(): copy one GValue contents to another GValue structure of
12 collect_type: varargs collection type for the first variable argument
13 to be collected by collect_value().
14 collect_value(): variable arguments collection function (optional).
15 lcopy_type: varargs collection type for the first variable argument
16 to be location copyied by lcopy_value().
17 lcopy_value(): variable arguments location copy function (optional).
18 g_type_value_table_peek(): new function to retrive the GTypeValueTable*
19 for a type node. ValueTables get inherited from parent types, unless
20 overridden through the GTypeInfo structure. internally, GTypeValueTable
21 support means an added overhead of one pointer per static or used
23 g_type_add_class_cache_func(): provide a cache_func/data pair to be
24 called prior to a type nodes last_unref() function, this can be used
25 to prevent premature class destruction. multiple installed cache_func()
26 will be chained upon last_unref() untill one of them returns TRUE.
27 the cache_func()s have to check the type id passed in to figure whether
28 they actually wants to cache the class of this type (since any types are
29 routed through the cache_func() chain).
30 g_type_remove_class_cache_func(): remove a previously installed
31 cache_func/data pair. the cache maintained by this function has to be
32 clear when calling g_type_remove_class_cache_func() to avoid leaks.
33 g_type_class_unref_uncached(): class unref function for cache_func()
34 implementations, unreferences a class omitting the cache chain (and
35 therefore unref->cache->unref->... loops).
37 * gvaluetypes.[hc]: provide the value setters/getters for the primitive
38 fundamental types boolean, char, uchar, int, uint, long, ulong, float,
41 * gvalue.[hc]: provide G_TYPE_IS_VALUE() in terms of whether a
42 GTypeValueTable is provided for this type.
43 removed g_value_init_default(), g_value_validate(), g_value_defaults(),
44 g_value_set_default() and g_values_cmp() as these are supplied by the
46 moved g_values_exchange() into the "implementation details" section,
47 since it just provides the underlying functionality for
50 * gvaluecollector.h: renamed the varargs value container from
51 GParamCValue to GTypeCValue as the value collection methods are
52 supplied by the type system now.
53 G_PARAM_COLLECT_VALUE() and G_PARAM_LCOPY_VALUE() got renamed to
54 G_VALUE_COLLECT() and G_VALUE_LCOPY() and operate without a
55 GParamSpec structure now.
57 * genums.h: macros cleanups/fixes.
59 * genum.c: provide G_TYPE_ENUM and G_TYPE_FLAGS type
60 and assorted g_value_{s|g}et_{enum|flags}() implementations.
63 provide G_IS_VALUE_OBJECT(), G_TYPE_OBJECT ValueTable methods
64 and g_value_{s|g}et_object().
66 * gparam.[hc]: reduced class to value_set_default(),
67 value_validate() and values_cmp(). also parameters now need to fill
68 in a GType value_type; field to indicate the GValue type they
69 are handling. provide g_param_value_set_default(),
70 g_param_value_defaults(), g_param_value_validate() and
73 * gparamspecs.[hc]: got rid of the g_value_* functions and
74 the G_IS_VALUE_* macros. adapted param spec implementations
75 according to the GParamSpecClass changes.
77 Sat Jun 10 08:38:27 2000 Tim Janik <timj@gtk.org>
79 * gtype.c (type_class_init): fetch the nth iface entry of the
80 type node in the nth loop iteration, not alwys the first.
81 bug discovered by Walt Pohl <cher@suitware.com>.
82 (type_data_finalize_class_ifaces): same here, cut and paste
85 Wed Jun 7 09:21:05 2000 Owen Taylor <otaylor@redhat.com>
87 * Makefile.am (INCLUDES): Add top_builddir so glibconfig.h
88 is found properly when build srcdir != builddir. (Patch from
91 2000-05-13 Tor Lillqvist <tml@iki.fi>
95 * gobject.rc.in: New files, for Win32 (mingw) build.
97 * Makefile.am: Add to EXTRA_DIST. Add rules to produce the
98 corresponding non-*.in files.
100 * gtype.h: (Win32:) Mark _g_type_fundamental_last for
101 export/import from DLL.
103 Fri May 5 01:15:48 2000 Tim Janik <timj@gtk.org>
105 * gtype.h: add reserved fundamental ids for gtk types (for transition
106 time). added G_TYPE_FUNDAMENTAL_MAX for gtk.
108 Mon Apr 17 20:45:50 2000 Tim Janik <timj@gtk.org>
110 * glib-gobject.c (g_object_base_class_finalize): oops, don't unset
111 n_params prior to destructing them.
113 Tue Apr 11 04:28:10 2000 Tim Janik <timj@gtk.org>
115 * fixed a couple of bugs in the initial parameter/object
116 implementations, after getting beast running on GObject and GValue.
118 Fri Apr 7 04:27:49 2000 Tim Janik <timj@gtk.org>
120 * glib-gobject.[hc]: completed parameter set/get implementations,
121 along with asyncronous parameter changed notification queue.
123 Sun Apr 2 04:54:36 2000 Tim Janik <timj@gtk.org>
125 * glib-gobject.[hc]: GObject implementation, that is facilities
126 for setting/getting quarked data and reference counting.
128 * glib-gparamspecs.[hc]: first actuall parameter implementations
129 for GLib, so far we have: char, uchar, bool, int, uint, long,
130 ulong, enum, flags, float, double, string and object. each of these
131 GParamSpecs is a new instantiatable type in its own respect,
132 so the .c file derives 13 new types from G_TYPE_PARAM and
133 defines over 50 (*2) conversion facilities.
135 * glib-gvaluecollector.h: generic varargs handling stubs for
136 GParamSpecs, private header file (does get installed for
137 inclusion into user code though).
139 * glib-gvalue.[hc]: GValue functionality implementation.
141 * glib-gparam.[hc]: basis GParamSpec implementation for
142 the virtual base type G_TYPE_PARAM.
144 * glib-genums.[hc]: enum/flags type implementation, based on
147 * glib-extra.[hc]: GLib additions, including 1.3 compatibility
148 routines and various other functions, from string manipulation
149 over list manipulation up to a unix signal GSource.
151 * glib-gtype.[hc]: GLib Type System implementation, heavily
152 based on BSE's dynamic type system.