ObjFW  History of tests/OFKernelEventObserverTests.m of 6814c06c55046b94

History of the file that is called tests/OFKernelEventObserverTests.m at check-in 6814c06c55046b94

2024-04-03
02:16
[11704d0412] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 3472) [annotate] [blame] [check-ins using] [diff]
2024-02-20
22:07
[458149bcab] part of check-in [89b96428b9] OFKernelEventObserverTests: Fix missing release (check-in: [89b96428b9] user: js, branch: trunk, size: 3264) [annotate] [blame] [check-ins using] [diff]
2024-02-18
19:29
Renamed new_tests/OFKernelEventObserverTests.m → tests/OFKernelEventObserverTests.m. [2177e01800] part of check-in [7a84580fb6] Rename new tests (check-in: [7a84580fb6] user: js, branch: objfwtest, size: 3242) [annotate] [blame] [check-ins using] [diff]
11:08
Renamed tests/OFKernelEventObserverTests.m → new_tests/OFKernelEventObserverTests.m. [2177e01800] part of check-in [aa56dd6d2a] Migrate OFKernelEventObserverTests to ObjFWTest (check-in: [aa56dd6d2a] user: js, branch: objfwtest, size: 3242) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[fd27260531] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 5176) [annotate] [blame] [check-ins using] [diff]
2023-05-21
11:04
[25c104eb19] part of check-in [fc161d1948] OFTCPSocket: Return socket address bound to (check-in: [fc161d1948] user: js, branch: trunk, size: 5176) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[aebf1c55e6] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 5130) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[cec268df6c] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 5130) [annotate] [blame] [check-ins using] [diff]
2021-05-08
23:22
[f4ab45b387] part of check-in [14f1e22d79] tests: Align more with ObjFW style

ObjFW's style changed over the years, but the tests were never adjusted
to it. (check-in: [14f1e22d79] user: js, branch: trunk, size: 5130) [annotate] [blame] [check-ins using] [diff]

2021-04-18
15:55
[e1e120ef88] part of check-in [7392685ffc] Rename all functions in macros.h (check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 5091) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[decdd17638] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 5092) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[24325e2282] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 5134) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[d22c843df2] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 5223) [annotate] [blame] [check-ins using] [diff]
2019-09-29
15:58
[b7d7784260] part of check-in [09be825f88] Remove OFAutoreleasePool

OFAutoreleasePools have long been discouraged in favor of the runtime's
autorelease pools. (check-in: [09be825f88] user: js, branch: trunk, size: 5220) [annotate] [blame] [check-ins using] [diff]

2019-06-17
02:33
[acffe39aa3] part of check-in [17d57e01ff] Remove underscores from class names (check-in: [17d57e01ff] user: js, branch: trunk, size: 5222) [annotate] [blame] [check-ins using] [diff]
2019-03-25
00:21
[70f44cc10f] part of check-in [b045cbb9c7] tests: Use dot syntax (check-in: [b045cbb9c7] user: js, branch: trunk, size: 5230) [annotate] [blame] [check-ins using] [diff]
2019-02-17
22:44
[a86e902d78] part of check-in [dc0c6c34ab] tests: Only import ObjFW.h

This prevents forgetting to add an import to ObjFW.h, as the tests would
then not compile. (check-in: [dc0c6c34ab] user: js, branch: trunk, size: 5236) [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
[33f43547cf] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 5365) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[c09fdf0858] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 5359) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[a75e0308f8] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 5336) [annotate] [blame] [check-ins using] [diff]

2017-10-01
21:12
[6f6df4db2e] part of check-in [28078de81b] Fix testing the wrong OFKernelEventObserver (check-in: [28078de81b] user: js, branch: trunk, size: 5322) [annotate] [blame] [check-ins using] [diff]
2017-07-30
21:40
[a33e059e26] part of check-in [5e0bfb59b4] tests: Drain between OFKernelObserver tests

This makes them not run out of resources on Nintendo 3DS. (check-in: [5e0bfb59b4] user: js, branch: trunk, size: 5343) [annotate] [blame] [check-ins using] [diff]

