ObjFW  Timeline

348 check-ins using file src/asprintf.m or src/asprintf.c version 163772d3d6

2009-11-09
22:29
Rename all .c files to .m so we only need an OBJC and no CC. check-in: 04ef18b640 user: js tags: trunk
22:16
Rename objfw to ObjFW for better framework compatibility. check-in: 9a5af11af8 user: js tags: trunk
22:13
Rename libobjfw.xcodeproj to more appropriate ObjFW.xcodeproj. check-in: 93ec077bcd user: js tags: trunk
22:07
Fix building as a framework. check-in: c81eec2d13 user: js tags: trunk
19:37
Update buildsys. check-in: 3a2bc7f448 user: js tags: trunk
2009-11-03
16:48
Rename class to class_ for the sake of Objective C++ compatibility. check-in: 8a35bb55a8 user: js tags: trunk
15:17
Add -Wno-unused-variable to objfw-config if we got gcc bug objc/27438. check-in: 93de28d8e8 user: js tags: trunk
14:15
Update .xcodeproj. check-in: 52bda71915 user: js tags: trunk
2009-11-02
14:47
Make use of the recent change to -[initWithCString:encoding:length:]. check-in: 581164864f user: js tags: trunk
11:15
Add #ifdef construct to allow building universal binaries on OS X. check-in: 3f9c30abc0 user: js tags: trunk
10:18
Update Unicode tables to those from the enhanced generator. check-in: fe8c3ac93f user: js tags: trunk
10:11
Enhance Unicode table generator so it produces smaller output. check-in: ef0c1ebc68 user: js tags: trunk
2009-11-01
19:51
Fix a typo in the tests Makefile. check-in: 70f1d07a37 user: js tags: trunk
19:46
Don't call strlen() in -[initWithCString:encoding:length:]. check-in: 16ec7469b8 user: js tags: trunk
18:14
Add .xcodeproj. check-in: 2bb0bb11ed user: js tags: trunk
2009-10-31
14:46
Add case folding table generator. check-in: a95f375c28 user: js tags: trunk
2009-10-29
14:16
Split Unicode table generator and download CaseFolding.txt. check-in: c51761c6e9 user: js tags: trunk
2009-10-19
22:09
Automatically download UnicodeData.txt if it's missing. check-in: c5d489cefd user: js tags: trunk
08:31
Add plugin support for Win32. check-in: 3194cede14 user: js tags: trunk
08:29
Fix a bug in -[freeMemory:]. check-in: 6e357d636d user: js tags: trunk
2009-10-18
19:32
Only cancel a thread on -[dealloc] if it's still running. check-in: 19a1167518 user: js tags: trunk
19:25
Fix missing retains in OFList. check-in: 5c006e80bb user: js tags: trunk
19:24
Only get UTF-8 position if the string is using UTF-8. check-in: 92c42bbe32 user: js tags: trunk
14:22
Use the new, smaller Unicode tables. check-in: 257fc27253 user: js tags: trunk
14:20
Change the Unicode table generator so it generates way smaller tables. check-in: 039f60a95d user: js tags: trunk
13:01
Remove titlecase table. check-in: 9553ab1d8f user: js tags: trunk
2009-10-17
20:09
Update TODO. check-in: 60e4985929 user: js tags: trunk
2009-10-16
10:46
Implement -[hash] for OFArray. check-in: deea33a4d9 user: js tags: trunk
08:44
OFMutableString's -[upper] and -[lower]: Get rid of code duplication. check-in: 8389241a05 user: js tags: trunk
2009-10-15
20:38
Full Unicode support for OFMutableString's -[upper] and -[lower]. check-in: 0480a27d5e user: js tags: trunk
2009-10-12
16:57
Add generated Unicode tables. check-in: 0c8ad4fef3 user: js tags: trunk
16:57
Add generator for Unicode tables. check-in: 823d308096 user: js tags: trunk
2009-10-10
16:57
Move encodings to a separate .c file. check-in: d6b2fdffff user: js tags: trunk
2009-10-06
13:42
Fix typo in PLATFORMS. check-in: 6ee102a571 user: js tags: trunk
13:02
Add -[(hexa)decimalValueAsInteger] to OFString. check-in: 4d0bccf77c user: js tags: trunk
12:29
Fix bug in decoding of lowercase «. check-in: 1882b31eec user: js tags: trunk
2009-10-05
18:56
Rename OFArray's and OFDataArray's -[data] to -[cArray]. check-in: 2f1933eb24 user: js tags: trunk
2009-10-04
20:31
Update PLATFORMS. check-in: b44adabc2e user: js tags: trunk
20:31
Fix symlinks to .so files for tests on OpenBSD. check-in: 80c29649b4 user: js tags: trunk
13:43
Add -[characterAtIndex:] to OFString. check-in: bd1bd1460b user: js tags: trunk
12:45
Add of_unichar_t type. check-in: 8b162c7122 user: js tags: trunk
2009-10-03
21:24
Fix OFXMLParser so it passes indexes relative to Unicode characters. check-in: a81bd93b41 user: js tags: trunk
21:18
Add -[length] to OFString. check-in: 0fcb47fb59 user: js tags: trunk
21:12
Fix setting of is_utf8. check-in: f01153154d user: js tags: trunk
20:41
Indexes are now relative to the Unicode character, not the C character. check-in: 2b615e0443 user: js tags: trunk
13:38
Rename tests_new to tests. check-in: 81239da84f user: js tags: trunk
13:37
Make the @synchronized test a manual test and remove old tests. check-in: 100512818f user: js tags: trunk
13:33
Migration of OFXMLParser tests to new testing framework. check-in: 4047440267 user: js tags: trunk
13:29
Set variables to nil to prevent double-free. check-in: 7a3968b9a3 user: js tags: trunk
11:58
Migration of OFThread tests to new testing framework. check-in: 23aa1c1bf5 user: js tags: trunk
11:51
Add +[tlsKey] to OFTLSKey. check-in: fad0ff6539 user: js tags: trunk
2009-10-01
12:44
Migration of OFPlugin tests to new testing framework. check-in: 0ad8f57b16 user: js tags: trunk
12:44
Let the init function of the plugin autorelease it. check-in: 62eddf9d21 user: js tags: trunk
07:51
Fix stupid gcc warning that only appears on OS X. check-in: 63b90ff39d user: js tags: trunk
2009-09-30
15:43
Migration of OFHashes tests to new testing framework. check-in: 6d6ac5a6d5 user: js tags: trunk
15:01
Migration of OFDataArray tests to new testing framework. check-in: e7a372fea9 user: js tags: trunk
13:33
Migration of OFXMLElement tests to new testing framework. check-in: 2437d2d0be user: js tags: trunk
13:23
Migration of OFTCPSocket tests to new testing framework. check-in: 67cf530ed3 user: js tags: trunk
2009-09-28
07:55
Migration of OFList tests to new testing framework. check-in: 1d802bf56c user: js tags: trunk
2009-09-27
15:04
Small documentation addendum. check-in: ada9f37216 user: js tags: trunk
14:23
Add -[initWithFilePointer:] to OFFile. check-in: 3cf27e00c4 user: js tags: trunk
11:42
Migration of OFArray tests to new testing framework. check-in: dbb0223586 user: js tags: trunk
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
10:51
Get rid of one @try-block in OFString. check-in: 64450cd780 user: js tags: trunk
10:49
Only hardlink libobjfw.dll if it exists. check-in: 975dd403fa user: js tags: trunk
00:57
Add LIBS for tests/OFPlugin/TestPlugin. check-in: 13b87b47b3 user: js tags: trunk
00:42
Create a hardlink instead of a symlink to libobjfw.dll in tests.
This way, it also works on Cygwin.
check-in: ebfbdf512a user: js tags: trunk
00:26
Better check for madvise(). check-in: 000b2dffdf user: js tags: trunk
00:18
Get rid of dependency on getpagesize(). check-in: 127d635848 user: js tags: trunk
2009-05-23
22:07
Add a new convenience method to OFString. check-in: 88163bd172 user: js tags: trunk
21:53
A few renames. check-in: 526d04018d user: js tags: trunk
21:02
Add replaceOccurrencesOfString:withString: to OFString. check-in: bc71bde0dd user: js tags: trunk
20:32
Fix splitWithDelimiter:. check-in: cabf6ee9e7 user: js tags: trunk
16:50
A few renames in OFArray, OFDataArray and OFDictionary. check-in: a29d403286 user: js tags: trunk
01:59
Prevent + initialize from being called twice. check-in: e0163c30a9 user: js tags: trunk
2009-05-20
19:59
Implement OFCopying protocol for OFList. check-in: 5d190947a7 user: js tags: trunk
2009-05-19
17:13
Rename + tcpSocket to + socket in OFTCPSocket. check-in: 0b8c5616cb user: js tags: trunk
16:51
Add - isEqual: for OFList. check-in: 7f7e9715e1 user: js tags: trunk
16:15
One more convenience method for OFDictionary. check-in: 5413ba3c49 user: js tags: trunk
10:33
Better error handling for OFAutoreleasePools. check-in: e5efcb03ac user: js tags: trunk
2009-05-18
23:14
Rename doxygen.cfg -> Doxyfile. check-in: e698bc8329 user: js tags: trunk
23:08
Fix memset on wrong variable in OFMutableDictionary. check-in: 98f2fa06d0 user: js tags: trunk
22:47
Add another convenience method for OFDictionary. check-in: 5d9ea7b9cc user: js tags: trunk
22:21
Add a new convenience method for OFDictionary. check-in: b02800172f user: js tags: trunk
22:09
Fix error handling in init methods in OFArray. check-in: cc6d2d3987 user: js tags: trunk
20:53
Split OFDictionary into OFDictionary and OFMutableDictionary. check-in: 71abb030af user: js tags: trunk
20:41
Add one more convenience method to OFArray. check-in: 7107bd9906 user: js tags: trunk
19:38
Add test for OFArray. check-in: 9c435fddfc user: js tags: trunk
19:08
Add - isEqual: for OFArray. check-in: 66293c1fe8 user: js tags: trunk
18:57
Create a copy of the key in OFDictionary. check-in: 3b59111e0a user: js tags: trunk
18:52
- copy and - mutableCopy should never autorelease. check-in: 7fa61023b9 user: js tags: trunk
18:45
Only let - copy create an actual copy if necessary. check-in: 6ba395bacb user: js tags: trunk
18:42
A few more convenience methods for OFArray. check-in: b3a8c9c4dd user: js tags: trunk
18:24
Remove useless convenience method. check-in: 577023d300 user: js tags: trunk
18:15
Introduce OFMutableCopying protocol. check-in: 79e1893b40 user: js tags: trunk
18:09
More separation for OFString and OFMutableString. check-in: e7e8efd297 user: js tags: trunk
17:50
Split OFArray into OFArray and OFMutableArray. check-in: 163409967e user: js tags: trunk
16:49
Make - copy a protocol. check-in: 8dc49f1861 user: js tags: trunk
2009-05-16
14:28
Add OFURLEncoding for OFString category. check-in: b992a4b0e5 user: js tags: trunk
13:23
Add objfw-config script. check-in: 4e4c1c0eca user: js tags: trunk
11:47
Use @defs in preallocated OFAllocFailedException struct. check-in: fa64faf81e user: js tags: trunk
2009-05-15
22:59
As we memset our ivars to 0, get rid of some useless ivar inits. check-in: 4c6d6c56ac user: js tags: trunk
20:01
Use OFString as much as possible. check-in: 67066be692 user: js tags: trunk
2009-05-14
14:24
Get rid of OFNotInSetException. check-in: bdc9b3219f user: js tags: trunk
13:46
Two small fixes for OFAutoreleasePool. check-in: af41efe079 user: js tags: trunk
2009-05-13
20:39
Let - release return void again. check-in: 6d589825cd user: js tags: trunk
20:31
Rename - free to - (void)dealloc. check-in: 9e6dd00ef5 user: js tags: trunk
19:49
There's no need for + initialize to return anything. check-in: 917188fdcc user: js tags: trunk
19:39
Get rid of a @try block in OFString. check-in: 1c798ffa3f user: js tags: trunk
17:58
Also release pools that are on top of the pool being released. check-in: 4f4f619d84 user: js tags: trunk
2009-05-07
16:08
Add OFSocket base class. check-in: 0110aec5c0 user: js tags: trunk
12:55
Add - data for OFArray. check-in: eb6aafad32 user: js tags: trunk
11:55
There is no point in splitWithDelimiter: requiring an OFString.
Plus some code clean up in splitWithDelimiter:.
check-in: 1d44132d96 user: js tags: trunk
2009-05-05
17:59
Rename - objects / - items in OFArray / OFDataArray to - count. check-in: 64bc94cdb3 user: js tags: trunk
15:04
Add - splitWithDelimiter: to OFString. check-in: 029d4af91d user: js tags: trunk
14:00
There is a good reason to return id and not OFObject*. check-in: 9338313079 user: js tags: trunk
12:05
Rename OFArray to OFDataArray and add a new OFArray which stores objects.
Additionally, change OFAutoreleasePool to use the new OFArray.
check-in: 2a4aa05a84 user: js tags: trunk
2009-05-04
21:22
Fix OF(Mutable)String documentation. check-in: 82334856a8 user: js tags: trunk
18:04
Add - averageItemsPerBucket to OFDictionary. check-in: c90c6510f1 user: js tags: trunk
17:54
Add - items to OFList. check-in: 59ab431af4 user: js tags: trunk
17:27
Add - changeHashSize: to OFDictionary. check-in: 5e77541e4d user: js tags: trunk
16:57
Fix wrong memset in OFDictionary. check-in: 27a9132794 user: js tags: trunk
15:05
Remove useless definitions. check-in: 7665f89ec6 user: js tags: trunk
14:19
Make OFString a common class for all strings. check-in: 372211deb7 user: js tags: trunk
13:01
Use OFThread's TLS in OFAutoreleasePool. check-in: 2d09137a6b user: js tags: trunk
12:57
Add Thread Local Storage support to OFThread. check-in: 4d1d644283 user: js tags: trunk
2009-05-03
21:33
Get rid of + new.
Additionally, make - accept return an autoreleased OFTCPSocket.
check-in: 5ca127891c user: js tags: trunk
17:19
Make OFStream a class instead of a protocol and move readLine there. check-in: 7bf4b144ad user: js tags: trunk
15:49
Remove multiply overflow check in OFArray - it's done by resizeMem. check-in: 4eb87f934f user: js tags: trunk
15:45
readLine: for OFTCPSocket. check-in: dabcc373f7 user: js tags: trunk
15:38
Fix very stupid bug in OFExceptions. check-in: ab290b71ad user: js tags: trunk
15:10
Get rid of another useless variable. check-in: 2cec8a76d7 user: js tags: trunk
14:59
Get rid of two unnecessary variables. check-in: 1b7a52cdf5 user: js tags: trunk
14:48
Don't throw an OFNoMemException in - freeMem:. It won't help anyway. check-in: 042a74a6e6 user: js tags: trunk
14:20
Fix wrong free in OFString. Should be [self freeMem:]. check-in: 441e5ec29b user: js tags: trunk
2009-05-02
15:33
Nicer way to create and initialize the socket in - accept. check-in: bdfd9d0464 user: js tags: trunk
2009-05-01
22:28
Work around a compiler bug that occurs on OS X. check-in: 06ad922132 user: js tags: trunk
20:24
Preliminary OFThread implementation. check-in: e5bcc6a3be user: js tags: trunk
19:38
Some tests were still using #import for C headers. Fixed. check-in: f198059455 user: js tags: trunk
18:15
Call [super free] on error in init methods. check-in: e9d48d0beb user: js tags: trunk
2009-04-28
20:31
Fix two missing spaces. check-in: 14f74f3c2f user: js tags: trunk
2009-04-26
12:44
A few renames in OFObject. check-in: e959fed010 user: js tags: trunk
12:31
Rename getIterator -> iterator. check-in: 8d10e738d1 user: js tags: trunk
2009-04-25
18:59
Add reference for static linking. check-in: fc35094306 user: js tags: trunk
14:28
Separate C and ObjC checks. check-in: a632386b7f user: js tags: trunk
13:09
A few convenience methods for OFXMLFactory. check-in: 7fc221e592 user: js tags: trunk
12:52
Better exception handling in OFXMLFactory. check-in: e2a94b8f9d user: js tags: trunk
12:48
Update to latest rev of buildsys. check-in: 7b4aa35b8d user: js tags: trunk
12:48
An item size of 0 is invalid for an array. check-in: 70a65567df user: js tags: trunk
2009-04-24
13:57
Neither the key nor the value in a dictionary is allowed to be nil. check-in: fa52eae66a user: js tags: trunk
2009-04-23
12:19
Add OFIterator to iterate through an OFDictionary. check-in: cd08bff565 user: js tags: trunk
12:07
Free the list in the dictionary when the last object in it was removed. check-in: 69b468f9f2 user: js tags: trunk
2009-04-22
22:43
gcc seems to accept a @throw instead of a return as well. check-in: 8dbc052d49 user: js tags: trunk
22:37
Throw exception if the key was not found in the OFDictionary. check-in: 36d50170c9 user: js tags: trunk
22:17
Better handling of closed and ended files in OFFile. check-in: b13a0f08e7 user: js tags: trunk
17:59
Get socket error in OFReadOrWriteFailedException if caused by a socket.
This only affects Win32.
check-in: d06376b200 user: js tags: trunk
2009-04-21
18:07
Remove useless + load from OFObject. check-in: ba65a43f3f user: js tags: trunk
17:30
Remove useless == nil check - it can't be nil. check-in: 0977cd6fa6 user: js tags: trunk
17:28
Add missing breaks in OFNumber. check-in: 06c07468fb user: js tags: trunk
17:19
OFException should not override - class, rename it to - inClass. check-in: 770a3a4fe4 user: js tags: trunk
17:16
The if ((self = [super init])) construct isn't needed anymore. check-in: d87df02e8b user: js tags: trunk
16:47
Throw OFAllocFailedException instead of returning nil.
This exception is quite special, look at the documentation for details.
check-in: a1a5bfb3cd user: js tags: trunk
2009-04-20
01:55
Improve tests. check-in: 16f1025d5c user: js tags: trunk
01:42
Partly revert 13945ed73147 and add testcase. check-in: 6e4eb3c2ec user: js tags: trunk
01:16
Fix forgotten change of - release in OFAutoreleasePool. check-in: cc4fe36d83 user: js tags: trunk
01:06
Sometimes it might be desirable not to run configure.
For exampe if you want to package.
check-in: 6043638dee user: js tags: trunk
01:04
Some optimizations and a few renames of internal vars in OFXMLFactory. check-in: 571eb6c222 user: js tags: trunk
2009-04-19
23:33
Update TODO. check-in: b258d80203 user: js tags: trunk
23:19
More methods for OFNumber. check-in: 1898ec5a4b user: js tags: trunk
23:17
Remove long double from OFNumber as there's no type encoding for it. check-in: 8eb830d7c8 user: js tags: trunk
20:34
Use isa instead of [self class]. check-in: 139591afe1 user: js tags: trunk
20:29
Remove stuff forgotten after moving code in OFPlugin. check-in: 066bf9c8c3 user: js tags: trunk
20:22
Remove useless definitions. check-in: a756d3f511 user: js tags: trunk
20:19
Actually, it makes sense that - release returns self.
This way, you can check if the object has been free'd, for example
using if ((obj = [obj release]) == nil).
check-in: 348b389736 user: js tags: trunk
18:38
Small documentation fix. check-in: 630a522f46 user: js tags: trunk
18:13
Minor cleanups. check-in: 54850dda81 user: js tags: trunk
17:37
Remove forwarding methods. See long commit message for details. check-in: 57fb5578cc user: js tags: trunk
17:06
Don't use forwarding for OFPlugin. check-in: 179174571e user: js tags: trunk
2009-04-17
16:45
Add - hash for OFNumber. check-in: cd9bd80792 user: js tags: trunk
2009-04-16
17:18
Get rid of dependency on method_getSizeOfArguments. check-in: 345716d824 user: js tags: trunk
2009-04-15
20:31
Workaround for wrong length of OFConstStrings on PPC64 OS X.
Apple does a strange thing there: The length is only 32 bit, followed
by another 32 bit which seem to be garbage.
check-in: 9b3e9e6895 user: js tags: trunk
2009-04-13
16:29
OFPlugin: Properly close handle on error. check-in: 297dbbb2b1 user: js tags: trunk
2009-04-12
14:51
Get rid of the dependency on Object. check-in: cbdd534337 user: js tags: trunk
14:05
Add OFNotImplementedException. check-in: ca4a07a578 user: js tags: trunk
2009-04-10
01:40
Forgot to remove old workaround for a warning in OFConstString.h. check-in: 26a6fdf806 user: js tags: trunk
01:12
-Wall was added too early to (OBJ)CFLAGS. check-in: 2477baa59a user: js tags: trunk
01:04
Too much was changed here from uint8_t to char. Fixed. check-in: e08efd62c2 user: js tags: trunk
00:52
Fix warnings on Leopard in OFConstString.
As there are no warnings anymore, reintroduce -Werror.
check-in: 72af773f72 user: js tags: trunk
2009-04-09
13:55
Use char* instead of uint8_t* for OFStreams and OFHashes.
This way, less casts are needed when using C libraries.
check-in: 722b6213c0 user: js tags: trunk
2009-04-08
17:11
Ouch. Really. Fixed recursion loop in OFExceptions. check-in: 0c8a28c5ac user: js tags: trunk
13:13
Throw an OFNotConnected exception when there was a clean disconnect. check-in: 69e41c48ff user: js tags: trunk
2009-04-07
15:44
Returning newly allocated buffers on reading is a bad idea.
The programmer might forget that some of the data is arbitrary because
there was less data than he requested which might lead to serious
problems.
check-in: 09e6b3fc7b user: js tags: trunk
2009-04-04
19:56
Fix wrong documentation. check-in: a72c435267 user: js tags: trunk
2009-03-15
16:54
Fix missing #import "config.h". check-in: c9b6747306 user: js tags: trunk
16:14
$target -> $host check-in: b58e44112a user: js tags: trunk
13:46
Preliminary OFConstString implementation and support for @"" literals. check-in: 2ff44fe8d7 user: js tags: trunk
2009-03-14
17:17
Preliminary OFPlugin implementation.
Win32 isn't supported yet due to the problems libobjc + DLLs.
check-in: 2e13035431 user: js tags: trunk
15:39
Update buildsys. check-in: 57d5566e38 user: js tags: trunk
14:48
Add missing file to DISTCLEAN target. check-in: 48be70cbca user: js tags: trunk
2009-03-08
19:40
Fix missing include. check-in: f79affc610 user: js tags: trunk
16:06
Add preliminary OFDictionary implementation. check-in: 8177b8b8b2 user: js tags: trunk
16:06
Rename initWithRetainAndReleaseEnabled to initWithoutRetainAndRelease. check-in: 43e4d25ca7 user: js tags: trunk
2009-03-04
20:49
- release should not be chained, might be free'd. Therefore return void. check-in: e73e76e40f user: js tags: trunk
2009-02-28
01:49
Fix a memory leak in OFString that occours when we're out of memory. check-in: 48309788c8 user: js tags: trunk
2009-02-27
12:31
(void)initialize -> initialize. check-in: 3b62c10b6f user: js tags: trunk
11:17
Add - hash for OFArray and OFString, main implementation in OFMacros. check-in: ffd26c8238 user: js tags: trunk
2009-02-15
16:40
Get rid of OFComparable and make it part of OFObject. check-in: d9308adc2b user: js tags: trunk
2009-02-14
20:15
Add intmax_t and uintmax_t to OFNumber. check-in: db131a629c user: js tags: trunk
19:04
Let OFString's setTo: use const char* instead of OFString*.
This is far more useful.
check-in: cc2e866e55 user: js tags: trunk
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 ;).
check-in: 029511474c user: js tags: trunk
17:16
Fix missing include and install OFComparable.h. check-in: 5642f16519 user: js tags: trunk
17:08
Big diff, see details. check-in: 61a6ac873a user: js tags: trunk
2009-01-24
20:28
[self alloc] isn't a good idea with the new API.
The reason is that a derived class, for example derived from OFArray,
would not return an OFArray when + arrayWithItemSize is called.
check-in: 7feac9e596 user: js tags: trunk
15:33
Remove now useless release calls. check-in: e635b9a3fc user: js tags: trunk
15:24
Adjust API to introduction of OFAutoreleasePool. check-in: 1496808b81 user: js tags: trunk
2009-01-20
14:53
Fix a bug causing an exception when autorelease was requested.
This happened when the last pool was released before.
check-in: cb9fd1e5dd user: js tags: trunk
2009-01-10
03:28
Fix missing deletion of libobjfw.dll. check-in: 635bbd6db8 user: js tags: trunk
2009-01-07
20:49
For some reason, proper overflow checks were only in OFBigArray. check-in: f724e6d794 user: js tags: trunk
17:10
Also release the pools when we release the pool list.
We need to do that manually as we disabled retain / release for the
list.
check-in: 03618ea87b user: js tags: trunk
2009-01-06
22:38
Use OFList and OFArray in OFAutoreleasePool.
This reduces code duplication and looks far better.
check-in: dfc10dbeb8 user: js tags: trunk
2009-01-05
22:18
Reworked OFList. check-in: 8ab6561840 user: js tags: trunk
02:18
Fix three stupid warnings. check-in: 41095bf7a1 user: js tags: trunk
01:31
Fix IPv6 test on win32, in case we're not crosscompiling.
Additionally, remove useless -D_REENTRANT (which had a typo and
was -D_RENTRANT and is added by acx_pthread.m4 anyway if it's needed).
check-in: 720661e1b3 user: js tags: trunk
00:59
Update copyright. check-in: f1b749d113 user: js tags: trunk