125 check-ins using file tests/OFArray/OFArray.m version 0b105e4c04
2009-09-26
| ||
13:27 | Migration of OFDictionary tests to new testing framework. check-in: a3bfa21725 user: js tags: trunk | |
2009-09-21
| ||
20:35 | A few minor Win32 fixes. check-in: 59969f5450 user: js tags: trunk | |
11:26 | Only check if snprintf returns required space if there's no asprintf. check-in: a6513f3228 user: js tags: trunk | |
11:15 | Move platform-specific threading stuff to threading.h. check-in: 15a67e8ee5 user: js tags: trunk | |
2009-09-17
| ||
13:40 | Update config.guess, config.sub and install-sh. check-in: c74def94fc user: js tags: trunk | |
11:17 | Better checking which warnings need to be disabled due to gcc bugs. check-in: ba8833b4f4 user: js tags: trunk | |
2009-09-16
| ||
17:24 | Update PLATFORMS. check-in: 30c17f2da1 user: js tags: trunk | |
17:23 | A few very small mingw32 fixes. check-in: 0375b1e0ea user: js tags: trunk | |
17:22 | Completely remove tests/OFAutoreleasePool, it's for the old version. check-in: f8005a79c1 user: js tags: trunk | |
16:22 | Rework OFAutoreleasePool and remove now unnecessary hack from OFList. check-in: a99f512a4a user: js tags: trunk | |
2009-09-15
| ||
14:17 | +[stringWithCString:length:] requires a \0 at the end of the string. check-in: 16db39752c user: js tags: trunk | |
2009-09-14
| ||
18:37 | A few test framework improvements and migration of OFString tests. check-in: 138cb8f09a user: js tags: trunk | |
2009-09-13
| ||
18:26 | Add new testing framework - all existing tests are going to be migrated. check-in: d1ddc84e0e user: js tags: trunk | |
2009-09-11
| ||
11:41 | Fix a warning with old GCC versions. check-in: 3468abde19 user: js tags: trunk | |
2009-09-08
| ||
16:06 | New OFDictionary implementation and removal of a hack in OFList. check-in: bbf1f79b8f user: js tags: trunk | |
2009-09-01
| ||
11:39 | Use OFMutableString in OFPlugin instead of doing it manually. check-in: cdfdea289e user: js tags: trunk | |
11:32 | Rename -[length] to -[cStringLength] in OFString. check-in: 3ed599fe98 user: js tags: trunk | |
2009-08-31
| ||
00:19 | Optimize OF_BSWAP64. check-in: 2ff4ae177d user: js tags: trunk | |
2009-08-30
| ||
20:06 | Add some PowerPC assembly optimizations. check-in: 37e9b7c11c user: js tags: trunk | |
2009-08-28
| ||
17:57 | Fix a bug in OFHashing (SHA1 didn't cache correctly in -[digit]). check-in: 6a0ac6a3f1 user: js tags: trunk | |
02:12 | Add assembly implementation for OF_BSWAP{16,32,64} for x86 and AMD64. check-in: 42aaecc3cd user: js tags: trunk | |
00:33 | Add OF_BSWAP{16,32,64}_IF_{BE,LE} for conditional byte swap. check-in: 30f6c422ad user: js tags: trunk | |
00:18 | Improve -[isEqual:] of OFList. check-in: d68dc5201f user: js tags: trunk | |
00:18 | Prevent updating a hash after it has been calculated. check-in: 5bf0f17e80 user: js tags: trunk | |
00:05 | Add OF_BSWAP{16,32,64}. check-in: c38fc9bb14 user: js tags: trunk | |
2009-08-27
| ||
20:40 | Cache the number of items in an OFList. check-in: 768108a960 user: js tags: trunk | |
17:52 | Add -[removeCharactersFromIndex:toIndex:] to OFMutableString. check-in: a9ff126697 user: js tags: trunk | |
2009-08-26
| ||
19:54 | More documentation improvements. check-in: d6b9b175b7 user: js tags: trunk | |
19:40 | Improve documentation. check-in: 146db53e4a user: js tags: trunk | |
15:00 | Add support for comments to OFXMLParser. check-in: 6f61176375 user: js tags: trunk | |
14:24 | Add default implementation for OFXMLParserDelegate. check-in: 280071188d user: js tags: trunk | |
14:13 |
There is no need to return a BOOL in OFXMLParserDelegate. If you want to stop parsing, you just throw an exception. check-in: 87a3e4fb0a user: js tags: trunk | |
2009-08-17
| ||
21:13 | Ensure in the headers that we got the required definitions. check-in: 5903c87d36 user: js tags: trunk | |
2009-08-16
| ||
13:30 | Rather use -[copy] in OFXMLElement as the string could be mutable. check-in: e6570420f3 user: js tags: trunk | |
13:29 | Rather use -[copy] in exceptions as the passed string could be mutable. check-in: ab57aea91a user: js tags: trunk | |
13:28 | Add OF{Link,Symlink}FailedException. check-in: 35d9dbcd6f user: js tags: trunk | |
2009-08-14
| ||
01:14 | Remove leading and trailing whitespaces in XML data. check-in: 164d9d84f2 user: js tags: trunk | |
01:01 | Treat \n and \r as whitespaces in whitespace removing methods. check-in: a5aed6da30 user: js tags: trunk | |
2009-08-12
| ||
16:55 | New way for handling and storing XML attributes. check-in: 6f001b8016 user: js tags: trunk | |
15:37 | Rename +[name] and -[name] to +[className] and -[className]. check-in: ce8d36d5c4 user: js tags: trunk | |
2009-08-10
| ||
18:37 | More checking for malformed/invalid XML. check-in: a70d90b09e user: js tags: trunk | |
18:25 | Correctly handle lastObject / lastItem if the array is empty. check-in: bc012259a9 user: js tags: trunk | |
2009-07-24
| ||
22:44 | RTLD_LAZY makes more sense, as we only need a few symbols looked up. check-in: e549c515e0 user: js tags: trunk | |
2009-07-23
| ||
15:39 | Include stdint.h in OFMacros.h. check-in: 15a5433649 user: js tags: trunk | |
2009-07-21
| ||
23:25 | Add -[readLineWithEncoding:] to read in the specified encoding. check-in: 9d93300b4e user: js tags: trunk | |
16:08 | Fix wrong order of retain / release. check-in: a7b6d69e14 user: js tags: trunk | |
2009-07-20
| ||
23:20 | Add support for C strings encoded in Windows-1252. check-in: e04c359780 user: js tags: trunk | |
18:39 | Add support for C strings encoded in ISO 8859-15. check-in: 0ea758cd9c user: js tags: trunk | |
2009-07-19
| ||
20:39 | Add -[xmlParser:foundUnknownEntityNamed:] to OFXMLParserDelegate. check-in: 83c351c9fd user: js tags: trunk | |
18:14 | Add support for C strings encoded in ISO 8859-1. check-in: 8216fb9343 user: js tags: trunk | |
17:02 | Prevent one more wrong call to an init method. check-in: 95aa3a147e user: js tags: trunk | |
16:32 | Add PLATFORMS file. check-in: 0123352146 user: js tags: trunk | |
16:01 | Prevent calling -[init] if parameters are required. check-in: 42e16978dc user: js tags: trunk | |
14:05 | Rename andFoo: to foo: in all methods. check-in: 4eae61a78f user: js tags: trunk | |
13:11 | Emphasize UTF-8 encoding of C strings in documentation. check-in: df75a3df04 user: js tags: trunk | |
13:04 | A few new string methods. check-in: 1bbc11d7a5 user: js tags: trunk | |
2009-07-17
| ||
20:11 | Forgot to hg add OFXMLParser test. Fixed. check-in: cb145d6634 user: js tags: trunk | |
17:17 | Two minor changes. check-in: 5eae1c66bc user: js tags: trunk | |
15:16 | Initial OFXMLParser implementation. There's still a LOT missing. check-in: 8f4d7a5b74 user: js tags: trunk | |
12:41 | Add OFString (OFHashing) category. check-in: d051b1302d user: js tags: trunk | |
11:25 | Use +[stringWithCString:andLength:] in -[readLine]. check-in: 328decd247 user: js tags: trunk | |
2009-07-16
| ||
23:59 | OFConstString: Throw OFNotImplementedException for unavailable methods. check-in: 9bcba32807 user: js tags: trunk | |
23:15 | '~' does not need escaping in -[stringByURLEncoding]. check-in: eeaee04433 user: js tags: trunk | |
23:02 | Also handle '+' in -[stringByURLDecoding]. check-in: 92d8754e02 user: js tags: trunk | |
2009-07-14
| ||
21:58 | Also parse &#NNNN; and &#xHHHH; in -[stringByXMLUnescaping]. check-in: a80e9b948d user: js tags: trunk | |
21:22 | Add of_string_unicode_to_utf8 which converts unicode to UTF-8. check-in: de937a62e4 user: js tags: trunk | |
18:57 | Add OFString (OFXMLUnescaping) category and API for OFXMLParser. check-in: d8684fc232 user: js tags: trunk | |
17:51 | Optimize some code by using the new stringWithCString:andLength: method. check-in: 7bb3494ef9 user: js tags: trunk | |
17:32 | Add methods to handle C strings with length to OF(Mutable)String. check-in: dc7bb2d594 user: js tags: trunk | |
17:14 | Get rid of strcmp and strlen calls in OFString tests. check-in: 6a2551a704 user: js tags: trunk | |
2009-06-30
| ||
22:21 | Implement -[indexOf{First,Last}OccurrenceOfString:] for OFString. check-in: 9758677802 user: js tags: trunk | |
20:12 | Implement -[substringFromIndex:toIndex:] for OFString. check-in: cfb401ed3a user: js tags: trunk | |
14:22 | Add +[instanceMethodForSelector:] to OFObject. check-in: 0707c56762 user: js tags: trunk | |
14:15 | Add +[instancesRespondToSelector:] to OFObject. check-in: 5f47e81a9e user: js tags: trunk | |
13:38 | Implement OFCopying and OFMutableCopying in OFDictionary. check-in: eddc0ba58c user: js tags: trunk | |
12:55 | Add some missing documentation. check-in: 973e19f23c user: js tags: trunk | |
12:07 | A few renames in OFObject, see details. check-in: 67bb344ba6 user: js tags: trunk | |
2009-06-29
| ||
17:42 | Don't use OFMutableStrings in OFExceptions. check-in: 8d61f0f51d user: js tags: trunk | |
12:33 | Changes to OFDictionary, OFIterator and OFList - see details. check-in: 24ecf55297 user: js tags: trunk | |
2009-06-18
| ||
19:08 | Get rid of OFXMLFactory. check-in: 612bc150e5 user: js tags: trunk | |
18:42 | Preliminary OFXMLElement implementation. check-in: f9c673f241 user: js tags: trunk | |
18:26 | Add -[appendCStringWithoutUTF8Checking:]. check-in: 47e65e5a97 user: js tags: trunk | |
2009-06-15
| ||
19:22 | Remove whitespaces at EOL. check-in: 172e662b71 user: js tags: trunk | |
2009-06-10
| ||
15:31 | Add +[setImplementation:forMethod:]. check-in: b10efe7b2b user: js tags: trunk | |
00:02 | Autorelease array returned in -[splitWithDelimiter] properly. check-in: a0b7eb7a66 user: js tags: trunk | |
2009-06-09
| ||
23:33 | Return plugins autoreleased in OFPlugin. check-in: 5df8f61fe4 user: js tags: trunk | |
23:28 | Update the dtable so we can replace methods at runtime. check-in: c70922ee1c user: js tags: trunk | |
21:01 | Fix a forgotten -[cString] in OFExceptions. check-in: d2b906b7f1 user: js tags: trunk | |
20:47 | Rename -[append:] to -[appendString:]. check-in: 9863810eba user: js tags: trunk | |
20:44 | Make OFSocket a class cluster. check-in: f847f82b75 user: js tags: trunk | |
20:10 |
Move documentation of mutating methods. Mutating methods are now documented in the mutable class. check-in: 41974cf38d user: js tags: trunk | |
17:19 | Rename ERROR to SYNC_ERR in objc_sync.m to prevent conflicts. check-in: e58b9661a5 user: js tags: trunk | |
13:21 | Handle reads with a returned size of 0 safely in -[readLine]. check-in: b464ddcda5 user: js tags: trunk | |
13:10 | Implement -[atEndOfStream] for OFSocket. check-in: 41d7910a65 user: js tags: trunk | |
13:01 | Use #import "*.h" instead of #import <*.h> in objfw.h. check-in: b7cd1e3dc6 user: js tags: trunk | |
2009-06-06
| ||
19:17 | Change include path in objfw-config. check-in: 52fd75e0d0 user: js tags: trunk | |
14:10 | Add OFFile singletons for stdin, stdout and stderr. check-in: f285996b91 user: js tags: trunk | |
2009-06-05
| ||
18:30 | Rename -[url{De,En}codedString] to -[stringByURL{De,En}coding]. check-in: 4fa95c938d user: js tags: trunk | |
2009-06-03
| ||
19:38 | Don't add PLUGIN_LDFLAGS to LDFLAGS, the buildsys handles this. check-in: 7f048e87dc user: js tags: trunk | |
19:36 | Add support for -rpath to objfw-config. check-in: 94badde6c7 user: js tags: trunk | |
19:36 | Update buildsys to latest rev. check-in: 48f9a9004e user: js tags: trunk | |
18:29 | Check for install in configure. check-in: 87aca87242 user: js tags: trunk | |
18:23 | Add -lsocket to LIBS if libsocket has socket(). Solaris needs this. check-in: 55766d6c14 user: js tags: trunk | |
18:21 | No need to add LIB_LDFLAGS to LDFLAGS, the buildsys handles this. check-in: ab934c0805 user: js tags: trunk | |
03:54 | Add methods to remove leading or trailing whitespaces or both. check-in: 2496d46c35 user: js tags: trunk | |
2009-06-02
| ||
20:15 | No need to override -[release] in OFAutoreleasePool. check-in: e6f6113b5c user: js tags: trunk | |
19:25 | Improve -[readLine] in OFStream. check-in: f1dae95070 user: js tags: trunk | |
17:21 | Take care of the root metaclass's super being the root class. check-in: 4c343b7841 user: js tags: trunk | |
2009-06-01
| ||
20:36 |
Add objfw.h which includes everything. Only importing what you really need is preferred, though. check-in: f8b652cc27 user: js tags: trunk | |
12:20 | Add +[conformsTo:] and -[conformsTo:]. check-in: 5008910e85 user: js tags: trunk | |
12:02 | Write a warning to stderr if objc_sync_{enter,exit} fails. check-in: 216caca8a0 user: js tags: trunk | |
04:08 | Optimize OFMutex on Win32 and add missing -[dealloc]. check-in: ddcee670e4 user: js tags: trunk | |
04:02 | Fix and optimize @synchronize on Win32. check-in: 362a943099 user: js tags: trunk | |
02:08 | Add OFMutex and use it in OFTCPSocket instead of @synchronized. check-in: cca028cedf user: js tags: trunk | |
01:46 | Copy the object for an OFThread so it's thread-safe. check-in: 9b3d408f0d user: js tags: trunk | |
01:44 |
It's far more likely the lock we search is at the end. Additionally, add tests for objc_sync_*. check-in: 4b03ccfe1f user: js tags: trunk | |
01:31 | Fix recursive locking. check-in: 5bd604a8f8 user: js tags: trunk | |
01:15 | Add --all to objfw-config.in. check-in: c63017b1f3 user: js tags: trunk | |
2009-05-29
| ||
19:21 | A few renames. check-in: 033054ad75 user: js tags: trunk | |
09:28 | Always use [self alloc]. check-in: 282aadb9df user: js tags: trunk | |
2009-05-25
| ||
17:00 | Improve objc_sync.m. check-in: 5337be0924 user: js tags: trunk | |
2009-05-24
| ||
21:51 | Don't use @defs - it's not available in the ObjC2 ABI. check-in: 4cd4d94ea8 user: js tags: trunk | |
21:09 | Fall back to gethostbyname + locking if getaddrinfo is missing. check-in: 488da685e4 user: js tags: trunk | |
19:31 | Implement objc_sync_enter and objc_sync_exit if they're missing. check-in: de63989ad8 user: js tags: trunk | |
18:04 | Always use #include "config.h" instead of #import "config.h". check-in: 94ea6848a8 user: js tags: trunk | |