Commit graph

12172 commits

Author SHA1 Message Date
Levin Li
f64f13c2a7 Implement NSGB_18030_2000StringEncoding, NSGB_2312_80StringEncoding, NSGBK_95StringEncoding 2021-12-30 21:06:28 +08:00
Frederik Seiffert
b4ae7f7486 Fix handling of concurrent NSOperations 2021-12-27 21:52:34 +01:00
Frederik Seiffert
1980f9bdf6 Extended tests for concurrent NSOperations
- trigger isFinished KVO notification when not being finished
- add test for completion handler
2021-12-27 21:52:34 +01:00
Levin Li
d80eb7a069 Complete string encoding localization 2021-12-26 22:35:30 +08:00
Fred Kiefer
e797128a03
Merge pull request #226 from levinli303/master
Support more DOS/Windows string encodings
2021-12-26 13:08:56 +01:00
Frederik Seiffert
7a5c2a6550 Default to UTF-8 when reading localized string files without BOM. 2021-12-26 11:43:43 +01:00
Frederik Seiffert
4c1b2ef7d6 Fix Unicode checks for Windows using icu.h 2021-12-26 11:43:43 +01:00
Levin Li
fe2f41c7f1 Use encoding number values from Apple 2021-12-26 14:22:04 +08:00
Levin Li
ca6145efdd Support more DOS/Windows encodings 2021-12-25 16:36:18 +08:00
rfm
5f259c1658
Merge pull request #222 from iamleeg/nsdebugenabled
Add the NSDebugEnabled boolean
2021-12-21 08:55:51 +00:00
rfm
4db3f5c881
Merge pull request #220 from levinli303/patch-1
Do not call handler blocks if they are nil
2021-12-21 08:39:38 +00:00
Richard Frith-Macdonald
40de7fa39a Try to improve tls disconnect behavior where there are networking issues 2021-12-07 19:28:23 +00:00
Richard Frith-Macdonald
1c81bc1193 Update to have helper subtask tell master when it is ready for tests to start 2021-12-03 13:36:51 +00:00
Steven R. Baker
7525d942b7 Add the NSDebugEnabled boolean 2021-11-30 21:14:29 +00:00
Richard Frith-Macdonald
0950bed43b Tweak whitespace for code consistency 2021-11-29 14:01:41 +00:00
Frederik Seiffert
eea7d47a77 Restrict NS_FORMAT_ARGUMENT() to Clang.
Causes warning with recent GCC:
'format_arg' attribute directive ignored [-Wattributes]
2021-11-29 10:02:02 +01:00
Richard Frith-Macdonald
85711ee5f8 coding standard tweaks 2021-11-27 10:59:15 +00:00
Richard Frith-Macdonald
14a3ff4907 Fixup whitespace to conform to normal convention 2021-11-24 16:44:40 +00:00
Richard Frith-Macdonald
5ecd7fe1b2 Fix problem finding libbfd support on some systems 2021-11-23 14:08:42 +00:00
Levin Li
5b151c5fa0 Do not call handler blocks if they are nil 2021-11-23 18:34:34 +08:00
Gregory John Casamento
52065cad9a Remove white space 2021-11-21 03:42:47 -05:00
Gregory John Casamento
ca7aed5427 Correct error. Add NSInputStream forward reference 2021-11-21 03:33:59 -05:00
Gregory John Casamento
02a4762e99 Remove conflict line 2021-11-21 02:20:53 -05:00
Gregory John Casamento
d8b2e969ef Add NSConnectionDataDelegate protocol and NSRequestNetworkServiceType 2021-11-21 02:17:55 -05:00
Gregory John Casamento
eb743541aa Add NSConnectionDataDelegate protocol and NSRequestNetworkServiceType 2021-11-21 02:16:24 -05:00
Richard Frith-Macdonald
b7d82408a6 Make URL loading tests more reliable 2021-11-19 11:44:20 +00:00
Riccardo
e68b97d58b
Merge pull request #219 from gnustep/iconv_fix
improve iconv configure for headers
2021-11-17 13:36:16 +01:00
rfm
73a21f4553
Merge pull request #217 from gnustep/nsbundle-format-argument
Annotate NSBundle localized string function with NS_FORMAT_ARGUMENT
2021-11-17 09:51:32 +00:00
Riccardo Mottola
0bc09a8a73 also add include parameter for checking iconv library, or libc and gnulibiconv might get mixed 2021-11-16 01:23:57 +01:00
Frederik Seiffert
0af2c6de72 Add required cast in case nil is not defined as id 2021-11-13 22:16:46 +01:00
Frederik Seiffert
87783e2513 Annotate NSBundle localized string function with NS_FORMAT_ARGUMENT. 2021-11-11 16:41:50 +01:00
Richard Frith-Macdonald
b55ee6b0c5 Clarify that run loop watchers are NOT retained, and are responsible for removing themselves from the run loop when they have finished watching for events. 2021-11-11 10:01:52 +00:00
Fred Kiefer
824fcb8e65
Merge pull request #216 from madsmtm/fix-nsgetsizeandalignment
Fix `NSGetSizeAndAlignment` usage
2021-11-05 20:05:13 +01:00
Mads Marquart
4033ee28a8 Fix NSGetSizeAndAlignment usage
The argument order is (*sizep, *alignp), but it was often incorrectly used the other way around.
2021-11-02 10:18:05 +01:00
Fred Kiefer
f958c37c15
Merge pull request #213 from madsmtm/patch-1
Fix `NSData` `initWithBytesNoCopy:length:deallocator:`
2021-10-29 12:00:08 +02:00
Mads Marquart
9684c9fda1 Add test to ensure that NSData assigns bytes and length
Specifically on initWithBytesNoCopy:length:deallocator:
2021-10-29 10:17:39 +02:00
Mads Marquart
d439847ba6
Fix NSData initWithBytesNoCopy:length:deallocator:
The previous implementation simply swizzled `NSData` into `NSDataWithDeallocatorBlock`, and forgot to actually assign `bytes` and `length`.
2021-10-29 09:17:56 +02:00
Frederik Seiffert
47480d781a Add missing export declarations required by libs-gui on Windows MSVC 2021-10-26 10:28:51 +02:00
Frederik Seiffert
082e93aa9e CI: fix building for Windows MSVC x86
Fixes compilation for Win32 with Chocolatey LLVM installation, which was recently installed on GitHub runners and which defaults to x86_64-pc-windows-msvc target.
2021-10-20 18:42:21 +02:00
Frederik Seiffert
80f05c2278 Fix -[NSFileManager URLForDirectory:...] using incorrect NSURL initializer and simplified implementation 2021-10-20 18:42:21 +02:00
Nuntius
a906d29ffd Add NS_SWIFT_NOTHROW and NS_NOESCAPE 2021-09-27 17:25:19 +02:00
Richard Frith-Macdonald
c307a04a39 Fix minor leaks 2021-09-16 10:25:26 +01:00
Richard Frith-Macdonald
149acc40ae fix minor potential leaks 2021-09-16 10:20:41 +01:00
rfm
ed8be18af9
Merge pull request #204 from Fokka-Engineering/nsurlsession-additions
Implement NSURLSessionDownloadTask and NSURLSessionDownloadDelegate
2021-09-06 15:25:28 +01:00
Nuntius
b2983dc77a Workaround for the session retain loop 2021-09-04 13:07:14 +02:00
Nuntius
a5c66e7c5d Apply requested changes 2021-08-29 17:47:01 +02:00
Nuntius
a0ab740234 Implement URLSession:downloadTask:didFinishDownloadingToURL: delegate 2021-08-28 20:33:19 +02:00
Nuntius
d3e40dfc9d Begin implementation of NSURLSessionDownloadTask 2021-08-27 21:56:08 +02:00
Richard Frith-Macdonald
99ef0c9665 Forgot to update change log 2021-08-27 11:51:45 +01:00
rfm
f342cabfa9
Merge pull request #202 from gnustep/nstimezone
NSTimeZone rewrite
2021-08-27 11:47:46 +01:00