ObjFW  History of src/OFStreamObserver_kqueue.m of 840ef61f18970636

History of the file that is called src/OFStreamObserver_kqueue.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
[7589354c0f] part of check-in [32ad39007a] Include unistd.h in socket_helpers.h (check-in: [32ad39007a] user: js, branch: trunk, size: 4121) [annotate] [blame] [check-ins using] [diff]
2014-01-16
23:09
[5ec1bb5587] 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: 4114) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[2b799f2ea6] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 4102) [annotate] [blame] [check-ins using] [diff]
2013-08-15
19:00
[f47615918e] part of check-in [1d7a1cbca0] Move private methods into private headers. (check-in: [1d7a1cbca0] user: js, branch: trunk, size: 4096) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[49f47f6ab0] part of check-in [3d16a30f41] Rework exceptions.

This mostly removes the argument for the class in which the exception
occurred. As backtraces were recently added for all platforms, the
passed class does not give any extra information on where the exception
occurred anymore.

This also removes a few other arguments which were not too helpful. In
the past, the idea was to pass as many arguments as possible so that it
is easier to find the origin of the exception. However, as backtraces
are a much better way to find the origin, those are not useful anymore
and just make the exception more cumbersome to use. The rule is now to
only pass arguments that might help in recovering from the exception or
provide information that is otherwise not easily accessible. (check-in: [3d16a30f41] user: js, branch: trunk, size: 4030) [annotate] [blame] [check-ins using] [diff]

2013-04-30
22:47
[0df0a2e4f0] part of check-in [ab9ad6e515] observeWithTimeout: -> observeForTimeInterval:. (check-in: [ab9ad6e515] user: js, branch: trunk, size: 4076) [annotate] [blame] [check-ins using] [diff]
2013-03-04
17:20
[ac3c9446ae] part of check-in [c5ef582958] Replace BOOL with bool.

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

2013-02-12
18:22
[fd7c063d3b] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 4029) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[fe73536f5b] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 4003) [annotate] [blame] [check-ins using] [diff]
2012-12-27
11:20
[9a99bdfa5c] part of check-in [e5157b2ba2] OFStreamObserver_kqueue: Return NO on error.

Using an assertion there was not a good idea. (check-in: [e5157b2ba2] user: js, branch: trunk, size: 3997) [annotate] [blame] [check-ins using] [diff]

2012-12-20
16:42
[d8e79884c0] part of check-in [89177dcd09] Remove dummy implementations for formal protocols. (check-in: [89177dcd09] user: js, branch: trunk, size: 4158) [annotate] [blame] [check-ins using] [diff]
2012-12-15
17:52
[c9bbb01ae1] part of check-in [c85ff8d35a] OFDataArray: Improve API. (check-in: [c85ff8d35a] user: js, branch: trunk, size: 3903) [annotate] [blame] [check-ins using] [diff]
2012-12-11
23:26
[1e1bf29b71] part of check-in [19df6b304d] OFStreamObserver_kqueue: Integer overflow check.

This is only relevant for platforms on which kqueue uses int for the
number of events instead of size_t. (check-in: [19df6b304d] user: js, branch: trunk, size: 3904) [annotate] [blame] [check-ins using] [diff]

2012-10-09
22:02
[8827a4d942] part of check-in [a39a0d7bec] Silence warnings about implicit float to int casts (check-in: [a39a0d7bec] user: js, branch: trunk, size: 3662) [annotate] [blame] [check-ins using] [diff]
2012-09-16
15:27
[daffa70891] part of check-in [c137da5e5b] Prefix all private methods with OF_. (check-in: [c137da5e5b] user: js, branch: trunk, size: 3646) [annotate] [blame] [check-ins using] [diff]
2012-09-12
06:00
[e69a794cf2] part of check-in [3de549d6a5] 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. (check-in: [3de549d6a5] user: js, branch: trunk, size: 3632) [annotate] [blame] [check-ins using] [diff]

06:00
[5936ea8b18] part of check-in [3c99aa51da] OFStreamObserver: Take a double as timeout. (check-in: [3c99aa51da] user: js, branch: trunk, size: 3563) [annotate] [blame] [check-ins using] [diff]
2012-08-10
20:08
[ef7d60eaa2] part of check-in [1255f3a11a] Directly use the runtime's autorelease pools.

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

2012-07-16
23:49
[0f25fb90be] part of check-in [417b213d41] 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. (check-in: [417b213d41] user: js, branch: trunk, size: 3515) [annotate] [blame] [check-ins using] [diff]

2012-07-12
01:28
[5e762c9efc] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 3492) [annotate] [blame] [check-ins using] [diff]
2012-06-06
13:09
[c2387049cc] part of check-in [d5ddb2cb48] Rework OFDataArray API.

Also adds more checks. (check-in: [d5ddb2cb48] user: js, branch: trunk, size: 3467) [annotate] [blame] [check-ins using] [diff]

2012-01-05
00:56
[688eaf3047] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 3485) [annotate] [blame] [check-ins using] [diff]
2011-10-28
18:02
[c0876509a7] part of check-in [3626a9162c] Fix a missing import. (check-in: [3626a9162c] user: js, branch: trunk, size: 3479) [annotate] [blame] [check-ins using] [diff]
2011-10-25
00:02
[b5282d84cd] part of check-in [95fdb174f6] 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. (check-in: [95fdb174f6] user: js, branch: trunk, size: 3449) [annotate] [blame] [check-ins using] [diff]

2011-09-22
23:25
[fea66ded56] part of check-in [e1e7ffa903] Exceptions are now autoreleased.

This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.

So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (check-in: [e1e7ffa903] user: js, branch: trunk, size: 3197) [annotate] [blame] [check-ins using] [diff]

03:10
[24c0cc0a69] part of check-in [1edb3cb8c7] Don't use EV_RECEIPT.

EV_RECEIPT is not available on all systems implementing kqueue. (check-in: [1edb3cb8c7] user: js, branch: trunk, size: 3185) [annotate] [blame] [check-ins using] [diff]

01:11
Added: [828093c668] part of check-in [4f6270da38] Add support for kqueue. (check-in: [4f6270da38] user: js, branch: trunk, size: 3837) [annotate] [blame] [check-ins using]