-
Notifications
You must be signed in to change notification settings - Fork 31
/
ChangeLog
2524 lines (1883 loc) · 81.9 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
2021-09-30 Frederik Seiffert <[email protected]>
* Source/CFDate.c: Fix logic in CFGregorianDateIsValid()
2021-09-30 Frederik Seiffert <[email protected]>
* Source/CFString.c,
* Source/config.h.in,
* configure,
* configure: Use unorm2 API instead of deprecated unorm
2021-03-22 Frederik Seiffert <[email protected]>
* Source/CFRunLoop.c,
* Source/CFRuntime.c
* Source/CFSocket.c
* Source/CFStream.c
* Source/CFStringEncoding.c
* Source/CFURLAccess.c
* Source/config.h.in,
* configure,
* configure: Fixed support for building on Windows.
CFRunLoop and directory enumeration in CFURLAccess is currently not
implemented on Windows, and Windows-specific implementations of
CFSocket, CFStream, and CFURLAccess are largely untested so far.
2021-03-19 Frederik Seiffert <[email protected]>
* Source/CFRunLoop.c,
* Source/GSPrivate.h,
* Source/config.h.in,
* configure,
* configure: Add support for building without pthread library.
2022-09-12 Stefan Bidigaray <[email protected]>
* configure.ac,
* configure,
* Source/GNUmakefile: Add ICU_CFLAGS and ICU_LIBS to CFLAGS and LIBS,
respectively. Fixes issue GH-19 and GH-21.
2020-03-12 Frederik Seiffert <[email protected]>
* Source/CFNumber: Add equality and hash functions.
2020-03-10 Frederik Seiffert <[email protected]>
* Source/GSHashTable.c: Fix second hash function for double hashing
collision case to avoid possible infinite loop.
2020-03-06 Frederik Seiffert <[email protected]>
* Source/GNUmakefile.in,
* Source/NSCFNumber.m,
* Source/NSCFType.m: Implement toll-free bridging of CFNumber
to NSNumber.
* Tests/CFNumber/bridge.m: Add CFNumber bridging tests.
2019-11-15 Stefan Bidigaray <[email protected]>
* Source/CFNumber.c: Implement toll-free bridging in
CFNumberGetValue().
2019-11-09 Stefan Bidigaray <[email protected]>
* Source/CFNumber.c: Implement partial toll-free bridging.
2019-11-09 Stefan Bidigaray <[email protected]>
* aclocal.m4,
* configure,
* configure.ac: Update configure to use pkg-config instead of
icu-config.
2017-08-29 Stefan Bidigaray <[email protected]>
* Source/CFRuntime.c,
* Source/GSObjCRuntime.h,
* Source/config.h.in,
* configure,
* configure.ac: Clean up and simplify configure tests.
2017-08-25 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CFBase.h.in,
* Headers/CoreFoundation/CFAvailability.h: Move availibility macros
to the appropriate header.
* configure,
* configure.ac: Clean up configure macros.
2017-08-23 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CFBase.h.in
* Source/CFRuntime.c:
Implement CFAutorelease(), which is supposed to send a CF
object into an autorelease pool regardless of ARC.
2017-08-04 Daniel Ferreira <[email protected]>
* Headers/CoreFoundation/CFBase.h.in:
Create the CF_OPTIONS() macro, an equivalent to CF_ENUM() for defining
enumerations.
2017-08-04 Daniel Ferreira <[email protected]>
* Headers/CoreFoundation/CFRunLoop.h:
Redefine the `CFRunLoopActivity` enum type to allow it to be mixed in
bitwise-OR operations with other types in C++, thus increasing
compatibility with the reference platform.
2017-08-04 Daniel Ferreira <[email protected]>
* Headers/CoreFoundation/CFBase.h.in
* Source/CFRuntime.c:
Automatic Reference Counting (ARC) can only handle the memory management
of Objective-C objects and not that of C structs. To preserve the ease
of toll-free bridging, ARC has added the __bridge_retained and
__bridge_transfer directives for casting between these two types.
__bridge_retained specifies that an Objective-C object should be cast to
a C struct and that the struct needs to be manually released.
__bridge_transfer works the other way, and turns a C struct that would
need a manual release into an object that is now managed by ARC and no
longer needs that.
The Apple CoreFoundation API specifies the CFBridgingRetain() and
CFBridgingRelease() functions that do, respectively, the same things
these directives do. This commit implements these two functions exactly
as the compiler would handle the directives.
This change was co-authored with Stefan Bidigaray.
2017-06-30 Daniel Ferreira <[email protected]>
* Source/CFPropertyList.c:
The CFPropertyListCreateWithStream() documentation allows for a
zero-valued streamLength parameter, which directs the implementation to
read a stream until its end.
A bug in CoreBase caused this case to pass a negative buffer length to
read(2), which caused a segfault. We fix this issue here.
* Headers/CoreFoundation/GSCharacter.h:
In the valid case that we passed a destination parameter to
GSUnicodeFromEncoding() that was smaller than the bytes read in the
source, CoreBase should continue reading the source and just not write
to the destination buffer.
GSUTF16CharacterAppend() did not guarantee that when converting from
UTF8 this would be the case, which caused a segfault due to a buffer
overflow. We fix this issue here.
2017-06-30 Daniel Ferreira <[email protected]>
* .gitignore:
Add a .gitignore file to CoreBase to avoid committing build products
into the tree.
2017-06-05 Daniel Ferreira <[email protected]>
* Source/CFRunLoop.c:
When calling CFRunLoopRemoveTimer() and other CFRunLoopRemove*()
functions on CoreBase with kCFRunLoopCommonModes,
CFRunLoopCommonModesRemoveFunc() would be called, which in turn called
CFRunLoopRemove*() again, generating a deadlock.
This issue is fixed by calling the no-lock counterparts of the remove
functions from CFRunLoopCommonModesRemoveFunc(), as is done on
CFRunLoopCommonModesAddFunc() and CFRunLoopCommonModesContainFunc().
2017-06-01 Daniel Ferreira <[email protected]>
* Headers/CoreFoundation/CFBase.h.in:
Define CF_RETURN_* macros on CFBase.
2017-05-09 Ivan Vucica <[email protected]>
* Headers/CoreFoundation/CFBase.h.in:
CFEnum macro for type definitions.
Patch by Daniel Ferreira <[email protected]>.
2016-07-27 Stefan Bidigaray <[email protected]>
* Source/GNUmakefile: Added CFStringInitialize.c to build.
2016-07-09 Stefan Bidigaray <[email protected]>
* Source/CFConstantString.c,
* Source/CFString.c: Move constant string initialization to separate
file.
* Source/CFRuntime.c: Initialize CFConstantString.
* Source/GSObjCRuntime.h: Include GSPrivate.h to avoid error.
2016-07-08 Stefan Bidigaray <[email protected]>
* configure,
* configure.ac: Put CC/CXX test after checking for gnustep-config.
2015-09-23 Riccardo Mottola <[email protected]>
* configure.ac,
* configure: Use gnustep make compilers if CC/CXX not overridden.
2015-07-12 Stefan Bidigaray <[email protected]>
* Source/CFPropertyList.c: Fix string size bug.
* Source/CFString.c: Fix string conversion bug.
2015-07-10 Stefan Bidigaray <[email protected]>
* Doxyfile: Adjust documentation options.
* Documentation/MainPage.dox: Fix typo.
2015-07-10 Stefan Bidigaray <[email protected]>
* Doxyfile: Updated.
* Headers/CoreFoundation/CFArray.h,
* Headers/CoreFoundation/CFAttributedString.h,
* Headers/CoreFoundation/CFBag.h,
* Headers/CoreFoundation/CFBase.h.in,
* Headers/CoreFoundation/CFBinaryHeap.h,
* Headers/CoreFoundation/CFBitVector.h,
* Headers/CoreFoundation/CFByteOrder.h,
* Headers/CoreFoundation/CFCalendar.h,
* Headers/CoreFoundation/CFCharacterSet.h,
* Headers/CoreFoundation/CFData.h,
* Headers/CoreFoundation/CFDateFormatter.h,
* Headers/CoreFoundation/CFDate.h,
* Headers/CoreFoundation/CFDictionary.h,
* Headers/CoreFoundation/CFError.h,
* Headers/CoreFoundation/CFLocale.h,
* Headers/CoreFoundation/CFNumberFormatter.h,
* Headers/CoreFoundation/CFNumber.h,
* Headers/CoreFoundation/CFPropertyList.h,
* Headers/CoreFoundation/CFRunLoop.h,
* Headers/CoreFoundation/CFRuntime.h,
* Headers/CoreFoundation/CFSet.h,
* Headers/CoreFoundation/CFSocket.h,
* Headers/CoreFoundation/CFStream.h,
* Headers/CoreFoundation/CFString.h,
* Headers/CoreFoundation/CFTimeZone.h,
* Headers/CoreFoundation/CFTree.h,
* Headers/CoreFoundation/CFURLAccess.h,
* Headers/CoreFoundation/CFURL.h,
* Headers/CoreFoundation/CFUUID.h,
* Headers/CoreFoundation/CFXMLNode.h,
* Headers/CoreFoundation/CFXMLParser.h,
* Headers/CoreFoundation/GSCharacter.h: Added/modified documentation.
* Documentation/CompilingApplications.dox,
* Documentation/ConfiguringAndCompiling.dox,
* Documentation/DoxygenLayout.xml,
* Documentation/ExampleEXUInt32.dox,
* Documentation/MainPage.dox: Initial documentation pages.
* Examples/EXUInt32.c,
* Examples/EXUInt32.h: Added first library usage example.
2015-07-09 Stefan Bidigaray <[email protected]>
* Source/config.h.in,
* configure,
* configure.ac: Add better checks for features.
2015-07-09 Stefan Bidigaray <[email protected]>
* Source/CFPropertyList.c: Implemented reading and writing OpenStep format
property lists.
* Tests/CFPropertyList/openstep.m: Simple tests for OpenStep format
property lists.
2015-06-26 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/GSCharacter.h,
* Source/GSUnicode.c: Modified UTF conversion functions slightly to better
support conversions.
* Source/CFURL.c: Rewrite CFURL function that replaces percent escaped
strings.
2015-06-24 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/GSCharacter.h,
* Headers/CoreFoundation/GSUnicode.h,
* Source/GSUnicode.c: Introduce new Unicode conversion functions.
* Source/GSUnicode.h: Replaced by public GSUnicode.h header.
* Source/CFString.c,
* Source/CFURL.c: Modify code to use new conversion functions.
* Source/CFNumberFormatter.c: Fix bug exposed by new Unicode functions.
2015-06-23 Stefan Bidigaray <[email protected]>
* Source/CFBundle.m,
* Source/NSCFData.m,
* Source/NSCFError.m,
* Source/NSCFLocale.m,
* Source/NSCFString.m: Cast between NS and CF types to avoid compiler
warnings.
2015-03-13 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CFBase.h.in,
* Headers/CoreFoundation/CFError.h: Do not define CF types as Objective C
objects.
2015-02-20 Stefan Bidigaray <[email protected]>
* Source/CFRuntime.c: Do nothing if CFRetain/CFRelease are
called on small objects.
* Source/GSObjCRuntime.h: Cast to unsigned int to avoid warning.
2015-02-19 Stefan Bidigaray <[email protected]>
* Source/GSObjCRuntime.h: Check for small objects.
2015-02-19 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CFArray.h,
* Headers/CoreFoundation/CFBag.h,
* Headers/CoreFoundation/CFData.h,
* Headers/CoreFoundation/CFDate.h,
* Headers/CoreFoundation/CFDictionary.h,
* Headers/CoreFoundation/CFSet.h,
* Headers/CoreFoundation/CFURL.h: Do not define CF types as Objective C
objects.
* Headers/CoreFoundation/GSCharacter.h: Fix bug in UTF-8 conversion
function.
* Source/NSCFArray.m,
* Source/NSCFData.m,
* Source/NSCFError.m: Explicitly cast NS to CF objects.
2015-02-16 Stefan Bidigaray <[email protected]>
* Source/NSCFDictionary.m: Add category to match class definition.
* Source/NSCFType.m: Use correct number of classes to register.
2015-02-14 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/GSCharacter.h: Fix minor compare bug.
2015-02-13 Stefan Bidigaray <[email protected]>
* Source/GSUnicode.c: Completed isnan/isinf functions for long double.
2015-02-12 Stefan Bidigaray <[email protected]>
* Source/config.h.in,
* configure,
* configure.ac: Correctly handle existence of compatible GCD library.
* Source/GSUnicode.c: Temperarily disable 96-bit long double error.
2015-01-30 Stefan Bidigaray <[email protected]>
* Source/config.h.in,
* configure,
* configure.ac: Disable check for GCD as it is broken.
2014-12-09 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/GSCharUtilities.h: Fixed function case.
* Source/CFString.c: Use new whitespace function.
2014-12-09 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/GSCharUtilities.h: Added whitespace function,
implemented UTF-8 get function, and renamed UTF-8 trailing bytes
count function.
* Source/GSUnicode.c: Use renamed function.
* Tests/CFLocale/displayvalues.m,
* Tests/CFTimeZone/general.m: Remove unreliable tests.
2014-11-17 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/GSCharUtilities.h,
* Headers/CoreFoundation/GSCharacter.h: Rename file.
* Headers/CoreFoundation/GSUnicode.h: Add API for Unicode string.
Not yet part of build and install.
* Source/GSUnicode.c: Update part of the code to use new character
utilities.
* Source/GSUnicode.h: remove redundant functionality. This file
will eventually be completely superceded by GSCharacter.h and
GSUnicode.h.
2014-11-13 Stefan Bidigaray <[email protected]>
* configure,
* configure.ac: Use '--without-' to compile without a specific library.
* Source/config.h.in: Define sizeof double and long double.
2014-11-12 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/GSCharUtilities.c: Add new public character
utilities API.
2014-10-17 Stefan Bidigaray <[email protected]>
* Source/GSUnicode.c: Rework some of the string formatting code.
2014-10-07 Stefan Bidigaray <[email protected]>
* Source/GSUnicode.c: Initial double formatting implementation.
Only supports inf and nan for now.
* Tests/CFString/format_errors.m: Test for common errors.
* Tests/CFString/format_float.m: Test for inf and nan.
2014-09-26 Stefan Bidigaray <[email protected]>
* Source/CFRuntime.c: Handle NULL pointer correctly.
* Source/CFString.c: Switch to using GSUnicodeFormatWithArguments.
* Source/CFStringFormat.c: Deleted. New formatting facilities
available.
* Source/GSUnicode.c: Fixed many bugs found by test suite.
* Tests/CFString/format.m: Deleted.
* Tests/CFString/format_int.m: Integer only tests.
* Tests/CFString/format_misc.m: Miscellaneous tests, including string,
character and pointer.
2014-09-19 Stefan Bidigaray <[email protected]>
* Source/CFSocket.c: Fix build without libdispatch.
* Headers/CoreFoundation/CFBase.h.in,
configure,
configure.ac: Use correct sign for data types.
2014-05-06 Lubos Dolezel <[email protected]>
* Source/CFRunLoop.c,
Headers/CoreFoundation/CFRunLoop.h: CFRunLoop improvements & fixes
* Source/CFArray.c: Fixes
* Source/CFSocket.c: CFSocket integration with CFRunLoop
* Source/config.h.in,
configure,
configure.ac: libdispatch detection
* Source/GNUmakefile.in,
Source/NSCFType.m,
Source/NSCFDate.m,
Source/CFDate.c: CFDateRef toll-free bridging
2014-04-20 Lubos Dolezel <[email protected]>
* Source/CFRunLoop.c,
Tests/CFRunLoop/timers.m: CFRunLoop timer fixes and tests
2014-04-18 Lubos Dolezel <[email protected]>
* Source/CFRunLoop.c,
Tests/CFRunLoop/source.m: CFRunLoop impl that passes the test
2014-04-16 Lubos Dolezel <[email protected]>
* Source/CFRunLoop.c,
Source/CFRuntime.c: Work on CFRunLoop
2014-02-19 Stefan Bidigaray <[email protected]>
* configure,
* configure.ac: Use autoconf's built-in functions and introduce
function to check the architecture's data model.
* Headers/CoreFoundation/CFBase.h,
* Headers/CoreFoundation/CFBase.h.in: Used data model information.
* Source/CFLocale.c: Use CF defined type (UInt32).
2014-02-03 Lubos Dolezel <[email protected]>
* Source/CFStream.c: Initial CFReadStream implementation, generalization
* Tests/CFStream/write.m: Tests for CFWriteStream
* Tests/CFStream/read.m: Test for CFReadStream
* Source/NSCFInputStream.m,
* Source/NSCFOutputStream.m: TFB for CFRead/WriteStream
* Source/CFError.c: Prevent crash on NULL user dictionary
2014-02-02 Lubos Dolezel <[email protected]>
* Source/CFStream.c: Initial CFWriteStream implementation
2014-01-14 Lubos Dolezel <[email protected]>
* Source/NSBundle.m: Add CFBundleCopyResourcesDirectoryURL
2013-08-11 Lubos Dolezel <[email protected]>
* Source/GSMemory.h: Introduce wrappers for platform-dependent
memory functions.
* Source/GSUnicode.c,
* Source/GSUnicode.h: Add printf-type functions. Not currently used.
2013-08-11 Lubos Dolezel <[email protected]>
* Source/CFBundle.m: Added CFBundleCopyPrivateFrameworksURL and
CFBundleCopyAuxiliaryExecutableURL
* Tests/CFLocale/bridge.m: Added the other half of tests, courtesy of
mahimahi42
2013-08-11 Lubos Dolezel <[email protected]>
* Tests/CFString/objc_bridge_from_cf.m: mark -getBytes* tests as hopeful
* Source/CFBundle.m: CFBundle as a proper CF type
2013-08-10 Lubos Dolezel <[email protected]>
* Source/CFStringEncoding.c: Fixed a crash in
CFStringGetListOfAvailableEncodings()
* Source/CFBundle.m: added many (but not all) CFBundle functions
2013-08-08 Lubos Dolezel <[email protected]>
* Source/CFString.c: TFB support in CFStringTransform
2013-08-08 Lubos Dolezel <[email protected]>
* Tests/CFString/hash.m: Make the test work on big endian machines
* Tests/CFString/normalize.m,
* Source/CFString.c: make CFStringNormalize() work, support TFB
2013-08-06 Lubos Dolezel <[email protected]>
* Tests/CFString/hash.m,
* Source/CFString.c: Always use UTF-16 in CFStringHash()
2013-07-25 Stefan Bidigaray <[email protected]>
* Source/CFPropertyList.c: Add some property list writing code.
* Source/CFRuntime.c,
* Source/GSPrivate.h: Remove unneeded GSTypeCreateCopy() function.
2013-07-25 Stefan Bidigaray <[email protected]>
* Source/CFArray.c,
* Source/CFAttributedString.c,
* Source/CFBag.c,
* Source/CFData.c,
* Source/CFDate.c,
* Source/CFDictionary.c,
* Source/CFError.c,
* Source/CFRuntime.c,
* Source/CFNumber.c,
* Source/CFLocale.c,
* Source/CFTimeZone.c,
* Source/CFSet.c,
* Source/CFString.c,
* Source/CFRunLoop.c,
* Source/CFURL.c: Include new headers.
* Source/GSPrivate.h: Move functionality.
* Source/GSObjCRuntime.h: Move ObjC runtime functionality to separate
header.
* Source/GSUnicode.c,
* Source/GSUnicode.h: Move Unicode conversion functions to separate
header.
* Source/CFStringEncoding.c: Use GSUnicode.h.
2013-07-21 Stefan Bidigaray <[email protected]>
* Source/CFArray.c: Use new sort function.
2013-07-21 Stefan Bidigaray <[email protected]>
* Source/GSCArray.h,
* Source/GSCArray.c: Add function to sort and search C arrays.
2013-07-14 Stefan Bidigaray <[email protected]>
* configure.ac: Check for math library.
* Source/CFAttributedString.c,
* Source/CFData.c,
* Source/CFError.c,
* Source/CFDate.c,
* Source/CFNumber.c,
* Source/CFRunLoop.c,
* Source/CFRuntime.c,
* Source/CFURL.c: Use CF_OBJC_FUNCDISPATCHV.
* Source/CFStringEncoding.c: Fix character Unicode conversion.
* Source/GSHashTable.h: Use GS_PRIVATE for hidden functions.
* Source/GSPrivate.h: Add GS_PRIVATE for hidden visibility functions.
Remove CF_OBJC_FUNCDISPATCH[012345] in favor of CF_OBJC_FUNCDISPATCHV.
2013-07-14 Stefan Bidigaray <[email protected]>
* Source/CFStringEncoding.c: Fix ASCII conversion.
2013-07-03 Ivan Vucica <[email protected]>
* Source/CFNumber.c: Improved the way INFINITY and NAN are defined,
preferring to only get them from <math.h>, and using hacks in case
<math.h> does not define them for some reason.
* Headers/CoreFoundation/CFBase.h: Replaced manual definitions of
MAC_OS_X_VERSION macros with inclusion of GSVersionMacros.h. This
fixes the issue where the macros were sometimes defined multiple,
and fixes the issue where the macros were (by now) no longer
matching values in GNUstep Base.
2013-06-13 Stefan Bidigaray <[email protected]>
* configure.ac: Check for existance of ICU headers.
* Source/CFString.c: Only build ICU support if headers are installed.
* Source/CFStringEncoding.c: Incorporate nonlossy ASCII conversion
function. Check ICU headers.
* Source/CFRuntime.c: Only check for small objects if they are
supported.
* Source/NSCFTimeZone.m,
* Tests/CFLocale/bridge.m,
* Tests/CFDictionary/bridge.m,
* Tests/CFArray/bridge.m: Include Foundation/NSString.h.
2013-06-08 Lubos Dolezel <[email protected]>
* Source/CFRuntime.c: fix a TFB crash with small objects
* Source/GNUmakefile.in,
* Tests/GNUmakefile.super: remove a macro that causes all OS X Base
methods to be unavailable
* Source/CFTimeZone.c,
* Source/NSCFTimeZone.m,
* Tests/CFTimeZone/bridge.m: TFB support for CFTimeZone
2013-06-06 Lubos Dolezel <[email protected]>
* Tests/CFArray/bridge.m,
* Source/NSCFArray.m,
* Source/CFArray.c: TFB for CFArray and other fixes
2013-06-06 Lubos Dolezel <[email protected]>
* Tests/CFDictionary/bridge.m,
* Source/CFDictionary.c,
* Source/NSCFDictionary.m: TFB for CFDictionary
* Source/NSCFData.m: fixing the _cfGetTypeID call
* Source/NSCFError.m: fixing the _cfGetTypeID call
2013-06-06 Lubos Dolezel <[email protected]>
* Source/NSCFType.m: leave hash calculation to NS classes,
so that they match when compaing NS and CF objects
* Tests/CFLocale/bridge.m
* Source/NSCFLocale.m,
* Source/CFLocale.c: TFB for CFLocale
2013-06-06 Lubos Dolezel <[email protected]>
* Source/NSCFString.m,
* Tests/CFString/objc_bridge.m,
* Tests/CFString/objc_bridge_from_cf.m,
* Source/CFString.c: Improved TFB for CFString
2013-06-06 Lubos Dolezel <[email protected]>
* Source/CFSet.c,
* Source/NSCFSet.m,
* Tests/CFSet/objc_bridge.m: Add CFSet bridging support
* Source/GSPrivate.h: Add variable argument helper macros
2013-03-16 Fred Kiefer <[email protected]>
* Source/CFPropertyList.c,
* Source/CFString.c,
* Source/CFRunLoop.c: Remove compiler warnings
* Source/CFURL.c: Remove compiler warnings and get tests to work.
* Source/CFStringEncoding.c: Add missing code for UTF16.
* Source/NSCFString.m: Comment out all methods where super class code
is more complete.
2012-12-20 Stefan Bidigaray <[email protected]>
* Source/CFStringEncoding.c: Added UTF-32 conversion. Added non-lossy
ASCII conversion functions. Consolidated some frequently used
constructs into macros for easy maintenance.
* Source/CFString.c: Short-cut for converting UTF-16 to UTF-16.
* Tests/CFString/encodings.m: Added another test.
2012-12-18 Stefan Bidigaray <[email protected]>
* Source/CFStringEncoding.c: Added local function to convert UTF-32
to/from UTF-16 (unused at this time).
* Source/CFString.c: Fix bugs related to changes to
GSStringEncodingToUnicode().
* Tests/CFString/encodings.m: Add test for some of the changes made
to Unicode conversion.
2012-12-17 Stefan Bidigaray <[email protected]>
* Source/CFStringEncoding.c: Add local function to converted UTF-8
to/from UTF-16.
* Source/CFString.c: Modify functions for getting characters.
* Source/NSCFError.m:
* Source/NSCFData.m: Include NSString.h to avoid compiler warning.
2012-12-12 Stefan Bidigaray <[email protected]>
* Source/config.h.in:
* configure:
* configure.ac: Add test for endianess and size of void *.
* Source/GSPrivate.h: Use result of endianess test.
2012-11-11 Stefan Bidigaray <[email protected]>
* Source/CFRuntime.c:
* Source/NSCFType.m:
* Source/NSCFString.m: Apply modified version of Lubos Dolezel's
patch.
* Tests/CFString/objc_bridge.m: Tests for toll-free bridge.
2012-10-12 Stefan Bidigaray <[email protected]>
* Source/CFSocket.c: Implement CopyAddress functions.
2012-10-09 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CFSocket.h: Use winsock on Windows.
* Source/CFSocket.c: Implement Create and Address functions.
2012-09-16 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CFSocket.h: Use winsock on Windows.
* Source/CFSocket.c: Implement Create and Address functions.
2012-09-16 Stefan Bidigaray <[email protected]>
* Source/NSCFType.m: Call the CoreBase initialization code before
trying to initialize the bridged classes.
2012-09-04 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CoreFoundation.h:
* Headers/CoreFoundation/CFSocket.h:
* Source/GNUmakefile.in:
* Source/CFSocket.c: Add CFSocket skeleton.
2012-09-03 Stefan Bidigaray <[email protected]>
* Source/CFRunLoop.c: Implement add, remove and search functions.
2012-08-30 Stefan Bidigaray <[email protected]>
* Source/CFRunLoop.h: Add missing bits.
* Source/CFString.c: Initialize CFRunLooop contant strings.
* Source/CFRunLoop.c: Implement create functions.
2012-08-27 Stefan Bidigaray <[email protected]>
* Source/GSPrivate.h:
* Source/CFRuntime.c: Add a private deallocation function.
* Source/NSCFArray.m:
* Source/NSCFData.m:
* Source/NSCFError.m:
* Source/NSCFString.m:
* Source/NSCFType.m: Implement -dealloc.
2012-08-16 Stefan Bidigaray <[email protected]>
* Header/CoreFoundation/CFRunLoop.h:
* Source/GNUmakefile.in:
* Source/CFRunLoop.c:
* Source/CFRuntime.c: Add CFRunLoop skeleton.
2012-08-16 Stefan Bidigaray <[email protected]>
* Source/CFStream.m: Delete.
* Source/CFStream.c: Add CFStream skeleton.
* Source/GNUmakefile: Include CFStream.c to build.
2012-08-09 Stefan Bidigaray <[email protected]>
* Source/CFDate.c: Added copy, equal and hash functions.
* Source/CFNumber.c: Added copy function.
* Source/CFPropertyList.c: Implement CFPropertyListCreateDeepCopy().
* Source/GSPrivate.h:
* Source/CFRuntime.c: Added a function to copy CFTypeRefs.
2012-08-05 Stefan Bidigaray <[email protected]>
* Source/GNUmakefile.in: Include CFPropertyList.c in build.
* Source/CFPropertyList.c: Implement CFPropertyListIsValid().
* Tests/CFPropertyList/validate.m: Tests for CFPropertyListIsValid().
2012-08-05 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CoreFoundation.h: Include CFPropertyList.h
and CFStream.h.
* Headers/CoreFoundation/CFRunLoop.h: Protect against multiple inclusion.
* Headers/CoreFoundation/CFBase.h: Fix CFPropertyListRef definition.
* Headers/CoreFoundation/CFStream.h: Include CFRunLoop.h.
* Source/GNUmakefile.in: Install CFPropertyList.h and CFStream.h.
2012-08-05 Stefan Bidigaray <[email protected]>
* Source/CFDictionary.c: Implement CFDictionaryApplyFunction().
* Source/GSHashTable.c: Reduce count when key-value pair is removed.
2012-08-04 Stefan Bidigaray <[email protected]>
* Tests/CFTesting.h: Implement a version of pass() and PASS() so
that testing of Corebase types are not dependent of ObjC classes.
2012-08-04 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CFPropertyList.h:
* Source/CFPropertyList.m: Replace ObjC wrapper with a C implementation.
* Source/CFPropertyList.c: Stub implementation for CFPropertyList.
functions.
2012-08-04 Stefan Bidigaray <[email protected]>
* Source/CFXMLNode.c: Rearrange __CFXMLNode structure.
* Source/CFXMLParser.c: Implement CFXMLParserClass and
CFXMLParserCreate().
2012-07-26 Adam Fedor <[email protected]>
* Version 0.1
2012-07-21 Stefan Bidigaray <[email protected]>
* Source/CFStringFormat.c: Use pointer value when formatting a pointer.
2012-07-19 Stefan Bidigaray <[email protected]>
* Source/CFStringFormat.c: Always format floating numbers and
endianness problem in character formatting.
2012-07-17 Stefan Bidigaray <[email protected]>
* configure.ac:
* configure: Fix typo.
* Source/GSPrivate.h: Define ObjC macros for libobjc2, too.
* Tests/CFString/create.m: Fix for big endian machines.
* Tests/CFNumber/general.m: Be more verbose.
2012-07-17 Stefan Bidigaray <[email protected]>
* Source/config.h.in:
* configure.ac:
* configure: Correctly detect libobjc2 on some systems.
* Source/CFLocal.c: Don't search past the end of the _kCFLocaleValues
array.
2012-07-16 Stefan Bidigaray <[email protected]>
* configure.ac:
* configure: Use gnustep-config to find include directories.
* COPYING:
* COPYING.LIB:
* INSTALL:
* README: Add distribution files.
2012-06-08 Stefan Bidigaray <[email protected]>
* Source/CFCharacterSet.c: Avoid memory leak.
* Source/CFString.c: Simplify constant string generation.
* Source/CFTimeZone.c: Fix bug in CFTimeZoneGetDaylightSavingTimeOffset().
2012-06-07 Stefan Bidigaray <[email protected]>
* Source/ GSHashTable.c: Correctly hash keys when a hash function
is provided.
* Source/CFTimeZone.c: Implement abbreviation dictionary.
* Tests/CFTimeZone/general.m: Uncomment abbreviation dictionary test.
2012-05-28 Stefan Bidigaray <[email protected]>
* Source/CFTimeZone.c: Avoid memory leak.
* Source/CFURL.c: Correctly copy file system path.
* Source/CFBase.c: Do a memory copy of the context.
* Source/CFCharacterSet.c: Correctly calculate string length.
* Tests/CFCharacterSet/basic.m: New tests.
2012-05-27 Stefan Bidigaray <[email protected]>
* Source/CFTimeZone.c:
* Source/CFURL.c:
* Source/CFString.c:
* Source/CFCalendar.c:
* Source/CFAttributedString.c:
* Source/CFLocale.c:
* Source/CFDateFormatter.c:
* Source/CFXMLParser.c:
* Source/CFURLAccess.c: Fix some bugs found by static analyzer.
* Source/NSCFError.m: Avoid compiler warnings.
2012-05-27 Stefan Bidigaray <[email protected]>
* Source/NSCFType.m: Remove unneede call to Objective-C runtime.
* Source/CFCalendar.c:
* Source/CFLocale.c:
* Source/CFDateFormatter.c:
* Source/CFStringUtilities.c:
* Source/CFNumberFormatter.c:
* Source/GSPrivate.h: Modify function to get the locale as a C string.
* Source/CFArray.c: Allocate the correct amount of memory.
* Tests/CFTree/basic.m: Fix premature call to release.
* Tests/CFURL/create.m: Mark test as hopeful.
* configure.ac:
* configure: Remove option to build without ICU.
* autom4te.cache/: Remove.
2012-05-16 Stefan Bidigaray <[email protected]>
* Source/CFLocale.c:
* Source/CFURL.c:
* Tests/CFLocale/displayvalues.m:
* Tests/CFTimeZone/general.m:
* Tests/CFURL/create.m: CoreFoundation compatibility fixes.
2012-05-11 Stefan Bidigaray <[email protected]>
* Source/CFURL.c: Correctly set resource specifier location.
* Tests/CFURL/create.m: Add test.
2012-05-11 Stefan Bidigaray <[email protected]>
* Source/GSFunctions.c: Fixed bug in GSBSearch ().
* Source/CFAttributedString.c: Implemented mutable attributed strings.
* Tests/CFAttributedString/mutable.m: New tests.
2012-05-06 Stefan Bidigaray <[email protected]>
* Source/GSFunctions.c: (GSBSearch) Return index of array item
including value.
* Source/CFTimeZone.c: Adapt to this change and fix time
calculation bug.
* Tests/CFTimeZone/general.m: Fix tests.
* Source/CFAttributedString.c: Added code to copy and create
mutable instances.
* Tests/CFAttributedString/general.m: Added more tests.
2012-05-06 Stefan Bidigaray <[email protected]>
* configure.ac: Display error if zoneinfo directory cannot be found.
* Source/CFCalendar.c: Fix CFCalendarGetTimeRangeOfUnit().
* Tests/CFArray/mutablearray.m:
* Tests/CFAttributedString/general.m:
* Tests/CFBinaryHeap/general.m: Avoid compiler warnings.
* Tests/CFCalendar/basic.m:
* Tests/CFNumberFormatter/parse.m:
* Tests/CFNumber/general.m:
* Tests/CFLocale/displayvalues.m:
* Tests/CFURL/create.m: Fix tests based on results from OS X.
2012-05-05 Stefan Bidigaray <[email protected]>
* configure:
* configure.ac: Add test for zoneinfo directory.
* Source/tzfile.h: Remove TZDIR define.
* Source/config.h.in: Add TZDIR define based on configure's findings.
* Source/CFTimeZone.c: Search for
* Tests/CFTimeZone/general.m: Added a few new tests to CFTimeZone.
2012-05-01 Stefan Bidigaray <[email protected]>
* Source/CFAttributedString.c: Implement CFAttributedStringCreate().
* Tests/CFAttributedString/: Add simple tests.
2012-04-27 Stefan Bidigaray <[email protected]>
* Source/CFRuntime.c: Fix incompatibility in retain/release.
* Source/CFLocale.c:
* Source/CFNumberFormatter.c: Do not release NULL pointer.
2012-04-27 Stefan Bidigaray <[email protected]>
* Source/CFTimeZone.c: Correctly generate time zone data.
* Source/CFCalendar.c: Use CFTimeZone when opening a new calendar.
* Tests/CFCalendar/basic.m:
* Tests/CFLocale/displayvalues.m:
* Tests/CFURL/create.m: Fix tests.
2012-04-27 Stefan Bidigaray <[email protected]>
* Source/CFTimeZone.c: Pass correct data size.
* Tests/CFTimeZone/basic.m: Fix tests.
* Tests/CFLocale/values.m: Fix error in previous commit.
2012-04-26 Stefan Bidigaray <[email protected]>
* Source/CFTimeZone.c: Correctly calculate GMT offset for zone name.
* Source/CFDateFormatter.c: Reset formatter before using it.
* Source/CFStringUtilities.c: Fix bug in find utility.
2012-04-26 Stefan Bidigaray <[email protected]>
* Source/CFBinaryHeap.c: Fix bug when removing minimum value.
* Tests/CFString/general.m:
* Tests/CFCalendar/basic.m:
* Tests/CFNumberFormatter/parse.m:
* Tests/CFArray/mutablearray.m:
* Tests/CFArray/create.m:
* Tests/CFBinaryHeap/general.m:
* Tests/CFURLAccess/basic.m:
* Tests/CFNumber/general.m:
* Tests/CFLocale/displayvalues.m:
* Tests/CFLocale/values.m:
* Tests/CFDateFormatter/basic.m: Fixes for 64-bit system and
more verbose output to help debug.
2012-04-24 Stefan Bidigaray <[email protected]>
* Source/CFBag.c:
* Source/CFTimeZone.c:
* Source/CFBitVector.c:
* Source/CFDictionary.c:
* Source/CFString.c:
* Source/CFCalendar.c:
* Source/CFBase.c:
* Source/CFStringFormat.c:
* Source/CFSet.c:
* Source/CFLocale.c:
* Source/CFTree.c:
* Source/CFDateFormatter.c:
* Source/CFStringUtilities.c:
* Source/CFXMLNode.c:
* Source/CFUUID.c:
* Source/CFCharacterSet.c:
* Source/GSHashTable.c:
* Source/CFNumberFormatter.c:
* Source/CFXMLParser.c:
* Source/CFStringEncoding.c:
* Source/CFDate.c:
* Source/CFArray.c:
* Source/GSHashTable.h:
* Source/CFRuntime.c:
* Headers/CoreFoundation/CFRuntime.h:
* Headers/CoreFoundation/CFBag.h:
* Headers/CoreFoundation/CFError.h:
* Headers/CoreFoundation/CFStringEncodingExt.h:
* Headers/CoreFoundation/CFByteOrder.h:
* Headers/CoreFoundation/CFBitVector.h:
* Headers/CoreFoundation/CFURL.h:
* Headers/CoreFoundation/CFDictionary.h:
* Headers/CoreFoundation/CFString.h:
* Headers/CoreFoundation/CFCalendar.h:
* Headers/CoreFoundation/CFBase.h:
* Headers/CoreFoundation/CFPropertyList.h:
* Headers/CoreFoundation/CFNumber.h:
* Headers/CoreFoundation/CFSet.h:
* Headers/CoreFoundation/CFStream.h:
* Headers/CoreFoundation/CFAttributedString.h:
* Headers/CoreFoundation/CFRunLoop.h:
* Headers/CoreFoundation/CFLocale.h:
* Headers/CoreFoundation/CFTree.h:
* Headers/CoreFoundation/CFDateFormatter.h:
* Headers/CoreFoundation/CFUUID.h:
* Headers/CoreFoundation/CFXMLNode.h:
* Headers/CoreFoundation/CFCharacterSet.h:
* Headers/CoreFoundation/CFData.h:
* Headers/CoreFoundation/CFNumberFormatter.h:
* Headers/CoreFoundation/CFDate.h:
* Headers/CoreFoundation/CFXMLParser.h:
* Headers/CoreFoundation/CFArray.h: Use '/* */' comments instead
of '//'.
2012-04-24 Stefan Bidigaray <[email protected]>
* Headers/CoreFoundation/CFAttributedString.h:
* Source/CFAttributedString.c:
* Source/CFRuntime.c:
* Source/common.mk: Added CFAttributedString skeleton.
2012-04-21 Stefan Bidigaray <[email protected]>
* Source/CFURLAccess.c: Fix compiler warnings.
2012-04-21 Stefan Bidigaray <[email protected]>
* autom4te.cache: