Commit graph

943 commits

Author SHA1 Message Date
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