ObjFW  History of src/OFURL.h of e382d2a8cbfb2fbb

History of the file that is called src/OFURL.h at check-in e382d2a8cbfb2fbb

2024-04-03
02:16
[46c48a2808] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 12472) [annotate] [blame] [check-ins using] [diff]
2024-03-10
18:44
[48519fe9fc] part of check-in [0ca94307e6] OFIRI: Add methods for path extension (check-in: [0ca94307e6] user: js, branch: trunk, size: 12264) [annotate] [blame] [check-ins using] [diff]
16:23
[d4857e1b44] part of check-in [e832f884e6] OFIRI: Add -[IRIByDeletingLastPathComponent] (check-in: [e832f884e6] user: js, branch: trunk, size: 11763) [annotate] [blame] [check-ins using] [diff]
2024-02-03
08:53
[5b4311643f] part of check-in [19f3948a26] Fix typos in documentation found by spell checker (check-in: [19f3948a26] user: js, branch: 1.0, size: 11627) [annotate] [blame] [check-ins using] [diff]
08:49
[d647ebbbce] part of check-in [f97dc452b1] Fix typos in documentation found by spell checker (check-in: [f97dc452b1] user: js, branch: trunk, size: 11627) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[30cbd259c9] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 11625) [annotate] [blame] [check-ins using] [diff]
2023-04-10
19:22
[659e656a72] part of check-in [6ce0093f8d] Remove OFSerialization

While the idea sounds nice that the tag name is the class, this means the
serialization includes whether something is mutable or immutable. This means
doing as much as making something immutable changes the serialization, which
can then cause issues after being deserialized. (check-in: [6ce0093f8d] user: js, branch: trunk, size: 11625) [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
[79cb8c8321] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 11670) [annotate] [blame] [check-ins using] [diff]
2022-11-26
23:05
[3d78ef4d4f] part of check-in [8c62d4520a] OFIRI: Minor documentation improvement (check-in: [8c62d4520a] user: js, branch: trunk, size: 11670) [annotate] [blame] [check-ins using] [diff]
01:29
[dbc29e6a1a] part of check-in [3e3b00eb93] OFIRI: Improve documentation (check-in: [3e3b00eb93] user: js, branch: trunk, size: 11620) [annotate] [blame] [check-ins using] [diff]
2022-11-25
23:15
[00fdae8a0e] part of check-in [f77acec498] -[IRIByAddingPercentEncodingForUnicodeCharacters] (check-in: [f77acec498] user: js, branch: trunk, size: 11581) [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
Renamed src/OFURI.h → src/OFIRI.h. [4e3a03862f] part of check-in [23272e6d43] Rename OFURI to OFIRI (check-in: [23272e6d43] user: js, branch: trunk, size: 11406) [annotate] [blame] [check-ins using] [diff]
2022-10-21
13:07
[90c837e175] part of check-in [a62b254fda] Document more exceptions (check-in: [a62b254fda] user: js, branch: trunk, size: 11384) [annotate] [blame] [check-ins using] [diff]
2022-10-11
19:27
[b3a4d03434] part of check-in [3e455c4839] 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. (check-in: [3e455c4839] user: js, branch: trunk, size: 11236) [annotate] [blame] [check-ins using] [diff]

00:18
[9ffb55b5cf] part of check-in [13ead1212f] OFURI: Remove percentEncodedScheme

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

2022-10-04
22:22
[80857913fd] part of check-in [519c277156] OF*Archive: Share +[URIForFile:inArchive:] code (check-in: [519c277156] user: js, branch: trunk, size: 11575) [annotate] [blame] [check-ins using] [diff]
21:33
[0e7faecce0] part of check-in [19bbbbd95d] Add +[OFZIPArchive URIForFile:inArchive:]

This allows constructing a URI to access a file within an archive. (check-in: [19bbbbd95d] user: js, branch: trunk, size: 11579) [annotate] [blame] [check-ins using] [diff]

2022-10-03
22:18
[63067c2093] part of check-in [694da470d4] A few minor documentation fixes (check-in: [694da470d4] user: js, branch: trunk, size: 11505) [annotate] [blame] [check-ins using] [diff]
2022-09-29
21:53
[ef45469449] part of check-in [bd6dd6dd00] OFURI: Make query items an array of pairs

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

2022-09-28
21:40
Renamed src/OFURL.h → src/OFURI.h. [4aa8c42360] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 11351) [annotate] [blame] [check-ins using] [diff]
2022-09-26
20:32
[c47b91b130] part of check-in [4b8c89a6fe] Document more exceptions (check-in: [4b8c89a6fe] user: js, branch: trunk, size: 11202) [annotate] [blame] [check-ins using] [diff]
2022-06-07
19:50
[40faae77ac] part of check-in [022418ee31] OFURL: Minor documentation fixes (check-in: [022418ee31] user: js, branch: trunk, size: 10761) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[1399f037a2] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 10760) [annotate] [blame] [check-ins using] [diff]
2021-04-18
23:36
[4f2aa36df7] part of check-in [bd7addd9e8] A few more renames for consistency (check-in: [bd7addd9e8] user: js, branch: new-naming-convention, size: 10760) [annotate] [blame] [check-ins using] [diff]
22:56
[c664c0ea4b] part of check-in [e73c65a849] Rename all symbols marked extern (check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 10758) [annotate] [blame] [check-ins using] [diff]
2021-03-07
15:07
[82ad0a3397] part of check-in [1948e7e972] *.h: Fold methods into one line where it fits (check-in: [1948e7e972] user: js, branch: trunk, size: 10700) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[8e156f58b1] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 10705) [annotate] [blame] [check-ins using] [diff]
2020-10-03
23:25
[125797e09d] part of check-in [a151f9c31f] OFURL: Add queryDictionary property (check-in: [a151f9c31f] user: js, branch: trunk, size: 10794) [annotate] [blame] [check-ins using] [diff]
11:35
[7ab8abd7a3] part of check-in [163a4a5a2e] Use /** */ instead of /*! */ for documentation (check-in: [163a4a5a2e] user: js, branch: trunk, size: 10031) [annotate] [blame] [check-ins using] [diff]
2020-09-26
21:58
[08c79490ee] part of check-in [ef614a225d] Don't require __COUNTER__ for OF_RESERVE_IVARS

