Commit Graph

312 Commits

Author SHA1 Message Date
contrapunctus
a909f323bd Fix insertion in debug buffer 2022-01-13 17:08:57 +05:30
contrapunctus
e3590575d0 Check if file-watch is actually non-nil
A preemptive check against possible error situations
2022-01-13 01:40:44 +05:30
contrapunctus
4ef9890f67 Add type checks to replace-last and task-records-for-date 2022-01-12 14:56:42 +05:30
contrapunctus
52a2aeae14 Extend plist type; add :before method for type-checking 2022-01-12 14:18:27 +05:30
contrapunctus
23d8831916 Merge branch 'dev' into backend-tests 2022-01-12 11:09:35 +05:30
contrapunctus
78b7a760a0 Add debug message to insert method 2022-01-12 11:06:11 +05:30
contrapunctus
4d1d0c53a9 Fix active record getting inserted in both old and new groups 2022-01-12 03:26:33 +05:30
contrapunctus
8e94af2f32 Add a basic verify method for plist-group backends 2022-01-11 05:04:54 +05:30
contrapunctus
3aca6b2e70 Write own debug logging code to replace display-warning
The constant popping up of the warning buffer window was annoying
2022-01-11 00:42:49 +05:30
contrapunctus
b05a1e5f13 Fix incorrect file change type logic and -let pattern
new-last-hash is supposed to be between rest-end and file-length,
rather than new-file-length
2022-01-10 22:09:43 +05:30
contrapunctus
bb5f2a9e41 Return non-nil on successful plist-backend insert method 2022-01-10 15:36:12 +05:30
contrapunctus
59c23aef13 Make backend test cleanup code generic; tweak class hierarchy 2022-01-10 14:47:28 +05:30
contrapunctus
94f538a6b0 Raise error if remove-last has nothing to remove 2022-01-10 14:45:58 +05:30
contrapunctus
79ca0242de Change create-file to return the file name on success 2022-01-10 10:53:32 +05:30
contrapunctus
52eefcd86f Prevent args out of bound errors 2022-01-09 18:32:19 +05:30
contrapunctus
6e00907e28 Change debug from a macro to a function 2022-01-09 18:31:44 +05:30
contrapunctus
cadb28f030 Add menu entry for migrate command 2022-01-09 17:35:36 +05:30
contrapunctus
aa40bbe291 Add debug messages for commands 2022-01-09 17:34:40 +05:30
contrapunctus
57ba75f376 Add debug logging and messages 2022-01-09 16:01:06 +05:30
contrapunctus
43b924ca03 Fix error stemming from incorrect pattern 2022-01-09 11:03:15 +05:30
contrapunctus
1525df5fc2 Fix insertion of day-spanning plists
Prevent insertion of undesired newlines
2022-01-09 03:35:16 +05:30
contrapunctus
0c4e3ef47c Rewrite file-change-type, update on-change 2022-01-08 23:26:03 +05:30
contrapunctus
41728d511c Convert file-state into discrete slots and update most references 2022-01-08 21:33:09 +05:30
contrapunctus
5b272da659 Make timer monomorphic, create backend-modified-p 2022-01-08 14:27:45 +05:30
contrapunctus
ccc759d737 Fix error when buffer being edited 2022-01-08 13:43:06 +05:30
contrapunctus
ea336afe09 Do not generate task list if it exists 2022-01-07 16:16:28 +05:30
contrapunctus
e8137651d0 Update file-change-type tests 2022-01-06 12:00:31 +05:30
contrapunctus
0d00ac6fe2 Fix buffer not displayed on first start 2022-01-05 23:31:35 +05:30
contrapunctus
74cc00b1e5 Address byte compiler warnings 2022-01-05 15:20:26 +05:30
contrapunctus
8b0e3def68 Edit docstring, comment out debugging message 2022-01-05 14:32:46 +05:30
contrapunctus
eaf09dea10 Add docstrings 2022-01-05 14:26:35 +05:30
contrapunctus
d07f99ff3a Change protocol signatures; implement plist-group methods 2022-01-05 13:55:19 +05:30
contrapunctus
d5ce69ff92 Update plist backend docstrings and parameters 2022-01-05 13:21:31 +05:30
contrapunctus
2cefb73052 Add details to docstrings, remove fs-event parameter from GF 2022-01-05 13:13:04 +05:30
contrapunctus
4298af549d Refresh buffer after backend reset 2022-01-05 11:50:47 +05:30
contrapunctus
18f8c77025 Move task-list procedures 2022-01-05 11:07:19 +05:30
contrapunctus
e02acdd3cc Refactor on-change, add 3 new generic functions
on-add/on-modify/on-remove are not completely implemented yet
2022-01-05 11:05:08 +05:30
contrapunctus
9a8b359cd9 Update active backend when chronometrist-file is changed
Users' custom chronometrist-file value was being ignored unless it was
set before the package was loaded.
2022-01-04 01:30:23 +05:30
contrapunctus
b42a651d21 Address errors 2022-01-04 01:29:26 +05:30
contrapunctus
eaa1692d3a Use backend-empty-p instead of file-empty-p 2022-01-04 00:56:56 +05:30
contrapunctus
36336367ef Use cl- for other list accessors 2022-01-04 00:30:47 +05:30
contrapunctus
46e28b022b Replace second with cl-second 2022-01-03 19:08:43 +05:30
contrapunctus
06f2ceb44a Address byte compiler warnings 2022-01-03 19:00:41 +05:30
contrapunctus
4206ffe615 Merge branch 'grouped-plist-format' into dev 2022-01-03 18:45:32 +05:30
contrapunctus
b2cb16ff10 Address byte compiler warnings 2022-01-03 18:45:16 +05:30
contrapunctus
1aab30d399 Reorganize protocol 2022-01-03 18:02:06 +05:30
contrapunctus
0874b9697a Remove update-properties 2022-01-03 17:50:34 +05:30
contrapunctus
2756239e68 Move file-state to class slot 2022-01-03 17:47:15 +05:30
contrapunctus
1bd3c16929 Rename reset-internal -> reset-backend 2022-01-03 14:07:45 +05:30
contrapunctus
df00031285 Remove references to files from protocol 2022-01-03 03:20:24 +05:30