ObjFW  History of src/OFTimer.m of 83618d5a08f892b0

History of the file that is called src/OFTimer.m at check-in 83618d5a08f892b0

2024-04-03
02:16
[74cba96e39] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 17302) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[51c5bb3274] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 17094) [annotate] [blame] [check-ins using] [diff]
2023-08-06
10:24
[1f910610bc] part of check-in [7ab64323ef] Allow calling -[OFTimer fire] explicitly (check-in: [7ab64323ef] user: js, branch: trunk, size: 17094) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[f074999bf7] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 17229) [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
[bfe36ca5fb] part of check-in [c86b8f10f0] Add OFAssert()

This uses the same format as OFEnsure(). (check-in: [c86b8f10f0] user: js, branch: trunk, size: 17229) [annotate] [blame] [check-ins using] [diff]

2022-07-31
13:16
[6b846b58a6] part of check-in [25e07aba82] OFTimer: Include objects in description (check-in: [25e07aba82] user: js, branch: trunk, size: 17246) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[a9abf62d66] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 16611) [annotate] [blame] [check-ins using] [diff]
2021-05-02
09:18
[4643374dad] part of check-in [aaca545b2f] OFTimer: Add -[description]

This can be quite handy for debugging things. (check-in: [aaca545b2f] user: js, branch: trunk, size: 16611) [annotate] [blame] [check-ins using] [diff]

2021-04-18
15:55
[f881c0a34b] part of check-in [7392685ffc] Rename all functions in macros.h (check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 15880) [annotate] [blame] [check-ins using] [diff]
2021-04-17
03:37
[c82a64c489] part of check-in [b480ef54db] of_run_loop_mode_t -> OFRunLoopMode (check-in: [b480ef54db] user: js, branch: new-naming-convention, size: 15881) [annotate] [blame] [check-ins using] [diff]
03:21
[f12435550c] part of check-in [c4e0e56fa3] Rename all blocks (check-in: [c4e0e56fa3] user: js, branch: new-naming-convention, size: 15891) [annotate] [blame] [check-ins using] [diff]
00:51
[fc8cefbc96] part of check-in [8c0d76f782] of_time_interval_t -> OFTimeInterval (check-in: [8c0d76f782] user: js, branch: new-naming-convention, size: 15903) [annotate] [blame] [check-ins using] [diff]
00:14
[d7ed3b965f] part of check-in [61fc389aee] of_comparison_result_t -> OFComparisonResult (check-in: [61fc389aee] user: js, branch: new-naming-convention, size: 15983) [annotate] [blame] [check-ins using] [diff]
2021-04-07
22:20
[a68714fb85] part of check-in [96ee4795ad] Make GCC happy again (check-in: [96ee4795ad] user: js, branch: trunk, size: 15987) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[8d739f9efc] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 16047) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[f2217d4a17] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 16075) [annotate] [blame] [check-ins using] [diff]
2020-10-10
21:54
[b1d045935e] part of check-in [ac004e624d] More type cleanups (check-in: [ac004e624d] user: js, branch: trunk, size: 16164) [annotate] [blame] [check-ins using] [diff]
2020-06-28
15:03
[ced46435b5] part of check-in [b6cb3addd0] Use OF_DIRECT(_MEMBERS) where appropriate (check-in: [b6cb3addd0] user: js, branch: trunk, size: 16158) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[51ddf396b5] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 16144) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[3990e4e136] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 16141) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[b2973aea61] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 16147) [annotate] [blame] [check-ins using] [diff]
2018-09-24
00:13
[fb9d266804] part of check-in [3fb96dff3c] OFRunLoop: Add support for modes (check-in: [3fb96dff3c] user: js, branch: trunk, size: 16141) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[7a8a18eeb5] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 15704) [annotate] [blame] [check-ins using] [diff]
2017-11-19
12:56
[e8f4bfafc2] part of check-in [615a9f2eba] Fix compilation with GCC (check-in: [615a9f2eba] user: js, branch: trunk, size: 15681) [annotate] [blame] [check-ins using] [diff]
12:05
[7c5e87e7c3] part of check-in [11f24addd7] Fix warnings introduced by OFComparing change

