Commit graph

11357 commits

Author SHA1 Message Date
Richard Frith-Macdonald
dcfe2a2ce3 Fix -[NSCharacterSet invertedSet] to work by calling -invert on a mutable copy 2020-05-05 09:51:34 +01:00
rfm
d4dc2dafc9
Merge pull request #125 from niwatako/fix-loss-of-buffer-in-nsjsonserialization
Fix loss of buffer in NSJSONSerialization.
2020-05-01 16:38:04 +01:00
niwatako
6869df9a50 Fix loss of buffer in NSJSONSerialization.
The first time bufferSize is extended, number loses the previously parsed characters.
After malloc the number, copy the numberBuffer to the number.
2020-05-01 23:51:55 +09:00
rfm
40a482a579
Merge pull request #124 from alotorev/make-check-testobject
Added param to run a test on a separate object or test file.
2020-04-30 13:52:07 +01:00
Artem Lotorev
58e1b0ed48 Added param to run a test on a separate object or test file. Added .DS_Store to .gitignore 2020-04-30 14:18:05 +03:00
rfm
326c130937
Merge pull request #122 from alotorev/nsstring-percent-decoding-test
NSStrings percent decoding test
2020-04-28 10:09:22 +01:00
Artem Lotorev
f4c76af35c Merge branch 'master' into nsstring-percent-decoding-test 2020-04-28 11:23:06 +03:00
Artem Lotorev
56be28aa11 Fixed build issue due to wrong argument in the macro 2020-04-28 03:07:09 +03:00
Artem Lotorev
2e22bf344d Added helper method for percent decoding/encoding tests 2020-04-28 02:27:18 +03:00
Richard Frith-Macdonald
0aeaee68da Fixup -stringByAddingPercentEncodingWithAllowedCharacters: to ignore membership
of the supplied set if the character is not in the ASCII range.
2020-04-27 20:25:24 +01:00
Artem Lotorev
4b53530b5c Added test for [NSString stringByRemovingPercentEncoding], updated percent-encoding tests with PASS_EQUAL 2020-04-27 19:59:05 +03:00
Richard Frith-Macdonald
9eb0fd4e1a Fix typo spotted by 'alotrev' 2020-04-27 09:14:36 +01:00
fredkiefer
a48694941c Add newer features for NSDateComponents and
started to clean up NSCalendar implementation.
2020-04-26 21:13:22 +02:00
fredkiefer
4fe6cb20a1 Started to rewrite NSCalendar to handle more components correctly. 2020-04-26 00:32:49 +02:00
fredkiefer
82e9ddc21f Add missing NSDateComponents methods. 2020-04-25 22:19:20 +02:00
Richard Frith-Macdonald
a9767cdff7 Override -hash and -isEqual: so that notifications with the name name, object, and userInfo are considered equal. This is the OSX behavior. 2020-04-21 09:16:53 +01:00
Richard Frith-Macdonald
ccfb05525e Merge branch 'master' of github.com:gnustep/libs-base 2020-04-21 09:03:25 +01:00
Richard Frith-Macdonald
cd68b7e4da Add tests for notification equality 2020-04-21 09:02:34 +01:00
Richard Frith-Macdonald
05f442de8b Fix for NSURLResponse does not allow for multiple Set-Cookie headers in the same response #85 ... combine multiple header values as a comma separated list. 2020-04-16 23:04:37 +01:00
Richard Frith-Macdonald
6d714c8ee1 Fix for Deadlock in NSOperationQueue #49: If an exception occurs when trying to detach thread, catch it and log it so that locking is not broken by the exception breaking out of the lock protected region. 2020-04-16 22:48:25 +01:00
Richard Frith-Macdonald
6ee0cfff00 Add testcase for multiple clookies in a header. Fix error parsing a literal
string (writing nul terminator to read only memory)
2020-04-16 20:19:53 +01:00
Richard Frith-Macdonald
3d1e84f6fe rewrite code for separating individual cookies from a comma separated header so
it better matches what OSX does (and is hopefully a bit simpler)/
2020-04-16 19:39:32 +01:00
Richard Frith-Macdonald
89a643ef12 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2020-04-16 10:48:58 +01:00
Richard Frith-Macdonald
d048dfbea5 Fix use of OBJC_RUNTIME_LIB before it was initialised.
Thanks to J. Brakensiek for spotting this.
2020-04-16 10:26:48 +01:00
Richard Frith-Macdonald
6bb15c344d Fix use of OBJC_RUNTIME_LIB before it was initialised.
Thanks to johannes@brakensiek.info for spotting this.
2020-04-16 09:39:35 +01:00
Richard Frith-Macdonald
132729e6e0 Add casts to avoid compiler warnings bout type of method 2020-04-15 10:40:41 +01:00
Richard Frith-Macdonald
09e9354f08 Fully type method implementatyion pointers. 2020-04-15 10:31:55 +01:00
Ivan Vučica
4e98c82396
documentation: Regenerate the announcement file. 2020-04-14 23:54:43 +01:00
Ivan Vučica
93bee1890e
documentation: Standardize announcement file text.
Normalize the accompanying text for the release announcement across
core packages: standardize chapter name and GPG information.
2020-04-14 23:54:36 +01:00
Richard Frith-Macdonald
53f5957030 When building outside GNUstep (additions for apple), include the runtime
declarations and fix error in casting self.
2020-04-14 17:18:24 +01: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
7829ab86b5 Fix line somehow missed from ast commit 2020-04-14 08:26:07 +01:00
Richard Frith-Macdonald
47ce8d3da7 Remove custom code for percent escaping and replace it with standard code using
custom charactersets.
2020-04-13 10:05:57 +01:00
Richard Frith-Macdonald
225de7f9b3 test the URL component character sets 2020-04-13 09:20:59 +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
df1b6dd6d5 Characterset memory usage and code organisation consistency improvements. 2020-04-12 12:28:07 +01:00
Richard Frith-Macdonald
61bd73832f use PASS_EQUAL for better diagnostics 2020-04-10 14:23:22 +01:00
Richard Frith-Macdonald
e95192db5c add ASSIGNMUTABLECOPY 2020-04-10 11:30:04 +01:00
rfm
4ae957746e
Merge pull request #116 from triplef/fix-nsoperation-completion-block
Fixed NSOperation completion block memory management.
2020-04-10 11:05:41 +01:00
Frederik Seiffert
cc56c9cc97 Fixed NSOperation completion block memory mgmt. 2020-04-09 09:24:43 +02:00
Ivan Vučica
958dec0db2
release-chore: Release 1.27.0.
Version has been previously bumped; this commit updates release
documentation.
2020-04-05 19:00:40 +01:00
Ivan Vučica
3e806f96a2
release-chore: Fix some of the ChangeLog formatting. 2020-04-05 18:59:31 +01:00
Richard Frith-Macdonald
882b1419f5 remove redundant/repeated line 2020-04-05 10:27:02 +01:00
Richard Frith-Macdonald
ebaf23e295 Fix boundary error removing percent escapes 2020-04-05 10:26:28 +01:00
Richard Frith-Macdonald
4bc622bafd Add a few tests and fix a few warnings 2020-04-05 10:25:54 +01:00
Fred Kiefer
adb67ee405
Merge pull request #118 from gnustep/fix-nsurlcomponents
fixups for setting/getting nil/empty query string values
2020-04-05 09:06:24 +02:00
Richard Frith-Macdonald
2a24e8d080 fixups for setting/getting nil/empty query string values 2020-04-04 22:37:40 +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
fredkiefer
b0c763de36 Build the string instead of the URL.
Build the URL on the fly.
2020-04-04 20:33:55 +02:00
Gregory John Casamento
bc0be86d46 Merge branch 'fix-nsurlcomponents' of github.com:gnustep/libs-base into fix-nsurlcomponents 2020-04-04 12:34:21 -04:00