/
ChangeLog
12485 lines (9699 loc) · 434 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
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Recommit fixed version
* Source/GSICUString.h: Formatting fixups
* Source/GSICUString.m: Recommit
* Source/NSAttributedString.m: Recommit
* Source/NSData.m: Recommit
* Source/NSMethodSignature.m: Recommit
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Recommit with modification fixed and tested.
* Source/NSOperation.m: new tweak to avoid compiler warning.
* Source/GSPrivate.h: Recommit most recent version after testing.
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
Revert everything back from boken code at 32071 to wrking code at 32051
due to loads of commits of code which have been occurring to fast for
anyone to review, and either don't compile or fail the testsuite.
Lets go through things checking that they at least compile with gcc
and pass the testsuite before we recommit them!
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSICUString.m:
Fix leak spotted by static analyser.
* Source/NSArray.m:
Fix error in enumeration changes causing compile failure.
2011-02-11 12:06 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/GSPrivate.h: Added exception-safe version
of the GS_BEGINITEMBUF() macro. As a side effect, this should
silence the zero-sized VLA warnings in the static analyser.
Note: This macro is currently only used on GCC 4+ and clang. It
depends on __attribute__((cleanup)), which was introduced some
time in the 3.x series, but I'm not sure exactly when (3.2 / 3.3
I think), so someone who cares about gcc 3.x can tweak this if
they want (not sure if anyone does - I think most people use
2.95, 4.x, or clang).
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m:
* Source/NSString.m:
* Source/NSPointerArray.m:
* Source/NSAttributedString.m:
* Source/Additions/GSXML.m:
* Source/NSData.m:
* Tools/AGSParser.m:
Tweaks to try to avoid clang analyser warnings.
* Source/NSPropertyList.m:
Revert last change.
* Source/NSObject.m:
Rewrite zombie setup code to avoid crashes caused by latest change.
2011-02-11 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Avoid multiple memory copy operations.
2011-02-10 18:54 David Chisnall <theraven@gna.org>
* libs/base/trunk/config/config.joinable.m,
libs/base/trunk/config/objc-common.g: Don't use Object in
configure tests (not present in GNUstep runtime).
2011-02-10 18:53 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/NSObject.m: Use NSClassFromString() to
look up NSZombie class. This has two advantages:
1) Doesn't rely on Apple-incompatible behaviour in the GCC
runtime that introduces fun heisenbugs.
2) Doesn't require constructing the dtable for NSZombie if we're
not actually using it.
2011-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSpellServer.m: Avoid compiler warning.
* Source/NSPathUtilities.m:
* Source/NSMessagePortNameServer.m:
* Source/NSKeyValueObserving.m:
* Source/NSURLProtocol.m:
* Source/NSString.m:
* Source/NSNumberFormatter.m:
* Source/NSXMLParser.m:
Fix memory leaks
2011-02-10 11:02 David Chisnall <theraven@gna.org>
* libs/base/trunk/Headers/Additions/GNUstepBase/GSMime.h,
libs/base/trunk/Headers/Additions/GNUstepBase/GSVersionMacros.h,
libs/base/trunk/Headers/Foundation/NSArchiver.h,
libs/base/trunk/Headers/Foundation/NSAutoreleasePool.h,
libs/base/trunk/Headers/Foundation/NSBundle.h,
libs/base/trunk/Headers/Foundation/NSCache.h,
libs/base/trunk/Headers/Foundation/NSComparisonPredicate.h,
libs/base/trunk/Headers/Foundation/NSDateFormatter.h,
libs/base/trunk/Headers/Foundation/NSDecimalNumber.h,
libs/base/trunk/Headers/Foundation/NSDistributedLock.h,
libs/base/trunk/Headers/Foundation/NSDistributedNotificationCenter.h,
libs/base/trunk/Headers/Foundation/NSError.h,
libs/base/trunk/Headers/Foundation/NSFileHandle.h,
libs/base/trunk/Headers/Foundation/NSFileManager.h,
libs/base/trunk/Headers/Foundation/NSHost.h,
libs/base/trunk/Headers/Foundation/NSIndexPath.h,
libs/base/trunk/Headers/Foundation/NSInvocation.h,
libs/base/trunk/Headers/Foundation/NSKeyedArchiver.h,
libs/base/trunk/Headers/Foundation/NSLocale.h,
libs/base/trunk/Headers/Foundation/NSNumberFormatter.h,
libs/base/trunk/Headers/Foundation/NSPort.h,
libs/base/trunk/Headers/Foundation/NSPortCoder.h,
libs/base/trunk/Headers/Foundation/NSPortMessage.h,
libs/base/trunk/Headers/Foundation/NSPortNameServer.h,
libs/base/trunk/Headers/Foundation/NSProtocolChecker.h,
libs/base/trunk/Headers/Foundation/NSRegularExpression.h,
libs/base/trunk/Headers/Foundation/NSScanner.h,
libs/base/trunk/Headers/Foundation/NSSortDescriptor.h,
libs/base/trunk/Headers/Foundation/NSTask.h,
libs/base/trunk/Headers/Foundation/NSThread.h,
libs/base/trunk/Headers/Foundation/NSTimer.h,
libs/base/trunk/Headers/Foundation/NSUndoManager.h,
libs/base/trunk/Headers/Foundation/NSUserDefaults.h,
libs/base/trunk/Headers/Foundation/NSXMLNode.h,
libs/base/trunk/Headers/Foundation/NSXMLParser.h: Add a
GS_PADDING_IVAR macro. This defines the void *gs_unused; instance
variable with __attribute__((unused)) on clang so that the static
analyser only reports unused ivars that we expect to be used.
This also makes it slightly easier to add the padding ivar to new
classes.
Note: The padding ivar has been added to NSRegularExpression.
This will break the ABI for anyone subclassing
NSRegularExpression, but hopefully that's no one (done before the
next release, to make sure that we don't break the ABI between
releases, only for people following -trunk).
2011-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/NSPropertyList.m:
* Source/NSUserDefaults.m:
* Source/NSException.m:
* Source/NSURL.m:
* Source/NSDecimalNumber.m:
* Source/Additions/GSMime.m:
* Source/GSFileHandle.m:
* Source/NSNumberFormatter.m:
* Tools/gdomap.c:
* Tools/HTMLLinker.m:
Fix a couple of minor/theoretical memory leaks and make other code
alterations to try to avoid clang static analyser reporting some
issues.
* Source/GSPrivate.h:
* Source/NSObject.m:
* Source/Additions/NSObject+GNUstepBase.m:
New code to provide a single location to cache information which
should exist for the lifetime of the process, and a function to
clean it up on process exit. Just a placeholder so far.
2011-02-09 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSTimeZone.m: ([-daylightSavingTimeOffsetForDate:]) Implement.
2011-02-09 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSTimeZone.m: ([-localizedName:locale:]) Implemented method.
2011-02-09 Stefan Bidigaray <stefanbidi@gmail.com>
* configure:
* configure.ac:
* Headers/Additions/GNUstepBase/config.h.in:
* Source/NSDateFormatter.m: ([-dateFormatFromTemplate:options:locale:])
Fix completely broken method using unicode/udatpg.h.
2011-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m: Fix canonical identifiers to return the input
string if no other value is found. Refrain from putting nil locale
identifier in dictionary. Fix leak of components dictionary when
returning an existing locale by id.
2011-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcretePointerFunctions.m: objects with weak memory should
not be retained.
2011-02-03 Philippe Roussel <p.o.roussel@free.fr>
* Source/NSPropertyList.m: Fix memory leaks.
2011-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSNetServices.h:
* Source/GSMDNSNetServices.m:
* Headers/Foundation/NSNetServices.h:
Tweaks to get MDNS code to compile again.
2011-02-02 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: ([-doesRelativeDateFormatting])
([-setDoesRelativeDateFormatting:]) Implemented methods.
2011-02-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPointerArray.m: ([-allObjects]) implement missing method.
2011-01-29 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Handle current calendar updates.
2011-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Fix bug with notifications ... was not always
sending them when a domain was modified.
2011-01-29 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSLocale.h: Use GS_EXPOSE(NSLocale).
* Source/NSLocale.m: ([-autoupdatingCurrentLocale]) Handle locale
updates.
([-currentLocale]) Check Locale default for current user's locale.
([-preferredLanguages]) Do not add same language multiple times.
2011-01-28 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Fixed errors found by test suite.
2011-01-27 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Add -isEqual:.
2011-01-27 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Open UCalendar before use.
2011-01-27 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Set some sensible defaults.
2011-01-26 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Add currency code to locale identifier, if present.
* Source/NSDateFormatter.m: Fix crash on dealloc because of autoreleased
object.
2011-01-26 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Minor memory mgt fixes.
2011-01-24 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Fixes for formatter behavior.
2011-01-24 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Check ICU presence in private function.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSDateFormatter.h:
* Source/NSDateFormatter.m: Redo the calendar code.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSDateFormatter.h:
* Source/NSDateFormatter.m: Add calendar.
* Source/NSNumberFormatter.m: Compile again.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m:
* Source/NSNumberFormatter.m:
* Source/NSCalendar.m: Remove use of OS_API_VERSION() in .m files.
2011-01-23 15:42 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/NSNumberFormatter.m: Some small fixes in
NSNumberFormatter. Mostly stop using == to compare C strings.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Initialize UDateFormat before using it.
* Source/NSCalendar.m: Implement -components:fromDate:.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Implemented a few more methods.
2011-01-22 Stefan Bidigaray <stefanbidi@gmail.com>
* configure:
* configure.ac:
* Headers/Additions/GNUstepBase/config.h.in: Added check for
unicode/udat.h.
* Headers/Foundation/NSDateFormatter.h:
* Source/NSDateFormatter.m: Implemented a few methods.
2011-01-22 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSDateFormatter.h:
* Source/NSDateFormatter.m: Added stub for 10.4 and above methods.
2011-01-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Add support for GlobalDefaults directory
* Source/NSUserDefaults.m: Document GlobalDefaults directory
* Documentation/Base.gsdoc: Document GlobalDefaults directory
Implement suggestion by David Chisnall.
New GlobalDefaults directory support ... if there are .plist files
in this subdirectory, merge them in before merging in the contents of the GlobalDefaults.plist file.
Deprecate use of the old GNUSTEP_EXTRA config file entry.
2011-01-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Fix to cope with NSXMLParser reporting
whitespace as character data.
2011-01-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: For OSX compatibility we now quote strings
in property lists of they contain non-alphanumerics. We also warn
when we parse a dictionary with a missing semicolon at the end.
* Source/NSXMLParser.m: For OSX compatibility we report all character
data as characters and never as ignorable whitespace, though this
seems perverse.
Implement insertion of default attribute values into elements if we
have parsed an !ATTLIST which defines them.
2011-01-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: Print '(null)' rather than '(nil)' for a nil
object as this seems to be what OSX does now.
* Source/NSXMLParser.m: Implement partial support for declarations.
2011-01-12 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Implemented more methods.
([-stringForObjectValue:]): Add code for NSNumberFormatterBehavior10_4.
2011-01-11 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Removed NSLog used for debugging.
* Source/NSNumberFormatter.m: Fixed decimal separator behavior
for OS X > 10.4.
2011-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: ([-stringByStandardizingPath]) Fix bug when
dealing with three or more separators at the start of a path ...
should condense them to a single separator. Thanks to Robert Slover
for pointing this out.
2011-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
2011-01-09 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Implemented a few more methods.
* Source/NSLocale.m: Added code requiring NSNumberFormatter code.
2011-01-09 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Additions/GNUstepBase/config.h.in:
* Headers/Foundation/NSNumberFormatter.h:
* Source/NSNumberFormatter.m: Started adding code for new methods.
2011-01-08 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Fixed a few bugs exposed by testsuite.
2011-01-07 Stefan Bidigaray <stefanbidi@gmail.com>
* configure:
* configure.ac: Added check for unicode/unum.h.
* Headers/Foundation/NSNumberFormatter.h:
* Source/NSNumberFormatter.m: Added stub for 10.4+ methods.
2011-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Make zombie log message match current OSX.
* Source/NSURL.m: Fix -resourceSpecifier by removing incorrect
special handling for file URLs.
* Source/NSXMLParser.m: Maketolerant of whitespace around the '='
in an attribute. Fix check for xml header being at start of doc.
2011-01-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSObject.m (GSAtomicIncrement, GSAtomicDecrement): MIPS64
specific adjustment of atomic functions for mips.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>.
2011-01-01 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m: Added NSCoding and NSCopying.
* Source/NSLocale.m: Implement -isEqual: and do a better job of copying.
2011-01-01 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSCalendar.h:
* Source/NSLocale.m: Minor fixes.
* Source/NSCalendar.m: Implemented +currentCalendar.
2011-01-01 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Fixed typos found by testsuite.
2010-12-31 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Implemented -dateByAddingComponents:toDate:options:
and -dateFromComponents:.
2010-12-31 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m: Added iOS 4.0 and later methods to NSDateComponents.
2010-12-31 Stefan Bidigaray <stefanbidi@gmail.com>
* Resources/GNUmakefile:
* Resources/Languages/Locale.canonical: Added mapping to go from long
locale identifiers to the shorter identifiers used by ICU.
* Source/NSLocale.m: Implemented -canonical* and -preferredLanaguges methods.
2010-12-31 14:03 David Chisnall <theraven@gna.org>
* libs/base/trunk/Headers/Foundation/NSBundle.h: Add __attribute__
((format_arg)) to [NSBundle -localizedStringForKey:value:table:].
This informs the compiler that the output can be used anywhere
that the first argument can be used, and should silence all of
the non-constant format string warnings that we get anywhere that
_(@"foo") or similar is used.
2010-12-27 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/GSString.m ([GSCString -encodeWithCoder:]): Explicitly
encode NSStringEncoding variables as 'int' so that we can
read/write archives across compiler versions. "enum
_NSStringEncoding" is an unsigned int, but GCC <= 4.5 incorrectly
encodes all enums, regardless of the actual integer type they
represent, as a signed int.
([GSMutableString -encodeWithCoder:]): Same change.
([GSUnicodeString -encodeWithCoder:]): Same change.
* Source/NSString.m ([NSString -encodeWithCoder:]): Same change.
([NSString -initWithCoder:]): Same change.
2010-12-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSCalendarDate.m:
* Source/NSDate.m:
* Source/NSProcessInfo.m:
* Source/NSRunLoop.m:
Change GSTimeNow() to GSPrivateTimeNow() to indicate scope of function.
* Source/NSThread.m:
Remove duplicate declaration of obbjc thread callback.
* Source/NSXMLParser.m:
Try to duplicate OSX behavior in handling start of document.
2010-12-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
([-stringByReplacingCharactersInRange:withString:]) fix memory leak.
([-stringByReplacingOccurrencesOfString:withString:options:range:])
ditto.
2010-12-25 Quentin Mathe <quentin.mathe@gmail.com>
Improved autogsdoc to output symbols such as methods in their header
declaration order along the gsdoc files.
Useful for third-party tools that want to generate final documentation
from the GSDoc ouput and how the original headers were organized.
* Tools/autogsdoc.m:
Added OrderedSymbolDeclarations.plist file output and cleaning.
* Tools/AGSParser.h:
* Tools/AGSParser.m:
Added orderedSymbolDecls ivar.
(-addOrderedSymbolDeclaration:toUnit:,
-orderedSymbolDeclarationsByUnit): Added.
(-parseMethodsAsDeclarations:): Modified to call
-addOrderedSymbolDeclaration:toUnit:.
2010-12-25 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSString.h:
* Source/NSString.m:
Added -stringByReplacingCharactersInRange:withString: (Mac OS 10.5
method).
2010-12-25 12:13-EST Gregory John Casamento <greg.casamento@gmail.com>
* Tools/pl2link.m: Changes to better integrate with the GNOME
desktop. Removed dummy version number. Added code to
find the correct locations of the application and it's icon.
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* Headers/Foundation/NSPropertList.h: Forward-declare the NSError
class if appropriate.
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSObject.m ([+conformsToProtocol:]): Use the new code
only if __GNU_LIBOBJC__ is defined.
* Source/Additions/GSObjCRuntime.m (GSTypesFromSelector): Updated
usage of Modern typed selector API with __GNU_LIBOBJC__.
* Source/GSFFIInvocation.m (gs_find_best_typed_sel): Same.
(gs_objc_msg_forward2): Same.
(GSFFIInvocationCallback): Same.
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSObject.m ([+conformsToProtocol:]): Fixed to iterate
over superclasses. Just calling class_conformsToProtcol() is not
enough as class_conformsToProtocol() does not iterate over
superclasses.
([-conformsToProtocol:]): Updated.
2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Check for objc_setUncaughtExceptionHandler().
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Regenerated.
* config/config..setUncaughtExceptionHandler.m: New.
* Source/Additions/GSObjCRuntime.m (GSTypesFromSelector): Use
sel_getType, not sel_getType_np, if __GNU_LIBOBJC__.
(GSSelectorFromNameAndTypes): Use sel_registerTypedName, not
sel_registerTypedName_np, if __GNU_LIBOBJC__.
* Source/objc-load.h: Do not include objc-api.h.
* Source/NSBundle.m (_bundle_load_callback): Use the new API to
iterate over classes when __GNU_LIBOBJC__.
* Source/NSConnection.m ([NSConnection
-forwardInvocation:forProxy:]): Use sel_registerTypedName, not
sel_registerTypedName_np, if __GNU_LIBOBJC__.
* Source/NSData.m ([NSData
-deserializeDataAt:ofObjCType:atCursor:context:]): Use
sel_registerTypedName, not sel_registerTypedName_np, if
__GNU_LIBOBJC__. Use sel_registerName, not
sel_registerTypedName_np, if the type is 0.
([NSDataStatic -deserializeDataAt:ofObjCType:atCursor:context:]):
Use sel_registerTypedName, not sel_registerTypedName_np, if
__GNU_LIBOBJC__.
* Source/NSDistributedNotificationCenter.m
([NSDistributedNotificationCenter
-postNotificationName:object:userInfo:selector:to:]):
Use sel_registerTypedName, not sel_registerTypedName_np, if
__GNU_LIBOBJC__.
* Source/NSException.m: Include <objc/objc-exception.h> if
HAVE_SET_UNCAUGHT_EXCEPTION_HANDLER.
([NSException +initialize]): Use objc_setUncaughtExceptionHandler
if HAVE_SET_UNCAUGHT_EXCEPTION_HANDLER.
* Source/NSMethodSignature.m: Do not include objc/encoding.h when
__GNU_LIBOBJC__.
* Source/NSObject.m ([NSObject -methodSignatureForSelector:]): Use
method_getTypeEncoding instead of accessing directly the 'types'
field.
([NSObject +poseAsClass:]): Always throw an exception since
class_pose_as is now deprecated or unavailable in most Objective-C
runtimes. If you need pose-as, and your runtime supports it, call
class_pose_as directly.
([NSObject -error:]): Use vprintf and abort directly instead of
trying to call objc_verror.
* Source/NSThread.m: Define objc_thread_callback if we are later
using it.
* Source/objc-load.m: Never include objc-api.h or objc-list.h.
(GSPrivateLoadModule): Removed 'dynamic_handles' variable, no
longer used. Do not call __objc_resolve_class_links if
__GNU_LIBOBJC__.
* Source/GSFFIInvocation.m: Include <objc/message.h> when
__GNU_LIBOBJC__.
(gs_find_best_typed_sel): Use sel_getType instead of
sel_getType_np if __GNU_LIBOBJC__.
(gs_objc_msg_forward2): Same change.
(GSFFIInvocationCallback): Same change.
* Source/NSValue.m ([NSValue +valueFromString:]): Added missing
return for NSRange values.
2010-12-22 Nicola Pero <nicola.pero@meta-innovation.co>
* Headers/Additions/GNUstepBase/preface.h.in: When using the new
GNU Objective-C Runtime library, include <objc/runtime.h> instead
of <objc/objc-api.h> and <objc/encoding.h>.
* Headers/Additions/GNUstepBase/GSObjCRuntime.h: When
OBJC2RUNTIME, do not include <objc/objc-api.h>.
* Headers/Additions/GNUstepBase/GSVersionMacros.h: Added FIXME.
2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
* config/objc-common.g: Include the correct headers to use the new
API if using the GNU Objective-C Runtime library from GCC 4.6.
2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac (objc_thread_add): Check removed.
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Regenerated.
* Source/NSThread.m (objc_thread_add): Unused static function removed.
2010-12-22 Adam Fedor <fedor@gnu.org>
* Headers/Foundation/NSCalendar.h: Add NSCopying protocol
* Source/NSCalendar.m: Retain ivar. Add copyWithZone:
* Source/NSURL.m (-resourceSpecifier): Separate behavior for
file scheme vs other schemes.
2010-12-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m: Fix to build with ICU 4.0
* configure.ac: Permit ICU version as old as 4.0
* configure: regenerate
2010-12-16 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Added code for -maximumRangeOfUnit: and
-minimumRangeofUnit:.
2010-12-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRegularExpression.m: Move towards coding standards compliance
* Source/GSICUString.m: ditto
2010-12-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove redundant/incorrect define of HAVE_ICU.
Require ICU version 4.6 or later.
Add comments describing how external dependencies are handled.
* configure: Regenerate
* Headers/Additions/GNUstepBase/config.h.in: Regenerate
* config.mak.in: Update for consistency
* base.make.in: ditto
* Headers/Additions/GNUstepBase/GSConfig.h.in: ditto
* Source/GSHTTPURLHandle.m: Improve debug logging a little
* Source/NSXMLParser.m: Improve error handling. Use sloppy parser.
* Source/NSRegularExpression.m: Use GS_USE_ICU and nnever HAVE_ICU
* Source/NSCalendar.m: ditto
* Source/NSLocale.m: ditto
* Source/GSICUString.m: ditto
2010-12-15 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/GNUmakefile: Install NSCalendar.h.
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m: Started adding code to NSCalendar.
2010-12-15 Stefan Bidigaray <stefanbidi@gmail.com>
* configure: Regenerate.
* Headers/Additions/GNUstepBase/config.h.in: Update for unicode/ucal.h.
* Headers/Foundation/NSLocale.h: Added NSLocaleCalendarIdentifier key.
* Source/NSLocale.m: Added handling of locale keywords and a few other
minor changes.
2010-12-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Added NSCalendar dependent code.
2010-12-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/Foundation.h:
* Source/GNUmakefile: Include NSCalendar.
* configure.ac: Check for unicode/ucal.h.
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m: Add completely empty NSCalendar and
NSDateCompoennts classes.
2010-12-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Initialize _components before using it and initilize
allLocales class variable in +initialize. Also stop adding blank entries
to _components dictionary.
2010-12-12 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSLocale.h: Added missing constant.
* Source/NSLocale.m: Implemented more functionality.
2010-12-06 Riccardo Mottola
* Source/NSPathUtilities.m:
Make the Desktop directory relative to the user home.
2010-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix possible memory corruption when asked
to base64 decode corrupt data with too many '=' characters.
2010-12-02 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSRegularExpression.m: Add a guard so this file isn't compiled
if the ICU version is older than 4.4.
2010-11-29 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSPropertyList.h,
* Source/NSPropertyList.m: Add a few OSX 10.6 methods.
2010-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Remove unnecessary include of Foundation.h
* Source/Additions/GCDictionary.m: ditto
* Source/Additions/GCObject.m: ditto
* Source/Additions/GCArray.m: ditto
* Source/Additions/GSXML.m: ditto
* Source/Additions/GSFunctions.m: ditto
* Source/Additions/GSObjCRuntime.m: ditto
* Headers/Foundation/Foundation.h.install: obsolete file ... removed
* Source/Makefile.postamble: Don't install obsolete Foundation.h.install
header ... we no longer include Foundation.h anywhere so there's no
need to protect against getting the installed version.
2010-11-19 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Rearrange for non-C99 compliant
compilers.
2010-11-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Fixup use of preprocessor constants.
2010-11-17 Eric Wasylishen
* Source/NSPredicate.m: Implement MATCHES and LIKE using ICU
* configure.ac: Check for unicode/uregex.h in ICU checks
2010-11-13 Riccardo Mottola
* Source/NSPathUtilities.m:
Make NSDownloadDirectory and NSDocumentDIrectory relative to the
user home and for the user domain only. Behaviour checked on the Mac.
2010-11-05 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSIndex.m: ([-setUnitRef:type:]) Fix incorrect special
handling of category methods.
2010-11-02 Larry Campbell <lcampbel@akamai.com>
* Tools/make_strings/make_strings.m: Fix line missed in last patch.
* Source/NSPropertyList.m: Fixes for date serialization byte swaps.
2010-10-31 Larry Campbell <lcampbel@akamai.com>
* Tools/make_strings/make_strings.m: Permits tool to take nil as the
table name argument in NSLocalizedStringFromTable and
NSLocalizedStringFromTableInBundle (as does the corresponding OSX
utility, genstrings).
2010-10-30 German Arias <german@xelalug.org>
* Documentation/GNUmakefile: Changes in some files names to
correspond with the files provided in the Documentation directory.
2010-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSMime.h
* Source/Additions/GSMime.m: Add support for delivery receipts.
* Source/NSURLConnection.m: Fix simple leak in
([+sendSynchronousRequest:returningResponse:error:])
2010-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Revert David's last change ,which caused
crashes by dereferencing a null pointer, even though I had put a
comment in the code warning that the pointer could be null!
2010-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Fix definition of HAVE_ICU
* configure:
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Headers/Additions/GNUstepBase/GSMime.h
* Source/Additions/GSMime.m: wrap long lines
* Source/NSLocale.m: Use HAVE_ICU
2010-10-26 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSLocale.m: Fix -displayNameForKey:value: to interact properly
with libicu for some common cases.
2010-10-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/GNUmakefile:
Do not set -march=i686 when on an x86 system as it breaks compilation
for other cpu types.
2010-10-19 Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
* Source/Additions/NSError+GNUstepBase.m: Prevent SegFault when
FormatMessageW doesn't return a string on Windows.
2010-10-19 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSURL.m (-absoluteURL): Fix test for an absolute URL,
which got things backward.
2010-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: When making a relative file URL copy the host from
the base URL for OSX compatibility.
2010-10-16 16:53-EDT Gregory John Casamento <greg.casamento@gmail.com>
* config/objc-common.g: Correct test. The previous version didn't
include the { and the } in the ivar section. This is not correct.
* Source/ObjectiveC2/sync.m: Correct license text.
2010-10-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Match OSX behavior with file scheme URLS (treat
them like http/https rather than accorinding to the RFCs).
2010-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: If we receive an attribute name with no
corresponding value, assume it's a minimised attribute in html ...
and we should set the value to be the same as the name.
2010-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: Add support for arbitrary struct
get/set since OSX has it at last (not just well-known structs).
2010-10-12 David Chisnall <theraven@gna.org>
* Source/Additions/GSObjCRuntime.m:
Add special case to KVC accessors for libobjc2: If there is a method
with the wrong types, try calling the method with the correct types.
This enables the TDD-fixup code to run and generate a KVC-compliant
version of an existing method.
2010-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Exactly match the percent escaping used by OSX.
2010-10-08 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSAvahiRunLoopIntegration.m: Fix some bugs:
- Remove an extra retain of the NSTimer which was leaking memory.
- When passed a NULL struct timeval * from avahi, invalidate
the timer and don't schedule a new one.
2010-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Add simple implementation of
evalutedObjectExpression
2010-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: Revert to the working version
from the last release.
Can't see a changelog for the last change, I guess some local
hack was accidentally committed... it broke KVC, which showed up
when the testsuite was run.
2010-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile: Remove reference to non-existent behavior.h
* Source/Makefile.postamble: Don't make circular dependency on
common.h
2010-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/NSSocketPort.m:
* Source/NSMessagePort.m:
* Source/win32/GSFileHandle.m:
* Source/GSNetwork.h:
* Source/GSFileHandle.m:
Standardise the backlog parameter to listen() calls.
2010-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Fix for bug #31153 ... allow hash in path when
initialising.
* Source/NSURLProtocol.m: Fix thread related crash with deallocation
of placeholder object.
2010-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
Increase the backlog for the listen() call to allow more incoming
network connections.
2010-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: Remove excess release pointed out by
Sergey Golovin (bug 31168)
2010-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: restore standardisation of header name
lost in last optimisation. Fixes bug #31166
2010-09-28 Eric Wasylishen <ewasylishen@gmail.com>
* Source/objc-load.m: Don't include objc-list with libobjc2
2010-09-28 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSFFIInvocation.m: Remove dead code
(gs_find_by_receiver_best_typed_sel was static inline and never
called anywhere)
2010-09-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: implement lowercaseString and uppercaseString
for improved performance.
* Source/Additions/GSMime.m: optimise header searches
2010-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimer.m: ([-fire]) make firing more robust by retaining
the target so it cannot be deallocated while we are performing a
method on it. Do nothing if timer is already invalidated.
2010-09-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSet.m: Build using the faster but more memory
hungry implementation. Add comments to say why we are doing so.
2010-09-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/ObjectiveC2/runtime.c (method_getImplementation,
method_getName): Fix unchecked pointer dereferences, which could
cause crashes when attempting to invoke a selector which is not
implemented by the target.
2010-09-19 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Additions/GNUstepBase/preface.h.in:
Added standard C headers included by CoreFoundation.h.
2010-09-17 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSBundle.m (+bundleForLibrary:version:): Use proper
suffix for dynamic libraries on Darwin (.dylib instead of .so).
* Source/NSTask.m (-launch): Use fork instead of vfork on Darwin,
since setsid will fail while the child process is in the vfork.
2010-09-17 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSObject.m (-methodSignatureForSelector:): Fix bug were
this method would return an incorrect result or crash when asking
a class object for the signature of one of its class methods.
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSSocketStream.m:
* Source/NSPortCoder.m:
* Source/NSSocketPort.m:
* Source/NSAttributedString.m:
* Source/NSKeyValueMutableSet.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSUnarchiver.m:
* Source/GSAttributedString.m:
* Source/NSKeyValueMutableArray.m:
* Source/NSXMLParser.m: Fix more unsigned int / ints that should
be NSUInteger/NSInteger
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/objc-load.m: Don't compile the dynamic_handles code with
libobjc2.
Note that this appears to be dead code anyway, so maybe it should
be removed altogether?
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSMessagePort.m:
* Source/NSFileManager.m:
* Source/NSCharacterSet.m: Fix some method type mismatches.
Generally when a private subclass overrides a public method
taking a NSUInteger with a method taking an "unsigned" parameter.
2010-09-12 Riccardo Mottola
* Source/GSAttributedString.m: Removed dead assignments and unused variable attrs.
* Source/GSFormant.m: Removed useless len recalculation.
2010-09-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSConcreteValueTemplate.m:
* Source/NSSocketPort.m:
* Source/NSSortDescriptor.m:
* Source/NSMessagePort.m:
* Source/GSAttributedString.m:
* Source/NSNumber.m:
* Source/GSString.m:
* Source/NSHost.m:
* Source/NSDate.m:
* Source/GSValue.m:
Fix return types.