ObjFW  History of src/OFString.h of 2a73dbd64fe12287

History of the file that is called src/OFString.h at check-in 2a73dbd64fe12287

2024-05-01
15:19
[5ec6a2e4f7] part of check-in [0c3c3b6efa] Document a lot of undocumented functions & macros

Also fixes Doxygen not creating documentation for `static OF_INLINE`
functions. (check-in: [0c3c3b6efa] user: js, branch: trunk, size: 47114) [annotate] [blame] [check-ins using] [diff]

2024-04-29
21:42
[6dd49c2942] part of check-in [f16bccc7b3] Properly hide private symbols (check-in: [f16bccc7b3] user: js, branch: trunk, size: 46780) [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
[4b582c4c17] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 46710) [annotate] [blame] [check-ins using] [diff]
2024-02-03
08:53
[68b16f6be5] part of check-in [19f3948a26] Fix typos in documentation found by spell checker (check-in: [19f3948a26] user: js, branch: 1.0, size: 46502) [annotate] [blame] [check-ins using] [diff]
08:49
[bf3f3e1afd] part of check-in [f97dc452b1] Fix typos in documentation found by spell checker (check-in: [f97dc452b1] user: js, branch: trunk, size: 46502) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[f7726f73ab] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 46484) [annotate] [blame] [check-ins using] [diff]
2023-08-23
16:01
[d0bd857da9] part of check-in [149874777c] Remove incomplete NFD/NFKD support

It has been moved to the "unicode-normalization" branch until it is
ready. (check-in: [149874777c] user: js, branch: trunk, size: 46484) [annotate] [blame] [check-ins using] [diff]

2023-08-17
14:30
[9db2761571] part of check-in [03339575cb] OFString: Add designated initializer (check-in: [03339575cb] user: js, branch: trunk, size: 46829) [annotate] [blame] [check-ins using] [diff]
2023-08-05
10:12
[9fa7a96c12] part of check-in [de6dbcf928] Make platform-specific methods show up in Doxygen (check-in: [de6dbcf928] user: js, branch: trunk, size: 46669) [annotate] [blame] [check-ins using] [diff]
09:04
[edccd3970b] part of check-in [14c70763b0] Remove hacks in headers for C compatibility

A better approach would probably be to have a separate header which
makes some classes available to pure C. (check-in: [14c70763b0] user: js, branch: trunk, size: 46643) [annotate] [blame] [check-ins using] [diff]

2023-04-10
19:22
[55ba0a041b] part of check-in [6ce0093f8d] Remove OFSerialization

While the idea sounds nice that the tag name is the class, this means the
serialization includes whether something is mutable or immutable. This means
doing as much as making something immutable changes the serialization, which
can then cause issues after being deserialized. (check-in: [6ce0093f8d] user: js, branch: trunk, size: 46873) [annotate] [blame] [check-ins using] [diff]

2023-01-13
13:00
[0d179dd073] part of check-in [c8e1b0c2b9] OFString: Remove OF_RETURNS_INNER_POINTER

A subclass is free to implement each of those methods however it wants
and doesn't necessarily indeed return an inner pointer, so it is safer
to declare none of them as returning an inner pointer. (check-in: [c8e1b0c2b9] user: js, branch: trunk, size: 46955) [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
[023a4b3e4b] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 47183) [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
[e5f7685ba0] part of check-in [23272e6d43] Rename OFURI to OFIRI (check-in: [23272e6d43] user: js, branch: trunk, size: 47183) [annotate] [blame] [check-ins using] [diff]
2022-10-20
21:18
[780687227d] part of check-in [84a7314f5c] Document more exceptions (check-in: [84a7314f5c] user: js, branch: trunk, size: 47183) [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
[9816b06102] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 42756) [annotate] [blame] [check-ins using] [diff]
2022-09-04
18:27
[d0122c5cef] part of check-in [114576fe94] Remove -[OFString stringByPrependingString:]

The same can be achieved using -[OFString stringByAppendingString:] and
swapping the order of arguments. (check-in: [114576fe94] user: js, branch: trunk, size: 42752) [annotate] [blame] [check-ins using] [diff]

2022-08-29
22:07
[c09e6f5e40] part of check-in [4d03f6f1a5] Make the base for parsing numbers an unsigned char (check-in: [4d03f6f1a5] user: js, branch: trunk, size: 42533) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[b34719db3c] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 42513) [annotate] [blame] [check-ins using] [diff]
2021-08-08
01:08
[43d2fc3670] part of check-in [591f1da073] Fix OFData/OFString documentation for freeWhenDone (check-in: [591f1da073] user: js, branch: trunk, size: 42513) [annotate] [blame] [check-ins using] [diff]
2021-04-29
23:24
[e4caed5e17] part of check-in [2fcf5a3052] Clean up struct and enum typedefs

With TYPEDEF_HIDES_STRUCT set, Doxygen properly handles anonymous
structs and enums that are typedef'd. (check-in: [2fcf5a3052] user: js, branch: trunk, size: 42489) [annotate] [blame] [check-ins using] [diff]

