55 check-ins using file src/OFObject.h version 0778c8e9f4
2008-12-19
| ||
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 | |