ObjFW  History of src/OFString+XMLEscaping.m of 00bcec95bffeeef9

History of file src/OFString+XMLEscaping.m at check-in 00bcec95bffeeef9

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

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

2022-02-12
07:46
Update copyright file: [417a4985be] check-in: [1a86b8175b] user: js, branch: trunk, size: 2088 [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
Rename of_(re)alloc and add OFFreeMemory file: [44dcba40f2] check-in: [498074dab9] user: js, branch: new-naming-convention, size: 2088 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [5be8f79e31] check-in: [374e1a1bfa] user: js, branch: trunk, size: 2063 [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: [9d2e4926e1] check-in: [627511b032] user: js, branch: trunk, size: 2152 [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: [e1df224af8] check-in: [0ddaac3f5b] user: js, branch: trunk, size: 2153 [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: [bd600aa82b] check-in: [3d8286feee] user: js, branch: trunk, size: 2235 [annotate] [blame] [check-ins using] [diff]

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

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

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

2015-01-03
20:57
Update copyright file: [4866007540] check-in: [cfd374b906] user: js, branch: trunk, size: 2433 [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: [fb650f788f] check-in: [b5c8b62533] user: js, branch: trunk, size: 2427 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [e80aafd4d3] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2353 [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: [08aa8faea7] check-in: [3d16a30f41] user: js, branch: trunk, size: 2347 [annotate] [blame] [check-ins using] [diff]

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

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

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

16:30
Also escape \r in -[stringByXMLEscaping].

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

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