use -FImsvc_recommended_pragmas.h
[platform/upstream/glib.git] / gobject / ChangeLog
1 2002-01-05  Hans Breuer  <hans@breuer.org>
2
3         * makefile.msc.in : use -FImsvc_recommended_pragmas.h
4
5 Fri Jan  4 04:36:46 2002  Tim Janik  <timj@gtk.org>
6
7         * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): turn this into a GType,
8         so negating it works on 64bit platforms.
9
10 2001-12-21  Tor Lillqvist  <tml@iki.fi>
11
12         * gobject.def: Add g_signal_get_invocation_hint.
13
14 Tue Dec 18 21:39:57 2001  Tim Janik  <timj@gtk.org>
15
16         * testoverride.c: added some assertions to test
17         g_signal_get_invocation_hint().
18
19         * gsignal.[hc]: remove signal_id argument from
20         g_signal_chain_from_overridden(), the parameters are assumed to match
21         the innermost signal currently in emission for this instance.
22         added g_signal_get_invocation_hint() to figure the invocation hint
23         of the innermost signal emission of an instance.
24
25         * gsignal.c (g_signal_list_ids): fix G_BSEARCH_ARRAY_NODES() to
26         access a bsearch array and not a pointer to it (discovered by
27         Sven Neumann).
28
29 2001-12-17  Anders Carlsson  <andersca@gnu.org>
30
31         * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit
32         to (1 << 0) instead of (1 << 30). 
33
34 2001-12-14  James Henstridge  <james@daa.com.au>
35
36         * Makefile.am: add rules to build it.
37
38         * testoverride.c: test program for closure override/chaining.
39
40 Thu Dec 13 08:03:17 2001  Tim Janik  <timj@gtk.org>
41
42         * gsignal.c: implemented closure chaining.
43
44 2001-12-08  Christopher Blizzard  <blizzard@redhat.com>
45
46         * gsignal.h (g_signal_connect): Explicitly add a cast to the last
47         argument so that the macro will work from C++.
48
49 2001-12-06  Tor Lillqvist  <tml@iki.fi>
50
51         * makefile.mingw.in (gobject_OBJECTS): Add gsourceclosure.o.
52
53 Mon Nov 26 09:55:12 2001  Tim Janik  <timj@gtk.org>
54
55         * gtype.h: typedef GType to gulong instead of gsize, if possible.
56
57         * gtype.c: fixups for GType being sizeof(long) wide (changed
58         UINT casts).
59         * gsignal.c:
60         * gclosure.c:
61         * gparam.c: likewise.
62
63 Sun Nov 25 22:33:32 2001  Tim Janik  <timj@gtk.org>
64
65         * gtype.h: removed enum GTypeFundamentals. use macros
66         to provide the constant fundamental type IDs, so they
67         all return numbers of type GType, and not int.
68         sizeof(GTypeFundamentals) < sizeof(GType) problem reported
69         and fix sugegsted by Havoc.
70
71 2001-11-23  Hans Breuer  <hans@breuer.org>
72
73         * gobject.def : updated externals
74
75 Mon Nov 19 14:35:56 2001  Owen Taylor  <otaylor@redhat.com>
76  
77         * *.h: Improve the detection of invalid includes by moving
78         the test outside the duplicate include guards.
79  
80         * gsourceclosure.c (g_source_set_closure): Doc fix.
81
82 Thu Nov 22 03:30:57 2001  Tim Janik  <timj@gtk.org>
83
84         * gvalue.h (G_TYPE_IS_VALUE): use g_type_check_is_value_type()
85         instead of g_type_value_table_peek().
86
87         * gtype.[hc] (type_check_is_value_type_U): speed up check
88         LOCK-less by caching lookups in node->mutatable_has_value_table.
89
90         * gtype.[hc]: removed locks where possible. partly based on
91         patches from owen and alex.
92
93 Thu Nov 22 00:26:26 2001  Tim Janik  <timj@gtk.org>
94
95         * gtype.[hc]: provide G_TYPE_FUNDAMENTAL_SHIFT and
96         g_type_fundamental_next() to return next usable fundamental
97         type. use TypeNode pointers as type IDs.
98         
99 2001-11-22  Tor Lillqvist  <tml@iki.fi>
100
101         * makefile.mingw.in (DEFINES): Set G_LOG_DOMAIN as in Makefile.am.
102
103         * gparamspecs.h (GOBJECT_VAR): Can't use GLIB_VAR here, as that
104         makes sense only when building libglib. GOBJECT_VAR is similar for
105         libgobject.
106
107         * gobject.def: Add g_param_spec_types, remove
108         g_type_fundamental_branch_last.
109
110 Wed Nov 21 17:23:33 2001  Tim Janik  <timj@gtk.org>
111
112         * gparamspecs.[hc]: put newly created param spec types into a
113         global array.
114
115         * gboxed.[hc]: moved boxed types with _get_type() function here,
116         for: G_TYPE_CLOSURE, G_TYPE_VALUE, G_TYPE_VALUE_ARRAY,
117         G_TYPE_GSTRING.
118
119         * gtype.h: removed fundamental branch APIs and derived enum
120         values. define GType as gsize.
121
122 2001-11-19  jacob berkman  <jacob@ximian.com>
123
124         * gobjectnotifyqueue.c: include glib-object.h rather than
125         gobject/gobject.h
126
127 2001-11-16  Mark McLoughlin  <mark@skynet.ie>
128
129         * glib-mkenums.in: allow the enums name to not be on the same
130         line as the trailing '}'. (#64714)
131
132 2001-11-18  Hans Breuer  <hans@breuer.org>
133
134         * makefile.msc.in : remove g_log_domain_gruntime usage
135
136 Sat Nov 17 18:14:40 2001  Owen Taylor  <otaylor@redhat.com>
137
138         * glib-genmarshal.c: Exit with non-zero exit status if
139         any errors were encountered.
140
141         * glib-genmarshal.c: Instead of generating gobject/gmarshal.h
142         #include only for the header, generate glib-object.h 
143         #include for both the header and body. (#63834)
144
145         * glib-genmarshal.c: Generate include guards around the 
146         content unless --nostdinc is specified.
147
148 2001-11-17  Tor Lillqvist  <tml@iki.fi>
149
150         * gobject.def: Add g_pointer_type_register_static.
151
152 2001-11-15  Tor Lillqvist  <tml@iki.fi>
153
154         * gobject.def: Reflect recent changes.
155
156 Tue Nov 13 23:18:10 2001  Tim Janik  <timj@gtk.org>
157
158         * gsignal.[hc]: add API for chaining:
159         g_signal_chain_from_overridden() and g_signal_override_class_closure(),
160         implementation yet to come.
161
162         * gtype.[hc], Makefile.am: provide G_LOG_DOMAIN as compile flag.
163         
164         * gparam.[hc]: s/g_param_get/g_param_spec_get/ for get_nick,
165         get_name and get_blurb, to be consistent with the rest of the
166         g_param_spec_*() functions.
167         
168         * gparamspecs.[hc]: got rid of bogus GClosure paramspec.
169         G_TYPE_CLOSURE is a boxed type already.
170         
171 Tue Nov 13 22:16:41 2001  Tim Janik  <timj@gtk.org>
172
173         * gtype.[hc]: API cleanups.
174         remove g_type_check_flags(), provide g_type_test_flags() as
175         a *private* function.
176         s/g_type_check_is_a/g_type_check_class_is_a/, private function.
177         s/g_type_instance_is_a/g_type_check_instance_is_a/, also private.
178
179 Tue Nov 13 20:02:47 2001  Tim Janik  <timj@gtk.org>
180
181         * gparam.h: fix standard type macros.
182
183 Wed Nov  7 00:56:00 2001  Tim Janik  <timj@gtk.org>
184
185         * gclosure.h: provide G_CLOSURE_N_NOTIFIERS() for people that need
186         to walk the notifier list (puhh, black magic, stay-away-warning ;).
187
188 Mon Nov  5 18:59:08 2001  Tim Janik  <timj@gtk.org>
189
190         * gobject.h: 
191         * gsignal.h: we need signal.h for G_BREAKPOINT().
192
193 Sun Nov  4 14:01:23 2001  Owen Taylor  <otaylor@redhat.com>
194
195         * gvaluetypes.[ch]: Add a function g_pointer_type_register_static()
196         to register a type derived from G_TYPE_POINTER.
197
198 2001-11-03  Hans Breuer  <hans@breuer.org>
199
200         * makefile.msc.in : gobject-query needs gmarshal.[hc,stings]
201         so build it after them. Add gsourceclosure.obj. 
202
203         * gobject.def : removed duplicates, added mising
204
205 Mon Oct 29 11:05:15 2001  Owen Taylor  <otaylor@redhat.com>
206
207         * glib-mkenums.in: Generate glib-mkenums from glib-mkenums.in, 
208         substituting in path to perl.  (#63093, Dan Winship)
209
210         * Makefile.am (bin_SCRIPTS): Remove hack to copy glib-mkenums
211         from srcdir.
212
213 2001-10-26  Tor Lillqvist  <tml@iki.fi>
214
215         * makefile.mingw.in: When running glib-genmarshal, set PATH to
216         include ../glib.
217
218 2001-10-23  Tor Lillqvist  <tml@iki.fi>
219
220         * Makefile.am: (Win32): If we have built the MSVC import library,
221         install it. Install the gcc import library. Also support
222         uninstall.
223
224 2001-10-13  Matthias Clasen  <matthiasc@poet.de>
225
226         * glib-genmarshal.1, glib-mkenums.1: Typo fixes.
227
228 Fri Oct 12 18:40:18 2001  Tim Janik  <timj@gtk.org>
229
230         * cosmetic fixups.
231
232 Wed Oct 10 17:25:22 2001  Joshua N Pritikin  <vishnu@pobox.com>
233
234         * glib-genmarshal.c gparamspecs.[ch] gtype.[ch] gvalue.h
235         gvaluecollector.h gvaluetypes.[ch]: Fill in missing support for
236         gint64 & guint64 (#59254).
237         
238         * Unconditionalize same (compile with or without G_HAVE_INT64).
239
240 Wed Oct 10 15:38:58 2001  Joshua N Pritikin  <vishnu@pobox.com>
241
242         * gparamspecs.h (G_IS_PARAM_SPEC_FLAGS): Fix order of
243         *_PARAM_SPEC_ULONG defines.
244
245 Thu Oct  4 01:10:52 2001  Owen Taylor  <otaylor@redhat.com>
246
247         * gparamspecs.h: Add missing G_HAVE_GINT64 conditionalization.
248
249 Wed Oct  3 16:02:24 2001  Owen Taylor  <otaylor@redhat.com>
250
251         * glib-genmarshal.c gparamspecs.[ch] gvalue.h 
252         gobject/gvaluetypes.[ch]: Add support for G_TYPE_INT64
253         and storing it in GValue (Patch from Mathieu Lacage, #59254.)
254
255 2001-10-03  jacob berkman  <jacob@ximian.com>
256
257         * gtype.c (type_iface_retrieve_holder_info_Wm): 
258         (type_iface_vtable_init_Wm): 
259         (type_iface_vtable_finalize_Wm): 
260         (g_type_class_ref): 
261
262         * gobject.c (g_object_get_property): s/retrive/retrieve/
263
264 2001-09-25  Tor Lillqvist  <tml@iki.fi>
265
266         * Makefile.am: Use new macros for .def file, and check for
267         MS_LIB_AVAILABLE, new rule to build MS import library.
268
269         * makefile.msc.in: Use same DLL and import library names as
270         libtool.
271         
272 2001-09-21  Hans Breuer  <hans@breuer.org>
273
274         * gobject.def : updated externals
275
276 2001-09-19  Tor Lillqvist  <tml@iki.fi>
277
278         * gobject.rc.in: Correct InternalName and OriginalFilename to
279         match what we actually produce.
280
281 Tue Sep 18 23:09:02 2001  Tim Janik  <timj@gtk.org>
282
283         * gparam.[hc]: rename *nick and *blurb fields to catch
284         direct accesses in third party code.
285         provide g_param_get_nick(), g_param_get_blurb() and
286         g_param_get_name() accessors.
287
288 Mon Sep 10 20:31:37 2001  Tim Janik  <timj@gtk.org>
289
290         * gobject.[hc]: removed extraneous GObject* returns from a
291         couple functions that are very unlikely to be used in nested.
292         changed gpointer->GObject* for a couple return values/arguments.
293         this fixes #50206.
294
295 Mon Sep 10 19:27:47 2001  Tim Janik  <timj@gtk.org>
296
297         * gtype.[hc]:
298         g_type_add_interface*(): implement the ability to add an interface to
299         a type whose parents already conform to this interface.
300         such "overriding" interfaces, when initialized, are not just initialized
301         with 0, but with a copy of the interface they override.
302         g_type_interface_peek_parent(): new function, return the interface
303         that this interface "overrides", if any.
304
305         * testgruntime.c: test new interface stuff.
306
307 2001-09-10  Alex Larsson  <alexl@redhat.com>
308
309         * gobject/gboxed.[ch]:
310         * gobject/gsourceclosure.c:
311         Removed is_refcounted and GBoxedInitFunc from
312         g_boxed_type_register_static().
313
314 Sat Sep  8 14:13:57 2001  Owen Taylor  <otaylor@redhat.com>
315
316         * gobject/Makefile.am: Move gbsearcharray.[ch] to glib
317         as a private ininstalled header.
318
319 Tue Sep  4 22:24:48 2001  Matthias Clasen  <matthiasc@poet.de>
320
321         * gobject.c (g_object_base_class_finalize): typo fix.
322
323 Tue Sep  4 01:49:18 2001  Tim Janik  <timj@gtk.org>
324
325         * gsourceclosure.c: make closure_callback_funcs static,
326         added some g_return_if_fail() statements.
327
328 Mon Aug 27 14:55:27 2001  Owen Taylor  <otaylor@redhat.com>
329
330         * gsourceclosure.[ch] (g_source_set_closure): Implement.
331
332         * gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition.
333
334 2001-08-17  James Henstridge  <james@daa.com.au>
335
336         * gobject.c (WeakRefStack): add an object member to the structure.
337         (weak_refs_notify): pass wstack->object as extra argument to
338         notify functions.
339         (g_object_weak_ref): set wstack->object when initialising
340         WeakRefStack.
341
342         * gobject.h (GWeakNotify): add second argument to prototype which
343         gives the pointer to where the object that is being disposed of
344         was.
345
346 Wed Jul 18 19:42:31 2001  Tim Janik  <timj@gtk.org>
347
348         * gtype.h: if __GNUC__ is defined, inline a test for an exact type
349         match for instances and classes in G_TYPE_CHECK_INSTANCE_TYPE() and
350         G_TYPE_CHECK_CLASS_TYPE() before calling g_type_instance_is_a().
351
352 Sun Aug 12 02:07:10 2001  Tim Janik  <timj@gtk.org>
353
354         * gvaluearray.[hc]: fix preallocation logic, support DISABLE_MEM_POOLS
355         properly, group value allocations.
356         (g_value_array_new): fix semantic of n_prealloced argument, so it's
357         really just about preallocation space.
358
359 2001-07-23  Padraig O'Briain <Padraig.Obriain@Sun.COM>
360         
361         * gobject/gobjectnotifyqueue.c: fix unconditional check of
362         first GParamSpec in g_object_notify_queue_thaw(); to prevent
363         property notification being lost.
364
365 2001-08-06  Sven Neumann  <sven@gimp.org>
366
367         * gobject.[ch]: 
368         added new functions g_object_[add|remove]_weak_pointer().
369
370 2001-08-01  Sven Neumann  <sven@gimp.org>
371
372         * gsignal.h: added convenience macro g_signal_connect_after().
373
374 2001-07-29  Hans Breuer  <hans@breuer.org>
375
376         * gobject.def : updated externals
377
378 2001-07-20  Hans Breuer  <hans@breuer.org>
379
380         * gobject.def : updated externals
381
382         * makefile.msc.in : reflect glib move
383
384 Tue Jul 10 18:50:16 2001  Tim Janik  <timj@gtk.org>
385
386         * gsignal.h (struct _GSignalQuery): fix misplaced comment.
387
388 Mon Jul  2 07:17:47 2001  Tim Janik  <timj@gtk.org>
389
390         * gobject.c (g_object_weak_ref): 
391         (g_object_watch_closure): congrats tim, introducing of-by-one
392         errors like on my very first day of C programming.
393
394 Sat Jun 30 11:07:00 2001  Tim Janik  <timj@gtk.org>
395
396         * gobject.[hc]: provide weak_ref/weak_unref functions,
397         invoked from ->dispose. renamed ->shutdown() to ->dispose(),
398         provide "public" API entry here: g_object_run_dispose(), this
399         fucntion should _only_ be called from object system implementations
400         (e.g. gtkobject.c) if at all.
401
402         * gtypemodule.c (g_type_module_dispose): s/shutdown/dispose/
403
404         * gsignal.h: removed compat aliases.
405
406         * gobject.c (g_object_connect): support data objects.
407         
408 Sat Jun 30 13:17:12 2001  Owen Taylor  <otaylor@redhat.com>
409
410         * testgruntime.c (test_object_class_init)
411           gobject.c (g_object_do_class_init): 
412           g_signal_newc() => g_signal_new().
413
414 Thu Jun 28 22:49:40 2001  Owen Taylor  <otaylor@redhat.com>
415
416         * gtype.[ch] gobject-query.c testgruntime.c: Remove
417         debug flag argument to g_type_init() and add
418         g_type_init_with_debug_flags().
419
420 Thu Jun 28 16:42:49 2001  Tim Janik  <timj@gtk.org>
421
422         * gsignal.c (g_signal_lookup): 
423         (g_signal_list_ids): give elaborate warnings about invalid types,
424         non-instantiatable types and unloaded types that we can't operate on.
425
426         * gparam.[hc]: g_param_spec_pool_belongings() ->
427         g_param_spec_pool_list_owned().
428
429         * gsignal.[hc]: renamed:
430         g_signal_newc -> g_signal_new
431         g_signal_disconnect_by_func -> g_signal_handlers_disconnect_by_func
432         g_signal_block_by_func -> g_signal_handlers_block_by_func
433         g_signal_unblock_by_func -> g_signal_handlers_unblock_by_func
434         added GConnectType to simplify (..gboolean swapped, gboolean after)
435         args.
436
437         * gobject.[hc]: changed prototypes accordingly.
438
439 2001-06-22  Hans Breuer  <hans@breuer.org>
440
441         * gobject.def : updated externals
442
443         * gobjectnotifyqueue.c : include <string.h> for memset ()
444
445 Thu Jun 21 02:43:10 2001  Tim Janik  <timj@gtk.org>
446
447         * gparamspecs.h: s/long/int/ for default_value in enum and flags
448         pspecs.
449
450 Wed Jun 20 03:59:42 2001  Tim Janik  <timj@gtk.org>
451
452         * gtype.[hc]: added debugging variants g_type_name_from_class(),
453         g_type_name_from_instance().
454
455 Mon Jun 11 17:07:06 2001  Tim Janik  <timj@gtk.org>
456
457         * gboxed.[hc]: remove left-over usages of an anonymous GBoxed typedef.
458
459         * gobjectnotifyqueue.c: moved property notify queue implementation
460         bits into this function.
461
462         * gparam.[hc]: added g_param_spec_pool_belongings(), completed
463         g_param_spec_pool_list(). added GParameter for _setv() functions.
464
465         * gobject.[hc]: use gobjectnotifyqueue.h implementation now.
466         got rid of properties_changed signal.
467         new functions g_object_newv(), g_object_class_list_properties().
468         removed "properties_changed" signal.
469
470         * gtype.[hc]: added g_type_depth() to figure number of parent
471         types + 1 for a type.
472
473         * gsignal.h: add g_signal_connect() (as per owen's request) and
474         g_signal_connect_swapped().
475
476 2001-06-13  Havoc Pennington  <hp@redhat.com>
477
478         * Makefile.am (progs_LDADD): link to ./libgobject-1.3.la
479         since an installed libgobject was somehow being found; think 
480         it's a libtool bug, but this workaround should do for now.
481
482 2001-06-12  Havoc Pennington  <hp@redhat.com>
483
484         * Makefile.am (glib-mkenums): don't put $(srcdir)/glib-mkenums in
485         bin_SCRIPTS, that breaks make install. Instead put 'glib-mkenums'
486         in bin_SCRIPTS and cp it into builddir
487
488 Thu May 31 17:56:47 2001  Owen Taylor  <otaylor@redhat.com>
489
490         * gobject-query.c: Fix mispelling in help output.
491         (#53952, Skip Montanaro)
492
493 2001-05-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
494
495         * Makefile.am (EXTRA_DIST): Really distribute glib-mkenums, now
496         that bin_SCRIPTS doesn't seem to care about doing so anymore.
497
498 Mon May 28 06:51:24 2001  Tim Janik  <timj@gtk.org>
499
500         * gsignal.c (signal_emit_unlocked_R): fixed bad faux-pass, forgot
501         to release signal lock when restarting emissions.
502
503 Sun May 27 04:52:28 2001  Tim Janik  <timj@gtk.org>
504
505         * gsignal.[hc] (g_signal_stop_emission_by_name): added variant
506         to stop signal emissions through a detailed_signal string.
507
508         * gsignal.c (signal_emit_R) (g_signal_emit_valist): account for
509         the fact that g_value_* functions may cause signal emissons by
510         unlocking the global signal system lock around g_value_* functions.
511         (signal_emit_unlocked_R): renamed this from signal_emit_R() to reflect
512         that this functions acquires the lock on its own now.
513
514 2001-05-24  Hans Breuer  <hans@breuer.org>
515
516         * makefile.msc.in : changed depndencies to build glib-genmarshal
517         first and statically linked with glib, which makes it independent
518         from the installed glib version. Added new object files to build.
519
520         * gobject.def : updated
521
522 Thu May 24 08:52:02 2001  Owen Taylor  <otaylor@redhat.com>
523
524         * gobject.[ch] (g_value_set_object): gpointer, not
525         gpointer *.
526
527 2001-05-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
528
529         * Makefile.am (bin_SCRIPTS): made 'make distcheck' happy.
530
531         * gobject.def: Removed g_param_spec_stringc.
532
533 Tue May 22 02:46:13 2001  Tim Janik  <timj@gtk.org>
534
535         * gobject.c (g_value_set_object): make g_value_set_object()
536         take a gpointer v_object so people don't need to G_OBJECT()
537         cast NULL pointers (C code convenience).
538
539 Mon May 14 01:49:01 2001  Tim Janik  <timj@gtk.org>
540
541         * gsignal.[hc] (g_signal_handler_is_connected): new function
542         to check whether a handler is still connected to an instance
543         (by handler id).
544
545 Thu May 10 14:00:48 2001  Tim Janik  <timj@gtk.org>
546
547         * gparamspecs.[hc]: removed g_param_spec_stringc() in lack of
548         evidence of public need.
549
550         * gsignal.h: added g_signal_disconnect_by_func(),
551         g_signal_block_by_func() and g_signal_unblock_by_func() convenience
552         macros as per owen's request.
553
554         * gtype.c (SIZEOF_FUNDAMENTAL_INFO): align sizeof (GTypeFundamentalInfo)
555         to size of longs and pointers.
556
557 2001-05-05  James Henstridge  <james@daa.com.au>
558
559         * Makefile.am: glib-mkenums is not a compiled program, so shouldn't
560         be in the bin_PROGRAMS primary.  Put it in bin_SCRIPTS instead, and
561         removed the glib_mkenums_SOURCES var.
562
563 Thu May  3 06:10:23 2001  Owen Taylor  <otaylor@redhat.com>
564
565         * gobject.c (g_object_set_[q]data_full): Make types of ternary
566         operator correspond. (Fixes compilation errors with Sun CC,
567         #52230)
568
569 Mon Apr 30 20:03:56 2001  Tim Janik  <timj@gtk.org>
570
571         * glib-mkenums (usage): removed \v escaping, newer perl versions don't
572         support this, and it'S probably useless anyways.
573
574 Sat Apr 28 23:39:42 2001  Tim Janik  <timj@gtk.org>
575
576         * gsignal.[hc]: made signal handler and emission hook ids gulongs.
577         (signal_handlers_foreach_matched_R): only invoke callback for handlers
578         that are not disconnected (id>0).
579         (signal_emit_R): prevent invocation of signal handlers during the
580         emission they were connected within.
581         
582         * glib-mkenums: publically installed perl-script to parse C code
583         enums and generate descriptions thereof.
584         * glib-mkenums.1: assorted man page.
585         
586 2001-04-19  Havoc Pennington  <hp@redhat.com>
587
588         * gobject.c (g_object_get_valist): We were returning junk memory
589         here, because we didn't copy the value (G_VALUE_NOCOPY_CONTENTS
590         passed to G_VALUE_LCOPY) and then we freed the GValue immediately
591         after. Removed G_VALUE_NOCOPY_CONTENTS from here; need a
592         G_VALUE_STEAL_CONTENTS or the like if we want this optimization.
593
594 Wed Apr 18 09:46:56 2001  Owen Taylor  <otaylor@redhat.com>
595
596         * gobject.c gsignal.c: Change C++ comments for FIXME's to
597         C comments. (Patch from Andres Salomon)
598
599 2001-04-14  Hans Breuer  <hans@breuer.org>
600
601         * gobject.def : updated
602
603 Mon Apr  9 18:56:15 2001  Tim Janik  <timj@gtk.org>
604
605         * gclosure.c (g_closure_invoke): only require marshal/meta_marshal if
606         we're valid (about to actually do marshalling).
607
608 Tue Apr  3 20:23:24 2001  Tim Janik  <timj@gtk.org>
609
610         * NEWS: updates.
611
612 Tue Apr  3 14:06:00 2001  Tim Janik  <timj@gtk.org>
613
614         * gparam.[hc]: added g_param_spec_pool_list() to list pspecs per
615         owner_type. the pspecs are not referenced, so the caller is
616         supposed to have some idea about owner_type not randomly
617         nuking his pspec's. if this is going to provide problems in
618         the future, we can either auto-ref the pspecs, or add a
619         _foreach variant, though the latter would have to invoke
620         the callback while pspec's mutex is acquired, so i just
621         went for the _list variant for now.
622
623         * gclosure.h (G_CALLBACK): made GCallback a void (*) (void) fucntion.
624
625 Sat Mar 31 23:55:58 2001  Tim Janik  <timj@gtk.org>
626
627         * gtype.h:
628         * gparamspecs.[hc]: applied patch from owen to implement
629         GParamSpecUnichar.
630
631 Fri Mar 30 07:34:02 2001  Tim Janik  <timj@gtk.org>
632
633         * gtype.c (type_iface_retrive_holder_info_Wm): 
634         * gtypeplugin.c (g_type_plugin_complete_interface_info): 
635         * gtypemodule.c (g_type_module_complete_interface_info): 
636         change order of instance_type and interface_type so they match
637         the g_type_add_interface_*() API.
638
639         * gsignal.c (g_signal_emit_valist): always assign C return value
640         location, people depending on unaltered return values after emissions
641         that had no handlers to run need to use g_signal_emitv().
642
643         * gtype.[hc] (g_type_query): new function to allow querying of
644         class and object size (semantics like g_signal_query()).
645         currently the implementation is better held conservative so as to
646         only support types that are classed and static.
647
648 2001-03-29  Tor Lillqvist  <tml@iki.fi>
649
650         * gobject.def: Updates.
651
652 Wed Mar 28 17:04:06 2001  Tim Janik  <timj@gtk.org>
653
654         * gobject.c (object_queue_property): only queue readable properties
655         for notification changes.
656
657 Thu Mar 22 13:36:50 2001  Tim Janik  <timj@gtk.org>
658
659         * gsignal.c (g_signal_newv): catch G_SIGNAL_RUN_FIRST with a return value.
660
661 2001-03-21  Martin Baulig  <baulig@suse.de>
662
663         * gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *'
664         argument.
665
666 2001-03-18  Tor Lillqvist  <tml@iki.fi>
667
668         * gobject.def: Correct some renamed functions.
669
670 Sat Mar 17 23:18:36 2001  Tim Janik  <timj@gtk.org>
671
672         * gobject.c (g_object_get_property): minor bug-fix.
673
674         * gbsearcharray.[hc]: provide a macro for static initialization and
675         functions g_bsearch_array_new() and g_bsearch_array_destroy() for
676         dynamic allocations.
677         
678         * gboxed.c: introduce G_TYPE_GSTRING, boxed type for GString.
679         
680         * gclosure.[hc]: naming corrections.
681
682 Fri Mar  9 16:42:08 2001  Tim Janik  <timj@gtk.org>
683
684         * gvaluetypes.[hc]: moved g_strdup_value_contents() into this file as
685         a public function (was static in gobject.c before). it's a bit odd
686         to have that function here, especially since it requires extra includes,
687         but then it doesn't very well fit somewhere else either.
688
689         * gparamspecs.c: added default/max/min checks to param spec creation
690         functions.
691
692 2001-03-10  Tor Lillqvist  <tml@iki.fi>
693
694         * gobject.def: Add a couple of missing entries.
695
696         * Makefile.am (libgobject_1_3_la_LIBADD): Use only on Win32.
697
698 Fri Mar  9 14:57:17 2001  Tim Janik  <timj@gtk.org>
699
700         * testgruntime.c: test program. covers run first/last/cleanup signal
701         handlers, return value accumulator, signal string returns, and
702         interface types in signal arguments.
703
704         * gtype.c (g_type_value_table_peek): for interface types without
705         value table, try looking up a value table from an instantiatable
706         prerequisite type (this is safe as an interface may only have
707         one instantiatable prerequisiste).
708         (type_check_is_value_type_U): same here.
709
710         * gsignal.c (g_signal_newv): assert that return types never have
711         G_SIGNAL_TYPE_STATIC_SCOPE set.
712         (g_signal_newc): only create class closure if the class_offset is not
713         0.
714
715 Fri Mar  9 10:14:00 2001  Tim Janik  <timj@gtk.org>
716
717         * gparamspecs.c (g_param_spec_object): use g_type_is_a() to check
718         for object_type being a G_TYPE_OBJECT, not G_TYPE_IS_OBJECT(), since
719         that wouldn't allow interface types.
720
721         * gtype.c (g_type_interface_add_prerequisite): arg, fixed small cnp bug
722         with bad implications and an off-by-one error.
723
724 Thu Mar  8 16:34:22 2001  Owen Taylor  <otaylor@redhat.com>
725
726         * gvaluetransform.c: Include <string.h> for memcpy.
727
728         * gvaluetransform.c (DEFINE_SPRINTF): Remove unnecessary
729         and ANSI-illegal ## token pasting.
730
731 Thu Mar  8 18:11:52 2001  Tim Janik  <timj@gtk.org>
732
733         * gsignal.c: eek, fixed old hook detail storage code.
734
735 Thu Mar  8 16:35:48 2001  Tim Janik  <timj@gtk.org>
736
737         * gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/.
738
739         * gsignal.[hc]: fixed accumulator invocation, implemented emission
740         hooks. and no, neither of these callbacks are called via a closure,
741         language bindings can wrap the accumulator and emission hook
742         interface, they already get parameters marshalled into a GValue array.
743         (g_signal_connect): removed this function as its C specific, doesn't
744         cover the swapped argument, is too close to its broken original
745         gtk_signal_connect() and creates demand for _swapped, _after and
746         _swapped_after variants <brrr>.
747         (g_signal_connectc): convenience macro to connect a C handler
748         func with data, like the old g_signal_connect() plus swapped
749         argument.
750
751         * gtype.h:
752         * gboxed.c: added G_TYPE_VALUE boxed type.
753
754 Wed Mar  7 19:02:51 2001  Tim Janik  <timj@gtk.org>
755
756         * gtype.c (type_node_add_iface_entry_W): catch when adding an interface
757         to an ancestor of a child that already conforms to this interface.
758         currently we spew a warning here, should we be silent?
759         (g_type_interface_add_prerequisite): new function to add a prerequisite
760         type to an interface, that must succeed an instance is_a prerequisite
761         type check before the interface can be added to an instance. the
762         prerequisite types are also suuported in is_a checks of the interface.
763         (g_type_instance_is_a):
764         (g_type_check_instance_cast):
765         (g_type_check_instance): cleanups and optimizations.
766         (g_type_class_is_a):
767         (g_type_check_class_cast): same, also prevented these from accepting
768         interface types, as class structures don't nest interfaces.
769
770 2001-03-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
771
772         * Makefile.am: Avoid rebuilding everything everytime.
773
774 Wed Mar  7 09:36:33 2001  Tim Janik  <timj@gtk.org>
775
776         * gboxed.[hc]: changed prototype of g_boxed_type_register_static()
777         to contain an optional init function and a hint at whether the
778         boxed structure uses ref counting internally.
779         added g_value_set_boxed_take_ownership().
780         made G_TYPE_BOXED an abstract value type.
781
782         * genums.[hc]: made G_TYPE_ENUM and G_TYPE_FLAGS abstract value
783         types.
784
785         * glib-genmarshal.c: argument type changes, preparation for third-party
786         arg specification.
787
788         * gobject.[hc]: cleaned up get/set property code.
789         added g_strdup_value_contents() to improve warnings.
790
791         * gparam.[hc]: added g_param_value_convert(), taking over responsibility
792         of the old g_value_convert(). added G_PARAM_LAX_VALIDATION flag so
793         validation alterations may be valid a part of the property setting
794         process.
795
796         * gparamspecs.[hc]: made value comparisons stable (for sort applications).
797         added GParamSpecValueArray, a param spec for value arrays and
798         GParamSpecClosure. nuked the value exchange functions and
799         GParamSpecCCallback.
800
801         * gtype.[hc]: catch unintialized usages of the type system with
802         g_return_val_if_uninitialized(). introduced G_TYPE_FLAG_VALUE_ABSTRACT
803         to flag types that introduce a value table, but can't be used for
804         g_value_init(). cleaned up reserved type ids.
805
806         * gvalue.[hc]: code cleanups and saner checking.
807         nuked the value exchange API. implemented value transformations, we
808         can't really "convert" values, rather transforms are an anylogy to
809         C casts, real conversions need a param spec for validation, which is
810         why g_param_value_convert() does real conversions now.
811
812         * gvaluearray.[hc]: new files that implement a GValueArray, a struct
813         that can hold inhomogeneous arrays of value (to that extend that it
814         also allowes undefined values, i.e. G_VALUE_TYPE(value)==0).
815         this is exposed to the type system as a boxed type.
816
817         * gvaluetransform.c: new file implementing most of the former value
818         exchange functions as single-sided transformations.
819
820         * gvaluetypes.[hc]: nuked G_TYPE_CCALLBACK, added
821         g_value_set_string_take_ownership().
822
823         * *.h: s/G_IS_VALUE_/G_VALUE_HOLDS_/.
824
825         * *.[hc]: many fixes and cleanups.
826
827         * many warning improvements.
828
829 Tue Feb 27 18:35:15 2001  Tim Janik  <timj@gtk.org>
830
831         * gobject.c (g_object_get_valist): urg, pass G_VALUE_NOCOPY_CONTENTS
832         into G_VALUE_LCOPY(), this needs proper documenting.
833
834         * gparam.c: fixed G_PARAM_USER_MASK.
835
836         * gtype.c (type_data_make_W): 
837         (type_data_last_unref_Wm): fixed invalid memory freeing.
838
839         * gobject.c (g_object_last_unref): destroy signal handlers associated
840         with object, right before finalization.
841
842         * gsignal.c (g_signal_parse_name): catch destroyed nodes or signals
843         that don't actually support details.
844
845         * gobject.[hc]: got rid of property trailers. nuked GObject
846         properties "data" and the "signal" variants.
847         (g_object_connect): new convenience function to do multiple
848         signal connections at once.
849         (g_object_disconnect): likewise, for disconnections.
850
851         * gparam.[hc] (g_param_spec_pool_lookup): took out trailer support.
852
853         * gvalue.[hc]: marked g_value_fits_pointer() and g_value_peek_pointer()
854         as private (the latter got renamed from g_value_get_as_pointer()).
855
856 2001-02-21  Tor Lillqvist  <tml@iki.fi>
857
858         * *.h: Use G_BEGIN_DECLS and G_END_DECLS.
859
860         * Makefile.am: Use libglib-1.3.la from top_builddir. Invoke
861         libtool with -no-undefined for Win32 and Cygwin.
862
863 Wed Feb 21 18:31:46 2001  Jonathan Blandford  <jrb@redhat.com>
864
865         * gsignal.h (g_signal_connect): Add g_signal_connect define to
866         make porting from gtk_signal_connect easy.
867
868         * gsignal.c (g_signal_emit_valist): Use G_TYPE_FROM_INSTANCE
869         (instance) instead of node->itype when initting the value.
870
871 2001-02-17  Havoc Pennington  <hp@pobox.com>
872
873         Applied patch from Soeren Sandmann:
874         
875         * gvaluetypes.c (g_value_get_string): G_CONST_RETURN
876
877         * gtype.c (g_type_name): G_CONST_RETURN
878
879         * gsignal.c (g_signal_name): G_CONST_RETURN
880
881         * gobject-query.c (main): const fix
882
883 Sat Feb 17 07:58:46 2001  Tim Janik  <timj@gtk.org>
884
885         * genums.h (G_TYPE_IS_FLAGS): patch from sven to fixup
886         G_ENUM_CLASS_TYPE() macro.
887
888 Sat Feb 17 04:55:35 2001  Tim Janik  <timj@gtk.org>
889
890         * gtype.[hc]: changed collect_format, collect_value() and lcopy_format,
891         lcopy_value() in the GTypeValueTable. the collect functions are now
892         called only once per value, collect_format/lcopy_format are strings
893         that enlist all necessary GTypeCValues to be varargs-collected.
894
895         * gvalue.h: ranamed STATIC_TAG to G_VALUE_NOCOPY_CONTENTS to indicate that
896         a value shouldn't copy its contents.
897
898         * gvaluecollector.h: changed G_VALUE_COLLECT() and G_VALUE_LCOPY()
899         macros to carry an additional argument (flags) that can be used
900         to pass G_VALUE_NOCOPY_CONTENTS along to the collection functions.
901
902         * *.c: adapted collect_value() and lcopy_value() functions to the new
903         prototypes, support G_VALUE_NOCOPY_CONTENTS where apropriate.
904
905         * gsignal.[hc]: introduced a G_SIGNAL_TYPE_STATIC_SCOPE flag that can
906         be passed along (ORed) with the parameter types, indicating that the
907         emission arguments are to be considered static for the scope of the
908         emission. should be used with care and only if the caller knows that
909         a parameter cannot be destroyed/freed from signal handlers connected
910         to an emission.
911
912 Fri Feb 16 07:10:44 2001  Tim Janik  <timj@gtk.org>
913
914         * gclosure.c:
915         (g_closure_ref):
916         (g_closure_sink): make closure sinking explicit.
917
918         * gsignal.c:
919         (g_signal_connect_data): 
920         (g_signal_connect_closure): 
921         (g_signal_connect_closure_by_id): 
922         (g_signal_newv): perform explicit closure sinking.
923
924 Thu Feb  8 00:31:45 2001  Tim Janik  <timj@gtk.org>
925
926         * gtype.h: added G_TYPE_DEBUG_NONE for/from Eric Lemings ;)
927
928 2001-02-04  Tor Lillqvist  <tml@iki.fi>
929
930         * gobject.def: Remove glib_debug_objects.
931
932 Sun Feb  4 07:30:53 2001  Tim Janik  <timj@gtk.org>
933
934         * gtype.[hc]: changed g_type_init() to take debugging flags
935         initially, a combination of G_TYPE_DEBUG_OBJECTS and
936         G_TYPE_DEBUG_SIGNALS. using the G_TYPE_ prefix is a bit odd
937         here, but basically g_type_int() serves as initialization
938         fucntion for all of GType, GObject, GSignal, so what the heck.
939
940         * gobject.c: special case debugging code properly.
941         changed glib_trap_object_ref to g_trap_object_ref.
942
943         * gsignal.c: add signal emission debugging abilities, along with
944         a new trap object g_trap_instance_signals.
945
946 2001-02-04  Tor Lillqvist  <tml@iki.fi>
947
948         * Makefile.am (progs_LDADD): Change order of libs to libgobject
949         first, then libglib. Needed for cygwin, says jbdoll@kepri.re.kr.
950
951 Wed Jan 31 06:19:49 2001  Tim Janik  <timj@gtk.org>
952
953         * gparam.h: gtk-doc sucks for not dealing with #define inside enums.
954
955         * gtype.[hc]: added G_TYPE_FLAG_RESERVED_ID_BIT, a bit in the type
956         number that's supposed to be left untouched (preserved mainly
957         for the signal code).
958
959         * *.c: added thread safety code, based on an old patch from sebastian.
960         the remaining thread safety issues are now datalists on pspecs (to be
961         solved im gdataset.c) and gvalue.c where locking concerns value exchange
962         functionality only, and that's soon to be revised.
963
964 2001-01-27  Tor Lillqvist  <tml@iki.fi>
965
966         * makefile.msc.in: Don't try to compile gmarshal.c on its own.
967
968 2001-01-24    <alexl@redhat.com>
969
970         * gclosure.c (g_closure_unref):
971         Don't leak closure->notifiers.
972
973 2001-01-05  Havoc Pennington  <hp@redhat.com>
974
975         * gparamspecs.c (g_param_spec_enum): set the value_type in the
976         param spec; closes bug 40210
977         (g_param_spec_flags): ditto for flags
978
979 2001-01-03  Alexander Larsson  <alexl@redhat.com>
980
981         * gobject.c:
982         Move glib_debug_objects out of the G_ENABLE_DEBUG #ifdef.
983
984 Thu Dec 28 11:36:44 2000  Tim Janik  <timj@gtk.org>
985
986         * gbsearcharray.c (upper_power2): disable G_BSEARCH_ALIGN_POWER2
987         fucntionality if DISABLE_MEM_POOLS is defined.
988
989         * gtype.c: honour DISABLE_MEM_POOLS.
990
991         * gsignal.c (g_signal_init): flag signal key bsearch array with
992         G_BSEARCH_ALIGN_POWER2 to avoid excessive growth time. honour
993         DISABLE_MEM_POOLS.
994
995         * gparam.h: added G_PARAM_READWRITE alias for (G_PARAM_READABLE |
996                                                        G_PARAM_WRITABLE).
997
998 2000-12-15  Tor Lillqvist  <tml@iki.fi>
999
1000         * gobject.def: Update.
1001
1002 2000-12-15  Havoc Pennington  <hp@pobox.com>
1003
1004         * gobject.c (g_object_do_class_init): use g_signal_newc
1005
1006         * gsignal.c (g_signal_newc): convenience function for signals
1007         created from C
1008         (g_signal_new_valist): added
1009         (g_signal_new): removed
1010
1011 Fri Dec 15 04:40:23 2000  Tim Janik  <timj@gtk.org>
1012
1013         * gparam.[hc]: add an instance member value_type so the default
1014         value of the pspec class can be overridden.
1015
1016 2000-12-14  Tor Lillqvist  <tml@iki.fi>
1017
1018         * makefile.mingw.in: Update, include parts from Makefile.am to
1019         build gmarshal.[ch]. Some day, we won't need these separate
1020         makefiles for Win32 compilation. I hope.
1021
1022         * makefile.msc.in: Update. No use trying to build gmarshal.[ch]
1023         here, it would require Unixish tools. MSVC users building from CVS
1024         sources are out of luck.
1025         
1026         * gobject.def: Update.
1027
1028 Wed Dec 13 09:31:26 2000  Tim Janik  <timj@gtk.org>
1029
1030         * gparamspecs.[hc]: add G_TYPE_PARAM_BOXED implementation.
1031
1032         * gobject.[hc]: minor fixes.
1033
1034 Tue Dec 12 23:38:02 2000  Tim Janik  <timj@gtk.org>
1035
1036         * Makefile.am: _never_ touch oldest-source-stamp.
1037         
1038         * gobject.[hc]: construct property handling fixes/improvements.
1039         fixed trailer handling in get/set property.
1040         
1041         * gparam.[hc]: implement param spec pool, got rid of param spec
1042         hashtable. the most prominent change is that e deal with type
1043         prefixes here.
1044         
1045 2000-12-12  Elliot Lee  <sopwith@redhat.com>
1046
1047         * Makefile.am:
1048           . You have to 'touch oldest-source-stamp' if you want to avoid having
1049           the Makefile constantly rebuild itself.
1050           . Fix marshaller generation rules to work with srcdir != builddir
1051             (there were issues with trying to run "./glib-genmarshal", etc.)
1052
1053 Mon Dec 11 04:44:11 2000  Tim Janik  <timj@gtk.org>
1054
1055         * gboxed.c: fixed dealing with collection/lcopy of NULL values.
1056         
1057         * gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
1058         convenience macro.
1059         
1060         * Makefile.am: cleanups, marshaller generation rules.
1061         
1062         * gmarshal.[hc]: new files with GRuntime standard marshallers.
1063         
1064         * glib-genmarshal.c: fix log domain, support gruntime standard 
1065         marshallers, suport G_TYPE_PARAM, come with extern "C" and
1066         #include gmarshal.h.
1067         
1068         * glib-genmarshal.1: reflect glib-genmarshal.c updates.
1069         
1070         * gobject.[hc]: implement object constructor. rework parameter
1071         changed notification queueing, we support queue freezes now and
1072         don't dispatch from an idle handler anymore.
1073         parameter->property rename hassle.
1074         implemented ::properties_changed and ::notify::* signals for
1075         property change notification (the later supports property names
1076         as details). added signal connection and named data properties.
1077         (g_signal_connect_object): new function to setup while_alive
1078         connections.
1079         (g_object_class_install_property): sink properties now, since they
1080         are initially floating.
1081         (g_object_steal_data):
1082         (g_object_set_data_full):
1083         (g_object_set_data):
1084         (g_object_get_data): set/get data by using g_datalist_*() functions
1085         directly.
1086         (g_object_queue_param_changed): nuked.
1087         (g_object_freeze_notify): start queueing of property changes (freeze/
1088         thaw calls stack).
1089         (g_object_notify): announce changes of a certain property directly.
1090         (g_object_thaw_notify): process queue of property changes, therefore
1091         emitting GObject::notify::detail with detail being the changed
1092         properties names.
1093         (G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
1094         G_WARN_INVALID_PARAM_ID().
1095         
1096         * gparam.[hc]: param specs are now initially floating and need to be
1097         sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
1098         added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
1099         required by GObjectClass.constructor().
1100         
1101         * gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
1102         GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
1103         and G_TYPE_CCALLBACK respectively.
1104         
1105         * gsignal.[hc]: cleanups.
1106         (signal_id_lookup): after walking the anchestry, try interfaces as well.
1107         (g_signal_new): new function to create signals from varargs type list.
1108         (g_signal_connect_closure): closure connection variant that works from
1109         signal name+detail.
1110         (g_signal_connect_data): c handler connection variant that works from
1111         signal name+detail.
1112         (g_signal_emit_valist): emit signal for an instance with paraneters
1113         collected from a va_list.
1114         (g_signal_emit): emit signal, taking parameters from varargs list.
1115         (g_signal_emit_by_name): same as g_signal_emit, working from
1116         signal name+detail.
1117         (signal_emit_R): return whether return_value needs to be altered.
1118         
1119         * gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
1120         the points that need to reflect the upcoming rename.
1121         melt g_type_conforms_to() functionality into g_type_is_a(), as that
1122         is what we really want (liskov substitution principle).
1123         assorted changes to other files due to conforms_to->is_a.
1124
1125         * gvalue.[hc]: implemented g_value_set_instance() that sets a value
1126         from an instantiatable type via the value_table's collect_value()
1127         function (based on an idea from James Henstridge <james@daa.com.au>).
1128         cleanups/fixes.
1129         
1130         * gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
1131
1132 Wed Nov 29 13:30:05 2000  Tim Janik  <timj@gtk.org>
1133
1134         * gsignal.c (handlers_find): fix elliots "logic fix" that dereferences
1135         NULL nodes if C handlers are searched for specific signals.
1136
1137 2000-11-28  Elliot Lee  <sopwith@redhat.com>
1138
1139         * gsignal.c: Fix warnings about possible use of uninitialized
1140         variables, and fix logic that would leave 'node' unset in cases
1141         that it might be used in.
1142
1143         * glib-genmarshal.c: Fix warning about printf format.
1144
1145 2000-11-28  Tor Lillqvist  <tml@iki.fi>
1146
1147         * gboxed.c: Include <string.h> for memset ().
1148
1149 2000-11-22  Tor Lillqvist  <tml@iki.fi>
1150
1151         * gobject.def: Update.
1152
1153 2000-11-20  Havoc Pennington  <hp@redhat.com>
1154
1155         * gobject.c (g_object_get_data)
1156         (g_object_set_data)
1157         (g_object_set_data_full)
1158         (g_object_steal_data): More convenient data-setting functions
1159
1160 Wed Nov 15 20:58:05 2000  Owen Taylor  <otaylor@redhat.com>
1161
1162         * gtypemodule.c (g_type_module_use): If loading the
1163         module fails, don't increment the use count.
1164
1165 Thu Nov  9 01:49:43 2000  Tim Janik  <timj@gtk.org>
1166
1167         * gobject.h (G_WARN_INVALID_PARAM_ID): doh,
1168         s/BSE_OBJECT_TYPE_NAME/G_OBJECT_TYPE_NAME/; reported by Maas-Maarten
1169         Zeeman <maas@wanadoo.nl>.
1170
1171 Mon Nov 13 00:48:39 2000  Owen Taylor  <otaylor@redhat.com>
1172
1173         * Makefile.am (EXTRA_DIST): Add glib-genmarshal.1
1174
1175 2000-11-11  Tor Lillqvist  <tml@iki.fi>
1176
1177         * gtypemodule.c: Include stdlib.h for exit().
1178
1179         * makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypemodule.
1180
1181         * gobject.def: Add missing functions.
1182
1183 Sun Nov  5 13:21:28 2000  Owen Taylor  <otaylor@redhat.com>
1184
1185         * Makefile.am gtypemodule.[ch]: New basic implementation of
1186         GTypePlugin interface as a GObject. Dynamically loaded modules can
1187         register any number of types and interface on the module.
1188
1189 Sun Nov  5 10:25:40 2000  Owen Taylor  <otaylor@redhat.com>
1190
1191         * gsignal.c (handlers_find): When appending handlers and
1192         not matching on signal_id, use hlist->signal_id instead of 
1193         signal_id. Having the correct signal_id when unreffing
1194         the handlers makes things work a lot better.
1195
1196 2000-11-05  Tor Lillqvist  <tml@iki.fi>
1197
1198         * makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypeplugin.
1199
1200         * gobject.def: Update.
1201
1202 Sun Nov  5 05:22:55 2000  Tim Janik  <timj@gtk.org>
1203
1204         * gsignal.c:
1205         fixed a bag full of subtle bugs of immensive screw-up potential in
1206         handlers_find(), luckily no one found out about them yet ;)
1207         fixed signal_handlers_foreach_matched_R() so it operates on an
1208         initial handler list snapshot provided by handlers_find() to work
1209         around general reentrancy problems and to avoid multiple callback()
1210         invocations on the same handlers.
1211         this code is now officially 80% bug free (10% remaining for interface
1212         types, and 10% remaining for destroyed signals ;)
1213         
1214 Sat Nov  4 02:01:33 2000  Tim Janik  <timj@gtk.org>
1215
1216         * gsignal.c (_g_signals_destroy): valid signal nodes start out at 1.
1217
1218         * gtypeplugin.[hc]: new files holding a GTypePlugin interface
1219         implementation that provides the API required by GType to deal with
1220         dynamically loadable types.
1221
1222         * gtype.[hc]: displace any GTypePlugin business to gtypeplugin.h.
1223
1224 Fri Nov  3 07:35:00 2000  Tim Janik  <timj@gtk.org>
1225
1226         * gsignal.[hc]: prefix internal functions with '_'. renamed
1227         g_signal_connect_closure() to g_signal_connect_closure_by_id().
1228         added g_signal_parse_name() to retrive signal_id and detail quark
1229         from a signal name (internal).
1230
1231 Wed Nov  1 03:36:54 2000  Tim Janik  <timj@gtk.org>
1232
1233         * gobject.c (g_object_base_class_finalize): destroy all signals that
1234         the finalized obejct type introduced.
1235
1236         * gsignal.c (g_signals_destroy): don't require itype to have
1237         signals.
1238
1239         * gobject.c (g_object_do_finalize): make sure all signal handlers
1240         are destroyed.
1241
1242         * gsignal.[hc]:
1243         (g_signal_handler_find): only match on non-0 masks.
1244         (g_signal_handlers_block_matched):
1245         (g_signal_handlers_unblock_matched):
1246         (g_signal_handlers_disconnect_matched): new functions to block/unblock
1247         or disconnect handlers in groups.
1248
1249 2000-10-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
1250
1251         * gvalue.c (exchange_entries_equal), gparam.c (param_spec_equals):
1252         made both functions return gboolean just for the little extra
1253         standard conformance now that GEqualFunc is introduced.
1254
1255 Mon Oct 30 05:52:45 2000  Tim Janik  <timj@gtk.org>
1256
1257         * gsignal.c (g_signal_list_ids): get rid of inline documentation owen
1258         added, the doc system would ignore it anyways (for some reason not
1259         aparent to me).
1260
1261 Mon Oct 30 03:00:07 2000  Tim Janik  <timj@gtk.org>
1262
1263         * gsignal.[hc] (g_signal_list_ids): renamed owen's g_type_signals(),
1264         added required mutex locks.
1265
1266 Sun Oct 29 02:31:03 2000  Owen Taylor  <otaylor@redhat.com>
1267
1268         * gsignal.c (g_type_signals): Fix problem where signals
1269         with "_" in them appeared twice in the result array.
1270
1271 Sun Oct 29 01:58:44 2000  Owen Taylor  <otaylor@redhat.com>
1272
1273         * gsignal.h: Add g_type_signals() - a function to list
1274         all signals for a given type.
1275
1276 Sat Oct 28 00:28:09 2000  Tim Janik  <timj@gtk.org>
1277
1278         * gclosure.c (g_closure_add_marshal_guards): fixed notifier position
1279         for post_marshal guard which was off at 0.
1280
1281 Fri Oct 27 21:49:31 2000  Tim Janik  <timj@gtk.org>
1282
1283         * gobject.[hc]: doh, fix argument order in for
1284         g_cclosure_new_object_swap and g_cclosure_new_object.
1285
1286 2000-10-28  Tor Lillqvist  <tml@iki.fi>
1287
1288         * makefile.{mingw,msc}.in: Make glib-genmarshal.exe.
1289
1290         * glib-genmarshal.c: Conditionalise include of unistd.h.
1291         Include <io.h> on Win32.
1292
1293         * gobject.def: Add some missing entry points.
1294
1295 Fri Oct 27 16:33:41 2000  Tim Janik  <timj@gtk.org>
1296
1297         * gsignal.[hc]: publically define GSignalInvocationHint structure
1298         that gets passed in to closure invocations. added signal details.
1299         renamed GSignalType to GSignalFlags to comply with conventions.
1300         quite some cleanups and minor fixes. avoid uneccessary handler list
1301         walks upon invokation of after handlers. relookup handler list for
1302         restarted emissions. preliminary abort normal handler invokation if
1303         after handler is encountered.
1304
1305         * glib-genmarshal.c:
1306         * gclosure.[hc]: moved invocation_hint to the end of the
1307         g_closure_invoke() arguments as sugegsted by kenelson.
1308         also made it a gpointer to be more generic. the invocation_hint
1309         is a caller specific thing that can be used to pass additional
1310         data in to closure invocations as documented with the caller
1311         invoking the closure.
1312
1313 Fri Oct 27 05:35:14 2000  Tim Janik  <timj@gtk.org>
1314
1315         * gobject.c (g_object_watch_closure): fixed realloc bug, reported
1316         by havoc.
1317
1318         * gsignal.c (g_signal_newv): fixed deadlock scenarion where
1319         g_signal_lookup() would be called with the signal lock being
1320         held. reported by james henstridge.
1321
1322         * gclosure.c (g_closure_set_meta_marshal): fixed memcpy/overwrite bug
1323         reported by owen.
1324
1325 2000-10-26  Tor Lillqvist  <tml@iki.fi>
1326
1327         * gbsearcharray.c (bsearch_array_insert): Fix gccisms (pointer
1328         arithmetic on void pointer, label without statement following.
1329
1330         * gtype.c (type_node_fundamental_info): Don't apply unary minus to
1331         result of sizeof operator, it can be unsigned. Cast first to
1332         gssize.
1333
1334         * gobject.def: Add new functions.
1335
1336         * makefile.{mingw,msc}.in: Add new objects.
1337
1338 2000-10-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
1339
1340         * Makefile.am: Remove empty SUBDIRS line _again_, as that _still_
1341         prevents 'make dist' from working.
1342
1343 Wed Oct 25 19:11:03 2000  Owen Taylor  <otaylor@redhat.com>
1344
1345         * gbsearcharray.h (g_bsearch_array_get_nth): Don't use implicit
1346         casts from void * since this will get included from C++ too
1347         at times.
1348         
1349 Thu Oct 26 00:30:27 2000  Tim Janik  <timj@gtk.org>
1350
1351         * gvaluetypes.[hc]: added g_value_set_static_string().
1352
1353         * gboxed.[hc]: const corrections. added g_value_set_static_boxed().
1354
1355 Wed Oct 25 20:27:02 2000  Tim Janik  <timj@gtk.org>
1356
1357         * gtype.c (g_type_free_instance): for the moment, freeing object
1358         structures will fill their memory portion with 0xAA. there's a
1359         FIXME there, remove this line at a later point.
1360
1361 Tue Oct 24 23:10:26 2000  Tim Janik  <timj@gtk.org>
1362
1363         * glib-genmarshal.1:
1364         * glib-genmarshal.c: added publically installed marshaller generator.
1365
1366         * gtype.h: added G_TYPE_INSTANCE_GET_INTERFACE() to retrive a certain
1367         interface VTable from instances.
1368
1369 Mon Oct 23 08:28:15 2000  Tim Janik  <timj@gtk.org>
1370
1371         * gobject.[hc]: new functions for closure maintenance:
1372         (g_object_watch_closure): maintain validity of the object and
1373         the closure for objects that are used as data part of a closure.
1374         (g_cclosure_new_object): convenience function to create C closures
1375         that have an object as data argument.
1376         (g_closure_new_object): convenience function to create closures
1377         that have an object as data argument.
1378
1379         * gclosure.[hc]: implementation of GClosure mechanism.
1380         a closure is basically an encapsulation of a callback function
1381         and its environment. ideally, most places supporting callback
1382         functions will simply take a GClosure* pointer and thus unify
1383         callback environments wrg destroy notification etc.
1384         GClosure provides destroy notifiers for arbitrary data pointers,
1385         reference counting, invalidation notification (it can be invalidated
1386         which is merely a deactivate state) and a marshallinbg abstraction.
1387         GCClosure is also provided in these files, they present a specialized
1388         GClosure implementation for C language callbacks.
1389
1390         * genum.c: macro cleanups.
1391         
1392         * gboxed.[hc]: new files, for boxed type abstraction.
1393         (g_boxed_copy): copy a boxed structure
1394         (g_boxed_free): free a boxed structure
1395         (g_value_set_boxed):
1396         (g_value_get_boxed): standard GValue functions for boxed types
1397         (g_boxed_type_register_static): convenience function for easy
1398         introduction of new G_TYPE_BOXED derivatives.
1399
1400         * gparam.[hc]: introduced g_param_type_register_static(), a short hand
1401         for creation of new GParamSpec derived types.
1402
1403         * gtype.[hc]: many fixes, introduced ability to flag individual
1404         type nodes as ABSTRACT upon registration, added value_peek_pointer()
1405         to the value table to peek at GValue contents as a pointer for types
1406         that support this. fixed up GValue checks.
1407
1408         * gvalue.[hc]: added g_value_fits_pointer() and g_value_get_as_pointer()
1409         to peek at the value contents as pointer.
1410
1411         * *.[hc]: adaptions to type macro fixes and changes in the type
1412         registration API.
1413
1414         * many const corrections over the place.
1415
1416 Sat Oct 21 02:49:56 2000  Tim Janik  <timj@gtk.org>
1417
1418         * gtype.c (g_type_conforms_to): this function basically behaves like
1419         and is_a check, except that it _additionally_ features interfaces
1420         for instantiatable types. enforce this in the second branch as well
1421         (`type' conforms_to `type') even if `type' is not an interface type.
1422
1423 Fri Oct 20 15:31:04 2000  Tim Janik  <timj@gtk.org>
1424
1425         * gvaluetypes.[hc]: added G_TYPE_POINTER implementation from jrb.
1426
1427         * gtype.[hc]:
1428         * gobject.c:
1429         * gvaluetypes.c: added GTypeValueTable.value_peek_pointer and
1430         suitable implementations of this for G_TYPE_STRING, G_TYPE_OBJECT
1431         and G_TYPE_POINTER.
1432
1433 Mon Aug 21 04:13:37 2000  Tim Janik  <timj@gtk.org>
1434
1435         * gbsearcharray.[hc]: long standing needed generic implementation
1436         of a binary searchable, sorted and dynamically sized array.
1437
1438 2000-10-15  Raja R Harinath  <harinath@cs.umn.edu>
1439
1440         * Makefile.am (BUILT_EXTRA_DIST): New variable.
1441         (dist-hook): Handle $(BUILT_EXTRA_DIST).
1442         (*): Remove traces of @STRIP_{BEGIN,END}@.
1443         
1444 2000-09-29  Martin Baulig  <baulig@suse.de>
1445         
1446         Several minor ANSI C fixes.
1447
1448         Added missing casts:
1449         * gtype.c (type_class_init): 
1450         `(gpointer) bnode->data->class.class_init_base'
1451         in call to g_slist_prepend() and
1452         'GBaseInitFunc class_init_base = (GBaseInitFunc) slist->data'.
1453
1454         * gobject.c: Put text following #endif into comments.
1455
1456 2000-09-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
1457
1458         * Makefile.am: Remove empty SUBDIRS line, as that prevents make
1459         dist from working.
1460
1461 Sat Sep  9 20:04:13 2000  Owen Taylor  <otaylor@redhat.com>
1462
1463         * gobject.c (g_object_last_unref): Move call to
1464         g_type_free_instance() here from g_object_do_finalize,
1465         since g_type_free_instance() can unload the object's
1466         implementation.
1467
1468 2000-07-27  Tor Lillqvist  <tml@iki.fi>
1469
1470         * gobject.c: No, don't mark glib_debug_objects for export here,
1471         it's handled specially in gtktypeutils.c.
1472
1473         * gobject.def: Export g_type_fundamental_last (the function).
1474
1475 2000-07-26  Tor Lillqvist  <tml@iki.fi>
1476
1477         * gobject.def
1478         * gobject.c: Mark glib_debug_objects for export/import as it is
1479         used by GTK+.
1480
1481 Sun Jul 23 17:23:35 2000  Tim Janik  <timj@gtk.org>
1482
1483         * gtype.[hc]: make g_type_fundamental_last() a function, avoiding all
1484         that extern variable clutter and avoiding further problems with thread
1485         safety.
1486
1487 2000-07-19  Tor Lillqvist  <tml@iki.fi>
1488
1489         * gparam.h
1490         * gvalue.h
1491         * gparam.c
1492         * gtype.c: Shut up Sun's picky compiler.
1493
1494 2000-07-14  Tor Lillqvist  <tml@iki.fi>
1495
1496         * gobject.def: Add g_type_get_plugin.
1497
1498 Thu Jul 13 02:07:54 2000  Tim Janik  <timj@gtk.org>
1499
1500         * gparam.c (g_param_value_defaults): default initialize the temporary
1501         default value, instead of nuking the caller's value contents.
1502
1503 2000-07-11  Raja R Harinath  <harinath@cs.umn.edu>
1504
1505         * gtype.c (g_type_get_plugin): Don't return just 0 or 1.
1506
1507 Tue Jul 11 02:48:13 2000  Tim Janik  <timj@gtk.org>
1508
1509         * gtype.[hc]: removed g_type_is_dynamic() and added g_type_get_plugin().
1510
1511 2000-07-10  Tor Lillqvist  <tml@iki.fi>
1512
1513         * gobject-query.c: Include ../config.h for HAVE_UNISTD_H. Use it
1514         to guard inclusion of <unistd.h>.
1515
1516         * gtype.h: Fix copy-paste errors in the ifdefs on how to declare a
1517         variable for export. Call the macro GOBJECT_VAR.
1518
1519         * gtype.c: Declare _g_type_fundamental_last for export here, too.
1520         (type_node_any_new): Use only constant expressions for sizeof
1521         operator (for instance MSVC requires this).
1522
1523         * makefile.mingw.in: Define GOBJECT_COMPILATION.
1524
1525 Sun Jul  9 21:21:46 2000  Owen Taylor  <otaylor@redhat.com>
1526
1527         * genums.c: Move string.h include into the .c file
1528         instead of where it was in the .h file by mistake.
1529
1530 Thu Jul  6 15:30:27 2000  Owen Taylor  <otaylor@redhat.com>
1531
1532         * Makefile.am (EXTRA_DIST): dist fixes.
1533
1534         * gobject.c: Add a global variable glib_debug_objects
1535         (not in header file) to control object tracing.
1536
1537 2000-07-01  Tor Lillqvist  <tml@iki.fi>
1538
1539         * gobject.def: Update added and renamed entry points.
1540
1541         * makefile.mingw.in: Add gvaluetypes.o.
1542
1543 Thu Jun 29 16:02:07 2000  Owen Taylor  <otaylor@redhat.com>
1544
1545         * gobject.c:include string.h for memset
1546         * genums.h: include string.h for strcpy
1547         * gvalue.c: include string.h for memset, memcpy.
1548
1549 Sat Jun 24 23:03:04 2000  Tim Janik  <timj@gtk.org>
1550
1551         * gtype.[hc]: provide G_TYPE_CHAR, G_TYPE_UCHAR, G_TYPE_BOOLEAN,
1552         G_TYPE_INT, G_TYPE_UINT, G_TYPE_LONG, G_TYPE_ULONG, G_TYPE_FLOAT,
1553         G_TYPE_DOUBLE and G_TYPE_STRING fundamental types.
1554         added a GTypeValueTable* pointer to GTypeInfo structure for types
1555         to implement GValue handling functions.
1556         GTypeValueTable contains the following members:
1557           value_init(): initialize a GValue structure.
1558           value_free(): free GValue structure contents (optional).
1559           value_copy(): copy one GValue contents to another GValue structure of
1560           collect_type: varargs collection type for the first variable argument
1561           to be collected by collect_value().
1562           collect_value(): variable arguments collection function (optional).
1563           lcopy_type: varargs collection type for the first variable argument
1564           to be location copyied by lcopy_value().
1565           lcopy_value(): variable arguments location copy function (optional).
1566         g_type_value_table_peek(): new function to retrive the GTypeValueTable*
1567         for a type node. ValueTables get inherited from parent types, unless
1568         overridden through the GTypeInfo structure. internally, GTypeValueTable
1569         support means an added overhead of one pointer per static or used
1570         dynamic type node.
1571         g_type_add_class_cache_func(): provide a cache_func/data pair to be
1572         called  prior to a type nodes last_unref() function, this can be used
1573         to prevent premature class destruction. multiple installed cache_func()
1574         will be chained upon last_unref() untill one of them returns TRUE.
1575         the cache_func()s have to check the class id passed in to figure whether
1576         they actually want to cache the class of this type (since all classes
1577         are routed through the cache_func() chain).
1578         g_type_remove_class_cache_func(): remove a previously installed
1579         cache_func/data pair. the cache maintained by this function has to be
1580         clear when calling g_type_remove_class_cache_func() to avoid leaks.
1581         g_type_class_unref_uncached(): class unref function for cache_func()
1582         implementations, unreferences a class omitting the cache chain (and
1583         therefore unref->cache->unref->... loops).
1584
1585         * gvaluetypes.[hc]: provide the value setters/getters for the primitive
1586         fundamental types boolean, char, uchar, int, uint, long, ulong, float,
1587         double and string.
1588
1589         * gvalue.[hc]: provide G_TYPE_IS_VALUE() in terms of whether a
1590         GTypeValueTable is provided for this type.
1591         removed g_value_init_default(), g_value_validate(), g_value_defaults(),
1592         g_value_set_default() and g_values_cmp() as these are supplied by the
1593         GParamSpec API now.
1594         moved g_values_exchange() into the "implementation details" section,
1595         since it just provides the underlying functionality for
1596         g_value_convert().
1597
1598         * gvaluecollector.h: renamed the varargs value container from
1599         GParamCValue to GTypeCValue as the value collection methods are
1600         supplied by the type system now.
1601         G_PARAM_COLLECT_VALUE() and G_PARAM_LCOPY_VALUE() got renamed to
1602         G_VALUE_COLLECT() and G_VALUE_LCOPY() and operate without a
1603         GParamSpec structure now.
1604
1605         * genums.h: macros cleanups/fixes.
1606
1607         * genum.c: provide G_TYPE_ENUM and G_TYPE_FLAGS type
1608         and assorted g_value_{s|g}et_{enum|flags}() implementations.
1609
1610         * gobject.[hc]:
1611         provide G_IS_VALUE_OBJECT(), G_TYPE_OBJECT ValueTable methods
1612         and g_value_{s|g}et_object().
1613
1614         * gparam.[hc]: reduced class to value_set_default(),
1615         value_validate() and values_cmp(). also parameters now need to fill
1616         in a GType value_type; field to indicate the GValue type they
1617         are handling. provide g_param_value_set_default(),
1618         g_param_value_defaults(), g_param_value_validate() and
1619         g_param_values_cmp().
1620
1621         * gparamspecs.[hc]: got rid of the g_value_* functions and
1622         the G_IS_VALUE_* macros. adapted param spec implementations
1623         according to the GParamSpecClass changes.
1624
1625 Sat Jun 10 08:38:27 2000  Tim Janik  <timj@gtk.org>
1626
1627         * gtype.c (type_class_init): fetch the nth iface entry of the
1628         type node in the nth loop iteration, not alwys the first.
1629         bug discovered by Walt Pohl <cher@suitware.com>.
1630         (type_data_finalize_class_ifaces): same here, cut and paste
1631         rulez.
1632
1633 Wed Jun  7 09:21:05 2000  Owen Taylor  <otaylor@redhat.com>
1634
1635         * Makefile.am (INCLUDES): Add top_builddir so glibconfig.h
1636         is found properly when build srcdir != builddir. (Patch from
1637         Eric Lemings)
1638
1639 2000-05-13  Tor Lillqvist  <tml@iki.fi>
1640
1641         * makefile.mingw.in
1642         * gobject.def
1643         * gobject.rc.in: New files, for Win32 (mingw) build.
1644
1645         * Makefile.am: Add to EXTRA_DIST. Add rules to produce the
1646         corresponding non-*.in files.
1647
1648         * gtype.h: (Win32:) Mark _g_type_fundamental_last for
1649         export/import from DLL.
1650
1651 Fri May  5 01:15:48 2000  Tim Janik  <timj@gtk.org>
1652
1653         * gtype.h: add reserved fundamental ids for gtk types (for transition
1654         time). added G_TYPE_FUNDAMENTAL_MAX for gtk.
1655
1656 Mon Apr 17 20:45:50 2000  Tim Janik  <timj@gtk.org>
1657
1658         * glib-gobject.c (g_object_base_class_finalize): oops, don't unset
1659         n_params prior to destructing them.
1660
1661 Tue Apr 11 04:28:10 2000  Tim Janik  <timj@gtk.org>
1662
1663         * fixed a couple of bugs in the initial parameter/object
1664         implementations, after getting beast running on GObject and GValue.
1665
1666 Fri Apr  7 04:27:49 2000  Tim Janik  <timj@gtk.org>
1667
1668         * glib-gobject.[hc]: completed parameter set/get implementations,
1669         along with asyncronous parameter changed notification queue.
1670
1671 Sun Apr  2 04:54:36 2000  Tim Janik  <timj@gtk.org>
1672
1673         * glib-gobject.[hc]: GObject implementation, that is facilities
1674         for setting/getting quarked data and reference counting.
1675
1676         * glib-gparamspecs.[hc]: first actuall parameter implementations
1677         for GLib, so far we have: char, uchar, bool, int, uint, long,
1678         ulong, enum, flags, float, double, string and object. each of these
1679         GParamSpecs is a new instantiatable type in its own respect,
1680         so the .c file derives 13 new types from G_TYPE_PARAM and
1681         defines over 50 (*2) conversion facilities.
1682
1683         * glib-gvaluecollector.h: generic varargs handling stubs for
1684         GParamSpecs, private header file (does get installed for
1685         inclusion into user code though).
1686
1687         * glib-gvalue.[hc]: GValue functionality implementation.
1688
1689         * glib-gparam.[hc]: basis GParamSpec implementation for
1690         the virtual base type G_TYPE_PARAM.
1691
1692         * glib-genums.[hc]: enum/flags type implementation, based on
1693         bseenum.[hc].
1694
1695         * glib-gtype.[hc]: GLib Type System implementation, heavily
1696         based on BSE's dynamic type system.