forked from AaronYi/gnustep-base
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
17733 lines (13691 loc) · 612 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
2013-04-24 Richard Frith-Macdonald <[email protected]>
* Source/GSMime.m: ([GSMimeParser-parse:]) fix possible infinite
recursion when encountering a bad document.
2013-04-22 Richard Frith-Macdonald <[email protected]>
* Source/GSMime.m: Fix memory management error with excess bytes
after parsing mime headers.
2013-04-18 Marcus Muller <[email protected]>
* Source/NSMetadata.m: Fix to expose variables to compiler building
with non-fragile ABI.
2013-04-15 Richard Frith-Macdonald <[email protected]>
* Source/GNUmakefile:
* Source/unix/GNUmakefile:
* Source/unix/NSMetadata.m:
* Source/win32/GNUmakefile:
* Source/win32/NSMetadata.m:
* Source/NSMetadata.m:
* Headers/Foundation/NSMetadata.h:
Move identical system specific metadata code to generic area so we
can have system specific subclasses inherit common functionality.
Fix instance variables so we won't break binrary compatibility in
future.
2013-04-15 Richard Frith-Macdonald <[email protected]>
* cifframe.m:
* GSString.m:
* GSTLS.m:
* NSArchiver.m:
* NSCalendar.m:
* NSCoder.m:
* NSData.m:
* NSDecimal.m:
* NSDictionary.m:
* NSDistantObject.m:
* NSException.m:
* NSFileManager.m:
* NSHashTable.m:
* NSIndexPath.m:
* NSLocale.m:
* NSMethodSignature.m:
* NSNotificationCenter.m:
* NSNumberFormatter.m:
* NSObject.m:
* NSPortCoder.m:
* NSProcessInfo.m:
* NSProxy.m:
* NSRunLoop.m:
* NSSocketPort.m:
* NSString.m:
* NSURL.m:
* NSURLProtocol.m:
* NSValue.m:
* NSXMLDocument.m:
* NSXMLNode.m:
* NSXMLParser.m:
More changes to avoid static analyzer false-positives/non-issues so we
can see when real issues arise. Changes remove around 60 warnings and
include about half a dozen minor bugfixes.
2013-04-14 Richard Frith-Macdonald <[email protected]>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSObjCRuntime.m:
* Source/GSFormat.m:
* Source/GSPrivate.h:
* Source/GSString.m:
* Source/NSBundle.m:
* Source/NSJSONSerialization.m:
* Source/NSKeyValueObserving.m:
* Source/NSScanner.m:
* Tools/gdomap.c:
Tweaks to keep static analyser happy.
2013-04-13 Richard Frith-Macdonald <[email protected]>
* Headers/GNUstepBase/GNUstep.h: NSInteger/NSUInteger cleanup.
* Source/NSAffineTransform.m: Fix -isEqual: for subclassing.
* Source/NSObject.m: Remove previously deprecarted function
* Source/NSProxy.m: Avoid compiler warning
* Source/NSDistantObject.m: Avoid compiler warning
2013-04-12 Richard Frith-Macdonald <[email protected]>
* Source/NSPortCoder.m:
Fix bug looking up class version information.
2013-04-10 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m: improve the algoritm for parsing double values
(new algorithm based on public domain pseudo code).. should be more
accurate (for bug #38640).
2013-04-08 Richard Frith-Macdonald <[email protected]>
* Source/NSNotificationCenter.m: Fix bug #38680
2013-04-05 Richard Frith-Macdonald <[email protected]>
* config/pathtls.m4: Try to guess gnutls flags if no config found
* configure: regenerate
* Tools/AGSHtml.m: Fix error when title index missing.
2013-04-03 Richard Frith-Macdonald <[email protected]>
* Source/NSSocketPort.m: Improve/simplify invalidation.
* Source/NSXMLParser.m:
Fix (implement) parsing of entities inside quoted strings.
2013-03-28 Richard Frith-Macdonald <[email protected]>
Make release 1.24.4
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
Prepare documentation for release
2013-03-26 Richard Frith-Macdonald <[email protected]>
* Source/NSCalendar.m:
* Headers/Foundation/NSCalendar.h:
Rewrite NSCalendar instance variable usage to avoid breaking binary
compatibility. Fix methods for setting the first week day and
the minimum number of days in the first week of a month.
2013-03-25 Richard Frith-Macdonald <[email protected]>
* Source/NSAffineTransform.m:
Fix decoding of keyed archive containing identity transform.
* Source/NSString.m:
* Tests/base/NSString/tilde.m:
Fix to standardize string if necessary to determine whether it has
the home directory as a prefix.
2013-03-23 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Revert change I
made on 2012-12-01.
2013-03-20 Richard Frith-Macdonald <[email protected]>
* Tests/base/NSCalendar/features-10-7.m:
* Source/NSCalendar.m:
* Headers/Foundation/NSCalendar.h:
New OSX 10.7 methods supplied by Lobos Dolezel and rewritten somewhat
to avoid breaking binary compatibility.
2013-03-17 Richard Frith-Macdonald <[email protected]>
* Source/GSSet.m: Some optimisation for set intersection.
2013-03-16 Fred Kiefer <[email protected]>
* Tests/base/NSLocale/general.m,
* Tests/base/NSTimeZone/use.m: Mark more tests that depend on
locale setting as hopes.
* Tests/base/GSXML/basic.m: Set the timezone of the GSXMLRPC to
get the same date string in the output.
2012-03-16 Richard Frith-Macdonald <[email protected]>
* NSTimeZones/NSTimeZones.tar:
* Tools/gsdoc-1_0_0.dtd:
* Tools/gsdoc-1_0_1.dtd:
* Tools/gsdoc-1_0_2.dtd:
* Tools/gsdoc-1_0_3.dtd:
* Tools/gsdoc-0_6_5.dtd:
* Tools/gsdoc-0_6_6.dtd:
* Tools/gsdoc-0_6_7.dtd:
* Tools/plist-0_9.dtd:
Update/correct FSF address.
2012-03-16 [email protected]
* base/Source/NSCalendar.m:
Add simple quarter calculation.
* base/Source/NSPathUtilities.m:
Fix bug handling defaults dir config (was treating absolute path
as relative).
2012-03-16 Richard Frith-Macdonald <[email protected]>
* NSTimeZones/NSTimeZones.tar: Update timezone information
2012-03-16 Emmanuel Maillard <[email protected]>
* configure.ac: checks for pthread library and password structure
* Headers/GNUstepBase/config.h.in: new define for password field
* Source/NSPathUtilities.m: use new define
* configure: regenerate
Changes for Android build
2012-03-12 Richard Frith-Macdonald <[email protected]>
* Source/GSPrivate.h: Change hash function args and add new functions
* for incremental hash.
* Source/NSString.m: Update to use the private hash function introduced
for NSSortdescriptor.
* Source/GSString.m: ditto.
* Source/NSSortDescriptor.m: Update for new function arguments.
* Source/GSPrivateHash.m: Add alternative version of hash functions
(old code plus new public domain murmurhash3 code).
* Source/GNUmakefile: Build alternative hash functions.
build with OLDHASH defined to 0 to get new alternatives.
2012-03-10 Richard Frith-Macdonald <[email protected]>
* Source/NSFileManager.m:
Fix some autorelease pool management issues.
2013-03-09 Sebastian Reitenbach <[email protected]>
* Tests/base/NSFileManager/general.m
remove accidently snucked in header
2013-03-08 Sebastian Reitenbach <[email protected]>
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
* Tests/base/NSFileManager/general.m:
Implement methods forcoping/moving file URLs
2013-03-05 Larry Campbell <[email protected]>
* Source/NSFileManager.m: Fix for ([-contentsEqualAtPath:andPath:])
compare contents of regular files in subdirectories.
2013-03-05 Sebastian Reitenbach <[email protected]>
* Source/NSFileManager.m:
* Headers/Foundation/NSFileManager.h:
([createDirectoryAtURL:withIntermediateDirectories:attributes:error:])
implemented.
Also, for OSX compatibility, RFM 'fixed' the ...error: methods to
leave the error value unmodified in the case where no error occurs.
2013-03-03 Sebastian Reitenbach <[email protected]>
* Source/NSKeyValueObserving.m
* Source/NSXMLParser.m
char is unsigned on macppc, so don't compare it
against negative values
2013-03-01 Richard Frith-Macdonald <[email protected]>
* Version ... bump subminor number in preparation for next release.
2013-02-28 Richard Frith-Macdonald <[email protected]>
Make release
* Version:
* Source/NSRegularExpression.m:
* Source/NSURLResponse.m:
* Source/NSString.m:
* Source/DocMakefile:
* Source/GSNetServices.h:
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
* Headers/GNUstepBase/GSVersionMacros.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLDTDNode.h:
* Headers/Foundation/NSXMLElement.h:
* Headers/Foundation/NSXMLParser.h:
* Tools/DocMakefile:
* Tools/AGSParser.m:
Bump version for new release, add release notes, clean up documentation.
2013-02-28 Richard Frith-Macdonald <[email protected]>
* Tests/base/NSString/test00.m: Add a few tests for searching subrange
of a string.
* Source/GSString.m: ([rangeOfCharacterFromSet:options:range:])
Fix for overrun when searching backwards ... spotted by Fred.
2013-02-17 Richard Frith-Macdonald <[email protected]>
* Source/GSAvahiRunLoopIntegration.m: Remove code which was clearing
bitmask values needed to track whether watcher needed to be removed
from run loop.
2013-02-16 Richard Frith-Macdonald <[email protected]>
* Source/NSURL.m: a data url ignores any base URL.
* Source/GSAvahiClient.m: remove self from runloop on dealloc.
2013-02-15 Richard Frith-Macdonald <[email protected]>
* Source/NSPredicate.m: updates to output correct predicate format
for binary operators.
* Source/NSURL.m: unescape data for -relativePath
2013-02-10 Marcus Muller <[email protected]>
* Source/GSMDNSNetServices.m: enable whether a delegate is set or not.
2013-02-10 Richard Frith-Macdonald <[email protected]>
* Source/NSURL.m: For OSX compatibility, if we are creating a relative
URL and the base URL has a different scheme from the base, then we
ignore the base URL rather than raising an exception.
2013-02-03 Richard Frith-Macdonald <[email protected]>
* Source/NSThread.m: Fix error in check for perform on finished thread.
2013-01-24 Richard Frith-Macdonald <[email protected]>
* Source/NSCalendar.m: (-[dateByAddingComponents:toDate:options:]),
([-dateFromComponents:]) add support for missing components.
2013-01-22 Fred Kiefer <[email protected]>
* Source/NSPredicate.m: Fixup parsing of function expressions.
2013-01-14 Richard Frith-Macdonald <[email protected]>
* Source/NSLocale.m: ([-_getExemplarCharacterSet]) Fix error in handling
returned range (bug #38118 reported by X Y <macgritsch>
* Source/NSPropertyList.m: Fix encoding of date objects when using the
OpenStep format to simply used the description of the3 date.
Fixes bug #38017
* Source/NSURLConnection.m: a synchronous download with no response
body should return an empty data item rather than nil ... fix for
bug #38043
* Source/GSTLS.m: Log a warning message if we load a certificate
which has expired or is not yet valid.
2013-01-14 Richard Frith-Macdonald <[email protected]>
* Source/NSString.m: ([stringByAppendingPathComponent:]) recalculate
root of patch correctly before stripping trailing separators.
2013-01-13 Fred Kiefer <[email protected]>
* Headers/Foundation/NSDistributedNotificationCenter.h,
* Source/NSDistributedNotificationCenter.m: Correct the return
types of the factory methods.
2013-01-08 Richard Frith-Macdonald <[email protected]>
* Source/GSString.m:
When creating a substring (C) of a substring (B) or a string (A),
we now retain the (A) in (C) rather than having (C) retain (B)
which in turn retains (A). This has the advantage that it is
possible for the intermediate (B) to be released if nothing else
ues it.
2013-01-05 00:49-EST Gregory John Casamento <[email protected]>
* Headers/Foundation/NSMetadata.h: Add _ to delegate.
* Source/GNUmakefile: Remove reference to NSMetadata.m
* Source/NSMetadata.m: Remove from here and add OS specific
implementations.
* Source/unix/GNUmakefile: Add new file...
* Source/unix/NSMetadata.m: UNIX implementation...
* Source/win32/GNUmakefile: Add new file..
* Source/win32/NSMetadata.m: Windows implementation.
2012-12-18 Richard Frith-Macdonald <[email protected]>
* Source/NSNetServices.m: patch by Marcus Muller to correctly check
that either the input or the output stream has been opened.
* Source/GSString.m: patch by Stefan Bidi to optimise utf-8 to
utf-16 conversion a little.
2012-12-12 Richard Frith-Macdonald <[email protected]>
* Source/GSMime.m: Fix parsing of final boundary in a multipart
document so that the trailing '--' ends the boundary and no CRLF
is required. The grammar in RFC1341 says that the final boundary
does not need a CRLF terminator.
2012-12-08 Richard Frith-Macdonald <[email protected]>
* Source/GSTLS.m:
* Source/NSNotificationCenter.m:
* Source/NSPropertyList.m:
Tweaks to avoid compiler warnings spotted by Fred.
2012-12-06 Richard Frith-Macdonald <[email protected]>
* Source/NSHTTPCookieStorage.m: Don't read store if it doesn't exist.
* Source/GSTLS.h: Use time interval for caching
* Source/GSTLS.m: More efficient caching
2012-12-06 Richard Frith-Macdonald <[email protected]>
* Source/NSPropertyList.m: remove a couple of useless debug logs.
* Source/GSTLS.h: Add credentials object
* Source/GSTLS.m: Implement caching of credentials so that they are
shared between different sessions (eg a web server accepting multiple
incoming connections can re-use the same credentials for each of them).
This is to address a performance issue due to decoding certificate
information from file to create new credentials when lots of incoming
connections occur.
2012-12-05 Richard Frith-Macdonald <[email protected]>
* Source/NSFileHandle: ([-sslHandshakeEstablished:outgoing:])
Set the connection into non-blocking mode so that the handshake
will not block if the other end refuses to talk to us.
2012-12-01 Fred Kiefer <[email protected]>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Use macros for
versions of libxml2.
2012-11-28 Richard Frith-Macdonald <[email protected]>
* configure.ac: Fixup ICU test error
* configure: regenerate
Change tests so that we no longer ignore it when icu-config tells
us we have too old a version to use.
2012-11-27 Richard Frith-Macdonald <[email protected]>
* Source/GSHTTPURLHandle.m: Set content-length header in outgoing
request if not already set.
* Headers/Additions/GNUstepBase/GSMime.h:
* Source/Additions/GSMime.m: Add methods to control line folding.
2012-11-25 14:39-EST Gregory John Casamento <[email protected]>
* Headers/Foundation/NSMetadata.h
* Source/NSMetadata.m: Add NSMetadataQueryAttributeValueTuple and
NSMetadataQueryResultGroup classes.
2012-11-21 12:10-EST Gregory John Casamento <[email protected]>
* Headers/Foundation/NSMetadata.h: Add ivars.
* Source/NSMetadata.m: Cleanup compilation error.
2012-11-20 12:50-EST Gregory John Casamento <[email protected]>
* Headers/Foundation/NSMetadata.h: Declaratioins for constants and
NSMetadataItem.
* Source/NSMetadata.m: Implementation of NSMetadataItem and definition
of constants.
2012-11-19 18:54-CET Ivan Vučica <[email protected]>
* Source/GSInvocation.h: Renamed GSFrameInvocation to
GSDummyInvocation, to match implementation in
Source/NSInvocation.m.
2012-11-18 11:47-EST Gregory John Casamento <[email protected]>
* Headers/Foundation/NSMetadataQuery.h: Remove old file.
* Source/GNUmakefile: Change name to NSMetadata.[hm].
* Source/NSMetadata.m: Add new file with correct name.
* Source/NSMetadataQuery.m: Remove old file.
2012-11-18 11:29-EST Gregory John Casamento <[email protected]>
* Headers/Foundation/Foundation.h: Add NSMetadataQuery.h to
include list.
* Headers/Foundation/NSMetadataQuery.h: New header for class.
* Source/GNUmakefile: Add NSMetadataQuery.[hm] to makefile.
* Source/NSMetadataQuery.m: Abstract implementation for
NSMetdataQuery. The idea is much like NSFileStream and other
classes which have operating system specific implementations.
On linux this will, most likely, interface with locate/slocate.
I'm not certain what it will talk to on Win32.
2012-11-15 Quentin Mathe <[email protected]>
* Source/NSAutoreleasePool.m (-emptyPool): Fixed not to push a pool to
the cache in the ARC_RUNTIME implementation, -dealloc does it already.
For the same current pool instance, the ARC_RUNTIME implementation was
calling push_pool_to_cache() twice, once in -emptyPool and another
-dealloc. Which meant a pool still in use could be reused, then it was
possible to get stuck in an infinite loop.
2012-11-05 Wolfgang Lux <[email protected]>
* Source/GSFFIInvocation.m (GSFFIInvocationCallback): Generate
useful error message when no best typed selector can be found.
2012-11-02 Wolfgang Lux <[email protected]>
* configure.ac: Use AC_FUNC_STRERROR_R to check for presence and
version of the strerror_r function.
* Source/Additions/NSError+GNUstepBase.m (-_systemError:): Add
conditional code for glibc specific version of strerror_r.
* Source/common.h: No longer redefine feature test macros as this
could invalidate the autoconf results.
* configure:
* Headers/GNUstepBase/config.h.in:
* SSL/configure:
* SSL/config.h.in: Regenerated by autoreconf.
2012-10-30 Richard Frith-Macdonald <[email protected]>
* Source/Additions/NSError+GNUstepBase.m:
* Source/GSFileHandle.m:
* Source/GSMDNSNetServices.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSThread.m:
* Source/common.h:
Changes to try to get inclusion of system specific features right.
In particular, we want strerror_r() to be POSIX complient so that
we get correct system erorr messages.
2012-10-28 Richard Frith-Macdonald <[email protected]>
* Headers/Foundation/NSGeometry.m: Fix so that an empty rect can never
intersect any other (including itsself). Reported by Banly Kemiyatorn
and Fred Kiefer.
2012-10-26 Richard Frith-Macdonald <[email protected]>
* Instance/Documentation/texi.make:
Fix installation/clean of html documents generated from texi files.
2012-10-25 Quentin Mathe <[email protected]>
* Headers/GNUstepBase/GSConfig.h.in: Prevent redefinition warnings for
__STDC_LIMIT_MACROS and __STC_CONSTANT_MACROS (both are ObjC++ related).
2012-10-22 Thomas Davie <[email protected]>
* Headers/Foundation/NSSet.h:
* Source/NSSet.m:
Add -objectsPassingTest:
2012-10-22 Rene Hexel <[email protected]>
* Source/Additions/GSXML.m:
In libxml2 the content and use fields have become private and are only
exposed through xmlBufContent() and xmlBufUse() since libxml-2.9.0.
Use those macros for newer versions of libxml2.
2012-10-20 Richard Frith-Macdonald <[email protected]>
* Source/NSConnection.m: Use NSUInteger for array indexes/counters.
2012-10-18 Richard Frith-Macdonald <[email protected]>
* Source/NSXMLParser.m: Try to fix entity parsing bug #37596
2012-10-17 Richard Frith-Macdonald <[email protected]>
* Source/NSBundle.m:
* Source/NSCalendarDate.m:
* Source/NSFileManager.m:
* Source/NSJSONSerialization.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSPropertyList.m:
Avoid autoreleasing things in +initialize when there may be no
autorelease pool present ... we don't want to either leak or
cause recursive loops when we want to log any leaks.
2012-10-15 Eric Wasylishen <[email protected]>
* Tests/base/NSArchiver/stringEncoding.m: add test for last commit
2012-10-15 Eric Wasylishen <[email protected]>
* Source/NSPropertyList.m (-[GSBinaryPLGenerator storeString:):
Write unicode strings in big-endian instead of little-endian.
The resulting plists now load properly on OS X. Thanks to
rdemet for bug report.
2012-10-15 Richard Frith-Macdonald <[email protected]>
* Headers/Foundation/NSCharacterSet.h:
* Source/NSCharacterSet.m:
For a long time Apple's docs and headers said that the methods for
returning standard charactersets returned 'NSCharacterSet*', which
was annoying when they were called on NSMutableCharacterSet.
It seems they finally changed to returning id, so we can do the same.
2012-10-12 Marat Ibadinov <[email protected]>
* Headers/GNUstepBase/GSVersionMacros.h
* Source/GSPrivate.h
Commented (visibility("internal")) out of declarations of functions
defined in "Additions" subproject. Can't explain in detail, but this
doesn't work well with dyld.
2012-10-12 Richard Frith-Macdonald <[email protected]>
* Headers/GNUstepBase/NSDebug+GNUstepBase.h:
Fix format of logs produced by two of the three method macros ...
a bug spotted by Fred.
2012-10-11 Marat Ibadinov <[email protected]>
* Headers/Foundation/NSString.h
* Source/GSString.m
* Source/NSProcessInfo.m
Constant strings work on OSX again.
2012-10-11 Marat Ibadinov <[email protected]>
* Headers/Foundation/NSArray.h
* Headers/Foundation/NSAutoreleasePool.h
* Headers/Foundation/NSBundle.h
* Headers/Foundation/NSCoder.h
* Headers/Foundation/NSComparisonPredicate.h
* Headers/Foundation/NSCompoundPredicate.h
* Headers/Foundation/NSConnection.h
* Headers/Foundation/NSData.h
* Headers/Foundation/NSDate.h
* Headers/Foundation/NSDictionary.h
* Headers/Foundation/NSError.h
* Headers/Foundation/NSException.h
* Headers/Foundation/NSExpression.h
* Headers/Foundation/NSHTTPCookie.h
* Headers/Foundation/NSHTTPCookieStorage.h
* Headers/Foundation/NSIndexPath.h
* Headers/Foundation/NSIndexSet.h
* Headers/Foundation/NSInvocation.h
* Headers/Foundation/NSKeyValueObserving.h
* Headers/Foundation/NSLock.h
* Headers/Foundation/NSNetServices.h
* Headers/Foundation/NSObjCRuntime.h
* Headers/Foundation/NSOperation.h
* Headers/Foundation/NSPathUtilities.h
* Headers/Foundation/NSPointerArray.h
* Headers/Foundation/NSPointerFunctions.h
* Headers/Foundation/NSPredicate.h
* Headers/Foundation/NSProcessInfo.h
* Headers/Foundation/NSPropertyList.h
* Headers/Foundation/NSScanner.h
* Headers/Foundation/NSSet.h
* Headers/Foundation/NSSortDescriptor.h
* Headers/Foundation/NSSpellServer.h
* Headers/Foundation/NSStream.h
* Headers/Foundation/NSString.h
* Headers/Foundation/NSThread.h
* Headers/Foundation/NSTimeZone.h
* Headers/Foundation/NSTimer.h
* Headers/Foundation/NSURL.h
* Headers/Foundation/NSURLCache.h
* Headers/Foundation/NSURLConnection.h
* Headers/Foundation/NSURLCredential.h
* Headers/Foundation/NSURLCredentialStorage.h
* Headers/Foundation/NSURLDownload.h
* Headers/Foundation/NSURLError.h
* Headers/Foundation/NSURLProtectionSpace.h
* Headers/Foundation/NSURLProtocol.h
* Headers/Foundation/NSURLRequest.h
* Headers/Foundation/NSURLResponse.h
* Headers/Foundation/NSValueTransformer.h
* Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLParser.h
* Headers/GNUstepBase/GSVersionMacros.h
* Source/NSNetServices.m
Replaced hard-coded API versions with version macros. Commented out
those of them I don't know how to define symbolically (e.g. 11501) and
labeled comments "FIXDEF!". This was necessary because of version-number
mismatch between OSX and GNUstep. Also made some OSX-related fixes in
GSVersionMacros.h.
2012-10-11 Marat Ibadinov <[email protected]>
* Source/Additions/NSObject+GNUstepBase.m
* Source/GSBlocks.m
* Source/GSInvocation.h
* Source/NSKeyValueMutableSet.m
* Source/NSKeyedUnarchiver.m
* Source/NSNotificationCenter.m
* Source/objc-load.m
Introduced some "fixes" necessary to compile on OSX.
Currently GSPrivateLoadModule() is no-op when using non-fragile ABI.
2012-10-11 Marat Ibadinov <[email protected]>
* Headers/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
* Source/NSArchiver.m
* Source/NSCoder.m
* Source/NSConnection.m
* Source/NSData.m
* Source/NSMethodSignature.m
* Source/NSObjCRuntime.m
* Source/NSObject.m
* Source/NSPortCoder.m
* Source/NSProxy.m
* Source/NSUnarchiver.m
* Source/cifframe.m
Reimplemented type demangling from scratch using single sequential
parser that emits events for it's delegate. Emulated legacy API using
it. Made some fixes necessary to work on OSX. Corrected copy-paste
error in ChangeLog.
2012-10-11 Marat Ibadinov <[email protected]>
* config/config.constant-string-class.m:
* configure.ac:
* configure:
Detects constant string support on Apple's compilers.
No unnecessary whining about uncaught exception handler.
Undefines __strong and __weak before redefinition.
Still does not detect MDNS correctly.
2012-10-03 Richard Frith-Macdonald <[email protected]>
* Source/GSFormat.m: for C-string formatting, avoid reading to the
nul terminator ... limit to a number of bytes equal to the precision
(if any) given in the format. This may be the wrong thing to do when
handling multibyte encodings (where a natural expectation is to have
precision mean number of characters), but seems legitimate going by
current xopen printf documentation.
2012-10-03 Wolfgang Lux <[email protected]>
* SSL/GSSSLHandle.m (-sslSetOptions): Apply string name change
missed during TLS reorganisation.
2012-09-30 Richard Frith-Macdonald <[email protected]>
* Source/GSSocketStream.m:
* Source/GSTLS.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
* Headers/Foundation/NSFileHandle.h:
Add GNUstep TLS/SSL options when loading HTTPS URLs.
2012-09-26 Richard Frith-Macdonald <[email protected]>
* Source/NSUserDefaults.m: Fix error synchronising from changes in
database ... was not sending the notification to say we had updated.
* Headers/Foundation/NSFileHandle.h:
* Source/GSSocketStream.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
More TLS reorganisation and adding diagnostics
2012-09-25 Richard Frith-Macdonald <[email protected]>
* Source/GNUmakefile:
* Source/GSSocketStream.m:
* Source/NSFileHandle.m:
* Headers/Foundation/NSFileHandle.h:
* SSL/GSSSLHandle.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
Restructure to separate some of the tls functionality out.
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]>