2021-04-25
19:41
[b4ac5f8ea5] part of check-in [fd51df7022] OFStrdup -> OFStrDup and slightly change behavior (check-in: [fd51df7022] user: js, branch: trunk, size: 42554) [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
[068370b7c7] part of check-in [e73c65a849] Rename all symbols marked extern (check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 42499) [annotate] [blame] [check-ins using] [diff]
2021-04-17
14:13
[7a23f6e323] part of check-in [eb0cfa6ff9] Always prefix functions with the type (check-in: [eb0cfa6ff9] user: js, branch: new-naming-convention, size: 42511) [annotate] [blame] [check-ins using] [diff]
03:21
[c20eafef33] part of check-in [c4e0e56fa3] Rename all blocks (check-in: [c4e0e56fa3] user: js, branch: new-naming-convention, size: 42511) [annotate] [blame] [check-ins using] [diff]
02:25
[686eedcec8] part of check-in [169692a120] Rename remaining enums in OFString.h (check-in: [169692a120] user: js, branch: new-naming-convention, size: 42523) [annotate] [blame] [check-ins using] [diff]
02:10
[4e6137fc89] part of check-in [255f21fb3d] of_string_encoding_t -> OFStringEncoding (check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 43278) [annotate] [blame] [check-ins using] [diff]
01:35
[c0cdf3877f] part of check-in [6d9d790a24] of_char{16,32}_t -> OFChar{16,32} (check-in: [6d9d790a24] user: js, branch: new-naming-convention, size: 42908) [annotate] [blame] [check-ins using] [diff]
01:32
[dfda1d26b2] part of check-in [2d3790870d] of_unichar_t -> OFUnichar (check-in: [2d3790870d] user: js, branch: new-naming-convention, size: 42989) [annotate] [blame] [check-ins using] [diff]
01:24
[653c66c2a2] part of check-in [83dc0fe6e5] OF_NOT_FOUND -> OFNotFound (check-in: [83dc0fe6e5] user: js, branch: new-naming-convention, size: 43031) [annotate] [blame] [check-ins using] [diff]
00:44
[69ba6f1fd0] part of check-in [d975c53a43] of_range_t -> OFRange (check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 43043) [annotate] [blame] [check-ins using] [diff]
00:31
[7fdd4e8be5] part of check-in [1046d10a20] of_byte_order_t -> OFByteOrder (check-in: [1046d10a20] user: js, branch: new-naming-convention, size: 43073) [annotate] [blame] [check-ins using] [diff]
00:14
[195814c9a5] part of check-in [61fc389aee] of_comparison_result_t -> OFComparisonResult (check-in: [61fc389aee] user: js, branch: new-naming-convention, size: 43113) [annotate] [blame] [check-ins using] [diff]
2021-04-07
21:14
[9aa19fe6df] part of check-in [2969086342] Rename OFCryptoHash -> OFCryptographicHash (check-in: [2969086342] user: js, branch: trunk, size: 43121) [annotate] [blame] [check-ins using] [diff]
20:39
[048f9d26ff] part of check-in [91a4c53bb1] Override -[compare:] with a more specific type (check-in: [91a4c53bb1] user: js, branch: trunk, size: 43114) [annotate] [blame] [check-ins using] [diff]
2021-03-08
00:00
[d557fd2664] part of check-in [1a49ef773d] Make +[stringWithContentsOfURL:] always available

Even when there is neither files nor sockets, a scheme could still be
registered, for example for files embedded into the binary. (check-in: [1a49ef773d] user: js, branch: trunk, size: 42910) [annotate] [blame] [check-ins using] [diff]

2021-03-07
02:36
[8eb0a45d6e] part of check-in [a0fd103a0b] Style change: Allow more than 1 argument per line

This is only migrating some places, others will be migrated as they are
touched. (check-in: [a0fd103a0b] user: js, branch: trunk, size: 42974) [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
[c803b1d0df] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 42994) [annotate] [blame] [check-ins using] [diff]
2020-11-01
11:35
[b31ea8640a] part of check-in [4bbac7ab17] OFString: Add -[substring{From,To}Index:] (check-in: [4bbac7ab17] user: js, branch: trunk, size: 43083) [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
[670340b7ed] part of check-in [163a4a5a2e] Use /** */ instead of /*! */ for documentation (check-in: [163a4a5a2e] user: js, branch: trunk, size: 42558) [annotate] [blame] [check-ins using] [diff]
2020-08-13
22:46
[7689800b1d] part of check-in [d763a9ff86] propertyListValue -> objectByParsingPropertyList (check-in: [d763a9ff86] user: js, branch: trunk, size: 42558) [annotate] [blame] [check-ins using] [diff]
21:07
[2923bf31dc] part of check-in [8611f48f42] OFString: Rename JSONValue to objectByParsingJSON (check-in: [8611f48f42] user: js, branch: trunk, size: 42556) [annotate] [blame] [check-ins using] [diff]
2020-08-12
20:56
[9976ca688e] part of check-in [d74f244ab7] Avoid using (u)intmax_t in methods

It is not guaranteed that a type encoding for it exists. (check-in: [d74f244ab7] user: js, branch: trunk, size: 42554) [annotate] [blame] [check-ins using] [diff]

2020-08-11
19:45
[0749f31524] part of check-in [b6ee372b98] OFString: Rework number parsing API

This solves the old signed vs. unsigned problem and allows for more
bases than just 8, 10 and 16, as well as auto-detection of the base (if
base is 0). (check-in: [b6ee372b98] user: js, branch: trunk, size: 42556) [annotate] [blame] [check-ins using] [diff]

2020-04-21
22:47
[18fc9bbd71] part of check-in [94f1f0f479] OFWindowsRegistryKey: Compatibility with Win XP

This requires a slight API change to OFWindowsRegistryKey, as the
previous API was depending on RegGetValueW(), which is not available on
Windows XP. (check-in: [94f1f0f479] user: js, branch: trunk, size: 41484) [annotate] [blame] [check-ins using] [diff]

2020-04-19
10:02
[8801d5dd21] part of check-in [3356b9940c] Clean up which exception is used when a little (check-in: [3356b9940c] user: js, branch: trunk, size: 41290) [annotate] [blame] [check-ins using] [diff]
2020-04-11
19:31
[bdb6b2db5a] part of check-in [6e7e19252b] Make OFObject.h and OFString.h C-safe (check-in: [6e7e19252b] user: js, branch: trunk, size: 41295) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[dae29d5404] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 41046) [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
[6ace318746] part of check-in [496695d778] Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. (check-in: [496695d778] user: js, branch: trunk, size: 41069) [annotate] [blame] [check-ins using] [diff]

2019-08-31
16:20
[122f8a653b] part of check-in [c756e51a93] Fix order in a few headers (check-in: [c756e51a93] user: js, branch: trunk, size: 41043) [annotate] [blame] [check-ins using] [diff]
2019-02-03
19:19
[054ec39bed] part of check-in [f19cde3a14] Move a few URL methods from OFString to OFURL (check-in: [f19cde3a14] user: js, branch: trunk, size: 41044) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[83d6b83c23] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 41618) [annotate] [blame] [check-ins using] [diff]
2018-07-28
18:45
[cc99ff842b] part of check-in [aa0384d1bf] Rename OFLocalization -> OFLocale (check-in: [aa0384d1bf] user: js, branch: trunk, size: 41612) [annotate] [blame] [check-ins using] [diff]
2018-07-07
21:37
[6935000f18] part of check-in [8939d24b51] Add -[componentsSeparatedByCharactersInSet:] (check-in: [8939d24b51] user: js, branch: trunk, size: 41626) [annotate] [blame] [check-ins using] [diff]
2018-04-22
17:48
[ee47c97ffb] part of check-in [0b07c8fcfa] Make ObjFW compile for AmigaOS 3 (check-in: [0b07c8fcfa] user: js, branch: trunk, size: 40586) [annotate] [blame] [check-ins using] [diff]
2018-04-15
14:48
[0a00717fb4] part of check-in [9557564b3a] Print the localization at the end of the tests (check-in: [9557564b3a] user: js, branch: trunk, size: 40530) [annotate] [blame] [check-ins using] [diff]
2018-03-18
00:28
[0b96a25a15] part of check-in [db0bf9d5a7] Add support for parsing XML property lists (check-in: [db0bf9d5a7] user: js, branch: trunk, size: 40453) [annotate] [blame] [check-ins using] [diff]
2018-03-11
00:37
[47bba28c27] part of check-in [7a488c3062] OFString: Move path handling into a category

This is the first step to have different versions of those for different
operating systems, rather than #ifdefs everywhere.

This also has the nice side-effect of not having one implementation in
OFString and another one in OFString_UTF8 anymore. The one in OFString
was a generic version, while the one in OFString_UTF8 was one optimized
for UTF-8 strings. Now only the version optimized for UTF-8 strings
exists, as this is by far the most common string implementation used,
and the overhead of converting from something else to UTF-8 is not more
than converting to UTF-32. (check-in: [7a488c3062] user: js, branch: trunk, size: 40414) [annotate] [blame] [check-ins using] [diff]

2018-02-25
04:31
[70879a2fc2] part of check-in [505137f25f] Reintroduce of_char{16,32}_t

There is no reliable way to check if C++ already defined those, as Clang
now defines char{16,32}_t even when it is not in C++ 11 mode. So we
cannot check if we are not in C++ 11 and then define them and otherwise
rely on the C++ 11 types. (check-in: [505137f25f] user: js, branch: trunk, size: 41759) [annotate] [blame] [check-ins using] [diff]

2018-01-15
00:34
[73a909cfb2] part of check-in [5c08717941] Add -[writeToURL:] (check-in: [5c08717941] user: js, branch: trunk, size: 41618) [annotate] [blame] [check-ins using] [diff]
2018-01-14
18:25
[53d3dfe512] part of check-in [c85b63d2af] OFData: Add -[rangeOfData:options:range:] (check-in: [c85b63d2af] user: js, branch: trunk, size: 41194) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[8a8e2048a9] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 41195) [annotate] [blame] [check-ins using] [diff]
00:42
[584a9bb4f0] part of check-in [99cb9ac6f9] -[initWithContentsOfURL:]: Use OFURLHandler (check-in: [99cb9ac6f9] user: js, branch: trunk, size: 41172) [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
[21356c9437] part of check-in [cc3ad3ddd3] Documentation: Use @brief for all properties (check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 41234) [annotate] [blame] [check-ins using] [diff]
2017-11-14
23:27
[42499c2971] part of check-in [ad18d4f976] Add -[OFString stringByAppendingURLPathComponent:] (check-in: [ad18d4f976] user: js, branch: trunk, size: 41045) [annotate] [blame] [check-ins using] [diff]
2017-11-13
21:56
[848475bff2] part of check-in [4f2b0f0847] Add -[OFString indexOfCharacterFromSet:] (check-in: [4f2b0f0847] user: js, branch: trunk, size: 40765) [annotate] [blame] [check-ins using] [diff]
2017-11-04
21:12
[7c41844eaa] part of check-in [ca0621da09] OFString: Improve freeWhenDone in case of error (check-in: [ca0621da09] user: js, branch: 0.90, size: 38307) [annotate] [blame] [check-ins using] [diff]
21:09
[9cf04af53d] part of check-in [9f3a4dfbc0] OFString: Improve freeWhenDone in case of error (check-in: [9f3a4dfbc0] user: js, branch: trunk, size: 39115) [annotate] [blame] [check-ins using] [diff]
16:01
[cf140eeb90] part of check-in [1ec122d57c] +[stringWithUTF8StringNoCopy:length:freeWhenDone:] (check-in: [1ec122d57c] user: js, branch: trunk, size: 38671) [annotate] [blame] [check-ins using] [diff]
2017-10-29
21:58
[37d4036ea2] part of check-in [f3ccf14461] Convert methods to properties where appropriate

This improves Swift compatibility. (check-in: [f3ccf14461] user: js, branch: trunk, size: 37333) [annotate] [blame] [check-ins using] [diff]

2017-10-17
00:33
[54b5ea6d82] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 38342) [annotate] [blame] [check-ins using] [diff]

2017-07-29
20:23
[bb11f44cdb] part of check-in [062722e0b3] Include sys/types.h before using ssize_t (check-in: [062722e0b3] user: js, branch: trunk, size: 38013) [annotate] [blame] [check-ins using] [diff]
2017-07-23
18:02
[f5efa5d129] part of check-in [db06863643] Add -[OFString dataWithEncoding:] (check-in: [db06863643] user: js, branch: trunk, size: 37930) [annotate] [blame] [check-ins using] [diff]
17:55
[89bf3fd41c] part of check-in [9aacc26542] Add +[OFString stringWithData:encoding:] (check-in: [9aacc26542] user: js, branch: trunk, size: 37665) [annotate] [blame] [check-ins using] [diff]
2017-07-02
13:21
[2abf4074c0] part of check-in [7989a8db10] Add -[decomposedStringWithCompatibilityMapping] (check-in: [7989a8db10] user: js, branch: trunk, size: 36958) [annotate] [blame] [check-ins using] [diff]
11:55
[a96c6fa4a6] part of check-in [beae8473fb] -[OFString decomposedStringWithCanonicalMapping] (check-in: [beae8473fb] user: js, branch: trunk, size: 36758) [annotate] [blame] [check-ins using] [diff]
2017-06-25
16:53
[5f1355b3eb] part of check-in [de836a5f2b] OFString: Tiny documentation fix (check-in: [de836a5f2b] user: js, branch: trunk, size: 36529) [annotate] [blame] [check-ins using] [diff]
2017-05-07
21:25
[e62b5692f3] part of check-in [37d2a81754] Use char{16,32}_t instead of of_char{16,32}_t (check-in: [37d2a81754] user: js, branch: trunk, size: 36529) [annotate] [blame] [check-ins using] [diff]
20:10
[1f9f9bd1d3] 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: 36658) [annotate] [blame] [check-ins using] [diff]

2017-04-09
12:12
[df25fe3eba] part of check-in [af56e971bd] Use uint{16,32}_t for of_char{16,32}_t

While C11 uses uint_least{16,32}_t for char{16,32}_t in case a system
does not support uint{16,32}_t, we require uint{16,32}_t anyway and want
to make sure that of_char{16,32}_t always have the expected size. (check-in: [af56e971bd] user: js, branch: trunk, size: 36518) [annotate] [blame] [check-ins using] [diff]

2017-02-05
22:47
[c2a7cfd375] part of check-in [52e6e8aa89] Add ISO-8859-3 (check-in: [52e6e8aa89] user: js, branch: trunk, size: 36530) [annotate] [blame] [check-ins using] [diff]
21:22
[29d3db12c3] part of check-in [2c489201b7] Add KOI8-U encoding (check-in: [2c489201b7] user: js, branch: trunk, size: 36479) [annotate] [blame] [check-ins using] [diff]
01:31
[7404ad4f5f] part of check-in [59348cd51d] Add KOI8-R encoding (check-in: [59348cd51d] user: js, branch: trunk, size: 36436) [annotate] [blame] [check-ins using] [diff]
2017-02-04
17:45
[f2b1c1c2e0] part of check-in [5a31a537a1] Fix typos in comments and strings found by aspell (check-in: [5a31a537a1] user: js, branch: trunk, size: 36393) [annotate] [blame] [check-ins using] [diff]
2017-01-18
03:45
[4a6fdfa037] part of check-in [4c8d02cc0d] Move parsing of encoding names to a single place (check-in: [4c8d02cc0d] user: js, branch: trunk, size: 36393) [annotate] [blame] [check-ins using] [diff]
2017-01-17
03:23
[09f33d7338] part of check-in [7a27ce7b0b] Add ISO-8859-2 (check-in: [7a27ce7b0b] user: js, branch: trunk, size: 36328) [annotate] [blame] [check-ins using] [diff]
2017-01-15
04:32
[c6d4af2673] part of check-in [adbf31f2f9] Add codepage 858

