forked from gnustep/libs-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
24821 lines (19021 loc) · 847 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
2023-07-30 Yavor Doganov <yavor@gnu.org>
* Tools/HTMLLinker.1: Fix a groff warning.
2023-07-30 Yavor Doganov <yavor@gnu.org>
* Tools/gdnc.m ([GDNCServer init]):
* Tools/gspath.1: Fix spelling errors.
2023-07-26 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSData.m:
Fix NSData initWithContentsOfURL: caching data of file URLs.
2023-07-26 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSURL.m:
* Tests/base/NSURL/basic.m:
Fix NSURL path on Windows for UNC paths.
2023-07-25 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
Fixed NSFileManager thread safety.
2023-07-17 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSTimeZone/localtime.m (testTZDB): Skip tests relying
on 64bit time_t on all 32bit architectures.
* Source/NSTimeZone.m: Move #include "tzdb.h" a bit earlier so
that the POSIX_TZONES preprocessor conditional is correct.
([GSTimeZoneDetail
initWithTimeZone:withAbbrev:withOffset:withDST:]): Retain abbrev.
([GSTimeZoneDetail dealloc]): Release abbrev.
([NSTimeZone timeZoneArray]): Skip files *.zi, *.list and
leapseconds which are not zone files.
2023-06-10 Riccardo Mottola <rm@gnu.org>
* Tests/base/NSURL/Helpers/Launch.h:
Declare method in interface to provide accurate signature fixing
bug on sparc 64
2023-06-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: close socket if we end loading with an
I/O operation in progress.
2023-06-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: Fix to reliably remove handle from run loop
when -dealloc is called without the handle having been closed first.
2023-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Add support for OSX version numbers up to 15
(and fix version 9).
2023-05-04 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSOrderedSet.m: Fix keyed encoding to match Apple platforms.
2023-05-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: Ignore notificaton that a descriptor is
writable if we have nothing to be written.
2023-04-26 Frederik Seiffert <frederik@algoriddim.com>
* Tests/base/NSFileManager/general.m:
* Source/NSFileManager.m:
Add test for and fix -[NSFileManager contentsOfDirectoryAtURL:...]
implementation not working correctly if directory did not match
current working directory.
2023-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m: set listening socket into non-blocking mode
if possible, so if multiple threads are using the same port we don't
get one thread blocked waiting for an accept which was handled by
another one.
2023-03-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimer.m: wrap call to block in exception handler (bug #289)
2023-01-13 Frederik Seiffert <frederik@algoriddim.com>
* Source/Additions/GSInsensitiveDictionary.m:
* Source/NSURLRequest.m:
* Source/NSURLResponse.m:
Fix NSURLSession header fields not always being matched case
insensitive.
2023-01-13 Frederik Seiffert <frederik@algoriddim.com>
* Source/GSEasyHandle.m:
* Source/GSMultiHandle.m:
* Source/GSTimeoutSource.h:
* Source/GSTimeoutSource.m:
* Source/NSURLSession.m:
Fix NSURLSession memory management of libdispatch objects.
* Source/GSHTTPURLProtocol.m:
Fix overrelease.
2023-01-13 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSURLSession.h:
* Source/NSURLSession.m:
Add missing NSURLSession APIs.
2022-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: ([GSMimeHeader setValue:]) do not set
type/subtype information if the content-type header value is not
in that format.
2022-01-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: fix incorrect close of socket at the end
of a successful request.
2022-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* ChangeLog: Update for new release
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.29.0 release.
* Version: bump to 1.29.0
2022-12-28 Richard Frith-Macdonald <rfm@gnu.org>
* ChangeLog: Update for new release
* ANNOUNCE:
* NEWS:
* NSTimeZones/NSTimeZones.tar: update
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.28.1 release.
* Version: bump to 1.28.1
2022-12-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: do not process end tag if parsing was aborted
while processing start tag.
2022-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Use the https_proxy and http_proxy
environment variables if no proxying is specified. Also support
those keys as properties in the request (overriding the environment
variables) and support the URL protection space if set.
2022-11-26 Fred Kiefer <fredkiefer@gmx.de>
* Source/Additions/GSXML.m: Remove usage of deprecated function
when a newer version of libxml is used.
2022-11-25 Florian Weimer
* config/config.poll-dev.c:
* config/config.proccmd.c:
* config/config.reuseaddr.c:
* config/config.vasprintf.c:
* config/config.vsprintf.c:
Make config tests work with C99 compiler
2022-11-21 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSFileManager.m:
Call NSDirectoryEnumerator's constructor with either YES or NO for
the BOOL arguments.
Really skip hidden files in enumerations if requested by the
options.
2022-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileHandle.h:
* Headers/GNUstepBase/GSTLS.h:
* Source/GSHTTPURLHandle.m:
* Source/GSSocketStream.m:
* Source/GSTLS.m:
* Source/NSURLProtocol.m:
* Source/externs.m:
Fixup to use strict rfc4514 for distinguished names of issuer and
owner of certificates. Add GSTLSIssuers and GSTLSOwners properties
to reject remote certificates which do not match distinguishd names
accepted. This allows encrypted DO to be configured to automatically
reject connection attempts which do not have trusted certificates.
2022-11-15 Richard Frith-Macdonald <rfm@gnu.org>
* GSSocketStream.m:
* NSFileHandle.m:
Use new -[GSTLS pending] method to trigger event handling immediately
rather than waiting for more data from the network layer.
2022-11-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSTLS.h:
* Source/GSTLS.m:
Add -pending method to return the number of bytes in the read bufffer.
* Source/NSSocketPort.m:
Use the new method to avoid a potential hang on an encrypted DO
connection.
2022-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Refactor a litle to avoid code duplication
and try to ensure that the connection is marked 'idle' as soon as we
have finished I/O (so its URL can be changed).
2022-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Resources/GSTLS/README:
* Source/GSTLS.m:
Honor the SSL_CERT_FILE environment variable (for OpenSSL
compatibility) if our own user default or environment variable
is not used.
2022-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Track whether we have read any data from
the server. If a connection is closed by the server while it is being
kept alive (ie we are not on first request) and no response data has
been read for a request we sent, we assume it was an intentional close
and try to establish a new connection to retry the request.
This is more tolerant of latency in the network (which could mean that
our test tthat the connection is still alive before sending a request
could be wrong) and also deals with perverse server implementations
which drop long standing connections when the server receives a
request rather than when a timeout occurred.
2022-09-15 Hugo Melder <contact@hugomelder.com>
* config/config.constant-string-class.m:
* Tests/base/NSObject/initialize.m:
* Tests/base/NSTask/launch.m:
C99 does not support implicit function declarations. Add string.h
and unistd.h when applicable.
2022-08-23 Hugo Melder <contact@hugomelder.com>
* Tests/base/NSURL/basic.m:
Fix URL description and resource specifier test value on win32.
* Tests/base/NSURL/test00.m:
* Tests/base/NSURL/test01.m:
* Tests/base/NSURL/test02.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/NSURLHandle/test00.m:
* Tests/base/NSURLHandle/test01.m:
Skip all test cases using the GSInetServerStream class as
it is broken on win32.
2022-08-16 Hugo Melder <contact@hugomelder.com>
* Source/NSPredicate.m:
When parsing an NSArray in -expressionValueWithObject:context:,
check if the array entry is a NSExpression object.
* Tests/base/NSPredicate/basic.m:
Test filter operation.
2022-08-16 Hugo Melder <contact@hugomelder.com>
* Source/win32/GSFileHandle.m:
Support overlapped I/O on standard streams in GSFileHandle.
* Source/GSFileHandle.h:
Add the isStandardStream instance variable.
* Tests/base/NSRunLoop/performers.m:
Remove extraneous unistd header from unit test.
2022-08-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Remove restriction (of 8) on the maximum
number of threads, and set that as the default value instead, so
the -setMaxConcurrentOperationCount: method can override it.
Thanks to https://github.com/wbardwel for the suggestion.
2022-08-11 Hugo Melder <contact@hugomelder.com>
* Tests/base/NSTimeZone/use.m:
Update NSTimeZone unit test to match macOS behaviour.
America/Sao_Paulo has no DST.
2022-08-07 Hugo Melder <contact@hugomelder.com>
* Source/NSTimeZone.m:
Windows to IANA time zone conversion: remove unsupported
TIME_ZONE_ID_DAYLIGHT conversion.
* Tests/base/NSTimeZone/use.m:
Fix test case to check for the correct standard time zone name.
2022-08-05 Hugo Melder <contact@hugomelder.com>
* Tests/base/NSTask/Helpers/GNUmakefile:
Fix compilation of NSTask helper test files on Windows MSVC.
* Tests/base/NSTask/general.m:
* Tests/base/NSTask/launch.m:
* Tests/base/NSTask/notify.m:
Conditionally use .exe suffix in executable paths.
2022-08-04 Hugo Melder <contact@hugomelder.com>
* Tests/base/GSTLS/basic.m:
Disable test completly if gnutls is not present.
* Tests/base/NSData/additions.m:
Check if dataWithContentsOfFile: returns an instance.
* Tests/base/NSString/tilde.m:
Skip tilde abbreviation test on Windows.
2022-08-04 Hugo Melder <contact@hugomelder.com>
* Tests/base/coding/basictypes.m:
Fetch the generated .type file directly to avoid size mismatches.
* .gitignore:
Ignore .type files in the coding unit test directory.
2022-08-03 Hugo Melder <contact@hugomelder.com>
* Tests/base/NSBundle/GNUmakefile.preamble
* Tests/base/NSBundle/resources2.m
Exclude framework loading on Windows, as Windows lacks support
for run-time search paths.
2022-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
Include body after masked headers in debug output.
2022-05-20 Richard Frith-Macdonald <rfm@gnu.org>
Changes to remove sensitive information from debug logs.
* Source/Additions/GSMime.m: Mask out sensitive information in the
-description method of the Authorization header. Add method to do
similar masking for debug output of HTTP requests.
* Source/GSHTTPURLHandle.m: Use new method to mask Authorization
header value in debug log of outgoing requests.
* Source/NSURLProtocol.m: Use new method to mask Authorization
header value in debug log of outgoing requests.
2022-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: If we get an exception in a packet from a
remote system to which we sent a oneway void message, decode the
exception and report it.
2022-04-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSeq.h: Fix normalisation to handle the case where combining
diacriticals are repeated in a composed character sequence. Those
repeats need to be reduced to a single instance.
2022-04-06 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSCalendar.h: Add documentation.
* Source/NSCalendar.m: Implement getEra:... and getHour:...
methods based on Keysight/TestPlant changes
* Tests/base/NSCalendar/basic.m: Minor cleanup.
* Tests/base/NSCalendar/component-diff.m: Add tests for
methods implemented above.
2022-03-07 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSIndexPath.h: Add declarations for new
methods to support collection and table view. New methods are
- item, - section, - row, - initWithItem:inSection:,
and - initWithRow:inSection:
* Source/NSIndexPath.m: Implementation of the methods mentioned
above.
2022-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m:
* Tests/base/NSPredicate/basic.m:
Fix for git #243
2022-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistantObject.m:
Check to see whether receiver responds to selector before asking the
remote object. Fixes bug in testing to see if distant object responds
to -connectionForProxy.
2022-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/manual/BaseLibrary.texi:
* Documentation/manual/WorkingWithObjects.texi:
* Documentation/manual/WritingNewClasses.texi:
* Headers/Foundation/NSGarbageCollector.h:
* Headers/Foundation/NSObject.h:
* Headers/GNUstepBase/GNUstep.h:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSDictionary.m:
* Source/GSFFIInvocation.m:
* Source/GSFTPURLHandle.m:
* Source/GSHTTPAuthentication.m:
* Source/GSInternal.h:
* Source/GSInvocation.h:
* Source/GSSocketStream.m:
* Source/NSArray.m:
* Source/NSAttributedString.m:
* Source/NSBundle.m:
* Source/NSCallBacks.m:
* Source/NSClassDescription.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSDateFormatter.m:
* Source/NSDistantObject.m:
* Source/NSFileHandle.m:
* Source/NSHost.m:
* Source/NSInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSNotificationCenter.m:
* Source/NSNumberFormatter.m:
* Source/NSObject.m:
* Source/NSPortCoder.m:
* Source/NSProcessInfo.m:
* Source/NSRunLoop.m:
* Source/NSScanner.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSSpellServer.m:
* Source/NSString.m:
* Source/NSTask.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLHandle.m:
* Source/NSURLProtocol.m:
* Source/NSURLResponse.m:
* Source/NSUnarchiver.m:
* Source/NSValueTransformer.m:
* Tools/AGSOutput.m:
* Tools/AGSParser.m:
* Tools/HTMLLinker.m:
* Tools/autogsdoc.m:
* Tools/sfparse.m:
Replaced IF_NO_GC() macro calls with the more descriptive IF_NO_ARC()
and deprecate it. Searched for and removed obsolete references to
garbage collection in comments and documentation.
2022-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSExpression.h:
* Source/NSPredicate.m:
Patched from git #237 by Larry Campbell.
2022-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Fix failure to log handle properly during
initialisation (set ivar containing handle earlier).
2022-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
Fix for git #235 reported by Sergei Golovin
Plus, make methods consistent in handling of clients.
Plus, make clientForHandle() thread-safe.
2022-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m:
* Documentation/manual/BaseLibrary.texi:
* Documentation/manual/WorkingWithObjects.texi:
* Documentation/manual/WritingNewClasses.texi:
* Headers/Foundation/NSGarbageCollector.h:
* Headers/Foundation/NSObject.h:
* Headers/GNUstepBase/GNUstep.h:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSDictionary.m:
* Source/GSFFIInvocation.m:
* Source/GSFTPURLHandle.m:
* Source/GSHTTPAuthentication.m:
* Source/GSInternal.h:
* Source/GSInvocation.h:
* Source/GSSocketStream.m:
* Source/NSArray.m:
* Source/NSAttributedString.m:
* Source/NSBundle.m:
* Source/NSCallBacks.m:
* Source/NSClassDescription.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSDateFormatter.m:
* Source/NSDistantObject.m:
* Source/NSFileHandle.m:
* Source/NSHost.m:
* Source/NSInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSNotificationCenter.m:
* Source/NSNumberFormatter.m:
* Source/NSObject.m:
* Source/NSPortCoder.m:
* Source/NSProcessInfo.m:
* Source/NSRunLoop.m:
* Source/NSScanner.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSSpellServer.m:
* Source/NSString.m:
* Source/NSTask.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLHandle.m:
* Source/NSURLProtocol.m:
* Source/NSURLResponse.m:
* Source/NSUnarchiver.m:
* Source/NSValueTransformer.m:
* Tools/AGSOutput.m:
* Tools/AGSParser.m:
* Tools/HTMLLinker.m:
* Tools/autogsdoc.m:
* Tools/sfparse.m:
Fix for git #233 by Larry Campbell
2022-01-15 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSPathUtilities.m:
Fix NSTemporaryDirectory() returning path with backslashes on
Windows.
2022-01-13 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSTimeZone.m:
Fix time zone lookup on Windows MSVC by converting Windows timezone
name to IANA identifier.
2022-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
Declare private method to avoid compiler warnings.
2022-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSString.h:
* Source/Additions/GSMime.m:
* Source/Additions/Unicode.m:
* Resources/English.lproj/Localizable.strings:
* Resources/Esperanto.lproj/Localizable.strings:
* Resources/French.lproj/Localizable.strings:
* Resources/German.lproj/Localizable.strings:
* Resources/Italian.lproj/Localizable.strings:
* Resources/Japanese.lproj/Localizable.strings:
* Resources/Korean.lproj/Localizable.strings:
* Resources/Polish.lproj/Localizable.strings:
* Resources/SimplifiedChinese.lproj/Localizable.strings:
* Resources/Spanish.lproj/Localizable.strings:
* Resources/TraditionalChinese.lproj/Localizable.strings:
Reinstate lost encoding constants (so that software using the
gnustep extenstions should work again). Also tidy some indentation
issues.
2021-12-21 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSOperation.m: fix handling of concurrent NSOperations
if isFinished KVO is triggered without the operation being finished,
and call completion block for concurrent operations. Also fixes
removing dependency observers more than once.
2021-12-14 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSBundle.m:
Default to UTF-8 when reading localized string files without BOM.
2021-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: (-disconnect:) try once if we are closing the TCP
connection, for up to 10 seconds if trying to keep it available.
* Source/NSFileHandle.m: (-sslDisconnect) operate in non-blocking
mode so that network issues should not cause a disconnect attempt
to hang. This should behave better on heavily loaded systems.
2021-11-23 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: check for zlib before bfd
* configure: regenerate
libbfd may need libz, so we must check for one before checking for
the other.
2021-11-21 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSURLConnection.h: Add
NSURLConnectionDataDelegate protocol.
* Headers/Foundation/NSURLRequest.h: Add enum for
NSURLNetworkServiceType.
2021-11-19 Richard Frith-Macdonald <rfm@gnu.org>
* Helpers/Launch.h:
* Helpers/capture.m:
* Helpers/keepalive.m:
* Helpers/respond.m:
* test00.m:
* test01.m:
* test02.m:
Rewrite helper launching so that the test process waits for up to
ten seconds for the helper to tell it that it's ready to accept
requests. This should make tests run a bit quicker (no longer
waiting a fixed interval for the helper to start) while allowing
longer for the helpers to start on slow systems, and thus making
the tests more reliable.
2021-11-11 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSBundle.h:
Annotate NSBundle localized string function with NS_FORMAT_ARGUMENT.
2021-09-20 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSFileManager.m:
Fix -[NSFileManager URLForDirectory:...] using incorrect NSURL
initializer and simplified implementation.
2021-09-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m:
* Source/NSURL.m:
Fix minor potential leaks.
2021-08-27 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <frederik@algoriddim.com>
* 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 <frederik@algoriddim.com>
* Headers/GNUstepBase/config.h.in:
* configure:
* configure.ac:
Use pkgconfig to find libxslt.
2021-07-29 Frederik Seiffert <frederik@algoriddim.com>
* 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 <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <frederik@algoriddim.com>
* 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 <frederik@algoriddim.com>
* 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 <frederik@algoriddim.com>
* Source/Additions/Unicode.m:
Fix possible heap corruption when converting to
NSNonLossyASCIIStringEncoding.
2021-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <frederik@algoriddim.com>
* 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 <rfm@gnu.org>
* 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 <greg.casamento@gmail.com>
* Headers/Foundation/Foundation.h: Add missing import for
NSByteCountFormatter.
2021-05-31 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <rfm@gnu.org>
* 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 <ivan@vucica.net>
* ChangeLog:
Update ChangeLog to release 1.28.0.
2021-04-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/DocMakefile:
Ignore GS_EXPORT_CLASS when generating documentation for
base/additions.
2021-04-22 Ivan Vucica <ivan@vucica.net>
* 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 <rfm@gnu.org>
* 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 <frederik@algoriddim.com>
* 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 <frederik@algoriddim.com>
* 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 <frederik@algoriddim.com>
* 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 <frederik@algoriddim.com>
* Source/NSRunLoop.m:
Fix libdispatch integration compilation error on Windows.
2021-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* 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.