Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent code from
[platform/upstream/glib.git] / gobject / ChangeLog
1 2008-05-05  Michael Natterer  <mitch@imendio.com>
2
3         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
4         code from being checked in that breaks the build of applications
5         which use G_DISABLE_SINGLE_INCLUDES.
6
7 2008-03-16  Tor Lillqvist  <tml@novell.com>
8
9         * Makefile.am: Define gobject_def locally here instead of using an
10         Autoconf variable.
11
12 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
13         
14         * === Released 2.16.1 ===
15
16 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
17
18         * === Released 2.16.0 ===
19
20 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
21
22         * === Released 2.15.6 ===
23
24 2008-02-11  Matthias Clasen <mclasen@redhat.com>
25
26         * === Released 2.15.5 ===
27
28 2008-02-06  Benjamin Otte  <otte@gnome.org>
29
30         * gparamspecs.c: (param_gtype_set_default), (param_gtype_validate):
31         make GParamGType require the set type during construction instead of
32         using G_TYPE_NONE, which causes issues when setting.
33         Bug 513073 - g_param_spec_gtype breaks with G_PARAM_CONSTRUCT
34
35 2008-02-05 18:52:07  Tim Janik  <timj@imendio.com>
36
37         * gtype.c: added recursive mutex to protect class initialization,
38         default interface initialization and per-class interface construction.
39         a lock to this recursive mutex is held during user callback invocations
40         such as initializers or finalizers, effectively allowing only one thread
41         to run class/interface initializers/finalizers at a time.
42         also made misc fixups. this fixes:
43         Bug 64764 - Class initialization isn't thread safe.
44
45 2008-02-05 18:41:22  Tim Janik  <timj@imendio.com>
46
47         * Makefile.am: integrate tests/.
48
49         * tests/: new directory for libgobject tests.
50
51         * tests/Makefile.am: build and run threadtests.
52
53         * tests/threadtests.c: test multi-threaded initializers for
54         object classes and interfaces.
55
56 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
57
58         * === Released 2.15.4 ===
59
60 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
61
62         * === Released 2.15.3 ===
63
64 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
65
66         * === Released 2.15.2 ===
67
68 008-01-07  Matthias Clasen  <mclasen@redhat.com>
69
70         * === Released 2.15.1 ===
71
72 2007-12-26  Behdad Esfahbod  <behdad@gnome.org>
73
74         * gclosure.h (G_CCLOSURE_SWAP_DATA): Fix macro argument.
75         (#505674, Areg Beketovski)
76
77 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
78
79         * === Released 2.15.0 ===
80
81 2007-11-11  Mathias Hasselmann  <mathias@openismus.com>
82
83         Always exit with non-zero error code when printing warnings.
84
85         * gobject/glib-genmarshal.c: Add global exit_status variable, and use
86         it in pad() and process_signature() to return with non-zero error code
87         when printing warnings. (#495294)
88
89 2007-11-08  Matthias Clasen <mclasen@redhat.com>
90
91         * glib-mkenums.in: Don't shift ARGV[0] to undefined. 
92         (#466557, Aidan Delaney)
93
94 2007-11-07  Matthias Clasen <mclasen@redhat.com>
95
96         * === Released 2.14.3 ===
97
98 2007-10-16  Matthias Clasen  <mclasen@redhat.com>
99
100         * === Released 2.14.2 ===
101
102 2007-09-20  Carlos Garnacho  <carlos@imendio.com>
103
104         * gtypemodule.h: make sure we define GType g_define_type_id in
105         G_G_DEFINE_DYNAMIC_TYPE_EXTENDED so it works together with
106         G_IMPLEMENT_INTERFACE. (#478459)
107
108 2007-09-19  Matthias Clasen  <mclasen@redhat.com>
109
110         * === Released 2.14.1 ===
111
112 2007-08-03  Matthias Clasen  <mclasen@redhat.com>
113
114         * === Released 2.14.0 ===
115
116 2007-07-12  Matthias Clasen  <mclasen@redhat.com>
117
118         * === Released 2.13.7 ===
119
120 Tue Jul 10 12:31:50 2007  Tim Janik  <timj@imendio.com>
121
122         * gtype.h: use g_once_init_enter/g_once_init_leave to guard critical
123         initialization section of *_get_type implementations in G_DEFINE_TYPE,
124         bug #65041.
125
126 Fri Jun 29 2007  Matthias Clasen  <mclasen@redhat.com>
127
128         * === Released 2.13.6 ===
129
130 Fri Jun 22 11:31:27 2007  Tim Janik  <timj@gtk.org>
131
132         * gtype.h: reintroduce typedef gulong GType; for C++, to avoid
133         C++ specific ABI breakage.
134
135 2007-06-18  Matthias Clasen  <mclasen@redhat.com>
136
137         * === Released 2.13.5 ===
138
139 Thu Jun 14 23:32:00 2007  Tim Janik  <timj@gtk.org>
140
141         * gtype.h: always define GType unconditionally in terms of gsize,
142         there's no need to jump through a glong hoop ever and this fixes
143         the printf modifier to %zu.
144
145 Thu Jun 14 22:33:11 2007  Tim Janik  <timj@imendio.com>
146
147         * gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
148         fixes #363986.
149
150 2007-06-05  Matthias Clasen  <mclasen@redhat.com>
151
152         * === Released 2.13.4 ===
153
154 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
155         
156         * === Released 2.13.3 ===
157
158 2007-05-22  Matthias Clasen  <mclasen@redhat.com>
159
160         * === Released 2.13.2 ===
161
162 2007-05-17  Matthias Clasen <mclasen@redhat.com>
163
164         * gtype.h: Move G_GNUC_INTERNAL before function
165         declarations to fix compilation with sun studio.  (#438873,
166         Damien Carbery)
167
168 2007-05-03  Matthias Clasen <mclasen@redhat.com>
169
170         * === Released 2.13.1 ===
171
172 2007-04-25  Michael Natterer  <mitch@imendio.com>
173
174         * gparamspecs.c (param_string_validate): also clear the
175         NOCOPY_CONTENTS flag when replacing NULL with the empty string.
176
177 2007-04-24  Michael Natterer  <mitch@imendio.com>
178
179         * gparamspecs.c (param_string_validate): don't free or modify
180         static strings, dup them when needed and clear the
181         G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.
182
183 Tue Apr  3 12:34:14 2007  Tim Janik  <timj@gtk.org>
184
185         * gobject.[hc]: invoke GObjectClass.constructed() only for newly
186         constructed objects, and invoke it while the notify queue is
187         still being frozen, after all CONSTRUCT* properties have been
188         set and before random other properties are being set.
189
190         * applied modified patch from Ryan Lortie to implement
191         GObjectClass.constructed() to fix #425324.
192
193 2007-04-02  Ryan Lortie  <desrt@desrt.ca>
194
195         * gobject/gobject.h: Add 'constructed' vcall to GObjectClass.
196         * gobject/gobject.c (g_object_newv): call ->constructed() as last
197         step of object construction.
198
199 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
200
201         * === Released 2.13.0 ===
202
203 2007-03-15  Matthias Clasen  <mclasen@redhat.com>
204
205         * gvaluearray.c: Use  g_slice.  (#404430, Chris Wilson)
206
207 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
208
209         * gparam.h:
210           Add G_PARAM_STATIC_STRINGS define (fixes #418021).
211
212 Mon Mar 12 13:30:20 2007  Tim Janik  <timj@gtk.org>
213
214         * gtype.h: marked purely functional g_type accessors as PURE or CONST,
215         closes #305100.
216
217 2007-01-02  Tor Lillqvist  <tml@novell.com>
218
219         * glib-genmarshal.c (main): Handle "/dev/stdin" by dup()ing fd 0
220         so that it works on Win32 and other systems without
221         /dev/stdin. (#407431)
222
223 2006-12-29 Matthias Clasen  <mclasen@redhat.com>
224
225         * gtypemodule.h: Define G_DEFINE_DYNAMIC_TYPE and
226         and _EXTENDED variant.  (#334437)
227
228 Fri Dec 15 2006  Matthias Clasen  <mclasen@redhat.com>
229
230         * gtype.c (instance_real_class_get): Dereference the pointer 
231         before dropping the lock.  (#378078, Jonathan Matthew)
232
233 Tue Oct 10 12:06:08 2006  Tim Janik  <timj@gtk.org>
234
235         * glib-mkenums.in: 
236         * glib-mkenums.1: applied patch from David Necas which introduces
237         an underscore_name option and fixes #358734.
238
239 Mon Oct  2 15:50:16 2006  Tim Janik  <timj@gtk.org>
240
241         * gvalue.c (g_value_peek_pointer): reverted a change to have an
242         assert instead of a g_return_val_if_fail() here. libraries (and
243         programs) should only ever g_assert or g_error if there is no way
244         to carry on with the current program state. that's clearly not 
245         the case here.
246
247         * ChangeLog: added missing changelog entry for 2003-12-30.
248
249 Sat Sep 30 2006  Matthias Clasen  <mclasen@redhat.com>
250
251         * pltcheck.sh: Script to check PLT entries.
252
253         * Makefile.am (TESTS): Run pltcheck.sh
254
255         * gtype.c:
256         * gsignal.c:
257         * gobject.c:
258         * gvaluetypes.c: Move all includes before gobjectalias.h.
259         (#3545422, Behdad Esfahbod)
260
261 Fri Sep 22 13:41:02 2006  Tim Janik  <timj@imendio.com>
262
263         * gtype.h: applied patch from Behdad with slight optimization, 
264         fixes #356175.
265
266         * gobjectnotifyqueue.c: fixed include-guard macro name.
267
268 Mon Sep 11 12:12:45 2006  Tim Janik  <timj@imendio.com>
269
270         * gparam.c (g_param_spec_sink): reimplemented floating flag handling by
271         atomically accessing a reserved GData bit, fixes #330556.
272
273 Tue Aug 29 13:27:33 2006  Tim Janik  <timj@gtk.org>
274
275         * glib-mkenums.in: fixed to print usage and version info on STDOUT
276         (#322502).
277
278         * gobject.c (g_initially_unowned_init): restore ; after G_DEFINE_TYPE.
279
280 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
281
282         * gobject.c: Remove ; after G_DEFINE_TYPE.  (#351741, Kjartan Maraas)
283
284 Wed Aug 23 10:35:32 2006  Tim Janik  <timj@gtk.org>
285
286         * gobject.[hc]: changed return value of g_value_dup_object(), fixes #343292.
287
288 2006-08-23  Sven Neumann  <sven@gimp.org>
289
290         * gobject/glib-genmarshal.[c1]: added new command-line option
291         "--internal" that can be used to let glib-genmarshal generate
292         internal functions using the G_GNUC_INTERNAL attribute (bug #346647).
293
294 Wed Aug 16 13:55:08 2006  Tim Janik  <timj@imendio.com>
295
296         * gobject.c: conditionally thaw the notify queue after construction,
297         so we don't trigger warnings when trying to thaw an unfrozen singleton.
298
299 2006-08-15  Matthias Clasen  <mclasen@redhat.com>
300
301         * === Released 2.12.2 ===
302
303 2006-08-05  Matthias Clasen  <mclasen@redhat.com>
304
305         * gparamspecs.c (g_param_spec_types_init): Don't initialize
306         struct members with function calls.  (#349952)
307
308 2006-07-22  Matthias Clasen  <mclasen@redhat.com>
309
310         * === Released 2.12.1 ===
311
312 2006-07-21  Matthias Clasen  <mclasen@redhat.com>
313
314         * gtypemodule.c (g_type_module_register_type): Copy the complete
315         value table, not just the first 4 bytes.  (#348136, Coverity)
316
317 2006-07-02  Matthias Clasen  <mclasen@redhat.com>
318
319         * === Released 2.12.0 ===
320
321 2006-06-20  Matthias Clasen  <mclasen@redhat.com>
322
323         * === Released 2.11.4 ===
324
325 2006-06-15  Federico Mena Quintero  <federico@novell.com>
326
327         * gtype.c (g_type_instance_get_private): Fix the error message so
328         that it mentions the right functions:
329         "g_type_instance_get_private() requires a prior call to
330         g_type_class_add_private()".
331
332 2006-06-12  Matthias Clasen  <mclasen@redhat.com>
333
334         * === Released 2.11.3 ===
335
336 2006-06-05  Matthias Clasen  <mclasen@redhat.com>
337
338         * === Released 2.11.2 ===
339
340 2006-06-02  Behdad Esfahbod  <behdad@gnome.org>
341
342         * gobject/genum.h: Make value_name and value_nick const in structs
343         _GEnumValue and _GFlagValue.  (#317793)
344
345 Tue May 16 14:01:43 2006  Tim Janik  <timj@imendio.com>
346
347         * gtype.h (G_IMPLEMENT_INTERFACE): turn off compiler warnings, #337129.
348
349 2006-05-15  Matthias Clasen  <mclasen@redhat.com>
350
351         * === Released 2.11.1 ===
352
353 2006-05-02  Matthias Clasen  <mclasen@redhat.com>
354         
355         * === Released 2.11.0 ===
356
357 Tue May  2 14:51:03 2006  Tim Janik  <timj@gtk.org>
358
359         * gtype.h: split up G_DEFINE_*TYPE macro definitions so C CODE arguments
360         are not passed on to nested macro calls. patch mostly courtesy of Behdad
361         Esfahbod, fixes #337128.
362
363 2006-04-23  Matthias Clasen  <mclasen@redhat.com>
364
365         * gobject.symbols: Fix a typo.
366
367         * gtype.c: (g_type_register_static_simple): Add a 
368         missing return.
369
370         * gtype.h: Silence warnings from G_DEFINE_TYPE.
371         
372 2006-04-21  Matthias Clasen  <mclasen@redhat.com>
373
374         * gobject.symbols:
375         * gtype.[hc]: Add a g_type_register_static_simple
376         variant of g_type_register_static that does not take 
377         a relocation-causing GTypeInfo struct, and use it 
378         in G_DEFINE_TYPE.
379
380 2006-03-07  Matthias Clasen  <mclasen@redhat.com>
381
382         * ===  Released 2.10.1 ===
383
384 Tue Mar  7 17:09:07 2006  Tim Janik  <timj@gtk.org>
385
386         * gobject.c (g_object_compat_control): added case3 to hand out the
387         original floating flag handler. required by gtk+ >= 2.10.
388
389 2006-02-24  Matthias Clasen  <mclasen@redhat.com>
390
391         * === Released 2.10.0 ===
392
393 2006-02-10  Matthias Clasen  <mclasen@redhat.com>
394
395         * === Released 2.9.6 ===
396
397 2006-01-29  Matthias Clasen  <mclasen@redhat.com>
398
399         * gclosure.c: Remove C++ comment.
400
401 2006-01-27  Matthias Clasen  <mclasen@redhat.com>
402
403         * === Released 2.9.5 ===
404
405 2006-01-18  Matthias Clasen  <mclasen@redhat.com>
406         
407         * === Released 2.9.4 ===
408
409 2006-01-18  Matthias Clasen  <mclasen@redhat.com>
410
411         * gobject.h: Make g_object_compat_control() visible
412         for GTK+ compilation, to avoid segfaults on 64bit
413         platforms.
414
415 2006-01-16  Matthias Clasen  <mclasen@redhat.com>
416
417         * === Released 2.9.3 ===
418
419 2006-01-05  Matthias Clasen  <mclasen@redhat.com>
420
421         * === Released 2.9.2 ===
422
423 2006-01-04  Matthias Clasen  <mclasen@redhat.com>
424
425         * gobject.symbols: Add g_initially_unowned_get_type.
426
427 2005-12-30  Matthias Clasen  <mclasen@redhat.com>
428         
429         * gsignal.c: Remove the handler trash stack, which
430         is now unused.
431         (g_signal_init): Remove the restriction that HandlerMatch
432         must be the same size as GList, and obsolete comments 
433         referring to mem chunks.
434
435 2005-12-24  Matthias Clasen  <mclasen@redhat.com>
436
437         * gobject.symbols: Add new functions.
438
439 Thu Dec 22 18:53:14 2005  Tim Janik  <timj@gtk.org>
440
441         * gobject.[hc]: renamed GUnowned to GInitiallyUnowned.
442
443 Thu Dec 22 14:59:24 2005  Tim Janik  <timj@imendio.com>
444
445         * gvaluetypes.[hc]: implemented G_TYPE_GTPYE. applied patch
446         from matthias which implements GType accessors for GValue.
447
448         * gparamspecs.[hc]: applied patch from matthias which 
449         implements G_TYPE_PARAM_GTYPE.
450
451         * gobject.[hc]:
452         GUnowned: introduced a new object type that has an initially
453         floating reference.
454         g_object_compat_control(): allow setting of a floating flag handler.
455
456 2005-12-09  Matthias Clasen  <mclasen@redhat.com>
457
458         * === Released 2.9.1 ===
459
460 2005-12-05  Matthias Clasen  <mclasen@redhat.com>
461
462         * genums.h (G_FLAGS_CLASS_TYPE_NAME): Use G_FLAGS_CLASS_TYPE.
463         (#323273, Kalle Vahlman)
464         
465 Thu Dec  1 12:53:26 2005  Tim Janik  <timj@imendio.com>
466
467         * gtype.c: use g_slic_* for all object allocations.
468
469 2005-11-28  Matthias Clasen  <mclasen@redhat.com>
470
471         * gobjectnotifyqueue.c (g_object_notify_queue_thaw): 
472         * gobject-query.c (main): Silence compiler warnings.
473
474         * glib-genmarshal.c (main): Use G_N_ELEMENTS.
475
476 2005-11-27  Matthias Clasen  <mclasen@redhat.com>
477
478         * gboxed.h: Declare g_hash_table_get_type.
479
480 Wed Nov 23 18:01:46 2005  Tim Janik  <timj@imendio.com>
481
482         * gobject.[hc]: added floating reference count.
483         g_object_is_floating():
484         g_object_ref_sink(): new functions to deal with floating references.
485         g_object_force_floating(): new funciton for object implementations
486         to set the floating flag.
487
488         * gobject.c (g_object_init): make objects initially floating.
489
490 Wed Nov 23 17:58:13 2005  Tim Janik  <timj@gtk.org>
491
492         * gparam.[hc]: added g_param_spec_ref_sink().
493
494 Wed Nov 23 13:36:02 2005  Tim Janik  <timj@gtk.org>
495
496         * gboxed.[hc]: minor cleanups, implemented G_TYPE_HASH_TABLE.
497
498 2005-11-17  Matthias Clasen  <mclasen@redhat.com>
499
500         * === Released 2.9.0 ===
501
502 2005-11-17  Matthias Clasen  <mclasen@redhat.com>
503
504         * glib-genmarshal.c: const correctness fixes, found
505         by Arjan van de Ven and gcc.
506         
507 Tue Nov  1 17:07:43 2005  Tim Janik  <timj@imendio.com>
508
509         * gsignal.c: allocate signal handlers and handler match structures
510         via the new g_slice_*() API (get's rid of GList allocation hack).
511
512         * gtype.c: got rid of per-type memchunks. if GTypeInfo.n_preallocs
513         is > 0, objects are allocated via g_slice_*() instead of g_malloc().
514
515 2005-10-03  Matthias Clasen  <mclasen@redhat.com>
516
517         * glib-mkenums.in: Really fix #314890.
518
519 2005-09-28  Michael Natterer  <mitch@gimp.org>
520
521         * gtype.h (G_IMPLEMENT_INTERFACE): revert last change, it breaks
522         all users of G_IMPLEMENT_INTERFACE() inside
523         G_DEFINE_TYPE_WITH_CODE(), since apparently GCC doesn't like
524         commas enclosed in {}, not (), in nested macro calls.
525
526 2005-09-26  DindinX  <dindinx@gimp.org>
527
528         * gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
529         G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
530
531 2005-09-26  Matthias Clasen  <mclasen@redhat.com>
532
533         * glib-mkenums.in: Don't hang on '{' following a trigraph comment
534         in the same line.  (#314890, Mathias Hasselmann)
535
536 Thu Sep 22 12:42:12 2005  Tim Janik  <timj@gtk.org>
537
538         * gparam.c (g_param_spec_internal): fix pspec->name assignment which
539         needs to be strdup()ed for non G_PARAM_STATIC_NAME pspecs. this fixes
540         recently introduced crashes during plugin unloading.
541         also, ensure that static pspec names are canonicalized.
542
543         * gsignal.h: reverted last change from matthias, we don't guarantee
544         that type ids aren't mangled with G_SIGNAL_TYPE_STATIC_SCOPE anywhere.
545
546 2005-09-20  Matthias Clasen  <mclasen@redhat.com>
547
548         * gsignal.h (struct _GSignalQuery): Remove the misleading comment
549         about G_SIGNAL_TYPE_STATIC_SCOPE, since we don't allow that 
550         on return types.
551
552 2005-09-08  Kjartan Maraas  <kmaraas@gnome.org>
553
554         * gclosure.c: (g_closure_set_meta_marshal): Remove some unused
555         code.
556         * gsignal.c: (g_signal_emitv): Same here
557         * gtype.c: (g_type_register_fundamental): And here
558         * testgobject.c: Mark some functions static.
559
560 2005-09-05  Matthias Clasen  <mclasen@redhat.com>
561
562         * gsignal.c (struct _SignalNode): Make the name field const.
563         (g_signal_newv): Don't keep an unnecessary extra copy of the 
564         signal name around, and don't forget to free the name if
565         an existing node is reused.     
566
567 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
568
569         * gobject.c (g_object_do_class_init): Intern the signal name.
570
571         * gparam.c (g_param_spec_internal): Intern the name here,
572         since we need the quark anyway when sending change notification.
573
574         * gboxed.c: 
575         * gparamspecs.c: 
576         * gtype.c (g_type_init_with_debug_flags): Intern type name
577         before registering the types.
578
579         * gtype.h (G_DEFINE_TYPE_EXTENDED): Intern type name
580         before registering the type.
581
582         * gvaluetypes.c (g_value_types_init): 
583         * gtypeplugin.c (g_type_plugin_get_type): 
584         * gtypemodule.c (g_type_module_get_type): 
585         * gparam.c (g_param_type_init): 
586         * gobject.c (g_object_type_init): 
587         * genums.c (g_enum_types_init): 
588         * gboxed.c (g_boxed_type_init): Intern type names
589         before registering the type to avoid unnecessary
590         copies.
591
592 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
593
594         * === Released 2.8.1 ===
595
596 2005-08-12  Matthias Clasen  <mclasen@redhat.com>
597
598         * === Released 2.8.0 ===
599
600 2005-08-09  Matthias Clasen  <mclasen@redhat.com>
601
602         * gvaluetransform.c: Access enum and flags
603         values as v_long/v_ulong, not v_int/v_uint,
604         to make value transformation of such types
605         work on bigendian 64bit machines.  (#312485,
606         Michael Lorenz)
607
608 2005-08-05  Matthias Clasen  <mclasen@redhat.com>
609         
610         * abicheck.sh: Also check exported variables
611
612         * === Released 2.7.7 ===
613
614 2005-08-03  Matthias Clasen  <mclasen@redhat.com>
615
616         * === Released 2.7.6 ===
617
618 2005-08-02  Matthias Clasen  <mclasen@redhat.com>
619
620         * gclosure.c (union ClosureInt): Mark the vint member as
621         volatile, which seems to be necessary to make atomic operations
622         work on s390.
623
624         * === Released 2.7.5 ===
625
626 Mon Aug  1 23:00:42 2005  Tim Janik  <timj@imendio.com>
627
628         * gclosure.c: turned all modifications to the first 32 integer bits in a 
629         closure into atomic accesses. wrapped write accesses into special macros
630         to keep the atomic modification logic in a single place. comment cleanups.
631
632         * gclosure.h: made all atomicly accessed closure fields volatile.
633
634         * gobject.h: made ref_count field volatile.
635
636 Sun Jul 31 02:04:23 2005  Tim Janik  <timj@gtk.org>
637
638         * gobject.c: use g_datalist_set_flags() and g_datalist_unset_flags() to
639         allow proper locking around &qdata modifications.
640
641 Sat Jul 30 21:10:26 2005  Tim Janik  <timj@gtk.org>
642
643         * gobject.c: reverted notify_mutex introduction, since this prevents
644         parallelized setting of object properties on different objects, and
645         serves no apparent purpose (to me at least).
646         g_object_real_dispose(): removed non-atomic reference count 
647         modifications.
648         g_object_unref(): make sure the closures array is destroyed when
649         destroying signal handlers.
650
651         * gparam.c: cosmetic changes.
652
653         * gsignal.c: comment fixup. allow 16bit blocking count.
654
655         * gsignal.c: reverted GClosure related changes.
656
657         * gclosure.c: reverted premature commit of atomic reference
658         counting attempt.
659
660 2005-07-21  Matthias Clasen  <mclasen@redhat.com>
661
662         * === Released 2.7.4 ===
663
664 2005-07-15  Matthias Clasen  <mclasen@redhat.com>
665
666         * === Released 2.7.3 ===
667         
668 2005-07-15  Matthias Clasen  <mclasen@redhat.com>
669
670         Make refcounting threadsafe by using atomic 
671         operations.  (#166020, Wim Taymans)
672         
673         * gobject.c: Use a recursive lock to protect the 
674         notify queue.
675         (g_object_unref): Get rid of g_object_last_unref and
676         do the last unref handling in g_object_unref.
677         (g_object_ref, g_object_unref): Use atomic operations.
678
679         * gsignal.c (struct _HandlerMatch): Use a full integer
680         for the ref_count field.
681         (handler_ref, handler_unref_R): Use atomic operations.
682
683         * gparam.c (g_param_spec_ref, g_param_spec_unref): 
684         Use atomic operations instead of a lock to make the
685         refcounting threadsafe.
686
687         * gclosure.c (g_closure_ref, g_closure_unref): Use atomic
688         operations. This is more complicated here, since the
689         refcount is stored in a bitfield, so we also have
690         to access all other bitfield members atomically.
691
692         * gsignal.c (handlers_find): Read the meta_marshal flag
693         of the closure atomically.
694
695 2005-07-11  Matthias Clasen  <mclasen@redhat.com>
696
697         * gobject.h: 
698         * gobject.symbols: Remove G_GNUC_NULL_TERMINATED from
699         g_object_new again, since that makes gcc warn on calls of 
700         the form g_object_new (some_type, NULL)
701
702 2005-07-09  Tor Lillqvist  <tml@novell.com>
703
704         * Makefile.am: Don't use the scripts in build/win32 to compile
705         gobject.rc into a resource object file. (This means we lose the
706         build number increment magic, but I doubt it was that useful
707         anyway.) Instead use windres directly. To pass the normal .o file
708         produced by windres through libtool, which wants .lo files, pass
709         it directly to the linker using a -Wl option.
710
711         * gobject.rc.in: Thus replace BUILDNUMBER with 0.
712
713 2005-07-08  Matthias Clasen  <mclasen@redhat.com>
714         
715         * === Released 2.7.2 ===
716
717 2005-06-30  Matthias Clasen  <mclasen@redhat.com>
718
719         * === Released 2.7.1 ===
720
721 2005-06-26  Tor Lillqvist  <tml@novell.com>
722
723         * Makefile.am: libtool installs/uninstalls the import library, no
724         need to do it ourselves. Do still install/uninstall the .def file,
725         though.
726
727 2005-06-24  Tor Lillqvist  <tml@novell.com>
728
729         * Makefile.am (install-libtool-import-lib): Current GNU tools do
730         understand the PRIVATE keyword.
731
732 2005-06-19  Matthias Clasen  <mclasen@redhat.com>
733
734         * gparam.h (GParamFlags): Avoid a warning.  (#308295,
735         Murray Cumming).
736
737 2005-06-13  Matthias Clasen  <mclasen@redhat.com>
738
739         * gparam.h (GParamFlags): Re-add G_PARAM_PRIVATE as a 
740         deprecated name for bit 5, since some language bindings
741         have it bound.
742
743 2005-06-10  Matthias Clasen  <mclasen@redhat.com>
744
745         * === Released 2.7.0 ===
746
747 2005-05-20  Matthias Clasen  <mclasen@redhat.com>
748
749         * gvaluetypes.c (g_value_set_string): dup the new value
750         before freeing the old, just in case.  (#172142, Morten
751         Welinder)
752
753 2005-05-13  Matthias Clasen  <mclasen@redhat.com>
754
755         * glib-genmarshal.1: Mention 64bit integer types.
756
757 2005-05-05  Owen Taylor  <otaylor@redhat.com>
758
759         * gobject.[ch] gobject.symbols: Add
760         g_object_add/remove_toggle_ref() functions to get notification
761         when a reference count is the last remaining reference; this
762         enables better memory management for language bindings.
763         (http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)
764
765 2005-04-29  Matthias Clasen  <mclasen@redhat.com>
766
767         * gobject.symbols: 
768         * gboxed.h (G_TYPE_DATE): 
769         * gboxed.c: Add a boxed type for GDate. (#301787, Tim-Philipp 
770         Müller)
771
772 2005-03-25  Matthias Clasen  <mclasen@redhat.com>
773
774         * gparam.c (param_spec_ht_lookup): Don't do the second
775         lookup if the name was already canonical.  (#171502, Morten
776         Welinder)
777
778 Tue Mar 22 14:15:23 2005  Manish Singh <yosh@gimp.org>
779
780         * gparam.c (g_param_spec_internal): cast away any constness on
781         assignment.
782
783 2005-03-21  Matthias Clasen  <mclasen@redhat.com>
784
785         * glib-mkenums.in: Avoid forcing extra newlines when using
786         template files.  (#171005)
787
788 2005-03-20  Matthias Clasen  <mclasen@redhat.com>
789
790         * gparam.c (g_param_spec_internal): Don't copy strings
791         which are marked as static. Don't allow non-canonical static 
792         names.
793
794         * gparam.h (GParamFlags): Add G_PARAM_STATIC_{NAME,NICK,BLURB}
795         flags.  (#160655, Ben Maurer)
796         
797 2005-03-18  Hans Breuer  <hans@breuer.org>
798
799         * makefile.msc.in : handle gobjectaliasdef.c
800
801 2005-03-14  Matthias Clasen  <mclasen@redhat.com>
802
803         Make PLT-reduction work with gcc4, and don't include
804         everything in gobjectalias.h:
805         
806         * gobject.symbols: Group symbols by header and source 
807         file.
808         * makegobjectalias.pl: Protect definitions by the same 
809         preprocessor symbols used to guard the headers. Move
810         the alias declarations to a separate file which is 
811         produced when calling makegalias.pl -def
812         * Makefile.am (gobjectaliasdef.c): Add a rule to 
813         build this file.
814         * *.c: Include gobjectalias.h after the other i
815         GLib headers, include gobjectaliasdef.c at the bottom.
816
817 2005-03-08  Matthias Clasen  <mclasen@redhat.com>
818
819         * gobject.symbols: Add the new attributes here, too.
820
821         * gobject.h: Use G_GNUC_NULL_TERMINATED where
822         appropriate.  (#164706, Marc Meissner)
823
824         * gvaluearray.h: Small cleanup (use G_BEGIN/END_DECLS).
825         (#168474, Fabricio Barros Cabral)
826
827 2005-02-24  Tor Lillqvist  <tml@novell.com>
828
829         * Makefile.am (EXTRA_DIST): Don't distribute
830         gobject.def. (#167496, J. Ali Harlow)
831
832 Sun Feb  6 22:00:46 2005  Manish Singh  <yosh@gimp.org>
833
834         * abicheck.sh: feed the contents of config.h and glibconfig.h
835         into the preprocessor, since glib.symbols could need #defines
836         from them.
837
838 2005-01-12  Matthias Clasen  <mclasen@redhat.com>
839
840         Cosmetic fixes (#163792, Benoît Carpentier):
841         
842         * gobject-query.c (main): Remove duplicate lines.
843
844         * gvaluetransform.c: Remove duplicate definitions of
845         value_transform_[u]int64_[u]int64.
846
847 2005-01-07  Matthias Clasen  <mclasen@redhat.com>
848
849         * === Released 2.6.1 ===
850
851 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
852
853         * Makefile.am: Only check the ABI on linux, since
854         the shell script is not portable.  (#161734, Adrian Bunk)
855
856 2004-12-16  Matthias Clasen  <mclasen@redhat.com>
857
858         * === Released 2.6.0 ===
859         
860 2004-12-02  Matthias Clasen  <mclasen@redhat.com>
861
862         * === Released 2.5.7 ===
863         
864 2004-11-30  Tor Lillqvist  <tml@iki.fi>
865
866         * Makefile.am (gobject.def): gcc -E complains "linker input file
867         unused because linking not done" if told to preprocess the
868         gobject.symbols file. Use '-' and redirection to pass it as
869         standard input instead.
870
871 Sun Nov 28 13:21:12 2004  Manish Singh  <yosh@gimp.org>
872
873         * abicheck.sh: filter G_GNUC before PRIVATE so $ is still true.
874
875 Sun Nov 28 01:37:54 2004    <timj@birnet.org>
876
877         * gsignal.c: applied patch by sven@gimp.org (#153727) to reduce
878         signal connection complexity from O(n_handlers) to O(1).
879
880 Thu Nov 25 14:09:41 2004  Manish Singh  <yosh@gimp.org>
881
882         * abicheck.sh: filter out G_GNUC stuff when doing the compare.
883
884 2004-11-23  Matthias Clasen  <mclasen@redhat.com>
885
886         * gobject.symbols: Typo fix.
887
888         Fix a problem with the PLT reduction changes which caused the
889         internal aliases to lose all attributes.
890         
891         * gobject.symbols: Add attribute annotations.
892         * makegobjectalias.pl: Keep attribute annotations, but strip PRIVATE.
893         * Makefile.am (gobject.def): Strip attribute annotations, but keep 
894         PRIVATE.
895
896         * gtypemodule.h (g_type_module_get_type): Mark as const,
897         like all other get_type() functions.
898
899 2004-11-12  Matthias Clasen  <mclasen@redhat.com>
900
901         * === Released 2.5.6 ===
902         
903 Mon Nov  8 10:47:41 2004  Manish Singh  <yosh@gimp.org>
904
905         * gobject/gsourceclosure.c: removed wrap_g_io_channel_ref() hack,
906         since g_io_channel_ref() has a compatible API now.
907
908 2004-11-02  Matthias Clasen  <mclasen@redhat.com>
909
910         * === Released 2.5.5 ===
911
912 2004-10-27 Matthias Clasen  <mclasen@redhat.com>
913
914         * === Released 2.5.4 ===
915
916 2004-10-27  Matthias Clasen  <mclasen@redhat.com>
917
918         * abicheck.sh: Strip Win32 specific defs file syntax.
919
920         * Makefile.am (gobjectalias.h): Fix srcdir != builddir 
921         builds.  (#156447, Thomas Fitzsimmons)
922
923 2004-10-26  Matthias Clasen  <mclasen@redhat.com>
924
925         * abicheck.sh: Don't include symbols which are just in the 
926         symbols list for .defs file compatibility.
927
928 2004-10-23  Matthias Clasen  <mclasen@redhat.com>
929
930         * gtype.h (GTypeInterfaceCheckFunc): Rename first parameter to 
931         check_data, since apparently the system headers on AIX leak a
932         macro named func_data.  (#155178, Andrea Campi)
933
934 Wed Oct  6 02:12:44 2004    <timj@birnet.org>
935
936         * gtype.c (g_type_instance_get_private): applied patch from Jean-Yves 
937         Lefort <jylefort@brutele.be> to not access the instance_real_class_bsa
938         pointer without holding the instance_real_class lock.
939
940 2004-10-04  Matthias Clasen  <mclasen@redhat.com>
941
942         * gsignal.c (g_signal_add_emission_hook): Improve the warning 
943         if G_SIGNAL_NO_HOOKS is set.  (#154299, Nickolay V. Shmyrev)
944
945 2004-09-22  Tor Lillqvist  <tml@iki.fi>
946
947         * Makefile.am (install-libtool-import-lib): [Win32] Add code to
948         remove the bug-compatibility entries (see #134813, and related
949         comments below) from the import library. The PRIVATE keyword in
950         the .def file is supposed to mean that, but it isn't implemented
951         yet by GNU ld.
952
953         * makegobjectalias.pl: In case the symbol is followed by some
954         stuff ("PRIVATE") that's intended for the .def file, use just the
955         actual symbol.
956
957         * gobject.symbols: For binary bug compatibility on Win32, add the
958         g_slist_remove_all and g_unichar_validate symbols inside #ifdef
959         INCLUDE_INTERNAL_SYMBOLS. (See #134813 and log entries from March
960         below.)
961
962 2004-09-18 Matthias Clasen  <mclasen@redhat.com>
963
964         * === Released 2.5.3 ===
965
966 Thu Sep 16 18:42:46 2004  Manish Singh  <yosh@gimp.org>
967
968         * abicheck.sh: don't hardcode lengths for cut, instead split on
969         the third field.
970
971 2004-09-16  Matthias Clasen  <mclasen@redhat.com>
972
973         Implement the same PLT reduction technique used in GTK+:
974
975         * Makefile.am: Generate gobjectalias.h from gobject.symbols.
976         (BUILT_SOURCES): Add gobjectalias.h.
977
978         * makegobjectalias.pl: Script to generate gobjectalias.h.
979
980         * *.c: Include gobjectalias.h
981
982 2004-09-16  Matthias Clasen  <mclasen@redhat.com>
983
984         Add ABI control using the same technique that is used in GTK+.
985         
986         * gobject.symbols: Master list of symbols.
987
988         * gobject.def: Removed. It is now generated from gobject.symbols.
989
990         * Makefile.am: Generate gobject.def from gobject.symbols.
991         (TESTS): Add abicheck.sh
992         (EXTRA_DIST): Add abicheck.sh
993         (export_symbols): Don't export _-prefixed symbols.
994
995         * gtype.h: 
996         * gtype.c: Move the declarations of the various _init() functions
997         to the header, and mark them as G_GNUC_INTERNAL.
998
999 2004-08-25 Matthias Clasen  <mclasen@redhat.com>
1000
1001         * === Released 2.5.2 ===
1002
1003 2004-08-01 Matthias Clasen  <mclasen@redhat.com>
1004
1005         * === Released 2.5.1 ===
1006
1007 2004-07-28  Matthias Clasen  <mclasen@redhat.com>
1008
1009         * gtype.c (g_type_instance_get_private): Catch cases of 
1010         forgotten g_type_add_private().  (#148368, Tommi Komulainen) 
1011
1012 2004-07-21  Matthias Clasen  <mclasen@redhat.com>
1013
1014         * glib-genmarshal.c (put_marshal_value_getters): Use the 
1015         correct fields for enums and flags.  (#145015, Tommi Komulainen) 
1016
1017 Sun Jul 18 18:03:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1018
1019         * === Released 2.5.0 ===
1020
1021 2004-07-12  Matthias Clasen  <mclasen@redhat.com>
1022
1023         * gsignal.c (g_signal_handler_is_connected): Don't
1024         choke on a zero handler_id.
1025
1026 Tue Jul  6 00:46:43 2004  Matthias Clasen  <maclas@gmx.de>
1027
1028         * gtypemodule.h: 
1029         * gtypemodule.c: Fix the declarations of the new 
1030         functions to return GType, not void. 
1031         Also add missing includes.  (#145508, Morten Welinder)
1032
1033 Tue Jul  6 00:46:43 2004  Matthias Clasen  <maclas@gmx.de>
1034
1035         * gtypemodule.h: 
1036         * gtypemodule.c (g_type_module_register_flags): 
1037         * gtypemodule.c (g_type_module_register_enum): New 
1038         functions to register enum and flags types from a 
1039         GTypeModule.  (#145396, Sven Neumann)
1040
1041 Wed Jun 23 12:55:34 2004  Matthias Clasen  <maclas@gmx.de>
1042
1043         * gtype.h (G_DEFINE_TYPE_EXTENDED): Add an initializer for
1044         the g_define_type_info.value_table.  (#144678, Mariano 
1045         Suárez-Alvarez) 
1046
1047 Tue Jun 22 21:50:47 2004  Matthias Clasen  <maclas@gmx.de>
1048
1049         * gsignal.c: Fix a couple of typos.
1050
1051 Fri Jun 18 22:53:13 2004  Matthias Clasen  <maclas@gmx.de>
1052
1053         * gsourceclosure.h (__G_SOURCECLOSURE_H__): Actually 
1054         define the guard after checking for it.  (#108038, 
1055         Morten Welinder)
1056
1057 2004-04-30  Matthias Clasen  <mclasen@redhat.com>
1058
1059         * === Released 2.4.1 ===
1060
1061 2004-04-22  Matthias Clasen  <mclasen@redhat.com>
1062
1063         * glib-mkenums.in: Actually convert escape chars in 
1064         --vprod.   (#139058, Christophe Saout)
1065
1066 2004-04-15  Matthias Clasen  <mclasen@redhat.com>
1067
1068         * gparamspecs.c (param_float_init): Correct the initial 
1069         minimal value to be -G_MAXFLOAT. The initial values were 
1070         inconsistant before, with the initial default being smaller 
1071         than the inital minimum.        
1072         (param_double_init): Correct the initial minimal value 
1073         to be -G_MAXDOUBLE.
1074
1075 Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>
1076
1077         * === Released 2.4.0 ===
1078
1079 2004-03-10  Tor Lillqvist  <tml@iki.fi>
1080
1081         * gobject.def: Mark the two entries that shouldn't be in the
1082         import library (see below) as PRIVATE.
1083
1084 Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>
1085
1086         * === Released 2.3.6 ===
1087
1088 2004-03-04  Tor Lillqvist  <tml@iki.fi>
1089
1090         * gobject.def: Another of the glib DLL's functions was erronously
1091         present in the stable branch's gobject.def: g_unichar_validate,
1092         and nobody noticed until too late. Thus there are applications
1093         deployed that expect it to be found in the gobject DLL, and to
1094         keep ABI compatibility, we must keep it there forever. Argh.
1095
1096 Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>
1097
1098         * === Released 2.3.5 ===
1099
1100 2004-03-01  Tor Lillqvist  <tml@iki.fi>
1101
1102         * gobject.def: Add g_slist_remove_all back for ABI
1103         compatibility. That entry point actually is in the glib DLL, but
1104         it was at some time many years ago by mistake added to
1105         gobject.def. Thus there presumably are executables out there that
1106         expect it to be exported from the gobject DLL. We don't want to
1107         break those. (#134813, J. Ali Harlow)
1108
1109 Fri Feb 27 01:49:22 2004  Matthias Clasen  <maclas@gmx.de>
1110
1111         * glib-mkenums.in: Support parsing of intializers containing
1112         macros with arguments.  (#129717)
1113
1114 2003-02-28  Hans Breuer  <hans@breuer.org>
1115
1116         * gobject.def : added g_strv_get_type
1117
1118 Tue Feb 24 14:09:21 2004  Owen Taylor  <otaylor@redhat.com>
1119
1120         * === Released 2.3.3 ===
1121
1122 Fri Feb 20 02:44:54 2004  Tim Janik  <timj@gtk.org>
1123
1124         * gtype.h (G_DEFINE_TYPE_EXTENDED): added (GTypeFlags) cast needed by C++.
1125
1126 Tue Feb  3 21:24:01 2004  Tim Janik  <timj@gtk.org>
1127
1128         * gtype.h (_G_TYPE_CVH): provide a short-cut version for
1129         this macro in case value->g_type==checked_type for gcc, similar
1130         to instance and class check short-cuts. this speeds up code that
1131         makes frequent use of G_VALUE_HOLDS_*() (e.g. setters/getters).
1132
1133         * gtype.c (type_data_last_unref_Wm): don't call class-cache functions
1134         for the uncached case, this rendered g_type_class_unref_uncached()
1135         useless. pointed out by Stefan Westerfeld.
1136
1137 Sat Jan 24 18:20:13 2004  Tim Janik  <timj@gtk.org>
1138
1139         * gtype.h: prefixed the parent_class variable defined by G_DEFINE_TYPE()
1140         with type_name. removed type_parent_class argument
1141         from G_DEFINE_TYPE_EXTENDED().
1142
1143 2004-01-24  Tor Lillqvist  <tml@iki.fi>
1144
1145         * gobject.def: Add a missing entry.
1146
1147 Sun Jan 11 15:34:35 2004  Manish Singh  <yosh@gimp.org>
1148
1149         * gsourceclosure.c: wrap g_io_channel_ref in a function that returns
1150         the passed in GIOChannel, so we aren't abusing GBoxedCopyFunc
1151         semantics. Fixes bug #131076.
1152
1153 Sat Jan 10 23:55:42 2004  Matthias Clasen  <maclas@gmx.de>
1154
1155         * glib-mkenums.1: Document the lowercase_name trigraph option.
1156
1157 Sat Jan 10 02:43:20 2004  Tim Janik  <timj@gtk.org>
1158
1159         * gtype.h: made G_DEFINE_TYPE_INTERNAL() public by renaming it to
1160         G_DEFINE_TYPE_EXTENDED() and moving it into the appropriate section.
1161
1162 Fri Jan  9 23:41:00 2004  Matthias Clasen  <maclas@gmx.de>
1163
1164         * gboxed.h:
1165         * gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated
1166         string arrays.  (#110528)
1167
1168 Fri Jan  9 15:34:15 2004  Tim Janik  <timj@gtk.org>
1169
1170         * gtype.h: added convenience macros G_IMPLEMENT_INTERFACE() and
1171         G_DEFINE_TYPE() plus variants.
1172
1173 2003-12-30  Murray Cumming  <murrayc@usa.net>
1174   
1175         * gobject/glib-mkenums.in: Added a lowercase_name option, to be used
1176         next to the enum declaration, where the flag option is already used,
1177         when it is not possible to guess where to put the underscores in the
1178         _get_type() function name, for instance for GNOMEVFSURIHide.
1179
1180 Fri Dec 26 01:34:01 2003  Matthias Clasen  <maclas@gmx.de>
1181
1182         * gtype.c (g_type_class_peek_parent): Don't acquire a read lock 
1183         here.  (#106433, Owen Taylor)
1184
1185 Wed Dec 17 23:29:17 2003  Matthias Clasen  <maclas@gmx.de>
1186
1187         * gvalue.c (g_value_peek_pointer): Use g_assert() instead of
1188         g_return_val_if_fail(), suggested by Sheldon Simms.
1189
1190 2003-12-13  Hans Breuer  <hans@breuer.org>
1191
1192         gobject.def : update externals
1193
1194 Sat Nov 29 14:57:20 2003  Tim Janik  <timj@gtk.org>
1195
1196         * gobject.c: fix g_object_set() within _init() implementations
1197         not working for construct-only properties.
1198         (g_object_init): make the object enter a construct_objects list.
1199         (g_object_newv): remove object from construct_objects after creation.
1200         (g_object_set_valist):
1201         (g_object_set_property): allow construct-only properties for
1202         objects which are in construct_objects.
1203
1204 Thu Nov 27 17:53:52 2003  Tim Janik  <timj@gtk.org>
1205
1206         * gtype.[hc]:
1207         (g_type_class_peek_static): variant of class_peek() which works for
1208         static types only.
1209
1210         * gobject.c:
1211         (g_object_do_class_init): make ::notify a run-action signal.
1212         (g_object_newv): use g_type_class_peek_static() by default to
1213         speed up common code path (trades two write-locks for one read-lock).
1214         (g_object_disconnect):
1215         (g_object_connect): allow signal specification words to be
1216         seperated by '-'.
1217         (g_object_set_valist):
1218         (g_object_new_valist): don't leak values.
1219         (g_object_get_property): check property for readability.
1220         (g_object_set_property): check property for writability and to
1221         not be construct-only.
1222         (g_object_set_valist): check property to not be construct-only.
1223
1224 Sat Oct 25 01:09:17 2003  Matthias Clasen  <maclas@gmx.de>
1225
1226         * gparam.h (struct _GParamSpecClass): Add /*< private >*/ 
1227         marker for documentation purposes.
1228
1229 Tue Oct 21 23:17:06 2003  Matthias Clasen  <maclas@gmx.de>
1230
1231         * genums.h (struct _GEnumClass): 
1232         * genums.h (struct _GFlagsClass): 
1233         * gtypemodule.h (struct _GTypeModuleClass):
1234         * gtypemodule.h (struct _GTypeModule): Add /*< public >*/ 
1235         and /*< private >*/ markers for documentation purposes.
1236
1237 Tue Oct 14 17:40:19 2003  Owen Taylor  <otaylor@redhat.com>
1238
1239         * gparamspecs.[ch]: Add a new GParamSpecOverride type
1240         that is a pointer to a different paramspec in a parent
1241         class or interface.
1242
1243         * gparam.[ch]: Add g_paramspec_get_redirect_target()
1244         which follows GParamSpecOverride to the real property.
1245         Make g_param_spec_pool_list() hand redirections, 
1246         properties on interfaces.
1247
1248         * gobject.[ch] gobjectnotifyqueue.c: Add
1249         g_object_interface_install_property,
1250         g_object_interface_find_property,
1251         g_object_interface_list_properties(). Redirect virtually all
1252         publically exposed GParamSpec's to the redirect target if
1253         any. (->constructor is the exception.)
1254         (#105894)
1255
1256 Mon Oct 20 22:06:12 2003  Matthias Clasen  <maclas@gmx.de>
1257
1258         * gobject.h (struct  _GObjectClass): Add /*< public >*/
1259         and /*< private >*/ markers for documentation purposes.
1260
1261 Sat Oct 18 01:24:14 2003  Matthias Clasen  <maclas@gmx.de>
1262
1263         * gtypeplugin.h (struct _GTypePluginClass): Add /*< public >*/
1264         and /*< private >*/ markers for documentation purposes.
1265
1266 Thu Oct  2 07:37:12 2003  Tim Janik  <timj@gtk.org>
1267
1268         * gtype.c: fix post class_init interface initialization logic
1269         for child types.
1270
1271 Thu Oct  2 01:16:50 2003  Owen Taylor  <otaylor@redhat.com>
1272
1273         * gtype.[ch]: Add g_type_add/remove_interface_check(),
1274         which allows inserting a post-interface-initialization
1275         check.
1276
1277         * testgobject.c: Fix a deprecated usage.
1278
1279 Mon Sep 29 10:51:01 2003  Owen Taylor  <otaylor@redhat.com>
1280
1281         * gtype.[ch]: Add g_type_default_interface_ref/peek/unref
1282         for accessing the default vtable of an interface.
1283
1284 Fri Sep 26 17:24:53 2003  Owen Taylor  <otaylor@redhat.com>
1285
1286         * gtype.c (g_type_instance_get_private): You can
1287         have instance_real_class_bsa be non-NULL, but still 
1288         the class not be in the bsa. (Found by Kris Rietveld)
1289
1290 2003-09-15  Matthias Clasen  <maclas@gmx.de>
1291
1292         * glib-genmarshal.c (complete_out_arg): Don't generate code 
1293         using deprecated APIs.  (#122292, Christian Persch)
1294
1295 Fri Sep 12 16:31:40 2003  Owen Taylor  <otaylor@redhat.com>
1296
1297         * gsignal.[ch]: Add g_signal_accumulator_true_handled(), to
1298         do TRUE-stops-emit signals. (#80487, Ron Steinke)
1299
1300         * Makefile.am: Move testoverride.c and testifaceinit.c to
1301         tests/gobject.
1302
1303 2003-09-12  Matthias Clasen  <maclas@gmx.de>
1304
1305         Make the g_value_set_x_take_ownership() functions "official"
1306         part of the API (#100948):
1307         
1308         * gvaluetypes.[hc]: Add g_value_take_string() (synonym to the
1309         now deprecated g_value_set_string_take_ownership()).  
1310
1311         * gparam.[hc]: Add g_value_take_param() (synonym to the
1312         now deprecated g_value_set_param_take_ownership()).  
1313
1314         * gobject.[hc]: Add g_value_take_object() (synonym to the
1315         now deprecated g_value_set_object_take_ownership()).  
1316
1317         * gboxed.[hc]: Add g_value_take_boxed() (synonym to the
1318         now deprecated g_value_set_boxed_take_ownership()).  
1319
1320 Tue Sep  2 19:37:21 2003  Tim Janik  <timj@gtk.org>
1321
1322         * gtype.[hc]: added support for a "default vtable" per interface,
1323         that interface vtables are initialized from.
1324         the default vtable is initialized and finalized through class_init,
1325         class_finalize and class_data from the interfaces GTypeInfo struct.
1326         (type_data_last_unref_Wm): unload child plugin before unreffing
1327         parent type.
1328
1329         testifaceinit.c: minor fixups. fixed up base_init() assertions, since
1330         with a default vtable, base_init() may be called multiple times.
1331         added default initializer to iface1.
1332
1333 Tue Sep  2 14:53:41 2003  Tim Janik  <timj@gtk.org>
1334
1335         * gobject-query.c (main): fix iterating over fundamental types.
1336
1337         * gtype.c: applied patch from owen which keeps internal
1338         class initialization state to maintain class and interface
1339         initialization happen in the order of:
1340         1. class' base_init
1341         2. interface' base_init
1342         =  interfaces added after here are immediately base_init-ialized
1343         3. class_init
1344         4. Interface_init
1345         =  interfaces added here are immediately Interface_init-ialized
1346
1347 Wed Aug 27 19:53:26 2003  Manish Singh  <yosh@gimp.org>
1348
1349         * gobject.c: removed stray change from previous commit.
1350
1351 Wed Aug 27 01:25:40 2003  Owen Taylor  <otaylor@redhat.com>
1352
1353         * Makefile.am testifaceinit.c: Add a detailed test case
1354         for interface initialization, testing the ability to
1355         add interfaces during class initialization and the ordering
1356         of interface base_init, class init, and interface_init.
1357         (Expected to fail at the moment.)
1358
1359 Mon Aug 25 14:51:46 2003  Manish Singh  <yosh@gimp.org>
1360
1361         * gtypemodule.c (g_type_module_register_type): fix typo in last
1362         commit, cast to GTypeValueTable * to get rid of const warning.
1363
1364 Mon Aug 25 14:16:48 2003  Owen Taylor  <otaylor@redhat.com>
1365  
1366         * gtypemodule.c (g_type_module_register_type): Clarify
1367         docs on the return. Fix a memory leak if a type with a
1368         value table is reloaded. (#112439, Daniel Yacob)
1369  
1370 Tue Aug 19 05:21:04 2003  Tim Janik  <timj@gtk.org>
1371
1372         * testgobject.c (main): check private instance data after
1373         initialization.
1374
1375         * gtype.c: for instances with private data, store the real class
1376         pointer in a bsearch array during class initialization.
1377         (g_type_instance_get_private): fetch the real class of
1378         an instance from the bsearch array if necessary.
1379
1380 Tue Aug 19 04:08:14 2003  Tim Janik  <timj@gtk.org>
1381
1382         * gvalue.c: adapt to new gbsearcharray.h code.
1383         (g_value_register_transform_func): turn transform function
1384         replacement into a valid operation.
1385
1386         * gsignal.c: adapt to new gbsearcharray.h code.
1387         
1388         * gboxed.c: adapt to new gbsearcharray.h code.
1389
1390 Tue Aug 19 01:31:28 2003  Tim Janik  <timj@gtk.org>
1391
1392         * gsignal.c: added optimizations to skip NOP signal emissions.
1393
1394 2003-08-08  Matthias Clasen  <maclas@gmx.de>
1395
1396         * gobject.c (object_set_property): Improve the wording of the warning for invalid 
1397         values.  (#117246, Mariano Suarez-Alvarez)
1398         
1399 Wed Aug  6 09:57:14 2003  Owen Taylor  <otaylor@redhat.com>
1400
1401         * testgobject.c (test_signal_accumulator): Add check
1402         for instance private usage within in instance_init.
1403         (Currently will fail.)
1404
1405 2003-07-20  Hans Breuer  <hans@breuer.org>
1406
1407         * gobject.def : updated externals
1408
1409 Tue Jul  8 22:29:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1410
1411         * gtype.c (type_class_init_Wm): Only access node->data->instance
1412         when the node is instantiable.
1413
1414 Tue Jul  8 14:55:27 2003  Owen Taylor  <otaylor@redhat.com>
1415
1416         * gtype.c (type_class_init_Wm): Initialize
1417         node->data->instance.private_size here rather than
1418         in type_data_make_W() since the class init for the parent
1419         class may have changed pnode->data->instance.private_size.
1420         (#116921, reported by Soeren Sandmann)
1421
1422 2003-06-18  Matthias Clasen  <maclas@gmx.de>
1423
1424         * Makefile.am (man_MANS): Removed, these are now installed from
1425         docs/reference/gobject.
1426
1427 Fri May 30 14:42:24 2003  Owen Taylor  <otaylor@redhat.com>
1428  
1429         * gobject.c (g_value_set_object): Order refs/unrefs
1430         so setting the same object back is safe. (#112861,
1431         Morten Welinder)
1432  
1433 2003-03-24  Sven Neumann  <sven@gimp.org>
1434
1435         * gtype.c (type_data_finalize_class_ifaces_Wm): removed leftover
1436         debugging message (bug #109093).
1437
1438 Thu Feb 27 17:33:19 2003  Owen Taylor  <otaylor@redhat.com>
1439
1440         * gtype.[ch] testgobject.c: Add support for instance-private data. 
1441         g_type_class_add_private(), g_type_instance_get_private(),
1442         G_TYPE_INSTANCE_GET_PRIVATE(). (#101959, patch partly by
1443         Mark McLoughlin, extensive feedback from Tim Janik.)
1444
1445 2003-03-06  Matthias Clasen  <maclas@gmx.de>
1446
1447         * gsignal.c (g_signal_handlers_block_matched): 
1448         (g_signal_handlers_unblock_matched): 
1449         (g_signal_handlers_disconnect_matched): Fix 0/FALSE confusion.
1450         (#107662, Morten Welinder)
1451
1452 Mon Feb 17 20:59:47 2003  Tim Janik  <timj@gtk.org>
1453
1454         * gvalue.c (g_value_register_transform_func): don't assert the types
1455         passed in to have value tables. this prevents dynamic types from
1456         registering transform functions.
1457
1458 Sun Feb  9 13:44:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1459
1460         * gboxed.c (boxed_proxy_value_init): remove lookup of unused
1461         BoxedNode.
1462
1463 2003-02-07  Matthias Clasen  <maclas@gmx.de>
1464
1465         * gtypemodule.c: 
1466         * gtype.c: 
1467         * gsourceclosure.c: 
1468         * gparamspecs.c: 
1469         * gparam.c: 
1470         * gobject.c: 
1471         * gsignal.c: Remove all docs from gobject at Tims
1472         request. Documentation is only for weenies anyway...    
1473
1474 2003-01-12  Tor Lillqvist  <tml@iki.fi>
1475
1476         * gobject.def: Add g_type_interface_prerequisites. Thanks to
1477         Kenichi SUTO.
1478
1479 2002-12-18  Matthias Clasen  <maclas@gmx.de>
1480
1481         * gobject.c: Add docs.
1482
1483 2002-12-18  Michael Natterer  <mitch@gimp.org>
1484
1485         * gobject/gtype.c (type_data_finalize_class_ifaces_Wm): applied
1486         patch I got from Tim Janik for testing which fixes bug #101521.
1487         (restart iterating the interface enties each time we finalized one
1488         because they might have been modified).
1489
1490 2002-12-17  Matthias Clasen  <maclas@gmx.de>
1491
1492         * gparam.c (g_param_spec_internal): Remove markup from doc
1493         comment, as GObject doesn't use --sgml-mode yet.
1494
1495 2002-12-15  Matthias Clasen  <maclas@gmx.de>
1496
1497         * gsignal.c (g_signal_new): Typo fix.
1498
1499         * gparamspecs.c:  
1500         * gparam.c (g_param_spec_internal): 
1501         * gobject.c (g_object_class_install_property): Add docs.
1502
1503 2002-12-13  Matthias Clasen  <maclas@gmx.de>
1504
1505         * glib-genmarshal.c, gobject-query.c: Use g_printf() instead of 
1506         system printf.  (#99319)
1507
1508 Thu Dec 12 15:00:10 2002  Manish Singh  <yosh@gimp.org>
1509
1510         * gvaluetransform.c: use G_G[U]INT64_FORMAT unconditionally,
1511         since we'll always have it now.
1512
1513 2002-12-07  Matthias Clasen  <maclas@gmx.de>
1514
1515         * gparam.c (canonalize_key): Rename to canonicalize_key. Adjust
1516         all callers.
1517
1518 2002-12-05  Matthias Clasen  <maclas@gmx.de>
1519
1520         * gsignal.c (g_signal_new): Explain allowed signal names in more
1521         detail.
1522
1523 2002-12-04  Matthias Clasen  <maclas@gmx.de>
1524
1525         * gsignal.h (g_signal_add_emission_hook): 
1526         * gtype.h (g_type_interface_get_plugin): Sync parameter names with
1527         docs and implementation.
1528
1529         * gtype.c (g_type_add_interface_dynamic): 
1530         (g_type_interface_get_plugin): 
1531         (g_type_interface_peek_parent): 
1532         (g_type_query): Add docs.
1533
1534 2002-12-03  Matthias Clasen  <maclas@gmx.de>
1535
1536         * gtype.c (g_type_get_qdata): 
1537         (g_type_set_qdata): 
1538         (g_type_interface_add_prerequisite): Add docs.
1539
1540 2002-12-02  Matthias Clasen  <maclas@gmx.de>
1541
1542         * gobject.c (g_signal_connect_object): Add docs.
1543
1544 2002-11-30  Matthias Clasen  <maclas@gmx.de>
1545
1546         * gsignal.c: More docs.
1547
1548 2002-11-28  Matthias Clasen  <maclas@gmx.de>
1549
1550         * gtype.c (g_type_interface_prerequisites): Document as 2.2 
1551         API addition.
1552
1553 Thu Nov 21 16:05:50 2002  Owen Taylor  <otaylor@redhat.com>
1554
1555         * gtype.c (g_type_check_instance_cast): Allow
1556         NULL to be cast to any type. (Frequently requested,
1557         most recently #99023, Lars Clausen.)
1558
1559 Mon Nov  4 14:42:36 2002  Owen Taylor  <otaylor@redhat.com>
1560  
1561         * gtype.c gsignal.c gvaluearray.c: Include config.h
1562         so DISABLE_MEMPOOLS actually has an effect.
1563         (#96437, Morten Welinder)
1564  
1565         * gsignal.c: Conditionalize definition of g_handler_ts
1566         on DISABLE_MEM_POOLS (#96437)
1567         
1568 2002-10-20  Matthias Clasen  <maclas@gmx.de>
1569
1570         * gtype.c (g_type_interface_prerequisites): Report only the most
1571         specific instantiatable prerequisite, filter out all supertypes of
1572         this one (the supertypes are added to the prerequisites array for
1573         technical reasons).
1574
1575 2002-10-16  Matthias Clasen  <maclas@gmx.de>
1576
1577         * glib-mkenums.in: Support for template files.
1578         
1579         * glib-mkenums.1: Document --template.
1580
1581 2002-10-15  Matthias Clasen  <maclas@gmx.de>
1582
1583         * gtype.c (g_type_interface_prerequisites): New function to obtain
1584         the prerequisites of an interface type.
1585
1586 Sat Oct 12 22:02:32 2002  Tim Janik  <timj@gtk.org>
1587
1588         * merged up from 2.0:
1589
1590         * testgobject.c: test creation of new fundamental types.
1591
1592         * gtype.c (g_type_fundamental_next), (type_node_fundamental_new_W):
1593         account for static_fundamental_next storing non-shifted fundamental
1594         IDs. this fixes g_type_fundamental_next() not returning a new usable
1595         fundamental ID.
1596
1597 Wed Sep 11 16:50:20 2002  Dom Lachowicz <cinamod@hotmail.com>
1598
1599         * gtype.h: Fix problems with excessive C++ warnings: "ISO C++ forbids nested groups within expressions"
1600         
1601 Fri Jul 26 15:46:36 2002  Owen Taylor  <otaylor@redhat.com>
1602
1603         * gvaluetransform.c: Fix problems with excess ';'
1604         by addition of strategic 'extern void glib_dummy_decl (void)'
1605         (#83272, David L. Cooper II)
1606
1607 Thu Jul 25 20:34:39 2002  Owen Taylor  <otaylor@redhat.com>
1608
1609         * gtype.c (g_type_interface_add_prerequisite): When
1610         adding ancestral prerequisites, add the grandparents,
1611         not the siblings. (Problem found by Jon Trowbridge, patch from 
1612         Dave Camp, #86879)
1613
1614 2002-07-05  Anders Carlsson  <andersca@gnu.org>
1615
1616         * gobject.c (g_object_base_class_finalize): Remove debugging
1617         message, approved by Tim Janik.
1618
1619 2002-06-11  Anders Carlsson  <andersca@gnu.org>
1620
1621         * gtypemodule.c: (g_type_module_complete_interface_info):
1622         * gtypeplugin.h:
1623         Fix argument order. Fixes #82806.
1624         
1625 Mon May 20 15:57:47 2002  Owen Taylor  <otaylor@redhat.com>
1626
1627         * gsignal.c: When printing errors, handle NULL
1628         returns from g_type_debug(). (#73559, Laszlo Peter)
1629
1630         * gtype.c (type_descriptive_name_I): De-inline,
1631         since it's only used for debugging.
1632
1633 Tue May  7 15:03:02 2002  Owen Taylor  <otaylor@redhat.com>
1634
1635         * glib-genmarshal.c: Fix include order for config.h (#71704,
1636         Morten Welinder)
1637
1638 2002-05-07  Michael Natterer  <mitch@gimp.org>
1639
1640         * Makefile.am: use the glib-genmarshal found at configure time
1641         if CROSS_COMPILING is set, use the one which was just built
1642         otherwise.
1643
1644 Mon May  6 16:06:23 2002  Owen Taylor  <otaylor@redhat.com>
1645
1646         [ merged from stable ]
1647
1648         * gobject.c: Remove PROPERTIES_CHANGED enumeration
1649         value that wasn't used any more. (#78833, 
1650         Matthias Clasen)
1651
1652         * gboxed.c (g_boxed_copy): Remove check on data[2]
1653         that no longer exists. (#80814, Daniel Elstner)
1654
1655 Tue Mar 26 15:21:47 2002  Owen Taylor  <otaylor@redhat.com>
1656
1657         * gsignal.h (g_signal_handlers_*_by_func): Add explicit
1658         cast of G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA to
1659         GSignalMatchType so that these macros work for C++.
1660         (#76454, Damien Sandras)
1661
1662 Mon Mar 25 17:51:05 2002  Owen Taylor  <otaylor@redhat.com>
1663
1664         * glib-mkenums.in (parse_entries): Fix various bugs and
1665         excessive stack usage that crept in the conversion from
1666         gtk-mkenums. (#74431)
1667
1668 Mon Mar 25 17:25:57 2002  Owen Taylor  <otaylor@redhat.com>
1669
1670         * gtype.c (g_type_free_instance): Wrap setting freed instance
1671         memory to 0xaa in #ifdef G_ENABLE_DEBUG
1672
1673 Thu Mar 21 01:28:14 2002  Tim Janik  <timj@gtk.org>
1674
1675         * gsignal.[hc]:
1676         * gobject.[hc]: fix extraneous include.
1677
1678 Tue Mar 19 18:57:12 2002  Tim Janik  <timj@gtk.org>
1679
1680         * gtype.c (check_add_interface_L): applied patch from Matthias Clasen
1681         <maclas@gmx.de> to check for prerequisite of interfaces, fixes #74427.
1682         fixed mutex recursion in his patch (we can't call g_type_is_a() while
1683         holding a read lock).
1684
1685         * gparam.c (canonalize_key): cleanup.
1686
1687 2002-03-13  Alexander Larsson  <alla@lysator.liu.se>
1688
1689         * gparam.c (canonalize_key):
1690         Function to canonicalize parameter names. Faster than
1691         using g_strcanon().
1692         (g_param_spec_internal, param_spec_ht_lookup):
1693         Use canonalize_key.
1694
1695 2002-03-13  Erwann Chenede  <erwann.chenede@sun.com>
1696         * gobject/gclosure.c  
1697         * gobject/gobject.c 
1698         * gobject/gsignal.c: fixed cast problems with function pointer
1699         to avoid warnings (with forte compiler) (#73898)
1700         
1701 2002-03-05  Sven Neumann  <sven@gimp.org>
1702
1703         * gvaluetransform.c (g_value_transforms_init): don't try to 
1704         register undeclared value transform functions if G_GINT64_FORMAT
1705         or G_GUINT64_FORMAT are undefined (#73586).
1706
1707 2002-03-03  Tor Lillqvist  <tml@iki.fi>
1708
1709         * makefile.msc.in
1710         * makefile.mingw.in: Rename testgruntime to testgobject here, too.
1711
1712 Sun Mar  3 04:11:58 2002  Tim Janik  <timj@gtk.org>
1713
1714         * gobject.c: placed a comment about not changing CArray until we have
1715         g_object_list_watched_closures().
1716
1717         * gparam.h (struct _GParamSpecClass): added padding.
1718
1719         * gobjectnotifyqueue.c (struct _GObjectNotifyQueue): abuse
1720         g_list_alloc() to allocate GObjectNotifyQueue to et rid
1721         of locking issues.
1722
1723 Tue Feb 26 10:51:00 2002  Owen Taylor  <otaylor@redhat.com>
1724
1725         * Makefile.am (testgobject_LDADD): Rename testgruntime
1726         to testgobject.
1727
1728 Sun Feb 24 22:08:29 2002  Owen Taylor  <otaylor@redhat.com>
1729
1730         * gtypemodule.[ch] (g_type_module_add_interface): Make
1731         GInterfaceInfo paramter const to correspond to the
1732         conventions for the g_type_add_interface() functions.
1733         (#72461, Miroslaw Dobrzanski-Neumann)
1734
1735 Sat Feb 23 13:28:56 2002  Owen Taylor  <otaylor@redhat.com>
1736
1737         * gtypeplugin.h (struct _GTypePluginClass): Add some
1738         padding to the class.
1739
1740         * gclosure.h (struct _GClosure): Fix typo in comment.
1741
1742 2002-02-20  Tor Lillqvist  <tml@iki.fi>
1743
1744         * gobject.def: Add g_value_set_object_take_ownership and
1745         g_value_set_param_take_ownership.
1746
1747 Wed Feb 20 22:55:15 2002  Owen Taylor  <otaylor@redhat.com>
1748
1749         * gobject.c: Fix implicit conversions between void * and 
1750         function pointer (Miroslaw Dobrzanski-Neumann, #71963)
1751
1752 Sun Feb 16 22:08:48 2002  Tim Janik  <timj@gtk.org>
1753
1754         * gobject.[hc]:
1755         * gparam.[hc]: provide marshaller specific value_set_*_take_ownership()
1756         variants.
1757
1758         * gvalue.h: shrink GValue's data contents to 2 unions.
1759
1760         * glib-genmarshal.c: fix release and realeas_check hackage by always
1761         using _take_ownership() variants. directly access value contents if
1762         G_ENABLE_DEBUG is not defined.
1763
1764         * gobject.h: add padding pointers to the class struct.
1765
1766 Wed Feb 13 17:22:37 2002  Tim Janik  <timj@gtk.org>
1767
1768         * gtype.c (g_type_value_table_peek): fixed a check for node not being NULL.
1769
1770 Wed Feb 13 06:53:50 2002  Tim Janik  <timj@gtk.org>
1771
1772         * gparam.c: remove extraneous redefinition of G_PARAM_SPEC_CLASS().
1773
1774 Wed Feb 13 06:29:51 2002  Tim Janik  <timj@gtk.org>
1775
1776         * gvaluetransform.c: cosmetic cleanups, fixed [u]int64->string
1777         conversions.
1778
1779         * ChangeLog: added entry from owen which went into the wrong
1780         file.
1781
1782 Fri Feb  8 23:52:27 2002  Owen Taylor  <otaylor@redhat.com>
1783
1784         * gobject/gvaluetransform.c: Register transformations for
1785         gint64, guint64. (#70780, patch from Andy Wingo)
1786
1787 2002-02-10  Hans Breuer  <hans@breuer.org>
1788
1789         * gvaluetransform.c : msvc 5.0 can't cast from uint64 to
1790         double. Disable respective transform_func than.
1791
1792         * makefile.msc.in : build test programs
1793
1794 Thu Jan 24 07:39:56 2002  Tim Janik  <timj@gtk.org>
1795
1796         * gobject.c (g_signal_connect_object): return gulong instead
1797         of guint.
1798
1799 Fri Jan 11 12:26:36 2002  Tim Janik  <timj@gtk.org>
1800
1801         * gparamspecs.c: fixed param_value_array_values_cmp(),
1802         param_value_array_validate() and
1803         param_value_array_set_default() to deal with NULL value
1804         arrays.
1805
1806 Wed Jan  9 05:23:27 2002  Tim Janik  <timj@gtk.org>
1807
1808         * gobject.h (G_OBJECT_WARN_INVALID_PROPERTY_ID): cosmetic fix.
1809
1810 2002-01-05  Hans Breuer  <hans@breuer.org>
1811
1812         * makefile.msc.in : use -FImsvc_recommended_pragmas.h
1813
1814 Fri Jan  4 04:36:46 2002  Tim Janik  <timj@gtk.org>
1815
1816         * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): turn this into a GType,
1817         so negating it works on 64bit platforms.
1818
1819 2001-12-21  Tor Lillqvist  <tml@iki.fi>
1820
1821         * gobject.def: Add g_signal_get_invocation_hint.
1822
1823 Tue Dec 18 21:39:57 2001  Tim Janik  <timj@gtk.org>
1824
1825         * testoverride.c: added some assertions to test
1826         g_signal_get_invocation_hint().
1827
1828         * gsignal.[hc]: remove signal_id argument from
1829         g_signal_chain_from_overridden(), the parameters are assumed to match
1830         the innermost signal currently in emission for this instance.
1831         added g_signal_get_invocation_hint() to figure the invocation hint
1832         of the innermost signal emission of an instance.
1833
1834         * gsignal.c (g_signal_list_ids): fix G_BSEARCH_ARRAY_NODES() to
1835         access a bsearch array and not a pointer to it (discovered by
1836         Sven Neumann).
1837
1838 2001-12-17  Anders Carlsson  <andersca@gnu.org>
1839
1840         * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit
1841         to (1 << 0) instead of (1 << 30). 
1842
1843 2001-12-14  James Henstridge  <james@daa.com.au>
1844
1845         * Makefile.am: add rules to build it.
1846
1847         * testoverride.c: test program for closure override/chaining.
1848
1849 Thu Dec 13 08:03:17 2001  Tim Janik  <timj@gtk.org>
1850
1851         * gsignal.c: implemented closure chaining.
1852
1853 2001-12-08  Christopher Blizzard  <blizzard@redhat.com>
1854
1855         * gsignal.h (g_signal_connect): Explicitly add a cast to the last
1856         argument so that the macro will work from C++.
1857
1858 2001-12-06  Tor Lillqvist  <tml@iki.fi>
1859
1860         * makefile.mingw.in (gobject_OBJECTS): Add gsourceclosure.o.
1861
1862 Mon Nov 26 09:55:12 2001  Tim Janik  <timj@gtk.org>
1863
1864         * gtype.h: typedef GType to gulong instead of gsize, if possible.
1865
1866         * gtype.c: fixups for GType being sizeof(long) wide (changed
1867         UINT casts).
1868         * gsignal.c:
1869         * gclosure.c:
1870         * gparam.c: likewise.
1871
1872 Sun Nov 25 22:33:32 2001  Tim Janik  <timj@gtk.org>
1873
1874         * gtype.h: removed enum GTypeFundamentals. use macros
1875         to provide the constant fundamental type IDs, so they
1876         all return numbers of type GType, and not int.
1877         sizeof(GTypeFundamentals) < sizeof(GType) problem reported
1878         and fix sugegsted by Havoc.
1879
1880 2001-11-23  Hans Breuer  <hans@breuer.org>
1881
1882         * gobject.def : updated externals
1883
1884 Mon Nov 19 14:35:56 2001  Owen Taylor  <otaylor@redhat.com>
1885  
1886         * *.h: Improve the detection of invalid includes by moving
1887         the test outside the duplicate include guards.
1888  
1889         * gsourceclosure.c (g_source_set_closure): Doc fix.
1890
1891 Thu Nov 22 03:30:57 2001  Tim Janik  <timj@gtk.org>
1892
1893         * gvalue.h (G_TYPE_IS_VALUE): use g_type_check_is_value_type()
1894         instead of g_type_value_table_peek().
1895
1896         * gtype.[hc] (type_check_is_value_type_U): speed up check
1897         LOCK-less by caching lookups in node->mutatable_has_value_table.
1898
1899         * gtype.[hc]: removed locks where possible. partly based on
1900         patches from owen and alex.
1901
1902 Thu Nov 22 00:26:26 2001  Tim Janik  <timj@gtk.org>
1903
1904         * gtype.[hc]: provide G_TYPE_FUNDAMENTAL_SHIFT and
1905         g_type_fundamental_next() to return next usable fundamental
1906         type. use TypeNode pointers as type IDs.
1907         
1908 2001-11-22  Tor Lillqvist  <tml@iki.fi>
1909
1910         * makefile.mingw.in (DEFINES): Set G_LOG_DOMAIN as in Makefile.am.
1911
1912         * gparamspecs.h (GOBJECT_VAR): Can't use GLIB_VAR here, as that
1913         makes sense only when building libglib. GOBJECT_VAR is similar for
1914         libgobject.
1915
1916         * gobject.def: Add g_param_spec_types, remove
1917         g_type_fundamental_branch_last.
1918
1919 Wed Nov 21 17:23:33 2001  Tim Janik  <timj@gtk.org>
1920
1921         * gparamspecs.[hc]: put newly created param spec types into a
1922         global array.
1923
1924         * gboxed.[hc]: moved boxed types with _get_type() function here,
1925         for: G_TYPE_CLOSURE, G_TYPE_VALUE, G_TYPE_VALUE_ARRAY,
1926         G_TYPE_GSTRING.
1927
1928         * gtype.h: removed fundamental branch APIs and derived enum
1929         values. define GType as gsize.
1930
1931 2001-11-19  jacob berkman  <jacob@ximian.com>
1932
1933         * gobjectnotifyqueue.c: include glib-object.h rather than
1934         gobject/gobject.h
1935
1936 2001-11-16  Mark McLoughlin  <mark@skynet.ie>
1937
1938         * glib-mkenums.in: allow the enums name to not be on the same
1939         line as the trailing '}'. (#64714)
1940
1941 2001-11-18  Hans Breuer  <hans@breuer.org>
1942
1943         * makefile.msc.in : remove g_log_domain_gruntime usage
1944
1945 Sat Nov 17 18:14:40 2001  Owen Taylor  <otaylor@redhat.com>
1946
1947         * glib-genmarshal.c: Exit with non-zero exit status if
1948         any errors were encountered.
1949
1950         * glib-genmarshal.c: Instead of generating gobject/gmarshal.h
1951         #include only for the header, generate glib-object.h 
1952         #include for both the header and body. (#63834)
1953
1954         * glib-genmarshal.c: Generate include guards around the 
1955         content unless --nostdinc is specified.
1956
1957 2001-11-17  Tor Lillqvist  <tml@iki.fi>
1958
1959         * gobject.def: Add g_pointer_type_register_static.
1960
1961 2001-11-15  Tor Lillqvist  <tml@iki.fi>
1962
1963         * gobject.def: Reflect recent changes.
1964
1965 Tue Nov 13 23:18:10 2001  Tim Janik  <timj@gtk.org>
1966
1967         * gsignal.[hc]: add API for chaining:
1968         g_signal_chain_from_overridden() and g_signal_override_class_closure(),
1969         implementation yet to come.
1970
1971         * gtype.[hc], Makefile.am: provide G_LOG_DOMAIN as compile flag.
1972         
1973         * gparam.[hc]: s/g_param_get/g_param_spec_get/ for get_nick,
1974         get_name and get_blurb, to be consistent with the rest of the
1975         g_param_spec_*() functions.
1976         
1977         * gparamspecs.[hc]: got rid of bogus GClosure paramspec.
1978         G_TYPE_CLOSURE is a boxed type already.
1979         
1980 Tue Nov 13 22:16:41 2001  Tim Janik  <timj@gtk.org>
1981
1982         * gtype.[hc]: API cleanups.
1983         remove g_type_check_flags(), provide g_type_test_flags() as
1984         a *private* function.
1985         s/g_type_check_is_a/g_type_check_class_is_a/, private function.
1986         s/g_type_instance_is_a/g_type_check_instance_is_a/, also private.
1987
1988 Tue Nov 13 20:02:47 2001  Tim Janik  <timj@gtk.org>
1989
1990         * gparam.h: fix standard type macros.
1991
1992 Wed Nov  7 00:56:00 2001  Tim Janik  <timj@gtk.org>
1993
1994         * gclosure.h: provide G_CLOSURE_N_NOTIFIERS() for people that need
1995         to walk the notifier list (puhh, black magic, stay-away-warning ;).
1996
1997 Mon Nov  5 18:59:08 2001  Tim Janik  <timj@gtk.org>
1998
1999         * gobject.h: 
2000         * gsignal.h: we need signal.h for G_BREAKPOINT().
2001
2002 Sun Nov  4 14:01:23 2001  Owen Taylor  <otaylor@redhat.com>
2003
2004         * gvaluetypes.[ch]: Add a function g_pointer_type_register_static()
2005         to register a type derived from G_TYPE_POINTER.
2006
2007 2001-11-03  Hans Breuer  <hans@breuer.org>
2008
2009         * makefile.msc.in : gobject-query needs gmarshal.[hc,stings]
2010         so build it after them. Add gsourceclosure.obj. 
2011
2012         * gobject.def : removed duplicates, added mising
2013
2014 Mon Oct 29 11:05:15 2001  Owen Taylor  <otaylor@redhat.com>
2015
2016         * glib-mkenums.in: Generate glib-mkenums from glib-mkenums.in, 
2017         substituting in path to perl.  (#63093, Dan Winship)
2018
2019         * Makefile.am (bin_SCRIPTS): Remove hack to copy glib-mkenums
2020         from srcdir.
2021
2022 2001-10-26  Tor Lillqvist  <tml@iki.fi>
2023
2024         * makefile.mingw.in: When running glib-genmarshal, set PATH to
2025         include ../glib.
2026
2027 2001-10-23  Tor Lillqvist  <tml@iki.fi>
2028
2029         * Makefile.am: (Win32): If we have built the MSVC import library,
2030         install it. Install the gcc import library. Also support
2031         uninstall.
2032
2033 2001-10-13  Matthias Clasen  <matthiasc@poet.de>
2034
2035         * glib-genmarshal.1, glib-mkenums.1: Typo fixes.
2036
2037 Fri Oct 12 18:40:18 2001  Tim Janik  <timj@gtk.org>
2038
2039         * cosmetic fixups.
2040
2041 Wed Oct 10 17:25:22 2001  Joshua N Pritikin  <vishnu@pobox.com>
2042
2043         * glib-genmarshal.c gparamspecs.[ch] gtype.[ch] gvalue.h
2044         gvaluecollector.h gvaluetypes.[ch]: Fill in missing support for
2045         gint64 & guint64 (#59254).
2046         
2047         * Unconditionalize same (compile with or without G_HAVE_INT64).
2048
2049 Wed Oct 10 15:38:58 2001  Joshua N Pritikin  <vishnu@pobox.com>
2050
2051         * gparamspecs.h (G_IS_PARAM_SPEC_FLAGS): Fix order of
2052         *_PARAM_SPEC_ULONG defines.
2053
2054 Thu Oct  4 01:10:52 2001  Owen Taylor  <otaylor@redhat.com>
2055
2056         * gparamspecs.h: Add missing G_HAVE_GINT64 conditionalization.
2057
2058 Wed Oct  3 16:02:24 2001  Owen Taylor  <otaylor@redhat.com>
2059
2060         * glib-genmarshal.c gparamspecs.[ch] gvalue.h 
2061         gobject/gvaluetypes.[ch]: Add support for G_TYPE_INT64
2062         and storing it in GValue (Patch from Mathieu Lacage, #59254.)
2063
2064 2001-10-03  jacob berkman  <jacob@ximian.com>
2065
2066         * gtype.c (type_iface_retrieve_holder_info_Wm): 
2067         (type_iface_vtable_init_Wm): 
2068         (type_iface_vtable_finalize_Wm): 
2069         (g_type_class_ref): 
2070
2071         * gobject.c (g_object_get_property): s/retrive/retrieve/
2072
2073 2001-09-25  Tor Lillqvist  <tml@iki.fi>
2074
2075         * Makefile.am: Use new macros for .def file, and check for
2076         MS_LIB_AVAILABLE, new rule to build MS import library.
2077
2078         * makefile.msc.in: Use same DLL and import library names as
2079         libtool.
2080         
2081 2001-09-21  Hans Breuer  <hans@breuer.org>
2082
2083         * gobject.def : updated externals
2084
2085 2001-09-19  Tor Lillqvist  <tml@iki.fi>
2086
2087         * gobject.rc.in: Correct InternalName and OriginalFilename to
2088         match what we actually produce.
2089
2090 Tue Sep 18 23:09:02 2001  Tim Janik  <timj@gtk.org>
2091
2092         * gparam.[hc]: rename *nick and *blurb fields to catch
2093         direct accesses in third party code.
2094         provide g_param_get_nick(), g_param_get_blurb() and
2095         g_param_get_name() accessors.
2096
2097 Mon Sep 10 20:31:37 2001  Tim Janik  <timj@gtk.org>
2098
2099         * gobject.[hc]: removed extraneous GObject* returns from a
2100         couple functions that are very unlikely to be used in nested.
2101         changed gpointer->GObject* for a couple return values/arguments.
2102         this fixes #50206.
2103
2104 Mon Sep 10 19:27:47 2001  Tim Janik  <timj@gtk.org>
2105
2106         * gtype.[hc]:
2107         g_type_add_interface*(): implement the ability to add an interface to
2108         a type whose parents already conform to this interface.
2109         such "overriding" interfaces, when initialized, are not just initialized
2110         with 0, but with a copy of the interface they override.
2111         g_type_interface_peek_parent(): new function, return the interface
2112         that this interface "overrides", if any.
2113
2114         * testgruntime.c: test new interface stuff.
2115
2116 2001-09-10  Alex Larsson  <alexl@redhat.com>
2117
2118         * gobject/gboxed.[ch]:
2119         * gobject/gsourceclosure.c:
2120         Removed is_refcounted and GBoxedInitFunc from
2121         g_boxed_type_register_static().
2122
2123 Sat Sep  8 14:13:57 2001  Owen Taylor  <otaylor@redhat.com>
2124
2125         * gobject/Makefile.am: Move gbsearcharray.[ch] to glib
2126         as a private ininstalled header.
2127
2128 Tue Sep  4 22:24:48 2001  Matthias Clasen  <matthiasc@poet.de>
2129
2130         * gobject.c (g_object_base_class_finalize): typo fix.
2131
2132 Tue Sep  4 01:49:18 2001  Tim Janik  <timj@gtk.org>
2133
2134         * gsourceclosure.c: make closure_callback_funcs static,
2135         added some g_return_if_fail() statements.
2136
2137 Mon Aug 27 14:55:27 2001  Owen Taylor  <otaylor@redhat.com>
2138
2139         * gsourceclosure.[ch] (g_source_set_closure): Implement.
2140
2141         * gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition.
2142
2143 2001-08-17  James Henstridge  <james@daa.com.au>
2144
2145         * gobject.c (WeakRefStack): add an object member to the structure.
2146         (weak_refs_notify): pass wstack->object as extra argument to
2147         notify functions.
2148         (g_object_weak_ref): set wstack->object when initialising
2149         WeakRefStack.
2150
2151         * gobject.h (GWeakNotify): add second argument to prototype which
2152         gives the pointer to where the object that is being disposed of
2153         was.
2154
2155 Wed Jul 18 19:42:31 2001  Tim Janik  <timj@gtk.org>
2156
2157         * gtype.h: if __GNUC__ is defined, inline a test for an exact type
2158         match for instances and classes in G_TYPE_CHECK_INSTANCE_TYPE() and
2159         G_TYPE_CHECK_CLASS_TYPE() before calling g_type_instance_is_a().
2160
2161 Sun Aug 12 02:07:10 2001  Tim Janik  <timj@gtk.org>
2162
2163         * gvaluearray.[hc]: fix preallocation logic, support DISABLE_MEM_POOLS
2164         properly, group value allocations.
2165         (g_value_array_new): fix semantic of n_prealloced argument, so it's
2166         really just about preallocation space.
2167
2168 2001-07-23  Padraig O'Briain <Padraig.Obriain@Sun.COM>
2169         
2170         * gobject/gobjectnotifyqueue.c: fix unconditional check of
2171         first GParamSpec in g_object_notify_queue_thaw(); to prevent
2172         property notification being lost.
2173
2174 2001-08-06  Sven Neumann  <sven@gimp.org>
2175
2176         * gobject.[ch]: 
2177         added new functions g_object_[add|remove]_weak_pointer().
2178
2179 2001-08-01  Sven Neumann  <sven@gimp.org>
2180
2181         * gsignal.h: added convenience macro g_signal_connect_after().
2182
2183 2001-07-29  Hans Breuer  <hans@breuer.org>
2184
2185         * gobject.def : updated externals
2186
2187 2001-07-20  Hans Breuer  <hans@breuer.org>
2188
2189         * gobject.def : updated externals
2190
2191         * makefile.msc.in : reflect glib move
2192
2193 Tue Jul 10 18:50:16 2001  Tim Janik  <timj@gtk.org>
2194
2195         * gsignal.h (struct _GSignalQuery): fix misplaced comment.
2196
2197 Mon Jul  2 07:17:47 2001  Tim Janik  <timj@gtk.org>
2198
2199         * gobject.c (g_object_weak_ref): 
2200         (g_object_watch_closure): congrats tim, introducing of-by-one
2201         errors like on my very first day of C programming.
2202
2203 Sat Jun 30 11:07:00 2001  Tim Janik  <timj@gtk.org>
2204
2205         * gobject.[hc]: provide weak_ref/weak_unref functions,
2206         invoked from ->dispose. renamed ->shutdown() to ->dispose(),
2207         provide "public" API entry here: g_object_run_dispose(), this
2208         fucntion should _only_ be called from object system implementations
2209         (e.g. gtkobject.c) if at all.
2210
2211         * gtypemodule.c (g_type_module_dispose): s/shutdown/dispose/
2212
2213         * gsignal.h: removed compat aliases.
2214
2215         * gobject.c (g_object_connect): support data objects.
2216         
2217 Sat Jun 30 13:17:12 2001  Owen Taylor  <otaylor@redhat.com>
2218
2219         * testgruntime.c (test_object_class_init)
2220           gobject.c (g_object_do_class_init): 
2221           g_signal_newc() => g_signal_new().
2222
2223 Thu Jun 28 22:49:40 2001  Owen Taylor  <otaylor@redhat.com>
2224
2225         * gtype.[ch] gobject-query.c testgruntime.c: Remove
2226         debug flag argument to g_type_init() and add
2227         g_type_init_with_debug_flags().
2228
2229 Thu Jun 28 16:42:49 2001  Tim Janik  <timj@gtk.org>
2230
2231         * gsignal.c (g_signal_lookup): 
2232         (g_signal_list_ids): give elaborate warnings about invalid types,
2233         non-instantiatable types and unloaded types that we can't operate on.
2234
2235         * gparam.[hc]: g_param_spec_pool_belongings() ->
2236         g_param_spec_pool_list_owned().
2237
2238         * gsignal.[hc]: renamed:
2239         g_signal_newc -> g_signal_new
2240         g_signal_disconnect_by_func -> g_signal_handlers_disconnect_by_func
2241         g_signal_block_by_func -> g_signal_handlers_block_by_func
2242         g_signal_unblock_by_func -> g_signal_handlers_unblock_by_func
2243         added GConnectType to simplify (..gboolean swapped, gboolean after)
2244         args.
2245
2246         * gobject.[hc]: changed prototypes accordingly.
2247
2248 2001-06-22  Hans Breuer  <hans@breuer.org>
2249
2250         * gobject.def : updated externals
2251
2252         * gobjectnotifyqueue.c : include <string.h> for memset ()
2253
2254 Thu Jun 21 02:43:10 2001  Tim Janik  <timj@gtk.org>
2255
2256         * gparamspecs.h: s/long/int/ for default_value in enum and flags
2257         pspecs.
2258
2259 Wed Jun 20 03:59:42 2001  Tim Janik  <timj@gtk.org>
2260
2261         * gtype.[hc]: added debugging variants g_type_name_from_class(),
2262         g_type_name_from_instance().
2263
2264 Mon Jun 11 17:07:06 2001  Tim Janik  <timj@gtk.org>
2265
2266         * gboxed.[hc]: remove left-over usages of an anonymous GBoxed typedef.
2267
2268         * gobjectnotifyqueue.c: moved property notify queue implementation
2269         bits into this function.
2270
2271         * gparam.[hc]: added g_param_spec_pool_belongings(), completed
2272         g_param_spec_pool_list(). added GParameter for _setv() functions.
2273
2274         * gobject.[hc]: use gobjectnotifyqueue.h implementation now.
2275         got rid of properties_changed signal.
2276         new functions g_object_newv(), g_object_class_list_properties().
2277         removed "properties_changed" signal.
2278
2279         * gtype.[hc]: added g_type_depth() to figure number of parent
2280         types + 1 for a type.
2281
2282         * gsignal.h: add g_signal_connect() (as per owen's request) and
2283         g_signal_connect_swapped().
2284
2285 2001-06-13  Havoc Pennington  <hp@redhat.com>
2286
2287         * Makefile.am (progs_LDADD): link to ./libgobject-1.3.la
2288         since an installed libgobject was somehow being found; think 
2289         it's a libtool bug, but this workaround should do for now.
2290
2291 2001-06-12  Havoc Pennington  <hp@redhat.com>
2292
2293         * Makefile.am (glib-mkenums): don't put $(srcdir)/glib-mkenums in
2294         bin_SCRIPTS, that breaks make install. Instead put 'glib-mkenums'
2295         in bin_SCRIPTS and cp it into builddir
2296
2297 Thu May 31 17:56:47 2001  Owen Taylor  <otaylor@redhat.com>
2298
2299         * gobject-query.c: Fix mispelling in help output.
2300         (#53952, Skip Montanaro)
2301
2302 2001-05-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
2303
2304         * Makefile.am (EXTRA_DIST): Really distribute glib-mkenums, now
2305         that bin_SCRIPTS doesn't seem to care about doing so anymore.
2306
2307 Mon May 28 06:51:24 2001  Tim Janik  <timj@gtk.org>
2308
2309         * gsignal.c (signal_emit_unlocked_R): fixed bad faux-pass, forgot
2310         to release signal lock when restarting emissions.
2311
2312 Sun May 27 04:52:28 2001  Tim Janik  <timj@gtk.org>
2313
2314         * gsignal.[hc] (g_signal_stop_emission_by_name): added variant
2315         to stop signal emissions through a detailed_signal string.
2316
2317         * gsignal.c (signal_emit_R) (g_signal_emit_valist): account for
2318         the fact that g_value_* functions may cause signal emissons by
2319         unlocking the global signal system lock around g_value_* functions.
2320         (signal_emit_unlocked_R): renamed this from signal_emit_R() to reflect
2321         that this functions acquires the lock on its own now.
2322
2323 2001-05-24  Hans Breuer  <hans@breuer.org>
2324
2325         * makefile.msc.in : changed depndencies to build glib-genmarshal
2326         first and statically linked with glib, which makes it independent
2327         from the installed glib version. Added new object files to build.
2328
2329         * gobject.def : updated
2330
2331 Thu May 24 08:52:02 2001  Owen Taylor  <otaylor@redhat.com>
2332
2333         * gobject.[ch] (g_value_set_object): gpointer, not
2334         gpointer *.
2335
2336 2001-05-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
2337
2338         * Makefile.am (bin_SCRIPTS): made 'make distcheck' happy.
2339
2340         * gobject.def: Removed g_param_spec_stringc.
2341
2342 Tue May 22 02:46:13 2001  Tim Janik  <timj@gtk.org>
2343
2344         * gobject.c (g_value_set_object): make g_value_set_object()
2345         take a gpointer v_object so people don't need to G_OBJECT()
2346         cast NULL pointers (C code convenience).
2347
2348 Mon May 14 01:49:01 2001  Tim Janik  <timj@gtk.org>
2349
2350         * gsignal.[hc] (g_signal_handler_is_connected): new function
2351         to check whether a handler is still connected to an instance
2352         (by handler id).
2353
2354 Thu May 10 14:00:48 2001  Tim Janik  <timj@gtk.org>
2355
2356         * gparamspecs.[hc]: removed g_param_spec_stringc() in lack of
2357         evidence of public need.
2358
2359         * gsignal.h: added g_signal_disconnect_by_func(),
2360         g_signal_block_by_func() and g_signal_unblock_by_func() convenience
2361         macros as per owen's request.
2362
2363         * gtype.c (SIZEOF_FUNDAMENTAL_INFO): align sizeof (GTypeFundamentalInfo)
2364         to size of longs and pointers.
2365
2366 2001-05-05  James Henstridge  <james@daa.com.au>
2367
2368         * Makefile.am: glib-mkenums is not a compiled program, so shouldn't
2369         be in the bin_PROGRAMS primary.  Put it in bin_SCRIPTS instead, and
2370         removed the glib_mkenums_SOURCES var.
2371
2372 Thu May  3 06:10:23 2001  Owen Taylor  <otaylor@redhat.com>
2373
2374         * gobject.c (g_object_set_[q]data_full): Make types of ternary
2375         operator correspond. (Fixes compilation errors with Sun CC,
2376         #52230)
2377
2378 Mon Apr 30 20:03:56 2001  Tim Janik  <timj@gtk.org>
2379
2380         * glib-mkenums (usage): removed \v escaping, newer perl versions don't
2381         support this, and it'S probably useless anyways.
2382
2383 Sat Apr 28 23:39:42 2001  Tim Janik  <timj@gtk.org>
2384
2385         * gsignal.[hc]: made signal handler and emission hook ids gulongs.
2386         (signal_handlers_foreach_matched_R): only invoke callback for handlers
2387         that are not disconnected (id>0).
2388         (signal_emit_R): prevent invocation of signal handlers during the
2389         emission they were connected within.
2390         
2391         * glib-mkenums: publically installed perl-script to parse C code
2392         enums and generate descriptions thereof.
2393         * glib-mkenums.1: assorted man page.
2394         
2395 2001-04-19  Havoc Pennington  <hp@redhat.com>
2396
2397         * gobject.c (g_object_get_valist): We were returning junk memory
2398         here, because we didn't copy the value (G_VALUE_NOCOPY_CONTENTS
2399         passed to G_VALUE_LCOPY) and then we freed the GValue immediately
2400         after. Removed G_VALUE_NOCOPY_CONTENTS from here; need a
2401         G_VALUE_STEAL_CONTENTS or the like if we want this optimization.
2402
2403 Wed Apr 18 09:46:56 2001  Owen Taylor  <otaylor@redhat.com>
2404
2405         * gobject.c gsignal.c: Change C++ comments for FIXME's to
2406         C comments. (Patch from Andres Salomon)
2407
2408 2001-04-14  Hans Breuer  <hans@breuer.org>
2409
2410         * gobject.def : updated
2411
2412 Mon Apr  9 18:56:15 2001  Tim Janik  <timj@gtk.org>
2413
2414         * gclosure.c (g_closure_invoke): only require marshal/meta_marshal if
2415         we're valid (about to actually do marshalling).
2416
2417 Tue Apr  3 20:23:24 2001  Tim Janik  <timj@gtk.org>
2418
2419         * NEWS: updates.
2420
2421 Tue Apr  3 14:06:00 2001  Tim Janik  <timj@gtk.org>
2422
2423         * gparam.[hc]: added g_param_spec_pool_list() to list pspecs per
2424         owner_type. the pspecs are not referenced, so the caller is
2425         supposed to have some idea about owner_type not randomly
2426         nuking his pspec's. if this is going to provide problems in
2427         the future, we can either auto-ref the pspecs, or add a
2428         _foreach variant, though the latter would have to invoke
2429         the callback while pspec's mutex is acquired, so i just
2430         went for the _list variant for now.
2431
2432         * gclosure.h (G_CALLBACK): made GCallback a void (*) (void) fucntion.
2433
2434 Sat Mar 31 23:55:58 2001  Tim Janik  <timj@gtk.org>
2435
2436         * gtype.h:
2437         * gparamspecs.[hc]: applied patch from owen to implement
2438         GParamSpecUnichar.
2439
2440 Fri Mar 30 07:34:02 2001  Tim Janik  <timj@gtk.org>
2441
2442         * gtype.c (type_iface_retrive_holder_info_Wm): 
2443         * gtypeplugin.c (g_type_plugin_complete_interface_info): 
2444         * gtypemodule.c (g_type_module_complete_interface_info): 
2445         change order of instance_type and interface_type so they match
2446         the g_type_add_interface_*() API.
2447
2448         * gsignal.c (g_signal_emit_valist): always assign C return value
2449         location, people depending on unaltered return values after emissions
2450         that had no handlers to run need to use g_signal_emitv().
2451
2452         * gtype.[hc] (g_type_query): new function to allow querying of
2453         class and object size (semantics like g_signal_query()).
2454         currently the implementation is better held conservative so as to
2455         only support types that are classed and static.
2456
2457 2001-03-29  Tor Lillqvist  <tml@iki.fi>
2458
2459         * gobject.def: Updates.
2460
2461 Wed Mar 28 17:04:06 2001  Tim Janik  <timj@gtk.org>
2462
2463         * gobject.c (object_queue_property): only queue readable properties
2464         for notification changes.
2465
2466 Thu Mar 22 13:36:50 2001  Tim Janik  <timj@gtk.org>
2467
2468         * gsignal.c (g_signal_newv): catch G_SIGNAL_RUN_FIRST with a return value.
2469
2470 2001-03-21  Martin Baulig  <baulig@suse.de>
2471
2472         * gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *'
2473         argument.
2474
2475 2001-03-18  Tor Lillqvist  <tml@iki.fi>
2476
2477         * gobject.def: Correct some renamed functions.
2478
2479 Sat Mar 17 23:18:36 2001  Tim Janik  <timj@gtk.org>
2480
2481         * gobject.c (g_object_get_property): minor bug-fix.
2482
2483         * gbsearcharray.[hc]: provide a macro for static initialization and
2484         functions g_bsearch_array_new() and g_bsearch_array_destroy() for
2485         dynamic allocations.
2486         
2487         * gboxed.c: introduce G_TYPE_GSTRING, boxed type for GString.
2488         
2489         * gclosure.[hc]: naming corrections.
2490
2491 Fri Mar  9 16:42:08 2001  Tim Janik  <timj@gtk.org>
2492
2493         * gvaluetypes.[hc]: moved g_strdup_value_contents() into this file as
2494         a public function (was static in gobject.c before). it's a bit odd
2495         to have that function here, especially since it requires extra includes,
2496         but then it doesn't very well fit somewhere else either.
2497
2498         * gparamspecs.c: added default/max/min checks to param spec creation
2499         functions.
2500
2501 2001-03-10  Tor Lillqvist  <tml@iki.fi>
2502
2503         * gobject.def: Add a couple of missing entries.
2504
2505         * Makefile.am (libgobject_1_3_la_LIBADD): Use only on Win32.
2506
2507 Fri Mar  9 14:57:17 2001  Tim Janik  <timj@gtk.org>
2508
2509         * testgruntime.c: test program. covers run first/last/cleanup signal
2510         handlers, return value accumulator, signal string returns, and
2511         interface types in signal arguments.
2512
2513         * gtype.c (g_type_value_table_peek): for interface types without
2514         value table, try looking up a value table from an instantiatable
2515         prerequisite type (this is safe as an interface may only have
2516         one instantiatable prerequisiste).
2517         (type_check_is_value_type_U): same here.
2518
2519         * gsignal.c (g_signal_newv): assert that return types never have
2520         G_SIGNAL_TYPE_STATIC_SCOPE set.
2521         (g_signal_newc): only create class closure if the class_offset is not
2522         0.
2523
2524 Fri Mar  9 10:14:00 2001  Tim Janik  <timj@gtk.org>
2525
2526         * gparamspecs.c (g_param_spec_object): use g_type_is_a() to check
2527         for object_type being a G_TYPE_OBJECT, not G_TYPE_IS_OBJECT(), since
2528         that wouldn't allow interface types.
2529
2530         * gtype.c (g_type_interface_add_prerequisite): arg, fixed small cnp bug
2531         with bad implications and an off-by-one error.
2532
2533 Thu Mar  8 16:34:22 2001  Owen Taylor  <otaylor@redhat.com>
2534
2535         * gvaluetransform.c: Include <string.h> for memcpy.
2536
2537         * gvaluetransform.c (DEFINE_SPRINTF): Remove unnecessary
2538         and ANSI-illegal ## token pasting.
2539
2540 Thu Mar  8 18:11:52 2001  Tim Janik  <timj@gtk.org>
2541
2542         * gsignal.c: eek, fixed old hook detail storage code.
2543
2544 Thu Mar  8 16:35:48 2001  Tim Janik  <timj@gtk.org>
2545
2546         * gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/.
2547
2548         * gsignal.[hc]: fixed accumulator invocation, implemented emission
2549         hooks. and no, neither of these callbacks are called via a closure,
2550         language bindings can wrap the accumulator and emission hook
2551         interface, they already get parameters marshalled into a GValue array.
2552         (g_signal_connect): removed this function as its C specific, doesn't
2553         cover the swapped argument, is too close to its broken original
2554         gtk_signal_connect() and creates demand for _swapped, _after and
2555         _swapped_after variants <brrr>.
2556         (g_signal_connectc): convenience macro to connect a C handler
2557         func with data, like the old g_signal_connect() plus swapped
2558         argument.
2559
2560         * gtype.h:
2561         * gboxed.c: added G_TYPE_VALUE boxed type.
2562
2563 Wed Mar  7 19:02:51 2001  Tim Janik  <timj@gtk.org>
2564
2565         * gtype.c (type_node_add_iface_entry_W): catch when adding an interface
2566         to an ancestor of a child that already conforms to this interface.
2567         currently we spew a warning here, should we be silent?
2568         (g_type_interface_add_prerequisite): new function to add a prerequisite
2569         type to an interface, that must succeed an instance is_a prerequisite
2570         type check before the interface can be added to an instance. the
2571         prerequisite types are also suuported in is_a checks of the interface.
2572         (g_type_instance_is_a):
2573         (g_type_check_instance_cast):
2574         (g_type_check_instance): cleanups and optimizations.
2575         (g_type_class_is_a):
2576         (g_type_check_class_cast): same, also prevented these from accepting
2577         interface types, as class structures don't nest interfaces.
2578
2579 2001-03-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
2580
2581         * Makefile.am: Avoid rebuilding everything everytime.
2582
2583 Wed Mar  7 09:36:33 2001  Tim Janik  <timj@gtk.org>
2584
2585         * gboxed.[hc]: changed prototype of g_boxed_type_register_static()
2586         to contain an optional init function and a hint at whether the
2587         boxed structure uses ref counting internally.
2588         added g_value_set_boxed_take_ownership().
2589         made G_TYPE_BOXED an abstract value type.
2590
2591         * genums.[hc]: made G_TYPE_ENUM and G_TYPE_FLAGS abstract value
2592         types.
2593
2594         * glib-genmarshal.c: argument type changes, preparation for third-party
2595         arg specification.
2596
2597         * gobject.[hc]: cleaned up get/set property code.
2598         added g_strdup_value_contents() to improve warnings.
2599
2600         * gparam.[hc]: added g_param_value_convert(), taking over responsibility
2601         of the old g_value_convert(). added G_PARAM_LAX_VALIDATION flag so
2602         validation alterations may be valid a part of the property setting
2603         process.
2604
2605         * gparamspecs.[hc]: made value comparisons stable (for sort applications).
2606         added GParamSpecValueArray, a param spec for value arrays and
2607         GParamSpecClosure. nuked the value exchange functions and
2608         GParamSpecCCallback.
2609
2610         * gtype.[hc]: catch unintialized usages of the type system with
2611         g_return_val_if_uninitialized(). introduced G_TYPE_FLAG_VALUE_ABSTRACT
2612         to flag types that introduce a value table, but can't be used for
2613         g_value_init(). cleaned up reserved type ids.
2614
2615         * gvalue.[hc]: code cleanups and saner checking.
2616         nuked the value exchange API. implemented value transformations, we
2617         can't really "convert" values, rather transforms are an anylogy to
2618         C casts, real conversions need a param spec for validation, which is
2619         why g_param_value_convert() does real conversions now.
2620
2621         * gvaluearray.[hc]: new files that implement a GValueArray, a struct
2622         that can hold inhomogeneous arrays of value (to that extend that it
2623         also allowes undefined values, i.e. G_VALUE_TYPE(value)==0).
2624         this is exposed to the type system as a boxed type.
2625
2626         * gvaluetransform.c: new file implementing most of the former value
2627         exchange functions as single-sided transformations.
2628
2629         * gvaluetypes.[hc]: nuked G_TYPE_CCALLBACK, added
2630         g_value_set_string_take_ownership().
2631
2632         * *.h: s/G_IS_VALUE_/G_VALUE_HOLDS_/.
2633
2634         * *.[hc]: many fixes and cleanups.
2635
2636         * many warning improvements.
2637
2638 Tue Feb 27 18:35:15 2001  Tim Janik  <timj@gtk.org>
2639
2640         * gobject.c (g_object_get_valist): urg, pass G_VALUE_NOCOPY_CONTENTS
2641         into G_VALUE_LCOPY(), this needs proper documenting.
2642
2643         * gparam.c: fixed G_PARAM_USER_MASK.
2644
2645         * gtype.c (type_data_make_W): 
2646         (type_data_last_unref_Wm): fixed invalid memory freeing.
2647
2648         * gobject.c (g_object_last_unref): destroy signal handlers associated
2649         with object, right before finalization.
2650
2651         * gsignal.c (g_signal_parse_name): catch destroyed nodes or signals
2652         that don't actually support details.
2653
2654         * gobject.[hc]: got rid of property trailers. nuked GObject
2655         properties "data" and the "signal" variants.
2656         (g_object_connect): new convenience function to do multiple
2657         signal connections at once.
2658         (g_object_disconnect): likewise, for disconnections.
2659
2660         * gparam.[hc] (g_param_spec_pool_lookup): took out trailer support.
2661
2662         * gvalue.[hc]: marked g_value_fits_pointer() and g_value_peek_pointer()
2663         as private (the latter got renamed from g_value_get_as_pointer()).
2664
2665 2001-02-21  Tor Lillqvist  <tml@iki.fi>
2666
2667         * *.h: Use G_BEGIN_DECLS and G_END_DECLS.
2668
2669         * Makefile.am: Use libglib-1.3.la from top_builddir. Invoke
2670         libtool with -no-undefined for Win32 and Cygwin.
2671
2672 Wed Feb 21 18:31:46 2001  Jonathan Blandford  <jrb@redhat.com>
2673
2674         * gsignal.h (g_signal_connect): Add g_signal_connect define to
2675         make porting from gtk_signal_connect easy.
2676
2677         * gsignal.c (g_signal_emit_valist): Use G_TYPE_FROM_INSTANCE
2678         (instance) instead of node->itype when initting the value.
2679
2680 2001-02-17  Havoc Pennington  <hp@pobox.com>
2681
2682         Applied patch from Soeren Sandmann:
2683         
2684         * gvaluetypes.c (g_value_get_string): G_CONST_RETURN
2685
2686         * gtype.c (g_type_name): G_CONST_RETURN
2687
2688         * gsignal.c (g_signal_name): G_CONST_RETURN
2689
2690         * gobject-query.c (main): const fix
2691
2692 Sat Feb 17 07:58:46 2001  Tim Janik  <timj@gtk.org>
2693
2694         * genums.h (G_TYPE_IS_FLAGS): patch from sven to fixup
2695         G_ENUM_CLASS_TYPE() macro.
2696
2697 Sat Feb 17 04:55:35 2001  Tim Janik  <timj@gtk.org>
2698
2699         * gtype.[hc]: changed collect_format, collect_value() and lcopy_format,
2700         lcopy_value() in the GTypeValueTable. the collect functions are now
2701         called only once per value, collect_format/lcopy_format are strings
2702         that enlist all necessary GTypeCValues to be varargs-collected.
2703
2704         * gvalue.h: ranamed STATIC_TAG to G_VALUE_NOCOPY_CONTENTS to indicate that
2705         a value shouldn't copy its contents.
2706
2707         * gvaluecollector.h: changed G_VALUE_COLLECT() and G_VALUE_LCOPY()
2708         macros to carry an additional argument (flags) that can be used
2709         to pass G_VALUE_NOCOPY_CONTENTS along to the collection functions.
2710
2711         * *.c: adapted collect_value() and lcopy_value() functions to the new
2712         prototypes, support G_VALUE_NOCOPY_CONTENTS where apropriate.
2713
2714         * gsignal.[hc]: introduced a G_SIGNAL_TYPE_STATIC_SCOPE flag that can
2715         be passed along (ORed) with the parameter types, indicating that the
2716         emission arguments are to be considered static for the scope of the
2717         emission. should be used with care and only if the caller knows that
2718         a parameter cannot be destroyed/freed from signal handlers connected
2719         to an emission.
2720
2721 Fri Feb 16 07:10:44 2001  Tim Janik  <timj@gtk.org>
2722
2723         * gclosure.c:
2724         (g_closure_ref):
2725         (g_closure_sink): make closure sinking explicit.
2726
2727         * gsignal.c:
2728         (g_signal_connect_data): 
2729         (g_signal_connect_closure): 
2730         (g_signal_connect_closure_by_id): 
2731         (g_signal_newv): perform explicit closure sinking.
2732
2733 Thu Feb  8 00:31:45 2001  Tim Janik  <timj@gtk.org>
2734
2735         * gtype.h: added G_TYPE_DEBUG_NONE for/from Eric Lemings ;)
2736
2737 2001-02-04  Tor Lillqvist  <tml@iki.fi>
2738
2739         * gobject.def: Remove glib_debug_objects.
2740
2741 Sun Feb  4 07:30:53 2001  Tim Janik  <timj@gtk.org>
2742
2743         * gtype.[hc]: changed g_type_init() to take debugging flags
2744         initially, a combination of G_TYPE_DEBUG_OBJECTS and
2745         G_TYPE_DEBUG_SIGNALS. using the G_TYPE_ prefix is a bit odd
2746         here, but basically g_type_int() serves as initialization
2747         fucntion for all of GType, GObject, GSignal, so what the heck.
2748
2749         * gobject.c: special case debugging code properly.
2750         changed glib_trap_object_ref to g_trap_object_ref.
2751
2752         * gsignal.c: add signal emission debugging abilities, along with
2753         a new trap object g_trap_instance_signals.
2754
2755 2001-02-04  Tor Lillqvist  <tml@iki.fi>
2756
2757         * Makefile.am (progs_LDADD): Change order of libs to libgobject
2758         first, then libglib. Needed for cygwin, says jbdoll@kepri.re.kr.
2759
2760 Wed Jan 31 06:19:49 2001  Tim Janik  <timj@gtk.org>
2761
2762         * gparam.h: gtk-doc sucks for not dealing with #define inside enums.
2763
2764         * gtype.[hc]: added G_TYPE_FLAG_RESERVED_ID_BIT, a bit in the type
2765         number that's supposed to be left untouched (preserved mainly
2766         for the signal code).
2767
2768         * *.c: added thread safety code, based on an old patch from sebastian.
2769         the remaining thread safety issues are now datalists on pspecs (to be
2770         solved im gdataset.c) and gvalue.c where locking concerns value exchange
2771         functionality only, and that's soon to be revised.
2772
2773 2001-01-27  Tor Lillqvist  <tml@iki.fi>
2774
2775         * makefile.msc.in: Don't try to compile gmarshal.c on its own.
2776
2777 2001-01-24    <alexl@redhat.com>
2778
2779         * gclosure.c (g_closure_unref):
2780         Don't leak closure->notifiers.
2781
2782 2001-01-05  Havoc Pennington  <hp@redhat.com>
2783
2784         * gparamspecs.c (g_param_spec_enum): set the value_type in the
2785         param spec; closes bug 40210
2786         (g_param_spec_flags): ditto for flags
2787
2788 2001-01-03  Alexander Larsson  <alexl@redhat.com>
2789
2790         * gobject.c:
2791         Move glib_debug_objects out of the G_ENABLE_DEBUG #ifdef.
2792
2793 Thu Dec 28 11:36:44 2000  Tim Janik  <timj@gtk.org>
2794
2795         * gbsearcharray.c (upper_power2): disable G_BSEARCH_ALIGN_POWER2
2796         fucntionality if DISABLE_MEM_POOLS is defined.
2797
2798         * gtype.c: honour DISABLE_MEM_POOLS.
2799
2800         * gsignal.c (g_signal_init): flag signal key bsearch array with
2801         G_BSEARCH_ALIGN_POWER2 to avoid excessive growth time. honour
2802         DISABLE_MEM_POOLS.
2803
2804         * gparam.h: added G_PARAM_READWRITE alias for (G_PARAM_READABLE |
2805                                                        G_PARAM_WRITABLE).
2806
2807 2000-12-15  Tor Lillqvist  <tml@iki.fi>
2808
2809         * gobject.def: Update.
2810
2811 2000-12-15  Havoc Pennington  <hp@pobox.com>
2812
2813         * gobject.c (g_object_do_class_init): use g_signal_newc
2814
2815         * gsignal.c (g_signal_newc): convenience function for signals
2816         created from C
2817         (g_signal_new_valist): added
2818         (g_signal_new): removed
2819
2820 Fri Dec 15 04:40:23 2000  Tim Janik  <timj@gtk.org>
2821
2822         * gparam.[hc]: add an instance member value_type so the default
2823         value of the pspec class can be overridden.
2824
2825 2000-12-14  Tor Lillqvist  <tml@iki.fi>
2826
2827         * makefile.mingw.in: Update, include parts from Makefile.am to
2828         build gmarshal.[ch]. Some day, we won't need these separate
2829         makefiles for Win32 compilation. I hope.
2830
2831         * makefile.msc.in: Update. No use trying to build gmarshal.[ch]
2832         here, it would require Unixish tools. MSVC users building from CVS
2833         sources are out of luck.
2834         
2835         * gobject.def: Update.
2836
2837 Wed Dec 13 09:31:26 2000  Tim Janik  <timj@gtk.org>
2838
2839         * gparamspecs.[hc]: add G_TYPE_PARAM_BOXED implementation.
2840
2841         * gobject.[hc]: minor fixes.
2842
2843 Tue Dec 12 23:38:02 2000  Tim Janik  <timj@gtk.org>
2844
2845         * Makefile.am: _never_ touch oldest-source-stamp.
2846         
2847         * gobject.[hc]: construct property handling fixes/improvements.
2848         fixed trailer handling in get/set property.
2849         
2850         * gparam.[hc]: implement param spec pool, got rid of param spec
2851         hashtable. the most prominent change is that e deal with type
2852         prefixes here.
2853         
2854 2000-12-12  Elliot Lee  <sopwith@redhat.com>
2855
2856         * Makefile.am:
2857           . You have to 'touch oldest-source-stamp' if you want to avoid having
2858           the Makefile constantly rebuild itself.
2859           . Fix marshaller generation rules to work with srcdir != builddir
2860             (there were issues with trying to run "./glib-genmarshal", etc.)
2861
2862 Mon Dec 11 04:44:11 2000  Tim Janik  <timj@gtk.org>
2863
2864         * gboxed.c: fixed dealing with collection/lcopy of NULL values.
2865         
2866         * gclosure.h: removed insane ramblings, added G_CALLBACK() a casting
2867         convenience macro.
2868         
2869         * Makefile.am: cleanups, marshaller generation rules.
2870         
2871         * gmarshal.[hc]: new files with GRuntime standard marshallers.
2872         
2873         * glib-genmarshal.c: fix log domain, support gruntime standard 
2874         marshallers, suport G_TYPE_PARAM, come with extern "C" and
2875         #include gmarshal.h.
2876         
2877         * glib-genmarshal.1: reflect glib-genmarshal.c updates.
2878         
2879         * gobject.[hc]: implement object constructor. rework parameter
2880         changed notification queueing, we support queue freezes now and
2881         don't dispatch from an idle handler anymore.
2882         parameter->property rename hassle.
2883         implemented ::properties_changed and ::notify::* signals for
2884         property change notification (the later supports property names
2885         as details). added signal connection and named data properties.
2886         (g_signal_connect_object): new function to setup while_alive
2887         connections.
2888         (g_object_class_install_property): sink properties now, since they
2889         are initially floating.
2890         (g_object_steal_data):
2891         (g_object_set_data_full):
2892         (g_object_set_data):
2893         (g_object_get_data): set/get data by using g_datalist_*() functions
2894         directly.
2895         (g_object_queue_param_changed): nuked.
2896         (g_object_freeze_notify): start queueing of property changes (freeze/
2897         thaw calls stack).
2898         (g_object_notify): announce changes of a certain property directly.
2899         (g_object_thaw_notify): process queue of property changes, therefore
2900         emitting GObject::notify::detail with detail being the changed
2901         properties names.
2902         (G_OBJECT_WARN_INVALID_PROPERTY_ID): saner macro variant of former
2903         G_WARN_INVALID_PARAM_ID().
2904         
2905         * gparam.[hc]: param specs are now initially floating and need to be
2906         sunken with g_param_spec_sink(), support G_TYPE_PARAM values.
2907         added G_PARAM_CONSTRUCT and G_PARAM_CONSTRUCT_ONLY parameter flags,
2908         required by GObjectClass.constructor().
2909         
2910         * gparamspecs.[hc]: added GParamSpecParam, GParamSpecPointer and
2911         GParamSpecCCallback, param specs for G_TYPE_PARAM, G_TYPE_POINTER
2912         and G_TYPE_CCALLBACK respectively.
2913         
2914         * gsignal.[hc]: cleanups.
2915         (signal_id_lookup): after walking the anchestry, try interfaces as well.
2916         (g_signal_new): new function to create signals from varargs type list.
2917         (g_signal_connect_closure): closure connection variant that works from
2918         signal name+detail.
2919         (g_signal_connect_data): c handler connection variant that works from
2920         signal name+detail.
2921         (g_signal_emit_valist): emit signal for an instance with paraneters
2922         collected from a va_list.
2923         (g_signal_emit): emit signal, taking parameters from varargs list.
2924         (g_signal_emit_by_name): same as g_signal_emit, working from
2925         signal name+detail.
2926         (signal_emit_R): return whether return_value needs to be altered.
2927         
2928         * gtype.[hc]: set log-domain to GRuntime, i'm slowly getting to all
2929         the points that need to reflect the upcoming rename.
2930         melt g_type_conforms_to() functionality into g_type_is_a(), as that
2931         is what we really want (liskov substitution principle).
2932         assorted changes to other files due to conforms_to->is_a.
2933
2934         * gvalue.[hc]: implemented g_value_set_instance() that sets a value
2935         from an instantiatable type via the value_table's collect_value()
2936         function (based on an idea from James Henstridge <james@daa.com.au>).
2937         cleanups/fixes.
2938         
2939         * gvaluetypes.[hc]: implement G_TYPE_CCALLBACK and G_TYPE_PARAM.
2940
2941 Wed Nov 29 13:30:05 2000  Tim Janik  <timj@gtk.org>
2942
2943         * gsignal.c (handlers_find): fix elliots "logic fix" that dereferences
2944         NULL nodes if C handlers are searched for specific signals.
2945
2946 2000-11-28  Elliot Lee  <sopwith@redhat.com>
2947
2948         * gsignal.c: Fix warnings about possible use of uninitialized
2949         variables, and fix logic that would leave 'node' unset in cases
2950         that it might be used in.
2951
2952         * glib-genmarshal.c: Fix warning about printf format.
2953
2954 2000-11-28  Tor Lillqvist  <tml@iki.fi>
2955
2956         * gboxed.c: Include <string.h> for memset ().
2957
2958 2000-11-22  Tor Lillqvist  <tml@iki.fi>
2959
2960         * gobject.def: Update.
2961
2962 2000-11-20  Havoc Pennington  <hp@redhat.com>
2963
2964         * gobject.c (g_object_get_data)
2965         (g_object_set_data)
2966         (g_object_set_data_full)
2967         (g_object_steal_data): More convenient data-setting functions
2968
2969 Wed Nov 15 20:58:05 2000  Owen Taylor  <otaylor@redhat.com>
2970
2971         * gtypemodule.c (g_type_module_use): If loading the
2972         module fails, don't increment the use count.
2973
2974 Thu Nov  9 01:49:43 2000  Tim Janik  <timj@gtk.org>
2975
2976         * gobject.h (G_WARN_INVALID_PARAM_ID): doh,
2977         s/BSE_OBJECT_TYPE_NAME/G_OBJECT_TYPE_NAME/; reported by Maas-Maarten
2978         Zeeman <maas@wanadoo.nl>.
2979
2980 Mon Nov 13 00:48:39 2000  Owen Taylor  <otaylor@redhat.com>
2981
2982         * Makefile.am (EXTRA_DIST): Add glib-genmarshal.1
2983
2984 2000-11-11  Tor Lillqvist  <tml@iki.fi>
2985
2986         * gtypemodule.c: Include stdlib.h for exit().
2987
2988         * makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypemodule.
2989
2990         * gobject.def: Add missing functions.
2991
2992 Sun Nov  5 13:21:28 2000  Owen Taylor  <otaylor@redhat.com>
2993
2994         * Makefile.am gtypemodule.[ch]: New basic implementation of
2995         GTypePlugin interface as a GObject. Dynamically loaded modules can
2996         register any number of types and interface on the module.
2997
2998 Sun Nov  5 10:25:40 2000  Owen Taylor  <otaylor@redhat.com>
2999
3000         * gsignal.c (handlers_find): When appending handlers and
3001         not matching on signal_id, use hlist->signal_id instead of 
3002         signal_id. Having the correct signal_id when unreffing
3003         the handlers makes things work a lot better.
3004
3005 2000-11-05  Tor Lillqvist  <tml@iki.fi>
3006
3007         * makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypeplugin.
3008
3009         * gobject.def: Update.
3010
3011 Sun Nov  5 05:22:55 2000  Tim Janik  <timj@gtk.org>
3012
3013         * gsignal.c:
3014         fixed a bag full of subtle bugs of immensive screw-up potential in
3015         handlers_find(), luckily no one found out about them yet ;)
3016         fixed signal_handlers_foreach_matched_R() so it operates on an
3017         initial handler list snapshot provided by handlers_find() to work
3018         around general reentrancy problems and to avoid multiple callback()
3019         invocations on the same handlers.
3020         this code is now officially 80% bug free (10% remaining for interface
3021         types, and 10% remaining for destroyed signals ;)
3022         
3023 Sat Nov  4 02:01:33 2000  Tim Janik  <timj@gtk.org>
3024
3025         * gsignal.c (_g_signals_destroy): valid signal nodes start out at 1.
3026
3027         * gtypeplugin.[hc]: new files holding a GTypePlugin interface
3028         implementation that provides the API required by GType to deal with
3029         dynamically loadable types.
3030
3031         * gtype.[hc]: displace any GTypePlugin business to gtypeplugin.h.
3032
3033 Fri Nov  3 07:35:00 2000  Tim Janik  <timj@gtk.org>
3034
3035         * gsignal.[hc]: prefix internal functions with '_'. renamed
3036         g_signal_connect_closure() to g_signal_connect_closure_by_id().
3037         added g_signal_parse_name() to retrive signal_id and detail quark
3038         from a signal name (internal).
3039
3040 Wed Nov  1 03:36:54 2000  Tim Janik  <timj@gtk.org>
3041
3042         * gobject.c (g_object_base_class_finalize): destroy all signals that
3043         the finalized obejct type introduced.
3044
3045         * gsignal.c (g_signals_destroy): don't require itype to have
3046         signals.
3047
3048         * gobject.c (g_object_do_finalize): make sure all signal handlers
3049         are destroyed.
3050
3051         * gsignal.[hc]:
3052         (g_signal_handler_find): only match on non-0 masks.
3053         (g_signal_handlers_block_matched):
3054         (g_signal_handlers_unblock_matched):
3055         (g_signal_handlers_disconnect_matched): new functions to block/unblock
3056         or disconnect handlers in groups.
3057
3058 2000-10-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
3059
3060         * gvalue.c (exchange_entries_equal), gparam.c (param_spec_equals):
3061         made both functions return gboolean just for the little extra
3062         standard conformance now that GEqualFunc is introduced.
3063
3064 Mon Oct 30 05:52:45 2000  Tim Janik  <timj@gtk.org>
3065
3066         * gsignal.c (g_signal_list_ids): get rid of inline documentation owen
3067         added, the doc system would ignore it anyways (for some reason not
3068         aparent to me).
3069
3070 Mon Oct 30 03:00:07 2000  Tim Janik  <timj@gtk.org>
3071
3072         * gsignal.[hc] (g_signal_list_ids): renamed owen's g_type_signals(),
3073         added required mutex locks.
3074
3075 Sun Oct 29 02:31:03 2000  Owen Taylor  <otaylor@redhat.com>
3076
3077         * gsignal.c (g_type_signals): Fix problem where signals
3078         with "_" in them appeared twice in the result array.
3079
3080 Sun Oct 29 01:58:44 2000  Owen Taylor  <otaylor@redhat.com>
3081
3082         * gsignal.h: Add g_type_signals() - a function to list
3083         all signals for a given type.
3084
3085 Sat Oct 28 00:28:09 2000  Tim Janik  <timj@gtk.org>
3086
3087         * gclosure.c (g_closure_add_marshal_guards): fixed notifier position
3088         for post_marshal guard which was off at 0.
3089
3090 Fri Oct 27 21:49:31 2000  Tim Janik  <timj@gtk.org>
3091
3092         * gobject.[hc]: doh, fix argument order in for
3093         g_cclosure_new_object_swap and g_cclosure_new_object.
3094
3095 2000-10-28  Tor Lillqvist  <tml@iki.fi>
3096
3097         * makefile.{mingw,msc}.in: Make glib-genmarshal.exe.
3098
3099         * glib-genmarshal.c: Conditionalise include of unistd.h.
3100         Include <io.h> on Win32.
3101
3102         * gobject.def: Add some missing entry points.
3103
3104 Fri Oct 27 16:33:41 2000  Tim Janik  <timj@gtk.org>
3105
3106         * gsignal.[hc]: publically define GSignalInvocationHint structure
3107         that gets passed in to closure invocations. added signal details.
3108         renamed GSignalType to GSignalFlags to comply with conventions.
3109         quite some cleanups and minor fixes. avoid uneccessary handler list
3110         walks upon invocation of after handlers. relookup handler list for
3111         restarted emissions. preliminary abort normal handler invocation if
3112         after handler is encountered.
3113
3114         * glib-genmarshal.c:
3115         * gclosure.[hc]: moved invocation_hint to the end of the
3116         g_closure_invoke() arguments as sugegsted by kenelson.
3117         also made it a gpointer to be more generic. the invocation_hint
3118         is a caller specific thing that can be used to pass additional
3119         data in to closure invocations as documented with the caller
3120         invoking the closure.
3121
3122 Fri Oct 27 05:35:14 2000  Tim Janik  <timj@gtk.org>
3123
3124         * gobject.c (g_object_watch_closure): fixed realloc bug, reported
3125         by havoc.
3126
3127         * gsignal.c (g_signal_newv): fixed deadlock scenarion where
3128         g_signal_lookup() would be called with the signal lock being
3129         held. reported by james henstridge.
3130
3131         * gclosure.c (g_closure_set_meta_marshal): fixed memcpy/overwrite bug
3132         reported by owen.
3133
3134 2000-10-26  Tor Lillqvist  <tml@iki.fi>
3135
3136         * gbsearcharray.c (bsearch_array_insert): Fix gccisms (pointer
3137         arithmetic on void pointer, label without statement following.
3138
3139         * gtype.c (type_node_fundamental_info): Don't apply unary minus to
3140         result of sizeof operator, it can be unsigned. Cast first to
3141         gssize.
3142
3143         * gobject.def: Add new functions.
3144
3145         * makefile.{mingw,msc}.in: Add new objects.
3146
3147 2000-10-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
3148
3149         * Makefile.am: Remove empty SUBDIRS line _again_, as that _still_
3150         prevents 'make dist' from working.
3151
3152 Wed Oct 25 19:11:03 2000  Owen Taylor  <otaylor@redhat.com>
3153
3154         * gbsearcharray.h (g_bsearch_array_get_nth): Don't use implicit
3155         casts from void * since this will get included from C++ too
3156         at times.
3157         
3158 Thu Oct 26 00:30:27 2000  Tim Janik  <timj@gtk.org>
3159
3160         * gvaluetypes.[hc]: added g_value_set_static_string().
3161
3162         * gboxed.[hc]: const corrections. added g_value_set_static_boxed().
3163
3164 Wed Oct 25 20:27:02 2000  Tim Janik  <timj@gtk.org>
3165
3166         * gtype.c (g_type_free_instance): for the moment, freeing object
3167         structures will fill their memory portion with 0xAA. there's a
3168         FIXME there, remove this line at a later point.
3169
3170 Tue Oct 24 23:10:26 2000  Tim Janik  <timj@gtk.org>
3171
3172         * glib-genmarshal.1:
3173         * glib-genmarshal.c: added publically installed marshaller generator.
3174
3175         * gtype.h: added G_TYPE_INSTANCE_GET_INTERFACE() to retrive a certain
3176         interface VTable from instances.
3177
3178 Mon Oct 23 08:28:15 2000  Tim Janik  <timj@gtk.org>
3179
3180         * gobject.[hc]: new functions for closure maintenance:
3181         (g_object_watch_closure): maintain validity of the object and
3182         the closure for objects that are used as data part of a closure.
3183         (g_cclosure_new_object): convenience function to create C closures
3184         that have an object as data argument.
3185         (g_closure_new_object): convenience function to create closures
3186         that have an object as data argument.
3187
3188         * gclosure.[hc]: implementation of GClosure mechanism.
3189         a closure is basically an encapsulation of a callback function
3190         and its environment. ideally, most places supporting callback
3191         functions will simply take a GClosure* pointer and thus unify
3192         callback environments wrg destroy notification etc.
3193         GClosure provides destroy notifiers for arbitrary data pointers,
3194         reference counting, invalidation notification (it can be invalidated
3195         which is merely a deactivate state) and a marshallinbg abstraction.
3196         GCClosure is also provided in these files, they present a specialized
3197         GClosure implementation for C language callbacks.
3198
3199         * genum.c: macro cleanups.
3200         
3201         * gboxed.[hc]: new files, for boxed type abstraction.
3202         (g_boxed_copy): copy a boxed structure
3203         (g_boxed_free): free a boxed structure
3204         (g_value_set_boxed):
3205         (g_value_get_boxed): standard GValue functions for boxed types
3206         (g_boxed_type_register_static): convenience function for easy
3207         introduction of new G_TYPE_BOXED derivatives.
3208
3209         * gparam.[hc]: introduced g_param_type_register_static(), a short hand
3210         for creation of new GParamSpec derived types.
3211
3212         * gtype.[hc]: many fixes, introduced ability to flag individual
3213         type nodes as ABSTRACT upon registration, added value_peek_pointer()
3214         to the value table to peek at GValue contents as a pointer for types
3215         that support this. fixed up GValue checks.
3216
3217         * gvalue.[hc]: added g_value_fits_pointer() and g_value_get_as_pointer()
3218         to peek at the value contents as pointer.
3219
3220         * *.[hc]: adaptions to type macro fixes and changes in the type
3221         registration API.
3222
3223         * many const corrections over the place.
3224
3225 Sat Oct 21 02:49:56 2000  Tim Janik  <timj@gtk.org>
3226
3227         * gtype.c (g_type_conforms_to): this function basically behaves like
3228         and is_a check, except that it _additionally_ features interfaces
3229         for instantiatable types. enforce this in the second branch as well
3230         (`type' conforms_to `type') even if `type' is not an interface type.
3231
3232 Fri Oct 20 15:31:04 2000  Tim Janik  <timj@gtk.org>
3233
3234         * gvaluetypes.[hc]: added G_TYPE_POINTER implementation from jrb.
3235
3236         * gtype.[hc]:
3237         * gobject.c:
3238         * gvaluetypes.c: added GTypeValueTable.value_peek_pointer and
3239         suitable implementations of this for G_TYPE_STRING, G_TYPE_OBJECT
3240         and G_TYPE_POINTER.
3241
3242 Mon Aug 21 04:13:37 2000  Tim Janik  <timj@gtk.org>
3243
3244         * gbsearcharray.[hc]: long standing needed generic implementation
3245         of a binary searchable, sorted and dynamically sized array.
3246
3247 2000-10-15  Raja R Harinath  <harinath@cs.umn.edu>
3248
3249         * Makefile.am (BUILT_EXTRA_DIST): New variable.
3250         (dist-hook): Handle $(BUILT_EXTRA_DIST).
3251         (*): Remove traces of @STRIP_{BEGIN,END}@.
3252         
3253 2000-09-29  Martin Baulig  <baulig@suse.de>
3254         
3255         Several minor ANSI C fixes.
3256
3257         Added missing casts:
3258         * gtype.c (type_class_init): 
3259         `(gpointer) bnode->data->class.class_init_base'
3260         in call to g_slist_prepend() and
3261         'GBaseInitFunc class_init_base = (GBaseInitFunc) slist->data'.
3262
3263         * gobject.c: Put text following #endif into comments.
3264
3265 2000-09-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
3266
3267         * Makefile.am: Remove empty SUBDIRS line, as that prevents make
3268         dist from working.
3269
3270 Sat Sep  9 20:04:13 2000  Owen Taylor  <otaylor@redhat.com>
3271
3272         * gobject.c (g_object_last_unref): Move call to
3273         g_type_free_instance() here from g_object_do_finalize,
3274         since g_type_free_instance() can unload the object's
3275         implementation.
3276
3277 2000-07-27  Tor Lillqvist  <tml@iki.fi>
3278
3279         * gobject.c: No, don't mark glib_debug_objects for export here,
3280         it's handled specially in gtktypeutils.c.
3281
3282         * gobject.def: Export g_type_fundamental_last (the function).
3283
3284 2000-07-26  Tor Lillqvist  <tml@iki.fi>
3285
3286         * gobject.def
3287         * gobject.c: Mark glib_debug_objects for export/import as it is
3288         used by GTK+.
3289
3290 Sun Jul 23 17:23:35 2000  Tim Janik  <timj@gtk.org>
3291
3292         * gtype.[hc]: make g_type_fundamental_last() a function, avoiding all
3293         that extern variable clutter and avoiding further problems with thread
3294         safety.
3295
3296 2000-07-19  Tor Lillqvist  <tml@iki.fi>
3297
3298         * gparam.h
3299         * gvalue.h
3300         * gparam.c
3301         * gtype.c: Shut up Sun's picky compiler.
3302
3303 2000-07-14  Tor Lillqvist  <tml@iki.fi>
3304
3305         * gobject.def: Add g_type_get_plugin.
3306
3307 Thu Jul 13 02:07:54 2000  Tim Janik  <timj@gtk.org>
3308
3309         * gparam.c (g_param_value_defaults): default initialize the temporary
3310         default value, instead of nuking the caller's value contents.
3311
3312 2000-07-11  Raja R Harinath  <harinath@cs.umn.edu>
3313
3314         * gtype.c (g_type_get_plugin): Don't return just 0 or 1.
3315
3316 Tue Jul 11 02:48:13 2000  Tim Janik  <timj@gtk.org>
3317
3318         * gtype.[hc]: removed g_type_is_dynamic() and added g_type_get_plugin().
3319
3320 2000-07-10  Tor Lillqvist  <tml@iki.fi>
3321
3322         * gobject-query.c: Include ../config.h for HAVE_UNISTD_H. Use it
3323         to guard inclusion of <unistd.h>.
3324
3325         * gtype.h: Fix copy-paste errors in the ifdefs on how to declare a
3326         variable for export. Call the macro GOBJECT_VAR.
3327
3328         * gtype.c: Declare _g_type_fundamental_last for export here, too.
3329         (type_node_any_new): Use only constant expressions for sizeof
3330         operator (for instance MSVC requires this).
3331
3332         * makefile.mingw.in: Define GOBJECT_COMPILATION.
3333
3334 Sun Jul  9 21:21:46 2000  Owen Taylor  <otaylor@redhat.com>
3335
3336         * genums.c: Move string.h include into the .c file
3337         instead of where it was in the .h file by mistake.
3338
3339 Thu Jul  6 15:30:27 2000  Owen Taylor  <otaylor@redhat.com>
3340
3341         * Makefile.am (EXTRA_DIST): dist fixes.
3342
3343         * gobject.c: Add a global variable glib_debug_objects
3344         (not in header file) to control object tracing.
3345
3346 2000-07-01  Tor Lillqvist  <tml@iki.fi>
3347
3348         * gobject.def: Update added and renamed entry points.
3349
3350         * makefile.mingw.in: Add gvaluetypes.o.
3351
3352 Thu Jun 29 16:02:07 2000  Owen Taylor  <otaylor@redhat.com>
3353
3354         * gobject.c:include string.h for memset
3355         * genums.h: include string.h for strcpy
3356         * gvalue.c: include string.h for memset, memcpy.
3357
3358 Sat Jun 24 23:03:04 2000  Tim Janik  <timj@gtk.org>
3359
3360         * gtype.[hc]: provide G_TYPE_CHAR, G_TYPE_UCHAR, G_TYPE_BOOLEAN,
3361         G_TYPE_INT, G_TYPE_UINT, G_TYPE_LONG, G_TYPE_ULONG, G_TYPE_FLOAT,
3362         G_TYPE_DOUBLE and G_TYPE_STRING fundamental types.
3363         added a GTypeValueTable* pointer to GTypeInfo structure for types
3364         to implement GValue handling functions.
3365         GTypeValueTable contains the following members:
3366           value_init(): initialize a GValue structure.
3367           value_free(): free GValue structure contents (optional).
3368           value_copy(): copy one GValue contents to another GValue structure of
3369           collect_type: varargs collection type for the first variable argument
3370           to be collected by collect_value().
3371           collect_value(): variable arguments collection function (optional).
3372           lcopy_type: varargs collection type for the first variable argument
3373           to be location copyied by lcopy_value().
3374           lcopy_value(): variable arguments location copy function (optional).
3375         g_type_value_table_peek(): new function to retrive the GTypeValueTable*
3376         for a type node. ValueTables get inherited from parent types, unless
3377         overridden through the GTypeInfo structure. internally, GTypeValueTable
3378         support means an added overhead of one pointer per static or used
3379         dynamic type node.
3380         g_type_add_class_cache_func(): provide a cache_func/data pair to be
3381         called  prior to a type nodes last_unref() function, this can be used
3382         to prevent premature class destruction. multiple installed cache_func()
3383         will be chained upon last_unref() untill one of them returns TRUE.
3384         the cache_func()s have to check the class id passed in to figure whether
3385         they actually want to cache the class of this type (since all classes
3386         are routed through the cache_func() chain).
3387         g_type_remove_class_cache_func(): remove a previously installed
3388         cache_func/data pair. the cache maintained by this function has to be
3389         clear when calling g_type_remove_class_cache_func() to avoid leaks.
3390         g_type_class_unref_uncached(): class unref function for cache_func()
3391         implementations, unreferences a class omitting the cache chain (and
3392         therefore unref->cache->unref->... loops).
3393
3394         * gvaluetypes.[hc]: provide the value setters/getters for the primitive
3395         fundamental types boolean, char, uchar, int, uint, long, ulong, float,
3396         double and string.
3397
3398         * gvalue.[hc]: provide G_TYPE_IS_VALUE() in terms of whether a
3399         GTypeValueTable is provided for this type.
3400         removed g_value_init_default(), g_value_validate(), g_value_defaults(),
3401         g_value_set_default() and g_values_cmp() as these are supplied by the
3402         GParamSpec API now.
3403         moved g_values_exchange() into the "implementation details" section,
3404         since it just provides the underlying functionality for
3405         g_value_convert().
3406
3407         * gvaluecollector.h: renamed the varargs value container from
3408         GParamCValue to GTypeCValue as the value collection methods are
3409         supplied by the type system now.
3410         G_PARAM_COLLECT_VALUE() and G_PARAM_LCOPY_VALUE() got renamed to
3411         G_VALUE_COLLECT() and G_VALUE_LCOPY() and operate without a
3412         GParamSpec structure now.
3413
3414         * genums.h: macros cleanups/fixes.
3415
3416         * genum.c: provide G_TYPE_ENUM and G_TYPE_FLAGS type
3417         and assorted g_value_{s|g}et_{enum|flags}() implementations.
3418
3419         * gobject.[hc]:
3420         provide G_IS_VALUE_OBJECT(), G_TYPE_OBJECT ValueTable methods
3421         and g_value_{s|g}et_object().
3422
3423         * gparam.[hc]: reduced class to value_set_default(),
3424         value_validate() and values_cmp(). also parameters now need to fill
3425         in a GType value_type; field to indicate the GValue type they
3426         are handling. provide g_param_value_set_default(),
3427         g_param_value_defaults(), g_param_value_validate() and
3428         g_param_values_cmp().
3429
3430         * gparamspecs.[hc]: got rid of the g_value_* functions and
3431         the G_IS_VALUE_* macros. adapted param spec implementations
3432         according to the GParamSpecClass changes.
3433
3434 Sat Jun 10 08:38:27 2000  Tim Janik  <timj@gtk.org>
3435
3436         * gtype.c (type_class_init): fetch the nth iface entry of the
3437         type node in the nth loop iteration, not alwys the first.
3438         bug discovered by Walt Pohl <cher@suitware.com>.
3439         (type_data_finalize_class_ifaces): same here, cut and paste
3440         rulez.
3441
3442 Wed Jun  7 09:21:05 2000  Owen Taylor  <otaylor@redhat.com>
3443
3444         * Makefile.am (INCLUDES): Add top_builddir so glibconfig.h
3445         is found properly when build srcdir != builddir. (Patch from
3446         Eric Lemings)
3447
3448 2000-05-13  Tor Lillqvist  <tml@iki.fi>
3449
3450         * makefile.mingw.in
3451         * gobject.def
3452         * gobject.rc.in: New files, for Win32 (mingw) build.
3453
3454         * Makefile.am: Add to EXTRA_DIST. Add rules to produce the
3455         corresponding non-*.in files.
3456
3457         * gtype.h: (Win32:) Mark _g_type_fundamental_last for
3458         export/import from DLL.
3459
3460 Fri May  5 01:15:48 2000  Tim Janik  <timj@gtk.org>
3461
3462         * gtype.h: add reserved fundamental ids for gtk types (for transition
3463         time). added G_TYPE_FUNDAMENTAL_MAX for gtk.
3464
3465 Mon Apr 17 20:45:50 2000  Tim Janik  <timj@gtk.org>
3466
3467         * glib-gobject.c (g_object_base_class_finalize): oops, don't unset
3468         n_params prior to destructing them.
3469
3470 Tue Apr 11 04:28:10 2000  Tim Janik  <timj@gtk.org>
3471
3472         * fixed a couple of bugs in the initial parameter/object
3473         implementations, after getting beast running on GObject and GValue.
3474
3475 Fri Apr  7 04:27:49 2000  Tim Janik  <timj@gtk.org>
3476
3477         * glib-gobject.[hc]: completed parameter set/get implementations,
3478         along with asyncronous parameter changed notification queue.
3479
3480 Sun Apr  2 04:54:36 2000  Tim Janik  <timj@gtk.org>
3481
3482         * glib-gobject.[hc]: GObject implementation, that is facilities
3483         for setting/getting quarked data and reference counting.
3484
3485         * glib-gparamspecs.[hc]: first actuall parameter implementations
3486         for GLib, so far we have: char, uchar, bool, int, uint, long,
3487         ulong, enum, flags, float, double, string and object. each of these
3488         GParamSpecs is a new instantiatable type in its own respect,
3489         so the .c file derives 13 new types from G_TYPE_PARAM and
3490         defines over 50 (*2) conversion facilities.
3491
3492         * glib-gvaluecollector.h: generic varargs handling stubs for
3493         GParamSpecs, private header file (does get installed for
3494         inclusion into user code though).
3495
3496         * glib-gvalue.[hc]: GValue functionality implementation.
3497
3498         * glib-gparam.[hc]: basis GParamSpec implementation for
3499         the virtual base type G_TYPE_PARAM.
3500
3501         * glib-genums.[hc]: enum/flags type implementation, based on
3502         bseenum.[hc].
3503
3504         * glib-gtype.[hc]: GLib Type System implementation, heavily
3505         based on BSE's dynamic type system.