__COUNTER__ does not exist in GCC 4.2, and Apple GCC 4.2 is still the
newest compiler available for macOS 10.5. (check-in: [ef614a225d] user: js, branch: trunk, size: 10031) [annotate] [blame] [check-ins using] [diff]

2020-03-01
23:40
[6decb7864f] part of check-in [c517c57c89] OFURL: Implement URL-{en,de}coding of IPv6 hosts (check-in: [c517c57c89] user: js, branch: trunk, size: 10024) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[b7146fe684] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 9907) [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
[6489d1ac08] part of check-in [496695d778] Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. (check-in: [496695d778] user: js, branch: trunk, size: 9904) [annotate] [blame] [check-ins using] [diff]

2019-04-07
19:30
[d5f7b8d500] part of check-in [b1d795b650] Improve -[OFURL pathComponents] (check-in: [b1d795b650] user: js, branch: trunk, size: 9883) [annotate] [blame] [check-ins using] [diff]
2019-02-03
19:19
[b537389466] part of check-in [f19cde3a14] Move a few URL methods from OFString to OFURL (check-in: [f19cde3a14] user: js, branch: trunk, size: 9885) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[e32aace5ab] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 9761) [annotate] [blame] [check-ins using] [diff]
2018-04-15
13:34
[34af006a63] part of check-in [d7269ab32a] OFURL: Require files for fileSystemRepresentation (check-in: [d7269ab32a] user: js, branch: trunk, size: 9755) [annotate] [blame] [check-ins using] [diff]
2018-02-16
22:25
[fe71aaca70] part of check-in [dae363ef82] Remove OF_UNAVAILABLE from two -[init] methods

These were unavailable in the immutable class, but available in the
mutable subclass. However, Clang 3.4 does not support this. (check-in: [dae363ef82] user: js, branch: trunk, size: 9727) [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
[2b01f4ba2c] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 9765) [annotate] [blame] [check-ins using] [diff]
2017-12-29
13:38
[0bd973e0db] part of check-in [409a52fd05] OFURL: Add -[URLByAppendingPathComponent:] (check-in: [409a52fd05] user: js, branch: trunk, size: 9742) [annotate] [blame] [check-ins using] [diff]
2017-12-28
20:35
[aeb825266c] part of check-in [62cf5f9255] OFURL: Fix #ifdefs in header (check-in: [62cf5f9255] user: js, branch: trunk, size: 8726) [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
[3047860851] part of check-in [cc3ad3ddd3] Documentation: Use @brief for all properties (check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 8726) [annotate] [blame] [check-ins using] [diff]
2017-11-06
23:01
[8793c73a5f] part of check-in [a15b403a11] 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. (check-in: [a15b403a11] user: js, branch: trunk, size: 8593) [annotate] [blame] [check-ins using] [diff]

