26479ac58d
Improve format of show command
2022-01-09 16:04:34 +01:00
b430f1594f
Add spans to all commands
2022-01-09 15:12:15 +01:00
e0b6c839e2
Fix doc comment
2022-01-08 04:15:22 +01:00
1721f8c456
Ignore clippy warning
2022-01-08 04:12:14 +01:00
efc97800b2
Remove empty logs
2022-01-08 04:11:55 +01:00
26c9c1faf1
Add one-letter command aliases
2022-01-08 01:02:13 +01:00
ff642cc8c8
Specify --date via CliDate
2022-01-08 01:01:49 +01:00
0484eda859
Add 'log' cli command
2022-01-08 00:49:17 +01:00
3e2fa54213
Show logs in addition to entries
2022-01-07 22:34:00 +01:00
badc0d7a9f
Print parse errors with codespan-reporting
2022-01-07 21:58:45 +01:00
2f6911eeca
Refactor CLI argument parsing
2022-01-07 20:04:31 +01:00
4a46e70a73
Print markers for logs and entry descriptions
2022-01-06 19:15:56 +01:00
b3d81a8d0a
Fix more warnings
2022-01-06 18:34:09 +01:00
80666c2cf5
Use same path for saving files as for loading
2022-01-06 18:22:26 +01:00
a4a6726091
Fix a few warnings
2022-01-06 18:22:18 +01:00
3f5e06b113
Adapt cli code to changes
2022-01-06 18:04:34 +01:00
5e47dddd4c
Make error formatting more generic
...
Now, some errors are generic over the FileId type, meaning I can now
pretty-print command line argument errors as well as normal errors with
the same machinery. This is accomplished via the Eprint trait, whose
generics are a tad complex but probably still fine.
2022-01-05 02:59:03 +01:00
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