ObjFW  History of src/OFString.h of 2cb48ceaf1d0c54a929080b17bcf0f994335809830ae6d0cbd8ae81dc9f2644b

History of file src/OFString.h at check-in 2cb48ceaf1d0c54a929080b17bcf0f994335809830ae6d0cbd8ae81dc9f2644b

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: [dfff2d8730] check-in: [6fbc3b18c7] user: js, branch: trunk, size: 47454 [annotate] [blame] [check-ins using] [diff]

2024-08-17
09:51
Move private functions into private headers file: [5672da673b] check-in: [b829f3e798] user: js, branch: trunk, size: 46965 [annotate] [blame] [check-ins using] [diff]
2024-07-28
19:56
Add support for Codepage 852 file: [e2ec4dcbc3] check-in: [0c7de8be1d] user: js, branch: trunk, size: 47214 [annotate] [blame] [check-ins using] [diff]
14:45
Add support for Windows-1250 encoding file: [8f85c16a4b] check-in: [4d82cae50d] user: js, branch: trunk, size: 47162 [annotate] [blame] [check-ins using] [diff]
2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [35675702ad] check-in: [164f2fb4bf] user: js, branch: trunk, size: 47111 [annotate] [blame] [check-ins using] [diff]
2024-05-01
15:19
Document a lot of undocumented functions & macros

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

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

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

2023-08-17
14:30
OFString: Add designated initializer file: [9db2761571] check-in: [03339575cb] user: js, branch: trunk, size: 46829 [annotate] [blame] [check-ins using] [diff]
2023-08-05
10:12
Make platform-specific methods show up in Doxygen file: [9fa7a96c12] check-in: [de6dbcf928] user: js, branch: trunk, size: 46669 [annotate] [blame] [check-ins using] [diff]
09:04
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. file: [edccd3970b] check-in: [14c70763b0] user: js, branch: trunk, size: 46643 [annotate] [blame] [check-ins using] [diff]

2023-04-10
19:22
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. file: [55ba0a041b] check-in: [6ce0093f8d] user: js, branch: trunk, size: 46873 [annotate] [blame] [check-ins using] [diff]

2023-01-13
13:00
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. file: [0d179dd073] check-in: [c8e1b0c2b9] user: js, branch: trunk, size: 46955 [annotate] [blame] [check-ins using] [diff]

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

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

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

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

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

2021-03-07
02:36
Style change: Allow more than 1 argument per line

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

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

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

2020-08-11
19:45
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). file: [0749f31524] check-in: [b6ee372b98] user: js, branch: trunk, size: 42556 [annotate] [blame] [check-ins using] [diff]

2020-04-21
22:47
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. file: [18fc9bbd71] check-in: [94f1f0f479] user: js, branch: trunk, size: 41484 [annotate] [blame] [check-ins using] [diff]

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

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

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

2018-02-25
04:31
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. file: [70879a2fc2] check-in: [505137f25f] user: js, branch: trunk, size: 41759 [annotate] [blame] [check-ins using] [diff]

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

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

2017-10-17
00:33
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. file: [54b5ea6d82] check-in: [2f4e0df8be] user: js, branch: trunk, size: 38342 [annotate] [blame] [check-ins using] [diff]

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

Casts are now written like types in variable declarations. file: [1f9f9bd1d3] check-in: [4af49a13c3] user: js, branch: trunk, size: 36658 [annotate] [blame] [check-ins using] [diff]

2017-04-09
12:12
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. file: [df25fe3eba] check-in: [af56e971bd] user: js, branch: trunk, size: 36518 [annotate] [blame] [check-ins using] [diff]

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

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

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

06:26
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. file: [0fabfb3f71] check-in: [06bcb21fc7] user: js, branch: trunk, size: 36054 [annotate] [blame] [check-ins using] [diff]

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

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

2016-07-24
00:06
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. file: [ac066f58da] check-in: [951f530aee] user: js, branch: trunk, size: 35887 [annotate] [blame] [check-ins using] [diff]

2016-05-22
17:38
Add -[OFString octalValue] file: [f7188a0160] check-in: [6ea8c2f107] user: js, branch: trunk, size: 35881 [annotate] [blame] [check-ins using] [diff]
2016-03-13
11:19
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. file: [f6c039afa4] check-in: [5e2ef97c35] user: js, branch: trunk, size: 35431 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-29
11:43
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). file: [df4375ca6f] check-in: [48980f2297] user: js, branch: trunk, size: 35426 [annotate] [blame] [check-ins using] [diff]

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

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

2014-08-23
01:01
Make ObjFW.framework a module

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

2014-05-14
21:09
Replace @compatibility_alias with #define for NS*

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

2014-02-18
18:50
Documentation: Show correct imports file: [ce5de11866] check-in: [246cfe0807] user: js, branch: trunk, size: 34991 [annotate] [blame] [check-ins using] [diff]
2014-02-05
09:02
Documentation improvements file: [bb26821e41] check-in: [e96ab3a2be] user: js, branch: trunk, size: 34941 [annotate] [blame] [check-ins using] [diff]
2014-01-17
03:12
Add -[OFString lossyCStringWithEncoding:]. file: [e9c1948895] check-in: [1b0a5cf829] user: js, branch: trunk, size: 34725 [annotate] [blame] [check-ins using] [diff]
2014-01-16
23:38
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). file: [0173474bc3] check-in: [e54c8c0368] user: js, branch: trunk, size: 33501 [annotate] [blame] [check-ins using] [diff]

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

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

