Commit graph

106 commits

Author SHA1 Message Date
Adam Porter
d7ada532c7 Add: Alias "c" to (category) 2022-08-19 03:38:43 -05:00
Adam Porter
7f4faff27b Add: (org-ql-refile) 2022-08-19 03:26:15 -05:00
Adam Porter
5f058b9eee Add: (org-ql-find-in-agenda, org-ql-find-in-org-directory) 2022-06-25 10:58:17 -05:00
Adam Porter
e22890ad04 Docs: Update changelog 2022-06-13 19:07:44 -05:00
Adam Porter
4f29bcfd67 Add: (rifle/smart) Predicate 2022-06-11 08:15:24 -05:00
Adam Porter
968a249ae3 Add: Query coalescing for AND clauses
A later commit will update and add tests.
2022-06-11 08:15:24 -05:00
Adam Porter
0057972069 Add: (org-ql-default-predicate) 2022-06-10 01:32:48 -05:00
Adam Porter
67506a56f8 Change: (org-ql--byte-compile-warning) More useful error message
e.g. if a predicate only accepts one argument, but the query gives
two, now the error will say, "PREDICATE called with 2 arguments, but
accepts only 1" (so maybe the predicate definition just needs
"&rest").
2022-05-31 12:01:42 -05:00
Adam Porter
d0acc8cbba Add: (org-ql-find) 2022-05-30 11:27:12 -05:00
Adam Porter
46f523d94a Meta: 0.7-pre 2022-03-18 10:34:54 -05:00
Adam Porter
f666fe150f Release: 0.6.1 2022-03-18 10:29:50 -05:00
Adam Porter
4f11878b7d Update: Transient macro names
Closes #269.  See https://github.com/magit/transient/issues/192.
Thanks to Jonas Bernoulli (@tarsius).
2022-03-18 10:29:07 -05:00
Adam Porter
1e7700e64e Fix: Links to headings with stats cookies in dynamic blocks
Fixes #248.  Closes #249.

Thanks to Maikol Solis (@maikol-solis) for reporting, and to him and
Ihor Radchenko (@yantar92) for helping plan the fix.
2022-03-18 10:28:17 -05:00
Adam Porter
49b973ab11 Meta: 0.6.1-pre 2022-03-18 10:06:58 -05:00
Adam Porter
31aeb0a250 Release: 0.6 2021-09-22 01:15:26 -05:00
Adam Porter
140aa891f4 Remove: Obsolete macro org-ql 2021-09-22 01:08:54 -05:00
Adam Porter
c006bc3804 Docs: Update changelog 2021-09-22 01:00:22 -05:00
Adam Porter
1c9b99ace9 Docs: Update changelog 2021-09-22 00:56:45 -05:00
Adam Porter
94f9e6f303 Add/Change: reverse sorter, and reverse sorting order
This is a breaking change of sorts in that searches using multiple
sorting methods will have to have the order of the sorters reversed to
get the same result.  Unfortunate, but I think it's worth it in the
end, and this is pre-1.0, anyway.

Fixes #143.
2021-07-12 21:33:24 -05:00
Adam Porter
482a5c939b Fix: Cache invalidation of relative-date ts-related predicates
Fixes #223.  Thanks to Ihor Radchenko (@yantar92) for reporting.
2021-06-21 06:18:03 -05:00
Adam Porter
87b3d0bd97 Add: :with-time argument for timestamp predicates
Squashed commit of the following:

commit 5d43309c55
Author: Adam Porter <adam@alphapapa.net>
Date:   Sat Jun 19 02:24:08 2021 -0500

    WIP: Allow "with-time=" in string queries

commit 9e683e17c1
Author: Adam Porter <adam@alphapapa.net>
Date:   Sat Jun 19 02:09:42 2021 -0500

    WIP: Update docstrings, comments, and readme

commit 8e93f4cbb3
Author: Adam Porter <adam@alphapapa.net>
Date:   Sat Jun 19 00:18:21 2021 -0500

    WIP: Tidy

commit 26c58c6c77
Author: Adam Porter <adam@alphapapa.net>
Date:   Fri Jun 18 23:55:42 2021 -0500

    WIP

commit a24b41d7e5
Author: Adam Porter <adam@alphapapa.net>
Date:   Fri Jun 18 22:27:43 2021 -0500

    WIP

commit 71857f9b43
Author: Adam Porter <adam@alphapapa.net>
Date:   Fri Jun 18 00:05:53 2021 -0500

    WIP: (ts :with-time) and supporting changes

commit 745e53b313
Author: Adam Porter <adam@alphapapa.net>
Date:   Thu Jun 17 22:54:51 2021 -0500

    Add: New timestamp regexps

commit f87be23954
Author: Adam Porter <adam@alphapapa.net>
Date:   Thu Jun 17 20:03:02 2021 -0500

    WIP

commit e893e65207
Author: Adam Porter <adam@alphapapa.net>
Date:   Sat Dec 19 03:54:11 2020 -0600

    WIP: Add with-time arg to timestamp predicates
