ObjFW  History of src/OFUTF8String.h of 089d52ca9af72ed1

History of file src/OFUTF8String.h at check-in 089d52ca9af72ed1

2024-10-27
22:27
Allow strings to contain \0

In order to not accidentally have C strings with \0, an
OFInvalidEncodingException is thrown when trying to get a C string for a
string that contains \0.

In order to get a C string with \0 anyway, a new method
-[insecureCStringWithEncoding:] is added. file: [06f893bbd3] check-in: [6fbc3b18c7] user: js, branch: trunk, size: 1337 [annotate] [blame] [check-ins using] [diff]

2024-08-24
23:43
Don't assume all custom string classes use Unicode

Initially, isUTF8 was set to true for all custom string classes because
having isUTF8 set to false was merely an optimization. However,
-[OFUTF8String cStringWithEncoding: OFStringEncodingASCII] throws an
exception when isUTF8 is true. file: [a9510f1ddf] check-in: [cacfcf1b9d] user: js, branch: 1.1, size: 1587 [annotate] [blame] [check-ins using] [diff]

2024-08-17
09:51
Move private functions into private headers file: [fe9a65353f] check-in: [b829f3e798] user: js, branch: trunk, size: 1323 [annotate] [blame] [check-ins using] [diff]
2024-04-29
21:42
Properly hide private symbols file: [f1efc16deb] check-in: [f16bccc7b3] user: js, branch: trunk, size: 1578 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [cef941820b] check-in: [7413a728a7] user: js, branch: trunk, size: 1526 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [a9999803da] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 1318 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [082f995832] check-in: [8939cbdb52] user: js, branch: trunk, size: 1318 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [d381d1f2a1] check-in: [1a86b8175b] user: js, branch: trunk, size: 1318 [annotate] [blame] [check-ins using] [diff]
2021-04-25
19:58
Last round of renames (hopefully) file: [4e86bf2737] check-in: [6ae98c1dcf] user: js, branch: trunk, size: 1318 [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
Rename all symbols marked extern file: [7a3b643b9d] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 1317 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [bd916580b9] check-in: [374e1a1bfa] user: js, branch: trunk, size: 1388 [annotate] [blame] [check-ins using] [diff]
2020-11-07
20:23
OFObject: Remove -[allocMemoryWithSize:] file: [3093d4730f] check-in: [4fbdca698c] user: js, branch: trunk, size: 1477 [annotate] [blame] [check-ins using] [diff]
2020-10-10
14:27
OFObject: Change type of -[hash] to unsigned long

The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. file: [e49ea36f6c] check-in: [aeb403a1ed] user: js, branch: trunk, size: 1488 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [3d372b3717] check-in: [c7f0229795] user: js, branch: trunk, size: 1439 [annotate] [blame] [check-ins using] [diff]
2019-09-29
20:53
Reduce ivar scopes file: [50f5bbbd9a] check-in: [e0a330b377] user: js, branch: trunk, size: 1436 [annotate] [blame] [check-ins using] [diff]
2019-06-17
02:33
Added: Remove underscores from class names file: [27bd544b4e] check-in: [17d57e01ff] user: js, branch: trunk, size: 1444 [annotate] [blame] [check-ins using]