ObjFW  History of src/OFString+PercentEncoding.m of f6cc2092af2a9dd2

History of file src/OFString+PercentEncoding.m at check-in f6cc2092af2a9dd2

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

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

2020-11-06
02:24
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. file: [329955234f] check-in: [a2b4238850] user: js, branch: trunk, size: 3584 [annotate] [blame] [check-ins using] [diff]

2020-11-05
00:24
Avoid -[allocMemoryWithSize:] for temporary memory

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

2020-11-04
23:18
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. file: [7714669373] check-in: [3d8286feee] user: js, branch: trunk, size: 3519 [annotate] [blame] [check-ins using] [diff]

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

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

2017-05-07
20:10
Small code style change

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

2017-05-06
19:43
Clean up a few includes file: [cdac934c1e] check-in: [cca678886f] user: js, branch: trunk, size: 3562 [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: [1829498619] check-in: [44f45c2e35] user: js, branch: trunk, size: 3581 [annotate] [blame] [check-ins using] [diff]

2017-01-07
00:37
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. file: [6c61b62a6b] check-in: [d9eb7b50b3] user: js, branch: trunk, size: 3575 [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: [9b57fed9b2] check-in: [516517deb3] user: js, branch: trunk, size: 3583 [annotate] [blame] [check-ins using] [diff]

2016-07-02
23:35
OFString+URLEncoding.m: Do not parse + as space

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

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

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

2015-06-30
19:56
Add -[stringByURLEncodingWithIgnoredCharacters:] file: [1b09d47d68] check-in: [7b2f48cf71] user: js, branch: trunk, size: 3817 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [52af0e7dc7] check-in: [cfd374b906] user: js, branch: trunk, size: 3633 [annotate] [blame] [check-ins using] [diff]
2014-07-06
11:04
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. file: [89405889ad] check-in: [b5c8b62533] user: js, branch: trunk, size: 3627 [annotate] [blame] [check-ins using] [diff]

11:04
OFString+URLEncoding.m: Better RFC 1738 compliance file: [3a4097c573] check-in: [2ca121fd19] user: js, branch: trunk, size: 3477 [annotate] [blame] [check-ins using] [diff]
2014-06-18
12:54
Add OFSettings file: [4769174b17] check-in: [1333634935] user: js, branch: trunk, size: 3163 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [330e46fda2] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 3164 [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
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. file: [5d54dc5328] check-in: [3d16a30f41] user: js, branch: trunk, size: 3158 [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
Update copyright. file: [285804da91] check-in: [813c00ccf0] user: js, branch: trunk, size: 3272 [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
Don't access isa directly. file: [4bb769e47e] check-in: [8892ae9fcc] user: js, branch: trunk, size: 3266 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [0d263c76b7] check-in: [ce70e17b38] user: js, branch: trunk, size: 3224 [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
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. file: [cfd7bec6c2] check-in: [e1e7ffa903] user: js, branch: trunk, size: 3218 [annotate] [blame] [check-ins using] [diff]

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