-
Notifications
You must be signed in to change notification settings - Fork 28
/
ChangeLog
16975 lines (13109 loc) · 585 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
2012-09-24 Richard Frith-Macdonald <[email protected]>
* Source/NSBundle.m: Fix error spotted by Fred.
2012-09-24 Richard Frith-Macdonald <[email protected]>
* Headers/Foundation/NSFileHandle.h: deprecate old method for setting
certificate and add new one.
* SSL/GSSSLHandle.m: Support new method and move generic code to
NSFileHandle.m
* Source/GSSocketStream.m: Implement NSFileHandle SSL/TLS support
using GNUTLS.
* Source/NSFileHandle.m: Some ssl/tls restructuring, use GNUTLS if
available.
* configure.ac: Don't build SSL bundle if isupport is built-in.
* GNUmakefile: ditto
* base.make.in: ditto ... plus fix to define setting to show whether
ICU is avaiable.
* configure: regenerate
2012-09-23 Niels Grewe <[email protected]>
* Source/GSSocketStream.m: Expose GSFileHandle ivars for compilation
with the non-fragile ABI.
* Headers/GNUstepBase/GSVersionMacros.h: Restore line that was
accidentally commented out.
2012-09-23 Niels Grewe <[email protected]>
* Source/GSTimSort.m: Fix typo.
2012-09-21 Richard Frith-Macdonald <[email protected]>
* Source/NSArray.m:
* Source/NSDate.m:
* Source/NSDictionary.m:
* Headers/Foundation/NSArray.h:
Comment/documentation fixups to avoid warnings etc.
* Tools/AGSParser.h:
* Tools/AGSParser.m:
Fix memory management error causing reference to deallocated object.
2012-09-20 Niels Grewe <[email protected]>
* Source/GSTimSort.m: A few more timsort bugfixes.
2012-09-20 Niels Grewe <[email protected]>
* Source/GSTimSort.m: Fix bugs in the timsort implementation.
2012-09-20 Richard Frith-Macdonald <[email protected]>
* Source/GSQuickSort.m: Fixed this to compile and (apparently) work.
2012-09-20 Richard Frith-Macdonald <[email protected]>
* configure.ac: Change sort selection to use shellsort by default and
to make sort selection internal to gnustep-base rather than public.
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Headers/GNUstepBase/GSConfig.h.in: Remove public sort selection info
* Source/GSQuickSort.m: Use config.h to control build/not-build.
* Source/NSSortDescriptor.m: Reference the selected sort class to
ensure that it is linked in and loaded at runtime.
* Source/GSShellSort.m: Fix bug in function arguments.
Use config.h to control build/not-build.
* Source/GSSorting.h: tidied a little
* Source/GSTimSort.m: Use config.h to control build/not-build.
The changes are basically to keep sort information internal to
base rather than exposing it and, more importantly, to get sorting
working again. This involves:
1. minor fix to shellsort to get it to work.
2. change configure script to select shellsort.
The problems with the other sorts are:
a. quicksort won't even compile
b. timsort does compile, but segfaults when you try to give it
real-world datasets to sort
Anyone wantng to fix these, please do (it would be really cool
to have timsort working).
2012-09-19 Niels Grewe <[email protected]>
* Source/GSSorting.h
* Source/NSSortDescriptor.m:
Add new generic interface for sorting.
* Source/GSTimSort.m: Implement timsort sorting algorithm.
* Source/GSQuickSort.m
* Source/GSShellSort.m:
Factor out previously used sorting algorithms.
* Source/GSArray.m
* Source/NSArray.m:
Modify to use the new sorting interface for sorting using
functions, NSSortDescriptor, and NSComparator. Implement
NSComparator based sorting and insertion index searching
methods.
* Source/GNUmakefile: Connect new files to the build.
* configure.ac: Add configure switch to allow selection of sort
algorithm.
* Headers/GNUstepBase/GSConfig.h.in: Add defines for sort
algorithm selection.
* configure: Regenerate
* Headers/Foundation/NSObjCRuntime.h
* Headers/Foundation/NSArray.h:
Declarations for new NSComparator based sorting methods.
* Tests/base/NSArray/general.m
* Tests/base/NSArray/blocks.m:
Add tests for new functionality.
* Tests/base/NSArray/random.plist
* Tests/base/NSArray/sorted.plist:
Add sorting example data that is large enough to test more
sophisticated sorting algorithms.
Completely overhaul how we do sorting in -base. GSSorting.h now
defines an interface that can be used for all sorting tasks in
the library. The actual sort algorithms to use are now plugable.
Timsort is the new default sorting algorithm, the existing
algorithms, shellsort and quicksort can still be selected using
a configure switch, but they do not override timsort completely
because they are unstable.
Also implement the new NSComparator (blocks) based sorting and
insertion index searching methods for NSMutableArray and
NSArray.
2012-09-17 12:03-EDT Gregory John Casamento <[email protected]>
Merged from the testplant branch.
* Headers/Foundation/Foundation.h
* Headers/Foundation/NSScriptWhoseTests.h
* Source/GNUmakefile
* Source/NSObject+NSComparisonMethods.m: Move the
comparison methods to the header for NSScriptWhoseTests.h,
but don't define the abstract class since we don't support
Apple script.
2012-09-16 Richard Frith-Macdonald <[email protected]>
* Source/NSURL.m:
* Tests/base/NSURL/basic.m:
Add support for data: URL
2012-09-10 Richard Frith-Macdonald <[email protected]>
* Source/NSJSONSerialization.m:
Fix quoting of string output by copying code from WebServices library.
2012-09-10 Richard Frith-Macdonald <[email protected]>
* Source/NSJSONSerialization.m:
* Source/NSPropertyList.m:
Improve serialisation of booleans.
2012-09-10 Richard Frith-Macdonald <[email protected]>
* Headers/Foundation/NSDate.h: Declare new OSX method to add time
interval to a date.
* Source/NSDate.m: Implement it
* Source/NSCalendarDate.m: Ditto
* Source/NSRunLoop.m: Add exception handling for run loop performer.
2012-09-10 Sergii Stoian <[email protected]>
* Source/NSFileManager.m:
[createDirectoryAtPath:withIntermediateDirectories:attributes:error:]:
Create directories only if it doesn't exist.
2012-09-09 Wolfgang Lux <[email protected]>
* Source/NSPropertyList.m (-storeString): Add missing variable
declaration on big-endian systems.
2012-09-06 Richard Frith-Macdonald <[email protected]>
* Source/NSPropertyList.m:
Don't ignore whitespace in keys and values when parsing XML ... the
DTD says everything apart from array and dict contains #PCDATA.
2012-09-05 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m: Compatibility tweak reported by [email protected]
A string like '1.2eX' where X is not a numeric exponent, needs to be
scanned as a float/double up to (but not including) the 'e' (or 'E')
rather than being treated as a badly formatted float/double.
2012-09-04 Fred Kiefer <[email protected]>
* Tests/base/NSXMLDocument/cdata.m: New test case for CDATA.
2012-09-03 Richard Frith-Macdonald <[email protected]>
* Source/NSTimeZone.m:
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDistributedLock.m:
* Source/GSHTTPURLHandle.m:
* Source/NSZone.m:
* Source/NSPage.m:
* Source/NSMessagePort.m:
* Source/NSUnarchiver.m:
* Source/win32/GSFileHandle.m:
* Source/NSFileManager.m:
* Source/common.h:
* Source/NSString.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/Additions/Unicode.m:
* Source/Additions/NSMutableString+GNUstepBase.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSString+GNUstepBase.m:
* Source/Additions/GCArray.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSNumber+GNUstepBase.m:
* Source/Additions/GSObjCRuntime.m:
* Source/GSString.m:
* Source/NSObjCRuntime.m:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
On windows with mingw we can use strtoull() rather than _strtoui64().
Also, remove redundant header includes since string.h is in common.h
2012-09-03 Niels Grewe <[email protected]>
* configure.ac: Fallback to the non icu-config check for ICU in
the general case.
* configure: Regenerate.
2012-09-01 Niels Grewe <[email protected]>
* configure.ac: Implement `--disable-icu-config' switch to
configure for platforms that ship libicu but not icu-config.
* configure: Regenerate.
2012-08-27 Richard Frith-Macdonald <[email protected]>
* Source/NSSstring.m: ([-stringByAppendingPathComponent:]) fix for
append to an empty string with a windows path as an argument.
2012-08-26 Niels Grewe <[email protected]>
* configure.ac: Check for sys/filio.h and whether we need to
link libsocket (as on QNX).
* configure
* SSL/configure
* Headers/GNUstepBase/config.h.in:
Regenerate.
* Source/common.h
* Source/GSFileHandle.m
* Source/NSMessagePort.m
* Source/NSSocketPort.m
* Source/NSThread.m
* SSL/GSSSLHandle.m:
QNX compatibility tweaks.
* Tools/gdnc.m
* Tools/gdomap.c:
Use slog facility for logging on QNX.
Compatibility improvements for building for QNX.
2012-08-26 Niels Grewe <[email protected]>
* configure.ac: Check for QNX slog facilities.
* Headers/GNUstepBase/config.h.in
* configure:
Regenerate
* Source/NSLog.m: Implement logging to the QNX slog.
Add support for logging to the QNX slog via NSLog().
2012-08-25 Niels Grewe <[email protected]>
* configure.ac: Allow a cross-compilation configuration to be
specified using the `--with-cross-compilation-info=' switch.
Tweak configure script to behave gracefully when
cross-compiling.
* configure: Regenerate.
* cross.config: Add default values for cross-compilation.
Make the configure script behave more friendly when
cross-compiling.
2012-08-16 Niels Grewe <[email protected]>
* configure.ac: Check for objc_root_class attribute
* configure: Regenerate
* config/objc-common.g: Annotate root classes.
* Headers/GNUstepBase/config.h.in: Regenerate
* Headers/GNUstepBase/GSConfig.h.in: Add macro for root class
attribute availability.
* Headers/GNUstepBase/GSVersionMacros.h: Define GS_ROOT_CLASS
depending on whether the compiler supports it.
* Headers/Foundation/NSObject.h: Mark NSObject as a root class.
* Headers/Foundation/NSProxy.h: Mark NSProxy as a root class.
* Source/NSDistantObject: Mark GSDistantObjectPlaceholder as a
root class.
* Source/NSObject.m: Mark NSZombie as a root class.
Changes to support clang's __attribute__((objc_root_class)).
2012-08-10 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m: Fix error in comment
* Tools/pldes.m: Update to more modern APIs
* Tools/plser.m: Update to more modern APIs
* Source/NSPropertyList.m: Update for usigned long long
* Source/NSString.m: Make intValue, integerValue, longLongValue
return large unsigned values as negative.
Fixes to try to cope with property lists containing very large
unsigned integers (top bit set).
2012-08-10 Richard Frith-Macdonald <[email protected]>
* Source/NSPathUtilities.m:
Fix permissions on temporary directory rarther than just failing ...
suggestion by Wolfgang.
2012-08-10 Richard Frith-Macdonald <[email protected]>
* Source/NSFileManager.m: ([-createDirectoryAtPath:attributes:])
OSX compatibility change to no longer create intermediate directories
(fixing bug #35672).
NB. Code depending on the original incorrect behavior should be
updated to use the new method:
-createDirectoryAtPath:withIntermediateDirectories:attributes:error:
2012-08-10 Richard Frith-Macdonald <[email protected]>
* Source/NSSpellServer.m:
* Source/NSPropertyList.m:
* Source/NSPathUtilities.m:
* Source/NSUserDefaults.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDistributedLock.m:
* Source/NSMessagePort.m:
* Source/NSHTTPCookieStorage.m:
Use new method for creating intermediate directories rater than
depending on incorrect behavior of the old method.
2012-08-09 Richard Frith-Macdonald <[email protected]>
* Source/NSPropertyList.m:
Fix problem considering a lack of whitespace at the end of the
list as an error.
* GSeq.h: Replace tolower() with uni_tolower() where using 8bit
strings and the internal coding is latin1 and may not be the same
as the native encoding.
2012-08-08 Riccardo Mottola <[email protected]>
* Tools/AGSParser.m:
Add macro detection for MacOS version 10.1 to 10.6 and make
GS_API_LATEST the last in priority.
2012-08-08 Richard Frith-Macdonald <[email protected]>
* Source/GSString.m: Simplify/remove upper and lower case conversion
to use superclass implementation avoiding toupper() and tolower().
Change other literal string methods to check that the content
is really utf8 in more places. Generally simplify/cleanup a bit.
2012-08-02 Richard Frith-Macdonald <[email protected]>
* Source/GSValue.m: ([-isEqualToValue:]) add check for self equality
and fix error checking tyep signature.
* Source/Additions/GSObjCRuntime.m: (GSSelectorTypesMatch) fix to
return a true BOOL value.
2012-07-31 Richard Frith-Macdonald <[email protected]>
* Source/Additions/GSMime.m: Optimisations for chunked encoding.
a. Don't resize the buffer for each chunk ... that's very inefficient
if the other end sends tiny chunks. Instead, make the buffer big
enough to handle all the available data, then shrink back to the
decoded size.
b. Move method call out of the loop handling individual bytes.
2012-07-30 Richard Frith-Macdonald <[email protected]>
* Source/NSData.m: ([setLength:]) increase size of buffer in chunks
proportional to the current size ... so if we add small amounts to a
buffer many, many times, we don't reallocate the memory for each tiny
increment. Should make accumulating large amounts of data into a
buffer much more efficient.
2012-07-27 Richard Frith-Macdonald <[email protected]>
* Source/NSKeyValueObserving.m:
Try fix for bug #36967
2012-07-27 Richard Frith-Macdonald <[email protected]>
* Source/NSXMLNode.m: Just report string value as description ...
which appears to be what OSX does.
* Tests/base/KVC/mutable.m: Add tests based on code by Riccardo.
2012-07-27 Richard Frith-Macdonald <[email protected]>
* Source/NSKeyValueObserving.m:
* Source/GSFFIInvocation.m:
* Source/GSPrivate.h:
* Source/NSInvocation.m:
* Source/cifframe.h:
* Source/cifframe.m:
Initial attempt at implementing KVO for structure setter methods in
general via libffi.
2012-07-27 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-description): Remove trailing newline. This
should fix #36976.
2012-07-11 Richard Frith-Macdonald <[email protected]>
* Source/GSFFCallInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSProtocolChecker.m:
* Source/GSValue.m:
* Source/NSValue.m:
Use GSSelectorTypesMatch() for type comparisons.
2012-07-12 19:26-EDT Gregory John Casamento <[email protected]>
* Source/NSFileManager.m: Correct misspelled ASSIGN which was
causing link errors.
2012-07-11 Richard Frith-Macdonald <[email protected]>
* Source/Additions/GSMime.m: Don't accept documents where header lines
contain bytes which can't be converted to a string.
2012-07-11 Richard Frith-Macdonald <[email protected]>
* Source/NSKeyedArchiver.m:
* Source/NSCoder.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSArchiver.m:
* Headers/GNUstepBase/GSObjCRuntime.h:
Have leading type qualifiers and laout information skipped when
encoding a value of on ObjC type, rather than objecting that the
supplied type string is not a known type.
Fix for bug #36824
2012-07-09 Richard Frith-Macdonald <[email protected]>
* Source/GSFFIInvocation.m: Fix for bug #36706
* Source/NSObject.m: Also, apply patch by Niels Grewe with modsvn commit
2012-07-09 Sebastian Reitenbach <buzzdee>
* Source/NSThread.m: Fixes test for posix thread scheduling.
2012-07-09 Richard Frith-Macdonald <[email protected]>
* Source/NSBundle.m: Fixes for bug #34815 ... map between old and
new style language names and use the best language specific
resource available.
* Resources/Languages/Locale.canonical: Add mappings from three
letter language names to two letter names where they exist.
2012-07-08 Richard Frith-Macdonald <[email protected]>
* Headers/GNUstepBase/GSVersionMacros.h:
fix for bug #36650
* Source/NSFileManager.m: Apply rewritten patch by Sergey Golovin
* Source/NSBundle.m: Fix for bug #34815 ... we shoudl now move to
using ISO names.
2012-07-08 Richard Frith-Macdonald <[email protected]>
* Source/NSURL.m:
* Source/NSURLHandle.m:
Re-load a cached handle if the content has been invalidated.
Set the status of a file handle to not-loaded if the fiel is modified.
Should fix bug #36726
2012-07-05 Richard Frith-Macdonald <[email protected]>
* Source/NSBundle.m: Don't assume that code loading won't be called
re-entrantly.
2012-07-05 Quentin Mathe <[email protected]>
* Source/NSPathUtilities.m: Fixed constant string comparison error
reported by Clang SVN trunk r158230 or more recent.
See http://llvm.org/viewvc/llvm-project?view=rev&revision=158230
This is a workaround for a Clang compiler bug ...
2012-07-02 Richard Frith-Macdonald <[email protected]>
* Source/NSBundle.m: Attempted fix for bug #34191 ... change framework
class association to keep a map of loaded frameworks/bundles by class
for quick lookup and alter code to check the runtime for new frameworks
if we are asked for the bundle for a class and we can't find it.
2012-06-27 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m: Fix missing 'else' which was causing a
memory leak and minor performance degradation.
2012-06-12 Richard Frith-Macdonald <[email protected]>
* Source/NSPropertyList.m: Check for nil property list argument.
2012-06-07 Wolfgang Lux <[email protected]>
* Source/unix/GSRunLoopCtxt.m (-pollUntil:within:): Fix previous
change to compile again when using select() instead of poll().
2012-06-06 Richard Frith-Macdonald <[email protected]>
* Source/NSSocketPort.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/NSMessagePort.m:
* Source/win32/GSRunLoopCtxt.m:
Modify code for getting file descriptors to cope with an unlimited
number (allocate buffer on heap if necessary) for server processes
with very large numbers of distributed object connections.
2012-04-30 Riccardo Mottola <[email protected]>
* Source/NSString:
Do not include malloc on OpenBSD to avoid warning (and include
stdlib always).
2012-04-29 Riccardo Mottola <[email protected]>
* Source/common.h:
Extend David's hack to all known non-glibc platforms
2012-02-28 Richard Frith-Macdonald <[email protected]>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
* Source/NSPortCoder.m:
* Source/Coder.m:
Updates to cope with the fact that some BSD ports of gnustep-base
used incorrect versioning, and that people have released Gorm
files with versioning incompatible with current releases.
1. dissociate coder -systemVersion from the actual system version,
so that if people mess with the gnustep-base version, their
non-standard releases will still interoperate with normal code.
2. Implement new array encoding/decoding compatible with earlier
versions (except if the array contains exactly 0xffffffff items).
3. Raise exception if decoding archives with an unsupported version.
4. Add GSCoderSystemVersion user default to override the system
version used for encoding ... for testing and tweaking to generate
archives in, or communicate with DO servers using an earlier version.
2012-04-23 Fred Kiefer <[email protected]>
* Tests/base/NSAutoreleasePool/autorelease_eh.m:
Get new test to run with older compilers.
2012-04-23 12:47 theraven
* libs/base/trunk/Source/NSAutoreleasePool.m,
libs/base/trunk/Tests/base/NSAutoreleasePool/autorelease_eh.m:
Fix a bug in the new autorelease pool implementation when pools
are destroyed in the wrong order.
Test cast by Chris Armstrong!
2012-04-22 Riccardo Mottola <[email protected]>
* Source/GSString.m
Do not include malloc on OpenBSD to avoid warning.
2012-04-18 Fred Kiefer <[email protected]>
* Tools/pl2link.m (main): Get the category from a new entry named
FreeDesktopCategories.
Patch by Philippe Roussel <[email protected]>.
2012-04-17 Richard Frith-Macdonald <[email protected]>
* Source/ObjectiveC2/runtime.c: Fi error calculating instance
variable offset size as reported/suggested by James Cook
2012-04-16 Richard Frith-Macdonald <[email protected]>
* configure.ac: Add tests for lossy conversion using iconv and
provide options to disable use of iconv or allow use of iconv
where //TRANSLIT is missing.
* configure: regenerate.
2012-04-15 Richard Frith-Macdonald <[email protected]>
* Source/Additions/Unicode.m:
Fix test for availability of lossy conversion via iconv.
2012-04-10 Sebastian Reitenbach <[email protected]>
* Tools/make_strings/StringsFile.m
* Tools/pl.m
some NSInteger -> NSUInteger changes to match return
values of methods
2012-04-07 13:54 theraven
* libs/base/trunk/Source/NSMethodSignature.m: Fix NSMethodSignature
generating nonsense values when it encounters a type encoding
including blocks.
2012-04-07 10:45 theraven
* libs/base/trunk/Source/GSSocketStream.m,
libs/base/trunk/Source/NSAffineTransform.m,
libs/base/trunk/Source/NSXMLDTDNode.m,
libs/base/trunk/Tools/xmlparse.m: Fix the remaining compiler
warnings.
2012-04-07 Fred Kiefer <[email protected]>
* Source/NSXMLDocument.m:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m: Remove compiler warnings for clang
reported by David Chisnall.
* Tests/base/NSAutoreleasePool/basic.m: Get to compile again
without -C99.
2012-04-06 12:37 theraven
* libs/base/trunk/Source/NSConnection.m,
libs/base/trunk/Source/NSData.m,
libs/base/trunk/Source/NSKeyValueObserving.m: Fix a few compiler
warnings caused by type mismatches in NSLog statements.
2012-04-06 12:23 theraven
* libs/base/trunk/Headers/Foundation/NSArray.h,
libs/base/trunk/Headers/Foundation/NSDictionary.h,
libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h,
libs/base/trunk/Source/NSArray.m,
libs/base/trunk/Source/NSDictionary.m,
libs/base/trunk/Tests/base/NSArray/basic.m,
libs/base/trunk/Tests/base/NSDictionary/basic.m: Support for
collection subscripting (NSArray and NSDictionary).
Yes, the syntax is ugly, but no doubt people will start using it
in June...
2012-04-06 12:02 theraven
* libs/base/trunk/Source/NSAutoreleasePool.m,
libs/base/trunk/Tests/base/NSAutoreleasePool,
libs/base/trunk/Tests/base/NSAutoreleasePool/TestInfo,
libs/base/trunk/Tests/base/NSAutoreleasePool/basic.m: Use the
runtime's ARC autorelease pools if available.
2012-04-04 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (+_objectForNode:): Don't create a document
object for a private document.
* Tests/base/NSXMLNode/transfer.m: New code for test case
contributed by Doug Simons.
2012-04-03 Fred Kiefer <[email protected]>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Fix compiler error and warning for older
version of libxml2.
2012-04-01 Niels Grewe <[email protected]>
* Source/NSNumber.m: Add special small object class for floats.
Previously, NSSmallRepeatableDouble would be used which resulted in
the float being printed as a double when calling -stringValue or
-description.
2012-03-27 Fred Kiefer <[email protected]>
* Headers/Foundation/NSObject.h (-error:): Declare return type.
Patch by Benoît Garrigues <[email protected]>
2012-03-27 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (execute_xpath): Clean up.
2012-03-27 Niels Grewe <[email protected]>
* configure.ac
* config.mak.in
* Headers/GNUstepBase/GSConfig.h.in
* Headers/GNUstepBase/config.h.in:
Implement configure check for libdispatch.
* configure: Regenerate
* Source/GSDispatch.h: Add portability header with macros for compiling
with or without libdispatch.
* Source/NSArray.m
* Source/NSDictionary.m
* Source/NSIndexSet.m
* Source/NSSet.m
* Headers/Foundation/NSIndexSet.h:
Implement libdispatch support for block enumeration methods.
* Tests/base/NSMutableIndexSet/blocks.m
* Tests/base/NSDictionary/blocks.m
* Tests/base/NSArray/blocks.m:
Test cases for new code.
Detect the presence of libdispatch and, if available, use it for
collection enumeration methods that take blocks as arguments. This
allows us to implement the NSEnumerationConcurrent option of those
methods with minimal effort.
2012-03-27 Niels Grewe <[email protected]>
* Source/NSOperation.m: Remove leftover debugging statements.
2012-03-27 Richard Frith-Macdonald <[email protected]>
* Source/NSOperation.m:
* Source/NSRegularExpression.m:
* Headers/GNUstepBase/GSBlocks.h:
* Headers/Foundation/NSOperation.h:
Get things compiling/linking again with gcc after blocks changes.
2012-03-27 Niels Grewe <[email protected]>
* Headers/Foundation/NSOperation.h
* Headers/GNUstepBase/GSBlocks.h:
Fix definitions of blocks without arguments for GCC.
2012-03-27 Fred Kiefer <[email protected]>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Better support for namespaces. Corrected
-_nodeFollowingInNaturalDirection:, -setStringValue:
and -XMLStringWithOptions:
2012-03-26 Niels Grewe <[email protected]>
* Headers/Foundation/NSOperation.h
* Source/NSOperation.m:
Implement -setCompletionBlock: and -completionBlock.
* Headers/GNUstepBase/GSBlocks: Make blocks without arguments callable
* Tests/base/NSOperation/basic.m: Test whether completion blocks work.
2012-03-25 Richard Frith-Macdonald <[email protected]>
* Source/NSXMLPrivate.h: Change order of includes to ensure libxml2
headers are seen early.
2012-03-23 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-rootDocument): Better test for private document.
* Source/NSXMLDTDNode.m (-initWithXMLString:): Use childAtIndex:
instead of rootElement.
2012-03-23 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-copyWithZone_): Use value 1 instead of 2
for deep copy. Bug found by Doug Simons <[email protected]>.
* Source/NSXMLNode.m (-rootDocument): Don't return the private document.
* Source/NSXMLNode.m (-nextSibling, -previousSibling): Protect
against namspace nodes.
* Tests/base/NSXMLNode/transfer.m: New test case for problem
reported by Doug Simons.
2012-03-22 Fred Kiefer <[email protected]>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Fix memory leak for attribute private
documents found by valgrind.
* Tests/base/NSXMLNode/namespace.m: Use drain instead of release.
2012-03-22 Fred Kiefer <[email protected]>
* Source/NSXMLDocument.m (-URI, -setURI:): Specific implementation.
* Source/NSXMLPrivate.h: Remove URI ivar.
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Full support for namespaces.
* Tests/base/NSXMLNode/namespace.m: Test code borrowed from Google
data project.
2012-03-21 Fred Kiefer <[email protected]>
* Source/NSXMLDocument.m: Correct memory management.
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Add partial support for namespaces.
Try to bracket more libxml2 functions with version checks.
2012-03-21 Richard Frith-Macdonald <[email protected]>
* Source/NSXMLDocument.m:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m:
Bracket everything in test of HAVE_LIBXML2
* configure.ac:
* configure:
Alter tests for major dependencies (ICU, XML, TLS) so that they all
abort configuration unless specifically disabled ... we want a
consistent build with all major features.
2012-03-20 Niels Grewe <[email protected]>
* Headers/Foundation/NSDictionary.h
* Source/NSDictionary.m:
Implement blocks related enumeration methods.
* Tests/base/NSDictionary/blocks.m:
Test cases for blocks support.
2012-03-20 Niels Grewe <[email protected]>
* Headers/Foundation/NSObjCRuntime.h: Define NS_REQUIRES_NIL_TERMINATION
macro.
2012-03-20 Richard Frith-Macdonald <[email protected]>
* Headers/Foundation/NSException.h:
Try to make error message more helpful when building with incompatible
exception handling settings.
2012-03-18 Fred Kiefer <[email protected]>
* Source/NSXMLDTDNode.m: Correct node type, at least for entity nodes.
* Source/NSXMLDTD.m: Use predefined entities from libxml2.
* Source/NSXMLNode.m: Rewrite the ownership transfer to preserve
names in dictionaries.
2012-03-17 Fred Kiefer <[email protected]>
* Source/NSXMLPrivate.h: Remvoe unused ivars.
* Source/NSXMLDocument.m: Get DTD from node and and validation in
init methods.
* Source/NSXMLDTD.m: Implement.
* Source/NSXMLNode.m: No children for attribute nodes.
* Tests/base/NSXMLNode/basic.m: Test empty attribute children
2012-03-16 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Protect the
different format constants with version checks.
2012-03-14 Fred Kiefer <[email protected]>
* Source/NSXMLDocument.m (-XMLDataWithOptions:): Correct convesion
to NSData. Add some comments.
2012-03-14 Fred Kiefer <[email protected]>
* Source/NSXMLPrivate.h: Add comments on owner policy.
* Source/NSXMLNode.m (-XMLStringWithOptions:): Reimplement to
allow closer control over output.
* Source/NSXMLDocument.m (-XMLStringWithOptions:): Remove this method.
2012-03-14 Richard Frith-Macdonald <[email protected]>
* Source/NSXMLPrivate.h:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
Fixups to get the code to build on CentOS/RedHat linux.
2012-03-12 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-detach): Don't handle the namespace case.
* Source/NSXMLElement.m (-removeNamespaceForPrefix:): Implement.
* Tests/base/NSXMLNode/basic.m: Move tests from here ...
* Tests/base/NSXMLElement/basic.m: ... to here.
2012-03-12 Fred Kiefer <[email protected]>
* Source/NSXMLElement.m: Correct used namespace field.
* Source/NSXMLNode.m: Implement special handling for namespace nodes.
* Tests/base/NSXMLNode/basic.m: Correct method name for namespace node.
2012-03-11 Richard Frith-Macdonald & Fred Kiefer
* Source/NSXMLNamespace.m:
* Source/GNUmakefile:
* Source/NSXMLPrivate.h:
* Source/NSXMLNode.m:
Revert most of my last change in favour of Fred's changes.
2012-03-11 Richard Frith-Macdonald <[email protected]>
* Source/NSXMLNamespace.m: New class for namespaces
* Source/GNUmakefile: Build with new class
* Source/NSXMLDocument.m:
* Source/NSXMLPrivate.h:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m:
Use a new class for namespaces ... just a placeholder/skeleton so far.
Change other classes to know the correct type of their 'node' pointer.
2012-03-11 Richard Frith-Macdonald <[email protected]>
* Source/NSXMLNode.m: Avoid crash when trying to get the parent of a
namespace ... namespaces don't have parents and in fact have a
completely different in-memory layout to other 'node' types.
2012-03-11 Richard Frith-Macdonald <[email protected]>
* Source/NSURLHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
* Headers/Foundation/NSURLProtocol.h:
Tweak handling of debug settings to consistently write debug output
using NSLog.
2012-03-09 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-copyWithZone:): Don't set object value of
copy if it is nil.
* Source/NSXMLNode.m (+_objectForNode:): Use correct sub class for
decl nodes.
* Tests/base/NSXMLNode/basic.m: More tests.
2012-03-08 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-detach, -_insertChild:atIndex:): Maintain
doc pointer.
* Source/NSXMLDTD.m: Implement a few methods.
2012-03-08 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (+_objectForNode:): Add a few more libxml2
node types.
2012-03-07 Richard Frith-Macdonald <[email protected]>
* Source/GSStream.m: Attempt to fix logic for event handling of data
streams.
2012-03-01 Jens Alfke <[email protected]>
* Headers/GNUstepBase/NSURL+GNUstepBase.h:
* Source/Additions/NSURL+GNUstepBase.m:
* Source/NSURL.m:
New -pathWithEscapes method to enable differentiation between '/'
characters in the original path and '%2F' escapes in it.
2012-03-06 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (+initialize): Add workaround for Windows
xmlFree problem.
2012-03-06 Richard Frith-Macdonald <[email protected]>
* Source/NSURLProtocol.m: check for parse complete explicitly and
remove case where complete is set to NO if using chunked coding ...
it seems to be jsut wrong.
2012-03-06 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-copyWithZone:): Use objectValue ivar
directly as the subclass NSXMLElement returns a different value.
2012-03-05 Eric Wasylishen <[email protected]>
* Source/NSUserDefaults.m:
* Source/NSConnection.m:
* Source/NSCharacterSet.m:
* Tools/make_strings/StringsFile.m:
* Tools/pl.m: Fix instances where NSNotFound is stored in or
compared to an unsigned or int variable.
2012-03-05 Eric Wasylishen <[email protected]>
* Source/NSString.m: Factor out code for opening an ICU collator
into static function GSICUCollatorOpen. Support
NSDiacriticInsensitiveSearch.
2012-03-05 Eric Wasylishen <[email protected]>
* Headers/Foundation/NSString.h (-compare:options:range:locale:):
Rename locale parameter from "dict" to "locale".
* Source/NSString.m (-compare:options:range:locale:): If locale
paramater is not nil and not an NSLocale instance, substitute
+[NSLocale currentLocale].
* Source/NSString.m: Clarify some locale related documentation.
2012-03-05 Fred Kiefer <[email protected]>
* Tests/base/NSXMLElement/attributes.m: Test for changed
exception.
* Tests/base/NSXMLNode/basic.m: More tests.
* Source/NSXMLNode.m: Rewrite object value handling.
* Source/NSXMLElement.m (-objectValue): Return @"" when the value
is nil.
2012-03-05 Eric Wasylishen <[email protected]>
* Source/NSString.m (-rangeOfString:options:range:locale:):
Correct result range with ICU codepath
2012-03-05 Fred Kiefer <[email protected]>
* Source/NSXMLElement.m (-addAttribute:): Raise correct exception.
* Tests/base/NSXMLNode/children.m: Add test cases for attributes.
2012-03-05 Eric Wasylishen <[email protected]>