2017-11-05
19:53
[7ad59d1622] part of check-in [2f555742c0] Make -[stringByURLEncoding] take an OFCharacterSet (check-in: [2f555742c0] user: js, branch: trunk, size: 8503) [annotate] [blame] [check-ins using] [diff]
2017-10-31
22:06
[2730012cb2] part of check-in [03e111614e] OFURL: Add -[URLEncoded*] for encoded components (check-in: [03e111614e] user: js, branch: trunk, size: 6410) [annotate] [blame] [check-ins using] [diff]
21:39
[a6d37c0b2c] part of check-in [5f7305c659] OFURL: URL-encode according to RFC 3986

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

2017-10-29
21:58
[cb95b72aba] part of check-in [f3ccf14461] Convert methods to properties where appropriate

This improves Swift compatibility. (check-in: [f3ccf14461] user: js, branch: trunk, size: 5518) [annotate] [blame] [check-ins using] [diff]

15:05
[6ad21dffff] part of check-in [eba3667137] Add -[OFURL lastPathComponent] (check-in: [eba3667137] user: js, branch: trunk, size: 5566) [annotate] [blame] [check-ins using] [diff]
13:37
[9597f5d99f] part of check-in [7f64141183] Add -[OFURL pathComponents] (check-in: [7f64141183] user: js, branch: trunk, size: 5386) [annotate] [blame] [check-ins using] [diff]
11:25
[76db36b252] part of check-in [773997d072] Add +[OFURL fileURLWithPath:isDirectory:] (check-in: [773997d072] user: js, branch: trunk, size: 5095) [annotate] [blame] [check-ins using] [diff]
00:41
[cd4f15175b] part of check-in [b83d1414b1] Fix conversion between URL and path on Win32

This also adds -[OFURL fileSystemRepresentation] to correctly convert a
URL back to a path in the local file system. (check-in: [b83d1414b1] user: js, branch: trunk, size: 3908) [annotate] [blame] [check-ins using] [diff]

2017-10-28
23:52
[b68aeab9b8] part of check-in [8aa7f964bc] OFURL: Return a proper URL for +[fileURLWithPath:] (check-in: [8aa7f964bc] user: js, branch: trunk, size: 3622) [annotate] [blame] [check-ins using] [diff]
21:08
[eee6f35b3b] part of check-in [0f995db06d] Make OFURL more generic

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

2017-10-17
00:33
[c55211ca68] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 3455) [annotate] [blame] [check-ins using] [diff]

2017-09-26
22:01
[d9d859f93e] part of check-in [319709fff1] Many nullability fixes (check-in: [319709fff1] user: js, branch: 0.90, size: 3413) [annotate] [blame] [check-ins using] [diff]
21:53
[1961d082fb] part of check-in [52011fbfd6] Many nullability fixes (check-in: [52011fbfd6] user: js, branch: trunk, size: 3413) [annotate] [blame] [check-ins using] [diff]
2017-08-11
22:26
[fe07110d1a] part of check-in [9db36c14b5] Always have retain / copy before nonatomic (check-in: [9db36c14b5] user: js, branch: trunk, size: 3343) [annotate] [blame] [check-ins using] [diff]
2017-07-20
22:28
[94ac818021] part of check-in [3a5570ab20] Split OFURL into OFURL and OFMutableURL (check-in: [3a5570ab20] user: js, branch: trunk, size: 3343) [annotate] [blame] [check-ins using] [diff]
2017-05-13
16:29
[2905af2049] part of check-in [f663d40cbd] Also use nonatomic for non-object properties (check-in: [f663d40cbd] user: js, branch: trunk, size: 3284) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[de5ad4004e] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 3272) [annotate] [blame] [check-ins using] [diff]

2017-04-30
13:35
[336f088c44] part of check-in [0a73af49f0] Use nonatomic for properties and clean up

This changes retaining behavior, meaning properties are not returned
retained and autoreleased anymore, so a property returned from a getter
now needs to be manually retained and autoreleased before calling the
setter. However, this is rarely the case and not using atomic improves
performance. (check-in: [0a73af49f0] user: js, branch: trunk, size: 3264) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[5188a3f0dd] part of check-in [44f45c2e35] Update copyright

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

2016-02-21
12:04
[b9cdd57013] part of check-in [3eb411511e] Add +[OFURL fileURLWithPath:] (check-in: [3eb411511e] user: js, branch: trunk, size: 3170) [annotate] [blame] [check-ins using] [diff]
10:52
[1f6d5f7a9d] part of check-in [2a6c3df320] OFURL.h: Add missing @brief to documentation (check-in: [2a6c3df320] user: js, branch: trunk, size: 2972) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
[3fe988b8aa] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 4874) [annotate] [blame] [check-ins using] [diff]

