This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
/
ChangeLog
3533 lines (2300 loc) · 114 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2008-06-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.2 ===
2008-06-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.1 ===
2008-06-10 13:34:01 Tim Janik <timj@imendio.com>
* tests/threadtests.c: added race condition tester from Michael Meeks
with a couple fixes so it's not triggering development warnings. From:
Bug 537555 - GObject instantiation not thread safe ...
2008-06-10 13:15:29 Tim Janik <timj@imendio.com>
* gtype.c (g_type_class_ref): fixed race condition where references to
partially initialized classes could be handed out.
2008-05-28 Michael Natterer <mitch@imendio.com>
* Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
the global CPPFLAGS now.
2008-05-27 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.0 ===
2008-05-05 Michael Natterer <mitch@imendio.com>
* Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
code from being checked in that breaks the build of applications
which use G_DISABLE_SINGLE_INCLUDES.
2008-03-16 Tor Lillqvist <tml@novell.com>
* Makefile.am: Define gobject_def locally here instead of using an
Autoconf variable.
2008-03-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.16.1 ===
2008-03-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.16.0 ===
2008-02-25 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.6 ===
2008-02-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.5 ===
2008-02-06 Benjamin Otte <otte@gnome.org>
* gparamspecs.c: (param_gtype_set_default), (param_gtype_validate):
make GParamGType require the set type during construction instead of
using G_TYPE_NONE, which causes issues when setting.
Bug 513073 - g_param_spec_gtype breaks with G_PARAM_CONSTRUCT
2008-02-05 18:52:07 Tim Janik <timj@imendio.com>
* gtype.c: added recursive mutex to protect class initialization,
default interface initialization and per-class interface construction.
a lock to this recursive mutex is held during user callback invocations
such as initializers or finalizers, effectively allowing only one thread
to run class/interface initializers/finalizers at a time.
also made misc fixups. this fixes:
Bug 64764 - Class initialization isn't thread safe.
2008-02-05 18:41:22 Tim Janik <timj@imendio.com>
* Makefile.am: integrate tests/.
* tests/: new directory for libgobject tests.
* tests/Makefile.am: build and run threadtests.
* tests/threadtests.c: test multi-threaded initializers for
object classes and interfaces.
2008-01-28 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.4 ===
2008-01-21 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.3 ===
2008-01-14 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.2 ===
008-01-07 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.1 ===
2007-12-26 Behdad Esfahbod <behdad@gnome.org>
* gclosure.h (G_CCLOSURE_SWAP_DATA): Fix macro argument.
(#505674, Areg Beketovski)
2007-12-20 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.0 ===
2007-11-11 Mathias Hasselmann <mathias@openismus.com>
Always exit with non-zero error code when printing warnings.
* gobject/glib-genmarshal.c: Add global exit_status variable, and use
it in pad() and process_signature() to return with non-zero error code
when printing warnings. (#495294)
2007-11-08 Matthias Clasen <mclasen@redhat.com>
* glib-mkenums.in: Don't shift ARGV[0] to undefined.
(#466557, Aidan Delaney)
2007-11-07 Matthias Clasen <mclasen@redhat.com>
* === Released 2.14.3 ===
2007-10-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.14.2 ===
2007-09-20 Carlos Garnacho <carlos@imendio.com>
* gtypemodule.h: make sure we define GType g_define_type_id in
G_G_DEFINE_DYNAMIC_TYPE_EXTENDED so it works together with
G_IMPLEMENT_INTERFACE. (#478459)
2007-09-19 Matthias Clasen <mclasen@redhat.com>
* === Released 2.14.1 ===
2007-08-03 Matthias Clasen <mclasen@redhat.com>
* === Released 2.14.0 ===
2007-07-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.7 ===
Tue Jul 10 12:31:50 2007 Tim Janik <timj@imendio.com>
* gtype.h: use g_once_init_enter/g_once_init_leave to guard critical
initialization section of *_get_type implementations in G_DEFINE_TYPE,
bug #65041.
Fri Jun 29 2007 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.6 ===
Fri Jun 22 11:31:27 2007 Tim Janik <timj@gtk.org>
* gtype.h: reintroduce typedef gulong GType; for C++, to avoid
C++ specific ABI breakage.
2007-06-18 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.5 ===
Thu Jun 14 23:32:00 2007 Tim Janik <timj@gtk.org>
* gtype.h: always define GType unconditionally in terms of gsize,
there's no need to jump through a glong hoop ever and this fixes
the printf modifier to %zu.
Thu Jun 14 22:33:11 2007 Tim Janik <timj@imendio.com>
* gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
fixes #363986.
2007-06-05 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.4 ===
2007-06-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.3 ===
2007-05-22 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.2 ===
2007-05-17 Matthias Clasen <mclasen@redhat.com>
* gtype.h: Move G_GNUC_INTERNAL before function
declarations to fix compilation with sun studio. (#438873,
Damien Carbery)
2007-05-03 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.1 ===
2007-04-25 Michael Natterer <mitch@imendio.com>
* gparamspecs.c (param_string_validate): also clear the
NOCOPY_CONTENTS flag when replacing NULL with the empty string.
2007-04-24 Michael Natterer <mitch@imendio.com>
* gparamspecs.c (param_string_validate): don't free or modify
static strings, dup them when needed and clear the
G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.
Tue Apr 3 12:34:14 2007 Tim Janik <timj@gtk.org>
* gobject.[hc]: invoke GObjectClass.constructed() only for newly
constructed objects, and invoke it while the notify queue is
still being frozen, after all CONSTRUCT* properties have been
set and before random other properties are being set.
* applied modified patch from Ryan Lortie to implement
GObjectClass.constructed() to fix #425324.
2007-04-02 Ryan Lortie <desrt@desrt.ca>
* gobject/gobject.h: Add 'constructed' vcall to GObjectClass.
* gobject/gobject.c (g_object_newv): call ->constructed() as last
step of object construction.
2007-03-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.0 ===
2007-03-15 Matthias Clasen <mclasen@redhat.com>
* gvaluearray.c: Use g_slice. (#404430, Chris Wilson)
2007-03-14 Stefan Kost <ensonic@users.sf.net>
* gparam.h:
Add G_PARAM_STATIC_STRINGS define (fixes #418021).
Mon Mar 12 13:30:20 2007 Tim Janik <timj@gtk.org>
* gtype.h: marked purely functional g_type accessors as PURE or CONST,
closes #305100.
2007-01-02 Tor Lillqvist <tml@novell.com>
* glib-genmarshal.c (main): Handle "/dev/stdin" by dup()ing fd 0
so that it works on Win32 and other systems without
/dev/stdin. (#407431)
2006-12-29 Matthias Clasen <mclasen@redhat.com>
* gtypemodule.h: Define G_DEFINE_DYNAMIC_TYPE and
and _EXTENDED variant. (#334437)
Fri Dec 15 2006 Matthias Clasen <mclasen@redhat.com>
* gtype.c (instance_real_class_get): Dereference the pointer
before dropping the lock. (#378078, Jonathan Matthew)
Tue Oct 10 12:06:08 2006 Tim Janik <timj@gtk.org>
* glib-mkenums.in:
* glib-mkenums.1: applied patch from David Necas which introduces
an underscore_name option and fixes #358734.
Mon Oct 2 15:50:16 2006 Tim Janik <timj@gtk.org>
* gvalue.c (g_value_peek_pointer): reverted a change to have an
assert instead of a g_return_val_if_fail() here. libraries (and
programs) should only ever g_assert or g_error if there is no way
to carry on with the current program state. that's clearly not
the case here.
* ChangeLog: added missing changelog entry for 2003-12-30.
Sat Sep 30 2006 Matthias Clasen <mclasen@redhat.com>
* pltcheck.sh: Script to check PLT entries.
* Makefile.am (TESTS): Run pltcheck.sh
* gtype.c:
* gsignal.c:
* gobject.c:
* gvaluetypes.c: Move all includes before gobjectalias.h.
(#3545422, Behdad Esfahbod)
Fri Sep 22 13:41:02 2006 Tim Janik <timj@imendio.com>
* gtype.h: applied patch from Behdad with slight optimization,
fixes #356175.
* gobjectnotifyqueue.c: fixed include-guard macro name.
Mon Sep 11 12:12:45 2006 Tim Janik <timj@imendio.com>
* gparam.c (g_param_spec_sink): reimplemented floating flag handling by
atomically accessing a reserved GData bit, fixes #330556.
Tue Aug 29 13:27:33 2006 Tim Janik <timj@gtk.org>
* glib-mkenums.in: fixed to print usage and version info on STDOUT
(#322502).
* gobject.c (g_initially_unowned_init): restore ; after G_DEFINE_TYPE.
2006-08-26 Matthias Clasen <mclasen@redhat.com>
* gobject.c: Remove ; after G_DEFINE_TYPE. (#351741, Kjartan Maraas)
Wed Aug 23 10:35:32 2006 Tim Janik <timj@gtk.org>
* gobject.[hc]: changed return value of g_value_dup_object(), fixes #343292.
2006-08-23 Sven Neumann <sven@gimp.org>
* gobject/glib-genmarshal.[c1]: added new command-line option
"--internal" that can be used to let glib-genmarshal generate
internal functions using the G_GNUC_INTERNAL attribute (bug #346647).
Wed Aug 16 13:55:08 2006 Tim Janik <timj@imendio.com>
* gobject.c: conditionally thaw the notify queue after construction,
so we don't trigger warnings when trying to thaw an unfrozen singleton.
2006-08-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.12.2 ===
2006-08-05 Matthias Clasen <mclasen@redhat.com>
* gparamspecs.c (g_param_spec_types_init): Don't initialize
struct members with function calls. (#349952)
2006-07-22 Matthias Clasen <mclasen@redhat.com>
* === Released 2.12.1 ===
2006-07-21 Matthias Clasen <mclasen@redhat.com>
* gtypemodule.c (g_type_module_register_type): Copy the complete
value table, not just the first 4 bytes. (#348136, Coverity)
2006-07-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.12.0 ===
2006-06-20 Matthias Clasen <mclasen@redhat.com>
* === Released 2.11.4 ===
2006-06-15 Federico Mena Quintero <federico@novell.com>
* gtype.c (g_type_instance_get_private): Fix the error message so
that it mentions the right functions:
"g_type_instance_get_private() requires a prior call to
g_type_class_add_private()".
2006-06-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.11.3 ===
2006-06-05 Matthias Clasen <mclasen@redhat.com>
* === Released 2.11.2 ===
2006-06-02 Behdad Esfahbod <behdad@gnome.org>
* gobject/genum.h: Make value_name and value_nick const in structs
_GEnumValue and _GFlagValue. (#317793)
Tue May 16 14:01:43 2006 Tim Janik <timj@imendio.com>
* gtype.h (G_IMPLEMENT_INTERFACE): turn off compiler warnings, #337129.
2006-05-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.11.1 ===
2006-05-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.11.0 ===
Tue May 2 14:51:03 2006 Tim Janik <timj@gtk.org>
* gtype.h: split up G_DEFINE_*TYPE macro definitions so C CODE arguments
are not passed on to nested macro calls. patch mostly courtesy of Behdad
Esfahbod, fixes #337128.
2006-04-23 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols: Fix a typo.
* gtype.c: (g_type_register_static_simple): Add a
missing return.
* gtype.h: Silence warnings from G_DEFINE_TYPE.
2006-04-21 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols:
* gtype.[hc]: Add a g_type_register_static_simple
variant of g_type_register_static that does not take
a relocation-causing GTypeInfo struct, and use it
in G_DEFINE_TYPE.
2006-03-07 Matthias Clasen <mclasen@redhat.com>
* === Released 2.10.1 ===
Tue Mar 7 17:09:07 2006 Tim Janik <timj@gtk.org>
* gobject.c (g_object_compat_control): added case3 to hand out the
original floating flag handler. required by gtk+ >= 2.10.
2006-02-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.10.0 ===
2006-02-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.6 ===
2006-01-29 Matthias Clasen <mclasen@redhat.com>
* gclosure.c: Remove C++ comment.
2006-01-27 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.5 ===
2006-01-18 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.4 ===
2006-01-18 Matthias Clasen <mclasen@redhat.com>
* gobject.h: Make g_object_compat_control() visible
for GTK+ compilation, to avoid segfaults on 64bit
platforms.
2006-01-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.3 ===
2006-01-05 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.2 ===
2006-01-04 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols: Add g_initially_unowned_get_type.
2005-12-30 Matthias Clasen <mclasen@redhat.com>
* gsignal.c: Remove the handler trash stack, which
is now unused.
(g_signal_init): Remove the restriction that HandlerMatch
must be the same size as GList, and obsolete comments
referring to mem chunks.
2005-12-24 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols: Add new functions.
Thu Dec 22 18:53:14 2005 Tim Janik <timj@gtk.org>
* gobject.[hc]: renamed GUnowned to GInitiallyUnowned.
Thu Dec 22 14:59:24 2005 Tim Janik <timj@imendio.com>
* gvaluetypes.[hc]: implemented G_TYPE_GTPYE. applied patch
from matthias which implements GType accessors for GValue.
* gparamspecs.[hc]: applied patch from matthias which
implements G_TYPE_PARAM_GTYPE.
* gobject.[hc]:
GUnowned: introduced a new object type that has an initially
floating reference.
g_object_compat_control(): allow setting of a floating flag handler.
2005-12-09 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.1 ===
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* genums.h (G_FLAGS_CLASS_TYPE_NAME): Use G_FLAGS_CLASS_TYPE.
(#323273, Kalle Vahlman)
Thu Dec 1 12:53:26 2005 Tim Janik <timj@imendio.com>
* gtype.c: use g_slic_* for all object allocations.
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* gobjectnotifyqueue.c (g_object_notify_queue_thaw):
* gobject-query.c (main): Silence compiler warnings.
* glib-genmarshal.c (main): Use G_N_ELEMENTS.
2005-11-27 Matthias Clasen <mclasen@redhat.com>
* gboxed.h: Declare g_hash_table_get_type.
Wed Nov 23 18:01:46 2005 Tim Janik <timj@imendio.com>
* gobject.[hc]: added floating reference count.
g_object_is_floating():
g_object_ref_sink(): new functions to deal with floating references.
g_object_force_floating(): new funciton for object implementations
to set the floating flag.
* gobject.c (g_object_init): make objects initially floating.
Wed Nov 23 17:58:13 2005 Tim Janik <timj@gtk.org>
* gparam.[hc]: added g_param_spec_ref_sink().
Wed Nov 23 13:36:02 2005 Tim Janik <timj@gtk.org>
* gboxed.[hc]: minor cleanups, implemented G_TYPE_HASH_TABLE.
2005-11-17 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.0 ===
2005-11-17 Matthias Clasen <mclasen@redhat.com>
* glib-genmarshal.c: const correctness fixes, found
by Arjan van de Ven and gcc.
Tue Nov 1 17:07:43 2005 Tim Janik <timj@imendio.com>
* gsignal.c: allocate signal handlers and handler match structures
via the new g_slice_*() API (get's rid of GList allocation hack).
* gtype.c: got rid of per-type memchunks. if GTypeInfo.n_preallocs
is > 0, objects are allocated via g_slice_*() instead of g_malloc().
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* glib-mkenums.in: Really fix #314890.
2005-09-28 Michael Natterer <mitch@gimp.org>
* gtype.h (G_IMPLEMENT_INTERFACE): revert last change, it breaks
all users of G_IMPLEMENT_INTERFACE() inside
G_DEFINE_TYPE_WITH_CODE(), since apparently GCC doesn't like
commas enclosed in {}, not (), in nested macro calls.
2005-09-26 DindinX <dindinx@gimp.org>
* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
2005-09-26 Matthias Clasen <mclasen@redhat.com>
* glib-mkenums.in: Don't hang on '{' following a trigraph comment
in the same line. (#314890, Mathias Hasselmann)
Thu Sep 22 12:42:12 2005 Tim Janik <timj@gtk.org>
* gparam.c (g_param_spec_internal): fix pspec->name assignment which
needs to be strdup()ed for non G_PARAM_STATIC_NAME pspecs. this fixes
recently introduced crashes during plugin unloading.
also, ensure that static pspec names are canonicalized.
* gsignal.h: reverted last change from matthias, we don't guarantee
that type ids aren't mangled with G_SIGNAL_TYPE_STATIC_SCOPE anywhere.
2005-09-20 Matthias Clasen <mclasen@redhat.com>
* gsignal.h (struct _GSignalQuery): Remove the misleading comment
about G_SIGNAL_TYPE_STATIC_SCOPE, since we don't allow that
on return types.
2005-09-08 Kjartan Maraas <kmaraas@gnome.org>
* gclosure.c: (g_closure_set_meta_marshal): Remove some unused
code.
* gsignal.c: (g_signal_emitv): Same here
* gtype.c: (g_type_register_fundamental): And here
* testgobject.c: Mark some functions static.
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* gsignal.c (struct _SignalNode): Make the name field const.
(g_signal_newv): Don't keep an unnecessary extra copy of the
signal name around, and don't forget to free the name if
an existing node is reused.
2005-08-31 Matthias Clasen <mclasen@redhat.com>
* gobject.c (g_object_do_class_init): Intern the signal name.
* gparam.c (g_param_spec_internal): Intern the name here,
since we need the quark anyway when sending change notification.
* gboxed.c:
* gparamspecs.c:
* gtype.c (g_type_init_with_debug_flags): Intern type name
before registering the types.
* gtype.h (G_DEFINE_TYPE_EXTENDED): Intern type name
before registering the type.
* gvaluetypes.c (g_value_types_init):
* gtypeplugin.c (g_type_plugin_get_type):
* gtypemodule.c (g_type_module_get_type):
* gparam.c (g_param_type_init):
* gobject.c (g_object_type_init):
* genums.c (g_enum_types_init):
* gboxed.c (g_boxed_type_init): Intern type names
before registering the type to avoid unnecessary
copies.
2005-08-23 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.1 ===
2005-08-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.0 ===
2005-08-09 Matthias Clasen <mclasen@redhat.com>
* gvaluetransform.c: Access enum and flags
values as v_long/v_ulong, not v_int/v_uint,
to make value transformation of such types
work on bigendian 64bit machines. (#312485,
Michael Lorenz)
2005-08-05 Matthias Clasen <mclasen@redhat.com>
* abicheck.sh: Also check exported variables
* === Released 2.7.7 ===
2005-08-03 Matthias Clasen <mclasen@redhat.com>
* === Released 2.7.6 ===
2005-08-02 Matthias Clasen <mclasen@redhat.com>
* gclosure.c (union ClosureInt): Mark the vint member as
volatile, which seems to be necessary to make atomic operations
work on s390.
* === Released 2.7.5 ===
Mon Aug 1 23:00:42 2005 Tim Janik <timj@imendio.com>
* gclosure.c: turned all modifications to the first 32 integer bits in a
closure into atomic accesses. wrapped write accesses into special macros
to keep the atomic modification logic in a single place. comment cleanups.
* gclosure.h: made all atomicly accessed closure fields volatile.
* gobject.h: made ref_count field volatile.
Sun Jul 31 02:04:23 2005 Tim Janik <timj@gtk.org>
* gobject.c: use g_datalist_set_flags() and g_datalist_unset_flags() to
allow proper locking around &qdata modifications.
Sat Jul 30 21:10:26 2005 Tim Janik <timj@gtk.org>
* gobject.c: reverted notify_mutex introduction, since this prevents
parallelized setting of object properties on different objects, and
serves no apparent purpose (to me at least).
g_object_real_dispose(): removed non-atomic reference count
modifications.
g_object_unref(): make sure the closures array is destroyed when
destroying signal handlers.
* gparam.c: cosmetic changes.
* gsignal.c: comment fixup. allow 16bit blocking count.
* gsignal.c: reverted GClosure related changes.
* gclosure.c: reverted premature commit of atomic reference
counting attempt.
2005-07-21 Matthias Clasen <mclasen@redhat.com>
* === Released 2.7.4 ===
2005-07-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.7.3 ===
2005-07-15 Matthias Clasen <mclasen@redhat.com>
Make refcounting threadsafe by using atomic
operations. (#166020, Wim Taymans)
* gobject.c: Use a recursive lock to protect the
notify queue.
(g_object_unref): Get rid of g_object_last_unref and
do the last unref handling in g_object_unref.
(g_object_ref, g_object_unref): Use atomic operations.
* gsignal.c (struct _HandlerMatch): Use a full integer
for the ref_count field.
(handler_ref, handler_unref_R): Use atomic operations.
* gparam.c (g_param_spec_ref, g_param_spec_unref):
Use atomic operations instead of a lock to make the
refcounting threadsafe.
* gclosure.c (g_closure_ref, g_closure_unref): Use atomic
operations. This is more complicated here, since the
refcount is stored in a bitfield, so we also have
to access all other bitfield members atomically.
* gsignal.c (handlers_find): Read the meta_marshal flag
of the closure atomically.
2005-07-11 Matthias Clasen <mclasen@redhat.com>
* gobject.h:
* gobject.symbols: Remove G_GNUC_NULL_TERMINATED from
g_object_new again, since that makes gcc warn on calls of
the form g_object_new (some_type, NULL)
2005-07-09 Tor Lillqvist <tml@novell.com>
* Makefile.am: Don't use the scripts in build/win32 to compile
gobject.rc into a resource object file. (This means we lose the
build number increment magic, but I doubt it was that useful
anyway.) Instead use windres directly. To pass the normal .o file
produced by windres through libtool, which wants .lo files, pass
it directly to the linker using a -Wl option.
* gobject.rc.in: Thus replace BUILDNUMBER with 0.
2005-07-08 Matthias Clasen <mclasen@redhat.com>
* === Released 2.7.2 ===
2005-06-30 Matthias Clasen <mclasen@redhat.com>
* === Released 2.7.1 ===
2005-06-26 Tor Lillqvist <tml@novell.com>
* Makefile.am: libtool installs/uninstalls the import library, no
need to do it ourselves. Do still install/uninstall the .def file,
though.
2005-06-24 Tor Lillqvist <tml@novell.com>
* Makefile.am (install-libtool-import-lib): Current GNU tools do
understand the PRIVATE keyword.
2005-06-19 Matthias Clasen <mclasen@redhat.com>
* gparam.h (GParamFlags): Avoid a warning. (#308295,
Murray Cumming).
2005-06-13 Matthias Clasen <mclasen@redhat.com>
* gparam.h (GParamFlags): Re-add G_PARAM_PRIVATE as a
deprecated name for bit 5, since some language bindings
have it bound.
2005-06-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.7.0 ===
2005-05-20 Matthias Clasen <mclasen@redhat.com>
* gvaluetypes.c (g_value_set_string): dup the new value
before freeing the old, just in case. (#172142, Morten
Welinder)
2005-05-13 Matthias Clasen <mclasen@redhat.com>
* glib-genmarshal.1: Mention 64bit integer types.
2005-05-05 Owen Taylor <otaylor@redhat.com>
* gobject.[ch] gobject.symbols: Add
g_object_add/remove_toggle_ref() functions to get notification
when a reference count is the last remaining reference; this
enables better memory management for language bindings.
(http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols:
* gboxed.h (G_TYPE_DATE):
* gboxed.c: Add a boxed type for GDate. (#301787, Tim-Philipp
Müller)
2005-03-25 Matthias Clasen <mclasen@redhat.com>
* gparam.c (param_spec_ht_lookup): Don't do the second
lookup if the name was already canonical. (#171502, Morten
Welinder)
Tue Mar 22 14:15:23 2005 Manish Singh <yosh@gimp.org>
* gparam.c (g_param_spec_internal): cast away any constness on
assignment.
2005-03-21 Matthias Clasen <mclasen@redhat.com>
* glib-mkenums.in: Avoid forcing extra newlines when using
template files. (#171005)
2005-03-20 Matthias Clasen <mclasen@redhat.com>
* gparam.c (g_param_spec_internal): Don't copy strings
which are marked as static. Don't allow non-canonical static
names.
* gparam.h (GParamFlags): Add G_PARAM_STATIC_{NAME,NICK,BLURB}
flags. (#160655, Ben Maurer)
2005-03-18 Hans Breuer <hans@breuer.org>
* makefile.msc.in : handle gobjectaliasdef.c
2005-03-14 Matthias Clasen <mclasen@redhat.com>
Make PLT-reduction work with gcc4, and don't include
everything in gobjectalias.h:
* gobject.symbols: Group symbols by header and source
file.
* makegobjectalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegalias.pl -def
* Makefile.am (gobjectaliasdef.c): Add a rule to
build this file.
* *.c: Include gobjectalias.h after the other i
GLib headers, include gobjectaliasdef.c at the bottom.
2005-03-08 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols: Add the new attributes here, too.
* gobject.h: Use G_GNUC_NULL_TERMINATED where
appropriate. (#164706, Marc Meissner)
* gvaluearray.h: Small cleanup (use G_BEGIN/END_DECLS).
(#168474, Fabricio Barros Cabral)
2005-02-24 Tor Lillqvist <tml@novell.com>
* Makefile.am (EXTRA_DIST): Don't distribute
gobject.def. (#167496, J. Ali Harlow)
Sun Feb 6 22:00:46 2005 Manish Singh <yosh@gimp.org>
* abicheck.sh: feed the contents of config.h and glibconfig.h
into the preprocessor, since glib.symbols could need #defines
from them.
2005-01-12 Matthias Clasen <mclasen@redhat.com>
Cosmetic fixes (#163792, Benoît Carpentier):
* gobject-query.c (main): Remove duplicate lines.
* gvaluetransform.c: Remove duplicate definitions of
value_transform_[u]int64_[u]int64.
2005-01-07 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.1 ===
2004-12-27 Matthias Clasen <mclasen@redhat.com>
* Makefile.am: Only check the ABI on linux, since
the shell script is not portable. (#161734, Adrian Bunk)
2004-12-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.0 ===
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.5.7 ===
2004-11-30 Tor Lillqvist <tml@iki.fi>
* Makefile.am (gobject.def): gcc -E complains "linker input file
unused because linking not done" if told to preprocess the
gobject.symbols file. Use '-' and redirection to pass it as
standard input instead.
Sun Nov 28 13:21:12 2004 Manish Singh <yosh@gimp.org>
* abicheck.sh: filter G_GNUC before PRIVATE so $ is still true.
Sun Nov 28 01:37:54 2004 <timj@birnet.org>
* gsignal.c: applied patch by sven@gimp.org (#153727) to reduce
signal connection complexity from O(n_handlers) to O(1).
Thu Nov 25 14:09:41 2004 Manish Singh <yosh@gimp.org>
* abicheck.sh: filter out G_GNUC stuff when doing the compare.
2004-11-23 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols: Typo fix.
Fix a problem with the PLT reduction changes which caused the
internal aliases to lose all attributes.
* gobject.symbols: Add attribute annotations.
* makegobjectalias.pl: Keep attribute annotations, but strip PRIVATE.
* Makefile.am (gobject.def): Strip attribute annotations, but keep
PRIVATE.
* gtypemodule.h (g_type_module_get_type): Mark as const,
like all other get_type() functions.
2004-11-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.5.6 ===
Mon Nov 8 10:47:41 2004 Manish Singh <yosh@gimp.org>
* gobject/gsourceclosure.c: removed wrap_g_io_channel_ref() hack,
since g_io_channel_ref() has a compatible API now.
2004-11-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.5.5 ===
2004-10-27 Matthias Clasen <mclasen@redhat.com>
* === Released 2.5.4 ===
2004-10-27 Matthias Clasen <mclasen@redhat.com>
* abicheck.sh: Strip Win32 specific defs file syntax.
* Makefile.am (gobjectalias.h): Fix srcdir != builddir
builds. (#156447, Thomas Fitzsimmons)
2004-10-26 Matthias Clasen <mclasen@redhat.com>
* abicheck.sh: Don't include symbols which are just in the
symbols list for .defs file compatibility.
2004-10-23 Matthias Clasen <mclasen@redhat.com>
* gtype.h (GTypeInterfaceCheckFunc): Rename first parameter to
check_data, since apparently the system headers on AIX leak a
macro named func_data. (#155178, Andrea Campi)
Wed Oct 6 02:12:44 2004 <timj@birnet.org>
* gtype.c (g_type_instance_get_private): applied patch from Jean-Yves
Lefort <jylefort@brutele.be> to not access the instance_real_class_bsa
pointer without holding the instance_real_class lock.
2004-10-04 Matthias Clasen <mclasen@redhat.com>
* gsignal.c (g_signal_add_emission_hook): Improve the warning
if G_SIGNAL_NO_HOOKS is set. (#154299, Nickolay V. Shmyrev)
2004-09-22 Tor Lillqvist <tml@iki.fi>
* Makefile.am (install-libtool-import-lib): [Win32] Add code to
remove the bug-compatibility entries (see #134813, and related
comments below) from the import library. The PRIVATE keyword in
the .def file is supposed to mean that, but it isn't implemented
yet by GNU ld.
* makegobjectalias.pl: In case the symbol is followed by some
stuff ("PRIVATE") that's intended for the .def file, use just the
actual symbol.
* gobject.symbols: For binary bug compatibility on Win32, add the
g_slist_remove_all and g_unichar_validate symbols inside #ifdef
INCLUDE_INTERNAL_SYMBOLS. (See #134813 and log entries from March
below.)
2004-09-18 Matthias Clasen <mclasen@redhat.com>
* === Released 2.5.3 ===
Thu Sep 16 18:42:46 2004 Manish Singh <yosh@gimp.org>
* abicheck.sh: don't hardcode lengths for cut, instead split on
the third field.
2004-09-16 Matthias Clasen <mclasen@redhat.com>