ObjFW  History of tests/OFURLTests.m of 38ae730b61027506

History of file tests/OFURLTests.m at check-in 38ae730b61027506

2024-04-03
02:16
Change license to LGPLv3 only file: [cb4d01184f] check-in: [7413a728a7] user: js, branch: trunk, size: 17801 [annotate] [blame] [check-ins using] [diff]
2024-03-10
18:44
OFIRI: Add methods for path extension file: [fc355e1de3] check-in: [0ca94307e6] user: js, branch: trunk, size: 17593 [annotate] [blame] [check-ins using] [diff]
16:23
OFIRI: Add -[IRIByDeletingLastPathComponent] file: [287e2de2cf] check-in: [e832f884e6] user: js, branch: trunk, size: 16628 [annotate] [blame] [check-ins using] [diff]
16:03
Add test for -[OFIRI IRIByAppendingPathComponent:] file: [73a758592c] check-in: [3f3ddad4c8] user: js, branch: trunk, size: 15935 [annotate] [blame] [check-ins using] [diff]
2024-02-18
19:29
Renamed new_tests/OFIRITests.m → tests/OFIRITests.m. Rename new tests file: [55f0cf3dc6] check-in: [7a84580fb6] user: js, branch: objfwtest, size: 15350 [annotate] [blame] [check-ins using] [diff]
2024-02-12
21:31
Migrate OFSetTests to ObjFWTest file: [55f0cf3dc6] check-in: [a7780ddefc] user: js, branch: objfwtest, size: 15350 [annotate] [blame] [check-ins using] [diff]
2024-02-11
20:49
Migrate OFArrayTests to ObjFWTest file: [f4eb7c532e] check-in: [7272d5b2cd] user: js, branch: objfwtest, size: 15350 [annotate] [blame] [check-ins using] [diff]
13:49
Renamed tests/OFIRITests.m → new_tests/OFIRITests.m. Migrate OFIRITests to ObjFWTest file: [9073999825] check-in: [5796b73644] user: js, branch: objfwtest, size: 15333 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [3036a831f2] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 14865 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [96d1dc951e] check-in: [8939cbdb52] user: js, branch: trunk, size: 14865 [annotate] [blame] [check-ins using] [diff]
2022-11-25
23:15
-[IRIByAddingPercentEncodingForUnicodeCharacters] file: [9d4e72c837] check-in: [f77acec498] user: js, branch: trunk, size: 14865 [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
Renamed tests/OFURITests.m → tests/OFIRITests.m. Rename OFURI to OFIRI file: [91e81f03e0] check-in: [23272e6d43] user: js, branch: trunk, size: 14675 [annotate] [blame] [check-ins using] [diff]
2022-11-23
23:33
OFURI: Accept IRIs file: [becd53da30] check-in: [03cb622525] user: js, branch: trunk, size: 14675 [annotate] [blame] [check-ins using] [diff]
2022-10-11
19:27
OFURI: Make scheme and path nonnull

This is as per the RFC, which says the scheme and path can never be
missing, while the path can be empty. file: [e9cb46977b] check-in: [3e455c4839] user: js, branch: trunk, size: 14188 [annotate] [blame] [check-ins using] [diff]

00:18
OFURI: Remove percentEncodedScheme

The scheme does not allow percent encoding. file: [ba89cb38e8] check-in: [13ead1212f] user: js, branch: trunk, size: 14168 [annotate] [blame] [check-ins using] [diff]

2022-10-03
21:02
tests: Fix file URI test on Windows file: [4e3875cb30] check-in: [234ab0de22] user: js, branch: trunk, size: 14446 [annotate] [blame] [check-ins using] [diff]
19:10
OFURI: Always parse query and fragment file: [3dbd156552] check-in: [88765bceeb] user: js, branch: trunk, size: 14402 [annotate] [blame] [check-ins using] [diff]
00:39
OFURI: Rewrite parser to support URIs file: [e76e355dc0] check-in: [c75059a52f] user: js, branch: trunk, size: 14627 [annotate] [blame] [check-ins using] [diff]
2022-09-29
21:53
OFURI: Make query items an array of pairs

With a dictionary the order is lost and keys cannot exist more than
once. file: [5a6871bef0] check-in: [bd6dd6dd00] user: js, branch: trunk, size: 13287 [annotate] [blame] [check-ins using] [diff]

2022-09-28
22:02
Remove -[OFDictionary URIQueryString]

It duplicates the functionality of -[OFMutableURI setQueryDictionary:]. file: [66101ddcf7] check-in: [f1bf64ca9f] user: js, branch: trunk, size: 13169 [annotate] [blame] [check-ins using] [diff]

21:40
Renamed tests/OFURLTests.m → tests/OFURITests.m. Rename OFUR{L -> I} in preparation for URI support file: [6305d6606a] check-in: [e7ab06503c] user: js, branch: trunk, size: 13164 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [e63dcbf6b8] check-in: [1a86b8175b] user: js, branch: trunk, size: 12938 [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:22
tests: Align more with ObjFW style

ObjFW's style changed over the years, but the tests were never adjusted
to it. file: [641ece2b4e] check-in: [14f1e22d79] user: js, branch: trunk, size: 12938 [annotate] [blame] [check-ins using] [diff]

2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [a23bc7aa5e] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 12332 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [409cce205c] check-in: [374e1a1bfa] user: js, branch: trunk, size: 12387 [annotate] [blame] [check-ins using] [diff]
2020-10-03
23:25
OFURL: Add queryDictionary property file: [307ed6832b] check-in: [a151f9c31f] user: js, branch: trunk, size: 12476 [annotate] [blame] [check-ins using] [diff]
2020-08-25
00:11
OFNumber: Remove (u)int{8,16,32,64} methods

Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. file: [52cea266a3] check-in: [25c985fec1] user: js, branch: trunk, size: 12037 [annotate] [blame] [check-ins using] [diff]

2020-03-01
23:40
OFURL: Implement URL-{en,de}coding of IPv6 hosts file: [8b6c1d8b68] check-in: [c517c57c89] user: js, branch: trunk, size: 12078 [annotate] [blame] [check-ins using] [diff]
23:07
OFURL: Add support for IPv6 / square bracket hosts file: [b020f4fabb] check-in: [a99f466e3c] user: js, branch: trunk, size: 11395 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [0f6d25b371] check-in: [c7f0229795] user: js, branch: trunk, size: 10633 [annotate] [blame] [check-ins using] [diff]
2019-09-29
15:58
Remove OFAutoreleasePool

OFAutoreleasePools have long been discouraged in favor of the runtime's
autorelease pools. file: [8adc5244fa] check-in: [09be825f88] user: js, branch: trunk, size: 10630 [annotate] [blame] [check-ins using] [diff]

2019-04-07
23:05
Add -[OFMutableURL appendPathComponent:] file: [4e831f3a6c] check-in: [7bf788b164] user: js, branch: trunk, size: 10632 [annotate] [blame] [check-ins using] [diff]
22:36
Improve file URL path handling on Windows/DOS file: [ed392bfe35] check-in: [9e556d7dca] user: js, branch: trunk, size: 11165 [annotate] [blame] [check-ins using] [diff]
19:30
Improve -[OFURL pathComponents] file: [7afa9cebe7] check-in: [b1d795b650] user: js, branch: trunk, size: 10923 [annotate] [blame] [check-ins using] [diff]
2019-03-25
00:21
tests: Use dot syntax file: [aa94b414c4] check-in: [b045cbb9c7] user: js, branch: trunk, size: 10685 [annotate] [blame] [check-ins using] [diff]
2019-03-24
22:29
Add support for UNC paths on Windows file: [623af6a22a] check-in: [a4b719e4e9] user: js, branch: trunk, size: 10904 [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:44
tests: Only import ObjFW.h

This prevents forgetting to add an import to ObjFW.h, as the tests would
then not compile. file: [ac6cede6ad] check-in: [dc0c6c34ab] user: js, branch: trunk, size: 10367 [annotate] [blame] [check-ins using] [diff]

2019-02-03
19:19
Move a few URL methods from OFString to OFURL file: [65b67dad50] check-in: [f19cde3a14] user: js, branch: trunk, size: 10571 [annotate] [blame] [check-ins using] [diff]
17:52
OFURL: Do not normalize in init with relative URL file: [2aa332308d] check-in: [2b13f285c5] user: js, branch: trunk, size: 9941 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [daf53235e7] check-in: [0509d7a844] user: js, branch: trunk, size: 9657 [annotate] [blame] [check-ins using] [diff]
2018-02-11
14:33
Add exception for currentDirectoryPath failing

This also changes OFFileManager to use a buffer with getcwd() rather
than depending on the extension that passing NULL as a buffer will
allocate one. file: [0de5c9643a] check-in: [d133fa0a89] user: js, branch: trunk, size: 9651 [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
Update copyright notice file: [cef8991d90] check-in: [7e5c81e186] user: js, branch: trunk, size: 9663 [annotate] [blame] [check-ins using] [diff]
2017-12-29
13:38
OFURL: Add -[URLByAppendingPathComponent:] file: [31540e81ee] check-in: [409a52fd05] user: js, branch: trunk, size: 9640 [annotate] [blame] [check-ins using] [diff]
2017-11-14
00:23
OFURL: Always verify the URL-encoded versions file: [694ead68c5] check-in: [b2ee854268] user: js, branch: trunk, size: 8319 [annotate] [blame] [check-ins using] [diff]
2017-11-06
23:01
OFURL: Store the URL-encoded version internally

This allows retrieving it how it was originally stored, which is useful
for example for query strings, as these often URL-encode allowed
characters in order to allow pairs of the form foo=bar&bar=qux. file: [291a443212] check-in: [a15b403a11] user: js, branch: trunk, size: 4962 [annotate] [blame] [check-ins using] [diff]

2017-10-31
21:39
OFURL: URL-encode according to RFC 3986

This also means the parameters go away and get folded into the path. file: [96f3992920] check-in: [5f7305c659] user: js, branch: trunk, size: 4118 [annotate] [blame] [check-ins using] [diff]

2017-10-29
15:23
OFURL: Properties store unencoded strings now file: [9dd7664004] check-in: [c1c9443c1a] user: js, branch: trunk, size: 4220 [annotate] [blame] [check-ins using] [diff]
15:05
Add -[OFURL lastPathComponent] file: [fc4f5147c7] check-in: [eba3667137] user: js, branch: trunk, size: 4238 [annotate] [blame] [check-ins using] [diff]
11:25
Add +[OFURL fileURLWithPath:isDirectory:] file: [0dd131c155] check-in: [773997d072] user: js, branch: trunk, size: 3585 [annotate] [blame] [check-ins using] [diff]
2017-10-28
21:08
Make OFURL more generic

This removes the special handling dependent on the scheme. file: [26f206153b] check-in: [0f995db06d] user: js, branch: trunk, size: 3260 [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. file: [b43f4c978f] check-in: [44f45c2e35] user: js, branch: trunk, size: 3199 [annotate] [blame] [check-ins using] [diff]

2016-08-21
14:00
OFURL: Do not URL decode and reencode parts

URL decoding and reencoding is not lossless: For example, if the query
was foo=bar&qux=foo%25bar, it will be decoded to foo=bar&qux=foo&bar and
then reencoded to foo=bar%25qux=foo%25bar, which is a different thing.

The only way to solve this is to let the application handle the URL
decoding and encoding according to its own rules, as those might be
different depending on the application. file: [6d34fa57cb] check-in: [516517deb3] user: js, branch: trunk, size: 3193 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:41
Update copyright

While at it, also update the mail address. file: [b3ecd6e7b1] check-in: [2a27cf3000] user: js, branch: trunk, size: 3170 [annotate] [blame] [check-ins using] [diff]

2015-07-02
20:41
OFURL: Fix handling of scheme in -[string] file: [ec44f7d01d] check-in: [bdf4b1d37e] user: js, branch: trunk, size: 3166 [annotate] [blame] [check-ins using] [diff]
2015-06-30
20:56
OFURL: Properly handle escaping / unescaping file: [47061d302f] check-in: [d94375547e] user: js, branch: trunk, size: 3168 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [b32681805b] check-in: [cfd374b906] user: js, branch: trunk, size: 3052 [annotate] [blame] [check-ins using] [diff]
2014-07-07
22:28
OFURL: Allow all RFC 1808 compatible schemes file: [364e1aed63] check-in: [65afbedbd4] user: js, branch: trunk, size: 3046 [annotate] [blame] [check-ins using] [diff]
00:50
OFURL: Don't include the leading "/" in path

While Cocoa includes it, RFC 1738 explicitly states that the "/" between
host / port and path is not part of the path. file: [d80e8f78e3] check-in: [d2487bc7e1] user: js, branch: trunk, size: 3162 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [3641e79d58] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 3163 [annotate] [blame] [check-ins using] [diff]
2013-02-08
22:20
OFURL: Improve -[description].

Before, it was not clear that the object is an OFURL, which could make
debugging hard. file: [60bd347261] check-in: [e164def279] user: js, branch: trunk, size: 3157 [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
Update copyright. file: [6b409d2ea3] check-in: [813c00ccf0] user: js, branch: trunk, size: 3202 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [6c33dd9723] check-in: [ce70e17b38] user: js, branch: trunk, size: 3196 [annotate] [blame] [check-ins using] [diff]
2011-06-04
13:34
Remove useless casts. file: [9eb68d19df] check-in: [675eda4ad3] user: js, branch: trunk, size: 3190 [annotate] [blame] [check-ins using] [diff]
13:29
Fix -[OFURL isEqual:]. file: [8b94bb792f] check-in: [9d48ed225c] user: js, branch: trunk, size: 3189 [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
Get rid of OFExceptions.h. file: [030d169ca8] check-in: [cda44767f4] user: js, branch: trunk, size: 3129 [annotate] [blame] [check-ins using] [diff]
2011-02-27
00:09
OFURL: Include the / in the path for http(s). file: [239dafd02e] check-in: [3d041cd4bf] user: js, branch: trunk, size: 3116 [annotate] [blame] [check-ins using] [diff]
2011-02-17
17:23
Add support for file:// to OFURL. file: [8cc6f93e13] check-in: [245f519a50] user: js, branch: trunk, size: 3115 [annotate] [blame] [check-ins using] [diff]
2011-02-09
12:33
Add support for relative URLs to OFURL. file: [7e19b927ee] check-in: [ddd3a6683f] user: js, branch: trunk, size: 2765 [annotate] [blame] [check-ins using] [diff]
2011-01-15
17:59
Improve OFURL. file: [7ab756aa3f] check-in: [c655fa54d2] user: js, branch: trunk, size: 2164 [annotate] [blame] [check-ins using] [diff]
2011-01-14
12:22
Added: Add OFURL class. file: [8e8ba2b5ac] check-in: [164c76c0cf] user: js, branch: trunk, size: 2095 [annotate] [blame] [check-ins using]