ObjFW  History of tests/OFString/OFString.m of 839112196f145ed4

History of file tests/OFString/OFString.m at check-in 839112196f145ed4

2009-09-14
18:37
Deleted: A few test framework improvements and migration of OFString tests. check-in: [138cb8f09a] user: js, branch: trunk, size: 0
2009-09-01
11:32
Rename -[length] to -[cStringLength] in OFString. file: [9cf2bd2fe4] check-in: [3ed599fe98] user: js, branch: trunk, size: 7885 [annotate] [blame] [check-ins using] [diff]
2009-08-27
17:52
Add -[removeCharactersFromIndex:toIndex:] to OFMutableString. file: [9c8a9cddc0] check-in: [a9ff126697] user: js, branch: trunk, size: 7878 [annotate] [blame] [check-ins using] [diff]
2009-08-14
01:01
Treat \n and \r as whitespaces in whitespace removing methods. file: [6aa5e1d043] check-in: [a5aed6da30] user: js, branch: trunk, size: 7657 [annotate] [blame] [check-ins using] [diff]
2009-07-20
23:20
Add support for C strings encoded in Windows-1252. file: [2fbf2def3c] check-in: [e04c359780] user: js, branch: trunk, size: 7641 [annotate] [blame] [check-ins using] [diff]
18:39
Add support for C strings encoded in ISO 8859-15. file: [74ea65afd6] check-in: [0ea758cd9c] user: js, branch: trunk, size: 7319 [annotate] [blame] [check-ins using] [diff]
2009-07-19
18:14
Add support for C strings encoded in ISO 8859-1. file: [3c317544a3] check-in: [8216fb9343] user: js, branch: trunk, size: 7161 [annotate] [blame] [check-ins using] [diff]
14:05
Rename andFoo: to foo: in all methods. file: [ba435901f8] check-in: [4eae61a78f] user: js, branch: trunk, size: 7012 [annotate] [blame] [check-ins using] [diff]
13:04
A few new string methods. file: [94044c3abd] check-in: [1bbc11d7a5] user: js, branch: trunk, size: 7019 [annotate] [blame] [check-ins using] [diff]
2009-07-17
12:41
Add OFString (OFHashing) category. file: [a21e69eb00] check-in: [d051b1302d] user: js, branch: trunk, size: 6688 [annotate] [blame] [check-ins using] [diff]
2009-07-16
23:15
'~' does not need escaping in -[stringByURLEncoding]. file: [59018dd6bd] check-in: [eeaee04433] user: js, branch: trunk, size: 6492 [annotate] [blame] [check-ins using] [diff]
23:02
Also handle '+' in -[stringByURLDecoding]. file: [465b61382e] check-in: [92d8754e02] user: js, branch: trunk, size: 6485 [annotate] [blame] [check-ins using] [diff]
2009-07-14
21:58
Also parse &#NNNN; and &#xHHHH; in -[stringByXMLUnescaping]. file: [2dbe4533ed] check-in: [a80e9b948d] user: js, branch: trunk, size: 6478 [annotate] [blame] [check-ins using] [diff]
18:57
Add OFString (OFXMLUnescaping) category and API for OFXMLParser. file: [b49062f26b] check-in: [d8684fc232] user: js, branch: trunk, size: 5995 [annotate] [blame] [check-ins using] [diff]
17:51
Optimize some code by using the new stringWithCString:andLength: method. file: [b1315ec8f9] check-in: [7bb3494ef9] user: js, branch: trunk, size: 5365 [annotate] [blame] [check-ins using] [diff]
17:32
Add methods to handle C strings with length to OF(Mutable)String. file: [2fcb062a9a] check-in: [dc7bb2d594] user: js, branch: trunk, size: 5365 [annotate] [blame] [check-ins using] [diff]
17:14
Get rid of strcmp and strlen calls in OFString tests. file: [859b6563cd] check-in: [6a2551a704] user: js, branch: trunk, size: 5166 [annotate] [blame] [check-ins using] [diff]
2009-06-30
22:21
Implement -[indexOf{First,Last}OccurrenceOfString:] for OFString. file: [5ed17a6543] check-in: [9758677802] user: js, branch: trunk, size: 5281 [annotate] [blame] [check-ins using] [diff]
20:12
Implement -[substringFromIndex:toIndex:] for OFString. file: [132079fa19] check-in: [cfb401ed3a] user: js, branch: trunk, size: 4772 [annotate] [blame] [check-ins using] [diff]
2009-06-18
18:42
Preliminary OFXMLElement implementation. file: [fa55c2ad9d] check-in: [f9c673f241] user: js, branch: trunk, size: 4343 [annotate] [blame] [check-ins using] [diff]
2009-06-09
20:47
Rename -[append:] to -[appendString:]. file: [8785c62127] check-in: [9863810eba] user: js, branch: trunk, size: 4097 [annotate] [blame] [check-ins using] [diff]
2009-06-05
18:30
Rename -[url{De,En}codedString] to -[stringByURL{De,En}coding]. file: [6c5bfadd7f] check-in: [4fa95c938d] user: js, branch: trunk, size: 4085 [annotate] [blame] [check-ins using] [diff]
2009-06-03
03:54
Add methods to remove leading or trailing whitespaces or both. file: [8579a7043b] check-in: [2496d46c35] user: js, branch: trunk, size: 4068 [annotate] [blame] [check-ins using] [diff]
2009-05-29
19:21
A few renames.