Since OFComparing no longer conforms to OFObject, OFObject needed to be
added at a few places. (check-in: [11f24addd7] user: js, branch: trunk, size: 15687) [annotate] [blame] [check-ins using] [diff]

2017-10-22
15:05
[d55afecf6c] part of check-in [a06354b42a] Make Apple GCC with -Wshadow happy (check-in: [a06354b42a] user: js, branch: trunk, size: 15677) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[a3b64a1457] 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: 15673) [annotate] [blame] [check-ins using] [diff]

2017-09-25
00:02
[c9ab85ab8c] part of check-in [f714793eb4] OFObject: Add -[performSelector*] with 4 objects (check-in: [f714793eb4] user: js, branch: trunk, size: 15578) [annotate] [blame] [check-ins using] [diff]
2017-09-24
02:11
[7b33b2ac32] part of check-in [9f1accca4e] OFObject: Add -[performSelector*] with 3 objects (check-in: [9f1accca4e] user: js, branch: trunk, size: 13101) [annotate] [blame] [check-ins using] [diff]
2017-08-11
21:02
[ce12a725d9] part of check-in [1164147eec] OFTimer: Keep the original interval on overrun (check-in: [1164147eec] user: js, branch: trunk, size: 10822) [annotate] [blame] [check-ins using] [diff]
2017-05-21
21:28
[31ff560703] part of check-in [6b77a5dd8b] Prefix private methods with of_ instead of OF_

This matches Apple's style. (check-in: [6b77a5dd8b] user: js, branch: trunk, size: 10534) [annotate] [blame] [check-ins using] [diff]

2017-05-13
22:38
[38ec5c3401] part of check-in [504e13cf00] Reduce retain + autorelease (check-in: [504e13cf00] user: js, branch: trunk, size: 10511) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[abb68d10aa] 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: 10532) [annotate] [blame] [check-ins using] [diff]

2017-04-02
00:43
[14c8339812] part of check-in [13967106a5] OFTimer: Add "repeating" property (check-in: [13967106a5] user: js, branch: trunk, size: 10524) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[ddaebc5a1d] 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: 10504) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[e4f0270e54] part of check-in [cec0f072f8] Update copyright

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

00:41
[45416b9d3e] part of check-in [2a27cf3000] Update copyright

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

2015-11-29
11:43
[a47bada402] part of check-in [48980f2297] Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). (check-in: [48980f2297] user: js, branch: trunk, size: 10494) [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
[7f6b2774f2] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 10533) [annotate] [blame] [check-ins using] [diff]
2014-07-23
23:23
[775d16e831] part of check-in [7fa1dc3f95] OFTimer: Reschedule before executing the callback

This makes sure that a repeating timer which e.g. needs half a second to
execute, but has an interval of 1 second, is indeed called every second
and not every 1.5 seconds. (check-in: [7fa1dc3f95] user: js, branch: trunk, size: 10527) [annotate] [blame] [check-ins using] [diff]

2014-06-21
21:43
[3ae679cd77] part of check-in [13ee56edf3] Move all macros from OFObject.h to macros.h

This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (check-in: [13ee56edf3] user: js, branch: trunk, size: 10245) [annotate] [blame] [check-ins using] [diff]

