Commit Graph

288 Commits

Author SHA1 Message Date
contrapunctus 9f59f938f4 Fix wrong number of arguments error 2022-01-06 23:11:42 +05:30
contrapunctus 44a97db410 Reduce successive file saves in interactive commands
Each save runs the file-notify callback, which may decrease
responsiveness.
2022-01-06 13:42:07 +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
contrapunctus 5d5b423c59 Implement multi-backend tests
Reorganize plist backend methods
Address some failing tests for plist backend methods
2022-01-03 02:11:49 +05:30
contrapunctus 7ce9f8bf2d Move create-file earlier in the protocol 2021-12-27 14:03:14 +05:30
contrapunctus e031d43f24 Add error-checking and return values 2021-12-27 14:02:53 +05:30
contrapunctus 0fb0c6d0d6 Specify return value in protocol and update behavior 2021-12-26 19:36:44 +05:30
contrapunctus bd4680fc04 Return non-nil if create-file succeeds 2021-12-23 20:33:52 +05:30
contrapunctus a41662236f Replace `cl-assert` with `error`
A failed `cl-assert` does not pass a `should-error` test.
2021-12-18 15:02:06 +05:30
contrapunctus cbcb10fdd4 Rename check-preconditions to run-assertions 2021-12-13 11:51:17 +05:30
contrapunctus a123e59611 Add type checks and assertions for plist group methods 2021-12-13 11:19:05 +05:30
contrapunctus 34ff8f9038 Segregate extended protocol for plist-group backend 2021-12-13 10:21:20 +05:30
contrapunctus 74414c313b Segregate extended protocol, add check-preconditions
Add details to protocol docstrings
2021-12-12 20:01:54 +05:30
contrapunctus 66853efd12 doc: clarify docstring for latest-record 2021-12-06 14:57:37 +05:30
contrapunctus 9d68ac8b53 Merge branch 'dev' into plist-group-handle-split-plists 2021-12-05 22:18:57 +05:30
contrapunctus 975b67af1f fix: order of records returned by plist-group to-list 2021-12-05 22:16:30 +05:30
contrapunctus 2ac54f418a Merge branch 'dev' into plist-group-handle-split-plists 2021-12-04 22:45:12 +05:30
contrapunctus 3fd8efea73 Create generic update-properties 2021-12-04 18:41:17 +05:30
contrapunctus 0e8e9f4373 Fix error messages to match Elisp guidelines 2021-12-04 18:39:46 +05:30
contrapunctus 7ddb9c653b Join line if only deleting a plist 2021-12-04 16:58:45 +05:30
contrapunctus c70a7791b0 code: use local variables for clarification 2021-12-04 15:15:33 +05:30
contrapunctus a947cca7c7 Throw error if remove-last is called on backend with no records 2021-12-04 15:13:40 +05:30
contrapunctus b469defcd4 Throw error if `insert` called with empty plist 2021-12-04 14:25:43 +05:30
contrapunctus 10b592a04b fix: make replace-last handle split plists 2021-12-04 14:19:31 +05:30
contrapunctus a669f2b765 fix: prevent leftover empty plist-groups 2021-12-04 12:58:54 +05:30
contrapunctus 07aaa0e78c fix: make remove-last take split plists into account
last-two-split-p - remove redundant conditions (we are checking for a
situation in which the newer-plist-group cannot, by definition, have
>1 plists), change return value.
2021-12-03 22:12:04 +05:30
contrapunctus 9e8c3659d5 Create last-two-split-p 2021-12-03 01:01:27 +05:30