Commit graph

2512 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
d4df4b6d87 Add methods to control size of in-memory queue os emails 2020-11-14 04:25:34 +00: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
Richard Frith-Macdonald
36da869287 Change the behavior of ENTER_POOL/LEAVE_POOL so that it no longer wraps the enclosed section of code in a loop (this was causing errors when people used the macros inside loops which contained pre-existing break./continue/return statements). You should not break, continue, or return from such a block of code (to do so could leak an autorelease pool and give objects a longer lifetime than they ought to have. If you wish to leave the block of code early, you should ensure that doing so causes the autorelease pool outside the block to be released promptly (since that will implicitly release the pool created at the start of the block too). 2020-10-13 14:22:12 +01: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
Riccardo Mottola
24261fdc45 explicitely allow disabling unwind, test for header and function too 2020-07-28 01:02:55 +02:00
Frederik Seiffert
b9a9481c56 Update NSURLRequest header to use "instancetype". 2020-07-14 09:21:53 +02:00
rfm
69c9e77afb
Merge pull request #146 from gnustep/msys-fix
Fix MSYS2-32
2020-07-08 13:59:07 +01:00
Riccardo Mottola
b879e0835b explicitely test for ws2tcpip.h header, fix library detection on windows for inet_ntop with corrent library, guard includes and definitions with configure results, cleanup header inclusion 2020-06-09 13:44:42 +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
Riccardo Mottola
6ab0e3465f MSYS and MSYS2 differ in the tricks to include both windows.h and winsock2.h, use __MINGW32_VERSION to differentiate them 2020-06-05 16:32:55 +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
a0fe037077 Include winsock2.h before windows.h, as required by MSYS2/MinGW-w64. 2020-05-29 10:40:03 +02: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
9d252bd5b6 Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch 2020-05-12 12:09:27 -04:00
rfm
57e4eba479
Merge branch 'master' into file_creation_date 2020-05-12 13:25:49 +01: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
Riccardo Mottola
21c79c3500 Use utimensat() to set file modification date, if available. 2020-05-01 02:03:25 +02:00
Riccardo
e23ab3b394
Merge pull request #123 from gnustep/master
keep up with master
2020-04-30 11:14:10 +02: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
fc0c0da188 Remove last vestiges of MIXED ABI support (it didn't really work), and change code to assume that use of the apple runtime means we have the nonfragile ABI (true for modern apple systems we may be interested in using). Regenerate configure script. 2020-04-14 14:56:17 +01: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
Richard Frith-Macdonald
e95192db5c add ASSIGNMUTABLECOPY 2020-04-10 11:30:04 +01:00
Riccardo Mottola
624140d0fc Add tests for non-POSIX lstat() struct members 2020-04-09 09:05:46 +02: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