OFExceptions:
* OFNoMemException to OFOutOfMemoryException.
* OFMemNotPartOfObjException to OFMemoryNotPartOfObjectException.

OFObject:
* -[addItemToMemoryPool:] to -[addMemoryToPool:].
* -[allocWithSize:] to -[allocMemoryWithSize:].
* -[allocNItems:withSize] to -[allocMemoryForNItems:withSize:].
* -[resizeMem:toSize] to -[resizeMemory:toSize:].
* -[resizeMem:toNItems:withSize:] to
-[resizeMemoryToNItems:withSize:].
* -[freeMem] to -[freeMemory:].

OFString:
* -[urlencode] to -[urlEncodedString].
* -[urldecode] to -[urlDecodedString]. file: [894fde2106] check-in: [033054ad75] user: js, branch: trunk, size: 3512 [annotate] [blame] [check-ins using] [diff]

2009-05-24
18:04
Always use #include "config.h" instead of #import "config.h". file: [3c5eadaa9e] check-in: [94ea6848a8] user: js, branch: trunk, size: 3479 [annotate] [blame] [check-ins using] [diff]
2009-05-23
21:02
Add replaceOccurrencesOfString:withString: to OFString. file: [41d0f6db68] check-in: [bc71bde0dd] user: js, branch: trunk, size: 3478 [annotate] [blame] [check-ins using] [diff]
16:50
A few renames in OFArray, OFDataArray and OFDictionary.

OFArray:
* Rename - object: to - objectAtIndex:.

OFDataArray:
* Rename - item: to - itemAtIndex:.

OFDictionary:
* Rename - get: to - objectForKey:.
* Rename - set:to: to - setObject:forKey:.
* Rename - remove: to - removeObjectForKey:. file: [c6f6b5b983] check-in: [a29d403286] user: js, branch: trunk, size: 3196 [annotate] [blame] [check-ins using] [diff]

