1 2000-07-27 Tor Lillqvist <tml@iki.fi>
3 * gobject.c: No, don't mark glib_debug_objects for export here,
4 it's handled specially in gtktypeutils.c.
6 * gobject.def: Export g_type_fundamental_last (the function).
8 2000-07-26 Tor Lillqvist <tml@iki.fi>
11 * gobject.c: Mark glib_debug_objects for export/import as it is
14 Sun Jul 23 17:23:35 2000 Tim Janik <timj@gtk.org>
16 * gtype.[hc]: make g_type_fundamental_last() a function, avoiding all
17 that extern variable clutter and avoiding further problems with thread
20 2000-07-19 Tor Lillqvist <tml@iki.fi>
25 * gtype.c: Shut up Sun's picky compiler.
27 2000-07-14 Tor Lillqvist <tml@iki.fi>
29 * gobject.def: Add g_type_get_plugin.
31 Thu Jul 13 02:07:54 2000 Tim Janik <timj@gtk.org>
33 * gparam.c (g_param_value_defaults): default initialize the temporary
34 default value, instead of nuking the caller's value contents.
36 2000-07-11 Raja R Harinath <harinath@cs.umn.edu>
38 * gtype.c (g_type_get_plugin): Don't return just 0 or 1.
40 Tue Jul 11 02:48:13 2000 Tim Janik <timj@gtk.org>
42 * gtype.[hc]: removed g_type_is_dynamic() and added g_type_get_plugin().
44 2000-07-10 Tor Lillqvist <tml@iki.fi>
46 * gobject-query.c: Include ../config.h for HAVE_UNISTD_H. Use it
47 to guard inclusion of <unistd.h>.
49 * gtype.h: Fix copy-paste errors in the ifdefs on how to declare a
50 variable for export. Call the macro GOBJECT_VAR.
52 * gtype.c: Declare _g_type_fundamental_last for export here, too.
53 (type_node_any_new): Use only constant expressions for sizeof
54 operator (for instance MSVC requires this).
56 * makefile.mingw.in: Define GOBJECT_COMPILATION.
58 Sun Jul 9 21:21:46 2000 Owen Taylor <otaylor@redhat.com>
60 * genums.c: Move string.h include into the .c file
61 instead of where it was in the .h file by mistake.
63 Thu Jul 6 15:30:27 2000 Owen Taylor <otaylor@redhat.com>
65 * Makefile.am (EXTRA_DIST): dist fixes.
67 * gobject.c: Add a global variable glib_debug_objects
68 (not in header file) to control object tracing.
70 2000-07-01 Tor Lillqvist <tml@iki.fi>
72 * gobject.def: Update added and renamed entry points.
74 * makefile.mingw.in: Add gvaluetypes.o.
76 Thu Jun 29 16:02:07 2000 Owen Taylor <otaylor@redhat.com>
78 * gobject.c:include string.h for memset
79 * genums.h: include string.h for strcpy
80 * gvalue.c: include string.h for memset, memcpy.
82 Sat Jun 24 23:03:04 2000 Tim Janik <timj@gtk.org>
84 * gtype.[hc]: provide G_TYPE_CHAR, G_TYPE_UCHAR, G_TYPE_BOOLEAN,
85 G_TYPE_INT, G_TYPE_UINT, G_TYPE_LONG, G_TYPE_ULONG, G_TYPE_FLOAT,
86 G_TYPE_DOUBLE and G_TYPE_STRING fundamental types.
87 added a GTypeValueTable* pointer to GTypeInfo structure for types
88 to implement GValue handling functions.
89 GTypeValueTable contains the following members:
90 value_init(): initialize a GValue structure.
91 value_free(): free GValue structure contents (optional).
92 value_copy(): copy one GValue contents to another GValue structure of
93 collect_type: varargs collection type for the first variable argument
94 to be collected by collect_value().
95 collect_value(): variable arguments collection function (optional).
96 lcopy_type: varargs collection type for the first variable argument
97 to be location copyied by lcopy_value().
98 lcopy_value(): variable arguments location copy function (optional).
99 g_type_value_table_peek(): new function to retrive the GTypeValueTable*
100 for a type node. ValueTables get inherited from parent types, unless
101 overridden through the GTypeInfo structure. internally, GTypeValueTable
102 support means an added overhead of one pointer per static or used
104 g_type_add_class_cache_func(): provide a cache_func/data pair to be
105 called prior to a type nodes last_unref() function, this can be used
106 to prevent premature class destruction. multiple installed cache_func()
107 will be chained upon last_unref() untill one of them returns TRUE.
108 the cache_func()s have to check the class id passed in to figure whether
109 they actually want to cache the class of this type (since all classes
110 are routed through the cache_func() chain).
111 g_type_remove_class_cache_func(): remove a previously installed
112 cache_func/data pair. the cache maintained by this function has to be
113 clear when calling g_type_remove_class_cache_func() to avoid leaks.
114 g_type_class_unref_uncached(): class unref function for cache_func()
115 implementations, unreferences a class omitting the cache chain (and
116 therefore unref->cache->unref->... loops).
118 * gvaluetypes.[hc]: provide the value setters/getters for the primitive
119 fundamental types boolean, char, uchar, int, uint, long, ulong, float,
122 * gvalue.[hc]: provide G_TYPE_IS_VALUE() in terms of whether a
123 GTypeValueTable is provided for this type.
124 removed g_value_init_default(), g_value_validate(), g_value_defaults(),
125 g_value_set_default() and g_values_cmp() as these are supplied by the
127 moved g_values_exchange() into the "implementation details" section,
128 since it just provides the underlying functionality for
131 * gvaluecollector.h: renamed the varargs value container from
132 GParamCValue to GTypeCValue as the value collection methods are
133 supplied by the type system now.
134 G_PARAM_COLLECT_VALUE() and G_PARAM_LCOPY_VALUE() got renamed to
135 G_VALUE_COLLECT() and G_VALUE_LCOPY() and operate without a
136 GParamSpec structure now.
138 * genums.h: macros cleanups/fixes.
140 * genum.c: provide G_TYPE_ENUM and G_TYPE_FLAGS type
141 and assorted g_value_{s|g}et_{enum|flags}() implementations.
144 provide G_IS_VALUE_OBJECT(), G_TYPE_OBJECT ValueTable methods
145 and g_value_{s|g}et_object().
147 * gparam.[hc]: reduced class to value_set_default(),
148 value_validate() and values_cmp(). also parameters now need to fill
149 in a GType value_type; field to indicate the GValue type they
150 are handling. provide g_param_value_set_default(),
151 g_param_value_defaults(), g_param_value_validate() and
152 g_param_values_cmp().
154 * gparamspecs.[hc]: got rid of the g_value_* functions and
155 the G_IS_VALUE_* macros. adapted param spec implementations
156 according to the GParamSpecClass changes.
158 Sat Jun 10 08:38:27 2000 Tim Janik <timj@gtk.org>
160 * gtype.c (type_class_init): fetch the nth iface entry of the
161 type node in the nth loop iteration, not alwys the first.
162 bug discovered by Walt Pohl <cher@suitware.com>.
163 (type_data_finalize_class_ifaces): same here, cut and paste
166 Wed Jun 7 09:21:05 2000 Owen Taylor <otaylor@redhat.com>
168 * Makefile.am (INCLUDES): Add top_builddir so glibconfig.h
169 is found properly when build srcdir != builddir. (Patch from
172 2000-05-13 Tor Lillqvist <tml@iki.fi>
176 * gobject.rc.in: New files, for Win32 (mingw) build.
178 * Makefile.am: Add to EXTRA_DIST. Add rules to produce the
179 corresponding non-*.in files.
181 * gtype.h: (Win32:) Mark _g_type_fundamental_last for
182 export/import from DLL.
184 Fri May 5 01:15:48 2000 Tim Janik <timj@gtk.org>
186 * gtype.h: add reserved fundamental ids for gtk types (for transition
187 time). added G_TYPE_FUNDAMENTAL_MAX for gtk.
189 Mon Apr 17 20:45:50 2000 Tim Janik <timj@gtk.org>
191 * glib-gobject.c (g_object_base_class_finalize): oops, don't unset
192 n_params prior to destructing them.
194 Tue Apr 11 04:28:10 2000 Tim Janik <timj@gtk.org>
196 * fixed a couple of bugs in the initial parameter/object
197 implementations, after getting beast running on GObject and GValue.
199 Fri Apr 7 04:27:49 2000 Tim Janik <timj@gtk.org>
201 * glib-gobject.[hc]: completed parameter set/get implementations,
202 along with asyncronous parameter changed notification queue.
204 Sun Apr 2 04:54:36 2000 Tim Janik <timj@gtk.org>
206 * glib-gobject.[hc]: GObject implementation, that is facilities
207 for setting/getting quarked data and reference counting.
209 * glib-gparamspecs.[hc]: first actuall parameter implementations
210 for GLib, so far we have: char, uchar, bool, int, uint, long,
211 ulong, enum, flags, float, double, string and object. each of these
212 GParamSpecs is a new instantiatable type in its own respect,
213 so the .c file derives 13 new types from G_TYPE_PARAM and
214 defines over 50 (*2) conversion facilities.
216 * glib-gvaluecollector.h: generic varargs handling stubs for
217 GParamSpecs, private header file (does get installed for
218 inclusion into user code though).
220 * glib-gvalue.[hc]: GValue functionality implementation.
222 * glib-gparam.[hc]: basis GParamSpec implementation for
223 the virtual base type G_TYPE_PARAM.
225 * glib-genums.[hc]: enum/flags type implementation, based on
228 * glib-extra.[hc]: GLib additions, including 1.3 compatibility
229 routines and various other functions, from string manipulation
230 over list manipulation up to a unix signal GSource.
232 * glib-gtype.[hc]: GLib Type System implementation, heavily
233 based on BSE's dynamic type system.