Commit graph

11341 commits

Author SHA1 Message Date
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
Gregory John Casamento
d691df9cbf Fix error in test compilation 2020-04-04 12:34:15 -04:00
Richard Frith-Macdonald
ac45beb4c1 fix error in refactoring query (storing name twice rather than name/value) 2020-04-04 17:32:27 +01:00
Gregory John Casamento
cf13a7c21b Merge branch 'fix-nsurlcomponents' of github.com:gnustep/libs-base into fix-nsurlcomponents 2020-04-04 12:15:24 -04:00
Gregory John Casamento
213344d862 Add tests and modifications to pass them 2020-04-04 12:15:17 -04:00
Richard Frith-Macdonald
8eff23e780 Rewrite query handling code to try to mimic OSX documentation with regards to
the differences between setting nil/empty query strings/items and also in the
handling of query items with nothing before the '=', nothing after the '=',
and the case where there is no '=' character (also the totally empty case
where the query string contains a double ampersand (&&) sequence).
2020-04-04 15:13:14 +01:00
Gregory John Casamento
86276f0c7f Fix issue with scheme 2020-04-04 09:54:42 -04:00
Gregory John Casamento
564f61d572 Add tests for NSURLComponents 2020-04-04 09:44:22 -04:00
Richard Frith-Macdonald
4ffce48b04 I suggest when we regenerate we build the URL by appending to a mutable string
sas this would be hugely more efficient.
2020-04-04 14:22:25 +01:00
fredkiefer
d05b799740 Restore caching of URL.
Rewrite URL building to get the ranges correct.
Build URL with escaped components.
Build query from percentEncodedQueryItems.
2020-04-04 13:36:51 +02:00
Gregory John Casamento
ca6e48910a Minor fix to remove/add percent encoding to name portion of query item 2020-04-04 07:04:06 -04:00
Gregory John Casamento
5f1541d154 Always regenerate when we call [NSURLComponents URL] otherwise subsequent calls will return nil 2020-04-04 06:48:02 -04:00
Gregory John Casamento
b71f65f478 Fixes for FIXME's 2020-04-04 06:38:19 -04:00
Gregory John Casamento
d5c163397f Remove explicit reference to _url. Always regenerate when needed. 2020-04-03 17:39:35 -04:00
Gregory John Casamento
2d135069fb Remove query 2020-04-03 15:48:27 -04:00
fredkiefer
0bc1052bd6 Fix typo in last commit. 2020-04-03 18:37:55 +02:00
fredkiefer
c170c8c1e7 Correct more issues and flag the remaining ones with "FIXME". 2020-04-03 18:15:07 +02:00