Overview
Comment: | Add OFSocketObserver. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7390eb727040eb21b7caeb358fe4b480 |
User & Date: | js on 2010-06-13 03:23:30 |
Other Links: | manifest | tags |
Context
2010-06-13
| ||
12:15 | Improve OFSocketObserver API. check-in: 4ca583737c user: js tags: trunk | |
03:23 | Add OFSocketObserver. check-in: 7390eb7270 user: js tags: trunk | |
00:16 | Add protocol to type of delegate of OFApplication. check-in: 1009e97dcd user: js tags: trunk | |
Changes
Modified src/Makefile from [6ef5c721ca] to [861c5b4d8f].
︙ | |||
21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | + | OFMutableString.m \ OFNumber.m \ OFObject.m \ ${OFPLUGIN_M} \ OFSeekableStream.m \ OFSHA1Hash.m \ OFSocket.m \ OFSocketObserver.m \ OFStream.m \ OFString.m \ OFString+Hashing.m \ OFString+URLEncoding.m \ OFString+XMLEscaping.m \ OFString+XMLUnescaping.m \ OFTCPSocket.m \ |
︙ |
Modified src/OFApplication.m from [728d40e47c] to [792653c017].
︙ | |||
171 172 173 174 175 176 177 | 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | - - - + + + | - (OFObject <OFApplicationDelegate>*)delegate { return [[delegate retain] autorelease]; } - (void)setDelegate: (OFObject <OFApplicationDelegate>*)delegate_ { |
︙ |
Modified src/OFNumber.h from [6d290d5b08] to [60fe00fa34].
︙ | |||
40 41 42 43 44 45 46 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | - + | OF_NUMBER_FLOAT, OF_NUMBER_DOUBLE, }; /** * \brief Provides a way to store a number in an object. */ |
︙ |
Modified src/OFNumber.m from [8047d2e395] to [892bfa3920].
︙ | |||
1000 1001 1002 1003 1004 1005 1006 1007 | 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 | + + + + + | case OF_NUMBER_DOUBLE: return [OFNumber numberWithDouble: fmod(value.double_, [num doubleValue])]; default: @throw [OFInvalidFormatException newWithClass: isa]; } } - copy { return [self retain]; } @end |
Modified src/OFSocket.h from [cc8482609a] to [c13d8752b7].
︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | + | #endif /** * \brief A class which provides functions to create and use sockets. */ @interface OFSocket: OFStream { @public #ifndef _WIN32 int sock; #else SOCKET sock; #endif BOOL eos; } |
︙ |
Added src/OFSocketObserver.h version [f4eafbf792].