2009-05-18
18:09
More separation for OFString and OFMutableString. file: [203f97552a] check-in: [e7e8efd297] user: js, branch: trunk, size: 3154 [annotate] [blame] [check-ins using] [diff]
2009-05-16
14:28
Add OFURLEncoding for OFString category. file: [1bae449326] check-in: [b992a4b0e5] user: js, branch: trunk, size: 3112 [annotate] [blame] [check-ins using] [diff]
2009-05-15
20:01
Use OFString as much as possible. file: [3302635bae] check-in: [67066be692] user: js, branch: trunk, size: 2849 [annotate] [blame] [check-ins using] [diff]
2009-05-13
20:31
Rename - free to - (void)dealloc. file: [a3755365c5] check-in: [9e6dd00ef5] user: js, branch: trunk, size: 2860 [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: [1b4738a285] check-in: [1d44132d96] user: js, branch: trunk, size: 2857 [annotate] [blame] [check-ins using] [diff]
2009-05-05
15:04
Add - splitWithDelimiter: to OFString. file: [4f6e666db1] check-in: [029d4af91d] user: js, branch: trunk, size: 2858 [annotate] [blame] [check-ins using] [diff]
2009-05-03
21:33
Get rid of + new.
Additionally, make - accept return an autoreleased OFTCPSocket.
file: [a863061368] check-in: [5ca127891c] user: js, branch: trunk, size: 2483 [annotate] [blame] [check-ins using] [diff]
2009-05-01
19:38
Some tests were still using #import for C headers. Fixed. file: [50c9f80545] check-in: [f198059455] user: js, branch: trunk, size: 2465 [annotate] [blame] [check-ins using] [diff]
2009-02-27
11:17
Add - hash for OFArray and OFString, main implementation in OFMacros. file: [06121ecfbf] check-in: [ffd26c8238] user: js, branch: trunk, size: 2464 [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: [0abd9793f1] check-in: [cc2e866e55] user: js, branch: trunk, size: 2402 [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: [d1e8e561ed] check-in: [61a6ac873a] user: js, branch: trunk, size: 2392 [annotate] [blame] [check-ins using] [diff]

2009-01-24
15:24
Adjust API to introduction of OFAutoreleasePool. file: [ffc025b2b3] check-in: [1496808b81] user: js, branch: trunk, size: 2359 [annotate] [blame] [check-ins using] [diff]
2009-01-05
00:59
Update copyright. file: [a85f1b3a10] check-in: [f1b749d113] user: js, branch: trunk, size: 2294 [annotate] [blame] [check-ins using] [diff]
2009-01-02
17:20
Some import fixes, some static lib and win32 enhancements. file: [d3cc87a9de] check-in: [ba01b9c18a] user: js, branch: trunk, size: 2287 [annotate] [blame] [check-ins using] [diff]
2008-12-24
11:55
Add methods to initalize from and append from formatted C strings. file: [22509a4b2b] check-in: [486760ed2b] user: js, branch: trunk, size: 2286 [annotate] [blame] [check-ins using] [diff]
2008-12-22
22:30
%zd doesn't work on win32. file: [fd0d2946e0] check-in: [6362f9c167] user: js, branch: trunk, size: 2059 [annotate] [blame] [check-ins using] [diff]
2008-12-21
16:06
Nicer output for OFString tests. file: [cab4bb0f80] check-in: [70087a1b3b] user: js, branch: trunk, size: 1993 [annotate] [blame] [check-ins using] [diff]
15:42
Initial UTF-8 support for OFString. file: [09c95b9e26] check-in: [b4a4e95798] user: js, branch: trunk, size: 2531 [annotate] [blame] [check-ins using] [diff]
2008-12-20
14:19
Remove wchar_t stuff, as that's not portable anyway. file: [acd4c64051] check-in: [4360177618] user: js, branch: trunk, size: 1820 [annotate] [blame] [check-ins using] [diff]
2008-12-13
18:25
Some build related changes.
Thanks to Thorsten Glaser for a few ideas.
file: [8dc320290e] check-in: [8740f97cb3] user: js, branch: trunk, size: 1835 [annotate] [blame] [check-ins using] [diff]
2008-12-07
10:48
Very small API change. file: [2ae4bbf292] check-in: [88053589dc] user: js, branch: trunk, size: 1863 [annotate] [blame] [check-ins using] [diff]
2008-12-06
15:14
Rename cString to getCString, as this needs to be generated. file: [2882aa104f] check-in: [9c420c6cc3] user: js, branch: trunk, size: 1859 [annotate] [blame] [check-ins using] [diff]
2008-11-30
15:17
Clean up imports. file: [ca4b87f3ad] check-in: [4b8666fe15] user: js, branch: trunk, size: 1784 [annotate] [blame] [check-ins using] [diff]
2008-11-27
16:14
Add lower and upper for OFString. file: [f1742cd2ab] check-in: [2cbf759299] user: js, branch: trunk, size: 1764 [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: [e5dacf305a] check-in: [bf02f0ef25] user: js, branch: trunk, size: 1442 [annotate] [blame] [check-ins using] [diff]
2008-11-19
18:27
Implement reverse for OF(Wide)CString & rename wcString -> wCString. file: [97aa03dbaf] check-in: [cebd6fbbfc] user: js, branch: trunk, size: 1462 [annotate] [blame] [check-ins using] [diff]
2008-10-25
22:25
newWithFooString -> newAsFooString. file: [1ba1ce211e] check-in: [62abf39400] user: js, branch: trunk, size: 1289 [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: [c0f30552d4] check-in: [b597d49f43] user: js, branch: trunk, size: 1320 [annotate] [blame] [check-ins using] [diff]

2008-10-05
19:20
Reworked String API. file: [453b60b8cb] check-in: [cf85bee74f] user: js, branch: trunk, size: 1316 [annotate] [blame] [check-ins using] [diff]
2008-09-15
11:02
API change. file: [d5b6a278de] check-in: [c7f702cc69] user: js, branch: trunk, size: 1334 [annotate] [blame] [check-ins using] [diff]
10:23
Add compare: for strings. file: [1fdb086bd4] check-in: [24ce530f56] user: js, branch: trunk, size: 1269 [annotate] [blame] [check-ins using] [diff]
2008-09-14
18:26
Automatic tests for OFString and OFWideString. file: [38ab25865c] check-in: [dd22ec2c8e] user: js, branch: trunk, size: 1305 [annotate] [blame] [check-ins using] [diff]
17:09
Automatically run tests. file: [9258edbe28] check-in: [ab91040318] user: js, branch: trunk, size: 959 [annotate] [blame] [check-ins using] [diff]
15:29
Coding style. file: [04cad32cc2] check-in: [778be56179] user: js, branch: trunk, size: 931 [annotate] [blame] [check-ins using] [diff]
2008-09-12
17:56
Fix printf, add missing files. file: [6917f1112f] check-in: [958016704c] user: js, branch: trunk, size: 927 [annotate] [blame] [check-ins using] [diff]
13:25
Added: Initial import. file: [dbb63bdf83] check-in: [a580136c80] user: js, branch: trunk, size: 927 [annotate] [blame] [check-ins using]