ObjFW  Timeline

177 check-ins using file src/asprintf.h version e7761a686f

2009-06-01
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