2014-01-16
23:09
[530e886394] 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: 10289) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[c568ad4130] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 10025) [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:12
[18c068dfe1] part of check-in [35dafd5c57] Add OF_INVALID_INIT_METHOD. (check-in: [35dafd5c57] user: js, branch: trunk, size: 10019) [annotate] [blame] [check-ins using] [diff]
2013-08-15
19:00
[cab4d43241] part of check-in [1d7a1cbca0] Move private methods into private headers. (check-in: [1d7a1cbca0] user: js, branch: trunk, size: 10107) [annotate] [blame] [check-ins using] [diff]
2013-08-13
10:39
[39f8a0b5fa] part of check-in [73ae6fa60f] Add a few more instancetypes. (check-in: [73ae6fa60f] user: js, branch: trunk, size: 10049) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[2cd75597b2] 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: 10035) [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
[a9cca4ec95] 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: 10087) [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
[f650b3c206] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 10075) [annotate] [blame] [check-ins using] [diff]
2013-02-05
22:24
[937b3c80f0] part of check-in [737a82e1a4] Move abort() to make old GCCs happy. (check-in: [737a82e1a4] user: js, branch: trunk, size: 10100) [annotate] [blame] [check-ins using] [diff]
2013-01-12
20:53
[0fd41ebc3f] part of check-in [b8ce2359f3] Clean up the feature #ifdef mess. (check-in: [b8ce2359f3] user: js, branch: trunk, size: 10100) [annotate] [blame] [check-ins using] [diff]
20:21
[1f8783cad4] part of check-in [85b8efadbc] Fix --disable-threads. (check-in: [85b8efadbc] user: js, branch: trunk, size: 10070) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[301033f339] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 9917) [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
[7245211e76] part of check-in [917ce5754c] Add -[doesNotRecognizeSelector:]. (check-in: [917ce5754c] user: js, branch: trunk, size: 9911) [annotate] [blame] [check-ins using] [diff]
2012-12-20
14:20
[0447782afb] part of check-in [a86271a67a] OFTimer: Release target in -[invalidate]. (check-in: [a86271a67a] user: js, branch: trunk, size: 9942) [annotate] [blame] [check-ins using] [diff]
13:57
[8cac3a9eb9] part of check-in [4572170728] OFTimer: Make rescheduling possible. (check-in: [4572170728] user: js, branch: trunk, size: 9902) [annotate] [blame] [check-ins using] [diff]
2012-10-26
11:04
[ccda29e08b] 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: 9397) [annotate] [blame] [check-ins using] [diff]

2012-10-09
15:07
[614e54faf3] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 9394) [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:20
[2c4f439273] part of check-in [7261ba5bd1] More property cleanup. (check-in: [7261ba5bd1] user: js, branch: trunk, size: 9163) [annotate] [blame] [check-ins using] [diff]
00:01
[acc1d91474] part of check-in [bbc8bb5ad1] OFTimer: Fix -[waitUntilDone]. (check-in: [bbc8bb5ad1] user: js, branch: trunk, size: 9178) [annotate] [blame] [check-ins using] [diff]
2012-09-20
00:07
[f36d27a475] part of check-in [55f78b1067] Remove a comparison that's always true. (check-in: [55f78b1067] user: js, branch: trunk, size: 9066) [annotate] [blame] [check-ins using] [diff]
2012-09-17
10:11
[ae314df2e8] part of check-in [1550e4988b] OFTimer: Fix -[initWith...block:]. (check-in: [1550e4988b] user: js, branch: trunk, size: 9084) [annotate] [blame] [check-ins using] [diff]
06:59
[64d40f42ce] part of check-in [6673513f33] Only schedule valid timers for repeating. (check-in: [6673513f33] user: js, branch: trunk, size: 9025) [annotate] [blame] [check-ins using] [diff]
06:58
[adae929703] part of check-in [be7d619b6e] Pass the timer as argument in timer blocks. (check-in: [be7d619b6e] user: js, branch: trunk, size: 9014) [annotate] [blame] [check-ins using] [diff]
2012-09-16
22:29
[71481b674a] part of check-in [c96dbe88c6] Add -[OFTimer waitUntilDone]. (check-in: [c96dbe88c6] user: js, branch: trunk, size: 9010) [annotate] [blame] [check-ins using] [diff]
21:59
[925c86fe94] part of check-in [8658d1a22a] Make it possible to invalidate OFTimers. (check-in: [8658d1a22a] user: js, branch: trunk, size: 8601) [annotate] [blame] [check-ins using] [diff]
15:27
[83b4c66f44] part of check-in [c137da5e5b] Prefix all private methods with OF_. (check-in: [c137da5e5b] user: js, branch: trunk, size: 8440) [annotate] [blame] [check-ins using] [diff]
2012-09-12
08:03
[abdbbbded3] part of check-in [dde45db1ef] OFTimer: Add support for invoking blocks. (check-in: [dde45db1ef] user: js, branch: trunk, size: 8439) [annotate] [blame] [check-ins using] [diff]
2012-09-11
16:48
Added: [70767b5be1] part of check-in [a4494ec477] Add OFTimer and OFRunLoop. (check-in: [a4494ec477] user: js, branch: trunk, size: 6902) [annotate] [blame] [check-ins using]