Commit graph

78 commits

Author SHA1 Message Date
Adam Porter
ab3d1178b9 Add: Call some ts-type predicates with a number/auto 2019-08-19 03:30:37 -05:00
Adam Porter
26a8c3d5dc Tests: Add convenient comment 2019-08-18 20:27:11 -05:00
Adam Porter
6b9b985c1e Change: Use ts for all timestamp-related selectors
This is much simpler, and it seems quite fast with the preambles.
2019-08-13 17:06:39 -05:00
Adam Porter
76debff1c5 Add: Selectors (children) and (descendants) 2019-08-13 14:20:21 -05:00
Adam Porter
515b4960c4 Change: (todo) Don't match done tasks 2019-08-13 14:02:12 -05:00
Adam Porter
4954789ca5 Add/Change: Use ts.el, add ts-a and ts-i
Improves performance, reduces code, and more test cases added.
2019-08-11 16:39:36 -05:00
Adam Porter
913292787b Tests: Query functions/macros
Test a few basic forms of these to ensure, e.g. that arguments don't
get broken.
2019-08-11 11:36:37 -05:00
Adam Porter
1c5bf06804 Tests: Add (habit) 2019-08-09 17:18:56 -05:00
Adam Porter
e7eb3b2031 Add: (property) Preambles 2019-08-09 16:47:56 -05:00
Adam Porter
b12d498cec Tests: Update helper functions 2019-08-09 16:47:01 -05:00
Adam Porter
cc92fccb7f Test: Simplify with org-ql-expect macro 2019-08-08 17:07:25 -05:00
Adam Porter
c4531b25a4 Fix: Compound queries with preamble
Bug was introduced in b5ccc32.
2019-08-08 08:29:26 -05:00
Adam Porter
4db4e411a0 Tests: Fix function definer
Works correctly interactively now.
2019-08-08 08:28:40 -05:00
Adam Porter
7e5cb33031 Tests: Require buttercup
Makes it easier to run interactively by eval'ing the buffer.
2019-08-08 08:28:10 -05:00
Adam Porter
51af2a16a7 Tests: Turn on truncate-lines and add to comment 2019-07-26 16:39:29 -05:00
Adam Porter
8a8b74f141 Add: (tags) Preamble and tests
Only enabled when org-use-tag-inheritance is enabled.
2019-07-26 16:39:29 -05:00
Adam Porter
81ef7adbca Tests: Change description 2019-07-26 16:39:29 -05:00
Adam Porter
290e25509b Tests: Use org-ql-it in more tests 2019-07-26 16:39:29 -05:00
Adam Porter
70176d9c5f Add: Convert bare strings to (regexp) predicates 2019-07-26 16:38:54 -05:00
Adam Porter
bdf473356d Change: Improve level predicate
Now accepts e.g. (level 2 4) to match headings from levels 2-4,
inclusive.

Also add tests for (level) preamble conversion.
2019-07-23 23:55:49 -05:00
Adam Porter
99b38d131e Tests: Add org-ql-it macro
Tests with and without preamble, ensuring they give the same results.
Very important.  And macros make this so easy to do.
2019-07-23 19:03:33 -05:00
Adam Porter
dbb94ff3b8 Tests: Use xr to help format test results 2019-07-23 19:01:16 -05:00
Adam Porter
014e0f1388 Tests: Add (todo) tests 2019-07-16 12:38:58 -05:00
Adam Porter
25ce89ca2c Tests: Add/change convenience commands 2019-07-16 12:38:58 -05:00
Adam Porter
7dcdc21ea1 Change: (regexp) Accept multiple regexps 2019-07-16 12:38:58 -05:00
Adam Porter
28fce8b871 Tests: Add (done) 2019-06-20 13:32:26 -05:00
Adam Porter
943bb6d6c0 Add: (ts) predicates, improved tests 2019-06-09 03:13:42 -05:00
Adam Porter
3d4ad1ab36 Add: Tests, Makefile, Cask 2019-06-08 23:52:03 -05:00