ObjFW  History of src/OFString+URLEncoding.m of 8aba444b87661ead

History of the file that is called src/OFString+URLEncoding.m at check-in 8aba444b87661ead

2024-04-29
21:42
[e783c0987e] part of check-in [f16bccc7b3] Properly hide private symbols (check-in: [f16bccc7b3] user: js, branch: trunk, size: 3759) [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
[a22716408b] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 3758) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[5ef379fffa] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 3550) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[b6b707c8fb] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 3550) [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
Renamed src/OFString+URLEncoding.m → src/OFString+PercentEncoding.m. [46a599b120] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 3550) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[7c362d8c35] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 3516) [annotate] [blame] [check-ins using] [diff]
2021-08-07
23:25
[a20a83c28d] part of check-in [176e97bd4d] Make Apple GCC 4.0.1 happy again (check-in: [176e97bd4d] user: js, branch: trunk, size: 3516) [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
[136d9c5f3e] part of check-in [e73c65a849] Rename all symbols marked extern (check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 3489) [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
[ce8d6c0fa7] part of check-in [498074dab9] Rename of_(re)alloc and add OFFreeMemory (check-in: [498074dab9] user: js, branch: new-naming-convention, size: 3492) [annotate] [blame] [check-ins using] [diff]
01:32
[88731f0af5] part of check-in [2d3790870d] of_unichar_t -> OFUnichar (check-in: [2d3790870d] user: js, branch: new-naming-convention, size: 3459) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[6ddd187364] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 3471) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[e71fa29471] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 3494) [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:23
[387a1fe7bd] part of check-in [627511b032] Rename of_malloc and of_calloc

The new names should be more accurate. (check-in: [627511b032] user: js, branch: trunk, size: 3583) [annotate] [blame] [check-ins using] [diff]

2020-11-06
02:24
[329955234f] part of check-in [a2b4238850] Future-proof some code using freeWhenDone

While -[OFData initWithDataNoCopy:count:itemSize:freeWhenDone:] can
currently never throw, it might in the future, and when it does so in
the future, these would be memory leaks then. (check-in: [a2b4238850] user: js, branch: trunk, size: 3584) [annotate] [blame] [check-ins using] [diff]

2020-11-05
00:24
[4c3b80addf] part of check-in [0ddaac3f5b] Avoid -[allocMemoryWithSize:] for temporary memory

-[allocMemoryWithSize:] has book keeping overhead that is unnecessary
for temporary memory. (check-in: [0ddaac3f5b] user: js, branch: trunk, size: 3519) [annotate] [blame] [check-ins using] [diff]

2020-11-04
23:18
[7714669373] part of check-in [3d8286feee] Remove of_free()

While it makes sense to wrap malloc and calloc to replace the error
checking with exceptions, it does not make sense to wrap free. (check-in: [3d8286feee] user: js, branch: trunk, size: 3519) [annotate] [blame] [check-ins using] [diff]

2020-10-25
23:33
[0c0207b5a6] part of check-in [d0ae3bfd6c] Add of_{malloc,calloc,realloc,free} (check-in: [d0ae3bfd6c] user: js, branch: trunk, size: 3525) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[4455805b29] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 3606) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[b31ee5c6f5] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 3603) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[eb3c914e3d] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 3611) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[c20ab79643] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 3605) [annotate] [blame] [check-ins using] [diff]
2017-11-05
21:39
[ab8d94f5c6] part of check-in [645ae7ac0a] Correctly handle Unicode when URL encoding (check-in: [645ae7ac0a] user: js, branch: trunk, size: 3582) [annotate] [blame] [check-ins using] [diff]
19:53
[7628140be6] part of check-in [2f555742c0] Make -[stringByURLEncoding] take an OFCharacterSet (check-in: [2f555742c0] user: js, branch: trunk, size: 3283) [annotate] [blame] [check-ins using] [diff]
2017-11-04
22:02
[cf9f67ae6e] part of check-in [d1258ca0b6] OFString+URLEncoding: Small optimization (check-in: [d1258ca0b6] user: js, branch: trunk, size: 3602) [annotate] [blame] [check-ins using] [diff]
2017-10-31
21:55
[92e75db2c6] part of check-in [4db6713bda] OFString+URLEncoding: Change default allowed chars

This is now unreserved + sub-delims from RFC 3986. (check-in: [4db6713bda] user: js, branch: trunk, size: 3389) [annotate] [blame] [check-ins using] [diff]

2017-05-07
20:10
[9ad96294d0] 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: 3566) [annotate] [blame] [check-ins using] [diff]

2017-05-06
19:43
[cdac934c1e] part of check-in [cca678886f] Clean up a few includes (check-in: [cca678886f] user: js, branch: trunk, size: 3562) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[1829498619] 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: 3581) [annotate] [blame] [check-ins using] [diff]

