Richard Frith-Macdonald
c1833e1130
Github issue #312 ... add thread safety for Apple compatibility
2023-08-18 11:21:24 +01:00
Frederik Seiffert
668d6c4977
Change NSNumberFormatter minimum/maximum properties from NSDecimalNumber to NSNumber to match Apple platforms
2023-08-10 12:20:06 +02:00
Frederik Seiffert
f0e33a48d5
Fix NSFileManager thread safety
2023-07-26 11:56:04 +02:00
Gregory John Casamento
7a76635360
Revert "Add method declarations to NSUserActivity"
...
This reverts commit 32cda86b09
.
Accidentally committed to master.
2023-05-23 19:56:05 -04:00
Gregory John Casamento
32cda86b09
Add method declarations to NSUserActivity
2023-05-23 19:54:45 -04:00
Gregory John Casamento
6fbaa7ca33
Update macOS version to 10.10 as per documentation. Minor update
2023-05-23 15:16:56 -04:00
Frederik Seiffert
f3555406af
Add stub methods for secure unarchiving
2023-05-10 06:59:40 +02:00
Frederik Seiffert
82d9917c2c
NSURLSession: implement missing body data for data completion handlers
...
Now using the previously unused "in-memory" body data drain if a task has a completion handler, which requires the full body to be passed on completion.
Also consolidated private NSURLSessionTask methods, some of which were previously implemented twice in separate categories with the same name, leading to possible undefined runtime behavior.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
2f5b26df06
Add missing NSURLSession APIs
2023-03-11 20:22:00 +01:00
Doug Simons
bf586eca1b
implement setAttributes:ofItemAtPath:error: method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/gnustep_testplant_branch@40428 72102866-910b-0410-8b05-ffd578937521
2022-12-09 15:58:39 +01:00
Richard Frith-Macdonald
d5d8a71c79
Allow certificate based rejection of DO connection attempts.
2022-11-21 10:40:33 +00:00
Gregory Casamento
e835725b86
Merge pull request #251 from gnustep/nstask_updates
2022-06-17 02:21:22 -04:00
Richard Frith-Macdonald
fa27828206
Remove duplicate
2022-06-16 13:32:13 +01:00
Richard Frith-Macdonald
86790ff966
Add some more recent appl error codes
2022-06-16 12:26:39 +01:00
Gregory John Casamento
bcc87bccda
Implement 10.13 methods for NSTask
2022-06-08 14:09:09 -04:00
Gregory John Casamento
6c7386f5e1
Add new methods for NSTask
2022-06-07 21:32:11 -04:00
Gregory John Casamento
cc38f2f4a1
Import NSString.h to fix issue that occurs in libs-gui/Source/NSFontAssetRequest.m -- fix suggested by @triplef
2022-04-30 05:56:51 -04:00
Frederik Seiffert
6de8384ea5
Fix NSDictionary forward declaration in NSProgress.h
2022-04-30 11:00:10 +02:00
Frederik Seiffert
ba71c24cad
Fix forward declarations in NSProgress.h
2022-04-30 09:54:00 +02:00
Frederik Seiffert
8ca4381676
Add userInfo accessor to NSProgress.
2022-04-29 19:54:09 +02:00
Gregory John Casamento
e99dd4ec6b
Add implementation for getEra:... and getHour:... method in NSCalendar. Add documentation to all methods.
2022-04-06 14:19:36 -04:00
Gregory John Casamento
71e07e1a82
Add component:fromDate:
2022-04-04 23:57:10 -04:00
Gregory John Casamento
cb87724a21
Add 10.9 methods for getEra:..., getHour:... etc
2022-04-04 19:26:22 -04:00
Gregory John Casamento
95a24fb651
Add new methods for NSIndexPath. Add row, section, item and new init methods
2022-03-07 07:35:12 -05:00
Gregory John Casamento
77e6315e2e
Correct issues as discussed in PR by Fred and Richard.
2022-03-06 20:59:27 -05:00
Gregory John Casamento
f42def6ea5
Add necessary methods to NSIndexPath to support NSCollectionView with layouts. Needed item,section information in NSIndexPath object
2022-03-03 02:26:33 -05:00
rfm
7187cab003
Merge pull request #240 from triplef/instancetype-and-generics
...
Annotated various methods with instancetype and generics
2022-02-18 11:52:44 +00:00
Richard Frith-Macdonald
c76ebf2962
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-17 10:08:18 +00:00
Frederik Seiffert
829a39663c
Annotated various methods with generics
2022-02-14 12:44:35 +01:00
Frederik Seiffert
20152fc291
Update NSString header to use "instancetype".
2022-02-14 10:15:09 +01:00
Richard Frith-Macdonald
3bc05ad580
Patch by Larry Campvell for git #237
2022-02-12 13:06:23 +00:00
Gregory Casamento
9c129a1e7f
Merge pull request #207 from Fokka-Engineering/swift-compatibility
2022-01-09 12:31:17 -05:00
Gregory John Casamento
28f5c4fb50
Definition of NS_INLINE
2022-01-08 16:09:45 -05:00
Richard Frith-Macdonald
81ad2f403b
Reinstate removed string encodings.
2022-01-04 10:12:58 +00: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
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
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
Richard Frith-Macdonald
14a3ff4907
Fixup whitespace to conform to normal convention
2021-11-24 16:44:40 +00: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
eb743541aa
Add NSConnectionDataDelegate protocol and NSRequestNetworkServiceType
2021-11-21 02:16:24 -05: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
Frederik Seiffert
47480d781a
Add missing export declarations required by libs-gui on Windows MSVC
2021-10-26 10:28:51 +02:00
Nuntius
a906d29ffd
Add NS_SWIFT_NOTHROW and NS_NOESCAPE
2021-09-27 17:25:19 +02:00
Nuntius
d3e40dfc9d
Begin implementation of NSURLSessionDownloadTask
2021-08-27 21:56:08 +02:00
rfm
1e8ff8e628
Merge branch 'master' into nstimezone
2021-08-18 14:52:24 +01:00
Richard Frith-Macdonald
1fe008304a
Formatting tidyups
2021-08-18 14:03:25 +01:00
Nuntius
ca5e4fc239
Adjust formatting
2021-08-17 15:03:09 +00:00
Nuntius
c3daa41f2d
Fix indentation
2021-08-17 13:57:37 +00:00
Nuntius
9b3caf99fd
Implement 10.11 NSURL initFileURLWithPath: initializers
2021-08-17 10:30:19 +00:00
Richard Frith-Macdonald
5162d888dc
timezone updates for version2 files
2021-08-11 08:43:20 +01:00
Frederik Seiffert
abfe4e2a04
Use native threading and locking APIs on Windows
...
Removes dependency on pthread library and uses 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-29 14:22:27 +02:00
Richard Frith-Macdonald
a29248bd4d
Differentiate between client/server for DO over TLS
2021-06-24 08:50:28 +01:00
Gregory John Casamento
ed0a6bd7bd
Fix changelog after merge from master.
2021-06-02 08:37:41 -04:00
Gregory John Casamento
68bac0b3b1
Add missing import for NSByteCountFormatter into Foundation.h
2021-06-02 08:36:14 -04:00
Richard Frith-Macdonald
e42d9fdc6b
New code for secure (encrypted) inter-host distrinuted objects.
2021-05-31 13:19:42 +01:00
Richard Frith-Macdonald
bd5f2909e6
Simplify conversion of a string to data (use base class code) and fix to handle the insertion of BOM consistently (as on OSX) for encodings where the byte order matters but is not specified by the encoding.
2021-04-14 09:57:11 +01:00
Frederik Seiffert
0582eddd96
Export string constants and annotate exported function implementations
...
Moves scattered string constants to externs.m, and removes obsolete code replacing constant strings.
2021-03-27 17:36:15 +01:00
Frederik Seiffert
825b43be7e
Remove incorrect GS_EXPORT_CLASS from category.
...
Fixes warning on Windows MSVC, as only classes can be exported.
2021-03-26 14:07:10 +01:00
Frederik Seiffert
7800e27879
Add missing GS_EXPORT annotations to various string constants.
2021-03-26 13:17:36 +01:00
Frederik Seiffert
09a9dfca1f
Add missing GS_EXPORT_CLASS annotations.
2021-03-26 13:17:36 +01:00
Frederik Seiffert
107ee8edc3
Fix incorrect type of pid_t on Windows MSVC.
2021-03-25 12:05:06 +01:00
Frederik Seiffert
780d71f559
Add missing GS_EXPORT_CLASS annotations.
2021-03-23 09:50:49 +01:00
Frederik Seiffert
172e75b865
Add unscheduled NSTimer block initializer.
2021-03-03 10:03:14 +01:00
Frederik Seiffert
5c562c546f
Windows MSVC fixes
2021-02-12 14:33:04 +01:00
Frederik Seiffert
61709e6101
Support building on Windows with Clang MSVC target
2021-02-03 15:02:27 +01:00
Richard Frith-Macdonald
1b7bf26bea
Merge changes for NSURLSession from EngageHub (formerly Brainstorm).
2020-11-29 06:57:47 -05:00
Richard Frith-Macdonald
5aa4b7a732
Declare NSURL before using it.
2020-11-18 09:22:41 +00:00
Frederik Seiffert
88a2e0809f
Add NSFileHandle URL initializers.
...
Also use "instancetype" for all initializers.
2020-11-17 19:48:05 +01:00
Richard Frith-Macdonald
a34beadb8e
Merge branch 'gnustep_testplant_mergeback' of https://github.com/TestPlant/libs-base into TestPlant-gnustep_testplant_mergeback
...
Conflicts:
ChangeLog
2020-11-13 05:39:15 +00:00
rfm
17af685b1a
Merge branch 'master' into nsurl-additions
2020-11-06 09:36:42 +00:00
Gregory John Casamento
2ba26ce34a
fix for compilation error
2020-10-27 09:44:21 -04:00
Gregory John Casamento
f675da8c68
Add guards for API version
2020-10-27 00:47:42 -04:00
Gregory John Casamento
85f590f88e
Add methods for 10.5
2020-10-26 23:53:11 -04:00
Adam Fox
0b69d88ee2
Implementation of [NSData rangeOfData:options:range], adapted from [NSString rangeOfString:options:range].
2020-10-12 12:22:00 -06:00
Richard Frith-Macdonald
f381b5f09b
whitespace tidyups
2020-09-30 09:45:38 +01:00
Frederik Seiffert
01e7034262
Add NSURL methods:
...
- URLByAppendingPathComponent:isDirectory:
- isFileReferenceURL (always returns NO)
- fileReferenceURL
- filePathURL
2020-08-03 13:08:15 +02:00
Gregory John Casamento
24ac97e59d
Add NSNotificationName typedef
2020-08-02 11:19:05 -04:00
Gregory John Casamento
ff3a501d7d
Add NSAttributedStringKey typedef
2020-08-02 08:14:07 -04:00
Frederik Seiffert
b9a9481c56
Update NSURLRequest header to use "instancetype".
2020-07-14 09:21:53 +02:00
Gregory John Casamento
3b315b9d21
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2
2020-06-08 04:12:45 -04:00
Fred Kiefer
c2bc6e709a
Merge pull request #139 from triplef/fix-nsfilepresenter-optional
...
Fix optional NSFilePresenter methods not being declared as optional.
2020-06-06 12:55:30 +02:00
Gregory John Casamento
597f0a917e
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2
2020-05-31 17:41:23 -04:00
Frederik Seiffert
2be366e05d
Fix warning "setjmp" redefined on Windows.
2020-05-29 10:39:39 +02:00
Frederik Seiffert
d04bbaafd7
Fix optional NSFilePresenter methods not being declared as optional.
2020-05-27 10:42:31 +02:00
Gregory John Casamento
2b38728f6e
Merge branch 'master' into NSSecureCoding_branch2
2020-05-15 10:08:56 -04:00
Gregory John Casamento
4230180eab
Add set/get for requiresSecureCoding
2020-05-15 10:06:39 -04:00
Frederik Seiffert
a8aba20a86
Fix BASE_NATIVE_OBJC_EXCEPTIONS check with OBJC_ZEROCOST_EXCEPTIONS.
2020-05-14 16:59:38 +02:00
Gregory John Casamento
1a6a091fc4
Add set/get method for requiresSecureCoding
2020-05-13 02:29:53 -04:00
Gregory John Casamento
be8980dfb4
Fix fred's suggestions. Put guard and make more general method the one which is called.
2020-05-12 14:01:44 -04:00
Gregory John Casamento
264811b3d0
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch
2020-05-07 17:10:50 -04:00
Frederik Seiffert
b549dbbaec
NSLocale improvements
...
Use "instancetype" for instance-returning methods. Fix method signature of -displayNameForKey:value:.
2020-05-07 15:30:36 +02:00
Frederik Seiffert
5dfda50d82
Implement -[NSXMLParser initWithStream:].
2020-05-05 19:41:22 +02:00
Gregory John Casamento
76fac00cd2
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch
2020-05-04 05:50:58 -04:00
fredkiefer
82e9ddc21f
Add missing NSDateComponents methods.
2020-04-25 22:19:20 +02:00
Gregory John Casamento
082f87fbc3
Start implementing some secure coding methods.
2020-04-24 03:59:17 -04:00
Richard Frith-Macdonald
ccb8594bc0
Fix [NSURLProtocol -initWithRequest:cachedResponse:client:] to retain the client (up until the last message is sent to it) as OSX does.
2020-04-13 08:53:02 +01:00
Gregory Casamento
a7867718b0
Merge pull request #115 from gnustep/fix-nsurlcomponents
...
Merging since all outstanding bugs appear to have been addressed.
2020-04-04 15:55:00 -04:00
Gregory John Casamento
564f61d572
Add tests for NSURLComponents
2020-04-04 09:44:22 -04:00
Gregory John Casamento
20745f34bc
Move MISSING file to root of base.
2020-04-02 06:21:48 -04:00
Gregory John Casamento
21036dd695
Add change from master for NSObjCRuntime.
2020-03-30 05:16:37 -04:00
Gregory John Casamento
5db21d0a83
Merge branch 'master' into fix-nsurlcomponents
2020-03-29 11:35:59 -04:00
rfm
2bdc61776e
Merge pull request #114 from triplef/add-nserror-domain
...
Added NSErrorDomain typedef.
2020-03-29 11:17:52 +01:00
Gregory John Casamento
07158ec360
Merge branch 'master' into fix-nsurlcomponents
2020-03-27 00:51:09 -04:00
Gregory John Casamento
64c193bd7c
Move typedef to correct place
2020-03-27 00:48:07 -04:00
Gregory John Casamento
3c1838cd60
Add minor typedef
2020-03-26 09:29:55 -04:00
Gregory John Casamento
ddbd89ce70
Add minor typedef to NSObjCRuntime.h
2020-03-26 09:27:55 -04:00
Frederik Seiffert
5f9982812e
Added NSErrorDomain typedef.
2020-03-26 14:16:44 +01:00
fredkiefer
95abcbd694
* Source/NSURL.m: Fix compiler warnigns.
...
* Headers/Foundation/NSLocale.h,
* Source/NSLocale.m: Add a few convenience methods from MacOS 10.12.
2020-03-12 14:58:46 +01:00
Frederik Seiffert
1a2616b850
Updated NSURL to use instancetype.
2020-03-04 13:16:24 +01:00
Richard Frith-Macdonald
ee8059c6f4
update copyright date
2020-02-19 09:18:24 +00:00
Mingye Wang
f63f44907d
Update XML dict documentation
2020-02-17 12:31:42 +08:00
Mingye Wang
c2d44f800a
NSPropertyList.h: mention base64 encoding
...
Base64 parsing is supported since 3f2fa9ddfe
and it is the default since 9aa5d4cd04
. We should definitely document that.
2020-02-17 12:02:20 +08:00
Richard Frith-Macdonald
c8cfcec652
remove the workarund for clang/unistd.h clash with __blocks
2020-02-11 17:11:30 +00:00
Richard Frith-Macdonald
0cd9843f5f
workaround for conflisct with clang/unistd.h
2020-02-08 16:37:42 +00:00
rmottola
e9fa0afa62
include necessary headers and provide MinGW quick fallback for types
2020-02-01 16:15:37 +01:00
Richard Frith-Macdonald
b91fab7665
Fix method types. Fix indentation/line-wrapping. Fix stubs to raise exception
2020-01-27 14:43:59 +00:00
Frederik Seiffert
a18bec3a16
Updated NSUUID to use instancetype.
2020-01-13 16:27:12 +01:00
Gregory John Casamento
753c907938
Fix address for FSF and License name in all headers in base
2019-12-09 18:36:00 -05:00
Frederik Seiffert
a9641e6818
Added support for temp and caches dir on Android.
2019-11-15 09:04:58 +01:00
fredkiefer
1915415b48
* Headers/Foundation/NSXPCConnection.h,
...
* Source/NSXPCConnection.m: Fix broken compilation on gcc.
2019-11-14 23:02:30 +01:00
Riccardo Mottola
879bd3bb55
include missing header
2019-11-14 21:34:19 +01:00
Gregory John Casamento
f2e8385c3f
Update MISSING file.
2019-11-13 04:18:13 -05:00
Gregory John Casamento
fe22c1f998
Add final files
2019-11-13 04:17:00 -05:00
Gregory John Casamento
2c1be24ac3
Add skeletons of NSXPCConnection.
2019-11-13 02:31:09 -05:00
Gregory John Casamento
d33e0f2605
NSItemProvider skeleton implementation.
2019-11-12 22:59:47 -05:00
Gregory John Casamento
814f492a55
Add headers to Foundation.h
2019-11-10 23:37:38 -05:00
Gregory John Casamento
3d9598e2a0
Make NSExtensionRequest conform to protocol
2019-11-10 23:02:59 -05:00
Gregory John Casamento
73bcd161cc
Add files
2019-11-10 18:43:12 -05:00
Gregory John Casamento
6b6a11aaa7
Skeleton of extension context
2019-11-10 16:48:48 -05:00
Gregory John Casamento
996b40ad34
Implement other formatting methods in terms of the main one
2019-11-07 03:55:31 -05:00
Gregory John Casamento
71dd282a1c
Update MISSING
2019-11-06 19:16:56 -05:00
Gregory John Casamento
d23af67ea7
Skeletons
2019-11-06 19:16:23 -05:00
Gregory John Casamento
d7b854a0d2
Add NSDateComponentsFormatter
2019-11-06 19:04:41 -05:00
Gregory John Casamento
ba3d60c5ab
Update stringForObjectValue:
2019-11-06 00:19:23 -05:00
Gregory John Casamento
9e96cbd1c8
Update MISSING file
2019-11-05 20:34:17 -05:00
Gregory John Casamento
4a3de6cb47
Implement simple methods
2019-11-05 19:59:03 -05:00
Gregory John Casamento
e424e8dcc9
Init and release instance vars
2019-11-05 05:50:21 -05:00
Gregory John Casamento
7fd7763408
Add forward declarations.
2019-11-05 04:23:57 -05:00
Gregory John Casamento
2203295a4e
Add NSOrthography
2019-11-05 04:22:40 -05:00
Gregory John Casamento
30162a9a1e
Add NSOrthography and NSLinguisticTagger
2019-11-05 04:04:59 -05:00
Gregory John Casamento
1fe061b1dc
Dummy implementation of NSHFSFileTypes
2019-11-01 21:17:36 -04:00
Gregory John Casamento
3b5016e54f
Add to foundation
2019-11-01 15:42:59 -04:00
Gregory John Casamento
32f0be6255
Update MISSING file
2019-11-01 15:34:45 -04:00
Gregory John Casamento
370d52e574
Class placeholders.
2019-11-01 01:26:43 -04:00
Gregory John Casamento
6ec1aca427
Implement NSISO8601DateFormatter fully
2019-10-31 03:19:31 -04:00
Richard Frith-Macdonald
cfa2b65cdb
Fix clang cmpilation failure and coding style issues
2019-10-30 08:19:54 +00:00