This only differs from codepage 850 by a single code point. (check-in: [adbf31f2f9] user: js, branch: trunk, size: 36277) [annotate] [blame] [check-ins using] [diff]

2017-01-11
04:22
[9936d08fa6] part of check-in [0f88ccfb04] Add Windows-1251 encoding (check-in: [0f88ccfb04] user: js, branch: trunk, size: 36222) [annotate] [blame] [check-ins using] [diff]
2017-01-10
23:23
[78eb3b06a4] part of check-in [0832fcf579] Add Mac OS Roman encoding (check-in: [0832fcf579] user: js, branch: trunk, size: 36167) [annotate] [blame] [check-ins using] [diff]
21:38
[ffba6d3d70] part of check-in [878c25c9d7] Add codepage 850 (check-in: [878c25c9d7] user: js, branch: trunk, size: 36115) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[79bdbf48d8] 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: 36060) [annotate] [blame] [check-ins using] [diff]

06:26
[0fabfb3f71] part of check-in [06bcb21fc7] Add OFLocalization

This singleton gives access to all things locale, including the ability
to get localized strings.

This also adds the OF_LOCALIZED() macro. Its first argument is an ID for
the string to be localized and its second argument is the fallback
string to be used if it cannot retrieve the localized string. Following
that are variable name / value pairs to be replaced in the localized
string.

Getting translated strings is not implemented yet: Instead, it always
uses the fallback string.

This also switches ofhttp to localized strings. (check-in: [06bcb21fc7] user: js, branch: trunk, size: 36054) [annotate] [blame] [check-ins using] [diff]

2016-10-09
01:31
[898af43561] part of check-in [19cb9a43a5] Do not use @compatibility_alias when using modules (check-in: [19cb9a43a5] user: js, branch: trunk, size: 35918) [annotate] [blame] [check-ins using] [diff]
01:06
[fa0e84e6e6] part of check-in [9c108208ef] Remove inttypes.h include from OFString.h

This fixes including a non-module header in a module. (check-in: [9c108208ef] user: js, branch: trunk, size: 35885) [annotate] [blame] [check-ins using] [diff]

2016-07-24
00:06
[ac066f58da] part of check-in [951f530aee] Rename OFHash to OFCryptoHash

OFHash is too generic, as this protocol is for cryptographic hashes. It
also solves the ambiguity of the +[hash] method (which is now
+[cryptoHash]), which conflicted with -[hash] on the class itself,
resulting in classes conforming to OFHash not being able to be used as a
key in an OFDictionary. (check-in: [951f530aee] user: js, branch: trunk, size: 35887) [annotate] [blame] [check-ins using] [diff]

2016-05-22
17:38
[f7188a0160] part of check-in [6ea8c2f107] Add -[OFString octalValue] (check-in: [6ea8c2f107] user: js, branch: trunk, size: 35881) [annotate] [blame] [check-ins using] [diff]
2016-03-13
11:19
[f6c039afa4] part of check-in [5e2ef97c35] Change of_string_utf8_decode() API

It now returns <= 0 on error, with negative values being the number of
bytes it would have needed * -1.

This can be used to detect cut off and how many bytes are missing. (check-in: [5e2ef97c35] user: js, branch: trunk, size: 35431) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[de3798d3c2] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 35500) [annotate] [blame] [check-ins using] [diff]

00:41
[a580fc1ea1] part of check-in [2a27cf3000] Update copyright

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

2015-11-29
11:43
[df4375ca6f] part of check-in [48980f2297] Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). (check-in: [48980f2297] user: js, branch: trunk, size: 35426) [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
[a26c914c0c] part of check-in [9e76144ef8] Add support for and use the new nullability (check-in: [9e76144ef8] user: js, branch: trunk, size: 35496) [annotate] [blame] [check-ins using] [diff]
2015-06-12
23:59
[727e3bcb81] part of check-in [5329fe7c1a] Add support for and use the new ObjC generics (check-in: [5329fe7c1a] user: js, branch: trunk, size: 35448) [annotate] [blame] [check-ins using] [diff]
2015-05-14
09:10
[d43c26adbd] part of check-in [dbe286c39f] initWithContentsOfURL: Require files or sockets (check-in: [dbe286c39f] user: js, branch: trunk, size: 35329) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[a93b145417] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 35205) [annotate] [blame] [check-ins using] [diff]
2014-10-04
21:59
[77d2e6f919] part of check-in [ec66e49dca] Add +[OFSystemInfo native8BitEncoding]

This replaces +[OFString nativeOSEncoding]. (check-in: [ec66e49dca] user: js, branch: trunk, size: 35199) [annotate] [blame] [check-ins using] [diff]

2014-08-23
01:01
[096e5cd183] part of check-in [c8a562d8d7] Make ObjFW.framework a module

This makes it possible to import ObjFW from Swift. (check-in: [c8a562d8d7] user: js, branch: trunk, size: 35481) [annotate] [blame] [check-ins using] [diff]

2014-05-14
21:09
[cf35fc260b] part of check-in [ac1ae59c91] Replace @compatibility_alias with #define for NS*

@compatibility_alias breaks when enabling the new Clang module support. (check-in: [ac1ae59c91] user: js, branch: trunk, size: 34978) [annotate] [blame] [check-ins using] [diff]

2014-02-18
18:50
[ce5de11866] part of check-in [246cfe0807] Documentation: Show correct imports (check-in: [246cfe0807] user: js, branch: trunk, size: 34991) [annotate] [blame] [check-ins using] [diff]
2014-02-05
09:02
[bb26821e41] part of check-in [e96ab3a2be] Documentation improvements (check-in: [e96ab3a2be] user: js, branch: trunk, size: 34941) [annotate] [blame] [check-ins using] [diff]
2014-01-17
03:12
[e9c1948895] part of check-in [1b0a5cf829] Add -[OFString lossyCStringWithEncoding:]. (check-in: [1b0a5cf829] user: js, branch: trunk, size: 34725) [annotate] [blame] [check-ins using] [diff]
2014-01-16
23:38
[0173474bc3] part of check-in [e54c8c0368] Add +[OFString nativeOSEncoding].

This replaces OF_STRING_ENCODING_NATIVE, as a define was not flexible
enough (determining the native OS encoding at startup was not possible). (check-in: [e54c8c0368] user: js, branch: trunk, size: 33501) [annotate] [blame] [check-ins using] [diff]

2014-01-09
00:01
[b61505c473] part of check-in [f89edd8ed9] Add --disable-files configure flag. (check-in: [f89edd8ed9] user: js, branch: trunk, size: 33291) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[31572b904c] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 33207) [annotate] [blame] [check-ins using] [diff]
2013-11-24
18:57
[2365ec48aa] part of check-in [8486e8c42a] OFString.h: Revert something that slipped in.

This actually belonged to a commit that has not been pushed yet. (check-in: [8486e8c42a] user: js, branch: trunk, size: 33201) [annotate] [blame] [check-ins using] [diff]

17:28
[a2cf91e1c0] part of check-in [4b56450a24] of_asprintf: Change %k to %C and %K to %S.

This reverts 2943b43. It turned out that using %C and %S is possible,
even when mixing code with Cocoa code, as it is possible to introduce
__attribute__((format(__OFString__, ...))) to Clang which just handles
%C and %S as being of_unichar_t instead of unichar like they are handled
for __attribute__((format(__NSString__, ...))).

The Clang patch for __attribute__((format(__OFString__, ...))) has been
submitted, but is not upstream yet, thus the changes for that are not
being committed yet. (check-in: [4b56450a24] user: js, branch: trunk, size: 33226) [annotate] [blame] [check-ins using] [diff]

2013-11-23
17:48
[add596737a] part of check-in [945ff1043d] of_asprintf: Add %K format specifier.

%K is for const of_unichar_t*. (check-in: [945ff1043d] user: js, branch: trunk, size: 33226) [annotate] [blame] [check-ins using] [diff]

03:24
[ddf9f2532e] part of check-in [5eada9f7b0] of_asprintf: Change %C to %k.

In Cocoa, %C means unichar, which is unsigned short and thus compilers
expect %C to be unichar when the language is set to ObjC. It would be
hard to let compilers detect whether %C should be unichar or
of_unichar_t, especially when mixing ObjFW and Cocoa code, thus the
change to %k. (check-in: [5eada9f7b0] user: js, branch: trunk, size: 33117) [annotate] [blame] [check-ins using] [diff]

2013-11-22
19:27
[5833b2a141] part of check-in [e803913a9d] of_asprintf: Add %C format specifier. (check-in: [e803913a9d] user: js, branch: trunk, size: 33117) [annotate] [blame] [check-ins using] [diff]
2013-08-25
21:16
[71ed97918e] part of check-in [37dc5d933f] Add -[OFString pathExtension]. (check-in: [37dc5d933f] user: js, branch: trunk, size: 33045) [annotate] [blame] [check-ins using] [diff]
20:59
[2d8cbb5422] part of check-in [0222de872b] Add -[OFString stringByDeletingPathExtension]. (check-in: [0222de872b] user: js, branch: trunk, size: 32913) [annotate] [blame] [check-ins using] [diff]
2013-08-14
19:17
[f3d3ca44b0] part of check-in [7c4179ab9b] +[stringWithPath:] -> +[pathWithComponents:].

This removes -[initWithPath:,...], so that it's finally possible to use
-[initWithPath:] for many places where a workaround like
-[initWithDirectoryPath:] was required before. (check-in: [7c4179ab9b] user: js, branch: trunk, size: 32716) [annotate] [blame] [check-ins using] [diff]

2013-08-12
10:09
[5f3de292e6] part of check-in [3912669d91] Add codepage 437.

This is required for ZIP files, which can use either codepage 437 or
Unicode. (check-in: [3912669d91] user: js, branch: trunk, size: 33359) [annotate] [blame] [check-ins using] [diff]

2013-06-19
19:14
[eaa607fa2a] part of check-in [cba771824e] Implement the new MessagePack specification.

No support for extensions yet.

This obsoletes BinaryPack. (check-in: [cba771824e] user: js, branch: trunk, size: 33304) [annotate] [blame] [check-ins using] [diff]

2013-03-08
22:44
[7dbf74822f] part of check-in [e8473b9db8] Document the block types.

