This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
/
ChangeLog
3920 lines (2559 loc) · 124 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
2009-01-05 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.4 ===
2009-01-02 Behdad Esfahbod <behdad@gnome.org>
Bug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc
Patch from Andrzej Zaborowski
* gobject.c (g_object_do_class_init): Fix param order in docs.
2008-12-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.3 ===
2008-12-12 Dan Winship <danw@gnome.org>
* pltcheck.sh: make this work on x86_64
2008-12-02 Matthias Clasen <mclasen@redhat.com>
Bug 473150 – g_type_module_use inconsistently increases the use
counter in case of error
* gtypemodule.c (g_type_module_use): Always reset the use count
to its previous value before returning FALSE. Pointed out by
Johan Billien.
2008-12-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.2 ===
2008-12-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.1 ===
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 559456 – GObject Reference Manual (typo)
* gsignal.c (g_signal_newv): Fix a typo in the docs, pointed out
by Andrew Feren
2008-11-03 Matthias Clasen <mclasen@redhat.com>
Bug 555935 – Clear the mechanism of overwriting properties
* gobject.c: Expand the docs of g_object_class_install_property.
Proposed by Maciej Piechotka
2008-10-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.0 ===
2008-09-26 Dan Winship <danw@gnome.org>
* gobject.c (g_object_ref, g_object_unref)
(g_object_freeze_notify, g_object_notify, g_object_thaw_notify):
* gparam.c (g_param_spec_ref, g_param_spec_unref):
* gsignal.c (handler_ref, handler_unref_R): add uint* -> int*
casts in g_atomic_int calls to avoid gcc warnings
2008-09-17 Matthias Clasen <mclasen@redhat.com>
* === Released 2.18.1 ===
2008-09-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.18.0 ===
2008-08-21 Johan Dahlin <johan@gnome.org>
* gobject.h:
Mark g_object_get_type function as const, it's
a fundamental type and can safely marked as const,
as opposed to traditionally *_get_type functions.
2008-08-21 Johan Dahlin <johan@gnome.org>
Bug 548800 – Missing a g_object_get_type function
* gobject.c (g_object_get_type):
* gobject.h:
* gobject.symbols:
Add g_object_get_type
2008-08-18 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.7 ===
2008-08-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.6 ===
2008-08-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.5 ===
2008-08-01 Matthias Clasen <mclasen@redhat.com>
Bug 545395 – Language tweak for g_value_set_string* docs
* gvaluetypes.c: Clarify the docs of some GValue setters.
Proposed by Erik Walthinsen
2008-07-27 Tor Lillqvist <tml@novell.com>
* gtype.h
* gtype.c: Revert my change from 2008-07-24. No G_TYPE_FORMAT is
needed. Just use G_GSIZE_FORMAT always when printing GType values.
2008-07-27 Tor Lillqvist <tml@novell.com>
* Makefile.am (gobject-2.0.lib): Pass appropriate -machine flag to lib.exe.
2008-07-24 Tor Lillqvist <tml@novell.com>
* gtype.h: Define G_TYPE_FORMAT as the printf format for a GType
value. Either G_GSIZE_FORMAT or "lu".
* gtype.c: Use it instead of the C99 zu.
2008-07-23 Matthias Clasen <mclasen2redhat.com>
544177 - Fix trivial cut and paste error in documentation
* gtype.h: Fix a typo. Pointed out by Paul Bolle.
2008-07-21 Matthias Clasen <mclasen2redhat.com>
* === Released 2.17.4 ===
2008-07-21 Michael Natterer <mitch@imendio.com>
Reviewed by Tim Janik:
* gsignal.c (g_signal_chain_from_overridden_handler): allocate
the temp GValue array with GSLice.
(g_signal_emit_valist): dito. Remove optimization/obfuscation of
allocating up to 16 GValues on the stack and always use GSLice.
2008-07-05 Matthias Clasen <mclasen@redhat.com>
Bug 539229 – gobject-query calls itself query
* gobject-query.c: Use the right binary name in help output.
Patch by Hiroyuki Ikezoe.
2008-07-04 Michael Natterer <mitch@imendio.com>
* gobject.c: remove unused #define PREALLOC_CPARAMS.
2008-07-04 Michael Natterer <mitch@imendio.com>
Bug 541208 – Functions to easily install and use signals without
class struct slot
* gobject.symbols
* gsignal.[ch] (g_signal_new_class_handler): the same as
_gtk_binding_signal_new(), to install signals with a callback
instead of a class struct slot as class closure.
The next two functions are C convenience and much easier to use
than the generic overriding and chaining APIs which are intended
primarily for language bindings:
(g_signal_override_class_handler): to override a signal with a
callback instead of a class struct slot.
(g_signal_chain_from_overridden_handler): to chain up from a
signal without class struct slot. The API is similar to
g_signal_emit().
2008-07-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.17.3 ===
2008-07-01 Matthias Clasen <mclasen@redhat.com>
* *.c: Fix up section comments far enough to avoid regressions.
2008-06-27 Hans Breuer <hans@breuer.org>
* glib-genmarshal.c : move G_OS_WIN32 inclusion of <io.h> down to
where G_OS_WIN32 will be defined (#540047, Kazuki IWAMOTO)
2008-06-22 Michael Natterer <mitch@imendio.com>
* *.c: remove trailing whitespace from newly added gtk-doc
comments and reformatted some where they contained overly long or
ill-formatted lines.
2008-06-22 Michael Natterer <mitch@imendio.com>
* *.c: moved includes back to the top of the files (before gtk-doc
SECTION comments). Add "config.h" in all files and move system
included before glib includes. Remove trailing whitespace from
SECTION comments and did some reformatting where lines were overly
long, no documentation content was changed.
2008-06-22 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/gobject-unused.sgml:
* gobject/gobject.h:
* gobject/gtype.c:
* gobject/gtype.h:
Move some content for gobject-unused.sgml and cleared empty entries.
The remaining 4 ones should be checked by some else. If they are not
needed. The file can be removed.
2008-06-22 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/value_collection.sgml:
* gobject/gvaluecollector.h:
Migrating docs.
2008-06-22 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/value_arrays.sgml:
* gobject/gvaluearray.c:
* gobject/gvaluearray.h:
Migrating docs.
2008-06-22 Stefan Kost <ensonic@users.sf.net>
* gobject/gsignal.c:
Fix compiler warning in format string check.
2008-06-22 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/signals.sgml:
* gobject/gclosure.c:
* gobject/gobject.c:
* gobject/gsignal.c:
* gobject/gsignal.h:
Migrating docs.
2008-06-22 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/Makefile.am:
Help poor little gtkdoc a bit and tell that it can ignore
G_GNUC_INTERNAL. Also disable including the unit-test header as this
causes warnings and we don't need it here.
2008-06-22 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/param_value_types.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/genums.c:
* gobject/genums.h:
* gobject/gobject.c:
* gobject/gobject.h:
* gobject/gparam.c:
* gobject/gparam.h:
* gobject/gparamspecs.c:
* gobject/gparamspecs.h:
* gobject/gvaluetypes.c:
* gobject/gvaluetypes.h:
Migrating docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/objects.sgml:
* gobject/gobject.c:
* gobject/gobject.h:
* gobject/gparam.h:
Migrating docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/gtypeplugin.sgml:
* gobject/gtypeplugin.c:
* gobject/gtypeplugin.h:
Migrating docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/Makefile.am:
Add --sgml-mode to allow sgml in doc-fragments (which somehow works
before already).
* gobject/gboxed.h:
* gobject/gclosure.c:
* gobject/gparam.c:
* gobject/gparam.h:
* gobject/gtype.h:
Convert character entities back. Fix some broken sgml.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/gtypemodule.sgml:
* gobject/gtypemodule.c:
* gobject/gtypemodule.h:
Migrating docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* gobject/gboxed.c:
* gobject/gclosure.c:
* gobject/genums.c:
* gobject/gparam.c:
* gobject/gvalue.c:
Add titles back from tmpl.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/gtype.sgml:
* gobject/gtype.c:
* gobject/gtype.h:
* gobject/gvaluetypes.h:
Migrating docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* gobject/gclosure.h:
* gobject/gparam.h:
Add one missing ':' and reformate GParamFlags docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/gparamspec.sgml:
* gobject/gparam.c:
* gobject/gparam.h:
Migrating docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* gobject/gboxed.c:
* gobject/gclosure.c:
* gobject/genums.c:
* gobject/gvalue.c:
Use file-names from the section file for SECTION: comments.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/generic_values.sgml:
* gobject/gboxed.h:
* gobject/gtype.h:
* gobject/gvalue.c:
* gobject/gvalue.h:
* gobject/gvaluetypes.c:
Migrating docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* gobject/genums.h:
Fix documentation for return values.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/gclosure.sgml:
* gobject/gboxed.h:
* gobject/gclosure.c:
* gobject/gclosure.h:
* gobject/gobject.c:
* gobject/gsourceclosure.c:
* gobject/gsourceclosure.h:
Migrating docs.
2008-06-21 Tor Lillqvist <tml@novell.com>
* glib/gstdio.c: Improve Windows-specific parts of
documentation. Mention the different C library issue in more
places.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/gobject-sections.txt:
Remove duplicated entries. They are documented and should be shown.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/enumerations_flags.sgml:
* gobject/genums.c:
* gobject/genums.h:
Migrating docs.
2008-06-21 Stefan Kost <ensonic@users.sf.net>
* docs/reference/gobject/tmpl/gboxed.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/gvaluetypes.c:
Migrating docs.
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):