Commit graph

217 commits

Author SHA1 Message Date
8ae691bc3c Adapt eval code to changes
These changes include the new file representation and Files API as well
as the codespan error reporting.
2022-01-02 15:06:40 +01:00
810ec67cf7 Reenable basic cli interaction 2022-01-02 15:06:40 +01:00
ef287b9fd0 Format some errors with codespan-reporting 2022-01-02 15:06:40 +01:00
d9c1dc78e4 Integrate codespan-reporting 2022-01-02 11:47:22 +01:00
d8617ede24 Adapt Files to new file representation 2022-01-02 00:43:06 +01:00
d27812b836 Represent commands in file uniformly 2022-01-02 00:42:06 +01:00
004aa87153 Disable modules in preparation for refactoring
This way, compile errors from modules further up the dependency chain
don't obscure the important errors
2022-01-02 00:36:53 +01:00
017098da34 Parse and format logs 2022-01-01 14:43:23 +01:00
0e4ef7fef3 Allow tasks to be canceled 2021-12-31 23:57:40 +01:00
e0cb1c8f23 Don't write unchanged files 2021-12-31 02:42:31 +01:00
e01de41925 Make current day stand out more 2021-12-30 02:30:13 +01:00
8af268bd68 Switch to patched tzdir
This fixes today not respecting the TZDIR environment variable, which is
necessary since NixOS uses a nonstandard time zone data location.
2021-12-29 00:53:37 +01:00
f9dbc0db01 Format Cargo.toml 2021-12-23 17:02:41 +00:00
2b88008ba3 Align "now" time with other times 2021-12-22 17:02:51 +00:00
7a67d01e1f Fix reminders not making entries relevant 2021-12-22 16:39:13 +00:00
e2624fe64f Fix "now" not being right-aligned 2021-12-22 16:11:34 +00:00
2078c5e883 Color output 2021-12-22 15:58:10 +00:00
12c86e0d28 Fix formatting of ReminderWhile 2021-12-21 19:56:31 +01:00
07ce85982c Fix when and how reminders are calculated and displayed 2021-12-21 19:53:59 +01: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
05a4582f13 Display reminders correctly 2021-12-21 00:14:44 +01:00
66da16f4e3 Evaluate REMINDs 2021-12-21 00:14:44 +01:00
fe22c66c5c Parse REMINDs 2021-12-21 00:14:41 +01:00
03e98bbe72 Add changelog 2021-12-20 20:13:41 +01:00
c48462bc6e Switch to rust 2021 edition 2021-12-20 20:13:41 +01:00
2c5146091d Update dependencies 2021-12-19 15:38:57 +01:00
3d9c4102b6 Update README, todos and example 2021-12-19 15:36:13 +01:00
14525088f9 Forbid BDATEs in TASKs 2021-12-19 15:24:12 +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
45a1b403e0 Fix range grammar not being anchored 2021-12-19 00:57:19 +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
279bf4a4d1 Parse range for --range 2021-12-18 22:21:17 +01:00
d67bf0aeea Improve error handling 2021-12-18 18:56:18 +01:00
96f7aa77dc Restructure CLI 2021-12-16 03:00:26 +01:00
ab63261dfd Support marking multiple tasks as done
Not yet exposed via the CLI though
2021-12-16 00:47:59 +01:00
c07d27aa13 Overhaul file erorr handling 2021-12-15 19:17:06 +00:00
261c304268 Add todo 2021-12-15 19:17:06 +00:00
5869e50bf5 Fix some clippy warnings 2021-12-15 00:12:31 +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
2e7ab3c4a1 Fix brackets of entries that end before the range starts 2021-12-14 22:48:22 +01:00
b476a95afb Implement done command 2021-12-14 22:37:27 +01:00