This also removes "bool *stop" from some blocks where it does not make
sense. (check-in: [e8473b9db8] user: js, branch: trunk, size: 33302) [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
[855049f2d1] part of check-in [c5ef582958] Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. (check-in: [c5ef582958] user: js, branch: trunk, size: 33105) [annotate] [blame] [check-ins using] [diff]

2013-02-21
19:35
[e626a11209] part of check-in [23c798d4f1] Add support for generating BinaryPack. (check-in: [23c798d4f1] user: js, branch: trunk, size: 33105) [annotate] [blame] [check-ins using] [diff]
2013-01-17
23:15
[a823c4de2d] part of check-in [50b5ac3b27] Documentation improvements. (check-in: [50b5ac3b27] user: js, branch: trunk, size: 33038) [annotate] [blame] [check-ins using] [diff]
2013-01-16
14:27
[6da3527557] part of check-in [7694d37135] OFString: Add -[getCString:maxLength:encoding:]. (check-in: [7694d37135] user: js, branch: trunk, size: 32887) [annotate] [blame] [check-ins using] [diff]
2013-01-14
23:57
[b1831ea39c] part of check-in [18ad960654] OFString: Add -[writeToFile:encoding:]. (check-in: [18ad960654] user: js, branch: trunk, size: 32344) [annotate] [blame] [check-ins using] [diff]
2013-01-13
13:07
[0efe0688a9] part of check-in [545b6f740e] Add of_char{16,32}_t.

For ObjC++, these are defined to char{16,32}_t if C++11 is used. This
means passing e.g. a C++11 UTF-16 string to -[initWithUTF16String:]
works without a warning.

For C11, this is not necessary, as char{16,32}_t are just typedef'd to
uint_least{16,32}_t in <uchar.h> and thus compatible to the definition
of of_char{16,32}_t. The reason for not defining of_char{16,32}_t to
char{16,32}_t when using C11 is that <uchar.h> might be missing and that
char{16,32}_t are not required to be UTF-{16,32}, whereas in C++, they
are required to be UTF-{16,32}. (check-in: [545b6f740e] user: js, branch: trunk, size: 32041) [annotate] [blame] [check-ins using] [diff]

02:44
[208c62cea3] part of check-in [2d33638be9] Documentation improvements. (check-in: [2d33638be9] user: js, branch: trunk, size: 31784) [annotate] [blame] [check-ins using] [diff]
2013-01-12
17:29
[5446e12756] part of check-in [9ddd33a258] Rename *UsingEncoding: to *WithEncoding:.

This reverts 5362941.

Even though *UsingEncoding: is what Foundation uses, *WithEncoding: is
more natural and is more consistent with the rest. Also, this means this
restores it to the API of 0.7. (check-in: [9ddd33a258] user: js, branch: trunk, size: 31367) [annotate] [blame] [check-ins using] [diff]

2013-01-11
12:41
[da0e74ec07] part of check-in [50916b8dbe] OFString: Improve API for characters / UTF-32.

With this change, there is a clear separation between characters and
UTF-32 strings now. Characters are just an array of characters in the
native endianess, with no BOM prepended. UTF-32 on the other hand may
have a BOM and can be swapped and is optionally zero-terminated.

This also fixes a few missing UTF-16 init methods in OFMutableString. (check-in: [50916b8dbe] user: js, branch: trunk, size: 31369) [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
[8e79ca2f6d] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 30784) [annotate] [blame] [check-ins using] [diff]
2013-01-08
12:33
[4892881708] part of check-in [7cddd5f891] OFString: Add methods for UTF-32. (check-in: [7cddd5f891] user: js, branch: trunk, size: 30778) [annotate] [blame] [check-ins using] [diff]
2013-01-07
22:07
[31ec44e41b] part of check-in [9d3cd5e5fe] OFString: Zero-terminate UTF-16 strings.

This partly reverts e8502c7.

The rationale behind this is that, on some OSes, native APIs (on e.g.
Windows) take UTF-16 strings that are zero-terminated.

However, forcing zero-termination for every string so that -[characters]
returns a zero-terminated UTF-32 string does not make sense. Therefore,
in the future, -[UTF32String] will be added, which will include
zero-termination. OFString subclasses can then just return their
internal representation if it includes a terminating zero or create a
copy that has a terminating zero if not. (check-in: [9d3cd5e5fe] user: js, branch: trunk, size: 28671) [annotate] [blame] [check-ins using] [diff]

13:35
[ad8cbdf010] part of check-in [02ca89285f] Improve API for UTF-16 strings. (check-in: [02ca89285f] user: js, branch: trunk, size: 27459) [annotate] [blame] [check-ins using] [diff]
2012-12-30
00:22
[931dc2b046] part of check-in [c16e6aca56] Fix -[initWithUTF8StringNoCopy:freeWhenDone:]. (check-in: [c16e6aca56] user: js, branch: trunk, size: 26779) [annotate] [blame] [check-ins using] [diff]
2012-12-29
17:56
[05df72695a] part of check-in [640b225ba7] OFString: Improve API for Unicode strings.

* Instead of Unicode "strings", it uses the term "Unicode character
array".
* No terminating 0 character anymore, as these are not C strings
anyway. (check-in: [640b225ba7] user: js, branch: trunk, size: 26791) [annotate] [blame] [check-ins using] [diff]

14:43
[5e9e46c622] part of check-in [374956b098] Prettify some code. (check-in: [374956b098] user: js, branch: trunk, size: 29163) [annotate] [blame] [check-ins using] [diff]
2012-12-26
19:55
[b8302b7457] part of check-in [b98fd10000] Add -[OFString stringByStandardizing(URL)Path]. (check-in: [b98fd10000] user: js, branch: trunk, size: 29359) [annotate] [blame] [check-ins using] [diff]
2012-12-16
14:57
[4d4538878f] part of check-in [aecadefe62] Add -[stringByAppendingFormat:arguments:]. (check-in: [aecadefe62] user: js, branch: trunk, size: 28884) [annotate] [blame] [check-ins using] [diff]
2012-12-15
23:31
[2600a4af67] part of check-in [e2f4c1283c] OFString: Improved API for getting C strings. (check-in: [e2f4c1283c] user: js, branch: trunk, size: 28500) [annotate] [blame] [check-ins using] [diff]
2012-12-12
18:40
[0b6a858bc6] part of check-in [6ad5d3d8d6] Coding style. (check-in: [6ad5d3d8d6] user: js, branch: trunk, size: 28498) [annotate] [blame] [check-ins using] [diff]
2012-12-09
12:31
[af8955aa05] part of check-in [b55b4ab87b] Fix +[OFString stringWithUTF8StringNoCopy:…]. (check-in: [b55b4ab87b] user: js, branch: trunk, size: 28476) [annotate] [blame] [check-ins using] [diff]
2012-11-11
12:12
[2e05b802ef] part of check-in [da23dca008] Add -[OFString stringByAppendingFormat:]. (check-in: [da23dca008] user: js, branch: trunk, size: 28042) [annotate] [blame] [check-ins using] [diff]
11:51
[25f3180e0b] part of check-in [8edaa642e4] Add two more OF_SENTINEL. (check-in: [8edaa642e4] user: js, branch: 0.7, size: 27749) [annotate] [blame] [check-ins using] [diff]
11:51
[51a8cd8c83] part of check-in [ed3fd5525e] Add two more OF_SENTINEL. (check-in: [ed3fd5525e] user: js, branch: trunk, size: 27749) [annotate] [blame] [check-ins using] [diff]
2012-10-29
13:37
[cab3d30f53] part of check-in [1bcd4b3d46] Documentation improvements (add references). (check-in: [1bcd4b3d46] user: js, branch: 0.7, size: 27725) [annotate] [blame] [check-ins using] [diff]
13:35
[f401ec63ba] part of check-in [e685b742d9] Documentation improvements (add references). (check-in: [e685b742d9] user: js, branch: trunk, size: 27725) [annotate] [blame] [check-ins using] [diff]
08:00
[6d0eea5940] part of check-in [7a3977d7fd] Documentation improvements. (check-in: [7a3977d7fd] user: js, branch: 0.7, size: 28037) [annotate] [blame] [check-ins using] [diff]
07:59
[ec74b3531b] part of check-in [63bf4de97b] Documentation improvements. (check-in: [63bf4de97b] user: js, branch: trunk, size: 28037) [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
[3cea6d45eb] part of check-in [1ad9565253] Switch to a headerdoc-compatible doc format. (check-in: [1ad9565253] user: js, branch: trunk, size: 28036) [annotate] [blame] [check-ins using] [diff]
2012-10-16
14:47
[1cf435b925] part of check-in [fcaa549324] A few more API improvements.

This should make it more future-proof, as adding new options is easier
than adding new methods for each and every combination of options. (check-in: [fcaa549324] user: js, branch: trunk, size: 28036) [annotate] [blame] [check-ins using] [diff]

2012-10-14
00:59
[9619983a96] part of check-in [f38744df74] OF_INVALID_INDEX -> OF_NOT_FOUND. (check-in: [f38744df74] user: js, branch: trunk, size: 27834) [annotate] [blame] [check-ins using] [diff]
2012-10-13
22:21
[0ffb1811bb] part of check-in [20dddc7345] Add -[OFString rangeOfString:options:range:]. (check-in: [20dddc7345] user: js, branch: trunk, size: 27846) [annotate] [blame] [check-ins using] [diff]
21:29
[2f006f43b3] part of check-in [9817eab3be] Rename s->UTF8 to s->isUTF8. (check-in: [9817eab3be] user: js, branch: trunk, size: 27364) [annotate] [blame] [check-ins using] [diff]
20:50
[505bd888a0] part of check-in [9cfefe9c30] Move UTF-8 functions to OFString_UTF8.m. (check-in: [9cfefe9c30] user: js, branch: trunk, size: 27365) [annotate] [blame] [check-ins using] [diff]
20:02
[3ded5f2be1] part of check-in [5209390938] indexOfFirstOccurrenceOfString -> rangeOfString. (check-in: [5209390938] user: js, branch: trunk, size: 27376) [annotate] [blame] [check-ins using] [diff]
19:30
[a75e75f59e] part of check-in [255fd75828] of_endianess_t -> of_byte_order_t. (check-in: [255fd75828] user: js, branch: trunk, size: 27150) [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
[ef2dd82880] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 27142) [annotate] [blame] [check-ins using] [diff]
2012-10-03
15:41
[189c6c26d9] part of check-in [7239333455] Move definition of restricted to OFObject.h. (check-in: [7239333455] user: js, branch: trunk, size: 26820) [annotate] [blame] [check-ins using] [diff]
2012-09-06
19:13
[6666093c89] part of check-in [3659c87c63] Add -[OFString initWithUTF8String:freeWhenDone:]. (check-in: [3659c87c63] user: js, branch: trunk, size: 26840) [annotate] [blame] [check-ins using] [diff]
2012-08-03
18:45
[b5ebcdbbc4] part of check-in [881cfff24e] Add ARC type qualifiers. (check-in: [881cfff24e] user: js, branch: trunk, size: 26357) [annotate] [blame] [check-ins using] [diff]
2012-07-06
15:00
[1edda5da97] part of check-in [9a2430abfc] Add -[OFString capitalizedString]. (check-in: [9a2430abfc] user: js, branch: trunk, size: 26254) [annotate] [blame] [check-ins using] [diff]
2012-05-22
12:59
[56e5646eb4] part of check-in [868e1611f4] Add -[OFString stringByAppendingPathComponent:]. (check-in: [868e1611f4] user: js, branch: trunk, size: 25954) [annotate] [blame] [check-ins using] [diff]
2012-04-21
10:15
[2bed144e84] part of check-in [048e3eec4b] Add support for number literals and boxing. (check-in: [048e3eec4b] user: js, branch: trunk, size: 25690) [annotate] [blame] [check-ins using] [diff]
2012-02-27
17:15
[1b7d10d7f5] part of check-in [3c0235cd81] Rename OFJSON/OFJSONEncoding to OFJSONRepresentation. (check-in: [3c0235cd81] user: js, branch: trunk, size: 25566) [annotate] [blame] [check-ins using] [diff]
12:25
[ce6af38102] part of check-in [c007c0d4f7] Add -[OFString componentsSeparatedByString:skipEmpty:]. (check-in: [c007c0d4f7] user: js, branch: trunk, size: 25546) [annotate] [blame] [check-ins using] [diff]
2012-02-25
11:24
[3d66e4ea15] part of check-in [99ed50a5e4] Always define __STDC_{CONSTANT,LIMIT}_MACROS before libc includes.
This is necessary for ObjC++.
(check-in: [99ed50a5e4] user: js, branch: 0.6, size: 25208) [annotate] [blame] [check-ins using] [diff]
2012-01-31
18:59
[14c6115375] part of check-in [e5fe02de61] Add -[OFMutableString replaceOccurrencesOfString:withString:inRange:]. (check-in: [e5fe02de61] user: js, branch: trunk, size: 25092) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[9670456400] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 24546) [annotate] [blame] [check-ins using] [diff]
2011-12-26
16:38
[d207a1ff98] part of check-in [55bba95bce] Add a note about the lifetime of the result of -[UTF8String]. (check-in: [55bba95bce] user: js, branch: trunk, size: 24540) [annotate] [blame] [check-ins using] [diff]
2011-12-10
21:50
[e5361dfca6] part of check-in [0b98b3a093] Rename OFJSON to OFJSONEncoding. (check-in: [0b98b3a093] user: js, branch: trunk, size: 24192) [annotate] [blame] [check-ins using] [diff]
21:46
[0ad45bcf47] part of check-in [8ba0a62c0d] Add JSON parsing. (check-in: [8ba0a62c0d] user: js, branch: trunk, size: 24184) [annotate] [blame] [check-ins using] [diff]
13:17
[63071797b5] part of check-in [243a96fc2d] Add JSON encoding. (check-in: [243a96fc2d] user: js, branch: trunk, size: 24153) [annotate] [blame] [check-ins using] [diff]
2011-11-20
18:41
[8719bc5cf6] part of check-in [301ee63212] Make OFString a class cluster.

It is a class cluster now, but there is still much to improve. (check-in: [301ee63212] user: js, branch: trunk, size: 24126) [annotate] [blame] [check-ins using] [diff]

2011-10-31
22:02
[bf385a3e5c] part of check-in [a51b3cb390] Add -[UTF16String] to OFString. (check-in: [a51b3cb390] user: js, branch: trunk, size: 24430) [annotate] [blame] [check-ins using] [diff]
22:01
[2bb04bd0ef] part of check-in [f412995e6a] Assume big endian encoding for UTF16 if none is specified and no BOM.

This was changed from native to big endian because UCS-2 is defined to
be big endian. (check-in: [f412995e6a] user: js, branch: trunk, size: 24100) [annotate] [blame] [check-ins using] [diff]

2011-10-29
01:36
[af13422bcb] part of check-in [4d6f7fc529] Make return type of -[unicodeString] const. (check-in: [4d6f7fc529] user: js, branch: trunk, size: 24095) [annotate] [blame] [check-ins using] [diff]
00:00
[6cbaebe470] part of check-in [49cf155269] Make the parameter for +[stringWith{Unicode,UTF16}String:] const. (check-in: [49cf155269] user: js, branch: trunk, size: 24089) [annotate] [blame] [check-ins using] [diff]
2011-09-19
12:34
[dc6e0953b2] part of check-in [d43eb177bc] BOOL naming conventions. (check-in: [d43eb177bc] user: js, branch: trunk, size: 23993) [annotate] [blame] [check-ins using] [diff]
2011-09-15
19:26
[1581ec724e] part of check-in [6dd03a129e] Add -[enumerateLinesUsingBlock:] to OFString. (check-in: [6dd03a129e] user: js, branch: trunk, size: 23995) [annotate] [blame] [check-ins using] [diff]
2011-09-12
19:57
[5e6b1ff86f] part of check-in [e6fd39d11e] Rename -[cString] to -[UTF8String]. (check-in: [e6fd39d11e] user: js, branch: trunk, size: 23652) [annotate] [blame] [check-ins using] [diff]
18:57
[fad2ce5911] part of check-in [90369e9323] Add -[cStringWithEncoding:] and -[cStringLengthWithEncoding:]. (check-in: [90369e9323] user: js, branch: trunk, size: 23677) [annotate] [blame] [check-ins using] [diff]
18:40
[24d1b609ed] part of check-in [96e70bb9c4] Add OF_STRING_ENCODING_NATIVE. (check-in: [96e70bb9c4] user: js, branch: trunk, size: 23121) [annotate] [blame] [check-ins using] [diff]
18:26
[106ad7b993] part of check-in [7920f081ec] Add OF_STRING_ENCODING_ASCII. (check-in: [7920f081ec] user: js, branch: trunk, size: 23049) [annotate] [blame] [check-ins using] [diff]
2011-09-11
17:09
[3b28f920b3] part of check-in [8d554c0421] Documentation improvements. (check-in: [8d554c0421] user: js, branch: trunk, size: 23022) [annotate] [blame] [check-ins using] [diff]
2011-09-10
17:46
[56efcb0f4e] part of check-in [a8b61d68ae] Add -[stringByReplacingOccurrencesOfString:withString:]. (check-in: [a8b61d68ae] user: js, branch: trunk, size: 21678) [annotate] [blame] [check-ins using] [diff]
2011-08-04
16:48
[f186440ce9] part of check-in [f977192a23] Get rid of -[*FromIndex:toIndex:]. (check-in: [f977192a23] user: js, branch: trunk, size: 21255) [annotate] [blame] [check-ins using] [diff]
2011-07-23
15:40
[5a32f0ead2] part of check-in [3eae5ffa15] Add properties to OFString. (check-in: [3eae5ffa15] user: js, branch: trunk, size: 21543) [annotate] [blame] [check-ins using] [diff]
2011-07-15
10:30
[9c1d78f2d3] part of check-in [77fe5572fe] Make sure restrict is always defined.

This way, we also don't need -std=gnu99 in objfw-config anymore.

Fixes ObjC++, for which -std=gnu99 is invalid and where there is no
restrict. (check-in: [77fe5572fe] user: js, branch: trunk, size: 21388) [annotate] [blame] [check-ins using] [diff]

2011-07-12
23:13
[373d429e50] part of check-in [c5e95e98ca] Fix missing cast. (check-in: [c5e95e98ca] user: js, branch: 0.5, size: 13657) [annotate] [blame] [check-ins using] [diff]
23:13
[8d981d2192] part of check-in [8c40feec2b] Fix missing cast. (check-in: [8c40feec2b] user: js, branch: trunk, size: 21368) [annotate] [blame] [check-ins using] [diff]
2011-07-09
14:45
[d7444f1cd5] part of check-in [36e8a94f34] Cache the length of a string.

Also removes -[appendCStringWithoutUTF8Checking:] as it is dangerous and
not compatible with this optimization. (check-in: [36e8a94f34] user: js, branch: trunk, size: 21371) [annotate] [blame] [check-ins using] [diff]

2011-07-08
20:13
[3fb5b4e15d] part of check-in [7c66260ead] Rename -[deleteLeadingAndTrailingWhitespaces]. (check-in: [7c66260ead] user: js, branch: trunk, size: 21345) [annotate] [blame] [check-ins using] [diff]
19:15
[4d41d466d8] part of check-in [3ffa55524a] Rename ivars in OFString struct to prevent prospective name conflicts. (check-in: [3ffa55524a] user: js, branch: trunk, size: 21354) [annotate] [blame] [check-ins using] [diff]
15:29
[78f3465255] part of check-in [0b846bcc4a] Make it possible to add more ivars to OFConstantString. (check-in: [0b846bcc4a] user: js, branch: trunk, size: 21275) [annotate] [blame] [check-ins using] [diff]
2011-07-07
17:03
[21d7d8692e] part of check-in [d0085d2c5d] Add a note about the %@ format specifier. (check-in: [d0085d2c5d] user: js, branch: trunk, size: 20437) [annotate] [blame] [check-ins using] [diff]
2011-07-06
22:55
[62caae6241] part of check-in [7558e235fe] Only allow an OFConstantString as format. (check-in: [7558e235fe] user: js, branch: trunk, size: 20224) [annotate] [blame] [check-ins using] [diff]
2011-06-05
22:26
[e4ec21f536] part of check-in [29988c434b] Nicer API for serialization. (check-in: [29988c434b] user: js, branch: trunk, size: 20174) [annotate] [blame] [check-ins using] [diff]
20:45
[2dc2045c14] part of check-in [5b7d19e956] Add -[stringByPrependingString:] to OFString. (check-in: [5b7d19e956] user: js, branch: trunk, size: 20139) [annotate] [blame] [check-ins using] [diff]
2011-05-15
17:00
[f063331312] part of check-in [3dad5e5803] Make it possible to specify the byte order for Unicode / UTF-16. (check-in: [3dad5e5803] user: js, branch: trunk, size: 19901) [annotate] [blame] [check-ins using] [diff]
2011-05-14
23:52
[fd1c48329e] part of check-in [ec666ede07] Add -[stringWithUTF16String:] to OFString. (check-in: [ec666ede07] user: js, branch: trunk, size: 16657) [annotate] [blame] [check-ins using] [diff]
2011-05-08
19:55
[289337b95c] part of check-in [b27b3aa3e3] Add support for serialization.
No deserialization yet.
(check-in: [b27b3aa3e3] user: js, branch: trunk, size: 15634) [annotate] [blame] [check-ins using] [diff]
2011-05-02
20:46
[379f8259de] part of check-in [04ffb67949] Add +[OFString stringWithUnicodeString:length:]. (check-in: [04ffb67949] user: js, branch: trunk, size: 15585) [annotate] [blame] [check-ins using] [diff]
2011-05-01
23:58
[1412423068] part of check-in [7b7250a0ba] Autorelease the return value of -[unicodeString] and include a BOM. (check-in: [7b7250a0ba] user: js, branch: trunk, size: 14991) [annotate] [blame] [check-ins using] [diff]
00:35
[65a04abda1] part of check-in [e2bbfb45d0] Add +[OFString stringWithUnicodeString:]. (check-in: [e2bbfb45d0] user: js, branch: trunk, size: 14926) [annotate] [blame] [check-ins using] [diff]
2011-04-30
23:33
[7edfd43e32] part of check-in [d968d32614] Style improvements. (check-in: [d968d32614] user: js, branch: trunk, size: 14480) [annotate] [blame] [check-ins using] [diff]
2011-04-25
22:50
[bd128c526e] part of check-in [c74d7dec0e] Don't fall back to ISO-8859-1 in +[OFString stringWithContentsOfURL:].
This way, we can be sure to never have garbage.
(check-in: [c74d7dec0e] user: js, branch: trunk, size: 14480) [annotate] [blame] [check-ins using] [diff]
22:31
[fdc7cb8d4c] part of check-in [1dadc4b4a6] Try to autodetect the encoding in +[OFString stringWithContentsOfURL:]. (check-in: [1dadc4b4a6] user: js, branch: trunk, size: 14566) [annotate] [blame] [check-ins using] [diff]
2011-04-23
14:46
[1b480c69df] part of check-in [becb4c9b86] Add -[uppercaseString] and -[lowercaseString] to OFString. (check-in: [becb4c9b86] user: js, branch: trunk, size: 14024) [annotate] [blame] [check-ins using] [diff]
13:23
[8c8a66350c] part of check-in [6f4bf74c7d] More style improvements. (check-in: [6f4bf74c7d] user: js, branch: trunk, size: 13876) [annotate] [blame] [check-ins using] [diff]
2011-03-29
19:03
[3da081c65e] part of check-in [9c59bc9aee] Add -[floatValue] and -[doubleValue]. (check-in: [9c59bc9aee] user: js, branch: trunk, size: 13660) [annotate] [blame] [check-ins using] [diff]
18:20
[5f4a684d91] part of check-in [e0a8e01190] Ignore leading and trailing whitespaces in -[(hexa)decimalValue]. (check-in: [e0a8e01190] user: js, branch: trunk, size: 13204) [annotate] [blame] [check-ins using] [diff]
2011-03-23
13:05
[6689e2f31d] part of check-in [a252dc5c69] Use OF_INVALID_INDEX instead of SIZE_MAX. (check-in: [a252dc5c69] user: js, branch: trunk, size: 12916) [annotate] [blame] [check-ins using] [diff]
00:19
[76ff127a29] part of check-in [b682102c3d] Add new methods to OFString. (check-in: [b682102c3d] user: js, branch: trunk, size: 12900) [annotate] [blame] [check-ins using] [diff]
2011-03-22
13:10
[7f5553838b] part of check-in [67e7d1e222] Move path methods from OFFile to OFString. (check-in: [67e7d1e222] user: js, branch: trunk, size: 12284) [annotate] [blame] [check-ins using] [diff]
00:55
[9b66ad1a81] part of check-in [6d4dfb5bc7] Add -Wshorten-64-to-32. (check-in: [6d4dfb5bc7] user: js, branch: trunk, size: 12027) [annotate] [blame] [check-ins using] [diff]
2011-02-17
18:29
[71d6e95663] part of check-in [d932adccc3] Add -[stringWithContentsOfURL:encoding:]. (check-in: [d932adccc3] user: js, branch: trunk, size: 12107) [annotate] [blame] [check-ins using] [diff]
2011-02-10
20:41
[a14b03c49f] part of check-in [3273f141b3] More work on the PSP port.
Outputting text now works - with colours!
(check-in: [3273f141b3] user: js, branch: trunk, size: 10936) [annotate] [blame] [check-ins using] [diff]
17:19
[aedcb6f5f6] part of check-in [a3e03981ea] Use ports instead of services in OFTCPSocket. (check-in: [a3e03981ea] user: js, branch: trunk, size: 10968) [annotate] [blame] [check-ins using] [diff]
2011-02-09
09:37
[6e3ed07eb5] part of check-in [a6c5af136b] Add -[containsString:] to OFString. (check-in: [a6c5af136b] user: js, branch: trunk, size: 10914) [annotate] [blame] [check-ins using] [diff]
2011-02-01
22:11
[6f22d22dfa] part of check-in [03d1b71d10] Use extern "C" where useful.
Improves ObjC++ compatibility.
(check-in: [03d1b71d10] user: js, branch: trunk, size: 10770) [annotate] [blame] [check-ins using] [diff]
2011-01-15
18:17
[78d3e88b84] part of check-in [b5ec30fa9d] Define enums as types. (check-in: [b5ec30fa9d] user: js, branch: trunk, size: 10703) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[c3d27af413] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 10646) [annotate] [blame] [check-ins using] [diff]
2010-12-25
13:14
[f308e10429] part of check-in [6b45991a6a] Add OFComparing protocol. (check-in: [6b45991a6a] user: js, branch: trunk, size: 10390) [annotate] [blame] [check-ins using] [diff]
2010-12-20
15:12
[425969f6b0] part of check-in [bf836060fb] Documentation improvements. (check-in: [bf836060fb] user: js, branch: trunk, size: 10562) [annotate] [blame] [check-ins using] [diff]
2010-12-13
22:36
[43d907f36d] part of check-in [7564bf4445] Rename -[decimalValueAsInteger] to -[decimalValue]. (check-in: [7564bf4445] user: js, branch: trunk, size: 10560) [annotate] [blame] [check-ins using] [diff]
2010-10-25
23:03
[3ca2bba748] part of check-in [8a7ca573c4] Clean up a lot of code (mostly init methods) and fix a missing rethrow. (check-in: [8a7ca573c4] user: js, branch: trunk, size: 10520) [annotate] [blame] [check-ins using] [diff]
2010-09-19
22:59
[5350934922] part of check-in [f9ed4c1d11] Optimize handling of ASCII strings. (check-in: [f9ed4c1d11] user: js, branch: trunk, size: 10621) [annotate] [blame] [check-ins using] [diff]
22:35
[0db9d52d0e] part of check-in [b5f0fc343d] Add -[unicodeString] to OFString. (check-in: [b5f0fc343d] user: js, branch: trunk, size: 10572) [annotate] [blame] [check-ins using] [diff]
2010-09-16
00:08
[b8bdd51fbc] part of check-in [68ef210228] Rename OFConstString to OFConstantString. (check-in: [68ef210228] user: js, branch: trunk, size: 10312) [annotate] [blame] [check-ins using] [diff]
2010-07-02
21:56
[9830becdb5] part of check-in [aed0aea0b2] Add -[writeToFile:] to OFString. (check-in: [aed0aea0b2] user: js, branch: trunk, size: 10309) [annotate] [blame] [check-ins using] [diff]
2010-06-12
20:47
[56876e2512] 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: 10130) [annotate] [blame] [check-ins using] [diff]
2010-05-09
14:39
[dc84da64f5] part of check-in [f45026a5f9] Rename OFHashes to OFHash. (check-in: [f45026a5f9] user: js, branch: trunk, size: 10094) [annotate] [blame] [check-ins using] [diff]
2010-04-17
22:27
[1828092a6a] part of check-in [37db8f0fb3] New ivar naming convention.

ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. (check-in: [37db8f0fb3] user: js, branch: trunk, size: 10096) [annotate] [blame] [check-ins using] [diff]

