ObjFW  History of src/OFStreamObserver_select.m of 840ef61f18970636

History of file src/OFStreamObserver_select.m at check-in 840ef61f18970636

2014-01-28
22:50
Deleted: Rename OFStreamObserver -> OFKernelEventObserver check-in: [96e20b8093] user: js, branch: trunk, size: 0
2014-01-26
13:32
Include unistd.h in socket_helpers.h file: [4391e8db5d] check-in: [32ad39007a] user: js, branch: trunk, size: 4256 [annotate] [blame] [check-ins using] [diff]
2014-01-16
23:09
Add of_time_interval_t.

This is used instead for time intervals now instead of doubles. file: [deba7055bd] check-in: [dc31ce3d34] user: js, branch: trunk, size: 4249 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [5191921275] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 4237 [annotate] [blame] [check-ins using] [diff]
2013-08-15
19:00
Move private methods into private headers. file: [a17e72c07d] check-in: [1d7a1cbca0] user: js, branch: trunk, size: 4231 [annotate] [blame] [check-ins using] [diff]
2013-04-30
22:47
observeWithTimeout: -> observeForTimeInterval:. file: [855b79f521] check-in: [ab9ad6e515] user: js, branch: trunk, size: 4165 [annotate] [blame] [check-ins using] [diff]
2013-03-04
17:20
Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. file: [0d55873c55] check-in: [c5ef582958] user: js, branch: trunk, size: 4103 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [f904878755] check-in: [e40729d406] user: js, branch: trunk, size: 4095 [annotate] [blame] [check-ins using] [diff]
2013-01-19
01:41
Two small fixes.

OFStreamObserver_select: Fix missing include.
OFTCPSocket: Fix missing rename. file: [ea4f833523] check-in: [a2a48d4d29] user: js, branch: trunk, size: 4071 [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
Update copyright. file: [5b3e16fc4a] check-in: [813c00ccf0] user: js, branch: trunk, size: 4048 [annotate] [blame] [check-ins using] [diff]
2012-12-20
16:42
Remove dummy implementations for formal protocols. file: [8aa04560f5] check-in: [89177dcd09] user: js, branch: trunk, size: 4042 [annotate] [blame] [check-ins using] [diff]
2012-10-09
22:02
Silence warnings about implicit float to int casts file: [66f75ef514] check-in: [a39a0d7bec] user: js, branch: trunk, size: 3686 [annotate] [blame] [check-ins using] [diff]
2012-09-16
15:27
Prefix all private methods with OF_. file: [499369cb3d] check-in: [c137da5e5b] user: js, branch: trunk, size: 3403 [annotate] [blame] [check-ins using] [diff]
2012-09-12
17:27
Split -[OFStream fileDescriptor].

It is now -[fileDescriptorForReading] and -[fileDescriptorForWriting].
The split was necessary as some stream types (e.g. OFProcess) don't have
a single file descriptor, but two. This allows to use those stream types
with OFStreamObserver as well. file: [9b40b1e63a] check-in: [440e95fd4a] user: js, branch: trunk, size: 3391 [annotate] [blame] [check-ins using] [diff]

06:00
OFStreamObserver: Cancel is no event anymore.

As cancel internally was an event, -[observeWithTimeout:] returned YES
before when an observe call was canceled. Now, the number of real events
is counted and NO returned if this is 0. file: [eb397d13f9] check-in: [3de549d6a5] user: js, branch: trunk, size: 3455 [annotate] [blame] [check-ins using] [diff]

06:00
OFStreamObserver: Take a double as timeout. file: [a76eca16d0] check-in: [3c99aa51da] user: js, branch: trunk, size: 3317 [annotate] [blame] [check-ins using] [diff]
2012-08-10
20:08
Directly use the runtime's autorelease pools.

This greatly improves performance, as it gets rid of the overhead of
OFAutoreleasePool. file: [2098b64113] check-in: [1255f3a11a] user: js, branch: trunk, size: 3314 [annotate] [blame] [check-ins using] [diff]

2012-07-16
23:49
Add OF_ENSURE.

This is to be used when the condition includes a statement that needs to
be executed, as with assert, this would not be executed anymore when
NDEBUG is defined. file: [937ba60b81] check-in: [417b213d41] user: js, branch: trunk, size: 3310 [annotate] [blame] [check-ins using] [diff]

2012-03-12
11:54
OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].

This is required for the new array literals. file: [17f835ff3b] check-in: [008be86a16] user: js, branch: trunk, size: 3304 [annotate] [blame] [check-ins using] [diff]

2012-01-05
00:56
Update copyright. file: [a5aa0c34fc] check-in: [ce70e17b38] user: js, branch: trunk, size: 3293 [annotate] [blame] [check-ins using] [diff]
2011-10-25
00:02
Always release the pool in -[OFStreamObserver observe].

Per convention, this would not be necessasry. However, a common
use case is to call -[observe] in a loop that never ends, thus
no pool below the one created in -[observe] will ever be released. file: [85d5b1242b] check-in: [95fdb174f6] user: js, branch: trunk, size: 3287 [annotate] [blame] [check-ins using] [diff]

2011-10-22
16:57
Indentation fix. file: [d0c40db2e0] check-in: [7da45d5ccf] user: js, branch: trunk, size: 3241 [annotate] [blame] [check-ins using] [diff]
2011-09-20
19:06
Remove useless imports. file: [7d6a58ffc2] check-in: [1af1677350] user: js, branch: trunk, size: 3244 [annotate] [blame] [check-ins using] [diff]
18:40
OFStreamObserver improvements.

* Make it possible to close a stream before the add/remove queue has
been processed.
* The actual implementations don't need to handle OFStreams now, but
get the file descriptor instead.
* Use an OFMutex instead of @synchronized. file: [2694d5248b] check-in: [47caef4f8a] user: js, branch: trunk, size: 3265 [annotate] [blame] [check-ins using] [diff]

2011-09-19
12:44
Nicer OFStreamObserver API. file: [ab1097e618] check-in: [c279948fb8] user: js, branch: trunk, size: 3417 [annotate] [blame] [check-ins using] [diff]
12:07
Improve OFStreamObserver. file: [e296c3f2eb] check-in: [d3f6cf9293] user: js, branch: trunk, size: 3467 [annotate] [blame] [check-ins using] [diff]
2011-09-17
20:22
Added: Rename OFStream{Poll,Select}Observer to OFStreamObserver_{poll,select}. file: [08466b38d3] check-in: [4d2f08f6fe] user: js, branch: trunk, size: 4685 [annotate] [blame] [check-ins using]