History of the file that is called src/OFStreamObserver.m at check-in d511962e09c73e89
|
2014-01-28
| ||
| 22:50 | Deleted: Rename OFStreamObserver -> OFKernelEventObserver (check-in: [96e20b8093] user: js, branch: trunk, size: 0) | |
|
2014-01-26
| ||
| 13:32 | [f63dde5192] part of check-in [32ad39007a] Include unistd.h in socket_helpers.h (check-in: [32ad39007a] user: js, branch: trunk, size: 8894) [annotate] [blame] [check-ins using] [diff] | |
|
2014-01-25
| ||
| 19:33 |
[a3d6727f88]
part of check-in [81d47f4398]
Move socket includes and helpers to separate files
The new file socket.h includes all headers required for sockets on the This cleans up the classes dealing with sockets a lot and also reduces | |
|
2014-01-16
| ||
| 23:09 |
[8b0d12d65c]
part of check-in [dc31ce3d34]
Add of_time_interval_t.
This is used instead for time intervals now instead of doubles. (check-in: [dc31ce3d34] user: js, branch: trunk, size: 9254) [annotate] [blame] [check-ins using] [diff] | |
|
2014-01-04
| ||
| 00:24 | [f4afa0c360] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 9242) [annotate] [blame] [check-ins using] [diff] | |
|
2013-11-23
| ||
| 01:27 | [557367c1e5] part of check-in [6e19bd47ee] Add OF_UNRECOGNIZED_SELECTOR. (check-in: [6e19bd47ee] user: js, branch: trunk, size: 9236) [annotate] [blame] [check-ins using] [diff] | |
|
2013-08-15
| ||
| 19:00 | [50f0ed1166] part of check-in [1d7a1cbca0] Move private methods into private headers. (check-in: [1d7a1cbca0] user: js, branch: trunk, size: 9377) [annotate] [blame] [check-ins using] [diff] | |
|
2013-06-13
| ||
| 02:03 |
[2bcf8ed1eb]
part of check-in [ca113e0145]
Don't bind to port 0 on the Wii.
Instead, a decreasing variable is used now. This should be safe, as This also solves the problem that getsockname() is not available on the And while we're at it, this also adds struct sockaddr_storage. (check-in: [ca113e0145] user: js, branch: trunk, size: 9311) [annotate] [blame] [check-ins using] [diff] | |
|
2013-06-11
| ||
| 23:33 |
[ec4b8afafc]
part of check-in [ffb91daffe]
Initial sockets support for the Wii.
Not functional yet due to bugs in the SDK. * Binding to port 0 fails instead of choosing a free port. I have not decided yet whether I fix those bugs in the SDK (I already | |
|
2013-05-30
| ||
| 08:56 | [765c53f8f8] part of check-in [3798cbd7ce] OFStreamObserver: Add missing include on Win32. (check-in: [3798cbd7ce] user: js, branch: trunk, size: 8740) [annotate] [blame] [check-ins using] [diff] | |
|
2013-05-22
| ||
| 18:42 | [acce8334f0] part of check-in [896084c340] Check for more socket-related headers / functions. (check-in: [896084c340] user: js, branch: trunk, size: 8695) [annotate] [blame] [check-ins using] [diff] | |
|
2013-04-30
| ||
| 22:47 | [4b5320c792] part of check-in [ab9ad6e515] observeWithTimeout: -> observeForTimeInterval:. (check-in: [ab9ad6e515] user: js, branch: trunk, size: 8664) [annotate] [blame] [check-ins using] [diff] | |
|
2013-03-04
| ||
| 17:20 |
[14f367ec0c]
part of check-in [c5ef582958]
Replace BOOL with bool.
The only places where BOOL is left are those where they are required by | |
|
2013-02-18
| ||
| 21:53 |
[6df17e709d]
part of check-in [efe7be259d]
Rename -[OFStream pendingBytes].
It is now called -[numberOfBytesInReadBuffer]. Additionally, this commit renames OFStream's _cache to _readBuffer. (check-in: [efe7be259d] user: js, branch: trunk, size: 8511) [annotate] [blame] [check-ins using] [diff] | |
|
2013-02-12
| ||
| 18:22 | [67edca5fb3] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 8498) [annotate] [blame] [check-ins using] [diff] | |
|
2013-01-12
| ||
| 20:53 | [b6d33523f1] part of check-in [b8ce2359f3] Clean up the feature #ifdef mess. (check-in: [b8ce2359f3] user: js, branch: trunk, size: 8724) [annotate] [blame] [check-ins using] [diff] | |
| 20:21 | [b904df7bb8] part of check-in [85b8efadbc] Fix --disable-threads. (check-in: [85b8efadbc] user: js, branch: trunk, size: 8659) [annotate] [blame] [check-ins using] [diff] | |
|
2013-01-09
| ||
| 22:24 | [f1fb6806e0] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 8409) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-22
| ||
| 15:37 | [77de7642b5] part of check-in [917ce5754c] Add -[doesNotRecognizeSelector:]. (check-in: [917ce5754c] user: js, branch: trunk, size: 8403) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-20
| ||
| 16:42 | [df859b9099] part of check-in [89177dcd09] Remove dummy implementations for formal protocols. (check-in: [89177dcd09] user: js, branch: trunk, size: 8645) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-15
| ||
| 17:52 | [0c778cd456] part of check-in [c85ff8d35a] OFDataArray: Improve API. (check-in: [c85ff8d35a] user: js, branch: trunk, size: 8815) [annotate] [blame] [check-ins using] [diff] | |
|
2012-10-26
| ||
| 11:04 |
[f18e106529]
part of check-in [0a55edad35]
Split OFThread.m into multiple files.
It was time to finally have one file per class. (check-in: [0a55edad35] user: js, branch: trunk, size: 8821) [annotate] [blame] [check-ins using] [diff] | |
|
2012-10-09
| ||
| 15:07 | [44c71d7505] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 8796) [annotate] [blame] [check-ins using] [diff] | |
|
2012-09-17
| ||
| 15:48 | [62e60a6cd0] part of check-in [be6adc6e06] Add -[asyncReadIntoBuffer:exactLength:block:]. (check-in: [be6adc6e06] user: js, branch: trunk, size: 8782) [annotate] [blame] [check-ins using] [diff] | |
|
2012-09-16
| ||
| 15:27 | [4eb84860f4] part of check-in [c137da5e5b] Prefix all private methods with OF_. (check-in: [c137da5e5b] user: js, branch: trunk, size: 8783) [annotate] [blame] [check-ins using] [diff] | |
|
2012-09-12
| ||
| 17:27 |
[41b087a39c]
part of check-in [440e95fd4a]
Split -[OFStream fileDescriptor].
It is now -[fileDescriptorForReading] and -[fileDescriptorForWriting]. | |
| 06:00 | [2620dc6f33] part of check-in [acb6598856] OFStreamObserver: Add -[cancel]. (check-in: [acb6598856] user: js, branch: trunk, size: 8721) [annotate] [blame] [check-ins using] [diff] | |
| 06:00 | [f07f85b2a0] part of check-in [3c99aa51da] OFStreamObserver: Take a double as timeout. (check-in: [3c99aa51da] user: js, branch: trunk, size: 8843) [annotate] [blame] [check-ins using] [diff] | |
|
2012-08-10
| ||
| 20:08 |
[44b77ee334]
part of check-in [1255f3a11a]
Directly use the runtime's autorelease pools.
This greatly improves performance, as it gets rid of the overhead of | |
|
2012-07-16
| ||
| 23:49 |
[46e892e905]
part of check-in [417b213d41]
Add OF_ENSURE.
This is to be used when the condition includes a statement that needs to | |
|
2012-07-12
| ||
| 01:28 | [6213636312] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 8834) [annotate] [blame] [check-ins using] [diff] | |
|
2012-06-10
| ||
| 13:28 | [aaaee883eb] part of check-in [11d3d69a22] More API improvements. (check-in: [11d3d69a22] user: js, branch: trunk, size: 8753) [annotate] [blame] [check-ins using] [diff] | |
|
2012-06-06
| ||
| 13:47 |
[75b0a6497b]
part of check-in [f7576a66ce]
Slightly change the memory management API.
Also fix a bug where OFBigDataArray would waste memory. (check-in: [f7576a66ce] user: js, branch: trunk, size: 8761) [annotate] [blame] [check-ins using] [diff] | |
| 13:09 |
[9591f1939e]
part of check-in [d5ddb2cb48]
Rework OFDataArray API.
Also adds more checks. (check-in: [d5ddb2cb48] user: js, branch: trunk, size: 8755) [annotate] [blame] [check-ins using] [diff] | |
|
2012-03-12
| ||
| 11:54 |
[89d321be6d]
part of check-in [008be86a16]
OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].
This is required for the new array literals. (check-in: [008be86a16] user: js, branch: trunk, size: 8770) [annotate] [blame] [check-ins using] [diff] | |
|
2012-01-05
| ||
| 00:56 | [ff67a9acd7] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 8762) [annotate] [blame] [check-ins using] [diff] | |
|
2011-10-24
| ||
| 18:28 | [b9eb3c11d8] part of check-in [87cd99ff88] Don't retain delegates to prevent reference cycles. (check-in: [87cd99ff88] user: js, branch: trunk, size: 8756) [annotate] [blame] [check-ins using] [diff] | |
|
2011-09-22
| ||
| 23:25 |
[fa968ce497]
part of check-in [e1e7ffa903]
Exceptions are now autoreleased.
This is safe as an "exception loop" can't happen, since if allocating So, the worst case would be that an autorelease of an exception fails, | |
| 01:11 | [c099293000] part of check-in [4f6270da38] Add support for kqueue. (check-in: [4f6270da38] user: js, branch: trunk, size: 8778) [annotate] [blame] [check-ins using] [diff] | |
|
2011-09-20
| ||
| 18:40 |
[2c9b5a07cf]
part of check-in [47caef4f8a]
OFStreamObserver improvements.
* Make it possible to close a stream before the add/remove queue has | |
|
2011-09-19
| ||
| 16:34 |
[58de981563]
part of check-in [f173477bef]
Rename -[allocMemoryForNItems:withSize:] and friends. It is now -[allocMemoryForNItems:ofSize:]. (check-in: [f173477bef] user: js, branch: trunk, size: 8424) [annotate] [blame] [check-ins using] [diff] | |
| 16:22 |
[332048c7be]
part of check-in [535c2d5d9b]
Make using -[tryReadLine] + OFStreamObserver safe.
This makes it impossible for the developer to accidentally create a DoS. | |
| 12:44 | [26a8940bc6] part of check-in [c279948fb8] Nicer OFStreamObserver API. (check-in: [c279948fb8] user: js, branch: trunk, size: 8386) [annotate] [blame] [check-ins using] [diff] | |
| 12:07 | [547cd504c0] part of check-in [d3f6cf9293] Improve OFStreamObserver. (check-in: [d3f6cf9293] user: js, branch: trunk, size: 8547) [annotate] [blame] [check-ins using] [diff] | |
|
2011-09-17
| ||
| 20:22 | [d7d6c24d1c] part of check-in [4d2f08f6fe] Rename OFStream{Poll,Select}Observer to OFStreamObserver_{poll,select}. (check-in: [4d2f08f6fe] user: js, branch: trunk, size: 6227) [annotate] [blame] [check-ins using] [diff] | |
|
2011-09-10
| ||
| 19:37 | [317abd8f85] part of check-in [b1ffd7732a] Make OFStreamObserver an abstract class. (check-in: [b1ffd7732a] user: js, branch: trunk, size: 6223) [annotate] [blame] [check-ins using] [diff] | |
| 18:36 | [154bacad74] part of check-in [972a3ee40d] Remove -[finalize] as ARC will be implemented instead of a GC. (check-in: [972a3ee40d] user: js, branch: trunk, size: 12401) [annotate] [blame] [check-ins using] [diff] | |
|
2011-07-17
| ||
| 01:55 |
[fbacb17597]
part of check-in [59e52af26d]
Define __NO_EXT_QNX in files using unistd.h or fcntl.h.
Without this, the headers try to declare functions that use __block as | |
| 01:55 |
[741b860b9a]
part of check-in [da2701ad14]
Define __NO_EXT_QNX in files using unistd.h or fcntl.h.
Without this, the headers try to declare functions that use __block as | |
|
2011-06-07
| ||
| 14:10 | [0c469136e4] part of check-in [ff3d9a9225] Small changes to OF_SETTER/OF_GETTER. (check-in: [ff3d9a9225] user: js, branch: 0.5, size: 11936) [annotate] [blame] [check-ins using] [diff] | |
| 14:10 | [7f19030bfc] part of check-in [9e2ea02a08] Small changes to OF_SETTER/OF_GETTER. (check-in: [9e2ea02a08] user: js, branch: trunk, size: 12464) [annotate] [blame] [check-ins using] [diff] | |
|
2011-04-24
| ||
| 21:50 | [4fa877dddd] part of check-in [07b3d0e8de] Add -[finalize] to all classes which would require it once we have GC. (check-in: [07b3d0e8de] user: js, branch: trunk, size: 12495) [annotate] [blame] [check-ins using] [diff] | |
|
2011-04-22
| ||
| 22:46 | [5e763c88de] part of check-in [c9c78d86d3] More style improvements. (check-in: [c9c78d86d3] user: js, branch: trunk, size: 12411) [annotate] [blame] [check-ins using] [diff] | |
| 21:08 | [94e7d25075] part of check-in [fb95acc8ab] More style improvements. (check-in: [fb95acc8ab] user: js, branch: trunk, size: 12387) [annotate] [blame] [check-ins using] [diff] | |
| 20:43 | [4bdac00ac8] part of check-in [e7bb41764c] OFStreamObserver: Don't ignore the timeout when using select(). (check-in: [e7bb41764c] user: js, branch: 0.5, size: 11967) [annotate] [blame] [check-ins using] [diff] | |
|
2011-04-06
| ||
| 20:07 | [90468a0a65] part of check-in [a10390bfd6] Port recent OFStreamObserver changes to Win32. (check-in: [a10390bfd6] user: js, branch: trunk, size: 11898) [annotate] [blame] [check-ins using] [diff] | |
| 19:53 |
[b5be6cde87]
part of check-in [57f51f7341]
Don't compare to FD_SETSIZE.
FD_SETSIZE is _NOT_ the number of the last fd, but the maximum number of | |
|
2011-04-04
| ||
| 23:32 |
[c4fa7336ee]
part of check-in [8349bc4bbe]
Check the value of read/write in OFStreamObserver.
Some systems like Ubuntu have libc headers which specify an attribute | |
|
2011-04-03
| ||
| 19:52 |
[b3c7d0cf87]
part of check-in [f4151a36e3]
Add -[pendingBytes] to OFStream.
This way, the method to determine whether OFStreamSocket should | |
| 19:25 | [68c03424f8] part of check-in [6d9854419c] OPEN_MAX is not available on every system. (check-in: [6d9854419c] user: js, branch: trunk, size: 10270) [annotate] [blame] [check-ins using] [diff] | |
|
2011-04-02
| ||
| 02:29 | [9e9e13990f] part of check-in [321274075d] Fix small bugs introduced by the last commit. (check-in: [321274075d] user: js, branch: trunk, size: 10245) [annotate] [blame] [check-ins using] [diff] | |
|
2011-04-01
| ||
| 22:14 |
[864995cc48]
part of check-in [a61ab37726]
Cancel the currently blocking -[observe] when the stream set is changed.
Not working on win32 yet, it will be ported to it later as it's not that | |
| 17:10 | [95f2f3be53] part of check-in [61cad3ee76] Call -[releaseObjects] after calling the delegate. (check-in: [61cad3ee76] user: js, branch: trunk, size: 9508) [annotate] [blame] [check-ins using] [diff] | |
| 16:54 |
[bf14750714]
part of check-in [35aab77af3]
Make OFStreamObserver thread-safe.
It does not cancel the currently running -[observe] yet when changing | |
| 16:06 | [3eaeff6179] part of check-in [52102a2906] Check nfds against OPEN_MAX before calling poll. (check-in: [52102a2906] user: js, branch: trunk, size: 7433) [annotate] [blame] [check-ins using] [diff] | |
|
2011-03-24
| ||
| 19:42 | [ec16112800] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 7431) [annotate] [blame] [check-ins using] [diff] | |
|
2011-03-23
| ||
| 01:06 | [a1bab4dfc6] part of check-in [23acf38456] Make more use of the OFObject protocol. (check-in: [23acf38456] user: js, branch: trunk, size: 7421) [annotate] [blame] [check-ins using] [diff] | |
|
2011-03-22
| ||
| 00:55 | [624d0c1dc4] part of check-in [6d4dfb5bc7] Add -Wshorten-64-to-32. (check-in: [6d4dfb5bc7] user: js, branch: trunk, size: 7391) [annotate] [blame] [check-ins using] [diff] | |
|
2011-01-01
| ||
| 20:19 | [3ce8ac4b7d] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 7294) [annotate] [blame] [check-ins using] [diff] | |
|
2010-11-28
| ||
| 16:02 | [07095552b1] part of check-in [4d013fb14a] Rename +[streamObserver] to +[observer] in OFStreamObserver. (check-in: [4d013fb14a] user: js, branch: trunk, size: 7038) [annotate] [blame] [check-ins using] [diff] | |
|
2010-11-06
| ||
| 13:36 | [b89b86c6f6] part of check-in [1fceb27c0e] Correctly use FD_COPY. (check-in: [1fceb27c0e] user: js, branch: trunk, size: 7044) [annotate] [blame] [check-ins using] [diff] | |
| 13:34 | [2971c119f2] part of check-in [b7767021ca] Handle stream exceptions in OFStreamObserver. (check-in: [b7767021ca] user: js, branch: trunk, size: 7038) [annotate] [blame] [check-ins using] [diff] | |
|
2010-10-25
| ||
| 23:03 | [269a665b2b] part of check-in [8a7ca573c4] Clean up a lot of code (mostly init methods) and fix a missing rethrow. (check-in: [8a7ca573c4] user: js, branch: trunk, size: 6567) [annotate] [blame] [check-ins using] [diff] | |
|
2010-10-24
| ||
| 12:54 | [3a6498e60a] part of check-in [b5da54000d] Add -[streamDidReceiveException:] to OFStreamObserverDelegate. (check-in: [b5da54000d] user: js, branch: trunk, size: 6577) [annotate] [blame] [check-ins using] [diff] | |
|
2010-10-07
| ||
| 21:25 | [18e0a8da0a] part of check-in [1f02ada35e] Fix a typo in OFStreamObserver, affecting it only when using select(). (check-in: [1f02ada35e] user: js, branch: trunk, size: 6199) [annotate] [blame] [check-ins using] [diff] | |
|
2010-09-19
| ||
| 02:52 |
[2babecb315]
part of check-in [b554732eae]
Improve OFStreamObserver.
It also looks at the cache of each stream now and does not block if | |
|
2010-09-05
| ||
| 23:19 |
[7ad4630322]
part of check-in [e2b06423e0]
Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so | |
|
2010-07-07
| ||
| 20:48 | Added: [282f7af8d3] part of check-in [52dcb22b8c] Rename OFSocketObserver to OFStreamObserver and make it more general. (check-in: [52dcb22b8c] user: js, branch: trunk, size: 5624) [annotate] [blame] [check-ins using] | |