2010-04-11
02:49
[fe46512cb7] part of check-in [c7630df319] Add +[stringWithContentsOfFile:] to OFString. (check-in: [c7630df319] user: js, branch: trunk, size: 10097) [annotate] [blame] [check-ins using] [diff]
2010-04-10
23:52
[7aecf0bec8] part of check-in [48190e2a91] Add +[stringWithPath:] to OFString. (check-in: [48190e2a91] user: js, branch: trunk, size: 9006) [annotate] [blame] [check-ins using] [diff]
2010-04-04
16:50
[f68ed3b0a1] part of check-in [7bc07fede9] Rename -[splitWithDelimiter:] to -[componentsSeparatedByString:]. (check-in: [7bc07fede9] user: js, branch: trunk, size: 8263) [annotate] [blame] [check-ins using] [diff]
2010-04-02
16:33
[2ed8d736d0] part of check-in [59dd873fd0] -[hexadecimalValueAsInteger] returns an unsigned value now. (check-in: [59dd873fd0] user: js, branch: trunk, size: 8254) [annotate] [blame] [check-ins using] [diff]
2010-03-05
11:52
[8df36d219e] part of check-in [b91a8283fe] Merge a few changesets from the default branch into the 0.2 branch.

Changesets:
* b95fcaa6d694
* 804c68d222b4
* da8cd738da3d
* 1109d5ce3419
* d03f5c1ca95d
* 2a7017722165
* 4fccdc79eeb7
* d228149fbc04
* 8782d412a4a6 (check-in: [b91a8283fe] user: js, branch: 0.2, size: 8093) [annotate] [blame] [check-ins using] [diff]

