ObjFW  History of src/OFString+XMLEscaping.m of f904fef37e44f781

History of the file that is called src/OFString+XMLEscaping.m at check-in f904fef37e44f781

2024-04-03
02:16
[094cea903d] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 2278) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[b6ac7c7c66] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2070) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[b774b5c0bf] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 2070) [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
[32ead971e3] part of check-in [c86b8f10f0] Add OFAssert()

This uses the same format as OFEnsure(). (check-in: [c86b8f10f0] user: js, branch: trunk, size: 2070) [annotate] [blame] [check-ins using] [diff]

2022-02-12
07:46
[417a4985be] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 2088) [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
[44dcba40f2] part of check-in [498074dab9] Rename of_(re)alloc and add OFFreeMemory (check-in: [498074dab9] user: js, branch: new-naming-convention, size: 2088) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[5be8f79e31] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 2063) [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:23
[9d2e4926e1] 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: 2152) [annotate] [blame] [check-ins using] [diff]

2020-11-05
00:24
[e1df224af8] 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: 2153) [annotate] [blame] [check-ins using] [diff]

2020-11-04
23:18
[bd600aa82b] 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: 2235) [annotate] [blame] [check-ins using] [diff]

2020-10-25
23:33
[5d08b70ba3] part of check-in [d0ae3bfd6c] Add of_{malloc,calloc,realloc,free} (check-in: [d0ae3bfd6c] user: js, branch: trunk, size: 2241) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[896b2f634c] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 2449) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[93579edbe8] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 2446) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[57e70e6dc2] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 2450) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[3103e06919] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 2444) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[64cd2d1eac] 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: 2421) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[a7d3ecc291] 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: 2420) [annotate] [blame] [check-ins using] [diff]

2016-02-21
15:37
[90c811c9d5] part of check-in [e0b9167693] Make use of C99-style for loops (check-in: [e0b9167693] user: js, branch: trunk, size: 2414) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:41
[0594cc40a6] part of check-in [2a27cf3000] Update copyright

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

2015-01-03
20:57
[4866007540] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 2433) [annotate] [blame] [check-ins using] [diff]
2014-07-06
11:04
[fb650f788f] 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: 2427) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[e80aafd4d3] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2353) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[08aa8faea7] 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: 2347) [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
[5265ca0446] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 2389) [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
[c0bd527074] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 2383) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[6681cd6914] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 2365) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[4bad4e66f4] 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: 2359) [annotate] [blame] [check-ins using] [diff]

2011-09-12
19:57
[4986f53819] part of check-in [e6fd39d11e] Rename -[cString] to -[UTF8String]. (check-in: [e6fd39d11e] user: js, branch: trunk, size: 2349) [annotate] [blame] [check-ins using] [diff]
2011-07-08
15:29
[b9a4b4f8b8] part of check-in [0b846bcc4a] Make it possible to add more ivars to OFConstantString. (check-in: [0b846bcc4a] user: js, branch: trunk, size: 2337) [annotate] [blame] [check-ins using] [diff]
2011-06-04
16:30
[aa261c5ddc] part of check-in [7d8ab5ba31] Also escape \r in -[stringByXMLEscaping].

This is the only way the \r does not get lost when parsing the XML! (check-in: [7d8ab5ba31] user: js, branch: 0.5, size: 2129) [annotate] [blame] [check-ins using] [diff]

16:30
[bd18e10f31] part of check-in [f5f074e27e] Also escape \r in -[stringByXMLEscaping].

This is the only way the \r does not get lost when parsing the XML! (check-in: [f5f074e27e] user: js, branch: trunk, size: 2261) [annotate] [blame] [check-ins using] [diff]

2011-04-23
17:52
[0113b63029] part of check-in [5085342127] More style improvements. (check-in: [5085342127] user: js, branch: trunk, size: 2195) [annotate] [blame] [check-ins using] [diff]
2011-04-22
21:08
[bbfbe023ae] part of check-in [fb95acc8ab] More style improvements. (check-in: [fb95acc8ab] user: js, branch: trunk, size: 2231) [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
[c2066f8693] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 2062) [annotate] [blame] [check-ins using] [diff]
2011-02-09
22:12
[1f539677cd] part of check-in [a5ab6bf63b] Add -Wwrite-strings. (check-in: [a5ab6bf63b] user: js, branch: trunk, size: 2051) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[4792013d52] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 2039) [annotate] [blame] [check-ins using] [diff]
2010-12-11
20:27
[a9e7ed69df] part of check-in [5e44debc07] Rename a few exception-related methods. (check-in: [5e44debc07] user: js, branch: trunk, size: 1783) [annotate] [blame] [check-ins using] [diff]
2010-06-12
20:47
Added: [fa81256b88] 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: 1767) [annotate] [blame] [check-ins using]