forked from gnustep/libs-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
24181 lines (18519 loc) · 826 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2021-09-16 Richard Frith-Macdonald <[email protected]>
* Source/NSJSONSerialization.m:
* Source/NSURL.m:
Fix minor potential leaks.
2021-08-27 Richard Frith-Macdonald <[email protected]>
* Source/nstzfile.h: deleted (merged into tzdb.h)
* Source/tzdb.h: updated (includes nstzfile.h)
* Source/NSTimeZone.h: some cleanups
Tidies up as suggested by Fred
2021-08-14 Richard Frith-Macdonald <[email protected]>
* Source/nstzfile.h: Fix by Emmanuel Dreyfus - increase number of
transitions allowed, so that we can handle dates further into the
future (since v2+ files support that).
* Tests/base/NSTimeZone/ParisV1-noMagic.tzdb:
* Tests/base/NSTimeZone/ParisV1.tzdb:
* Tests/base/NSTimeZone/ParisV2-missingHeader.tzdb:
* Tests/base/NSTimeZone/ParisV2.tzdb:
* Tests/base/NSTimeZone/localtime.m:
Increase the range of testcases
2021-08-11 Richard Frith-Macdonald <[email protected]>
* Source/tzdb.h: Public domain time zone file parsing etc
* Source/NSTimeZone.m: Use code from tzdb.h
* Headers/Foundation/NSTimeZone.h: Remove some obsolete comments
* configure.ac: check for stdbool.h needed by tzdb.h
* configure: regenerate
* Headers/GNUstepBase/config.h.in: define for stdbool check
* Tests/base/NSTimeZone/Paris.tzdbv1: test timezone file (version 1)
* Tests/base/NSTimeZone/Paris.tzdbv2: test timezone file (version 2)
* Tests/base/NSTimeZone/localtime.m: Some testcases for v1/v2
Incorporate work by Emmanuel Dreyfus to use public domain tzfile
parsing code supporting times too large to fit in 32bit value.
The public domain code has some support for the Posix TZ environment
variable style string used by version2 to support times after the last
transition in the file, but I'm not convinced it works properly, so
this may need to be revisited.
2021-08-10 Frederik Seiffert <[email protected]>
* Source/NSObject:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source:libgnustep-base-entry.m:
Initialize Windows Sockets in NSObject only and update to Windows
Socket version 2.2.
2021-08-03 Frederik Seiffert <[email protected]>
* Headers/GNUstepBase/config.h.in:
* configure:
* configure.ac:
Use pkgconfig to find libxslt.
2021-07-29 Frederik Seiffert <[email protected]>
* Headers/GNUstepBase/config.h.in:
* Source/Additions/Unicode.m:
* Source/GSICUString.h:
* Source/NSCalendar.m:
* Source/NSDateFormatter.m:
* Source/NSLocale.m:
* Source/NSNumberFormatter.m:
* Source/NSPredicate.m:
* Source/NSRegularExpression.m:
* Source/NSString.m:
* Source/NSTimeZone.m:
* configure:
* configure.ac:
Add support for using ICU DLL from Windows 10.
2021-07-29 Richard Frith-Macdonald <[email protected]>
* Source/NSTimeZone.m:
* Headers/GNUstepBase/config.h.in:
* configure.ac:
* configure:
Always use builtin header for parsing posix time zone files, so we
know that the field names are consistent and so we knw we have a
define for the file magic number.
2021-07-26 Richard Frith-Macdonald <[email protected]>
* Source/NSXMLParser.m:
Fix error caused by having methods in category for strict parser
overriding methods provided by sloppy parser.
2021-07-22 Richard Frith-Macdonald <[email protected]>
* Source/nstzfile.h:
* Source/NSTimeZone.m:
Changes to add support for 64bit transitions used by v2+ of the
timezone format.
2021-07-14 Frederik Seiffert <[email protected]>
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSThread.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/config.h.in:
* Source/Additions/GCObject.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/Unicode.m:
* Source/GSAtomic.h:
* Source/GSFFCallInvocation.m:
* Source/GSFFIInvocation.m:
* Source/GSPThread.h:
* Source/NSArray.m:
* Source/NSCharacterSet.m:
* Source/NSDebug.m:
* Source/NSException.m:
* Source/NSLock.m:
* Source/NSObject.m:
* Source/NSScanner.m:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSZone.m:
* Tests/base/NSThread/GNUmakefile.preamble:
* Tests/base/NSThread/late_unregister.m:
* Tests/base/NSThread/lazy_thread.m:
* config/config.initialize.m:
* configure:
* configure.ac:
Use native threading and locking APIs on Windows, removing dependency
on pthread library and using fast Slim Reader/Writer (SRW) locks for
NSLock/NSRecursiveLock/NSCondition/NSConditionLock as well as all
internal locks. Adds GS_MUTEX_*() macros in GSPThread.h, that are being
used for all internal locking instead of pthread APIs.
Also adds support for thread priorities on Windows, fixes method
signature of +[NSThread setThreadPriority:] to match Apple platforms,
and adds error handling in same method.
2021-07-16 Frederik Seiffert <[email protected]>
* Source/GSICUString.h:
* Source/GSICUString.m:
Fix possible memory corruption in string handling that occured
primarily when using NSRegularExpression with strings longer than
16 characters.
2021-07-02 Frederik Seiffert <[email protected]>
* Source/Additions/Unicode.m:
Fix possible heap corruption when converting to
NSNonLossyASCIIStringEncoding.
2021-06-19 Richard Frith-Macdonald <[email protected]>
* Headers/Foundation/Port.h:
* Source/NSSocketPort.m:
Extend the API for TLS support in Distributed Objects so that we have
separate settings for whether the port is acting as a client or
server.
2021-06-19 Richard Frith-Macdonald <[email protected]>
* Source/GSTLS.m:
* Source/NSSocketPort.m:
Improve reporting of TLS handshake errors, fix a few leaks and
generally make encryption of DO connections better.
2021-06-17 Frederik Seiffert <[email protected]>
* Source/Additions/Unicode.m:
Fix lookup of string encodings with high numeric values in
encoding table when they are interpreted as negative numbers
for some platforms/compilers (pertains
NSUTF16*EndianStringEncoding and NSUTF32*StringEncoding).
2021-06-03 Richard Frith-Macdonald <[email protected]>
* Headers/GNUstepBase/GSTLS.h: New session ivar for I/O handle.
* Source/GSTLS.m: Report the I/O handle in debug logs so we can
more easily track which logs refer apply to the objects using a
session.
* Source/NSSocketPort.m: debug improvements plus fixes to the code
for initiating connections so that the initial port information is
reliably written to the handle.
2021-06-02 Gregory John Casamento <[email protected]>
* Headers/Foundation/Foundation.h: Add missing import for
NSByteCountFormatter.
2021-05-31 Richard Frith-Macdonald <[email protected]>
* Headers/GNUstepBase/GSTLS.h: ([GSTLSCredentials selfSigned:])
* Source/GSTLS.m: Add new method to use certtool to generate a
key and a self-signed certificate. Use the new method to set up
server sessions if no certificate/key is configured.
* Headers/Foundation/NSPort.h: ([NSSocketPost setOptionsForTLS:])
* Source/NSSocketPort.m: New methods to configure socket ports to
use TLS so that inter-host distributed object connections can be
securely encrypted. The class method should turn on encryption
for all subsequent connections using socket ports (the instance
method can be used to override the effects of the class method
for an individual instance).
2021-05-23 Richard Frith-Macdonald <[email protected]>
* Source/GSStream.m:
When we get an event saying that there is space available, we should
change the stream status from writing to open (because the write
operation completed). This makes the -hasSpaceAvailable method return
the correct value when a callback routine is checking to see if it
can write.
2021-05-19 Richard Frith-Macdonald <[email protected]>
* Source/win32/GSFileHandle.m:
Fixed bug preventing write of long data (failing to watch for write
completion when only part of the data is written). Added some debug
2021-05-15 Richard Frith-Macdonald <[email protected]>
* Source/GSFileHandle.m:
* Source/win32/GSFileHandle.m:
When we receive an event telling us the handle is writable, repeatedly
write until either all the data we have is written or until the write
attempt doesn't write anything. On mswindows this copes with the case
of the gnutls write only writing 16KB chunks at a time.
2021-05-05 Richard Frith-Macdonald <[email protected]>
* configure.ac: Check for declaration of CURLOPT_MAXAGE_CONN
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Source/NSURLSession.m: Use HAVE_DECL_CURLOPT_MAXAGE_CONN to tell
whether -setHTTPMaximumConnectionLifetime: can be implemented. This
fixes a bug where the method was not implemented even though the
version of Curl available supported it.
* Tests/base/NSURLSession/test02.m: Add a testcase (hope) to see if
-setHTTPMaximumConnectionLifetime: is supported.
2021-04-26 Ivan Vucica <[email protected]>
* ChangeLog:
Update ChangeLog to release 1.28.0.
2021-04-23 Richard Frith-Macdonald <[email protected]>
* Source/DocMakefile:
Ignore GS_EXPORT_CLASS when generating documentation for
base/additions.
2021-04-22 Ivan Vucica <[email protected]>
* ChangeLog:
Formatting and email address fixes.
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for a future 1.28.0 release.
* Version:
Bump version to 1.28.0.
2021-04-14 Richard Frith-Macdonald <[email protected]>
* Headers/Foundation/NSString.h:
* Source/NSString.m:
* Source/NSString.m:
Fixes for BOM insertion when generating data from a string using one
of the unicode encodings. The BOM is inserted in the case where the
byte order is important in the specified encoding, but the encoding
does not specify which byte order is used. This is the case for
NSUnicodeStringEncoding, NSUTF16StringEncoding (which is a synonym
for NSUnicodeStringEncoding), and NSUTF32StringEncoding.
The bit of this that might impact existing code is that the BOM is
now placed at the start of the data even in the string is empty (as
on OSX).
2021-03-27 Frederik Seiffert <[email protected]>
* Headers/GNUstepBase/GSVersionMacros.h:
Add GS_IMPORT macro resolving to dllimport annonation on Windows.
* Source/NSObject.m:
Add support for libobjc2 runtime on Windows.
2021-03-27 Frederik Seiffert <[email protected]>
* Headers/Foundation/NSConnection.h:
* Source/Additions/GSMime.m:
* Source/Additions/NSDebug+GNUstepBase.m:
* Source/Additions/NSStream+GNUstepBase.m:
* Source/GSPrivate.h:
* Source/GSTLS.m:
* Source/NSArchiver.m:
* Source/NSBundle.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConnection.m:
* Source/NSDate.m:
* Source/NSDecimal.m:
* Source/NSError.m:
* Source/NSExtensionContext.m:
* Source/NSExtensionItem.m:
* Source/NSFileHandle.m:
* Source/NSFileManager.m:
* Source/NSHFSFileTypes.m:
* Source/NSHTTPCookie.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSInvocationOperation.m:
* Source/NSItemProvider.m:
* Source/NSKeyValueCoding.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSLocale.m:
* Source/NSMetadata.m:
* Source/NSMetadataAttributes.m:
* Source/NSNetServices.m:
* Source/NSObjCRuntime.m:
* Source/NSObject.m:
* Source/NSPathUtilities.m:
* Source/NSPersonNameComponentsFormatter.m:
* Source/NSPort.m:
* Source/NSSpellServer.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLCredentialStorage.m:
* Source/NSURLHandle.m:
* Source/NSURLProtectionSpace.m:
* Source/NSUserNotification.m:
* Source/NSXMLParser.m:
* Source/NSZone.m:
* Source/externs.m:
Export string constants and annotate exported function implementations.
Moves scattered string constants to externs.m, and removes obsolete
code replacing constant strings.
2021-03-12 Frederik Seiffert <[email protected]>
* Source/NSFileManager.m:
* Source/NSProcessInfo.m:
* Source/win32/dirent.h:
Add NSFileManager support on Windows MSVC using dirent.h from:
https://github.com/tronkko/dirent/blob/master/include/dirent.h
Also unifies _CHAR in NSFileManager with GSNativeChar, as they are
internally required to be the same.
2021-03-09 Frederik Seiffert <[email protected]>
* Source/NSRunLoop.m:
Fix libdispatch integration compilation error on Windows.
2021-03-05 Richard Frith-Macdonald <[email protected]>
* Source/GSHTTPURLHandle.m:
Rewrite handling of tls handshake to operate asynchronously,
attempting continuation of the handshake when the socket becomes
readable. The point of this is to prevent recursive entry into the
runloop (and possible stack overflow) if the remote end fails to send
anything for a while.
2021-03-03 Frederik Seiffert <[email protected]>
* Headers/Foundation/NSTimer.h:
* Source/NSTimer.m: add unscheduled NSTimer block initializer
2021-02-22 Richard Frith-Macdonald <[email protected]>
* Source/Additions/GSXML.m:
Fix potential deadlock found by Wolfgang
2021-02-18 Richard Frith-Macdonald <[email protected]>
* Source/Additions/GSXML.m:
Initialise XMLParser in main thread
2021-02-13 Richard Frith-Macdonald <[email protected]>
* Source/GSHTTPURLHandle.m:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
Fixes for SSL/TLS support using GNUTLS under MinGW.
Use send/recv rather than read/write in TLS push/pull functions
(works with winsock and unix) and perform mappings between winsock
error codes and unix/gnutls error codes so that we correctly repeat
operations whe they fail in non-blocking mode.
2021-02-12 Frederik Seiffert <[email protected]>
* Headers/Foundation/NSNull.h: Add missing GS_EXPORT_CLASS.
* Tests/base/Functions/NSByteSwapping.m: Define M_PI if needed.
* configure:
* configure.ac: Add support for pthreadVC2 library variant and
tweak host OS check for Windows to be more specific.
2021-02-06 Richard Frith-Macdonald <[email protected]>
* Source/NSURLProtocol.m:
Fix failure to send large requests, when the write operation succeeds
but we have not written all the data we need to, we should write more
as long as the stream has space available.
2021-02-05 Fred Kiefer <[email protected]>
* Tools/make_strings/StringsFile.m: Write the file in UTF8 format
if the string contains any non ASCII character.
2021-02-03 Frederik Seiffert <[email protected]>
* Tools/GNUmakefile: disable gdomap on Android (unsupported).
2021-02-02 Riccardo Mottola <[email protected]>
* configure
* configure.ac
Add check for statbuf.st_mtim if available
* Source/NSFileManager.m
Use statbuf.st_mtim to get nanosecond precision in modification
date, also fix conversion of nanoseconds in creation date.
2021-01-29 Frederik Seiffert <[email protected]>
* Headers/Foundation/NSAffineTransform.h:
* Headers/Foundation/NSAppleEventDescriptor.h:
* Headers/Foundation/NSAppleEventManager.h:
* Headers/Foundation/NSAppleScript.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSBackgroundActivityScheduler.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSByteCountFormatter.h:
* Headers/Foundation/NSCache.h:
* Headers/Foundation/NSCalendar.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSCharacterSet.h:
* Headers/Foundation/NSClassDescription.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/NSDateComponentsFormatter.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSDateInterval.h:
* Headers/Foundation/NSDateIntervalFormatter.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSDistantObject.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSEnergyFormatter.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSExtensionContext.h:
* Headers/Foundation/NSExtensionItem.h:
* Headers/Foundation/NSFileCoordinator.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSFileVersion.h:
* Headers/Foundation/NSFileWrapper.h:
* Headers/Foundation/NSGarbageCollector.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSISO8601DateFormatter.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSInvocationOperation.h:
* Headers/Foundation/NSItemProvider.h:
* Headers/Foundation/NSItemProviderReadingWriting.h:
* Headers/Foundation/NSJSONSerialization.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSLengthFormatter.h:
* Headers/Foundation/NSLinguisticTagger.h:
* Headers/Foundation/NSLocale.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSMassFormatter.h:
* Headers/Foundation/NSMeasurement.h:
* Headers/Foundation/NSMeasurementFormatter.h:
* Headers/Foundation/NSMetadata.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSNotificationQueue.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSObjectScripting.h:
* Headers/Foundation/NSOperation.h:
* Headers/Foundation/NSOrderedSet.h:
* Headers/Foundation/NSOrthography.h:
* Headers/Foundation/NSPersonNameComponents.h:
* Headers/Foundation/NSPersonNameComponentsFormatter.h:
* Headers/Foundation/NSPointerArray.h:
* Headers/Foundation/NSPointerFunctions.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSProgress.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSRegularExpression.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSScriptClassDescription.h:
* Headers/Foundation/NSScriptCoercionHandler.h:
* Headers/Foundation/NSScriptCommand.h:
* Headers/Foundation/NSScriptCommandDescription.h:
* Headers/Foundation/NSScriptExecutionContext.h:
* Headers/Foundation/NSScriptKeyValueCoding.h:
* Headers/Foundation/NSScriptObjectSpecifiers.h:
* Headers/Foundation/NSScriptStandardSuiteCommands.h:
* Headers/Foundation/NSScriptSuiteRegistry.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSTextCheckingResult.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSURLSession.h:
* Headers/Foundation/NSUUID.h:
* Headers/Foundation/NSUbiquitousKeyValueStore.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSUnit.h:
* Headers/Foundation/NSUserActivity.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSUserNotification.h:
* Headers/Foundation/NSUserScriptTask.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSValueTransformer.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLDTDNode.h:
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLElement.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSXPCConnection.h:
* Headers/GNUstepBase/CXXException.h:
* Headers/GNUstepBase/GCObject.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSMime.h:
* Headers/GNUstepBase/GSTLS.h:
* Headers/GNUstepBase/GSVersionMacros.h:
* Headers/GNUstepBase/GSXML.h:
* Headers/GNUstepBase/NSStream+GNUstepBase.h:
* Source/Additions/GSXML.m:
* Source/Additions/Makefile.preamble:
* Source/CXXException.m:
* Source/GNUmakefile:
* Source/NSException.m:
* Source/NSFileManager.m:
* Source/NSPropertyList.m:
* Source/NSSocketPort.m:
* Source/ObjectiveC2/Makefile.preamble:
* Source/common.h:
* Source/externs.m:
* Source/inet_ntop.m:
* Source/inet_pton.m:
* Source/libgnustep-base-entry.m:
* Source/unix/Makefile.preamble:
* Source/win32/GSFileHandle.m:
* Source/win32/Makefile.preamble:
* Tools/GNUmakefile:
* Tools/Makefile.preamble:
* Tools/gdnc.m:
* Tools/make_strings/make_strings.m:
* Tools/pl2link.m:
* Tools/plutil.m:
* config/config.initialize.m:
* configure:
* configure.ac:
Added support for building on Windows with Clang MSVC target and
libobjc2. This requires using a standard (non-MinGW) Clang build that
e.g. comes with Visual Studio or is available as pre-built binary from
the LLVM website, and requires passing a host to configure like
--host=x86_64-pc-windows.
The build is best done in an MSYS2 shell that does not have any
additional *-devel packages installed that might get picked up by
configure. Alternatively --disable-xxx flags can be used to prevent
these dependencies to be picked up.
Annotates all ObjC class interfaces with GS_EXPORT_CLASS for DLL
export/import declarations, and adds missing GS_DECLARE annotations
in externs.m, in order for these symbols to be correctly exported
in the DLL.
2021-01-21 Fred Kiefer <[email protected]>
* Tools/pl2link.m (main): Set key StartupWMClass and allow file
parameters of the Exec key.
Idea by: Josh Freeman <[email protected]>
2021-01-21 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m: Fix scanning of zero values.
Was checking incorrect variable to avoid assignment to nul pointer.
2021-01-19 Richard Frith-Macdonald <[email protected]>
* Source/NSKeyValueObserving.m: Fix leak of set
* Source/NSPredicate.m: Fix leak evaluating a cast
* Source/NSUnit.m: Fix memory leaks
* Source/NSData.m: Use NSZoneMalloc and NSZoneRealloc for memory
to ensure it is in the correct zone for the instance (and to avoid
complaints from static analyser).
2021-01-16 Richard Frith-Macdonald <[email protected]>
* Source/GSSocketStream.m:
Remove stream from handler upon deallocation, to avoid handler
sending messages to deallocated stream.
2020-12-30 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m:
Fix failure to re-set flag to say whether a string is unicode
2020-12-30 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m:
Fix potential problem with new optimisation for direct access to
contents of 8bit strings ... when the decimal separator is not an
ascii character we may need to convert the 8bit value to unicode.
2020-12-30 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m:
* Source/NSString.m:
Use new private method to scan double values.
2020-12-30 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m:
Remove internal GSScanInt and GSScanDouble functions after moving
functionality into the -scanDouble: method. Add private class
method to support scanning a string for a double without having
to create a new scanner each time (use a shared lock-protected,
instance with resetting of the string being scanned).
2020-12-30 Richard Frith-Macdonald <[email protected]>
* Source/NSPropertyList.m:
Remove unused header import
2020-12-30 Richard Frith-Macdonald <[email protected]>
* Source/GSString.m:
Use superclass implementation of -doubleValue and -floatValue
2020-12-29 Richard Frith-Macdonald <[email protected]>
* Source/NSScanner.m:
Change -scanDouble: to call GSScanDouble() to perform conversion.
Fix GSScanDouble to cope with leading zeros.
2020-12-15 Frederik Seiffert <[email protected]>
* configure:
* configure.ac:
Disable libcurl support when headers are not found
2020-12-15 Richard Frith-Macdonald <[email protected]>
* Headers/GNUstepBase/GNUstep.h:
* Headers/GNUstepBase/GSBlocks.h:
* Headers/ObjectiveC2/objc/blocks_runtime.h:
* Source/GSString.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConnection.m:
* Source/NSDistantObject.m:
* Source/NSMethodSignature.m:
* Source/NSNumberMethods.h:
* Tools/gdomap.c:
Consistently use __typeof__() rather than typeof() or __typeof()
for compatibility (GCC and clang and, perhaps, other future
compilers) irrespective of -std= compilation options.
2020-12-15 Richard Frith-Macdonald <[email protected]>
* Tests/base/NSUUID/basic.m:
Fix stupid mistake using wrong string value
2020-12-15 Richard Frith-Macdonald <[email protected]>
* Source/NSUUID.m:
* Tests/base/NSUUID/basic.m:
Fix initialisation of NSUUID from string (permit mixed case hex digits)
2020-12-11 Richard Frith-Macdonald <[email protected]>
* Source/GSStream.m:
Fixup incorrect commit
2020-12-11 Richard Frith-Macdonald <[email protected]>
* Source/GSStream.h:
* Source/GSStream.m:
Improve diagnostic logging
2020-12-09 Richard Frith-Macdonald <[email protected]>
* Tools/gdomap.c:
Use correct definition for integer type in windows
2020-12-09 Richard Frith-Macdonald <[email protected]>
* Source/NSFileManager.m:
Fix unused variable on windows
2020-12-09 Richard Frith-Macdonald <[email protected]>
* Source/NSUserDefaults.m:
Add fake interface for NSUserDefaultsWin32 to avoid compiler warning
2020-12-09 Richard Frith-Macdonald <[email protected]>
* Source/NSPathUtilities.m:
Only declare variables for systems which use them.
2020-12-07 Richard Frith-Macdonald <[email protected]>
* Source/NSUUID.m:
Fix typo in comment (incorrect RFC number)
2020-12-07 Richard Frith-Macdonald <[email protected]>
* Source/NSFileCoordinator.m:
* Source/NSItemProvider.m:
* Source/NSSortDescriptor.m:
* Source/NSTimer.m:
Avoid compiler warnings when we do not have real blocks
2020-12-07 Richard Frith-Macdonald <[email protected]>
* Headers/GNUstepBase/GNUstep.h:
Use casts to prevent many compiler warnings when using pseudo-blocks
2020-12-07 Richard Frith-Macdonald <[email protected]>
* Source/NSBackgroundActivityScheduler.m:
Fixup to import local headers rather than installed versions
2020-12-07 Richard Frith-Macdonald <[email protected]>
* Source/NSOperation.m:
Avoid compiler warnings on system with pseudo-blocks
2020-12-07 Richard Frith-Macdonald <[email protected]>
* Source/GSSocketStream.m:
Fix format string error in -description
2020-12-07 Richard Frith-Macdonald <[email protected]>
* Source/GSSocketStream.m:
* Source/GSStream.m:
Improve diagnostic output
2020-12-06 Richard Frith-Macdonald <[email protected]>
* Source/GSSocketStream.m:
An error in a socketpair only applies to the other socket
if still opening
2020-12-04 Richard Frith-Macdonald <[email protected]>
* Source/GSOrderedSet.m:
Use unsigned long for fast enumeration version counter
2020-12-04 Richard Frith-Macdonald <[email protected]>
* Source/GSCountedSet.m:
fix typo
2020-12-04 Richard Frith-Macdonald <[email protected]>
* Source/Additions/GSInsensitiveDictionary.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSUnarchiver.m:
Fix to make value pointed to by mutationsPtr be unsigned long.
2020-12-04 Richard Frith-Macdonald <[email protected]>
* Source/NSPortCoder.m:
Fix range check for decoded 32bit integer
2020-12-04 Richard Frith-Macdonald <[email protected]>
* Source/NSRunLoop.m:
Suppress warnings about use of 'private' functions from libdispatch
2020-12-04 Richard Frith-Macdonald <[email protected]>
* Source/ObjectiveC2/blocks_runtime.m:
Declare external block as const void rather than void for
consistency and to avoid compiler warning
2020-12-04 Richard Frith-Macdonald <[email protected]>
* Source/GSFastEnumeration.h:
Suppress dll import warnings for objc_enumerationMutation() on mingw
2020-12-03 Richard Frith-Macdonald <[email protected]>
* Source/GSValue.m:
* Source/NSBackgroundActivityScheduler.m:
Avoid compiler warning
2020-12-03 Richard Frith-Macdonald <[email protected]>
* Source/Additions/Unicode.m:
* Source/NSData.m:
* Source/NSUUID.m:
Use memcpy rather than strncpy/strncat to avoid compiler warnings
2020-12-03 Richard Frith-Macdonald <[email protected]>
* Tools/NSPropertyList+PLUtil.m:
Import missing NSError header
2020-12-03 Richard Frith-Macdonald <[email protected]>
* Source/NSKeyValueCoding.m:
Use memcpy rather than strncpy to avoid compiler warnings
2020-12-03 Richard Frith-Macdonald <[email protected]>
* Source/NSData.m:
Tweaks to avoid compiler warnings
2020-12-03 Richard Frith-Macdonald <[email protected]>
* Tests/base/NSJSONSerialization/tests00.m:
Create temporary file in current directory and delete it when done.
This fixes testcase to work on windows.
2020-11-27 Frederik Seiffert <[email protected]>
* configure:
* configure.ac:
Detect objc.lib and add libdir to path on Windows.
2020-11-27 Frederik Seiffert <[email protected]>
* configure:
* configure.ac:
Prefer dispatch/dispatch.h over dispatch.h.
2020-11-29 Richard Frith-Macdonald <[email protected]>
* .travis.yml:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSURLSession.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/config.h.in:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/Makefile.preamble:
* Source/GNUmakefile:
* Source/GSEasyHandle.h:
* Source/GSEasyHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/GSHTTPURLProtocol.h:
* Source/GSHTTPURLProtocol.m:
* Source/GSMultiHandle.h:
* Source/GSMultiHandle.m:
* Source/GSNativeProtocol.h:
* Source/GSNativeProtocol.m:
* Source/GSTLS.m:
* Source/GSTaskRegistry.h:
* Source/GSTaskRegistry.m:
* Source/GSTimeoutSource.h:
* Source/GSTimeoutSource.m:
* Source/GSTransferState.h:
* Source/GSTransferState.m:
* Source/GSURLPrivate.h:
* Source/GSURLSessionTaskBody.h:
* Source/GSURLSessionTaskBody.m:
* Source/GSURLSessionTaskBodySource.h:
* Source/GSURLSessionTaskBodySource.m:
* Source/NSConcretePointerFunctions.m:
* Source/NSException.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSURLCache.m:
* Source/NSURLConnection.m:
* Source/NSURLProtocol.m:
* Source/NSURLRequest.m:
* Source/NSURLResponse.m:
* Source/NSURLSession.m:
* Source/NSXPCConnection.m:
* Tests/base/NSURL/Helpers/keepalive.m:
* Tests/base/NSURL/test00.m:
* Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.h:
* Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m:
* Tests/base/NSURLConnection/Helpers/TestCase.m:
* Tests/base/NSURLConnection/Helpers/TestWebServer.h:
* Tests/base/NSURLConnection/Helpers/TestWebServer.m:
* Tests/base/NSURLConnection/Helpers/testTestWebServer.m:
* Tests/base/NSURLConnection/test01.m:
* Tests/base/NSURLConnection/test02.m:
* Tests/base/NSURLConnection/test03.m:
* Tests/base/NSURLConnection/test04.m:
* Tests/base/NSURLConnection/test05.m:
* Tests/base/NSURLConnection/test06.m:
* Tests/base/NSURLConnection/test07.m:
* Tests/base/NSURLSession/GNUmakefile.preamble:
* Tests/base/NSURLSession/TestInfo:
* Tests/base/NSURLSession/delegate.g:
* Tests/base/NSURLSession/gdbinit:
* Tests/base/NSURLSession/test01.m:
* Tests/base/NSURLSession/test02.m:
* base.make.in:
* config.mak.in:
* config/addlibrarypath.m4:
* configure:
* configure.ac:
Merge changes for NSURLSession from EngageHub (formerly Brainstorm).
NB. NSURLSession is the third generation URL management API in OSX,
but the previous two generations still exist and are good for much
web-based programming. The NSURLSession code has more deependencies
on recent versions of external libraries (libcurl, http/2 support,
libdispatch) as well as the latest objective-c runtime and the use
of blocks (only available when built using clang and the ng runtime).
2020-11-28 Richard Frith-Macdonald <[email protected]>
* configure:
* configure.ac:
Remove obsolete checks for garbage collecting runtime
(no longer supported)
2020-11-22 Richard Frith-Macdonald <[email protected]>
* Source/Additions/NSMutableString+GNUstepBase.m:
* Source/GSString.m:
Add optimisation for the use of GSImmutableString so that it
can make use of the layout of the underlying mutable string
that the GSImmutableString is a proxy for.
2020-11-22 Richard Frith-Macdonald <[email protected]>
* Source/GSString.m:
Rewrite -replaceCharactersInRange:withString: to cope with the
case where the string argument is the receiver (or some proxy
to the receiver etc).
2020-11-22 Richard Frith-Macdonald <[email protected]>
* Source/Additions/NSMutableString+GNUstepBase.m:
Report YES for GSImmutableString being a proxy
2020-11-21 Richard Frith-Macdonald <[email protected]>
* Source/GSString.m:
Fix for text storage objects setting their content to their
own immutable proxy.
2020-11-20 Richard Frith-Macdonald <[email protected]>
* Source/Additions/GSMime.m:
Add casts to avoid compiler warnings
2020-11-19 Richard Frith-Macdonald <[email protected]>
* Source/NSString.m:
Minor tidyup for clearer indentation