rfm
d1d5552dfb
Fixup for requests with paths containing escaped slashes
2025-02-14 12:34:07 +00:00
rfm
65b9b55e01
Fix dealloc when init has not been called
2024-11-17 16:31:37 +00:00
rfm
5b46efa8cd
More leak fixes
2024-11-16 21:11:56 +00:00
rfm
6667842dd5
Update FSF address as requested by Gregory
2024-11-07 13:37:59 +00:00
rfm
1c2b81d724
Fix C-string termination issues and a few dead assignments
2024-06-19 14:53:51 +01:00
Riccardo Mottola
08858caf29
cleanup biolerplate comments, enable autogsdoc comments, cleanup some old RCS/CVS tags, fix emails
2023-12-23 02:44:50 +01:00
Frederik Seiffert
48c8a1a6a1
Fix NSURL path on Windows for UNC paths
2023-07-26 18:21:07 +02:00
Hugo Melder
baf1bb9f73
initWithScheme:host:path: update parser to detect Windows ALPHA symbol
2022-08-10 17:14:24 +02: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
Richard Frith-Macdonald
e9ed77fb68
Fixups for memory amangement and thread safety issues
2022-01-31 16:57:10 +00:00
Sergei Golovin
cce60ccc51
* use handle from the cache only if the caller asked
2022-01-30 06:54:56 +04:00
Mads Marquart
4033ee28a8
Fix NSGetSizeAndAlignment usage
...
The argument order is (*sizep, *alignp), but it was often incorrectly used the other way around.
2021-11-02 10:18:05 +01:00
Richard Frith-Macdonald
c307a04a39
Fix minor leaks
2021-09-16 10:25:26 +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
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
01e7034262
Add NSURL methods:
...
- URLByAppendingPathComponent:isDirectory:
- isFileReferenceURL (always returns NO)
- fileReferenceURL
- filePathURL
2020-08-03 13:08:15 +02:00
alotorev
4aa11f3e48
Improvements suggested by Fred Kiefer for the current pull request
2020-05-04 10:55:41 +03:00
alotorev
2a547271ad
OSX like behaviour for NSURLQueryItem initialisers
2020-05-04 02:27:26 +03:00
alotorev
ce1c03f6da
Fixed bugs leading to leaks, no autorelease in NSURLComponents factory methods.
2020-05-04 02:00:53 +03:00
alotorev
ec62905dd6
Fixed initialization NSURLComponents with NSURL, should treat a query from NSURL as a percent-encoded string.
2020-05-04 01:58:54 +03: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
882b1419f5
remove redundant/repeated line
2020-04-05 10:27:02 +01:00
Richard Frith-Macdonald
2a24e8d080
fixups for setting/getting nil/empty query string values
2020-04-04 22:37:40 +01:00
fredkiefer
b0c763de36
Build the string instead of the URL.
...
Build the URL on the fly.
2020-04-04 20:33:55 +02: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
fredkiefer
181346c568
Get too compile with gcc.
...
Address some pull request comments.
2020-04-03 17:53:34 +02:00
Gregory John Casamento
14274bffd2
Fix issues pointed out by fred k.
2020-04-02 06:08:17 -04:00
Gregory John Casamento
fd354f4167
Changes to fix issues pointed out by Fred and RFM
2020-04-01 10:08:44 -04:00
Gregory John Casamento
bc614d4bd8
Regenerate in one place.
2020-04-01 08:48:51 -04:00
Gregory John Casamento
b594d047c1
Fix issues with regeneration.
2020-04-01 08:46:45 -04:00
Gregory John Casamento
4dff7a76a9
Refactor regeneration of URL.
2020-04-01 08:00:26 -04:00
Gregory John Casamento
f6940daac9
Add code to allow percent coded set/get methods to reflect the values set by the non-encoded versions
2020-03-31 05:07:38 -04:00
Gregory John Casamento
2fb63480be
Remove slash
2020-03-30 09:24:18 -04:00