forked from jsj2008/gnustep-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
15715 lines (12172 loc) · 542 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-02-08 Lubomir Rintel <lubo.rintel@gooddata.com>
* Source/NSHTTPCookie.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSURLConnection.m:
* Source/NSURLProtocol.m:
* Source/NSURLRequest.m:
Enable the use of cookies by default ... addse setting of cookies
in requests and improves caching/storing. Original patches rewritten
by maintainer to conform to coding standards and for clarity.
2012-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSConcreteValueTemplate.m: Don't ask a non-retained object
to describe itsself (in case it has gon away) bug#35477
2012-02-07 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for threading library on QNX.
* configure: Regenerate.
2012-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Version: 1.24.1 ... still binary compatibile with 1.24.0
* Source/NSTextCheckingResult.m:
* Headers/Foundation/NSTextCheckingResult.h: coding style tidyups
2012-02-03 Adam Fedor <fedor@gnu.org>
* Bump version
2012-02-03 Adam Fedor <fedor@gnu.org>
* Version 1.24.0
* Update announcements
2012-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Fixup for bug #35437
2012-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m: bugfix for empty strings.
* Tests/base/NSJSONSerialization/json.m: add a few emtpy element
tests and fixup to be more readable
2012-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* Version: revert last change as Fred pointed out I got it wrong and
we shoudl be updating version immediately *after* release.
2012-01-31 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSURLRequest/basic.m: Remove two astray @ characters.
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Version: Bump version to 1.24.0 in preparation for release.
* NSTimeZones/NSTimeZones.tar: Update timezone information
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m:
Fix buffer overrun reported by Lubomir Rintel <lubo.rintel@gooddata.com>
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m:
* Source/NSAffineTransform.m:
* Source/NSNotificationCenter.m:
* Source/NSConnection.m:
* Source/GSString.m:
Avoid a few static analyser warnings.
2012-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* Headers/GNUstepBase/config.h.in:
* Source/GSFFIInvocation.m:
* Source/GSPrivate.h:
* Source/NSInvocation.m:
If modern ffi is available, use ffi_prep_closure_loc and ffi closure
memory management so we get the benefit of ffi library code to work
around restrictions of selinux etc.
2012-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Try to deal with the case where a language
has been set to the ISO standard name rather than an OpenStep name
by converting to an Openstep name as an alternative lookup key.
* Source/NSXMLNode.m: Add warning that the DOM classes are not really
functional in this release.
2012-01-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Fix copying for large files (issue #35381)
2012-01-25 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Call unum_format* only once.
2012-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: fix possible nul pointer dereference.
* Source/NSHost.m: cache failed lookup by name so that repeated
lookups for a band host name do not cause repeated DNS queries.
2012-01-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLRequest.m: be tolerant about missing URL on init.
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Fix selector types comparison to use the
correct function for checking equivalent types.
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* config/pathtls.m4:
* config/pathxml.m4:
Remove incorrect sed call to tidy flags (as suggested by Felix Geyer
in bug #34835).
2012-01-16 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSBundle.m (addBundlePath): Handle nested subdirectories
(e.g.
[NSBundle pathForLibraryResource:
@"Generic-PostScript_Printer-Postscript" ofType: @"ppd"
inDirectory: @"PostScript/PPD"] was previously failing.)
2012-01-12 10:10 theraven
* libs/base/trunk/Headers/Foundation/NSException.h: Tweak the
exception mismatch handling so that if base is using native exceptions
and the user doesn't specify an exception mode then we just don't define
the NS_ macros, so code that uses @try etc. compiles without requiring
every cc line to specify a long -D flag just to be allowed to #import
Foundation.h.
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Remove cached paths when the owning bundle is
deallocated. Use cache to determine which resource directories to
search.
2012-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Crude/simple caching of directory contents to
test impact on theme loading ... needs reverting or improving.
2012-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcretePointerFunctions.m:
* Source/NSSocketPort.m:
* Source/unix/NSStream.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSZone.m:
* Source/NSMessagePort.m:
* Source/win32/GSFileHandle.m:
* Source/NSInvocation.m:
* Source/NSURLProtocol.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/NSData.m:
* Source/GSAvahiNetService.m:
* Source/NSTextCheckingResult.m:
Use PRIdPTR and PRIuPTR rather than ld and lu for printf formatting
of NSInteger and NSUInteger values.
2012-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/ObjectiveC2/objc/capabilities.h:
* Headers/ObjectiveC2/objc/Availability.h:
* Headers/ObjectiveC2/objc/blocks_runtime.h:
* Headers/ObjectiveC2/objc/runtime.h:
Moved to subdirectory.
* Source/Makefile.postamble:
* Source/ObjectiveC2/runtime.c:
* Source/ObjectiveC2/caps.c:
* Source/ObjectiveC2/NSBlocks.m:
* Source/ObjectiveC2/blocks_runtime.m:
* Headers/GNUstepBase/GSObjCRuntime.h:
* Tests/GNUmakefile:
* base.make.in:
Move ObjectiveC2 headers to objc subdirectory so that we can refer
to them using the same objc/headername path as OSX, and use a -I
directive to point to the ObjectiveC2 directory to avoid installing
on top of the real objc2 library or vie versa. Should make it easier
to figure out how to cleanly swith between raeal/emulated objc2
runtimes. This should also mean that old emulated objc2 headers are
*not* found at configure time, so configure should be able to tell if
a real objc2 runtime has been installed on a system which previously
used the old objc runtime.
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLPrivate.h:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
Replace missing assertion (needed for OSX compatibility) also fix
several other issues in node hierarchy handling ... all rather
academic since greg's going to rewrite, but these fixes do mean
the current code passes the testsuite. It's a bad idea to leave
the code and testsuite in an inconsistent state, and the testsuite
represents accumulated information about OSX, so we want our code
to pass all tests rather than removing tests.
2012-01-06 17:57-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLElement.m: Removing assertion that
parent must not be nil per Cocoa documentation for
-(id)parent method in NSXMLNode.
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLElement.m:
* Source/NSXMLNode.m:
* Source/NSXMLPrivate.h:
Rewrote node hierarchy handling to match OSX documentation and
behaviors. Also implemented -hash and -isEqual: to match OSX for
NSXMLNode.
2012-01-05 22:20-EST Doug Simons <doug.simons@testplant.com>
* Source/NSXMLDocument.m: Modify XMLStringWithOptions: to only include
the header when version, encoding, or standalone has been set.
2012-01-05 22:20-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLElement.m: in setChildren: set the childCount.
2012-01-05 22:07-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLElement.m: Correct warning in copyWithZone: added
return. Correct issue with childCount being out of sync.
2012-01-05 21:33-EST Gregory John Casamento <greg.casamento@gmail.com>
* ChangeLog
* Source/NSXMLDocument.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m: Implement copyWithZone:, correct issues
with previous revert.
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLElement.m:
Replace a few lines accidentally lost.
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLDTDNode.h:
* Headers/Foundation/NSXMLElement.h:
* Source/NSXMLDocument.m:
* Source/NSXMLPrivate.h:
* Source/NSXMLDTD.m:
* Source/GSInternal.h:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m:
The last revert still left lot's of ABI breakage, but reverting much
further would lose a lot of work ... so here's an attempt to fix the
ABI breakage by re-hiding instance variables again.
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMDNSNetServices.m:
* Source/NSJSONSerialization.m:
Cosmetic tweaks (whitespace)
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLElement.h:
Revert latest changes to restore scheme for preventing ABI breakage
and supporting both fragile and non-fragile ABIs..
2012-01-04 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSXMLDocument.h,
* Headers/Foundation/NSXMLDTD.h: Comment out duplicate declaration of
ivars to get base to compile again.
2012-01-03 16:33-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLDocument.h
* Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLNode.h: Move declarations.
* Source/NSXMLDocument.m: Correct parsing issues.
* Source/NSXMLElement.m: Remove local declaration of _children
* Source/NSXMLNode.m: Remove internal. Move all declarations here
directly.
2012-01-03 14:22-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLDocument.m: Implement XMLStringWithOptions:
2012-01-03 13:03-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLNode.h
* Source/NSXMLElement.m
* Source/NSXMLNode.m: Move _URI to NSXMLNode.
change dealloc accordingly.
2012-01-03 12:42-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m: Implement copyWithZone:
2012-01-03 12:17-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLNode.h: Add _stringValue
* Source/NSXMLNode.m: Change stringValue and setStringValue:
resolvingEntities: to assign to _stringValue instead of _objectValue.
2012-01-03 12:06-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLDocument.m: Change stack implementation to
use lastObject/removeLastObject to implement the stack instead
of inserting and deleting at index 0.
* Source/NSXMLElement.m: Implemented XMLStringWithOptions:
* Source/NSXMLNode.m: Implemented XMLStringWithOptions:,
skeletal implementation of setStringValue:resolvingEntities:
2012-01-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSException.m (-raise): Only set the stack when the
exception gets first raised. This fixes bug #35192
Patch by Larry Campbell <lcampbel@akamai.com>
2012-01-02 22:26-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLElement.h: Change _attributes to be
a NSMutableDictionary instead of an NSMutableArray.
* Source/NSXMLElement.m: Change implementation of some methods
to use an NSMutableDictionary instead of arrays. Initialize
ivars in initializer.
* Source/NSXMLPrivate.h: Remove redundant method.
2012-01-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSSocketStream.m (-initWithInput:output:): Attempt to
replace deprecated GNUTLS functions with newer ones for GNUTLS >= 2.12.
2012-01-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSArray.m (-objectsAtIndexes:): Fix comparision of
unsigned variable with NSNotFound.
2012-01-02 02:26-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m: Minor correction. Move setName out of
private category.
* Tests/base/NSXMLNode/children.m: Update test.
2012-01-01 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSXMLDTDNode.h,
* Headers/Foundation/NSXMLDTD.h: Remove duplicate declaration of
ivar _name to get base to compile again.
2011-12-30 Doug Simons <doug.simons@testplant.com>
* Source/NSXMLElement.m: Set Elements to be NSXMLElementKind.
2011-12-30 14:22-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLDocument.h
* Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLNode.h
* Source/NSXMLDocument.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m
* Source/NSXMLPrivate.h
* Tests/base/NSXMLNode/children.m
* Tests/base/NSXMLNode/kinds.m: First cut at NSXMLDocument
implementation.
2011-12-29 Doug Simons <doug.simons@testplant.com>
* Source/NSCalendarDate.m: Fix -addTimeInterval: to copy calendarFormat
of original date.
2011-12-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Fix retain rount error spotted by
<rajendra@teamf1.com> (bug #35164)
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSTextCheckingResult.h:
* Source/NSTextCheckingResult.m (-resultByAdjustingRangesWithOffset:):
Implement method.
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSTextCheckingResult.h:
* Source/NSTextCheckingResult.m: Add copyright notice.
* Source/NSTextCheckingResult.m(-result, -range): Raise exception
in abstract base class implementation. This is what OS X does.
* Source/NSTextCheckingResult.m(-rangeAtIndex): Implement in
abstract base class. Raise exception in both method
implementations when the index is too big.
* Source/NSTextCheckingResult.m(-numberOfRanges): Change incorrect
name rangeCount into numberOfRanges.
* Source/NSTextCheckingResult.m(-regularExpression): Implement
method in the concrete subclass where it was omitted.
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSRegularExpression.m (-rangeOfFirstMatchInString:...):
Return range (NSNotFound, 0) when no match is found.
2011-12-22 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSRegularExpression.m (-initWithPattern:options:error:,
-pattern, setupRegex, -enumerateMatchesInString:options:range:,
FAKE_BLOCK_HACK, -replaceMatchesInString:options:range:,
-stringByReplacingMatchesInString:options:range:withTemplate:,
replacementStringForResult:inString:offset:template:): Introduce
support for libicu versions prior to 4.4, which don't provide the
UText interface to regular expressions.
2011-12-22 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSSocketPort.m (+portNumber:onHost:forceAddress:listener):
Fix an uninitialized variable bug, which could lead to returning
ports with an incorrect port number.
2011-12-19 Riccardo Mottola <rm@gnu.org>
* Source/GSString.m:
Fix blocking compiler warning (ggc 4.5.3)
2011-12-17 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Try to make detection of compilers which don't support
locale/characterset handling for string literals somewhat friendly.
* configure: regenerate
2011-12-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPortCoder.m (-versionForClassName:): Use NSInteger for
version to avoid compiler warning on 64-bit system.
2011-12-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Whenever we synchronize in a state where we have changes to write,
but are in read-only mode (no database existed on startup, or we
couldn't create the lock file on startup), check to see if the
database is now writable (we can create the lock file).
Should fix problem where new defaults files were not getting created.
2011-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDebug.m:
* Source/NSDistributedLock.m:
* Source/GSHTTPURLHandle.m:
* Source/NSMessagePort.m:
* Source/NSFileManager.m:
* Source/NSString.m:
* Source/NSObject.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/GSNetwork.h:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
* SSL/GSSSLHandle.m:
* SSL/configure.ac:
* SSL/configure:
* SSL/config.h.in:
* configure.ac:
* configure:
* Headers/GNUstepBase/config.h.in:
* Tools/gdnc.m:
Support fcntl.h and signal.h not being in the 'sys' subdirectory
(for android and any other systems with that header layout).
2011-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSObjCRuntime.h:
Move a few declarations between headers to match OSX, and update
NSNotFound to be NSIntegerMax for compatibility on 64bit platforms.
2011-12-13 Richard Frith-Macdonald <rfm@gnu.org>
* SSL/GSSSLHandle.m: Allow cipher list to be set using GSCipherList
default.
2011-12-08 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Fix pkg-config configuration for libffi to make it
really work on systems where additional include options are
needed.
* configure: Regenerated.
2011-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Fix suggested by Daniel Santos (ifStack was
created with incorrect initial content).
2011-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: use pkg-config for libffi if/when available.
* configure: regenerate
2011-12-05 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSFileManager.m:
* Headers/Foundation/NSFileManager.h: Add removeItemAtPath:error:
method, as a simple wrapper around removeFileAtPath:handler: with
no handler.
2011-12-02 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.constant-string-encoding.c: test for string literal
encoding behavior ... irrespective of source encoding we need to put
utf-8 in the executable. Can't check all cases, so just check the
most common one ... that building latin1 source in a latin1 locale
produces a utf8 string literal in the executable.
* configure.ac: add check for encoding.
* config.mak.in: specify charset for string literal in source
* base.make.in: specify charset for string literal in executable
* configure: regenerate
Check compiler behavior ... if well behaved, that's OK, no action to
take. If well behaved when given specific options to control input
and output encodings, then note the options to be used when building.
If neither, then abort with an error message giving the option of
disabling unicode string literal checks.
2011-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: rewrite to store defaults in multiple files,
one for each persistent domain.
Probably needs lots of testing and performance tuning.
2011-11-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m: Fix errors in BOM handling and tidy.
2011-11-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix to compile again (use ifdef to consistently
have/not-have tiny strings), and tidy use of whitespace for readability
and coding standards.
I like the experimental tiny strings idea... will definitely save
space, but will need a lot of optimisation (like that of literal
strings) to stop it being slow.
Until it's about as fast as literal strings, we should probably only
enable it on platforms where memory footprint is an issue.
Not sure how to do that though.
2011-11-16 20:48 theraven
* Source/GSString.m: Store tiny strings (up to 8
ASCII characters) inside the pointer. Strings of this length are
fairly common, and this makes them very cheap to store/copy/compare
(pointer comparisons test for equality). 8 characters seems to be
enough for quite a lot of common uses, such as path components and
tokens.
There are possibly still some things constructing tiny strings and not
using these.
2011-11-16 17:29 theraven
* Source/NSNumber.m: Implement the double boxing
techniques used by Smalltalk/X and Cincom Smalltalk. Now we can
conceal most doubles inside a pointer. This is most useful for
LanguageKit, but should save some memory / malloc overhead / heap
fragmentation in any code that uses a lot of NSNumbers (e.g.
anything that deals with big plists). OS X 10.7 employs a similar
trick.
2011-11-15 Adam Fedor <fedor@gnu.org>
* Source/win32/GSFileHandle.m: Fix include location
2011-11-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Deal with old FIXME saying that whether
we create the GNUstep/Library directory should be configurable.
Also, break long lines to confiorm to coding standards and for
consistency.
2011-11-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: ([-setObject:forKey:]) replace missing
return statement after removing object.
2011-11-07 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSXMLParser.h: Turn the
NSXMLParserDelegateEventAdditions informal protocol into the
protocol NSXMLParserDelegate.
2011-11-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSValueTransformer.m
([NSUnarchiveFromDataTransformer-reverseTransformedValue])
([NSUnarchiveFromDataTransformer-transformedValue]): Use archiver
instead of keyed archiver.
2011-11-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: ([+decodeBase64:]) tolerate missing
padding and also use of '-' and '_' rather than '+' and '/' as
permitted in the "URL and Filename safe" variation given in RFC 4648
2011-11-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDate.m: ([-timeIntervalSinceDate:]) return NaN if other
date is nil (OSX compatibility).
2011-11-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m: Fix alignment error when encoding/decoding ...
buffer must be aligned so that any datatype can go in it.
* Source/cifframe.m: Fix buffer size for small scalar values on
64bit sparc
* Source/GSFileHandle.m: Modify read/write to cope with interrupts.
2011-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Partial restructuring suggested by Fred, plus
some more minor optimisation of equality checks for literal strings.
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix error (spotted by Fred) in check of UTF-8
string length against fixed character size string length.
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Implement more efficient equality tests for
utf-8 literal strings and strings in internal representation.
Implement rangeOfComposedCharacterSequenceAtIndex: for utf8 literal
strings.
2011-10-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSeq.h: Replace unsigned with NSUInteger.
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix bug when widening mutable string in
replaceOccurrencesOfString:...range:
* Source/GSString.m: more efficient check to see if a literal string
can be converted to ascii or latin1. Remove unnecessary constraint
on when we need to widen strings.
2011-10-28 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSMutableString/basic.m: Add test for
replaceOccurrencesOfString:...range:
2011-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Do not redefine GNUSTEP_CONFIG_FILE in case it confuses
gnustep-config. Add check that gnustep-config returns something when
asked for the objc libraries.
* configure: Regenerate
* base.make.in: Add flag to tell compiler to use UTF-8 for literal
string constants.
2011-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: fix erroneous define of HAVE_GNUTLS to zero, and add
check for building with a different compiler from that used by make.
2011-10-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAffineTransform.m (-initWithCoder:, encodeWithCoder:):
Don't do anything for the keyed coding case.
* Source/NSDictionary.m (-initWithCoder:): Add another keyed
coding case.
2011-10-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSProcessInfo.m: Add includes needed for the HAVE_PROCFS
case.
* Source/common.h: Correct last commit, the #endif was placed
incorrectly.
2011-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/common.h: Attempt to workaround clang __block problem
2011-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
Fix for bug #34603
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: fixes for gnutls detection and to use the objc
libraries provided by gnustep-config.
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSFileHandle.h: remove
* Source/GSFileHandle.h: add
* Source/GNUmakefile: Don't install private header
* Source/NSFileHandle.m:
* Source/GSFileHandle.m:
* SSL/GSSSLHandle.m:
Update to make GSFileHandle.h: private as it should be.
2011-10-19 Sebastian Reitenbach
* configure.ac: fix typo on gnutls detection.
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
Fix failure to load global defaults when system layout/config is
locked down (problem reported by Julian Mayer).
2011-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* standalone.conf: example configuration file for a standalone
package installation.
* Documentation/Base.gsdoc:
Documentation improvements for packaging
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Make sourcing of default config file more reliable.
* configure: regenerate.
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/NSFileHandle.m:
* Source/NSString.m:
* Source/DocMakefile:
* Documentation/Base.gsdoc:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSBundle.h:
Documentation cleanups.
2011-10-17 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSXMLNode.h:
* Source/NSXMLNode.m:
Fixed NSXMLNode compilation when using the "pure" non-fragile ABI
(--disable-mixedabi was passed to Base configure).
2011-10-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSString.m (-initWithCoder:): In keyed coding the key
"NS.bytes" may contain either an NSData or an NSString object. Not
sure about the encoding, I am using UTF8.
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* standalone.conf: First draft at a layout for standalone system
deployment.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/common.h: Added Quentin's fix to get Clang to compile this
without warnings.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/NSBlocks.m:
* Source/Additions/GSObjCRuntime.m:
Fixes to build with latest gcc.
2011-10-15 Gregory Casamento <greg.casamento@gmail.com>
* Documentation/GNUmakefile:
* Documentation/README.initialize: Documentation referred to by
NSThread warning.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* config.mak.in:
Shift the responsibility for setting up macros controlling thread
safety to gnustep-make, and use the compiler -pthread option there.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/Additions/Makefile.preamble:
* Source/Makefile.preamble:
* config.mak.in:
It seems various BSD operating systems have bugs in their _XOPEN_SOURCE
implementation, so we can't generally use it. Try _POSIX_C_SOURCE
instead.
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/Additions/Makefile.preamble:
* Source/Makefile.preamble:
Define _REENTRANT as well as _XOPEN_SOURCE for maximum portability.
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSMessagePortNameServer.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/unix/NSStream.m:
* Source/GSHTTPURLHandle.m:
* Source/NSPage.m:
* Source/NSMessagePort.m:
* Source/win32/GSFileHandle.m:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/common.h:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/GSNetwork.h:
* Source/NSPipe.m:
* Source/NSLog.m:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
* SSL/GSSSLHandle.m:
* Tools/gdnc.m:
Move/wrap include of unistd.h to work around clang problem.
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
Fix test for availability of lossy conversion via iconv.
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Implement -hash for literal UTF-8 performance.
* Source/NSScanner.m: Fix initialisation bug which could cause
scanning to fail on some strings.
* Source/inet_pton.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSUserDefaults.m:
* Source/unix/NSStream.m:
* Source/inet_ntop.m:
* Source/GSHTTPURLHandle.m:
* Source/NSMessagePort.m:
* Source/GSPrivate.h:
* Source/win32/GSFileHandle.m:
* Source/win32/NSMessagePort.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSFileManager.m:
* Source/Additions/Unicode.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/NSThread.m:
* Source/GSNetwork.h:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/Makefile.preamble:
Fix for thread-safe errno on solaris ... define _XOPEN_SOURCE to 600
2011-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSString.m:
* Source/GSString.m: Use UTF-8 literal constant strings now that we
require a compiler version which supports them.
* Tests/base/NSString/test07.m: Simple test for UTF-8 in literal.
* Tests/base/GNUmakefile.super: Ensure all tests are compiled with
UTF-8 set as the source code characterset.
Shuld fix bug #34486
2011-10-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix boundary error when getting cString into a
buffer. Fix floatValue and doubleValue to support arbitrary length
of leading white space.
* Source/GSNetwork.h: Check for EAGAIN on nonblocking socket.
2011-10-08 Niels Grewe <niels.grewe@halbordnung.de>
* Source/Additions/GSMime.m (GSMimeParser -scanToken:): Return an empty
string instead of nil when parsing an empty quoted string.
2011-10-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/GSNetwork.h:
* Source/GSSocketStream.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSURLProtocol.m:
Check for EALREADY as well as EINPROGRESS as an indicator of an
incomplete system call on a non-blocking descriptor.
2011-10-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
Be aggressive about checking for close n the 'connection' header
and shutting down the network connection immediately.
2011-10-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m:
* Source/NSURLConnection.m:
Ensure that a synchronous load returns the response.
* Tests/base/NSURLConnection/basic.m: add test for above change.
2011-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURL.h: Document that methods creating file URLs
raise an exception on being given a nil argument.
* Source/NSURL.m: Make file URL initialisers raise on nil argument.
* Source/NSBundle.m: Fix to check for nil path when reating file
URLs (fix for bug #34468).
2011-10-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPropertyList.m (GSBinaryPLParser -objectAtIndex:): Use
long long for all integer types. Before we used signed types which
resulted wrong values for negative integers.
* Source/NSKeyedUnarchiver.m (-_decodeObject:): Handle the string
"$null" as nil all the times.
2011-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHost.m: Update to use inet_pton() and inet_ntop() and to
understand IPV6 addresses.
* Source/GSNetwork.h: New private functions to work with the internals
of a sockaddr irrespective of whether it's IP v4 or v6
* Source/GSSocketStream.h: Move a declaration to GSNetwork.h
* Source/GSSocketStream.m: Use new functions.
* Source/NSSocketPort.m: Change to be IP v4/v6 agnostic
* Source/NSMessagePort.m: Fix header include order.
* Source/GSFileHandle.m: Changes to be IP v4/v6 agnostic
* Headers/GNUstepBase/GSFileHandle.h: make setter use sockaddr type
rather than sockaddr_in so we can use it for ipv6
2011-10-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSData.m (-initWithCoder:, -encodeWithCoder): Correct
keyed encoding/decoding.
2011-10-02 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m
* Tests/base/NSFileManager/general.m
* Headers/Foundation/NSUserDefaults.h
* Source/NSUserDefaults.m
* Tests/base/NSUserDefaults/basic.m
Add a few newer OSX methods for compatibility.
2011-10-01 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSXMLNode.m: Properly implement -initWithKind: initializer.
Stub out some tree traversal stuff.
* Tests/base/NSXMLNode/basic.m: Fix test.
Initial work on NSXMLNode.
2011-10-01 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/NSXMLNode/children.m: Test for child de-/re-attachment
behaviour.
2011-09-29 julian <julian@corecode.at>
* Source/NSBundle.m: ([objectForInfoDictionaryKey:])
Add missing one-line implementation.
2011-09-29 Richard Frith-Macdonald <rfm@gnu.org>