Commit graph

54 commits

Author SHA1 Message Date
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
1170009b4f Carry source spans for error messages 2021-11-29 11:14:48 +00:00
1d80ab681e Add eval representation of DateSpec 2021-11-26 14:55:44 +00:00
e827556c84 Add eval representation of FormulaSpec 2021-11-25 02:42:27 +01:00
21739c7314 Implement basic structure for task evaluation 2021-11-25 01:24:16 +01:00
0bb01369b8 Implement basic structure for note evaluation 2021-11-24 02:05:31 +01:00
8034ec19cd Support undated entries in EntryMap 2021-11-24 01:24:14 +01:00