17:28
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. file: [a2cf91e1c0] check-in: [4b56450a24] user: js, branch: trunk, size: 33226 [annotate] [blame] [check-ins using] [diff]

2013-11-23
17:48
of_asprintf: Add %K format specifier.

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

03:24
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. file: [ddf9f2532e] check-in: [5eada9f7b0] user: js, branch: trunk, size: 33117 [annotate] [blame] [check-ins using] [diff]

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

2013-08-12
10:09
Add codepage 437.

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

2013-06-19
19:14
Implement the new MessagePack specification.

No support for extensions yet.

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

2013-03-08
22:44
Document the block types.

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

2013-03-04
17:20
Replace BOOL with bool.

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

2013-02-21
19:35
Add support for generating BinaryPack. file: [e626a11209] check-in: [23c798d4f1] user: js, branch: trunk, size: 33105 [annotate] [blame] [check-ins using] [diff]
2013-01-17
23:15
Documentation improvements. file: [a823c4de2d] check-in: [50b5ac3b27] user: js, branch: trunk, size: 33038 [annotate] [blame] [check-ins using] [diff]
2013-01-16
14:27
OFString: Add -[getCString:maxLength:encoding:]. file: [6da3527557] check-in: [7694d37135] user: js, branch: trunk, size: 32887 [annotate] [blame] [check-ins using] [diff]
2013-01-14
23:57
OFString: Add -[writeToFile:encoding:]. file: [b1831ea39c] check-in: [18ad960654] user: js, branch: trunk, size: 32344 [annotate] [blame] [check-ins using] [diff]
2013-01-13
13:07
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}. file: [0efe0688a9] check-in: [545b6f740e] user: js, branch: trunk, size: 32041 [annotate] [blame] [check-ins using] [diff]

02:44
Documentation improvements. file: [208c62cea3] check-in: [2d33638be9] user: js, branch: trunk, size: 31784 [annotate] [blame] [check-ins using] [diff]
2013-01-12
17:29
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. file: [5446e12756] check-in: [9ddd33a258] user: js, branch: trunk, size: 31367 [annotate] [blame] [check-ins using] [diff]

2013-01-11
12:41
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. file: [da0e74ec07] check-in: [50916b8dbe] user: js, branch: trunk, size: 31369 [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
Update copyright. file: [8e79ca2f6d] check-in: [813c00ccf0] user: js, branch: trunk, size: 30784 [annotate] [blame] [check-ins using] [diff]
2013-01-08
12:33
OFString: Add methods for UTF-32. file: [4892881708] check-in: [7cddd5f891] user: js, branch: trunk, size: 30778 [annotate] [blame] [check-ins using] [diff]
2013-01-07
22:07
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. file: [31ec44e41b] check-in: [9d3cd5e5fe] user: js, branch: trunk, size: 28671 [annotate] [blame] [check-ins using] [diff]

13:35
Improve API for UTF-16 strings. file: [ad8cbdf010] check-in: [02ca89285f] user: js, branch: trunk, size: 27459 [annotate] [blame] [check-ins using] [diff]
2012-12-30
00:22
Fix -[initWithUTF8StringNoCopy:freeWhenDone:]. file: [931dc2b046] check-in: [c16e6aca56] user: js, branch: trunk, size: 26779 [annotate] [blame] [check-ins using] [diff]
2012-12-29
17:56
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. file: [05df72695a] check-in: [640b225ba7] user: js, branch: trunk, size: 26791 [annotate] [blame] [check-ins using] [diff]

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

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

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

2011-10-31
22:02
Add -[UTF16String] to OFString. file: [bf385a3e5c] check-in: [a51b3cb390] user: js, branch: trunk, size: 24430 [annotate] [blame] [check-ins using] [diff]
22:01
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. file: [2bb04bd0ef] check-in: [f412995e6a] user: js, branch: trunk, size: 24100 [annotate] [blame] [check-ins using] [diff]

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

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

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

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

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

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

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

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

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

2008-10-25
22:25
newWithFooString -> newAsFooString. file: [a2a6f02dc3] check-in: [62abf39400] user: js, branch: trunk, size: 814 [annotate] [blame] [check-ins using] [diff]
2008-10-22
13:32
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... file: [19fb63cd94] check-in: [e47ad44290] user: js, branch: trunk, size: 819 [annotate] [blame] [check-ins using] [diff]

2008-10-11
20:26
Move length from base string class to subclasses & others. file: [f6f06366e5] check-in: [7b15048e25] user: js, branch: trunk, size: 723 [annotate] [blame] [check-ins using] [diff]
2008-10-08
23:15
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. file: [6806a7a1f1] check-in: [b597d49f43] user: js, branch: trunk, size: 744 [annotate] [blame] [check-ins using] [diff]

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