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