00:41
[1ffe3a44f6] part of check-in [2a27cf3000] Update copyright

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

2015-11-29
11:43
[3cbefbabba] part of check-in [48980f2297] Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). (check-in: [48980f2297] user: js, branch: trunk, size: 2942) [annotate] [blame] [check-ins using] [diff]

2015-06-17
22:11
[f7f23cc369] part of check-in [80e1a9655b] Add OF_NULLABLE_PROPERTY

This is necessary to make GCC (>= 4.6 and Apple GCC) happy as they don't
like the list of property attributes ending in a comma. (check-in: [80e1a9655b] user: js, branch: trunk, size: 4870) [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
[a3a984e369] part of check-in [9e76144ef8] Add support for and use the new nullability (check-in: [9e76144ef8] user: js, branch: trunk, size: 4982) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[5d05ef422c] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 4794) [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
[af43440b6a] part of check-in [246cfe0807] Documentation: Show correct imports (check-in: [246cfe0807] user: js, branch: trunk, size: 4788) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[d006b15fd2] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 4747) [annotate] [blame] [check-ins using] [diff]
2013-02-12
18:22
[17bbc676ef] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 4741) [annotate] [blame] [check-ins using] [diff]
2013-01-10
22:52
[74eb4f4df2] part of check-in [365d74aa27] Fix all Doxygen warnings. (check-in: [365d74aa27] user: js, branch: trunk, size: 4792) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[98eb48b129] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 4835) [annotate] [blame] [check-ins using] [diff]
2012-12-11
12:12
[0221f4c097] part of check-in [12a4d43f67] OFURL: Add +[URL].

This also makes -[description] more robust, as with this change, it is
now possible that required parts of the URL are nil. (check-in: [12a4d43f67] user: js, branch: trunk, size: 4829) [annotate] [blame] [check-ins using] [diff]

2012-10-29
08:00
[33f810be9b] part of check-in [7a3977d7fd] Documentation improvements. (check-in: [7a3977d7fd] user: js, branch: 0.7, size: 4694) [annotate] [blame] [check-ins using] [diff]
07:59
[7d9024f690] part of check-in [63bf4de97b] Documentation improvements. (check-in: [63bf4de97b] user: js, branch: trunk, size: 4694) [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
[ed2d442f57] part of check-in [1ad9565253] Switch to a headerdoc-compatible doc format. (check-in: [1ad9565253] user: js, branch: trunk, size: 4694) [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
[23c8849a02] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 4694) [annotate] [blame] [check-ins using] [diff]
2012-02-01
13:42
[b99e18b61d] part of check-in [c1b35e1495] Clean up the properties mess. (check-in: [c1b35e1495] user: js, branch: trunk, size: 4666) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[2496ad8f75] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 4675) [annotate] [blame] [check-ins using] [diff]
2011-09-11
17:09
[1de97e1fce] part of check-in [8d554c0421] Documentation improvements. (check-in: [8d554c0421] user: js, branch: trunk, size: 4669) [annotate] [blame] [check-ins using] [diff]
2011-05-08
22:42
[0d2f2e2772] part of check-in [cb3be92fe6] Add serialization for OFURL and OFXMLElement. (check-in: [cb3be92fe6] user: js, branch: trunk, size: 3946) [annotate] [blame] [check-ins using] [diff]
22:17
[75baa54cee] part of check-in [925754a097] Add -[string] to OFURL. (check-in: [925754a097] user: js, branch: trunk, size: 3901) [annotate] [blame] [check-ins using] [diff]
2011-04-22
22:46
[8d20bb8741] part of check-in [c9c78d86d3] More style improvements. (check-in: [c9c78d86d3] user: js, branch: trunk, size: 3798) [annotate] [blame] [check-ins using] [diff]
2011-02-09
12:33
[dd0072857c] part of check-in [ddd3a6683f] Add support for relative URLs to OFURL. (check-in: [ddd3a6683f] user: js, branch: trunk, size: 3774) [annotate] [blame] [check-ins using] [diff]
2011-01-15
17:59
[a030f72131] part of check-in [c655fa54d2] Improve OFURL. (check-in: [c655fa54d2] user: js, branch: trunk, size: 3332) [annotate] [blame] [check-ins using] [diff]
2011-01-14
12:22
Added: [e36be7b9d6] part of check-in [164c76c0cf] Add OFURL class. (check-in: [164c76c0cf] user: js, branch: trunk, size: 2204) [annotate] [blame] [check-ins using]