ObjFW  Timeline

155 check-ins using file src/OFNumber.h version 9847bb6afe

2009-06-30
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)