17:25
[6685f5b362] part of check-in [a3e2130ab4] Fix OFKernelEventObserver on Wii (check-in: [a3e2130ab4] user: js, branch: 0.90, size: 5344) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[f2b6e225cb] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 5468) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[26a483d9d8] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 5467) [annotate] [blame] [check-ins using] [diff]

2016-03-20
14:58
[cdf33e2e44] part of check-in [62d1d615f8] OFKernelEventObserverTests: Properly count fails (check-in: [62d1d615f8] user: js, branch: 0.8, size: 5423) [annotate] [blame] [check-ins using] [diff]
14:58
[4cca110d90] part of check-in [b5277f0444] OFKernelEventObserverTests: Properly count fails (check-in: [b5277f0444] user: js, branch: trunk, size: 5461) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
[09cd1941db] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 5294) [annotate] [blame] [check-ins using] [diff]

00:41
[2268f2ee07] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 5332) [annotate] [blame] [check-ins using] [diff]

2015-11-29
14:20
[87b1a72a6f] part of check-in [ba62f00fac] Clean up optional protocols

Now that we can require GCC >= 4.6, we no longer need to have a category
on OFObject that adds the optional protocol to it. (check-in: [ba62f00fac] user: js, branch: trunk, size: 5328) [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
[c39307bdbd] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 5296) [annotate] [blame] [check-ins using] [diff]
2015-05-10
00:42
[70f76a2e2d] part of check-in [504643ffee] OFKernelEventObserverTests: Prevent line wrap (check-in: [504643ffee] user: js, branch: trunk, size: 5290) [annotate] [blame] [check-ins using] [diff]
2015-05-09
18:13
[8dbc611e84] part of check-in [220513a3f5] More OFKernelEventObserver refactoring

This was necessary because select(), poll() and kevent() on FreeBSD and
OS X would sometimes return 0 events, even if there are some, and
sometimes return the correct number of events that were pending, meaning
the number of events returned is unreliable. To make things worse,
whether it returns 0 or the number of events that were pending is
completely non-deterministic on both FreeBSD and OS X (running the same
tests multiple times in a row would make it sometimes work and sometimes
fail).

In order to prevent code from depending on the return value of
-[observeForTimeInterval:] (which would depend on select(), poll() and
kevent() returning the correct number), OFKernelObserver no longer
returns whether there were pending events. It is expected that
-[observe] or -[observeForTimeInterval:] is just called in a loop as
long as events should be handled.

The tests have been changed as well to reflect this. What they do now is
set a deadline and call -[observeForTimeInterval:] with a small timeout
in a loop until the deadline is reached or all events have been handled.

Note: DragonFlyBSD has not been tested, but will most likely behave like
FreeBSD and OS X. (check-in: [220513a3f5] user: js, branch: trunk, size: 5326) [annotate] [blame] [check-ins using] [diff]

2015-05-04
23:19
[c839b85266] part of check-in [6430ae3309] Test all OFKernelEventObserver implementations (check-in: [6430ae3309] user: js, branch: trunk, size: 3934) [annotate] [blame] [check-ins using] [diff]
2015-05-03
09:39
[5bcda94d87] part of check-in [3791ec8e42] Improve OFKernelEventObserverTests (check-in: [3791ec8e42] user: js, branch: trunk, size: 3003) [annotate] [blame] [check-ins using] [diff]
2015-04-26
12:26
[ce29c0174f] part of check-in [8697161608] OFKernelEventObserverTests: Make old GCCs happy (check-in: [8697161608] user: js, branch: trunk, size: 2719) [annotate] [blame] [check-ins using] [diff]
08:10
[664311d3cf] part of check-in [57b6030b14] Minor improvements, no functional change (check-in: [57b6030b14] user: js, branch: trunk, size: 2751) [annotate] [blame] [check-ins using] [diff]
2015-04-20
20:46
Added: [c4a91b451f] part of check-in [d4a1b1966d] Add tests for OFKernelEventObserver (check-in: [d4a1b1966d] user: js, branch: trunk, size: 2752) [annotate] [blame] [check-ins using]