ObjFW  History of src/OFMutableUTF8String.m of bc158ffe753f353f

History of file src/OFMutableUTF8String.m at check-in bc158ffe753f353f

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: [027a5197e3] check-in: [6fbc3b18c7] user: js, branch: trunk, size: 20269 [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: [dda54dd86e] check-in: [cacfcf1b9d] user: js, branch: 1.1, size: 18835 [annotate] [blame] [check-ins using] [diff]

23:41
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: [521dc8393f] check-in: [82c5846734] user: js, branch: trunk, size: 18897 [annotate] [blame] [check-ins using] [diff]

2024-08-17
09:51
Move private functions into private headers file: [3976c4d518] check-in: [b829f3e798] user: js, branch: trunk, size: 17973 [annotate] [blame] [check-ins using] [diff]
2024-04-29
21:42
Properly hide private symbols file: [0d2c04f6f8] check-in: [f16bccc7b3] user: js, branch: trunk, size: 17911 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [3ea1ecdd6c] check-in: [7413a728a7] user: js, branch: trunk, size: 17888 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [42226ecdbb] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 17680 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [0f1f1bc03e] check-in: [8939cbdb52] user: js, branch: trunk, size: 17680 [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
Add OFAssert()

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

2022-09-04
18:46
Remove -[prependString:] and -[reverse] file: [57e4df0b5d] check-in: [6c3ec63d96] user: js, branch: trunk, size: 17696 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [e069c57766] check-in: [1a86b8175b] user: js, branch: trunk, size: 19801 [annotate] [blame] [check-ins using] [diff]
2021-04-25
19:58
Last round of renames (hopefully) file: [8129fb7234] check-in: [6ae98c1dcf] user: js, branch: trunk, size: 19801 [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
Rename all symbols marked extern file: [0d95785aef] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 19785 [annotate] [blame] [check-ins using] [diff]
20:51
Rename everything in several smaller files file: [06bda2db53] check-in: [35de667566] user: js, branch: new-naming-convention, size: 19813 [annotate] [blame] [check-ins using] [diff]
15:55
Rename all functions in macros.h file: [c87e5b0f77] check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 19815 [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
Rename of_(re)alloc and add OFFreeMemory file: [de80a71b10] check-in: [498074dab9] user: js, branch: new-naming-convention, size: 19827 [annotate] [blame] [check-ins using] [diff]
02:10
of_string_encoding_t -> OFStringEncoding file: [bfc8f3ea93] check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 19616 [annotate] [blame] [check-ins using] [diff]
01:32
of_unichar_t -> OFUnichar file: [3aa7e5466a] check-in: [2d3790870d] user: js, branch: new-naming-convention, size: 19628 [annotate] [blame] [check-ins using] [diff]
00:44
of_range_t -> OFRange file: [5528604b06] check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 19661 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [ae60bfdf29] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 19670 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [0bce7a5121] check-in: [374e1a1bfa] user: js, branch: trunk, size: 19670 [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: [32655d5053] check-in: [627511b032] user: js, branch: trunk, size: 19759 [annotate] [blame] [check-ins using] [diff]

2020-11-07
20:23
OFObject: Remove -[allocMemoryWithSize:] file: [e2512a1c1d] check-in: [4fbdca698c] user: js, branch: trunk, size: 19762 [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: [77a77e4c53] check-in: [0ddaac3f5b] user: js, branch: trunk, size: 20195 [annotate] [blame] [check-ins using] [diff]

2020-06-28
15:03
Use OF_DIRECT(_MEMBERS) where appropriate file: [cb57991be9] check-in: [b6cb3addd0] user: js, branch: trunk, size: 20325 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [88e7b0c06e] check-in: [c7f0229795] user: js, branch: trunk, size: 20315 [annotate] [blame] [check-ins using] [diff]
2019-09-29
20:53
Reduce ivar scopes file: [3bd226f623] check-in: [e0a330b377] user: js, branch: trunk, size: 20312 [annotate] [blame] [check-ins using] [diff]
2019-06-17
02:33
Added: Remove underscores from class names file: [e22aad1130] check-in: [17d57e01ff] user: js, branch: trunk, size: 20284 [annotate] [blame] [check-ins using]