Commit graph

60 commits

Author SHA1 Message Date
0e4ef7fef3 Allow tasks to be canceled 2021-12-31 23:57:40 +01:00
7a67d01e1f Fix reminders not making entries relevant 2021-12-22 16:39:13 +00:00
73a44a697a Error when moving untimed entry to new time 2021-12-21 19:34:55 +01:00
1ac39c69f2 Move entries to a different time 2021-12-21 19:24:58 +01:00
66da16f4e3 Evaluate REMINDs 2021-12-21 00:14:44 +01:00
27a4d5a78a Test remaining formula variables 2021-12-19 15:18:37 +01:00
af9dd0819d Add isIsoLeapYear variable and fix iyl documentation 2021-12-19 15:17:59 +01:00
35ed5804f3 Test most formula variables 2021-12-19 03:40:28 +01:00
1056bd626c Fix calculation of some formula variables 2021-12-19 03:40:16 +01:00
e9ec2998f0 Implement --range 2021-12-19 00:56:34 +01:00
ff627b98df Prepare eval error handling for cli arg errors 2021-12-18 23:31:27 +01:00
d67bf0aeea Improve error handling 2021-12-18 18:56:18 +01:00
fdec674085 Fix date-less tasks reappearing when marked as done 2021-12-15 00:11:08 +01:00
2694c671c7 Fix start date calculation if task starts at last done 2021-12-15 00:04:16 +01:00
5d78b091c4 Fix range calculation for date formulas 2021-12-14 23:51:00 +01:00
6d0acf8db7 Fix range calculation for done tasks 2021-12-14 23:38:45 +01:00
c69af9bcde Unify Dates logic and expand DoneDate format 2021-12-14 23:32:04 +01:00
b476a95afb Implement done command 2021-12-14 22:37:27 +01:00
8d004ab16c Add todos 2021-12-13 23:44:41 +01:00
38e7d02f61 Fix some clippy warnings 2021-12-13 21:16:21 +00:00
696009d34e Fix simple end dates being ignored 2021-12-13 19:12:37 +00:00
5d191d0edd Remember what files error spans come from 2021-12-12 20:18:58 +00:00
6f1a533b95 Fix out-of-range move commands 2021-12-12 19:09:38 +00:00
6e6a696ca4 Allow out-of-bounds values for Time 2021-12-11 22:39:20 +01:00
44bcd5712d Layout entries 2021-12-11 20:45:55 +01:00
5ee70bd769 Implement proper errors for expression evaluation
... the hard way
2021-12-06 22:19:24 +01:00
efa9b7de03 Sort all entries after evaluation 2021-12-06 14:33:22 +00:00
3e70b2e2c9 Print dates in a nicer format 2021-12-06 13:55:13 +00:00
531a140c45 Fix MOVE statement 2021-12-06 13:54:23 +00:00
cb7c87b8b2 Implement formula evaluation for DATE statement 2021-12-06 12:47:19 +00:00
c391d76690 Limit birthday range with FROM and UNTIL 2021-12-06 11:01:21 +00:00
32e036f337 Write tests for all delta steps 2021-12-06 01:45:00 +01:00
09f687bea0 Implement rest of delta steps 2021-12-05 20:02:24 +01:00
54ffb7a70a Extract primitive types to separate file 2021-12-05 19:21:59 +01:00
d105d959fa Implement some more delta steps 2021-12-05 19:15:08 +01:00
9920b00916 Get rid of some warnings 2021-12-05 18:39:53 +01:00
8d49ac139a Use span in step error message 2021-12-05 18:35:34 +01:00
96be690e9a Clean up some imports 2021-12-05 18:30:09 +01:00
6d090b428f Sort entries for a single command by date 2021-12-05 18:28:59 +01:00
4c83df76d4 Implement DATE statement 2021-12-05 18:27:42 +01:00
85d2c4bf89 Simplify entries and entry dates 2021-12-05 17:06:27 +01:00
63f5c6fba9 Add some TODOs 2021-12-05 16:15:43 +01:00
d7dc8aac77 Evaluate BDATEs again 2021-12-04 23:34:27 +01:00
2112272347 Reorganize spec evaluation 2021-12-04 23:24:21 +01:00
3a219ecac2 Evaluate some simple statements 2021-12-04 22:37:01 +01:00
778576a63c Use simpler date type for entries 2021-12-04 21:52:23 +01:00
de1f4a303f Make eval compile again 2021-12-04 21:42:45 +01:00
d8782fa28a Remove EntryMap 2021-12-04 19:55:47 +01:00
f42027e378 Collect relevant entries based on different modes 2021-12-04 18:44:56 +01:00
b8aeb79323 Evaluate some deltas 2021-12-03 20:17:49 +00:00