Commit graph

36 commits

Author SHA1 Message Date
0b4f614af6 Specify default capture file 2022-01-14 22:07:02 +01:00
d169037b7a Don't store file content string in File 2022-01-09 20:12:06 +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
efc97800b2 Remove empty logs 2022-01-08 04:11:55 +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
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
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
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
e0cb1c8f23 Don't write unchanged files 2021-12-31 02:42:31 +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
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
b476a95afb Implement done command 2021-12-14 22:37:27 +01:00
494f1976c6 Restructure command line args 2021-12-12 22:13:22 +00:00
cdf28edec6 Add --reformat and --reformat-all flags 2021-12-12 20:35:57 +00:00
5d191d0edd Remember what files error spans come from 2021-12-12 20:18:58 +00:00
7bab866eae Keep more error context info 2021-12-12 19:59:20 +00:00
3e70b2e2c9 Print dates in a nicer format 2021-12-06 13:55:13 +00:00
54ffb7a70a Extract primitive types to separate file 2021-12-05 19:21:59 +01:00
817732abf6 Make Source less of a hassle to work with 2021-11-23 23:59:21 +01:00
bac673ea65 Iterate over commands in all files 2021-11-22 15:22:06 +00:00
2c7aa78d08 Format files properly again
I forgot to include the includes and time zone commands
2021-11-22 10:20:41 +00:00
d7df47eba4 Use system tzinfo instead of compiling it into the binary 2021-11-22 00:45:48 +01:00
36aa6abcb9 Implement includes and setting a time zone 2021-11-22 00:15:18 +01:00
b4b8dd53e0 Move stuff to files module 2021-11-21 23:03:12 +01:00
5674bcdc00 Start reorganizing code by creating files module 2021-11-21 22:48:41 +01:00