2021-06-19 03:28:14 -05:00
Adam Porter
84e48d9d2f Docs: Mention non-sexp syntax as applies to (effort) and (level) 2021-06-16 21:05:40 -05:00
Adam Porter
d8bfa2317a Add: (effort) predicate
Closes #80.
2021-06-16 20:44:00 -05:00
Adam Porter
831a21b63e Merge: 0.5.2
NOTE: Due to changes between 0.5 and 0.6, the fixes don't merge
cleanly, so they will be applied in subsequent commits.  See #220.
2021-06-16 17:54:33 -05:00
Adam Porter
eead60be8c Docs: Update changelog 2021-06-16 17:42:40 -05:00
Adam Porter
5bba08403d Meta: 0.5.2-pre 2021-06-16 17:26:44 -05:00
Adam Porter
3c7a93d71f Merge: 0.5.1 2021-06-08 11:17:29 -05:00
Adam Porter
3a04b10738 Release: 0.5.1 2021-06-08 11:12:44 -05:00
Adam Porter
628fce8f13 Docs: Update changelog 2021-06-08 11:06:54 -05:00
Adam Porter
7b701cc379 Docs: Update changelog 2021-06-08 10:48:37 -05:00
Adam Porter
5b248f3304 Meta: 0.5.1-pre 2021-06-08 10:39:09 -05:00
Adam Porter
2dfd378d5f Add/Change: (heading-regexp), (heading) predicates
Closes #64.  Closes #68.

Thanks to Feng Shu (@tumashu) for suggestions.
2020-12-09 21:28:55 -06:00
Adam Porter
1389ccb46b Revert: "Change: (olp, olps) Optimize multiple args with heading query"
This reverts commit 2d07cb0822.

See issue #160.  Thanks to @yantar92 for reporting.
2020-12-03 22:14:31 -06:00
Adam Porter
2d07cb0822 Change: (olp, olps) Optimize multiple args with heading query 2020-12-03 12:27:32 -06:00
Adam Porter
014d49f416 Change/Fix: Require peg 1.0, fix variable binding depth errors
Had to (and needed to, anyway) use peg-1.0.  And while this does less
macro magic, and less magic with cl-eval-when, I couldn't get around
using eval.  I wish peg had a function that takes a list of rules and
returns a predicate that matches a string or at point.  (I tried to
work around the lack of that by using parts of peg macros, but it's
very complicated, and everything I tried had one problem or another.)
2020-11-24 11:20:59 -06:00
Adam Porter
d4ea5df160 Docs: Update readme 2020-11-23 05:08:29 -06:00
Adam Porter
c3e23c3072 Docs: Mention deprecated macro 2020-11-23 04:52:01 -06:00
Adam Porter
37c6f23297 Docs: (Caching) Fix and clarify 2020-11-23 04:49:30 -06:00
Adam Porter
57b3eeba49 Merge: org-ql-defpred
Squashed commit of the following:

commit a0ace307b0de3f5e811f042fd9f0b821a0bbc95c
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 01:11:07 2020 -0600

    Docs: Fix TOC

commit bef9f3c9b5b762070445c76ac3c833e51dd893ba
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 01:09:33 2020 -0600

    Docs: (README.org) Add org-ql-defpred

commit ff0257696fe87764e3289e12ddc336377a9a5d01
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 00:52:06 2020 -0600

    Docs: Improve defpred.org

    Thanks to piyo in #emacsconf@freenode.

commit 18d6d73a99c336cd637c99309ee5d150106b73b7
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 00:35:24 2020 -0600

    Docs: Improve custom predicate tutorial

    Closes #155.  Thanks to Merlin Göttlinger (@mgttlinger) for suggesting
    improvements.

commit b8cbe36fb3
Author: Adam Porter <adam@alphapapa.net>
Date:   Mon Nov 23 00:05:52 2020 -0600

    Docs: Add custom predicate tutorial

commit b1008d0c52
Author: Adam Porter <adam@alphapapa.net>
Date:   Sun Nov 22 19:34:16 2020 -0600

    Docs: Update readme

commit 73d4f95cd4
Merge: 9a2719f 148a193
Author: Adam Porter <adam@alphapapa.net>
Date:   Sun Nov 22 19:29:15 2020 -0600

    Merge branch 'wip/0.6-pre' into wip/define-predicate

...
2020-11-23 01:13:03 -06:00
Adam Porter
148a193ca0 Meta: 0.6-pre 2020-11-22 19:06:16 -06:00
Adam Porter
3924b023e0 Release: 0.5 2020-11-22 18:19:02 -06:00
Adam Porter
90f712aba9 Change: (org-ql) Declare macro obsolete 2020-11-22 18:15:39 -06:00
Adam Porter
6bb2db9392 Docs: Improve query explanation
See #92.
2020-11-20 08:22:41 -06:00
Adam Porter
e4fb1cce2e Docs: Explain how caching works
Fixes #132.  Thanks to Mikhail Skorzhinskii (@mskorzhinskiy) for
suggesting.
2020-11-20 08:13:15 -06:00
Adam Porter
f8a531f2be Merge: 0.4.9 2020-11-20 08:01:24 -06:00
Adam Porter
038c5ae3bf Update changelog, version headers
Released as 0.4.9.
2020-11-20 07:54:44 -06:00
Adam Porter
dbf5dd3b0b Merge: 0.4.8 2020-11-18 04:14:01 -06:00
Adam Porter
7b1919c2d5 Merge: 0.4.7 2020-11-16 02:29:13 -06:00
Adam Porter
0d12cdb3f5 Fix: (org-ql-search-directories-files) Error unless org-directory
Fixes #139.  Thanks to Matt Huszagh (@matthuszagh) for reporting.

Released as 0.4.7.
2020-11-16 02:25:45 -06:00
Adam Porter
cd95d10f05 Add: Dynamic block (property) column 2020-11-12 05:01:20 -06:00