ObjFW  History of src/OFTimer.m of 22b11fa7e84ff8c5

History of file src/OFTimer.m at check-in 22b11fa7e84ff8c5

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

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

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

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

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

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

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

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

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

2017-05-13
22:38
Reduce retain + autorelease file: [38ec5c3401] check-in: [504e13cf00] user: js, branch: trunk, size: 10511 [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
Small code style change

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

2017-04-02
00:43
OFTimer: Add "repeating" property file: [14c8339812] check-in: [13967106a5] user: js, branch: trunk, size: 10524 [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
Update copyright

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

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-29
11:43
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). file: [a47bada402] check-in: [48980f2297] user: js, branch: trunk, size: 10494 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [7f6b2774f2] check-in: [cfd374b906] user: js, branch: trunk, size: 10533 [annotate] [blame] [check-ins using] [diff]
2014-07-23
23:23
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. file: [775d16e831] check-in: [7fa1dc3f95] user: js, branch: trunk, size: 10527 [annotate] [blame] [check-ins using] [diff]

2014-06-21
21:43
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. file: [3ae679cd77] check-in: [13ee56edf3] user: js, branch: trunk, size: 10245 [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: [530e886394] check-in: [dc31ce3d34] user: js, branch: trunk, size: 10289 [annotate] [blame] [check-ins using] [diff]

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

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

It was time to finally have one file per class. file: [ccda29e08b] check-in: [0a55edad35] user: js, branch: trunk, size: 9397 [annotate] [blame] [check-ins using] [diff]

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