2017-01-07
00:37
[6c61b62a6b] part of check-in [d9eb7b50b3] Add of_ascii_{to{upper,lower},is{alpha,alnum}}

These are independent of the locale and work on the ASCII character set.

Unlike the C ones, these are 8-bit safe, meaning if a character > 0x7F
is passed, is{alpha,alnum} returns false and to{upper,lower} returns the
original character. (check-in: [d9eb7b50b3] user: js, branch: trunk, size: 3575) [annotate] [blame] [check-ins using] [diff]

2016-08-21
14:00
[9b57fed9b2] part of check-in [516517deb3] 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. (check-in: [516517deb3] user: js, branch: trunk, size: 3583) [annotate] [blame] [check-ins using] [diff]

2016-07-02
23:35
[134edb9cf7] part of check-in [32bc855af9] OFString+URLEncoding.m: Do not parse + as space

This should only be done for the query string. (check-in: [32bc855af9] user: js, branch: trunk, size: 3695) [annotate] [blame] [check-ins using] [diff]

2016-03-28
19:33
[18f43044b2] part of check-in [179c625d15] URL encoding: Make sure an unsigned shift is used (check-in: [179c625d15] user: js, branch: trunk, size: 3750) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:41
[2cd0023e53] part of check-in [2a27cf3000] Update copyright

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

2015-06-30
19:56
[1b09d47d68] part of check-in [7b2f48cf71] Add -[stringByURLEncodingWithIgnoredCharacters:] (check-in: [7b2f48cf71] user: js, branch: trunk, size: 3817) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[52af0e7dc7] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 3633) [annotate] [blame] [check-ins using] [diff]
2014-07-06
11:04
[89405889ad] part of check-in [b5c8b62533] OFString+*.m: Add a few missing autorelease pools

Those were only a problem if the user created its own OFString subclass,
as calls to -[UTF8String] could then create a new, autoreleased C
string. As OFString_UTF8 simply returns the internal C string, this
hasn't been a problem when not subclassing OFString. (check-in: [b5c8b62533] user: js, branch: trunk, size: 3627) [annotate] [blame] [check-ins using] [diff]

11:04
[3a4097c573] part of check-in [2ca121fd19] OFString+URLEncoding.m: Better RFC 1738 compliance (check-in: [2ca121fd19] user: js, branch: trunk, size: 3477) [annotate] [blame] [check-ins using] [diff]
2014-06-18
12:54
[4769174b17] part of check-in [1333634935] Add OFSettings (check-in: [1333634935] user: js, branch: trunk, size: 3163) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[330e46fda2] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 3164) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[5d54dc5328] part of check-in [3d16a30f41] Rework exceptions.

This mostly removes the argument for the class in which the exception
occurred. As backtraces were recently added for all platforms, the
passed class does not give any extra information on where the exception
occurred anymore.

This also removes a few other arguments which were not too helpful. In
the past, the idea was to pass as many arguments as possible so that it
is easier to find the origin of the exception. However, as backtraces
are a much better way to find the origin, those are not useful anymore
and just make the exception more cumbersome to use. The rule is now to
only pass arguments that might help in recovering from the exception or
provide information that is otherwise not easily accessible. (check-in: [3d16a30f41] user: js, branch: trunk, size: 3158) [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
[285804da91] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 3272) [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
[4bb769e47e] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 3266) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[0d263c76b7] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 3224) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[cfd7bec6c2] part of check-in [e1e7ffa903] Exceptions are now autoreleased.

This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.

So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (check-in: [e1e7ffa903] user: js, branch: trunk, size: 3218) [annotate] [blame] [check-ins using] [diff]

2011-09-12
19:57
[67c1b2dfaa] part of check-in [e6fd39d11e] Rename -[cString] to -[UTF8String]. (check-in: [e6fd39d11e] user: js, branch: trunk, size: 3196) [annotate] [blame] [check-ins using] [diff]
2011-07-08
15:29
[93d8d384ea] part of check-in [0b846bcc4a] Make it possible to add more ivars to OFConstantString. (check-in: [0b846bcc4a] user: js, branch: trunk, size: 3148) [annotate] [blame] [check-ins using] [diff]
2011-04-22
21:08
[756001522a] part of check-in [fb95acc8ab] More style improvements. (check-in: [fb95acc8ab] user: js, branch: trunk, size: 3102) [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
[5910a2a036] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 2804) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[d953b24648] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 2754) [annotate] [blame] [check-ins using] [diff]
2010-12-11
20:27
[5dc41af38c] part of check-in [5e44debc07] Rename a few exception-related methods. (check-in: [5e44debc07] user: js, branch: trunk, size: 2498) [annotate] [blame] [check-ins using] [diff]
2010-06-12
20:47
Added: [7718e4ffef] part of check-in [67917b918a] Move a few classes and categories so they have their own files. (check-in: [67917b918a] user: js, branch: trunk, size: 2484) [annotate] [blame] [check-ins using]