151 check-ins using file Makefile version 533c720f43
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 | |
00:56 | Initial OFAutoreleasePool - still needs a *lot* of testing. check-in: b412845664 user: js tags: trunk | |
2009-01-04
| ||
02:46 | Work around a bug in gcc 4.0.1 (or is it Apple gcc only?). check-in: 95992fdc0e user: js tags: trunk | |
01:40 | Clean up exceptions. check-in: bb1fe89478 user: js tags: trunk | |
2009-01-03
| ||
22:57 | If we use -pthread(s) in CPPFLAGS, we need it in LIBS as well. check-in: 3d5b91a8c1 user: js tags: trunk | |
2009-01-02
| ||
17:20 | Some import fixes, some static lib and win32 enhancements. check-in: ba01b9c18a user: js tags: trunk | |
2008-12-30
| ||
14:42 | Add OFNumber. check-in: 555f28985f user: js tags: trunk | |
2008-12-26
| ||
21:34 | Remove redundant method. check-in: 617ca244c5 user: js tags: trunk | |
2008-12-24
| ||
19:12 | Fix imports for glibc. check-in: fca9e1997f user: js tags: trunk | |
16:11 | Let libobjc free our objects. check-in: e9aa88be06 user: js tags: trunk | |
11:55 | Add methods to initalize from and append from formatted C strings. check-in: 486760ed2b user: js tags: trunk | |
2008-12-23
| ||
17:10 | errno is not thread-safe on Win32, therefore use something else. check-in: cda65a1899 user: js tags: trunk | |
16:51 | Add Win32 support to OFTCPSocket. Even IPv6 works! check-in: 839112196f user: js tags: trunk | |
15:09 | New OFInitializationFailedException. check-in: 10be0cc7e6 user: js tags: trunk | |
13:42 |
Make it possible to build only a static library. This way, it works on Windows. check-in: d8736e1aa3 user: js tags: trunk | |
03:59 | Remove spaces and tabs at end of line. check-in: 7d7b89d775 user: js tags: trunk | |
02:10 | Check for sys/mman.h before trying to use madvise. check-in: 14ebaa7ca1 user: js tags: trunk | |
01:57 | Check for SIZE_T, fallback to SIZE_T_MAX or define as (size_t)-1. check-in: c180b76560 user: js tags: trunk | |
2008-12-22
| ||
23:17 | Add missing va_end to asprintf.c. check-in: f9202dfdaf user: js tags: trunk | |
22:30 | %zd doesn't work on win32. check-in: 6362f9c167 user: js tags: trunk | |
22:12 | Reorder libs so we can also link against static libs. check-in: 576f1baea7 user: js tags: trunk | |
22:00 | This isn't needed anymore. check-in: 1d99bea306 user: js tags: trunk | |
04:33 | When crosscompiling for win32, use wine for the tests, if possible. check-in: fa7251681f user: js tags: trunk | |
03:05 | Don't try to use madvise on win32. check-in: ab9eb34112 user: js tags: trunk | |
03:00 | Check for pthreads. check-in: 7d050bfb2d user: js tags: trunk | |
2008-12-21
| ||
20:17 | This looked nicer, but GCC couldn't optimize it. check-in: 74af3973f8 user: js tags: trunk | |
17:50 | A few optimizations for OFString. check-in: fb809020b5 user: js tags: trunk | |
16:06 | Nicer output for OFString tests. check-in: 70087a1b3b user: js tags: trunk | |
15:54 | Nicer exception catching in tests. check-in: 1c77f45484 user: js tags: trunk | |
15:42 | Initial UTF-8 support for OFString. check-in: b4a4e95798 user: js tags: trunk | |
2008-12-20
| ||
14:41 | Don't put void* in lists, but objects. check-in: b2c9f574cb user: js tags: trunk | |
14:26 | Fix printf in tests. check-in: b023058e08 user: js tags: trunk | |
14:19 | Remove wchar_t stuff, as that's not portable anyway. check-in: 4360177618 user: js tags: trunk | |
2008-12-19
| ||
23:15 | Add errno in exceptions where it's useful. check-in: e668c03098 user: js tags: trunk | |
22:30 | Better variable names for initialization of some exceptions. check-in: 5ad7e24b78 user: js tags: trunk | |
22:04 | Add - setBlocking and - enableKeepAlives for OFTCPSocket. check-in: 2e6119eb42 user: js tags: trunk | |
17:21 | Also set CFLAGS as we also have .c files. check-in: fb2c2513d3 user: js tags: trunk | |
16:36 | Cache checks that don't work when crosscompiling. check-in: aa1266c569 user: js tags: trunk | |
2008-12-15
| ||
12:29 | This isn't needed anymore. check-in: 59fbfef638 user: js tags: trunk | |
2008-12-14
| ||
15:00 | Check whether we can use snprintf in our asprintf implementation. check-in: 454129c81d user: js tags: trunk | |
11:47 | Nicer output for OFHashes tests. check-in: 7172d2539b user: js tags: trunk | |
02:12 | This is more safe. check-in: 7ddd9e5d35 user: js tags: trunk | |
02:03 | Fix check for asprintf. check-in: 094c6ad5f4 user: js tags: trunk | |
02:01 | Define functions unavailable on win32 and nop them there. check-in: 61bbbc20ff user: js tags: trunk | |
01:45 | Two new exceptions; fix 3 FIXMEs in OFTCPSocket. check-in: af9e349898 user: js tags: trunk | |
2008-12-13
| ||
23:11 | Fix two more FIXMEs in OFTCPSocket; new exception. check-in: ec3c199d1a user: js tags: trunk | |
22:58 | Don't compile asprintf.c if not needed. check-in: a6c1870058 user: js tags: trunk | |
22:16 | Properly clear line in tests on failure. check-in: 81c57d9f39 user: js tags: trunk | |
22:09 | Nicer output for OFList tests. check-in: 0425fb0d0b user: js tags: trunk | |
21:55 | Nicer output for OFXMLFactory tests. check-in: c2e0027c47 user: js tags: trunk | |
21:34 | Always delete temp symlinks, even if test fails. Plus one new test. check-in: 15ddecd17d user: js tags: trunk | |
20:24 | Fix off by one. check-in: 3e4e1a46a0 user: js tags: trunk | |
19:43 |
Add ${PROG_SUFFIX} to test binaries & symlinks. One day, we can run those tests with wine when crossbuilding and native when building using cygwin. check-in: 034b0dc532 user: js tags: trunk | |
19:39 | Fix IPv6 check. check-in: c667d39616 user: js tags: trunk | |
19:25 | Initial attempt to port to win32. check-in: 142572f90b user: js tags: trunk | |
18:25 |
Some build related changes. Thanks to Thorsten Glaser for a few ideas. check-in: 8740f97cb3 user: js tags: trunk | |
16:55 | Update to latest rev of buildsys. check-in: a9ff3c4407 user: js tags: trunk | |
15:08 | One new exception; fix one FIXME in OFTCPSocket. check-in: b5ea1b43c4 user: js tags: trunk | |
14:52 | Fix 2 FIXMEs in OFTCPSocket. check-in: 7d05cee843 user: js tags: trunk | |
14:50 | Add missing const for some return types; new exception. check-in: 46b770d066 user: js tags: trunk | |
13:52 | On some systems, localhost doesn't work for IPv6, thus use ::1. check-in: add10740d1 user: js tags: trunk | |
13:42 | Only test IPv6 if we have support for it. check-in: cabd461d39 user: js tags: trunk | |
13:40 | Check for IPv6 support. check-in: c1687f2be3 user: js tags: trunk | |
2008-12-11
| ||
14:06 | Fix two more FIXMEs in OFTCPSocket; new exception. check-in: 85f7e202b1 user: js tags: trunk | |
13:56 | Fix two FIXMEs in OFTCPSocket. check-in: 6d765d0301 user: js tags: trunk | |
13:53 | Allow initialization without NItems for OFReadOrWriteFailedException. check-in: 5168142abe user: js tags: trunk | |
13:43 |
Remove - close from OFStream protocol. The reason is that closing a file isn't too useful, because an OFFile object can't be reused, whereas an OFTCPSocket can. So only the OFTCPSocket should have closed. Plus, we don't need to handle the case that someone tried to read from / write to a closed OFFile. check-in: c83137e7cd user: js tags: trunk | |
2008-12-10
| ||
20:53 | Fix FIXMEs in OFString; new exception. check-in: 4f7378978c user: js tags: trunk | |
18:00 | Enhance exceptions; fix some FIXMEs in OFTCPSocket. check-in: a01c94d9dd user: js tags: trunk | |
17:54 | When closing an OFTCPSocket, set it's internal socket to -1. check-in: e9f870cfc0 user: js tags: trunk | |
17:53 |
Always use [self alloc] in + new. This way, derivated classes are not forced to always override + new. check-in: f48ee629e3 user: js tags: trunk | |
2008-12-09
| ||
17:36 |
Don't use - raise anymore, but @throw. - raise was only because at first, exceptions were self-raising, but this was later changed so they had to be risen manually. - rise was introduced for that, but it would've been better to use @throw directly. Thus, this change now. check-in: d88aec8e95 user: js tags: trunk | |
2008-12-08
| ||
16:51 |
Don't allow connecting/binding on an already opened socket. Also, free mem on accepted sockets when close is called. check-in: c8990ecd12 user: js tags: trunk | |
16:47 | Use random port for test. check-in: b54cffa9db user: js tags: trunk | |
2008-12-07
| ||
21:58 | Server support for OFTCPSocket. check-in: 0d5b08e43e user: js tags: trunk | |
12:41 | OFXMLFactory: Fix FIXMEs, TODOs and possible off-by-one. check-in: 4073a31454 user: js tags: trunk | |
10:48 | Very small API change. check-in: 88053589dc user: js tags: trunk | |
10:39 | Remove redundant method definitions. check-in: 06c6cdbd34 user: js tags: trunk | |
10:35 | Add - close to OFStream. check-in: 657fae20a4 user: js tags: trunk | |
10:24 | OFSocket -> OFTCPSocket. check-in: d1a5065e69 user: js tags: trunk | |
03:06 | Remove writeWideCString as that's a bad idea. check-in: 70874cf3c5 user: js tags: trunk | |
02:59 | glibc is broken once again. I guess no other libc is that broken... check-in: 6d069e2a83 user: js tags: trunk | |
02:53 | Add writeCString and writeWideCString to OFStream. check-in: 6ed7c33611 user: js tags: trunk | |
02:35 | Add inital OFSocket class. check-in: ba7219b1b6 user: js tags: trunk | |
2008-12-06
| ||
19:50 | Update to lastest rev of buildsys. check-in: 7d7c87f110 user: js tags: trunk | |
15:28 | Also install OFStream.h. check-in: 5bc198ef05 user: js tags: trunk | |
15:22 | Change OFFile API, add OFStream protocol. check-in: f32e7ed452 user: js tags: trunk | |
15:14 | Rename cString to getCString, as this needs to be generated. check-in: 9c420c6cc3 user: js tags: trunk | |
2008-11-30
| ||
15:17 | Clean up imports. check-in: 4b8666fe15 user: js tags: trunk | |
2008-11-29
| ||
11:59 | Optimize branch prediction for ifs inside loops. check-in: 92c12b1d4f user: js tags: trunk | |
2008-11-28
| ||
17:31 | glibc needs one import more. check-in: ae389818d9 user: js tags: trunk | |
2008-11-27
| ||
16:14 | Add lower and upper for OFString. check-in: 2cbf759299 user: js tags: trunk | |
2008-11-26
| ||
21:35 |
glibc breaks when trying to use stdio.h and wchar.h. This is stupid, as it's possible you don't ever output a wchar_t and just need wcscmp, but this forces us to always use wprintf when we need a wchar_t somewhere in the file. glibc really is a nightmare. check-in: 0889c2fc55 user: js tags: trunk | |
21:12 | mbstowcs/wcstombs returns the size of bytes exluding \0, thus add 1. check-in: baeaca9124 user: js tags: trunk | |
14:40 | Support for wide C strings for OFXMLFactory. check-in: cd99b982ac user: js tags: trunk | |
2008-11-23
| ||
06:11 |
New string API, string class completely rewritten. One class for all string types now. check-in: bf02f0ef25 user: js tags: trunk | |
2008-11-19
| ||
18:27 | Implement reverse for OF(Wide)CString & rename wcString -> wCString. check-in: cebd6fbbfc user: js tags: trunk | |
18:11 | Fix missing rm. check-in: 4c5e4752da user: js tags: trunk | |
2008-11-18
| ||
20:20 | Also symlink libobjfw.so.1.0 for the tests. check-in: 7d335829dc user: js tags: trunk | |
2008-11-08
| ||
21:52 | Further optimize OFObject. check-in: c6ee6a2870 user: js tags: trunk | |
20:28 | Optimize OFObject. check-in: 14ba9e517b user: js tags: trunk | |
17:57 | Add missing add: for OFBigArray and fix calculation of nsize. check-in: ae28fbf3ca user: js tags: trunk | |
2008-11-07
| ||
20:25 | Don't allocate 2 pages if we need exactly pagesize. check-in: 252ecc91a1 user: js tags: trunk | |
17:25 | Implementation for OFBigArray. check-in: 59f16e8a3d user: js tags: trunk | |
14:29 | Everything should be documented now. check-in: e8e45975df user: js tags: trunk | |
2008-11-06
| ||
16:06 | Even more documentation. check-in: 89c545c3e9 user: js tags: trunk | |
2008-11-05
| ||
20:30 | More documentation stuff. check-in: b5e28fc975 user: js tags: trunk | |
18:22 | More documentation. check-in: 1caf21d1b2 user: js tags: trunk | |
17:51 | More documentation. check-in: 32ccf22a44 user: js tags: trunk | |
17:13 | Start documenting stuff. check-in: 2690e9848f user: js tags: trunk | |
16:11 | OFOverflowException -> OFOutOfRangeException. check-in: 3577c0d81c user: js tags: trunk | |
2008-11-02
| ||
02:09 | Added -data for OFArray & one new test. check-in: 61fc89489a user: js tags: trunk | |
00:42 | Implementation for OFArray. check-in: a1e066138c user: js tags: trunk | |
00:27 | Some fixes for OFObject. check-in: 9ff3dbe9f9 user: js tags: trunk | |
2008-11-01
| ||
22:20 | Some exception stuff & withSize -> ofSize for OFObject. check-in: 9944a6f8a4 user: js tags: trunk | |
21:47 | Allow using [ofobject resizeMem: NULL toSize: size]. check-in: a6b45eec2f user: js tags: trunk | |
21:27 | Add interface for OFBigArray. check-in: 365925e363 user: js tags: trunk | |
20:40 | Clear .SUFFIXES first to prevent compiling files silently. check-in: 11473ee1ab user: js tags: trunk | |
20:29 | Delete .deps on make distclean. check-in: 88bad9ba54 user: js tags: trunk | |
20:16 | Fix bug I didn't notice thanks to gcc 4.2. check-in: 2d936d7aa7 user: js tags: trunk | |
20:12 | Don't delete .deps file on make clean. check-in: e911d987b5 user: js tags: trunk | |
19:55 | Oops, forgot to add a file. check-in: 04462a0d89 user: js tags: trunk | |
19:27 | It seems that $as_echo is undefined on some systems. Fixed. check-in: b58417c7f6 user: js tags: trunk | |
19:19 | Touch .deps files in the past so they are always recreated. check-in: 1816a2e465 user: js tags: trunk | |
19:10 | Move one line to fix dependency generation. check-in: bbdcfbfc8d user: js tags: trunk | |
18:56 | Update buildsys. check-in: a3c93e6469 user: js tags: trunk | |
18:38 | Only run tests if we're not cross-compiling. check-in: 5a21508a04 user: js tags: trunk | |