2010-02-19
16:36
[728aa93b28] part of check-in [42886185fd] Update copyright. (check-in: [42886185fd] user: js, branch: trunk, size: 8253) [annotate] [blame] [check-ins using] [diff]
2010-02-11
14:58
[9555bfe257] part of check-in [72caeab860] Documentation improvements. (check-in: [72caeab860] user: js, branch: trunk, size: 8253) [annotate] [blame] [check-ins using] [diff]
14:05
[d23b48aa76] part of check-in [a7bed8325c] Add of_range_t and add methods taking an of_range_t. (check-in: [a7bed8325c] user: js, branch: trunk, size: 8246) [annotate] [blame] [check-ins using] [diff]
2010-01-16
15:05
[24fcd165e3] part of check-in [1433aef0d0] Reduce dependencies between headers. (check-in: [1433aef0d0] user: js, branch: trunk, size: 8086) [annotate] [blame] [check-ins using] [diff]
14:43
[9d51bd491c] part of check-in [1348a32d47] Remove mutation methods from immutable classes' interfaces. (check-in: [1348a32d47] user: js, branch: trunk, size: 8089) [annotate] [blame] [check-ins using] [diff]
2009-12-01
13:35
[bb02b7e8a2] part of check-in [240b72cd71] Better checking which runtime we use. (check-in: [240b72cd71] user: js, branch: trunk, size: 8768) [annotate] [blame] [check-ins using] [diff]
2009-11-13
14:30
[eec9378345] part of check-in [35fda90cf5] Add -[caseInsensitiveCompare:] and fix -[compare:]. (check-in: [35fda90cf5] user: js, branch: trunk, size: 8771) [annotate] [blame] [check-ins using] [diff]
2009-11-10
15:34
[a8cd4bc958] part of check-in [3d007c8393] Improve of_string_utf8_to_unicode. (check-in: [3d007c8393] user: js, branch: trunk, size: 8541) [annotate] [blame] [check-ins using] [diff]
15:32
[1b35f65444] part of check-in [6772512e3e] Improve -[compare:]. (check-in: [6772512e3e] user: js, branch: trunk, size: 8571) [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
[d44d424d71] part of check-in [a3cc34b139] Rename libobjfw to ObjFW. (check-in: [a3cc34b139] user: js, branch: trunk, size: 8597) [annotate] [blame] [check-ins using] [diff]
2009-10-16
08:44
[72b442269e] part of check-in [8389241a05] OFMutableString's -[upper] and -[lower]: Get rid of code duplication. (check-in: [8389241a05] user: js, branch: trunk, size: 8600) [annotate] [blame] [check-ins using] [diff]
2009-10-06
13:02
[0ac3d63fc6] part of check-in [4d0bccf77c] Add -[(hexa)decimalValueAsInteger] to OFString. (check-in: [4d0bccf77c] user: js, branch: trunk, size: 8625) [annotate] [blame] [check-ins using] [diff]
2009-10-04
13:43
[9823a943c7] part of check-in [bd1bd1460b] Add -[characterAtIndex:] to OFString. (check-in: [bd1bd1460b] user: js, branch: trunk, size: 8173) [annotate] [blame] [check-ins using] [diff]
12:45
[560317e4d4] part of check-in [8b162c7122] Add of_unichar_t type. (check-in: [8b162c7122] user: js, branch: trunk, size: 7891) [annotate] [blame] [check-ins using] [diff]
2009-10-03
21:18
[628673bcd3] part of check-in [0fcb47fb59] Add -[length] to OFString. (check-in: [0fcb47fb59] user: js, branch: trunk, size: 7855) [annotate] [blame] [check-ins using] [diff]
20:41
[4beff4fcbf] part of check-in [2b615e0443] Indexes are now relative to the Unicode character, not the C character. (check-in: [2b615e0443] user: js, branch: trunk, size: 7770) [annotate] [blame] [check-ins using] [diff]
2009-09-01
11:32
[db05d342fe] part of check-in [3ed599fe98] Rename -[length] to -[cStringLength] in OFString. (check-in: [3ed599fe98] user: js, branch: trunk, size: 7634) [annotate] [blame] [check-ins using] [diff]
2009-08-27
17:52
[4c61fdeaf5] part of check-in [a9ff126697] Add -[removeCharactersFromIndex:toIndex:] to OFMutableString. (check-in: [a9ff126697] user: js, branch: trunk, size: 7566) [annotate] [blame] [check-ins using] [diff]
2009-07-20
23:20
[070cca9ea4] part of check-in [e04c359780] Add support for C strings encoded in Windows-1252. (check-in: [e04c359780] user: js, branch: trunk, size: 7495) [annotate] [blame] [check-ins using] [diff]
18:39
[d669b9c0c5] part of check-in [0ea758cd9c] Add support for C strings encoded in ISO 8859-15. (check-in: [0ea758cd9c] user: js, branch: trunk, size: 7462) [annotate] [blame] [check-ins using] [diff]
2009-07-19
18:14
[3f6a6e3d31] part of check-in [8216fb9343] Add support for C strings encoded in ISO 8859-1. (check-in: [8216fb9343] user: js, branch: trunk, size: 7428) [annotate] [blame] [check-ins using] [diff]
14:05
[bf71f83fcd] part of check-in [4eae61a78f] Rename andFoo: to foo: in all methods. (check-in: [4eae61a78f] user: js, branch: trunk, size: 5903) [annotate] [blame] [check-ins using] [diff]
13:11
[e0cc0b9e88] part of check-in [df75a3df04] Emphasize UTF-8 encoding of C strings in documentation. (check-in: [df75a3df04] user: js, branch: trunk, size: 5910) [annotate] [blame] [check-ins using] [diff]
13:04
[a4f1a280cf] part of check-in [1bbc11d7a5] A few new string methods. (check-in: [1bbc11d7a5] user: js, branch: trunk, size: 5781) [annotate] [blame] [check-ins using] [diff]
2009-07-17
12:41
[f69ee67b87] part of check-in [d051b1302d] Add OFString (OFHashing) category. (check-in: [d051b1302d] user: js, branch: trunk, size: 5131) [annotate] [blame] [check-ins using] [diff]
2009-07-14
21:58
[292d36265a] part of check-in [a80e9b948d] Also parse &#NNNN; and &#xHHHH; in -[stringByXMLUnescaping]. (check-in: [a80e9b948d] user: js, branch: trunk, size: 5110) [annotate] [blame] [check-ins using] [diff]
21:22
[42972211ab] part of check-in [de937a62e4] Add of_string_unicode_to_utf8 which converts unicode to UTF-8. (check-in: [de937a62e4] user: js, branch: trunk, size: 5113) [annotate] [blame] [check-ins using] [diff]
18:57
[dedea52274] part of check-in [d8684fc232] Add OFString (OFXMLUnescaping) category and API for OFXMLParser. (check-in: [d8684fc232] user: js, branch: trunk, size: 5060) [annotate] [blame] [check-ins using] [diff]
17:32
[1adde179e3] part of check-in [dc7bb2d594] Add methods to handle C strings with length to OF(Mutable)String. (check-in: [dc7bb2d594] user: js, branch: trunk, size: 5036) [annotate] [blame] [check-ins using] [diff]
2009-06-30
22:21
[39d87bb8ba] part of check-in [9758677802] Implement -[indexOf{First,Last}OccurrenceOfString:] for OFString. (check-in: [9758677802] user: js, branch: trunk, size: 4315) [annotate] [blame] [check-ins using] [diff]
20:12
[1821b8be7d] part of check-in [cfb401ed3a] Implement -[substringFromIndex:toIndex:] for OFString. (check-in: [cfb401ed3a] user: js, branch: trunk, size: 3921) [annotate] [blame] [check-ins using] [diff]
2009-06-18
18:42
[bbf5506e5d] part of check-in [f9c673f241] Preliminary OFXMLElement implementation. (check-in: [f9c673f241] user: js, branch: trunk, size: 3633) [annotate] [blame] [check-ins using] [diff]
18:26
[c66ab2551c] part of check-in [47e65e5a97] Add -[appendCStringWithoutUTF8Checking:]. (check-in: [47e65e5a97] user: js, branch: trunk, size: 3608) [annotate] [blame] [check-ins using] [diff]
2009-06-09
20:47
[924026e22c] part of check-in [9863810eba] Rename -[append:] to -[appendString:]. (check-in: [9863810eba] user: js, branch: trunk, size: 3554) [annotate] [blame] [check-ins using] [diff]
20:10
[0a39997d8c] part of check-in [41974cf38d] Move documentation of mutating methods.
Mutating methods are now documented in the mutable class.
(check-in: [41974cf38d] user: js, branch: trunk, size: 3548) [annotate] [blame] [check-ins using] [diff]
2009-06-03
03:54
[444a655483] part of check-in [2496d46c35] Add methods to remove leading or trailing whitespaces or both. (check-in: [2496d46c35] user: js, branch: trunk, size: 4691) [annotate] [blame] [check-ins using] [diff]
2009-05-23
22:07
[0f37fc8589] part of check-in [88163bd172] Add a new convenience method to OFString. (check-in: [88163bd172] user: js, branch: trunk, size: 4391) [annotate] [blame] [check-ins using] [diff]
21:02
[54ab126f71] part of check-in [bc71bde0dd] Add replaceOccurrencesOfString:withString: to OFString. (check-in: [bc71bde0dd] user: js, branch: trunk, size: 4104) [annotate] [blame] [check-ins using] [diff]
2009-05-18
18:24
[ffb53e2845] part of check-in [577023d300] Remove useless convenience method. (check-in: [577023d300] user: js, branch: trunk, size: 3858) [annotate] [blame] [check-ins using] [diff]
18:15
[99a279b1da] part of check-in [79e1893b40] Introduce OFMutableCopying protocol. (check-in: [79e1893b40] user: js, branch: trunk, size: 4200) [annotate] [blame] [check-ins using] [diff]
18:09
[b7ca2d5c06] part of check-in [e7e8efd297] More separation for OFString and OFMutableString. (check-in: [e7e8efd297] user: js, branch: trunk, size: 4182) [annotate] [blame] [check-ins using] [diff]
16:49
[71d4835865] part of check-in [8dc49f1861] Make - copy a protocol. (check-in: [8dc49f1861] user: js, branch: trunk, size: 3251) [annotate] [blame] [check-ins using] [diff]
2009-05-16
14:28
[46177c0182] part of check-in [b992a4b0e5] Add OFURLEncoding for OFString category. (check-in: [b992a4b0e5] user: js, branch: trunk, size: 3379) [annotate] [blame] [check-ins using] [diff]
2009-05-15
20:01
[3cfd596b43] part of check-in [67066be692] Use OFString as much as possible. (check-in: [67066be692] user: js, branch: trunk, size: 3353) [annotate] [blame] [check-ins using] [diff]
2009-05-07
11:55
[7948d30ca4] part of check-in [1d44132d96] There is no point in splitWithDelimiter: requiring an OFString.
Plus some code clean up in splitWithDelimiter:.
(check-in: [1d44132d96] user: js, branch: trunk, size: 3330) [annotate] [blame] [check-ins using] [diff]
2009-05-05
15:04
[a1e4b20180] part of check-in [029d4af91d] Add - splitWithDelimiter: to OFString. (check-in: [029d4af91d] user: js, branch: trunk, size: 3328) [annotate] [blame] [check-ins using] [diff]
2009-05-04
21:22
[71a103f35e] part of check-in [82334856a8] Fix OF(Mutable)String documentation. (check-in: [82334856a8] user: js, branch: trunk, size: 3082) [annotate] [blame] [check-ins using] [diff]
14:19
[61adf1fefa] part of check-in [372211deb7] Make OFString a common class for all strings. (check-in: [372211deb7] user: js, branch: trunk, size: 2987) [annotate] [blame] [check-ins using] [diff]
2009-03-15
13:46
[2275e1b033] part of check-in [2ff44fe8d7] Preliminary OFConstString implementation and support for @"" literals. (check-in: [2ff44fe8d7] user: js, branch: trunk, size: 3719) [annotate] [blame] [check-ins using] [diff]
2009-02-15
16:40
[6da443a86b] part of check-in [d9308adc2b] Get rid of OFComparable and make it part of OFObject. (check-in: [d9308adc2b] user: js, branch: trunk, size: 3724) [annotate] [blame] [check-ins using] [diff]
2009-02-14
19:04
[eac68d8a40] part of check-in [cc2e866e55] Let OFString's setTo: use const char* instead of OFString*.
This is far more useful.
(check-in: [cc2e866e55] user: js, branch: trunk, size: 3553) [annotate] [blame] [check-ins using] [diff]
17:26
[6a1a0bcc55] part of check-in [029511474c] Always use #include for libc headers due to glibc being broken.
Do the same for win32 headers, just in case. They should work with
#import, but you never know ;).
(check-in: [029511474c] user: js, branch: trunk, size: 3551) [annotate] [blame] [check-ins using] [diff]
17:08
[d0143637ff] part of check-in [61a6ac873a] Big diff, see details.

* Add OFComparable protocol.
* Add OFInvalidArgument exception - needs that sel_getName vs.
sel_get_name stuff again, therefore reintroduce it.
* Implement proper copy method for OFString and OFArray.
* Add isEqual: and compare: for OFString and OFArray. (check-in: [61a6ac873a] user: js, branch: trunk, size: 3549) [annotate] [blame] [check-ins using] [diff]

2009-01-24
15:24
[3f383f6fa1] part of check-in [1496808b81] Adjust API to introduction of OFAutoreleasePool. (check-in: [1496808b81] user: js, branch: trunk, size: 3723) [annotate] [blame] [check-ins using] [diff]
2009-01-05
00:59
[24a3ce2979] part of check-in [f1b749d113] Update copyright. (check-in: [f1b749d113] user: js, branch: trunk, size: 3666) [annotate] [blame] [check-ins using] [diff]
2009-01-02
17:20
[b76c2c6c58] part of check-in [ba01b9c18a] Some import fixes, some static lib and win32 enhancements. (check-in: [ba01b9c18a] user: js, branch: trunk, size: 3659) [annotate] [blame] [check-ins using] [diff]
2008-12-30
14:42
[23e156a28f] part of check-in [555f28985f] Add OFNumber. (check-in: [555f28985f] user: js, branch: trunk, size: 3641) [annotate] [blame] [check-ins using] [diff]
2008-12-26
21:34
[3e60c38f22] part of check-in [617ca244c5] Remove redundant method. (check-in: [617ca244c5] user: js, branch: trunk, size: 3652) [annotate] [blame] [check-ins using] [diff]
2008-12-24
11:55
[e5252f091b] part of check-in [486760ed2b] Add methods to initalize from and append from formatted C strings. (check-in: [486760ed2b] user: js, branch: trunk, size: 3733) [annotate] [blame] [check-ins using] [diff]
2008-12-23
03:59
[eb7e2198d6] part of check-in [7d7b89d775] Remove spaces and tabs at end of line. (check-in: [7d7b89d775] user: js, branch: trunk, size: 2020) [annotate] [blame] [check-ins using] [diff]
2008-12-21
15:42
[e46bf07ec6] part of check-in [b4a4e95798] Initial UTF-8 support for OFString. (check-in: [b4a4e95798] user: js, branch: trunk, size: 2024) [annotate] [blame] [check-ins using] [diff]
2008-12-20
14:19
[80f285a39b] part of check-in [4360177618] Remove wchar_t stuff, as that's not portable anyway. (check-in: [4360177618] user: js, branch: trunk, size: 2007) [annotate] [blame] [check-ins using] [diff]
2008-12-13
14:50
[d8d41ef5ac] part of check-in [46b770d066] Add missing const for some return types; new exception. (check-in: [46b770d066] user: js, branch: trunk, size: 2756) [annotate] [blame] [check-ins using] [diff]
2008-12-07
10:48
[02ec2a897c] part of check-in [88053589dc] Very small API change. (check-in: [88053589dc] user: js, branch: trunk, size: 2750) [annotate] [blame] [check-ins using] [diff]
2008-12-06
15:14
[a0c9234128] part of check-in [9c420c6cc3] Rename cString to getCString, as this needs to be generated. (check-in: [9c420c6cc3] user: js, branch: trunk, size: 2748) [annotate] [blame] [check-ins using] [diff]
2008-11-30
15:17
[91deba8372] part of check-in [4b8666fe15] Clean up imports. (check-in: [4b8666fe15] user: js, branch: trunk, size: 2745) [annotate] [blame] [check-ins using] [diff]
2008-11-27
16:14
[451f517c16] part of check-in [2cbf759299] Add lower and upper for OFString. (check-in: [2cbf759299] user: js, branch: trunk, size: 2764) [annotate] [blame] [check-ins using] [diff]
2008-11-23
06:11
[3ff6ad57f0] part of check-in [bf02f0ef25] New string API, string class completely rewritten.
One class for all string types now.
(check-in: [bf02f0ef25] user: js, branch: trunk, size: 2682) [annotate] [blame] [check-ins using] [diff]
2008-11-19
18:27
[d4d814f095] part of check-in [cebd6fbbfc] Implement reverse for OF(Wide)CString & rename wcString -> wCString. (check-in: [cebd6fbbfc] user: js, branch: trunk, size: 2317) [annotate] [blame] [check-ins using] [diff]
2008-11-07
14:29
[74c6375e2f] part of check-in [e8e45975df] Everything should be documented now. (check-in: [e8e45975df] user: js, branch: trunk, size: 2272) [annotate] [blame] [check-ins using] [diff]
2008-11-05
20:30
[6e7e01107f] part of check-in [b5e28fc975] More documentation stuff. (check-in: [b5e28fc975] user: js, branch: trunk, size: 2269) [annotate] [blame] [check-ins using] [diff]
17:13
[bd63b22084] part of check-in [2690e9848f] Start documenting stuff. (check-in: [2690e9848f] user: js, branch: trunk, size: 782) [annotate] [blame] [check-ins using] [diff]
2008-10-28
18:19
[71a7d2b095] part of check-in [9759533b97] Add #undefs in OFHashes.

Just to be sure that we won't get any conflicts when someone addes new
hashes. (check-in: [9759533b97] user: js, branch: trunk, size: 815) [annotate] [blame] [check-ins using] [diff]

2008-10-25
22:25
[a2a6f02dc3] part of check-in [62abf39400] newWithFooString -> newAsFooString. (check-in: [62abf39400] user: js, branch: trunk, size: 814) [annotate] [blame] [check-ins using] [diff]
2008-10-22
13:32
[19fb63cd94] part of check-in [e47ad44290] Reworked OFObject and added append(Wide)CString to OFString.

The reworked OFObject lets one test fail on the GNU runtime.
Unfortunately, I have no idea why... (check-in: [e47ad44290] user: js, branch: trunk, size: 819) [annotate] [blame] [check-ins using] [diff]

2008-10-11
20:26
[f6f06366e5] part of check-in [7b15048e25] Move length from base string class to subclasses & others. (check-in: [7b15048e25] user: js, branch: trunk, size: 723) [annotate] [blame] [check-ins using] [diff]
2008-10-08
23:15
[6806a7a1f1] part of check-in [b597d49f43] Multiple changes, see details.

* OFObject getMem: renamd to getMemWithSize:.
* OFString compare: renamed to compareTo:.
* Exceptions don't throw itself anymore.
* Exceptions include an error string now.
* Exceptions now got raise and string.
* New methods for OFFile:
* changeModeOfFile:toMode:
* changeOwnerOfFile:toOwner:andGroup:
* delete:
* link:to:
* symlink:to:
* OFFile isEndOfFile renamd to atEndOfFile
* OFNotImplementedExeception newWithObject:andMethod renamed to
newWithObject:andSelector:.
* Tests updated accordingly.
* TODO list added. (check-in: [b597d49f43] user: js, branch: trunk, size: 744) [annotate] [blame] [check-ins using] [diff]

2008-10-05
19:20
[9a4ef12426] part of check-in [cf85bee74f] Reworked String API. (check-in: [cf85bee74f] user: js, branch: trunk, size: 741) [annotate] [blame] [check-ins using] [diff]
2008-09-15
11:02
[236184ed79] part of check-in [c7f702cc69] API change. (check-in: [c7f702cc69] user: js, branch: trunk, size: 662) [annotate] [blame] [check-ins using] [diff]
10:23
[669d4151c7] part of check-in [24ce530f56] Add compare: for strings. (check-in: [24ce530f56] user: js, branch: trunk, size: 625) [annotate] [blame] [check-ins using] [diff]
2008-09-14
15:29
[362876c1c2] part of check-in [778be56179] Coding style. (check-in: [778be56179] user: js, branch: trunk, size: 593) [annotate] [blame] [check-ins using] [diff]
2008-09-12
18:21
[9ae2f04448] part of check-in [0256ab4f09] OFString uses OFObject's getMem: and resizeMem:toSize: now. (check-in: [0256ab4f09] user: js, branch: trunk, size: 612) [annotate] [blame] [check-ins using] [diff]
13:25
Added: [ceca91fa6c] part of check-in [a580136c80] Initial import. (check-in: [a580136c80] user: js, branch: trunk, size: 610) [annotate] [blame] [check-ins using]