Commit Graph

1398 Commits

Author SHA1 Message Date
contrapunctus 31db47f46f Remove local variables from test file 2021-10-14 10:53:22 +05:30
contrapunctus 6424ef662c Remove docstrings from methods 2021-10-14 09:22:35 +05:30
contrapunctus 052bc23b17 Write backend tests 2021-10-14 09:21:28 +05:30
contrapunctus d6c980043b Implement insert method 2021-10-14 08:08:48 +05:30
contrapunctus 1f85435d56 Change slot name and values 2021-10-13 07:05:45 +05:30
contrapunctus 6bdb38f171 Implement replace-last 2021-10-13 06:59:34 +05:30
contrapunctus 786b6937ad Update task-records for changed loop-records interface 2021-10-13 06:56:45 +05:30
contrapunctus 177eb62d34 Update method for changed loop-records interface 2021-10-12 14:03:08 +05:30
contrapunctus fac18d2e08 optimize: speed up key/value history generation 2021-10-11 07:12:41 +05:30
contrapunctus 49d005be82 fix: remove :end from iterator states 2021-10-11 06:05:20 +05:30
contrapunctus b86825dded Use keywords for iterator-state; wrap cl-loop in save-excursion 2021-10-11 05:38:58 +05:30
contrapunctus 68d6b88bb0 doc: clarify plist time format 2021-10-10 22:02:13 +05:30
contrapunctus b76624c8e7 Convert plist-group-backend iterator to method;
Initialize iterator-state to t, so point is moved to (point-max) on
the first run of the iterator, too.

Our :after method for initialize-instance only applies to file-related
backends, and is thus changed to only dispatch on file-backend-mixin.
2021-10-10 21:58:27 +05:30
contrapunctus 5402130b27 Make iterator a generic function; store iterator-state as slot
Remove file-related details from `loop-records`
2021-10-10 17:52:52 +05:30
contrapunctus 1efc5ec7ac Move file-related slots into file-backend-mixin 2021-09-19 20:09:35 +05:30
contrapunctus a8cad8ccac fix file change detection 2021-09-13 19:34:20 +05:30
contrapunctus b310aa9298 migrate - fix insertion of file mode prop line 2021-09-12 19:19:41 +05:30
contrapunctus de2cabc4a6 update TODO 2021-09-12 17:22:08 +05:30
contrapunctus dfad505901 plist backend - fix test code 2021-09-12 17:22:08 +05:30
contrapunctus 4637f38408 optimize plist-group-read-record; extend backend documentation 2021-09-12 17:22:08 +05:30
contrapunctus 03b71132dc loop-records - fix infinite loop; list-tasks - fix test 2021-09-12 17:22:08 +05:30
contrapunctus e4c33d7097 create backend-generic `cl-loop` interface 2021-09-12 17:22:08 +05:30
contrapunctus 3b9e151bac migrate - prompt to overwrite if output file exists 2021-09-12 17:21:50 +05:30
contrapunctus 793491eb9b Remove list-records from protocol (there's already `to-hash-table`) 2021-09-10 19:41:55 +05:30
contrapunctus 69cda68f20 Convert references to chronometrist-file to chronometrist-backend-file 2021-09-09 21:25:40 +05:30
contrapunctus 7d7e801484 Update file watch setup for multiple backends 2021-09-09 18:30:37 +05:30
contrapunctus 34aeec3bb7 Revert changes to date format
Refactor spark-durations from spark-row-transformer for ease of
testing
2021-09-09 02:14:04 +05:30
contrapunctus 126b5710fb Merge branch 'doc' into grouped-plist-format 2021-09-07 07:29:39 +05:30
contrapunctus 4c7645bf55 TODO - add backend and code cleanup items 2021-09-07 07:29:16 +05:30
contrapunctus c14fea723c (WIP) implement task-records from task-events-in-day
Use ISO date instead of TS struct when dates required
2021-09-07 07:21:05 +05:30
contrapunctus b1192b1fdf Protocol - move list-records; remove task-time
task-time does not need to be polymorphic
2021-09-07 07:20:23 +05:30
contrapunctus 648253172a Implement task-records 2021-09-07 06:24:13 +05:30
contrapunctus 9e34fb8058 correct to-hash method, class definition 2021-09-06 22:31:27 +05:30
contrapunctus e0a6ff13a9 Clarify section name 2021-09-06 19:33:33 +05:30
contrapunctus 7f90191a40 rename loop-file; implement list-tasks and current-task methods 2021-09-06 19:32:21 +05:30
contrapunctus 63df54aa2e chronometrist-migrate - prompt for backends and files 2021-09-06 15:42:02 +05:30
contrapunctus 092f3e8f07 Hard wrap and copy hash table docstring 2021-09-06 01:18:26 +05:30
contrapunctus 8d73749c3f Associate create-file with both plist and plist-group backends
Move definitions common to sexp backends together
2021-09-06 01:18:26 +05:30
contrapunctus d673f00e5a Fix failing tests 2021-09-06 01:12:00 +05:30
contrapunctus 5a0d522e6f Describe plist group backend 2021-09-06 00:46:20 +05:30
contrapunctus dcf219aab4 Correct headings 2021-09-05 20:20:03 +05:30
contrapunctus b8b0967e18 Merge branch 'doc' into grouped-plist-format 2021-09-05 19:35:21 +05:30
contrapunctus a8eb47b184 TODO: note plist-group backend progress 2021-09-05 19:34:22 +05:30
contrapunctus 6893299427 Create methods stubs, create basic to-file method and migrate command 2021-09-05 19:10:37 +05:30
contrapunctus 43deef28af Use backend passed to method rather than active-backend 2021-09-05 17:39:43 +05:30
contrapunctus 3e7c41c9f7 Create on-file-change generic 2021-09-04 20:25:18 +05:30
contrapunctus 083a2f4d8e Adapt sexp-events-populate to to-hash-table 2021-09-04 20:20:59 +05:30
contrapunctus 78048824e5 Add package prefix to accessors 2021-09-04 19:45:20 +05:30
contrapunctus da1f2ed329 Fix more errors 2021-09-04 19:29:24 +05:30
contrapunctus 080e75a4c4 Move plist format description 2021-09-04 18:26:05 +05:30