78 check-ins using file tests/Makefile version 49f488ca75
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 | |