Commit graph

862 commits

Author SHA1 Message Date
Adam Porter
c006bc3804 Docs: Update changelog 2021-09-22 01:00:22 -05:00
Akira Komamura
da2bab2552 Fix: Abbreviate file paths in created org-ql bookmarks 2021-09-22 00:59:18 -05:00
Adam Porter
9dfa534e60 Merge: branch 'dynamic-block-closed' 2021-09-22 00:57:00 -05:00
Adam Porter
1c9b99ace9 Docs: Update changelog 2021-09-22 00:56:45 -05:00
Jianye Ye
4646d6d307 Add: (closed) column for dynamic block 2021-09-22 00:52:08 -05:00
Jianye Ye
80970856d6 Add: Sort by (closed) for org-ql-select 2021-09-22 00:52:08 -05:00
Adam Porter
8f307a8820 Merge: Fix shadowed pcase pattern
Fixes #214.  Thanks to Cyrille Froehlich (@cfroehli), Ihor
Radchenko (@yantar92), Kai von Fintel (@fintelkai), and @aur3l14no.
2021-09-22 00:37:17 -05:00
Cyrille Froehlich
bbeee64f41 Simplify tags-all/tags-local too + Fix formatting 2021-07-28 08:39:22 +09:00
Cyrille Froehlich
99a2285317 Simplify tags-inherited normalizer 2021-07-28 08:35:13 +09:00
Cyrille Froehlich
363f7623c1 Fix: pcase pattern shadowed 2021-07-28 08:35:13 +09: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
Ihor Radchenko
8342656b2d Fix: (org-ql-regexp-part-ts-repeaters) Habit repeaters with min/max
Closes #226.
2021-06-24 08:14:39 -05:00
Adam Porter
822bb774cd Tests: Use min/max-style habit repeater in a timestamp
See #226.
2021-06-24 08:14:16 -05:00
Adam Porter
e2a1d16cc4 Tests: Normalization of tags-inherited predicate
See #216.
2021-06-23 01:47:05 -05:00
Ihor Radchenko
1198284c7e Fix: (org-ql-regexp-part-ts-repeaters) Repeaters with a "."
Fixes #225.
2021-06-23 01:26:10 -05:00
Adam Porter
32f7e48e12 Tests: Add "." to a timestamp repeater
See #225.
2021-06-23 01:21:59 -05:00
Adam Porter
e03fb24f9b Fix: (outline-path) Normalizer infinite loop
Hopefully there aren't more of these lurking, but with the recent
--normalize-query change, there might be...
2021-06-21 07:55:58 -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
88151b7f00 Fix: (org-ql-view--complete-sort) Add random method
Such a minor omission, not worth a release or changelog entry.
2021-06-17 18:58:48 -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
0dc073ffac Comment: Add TODO 2021-06-16 20:01:24 -05:00
Akira Komamura
bd6487e814 Meta: Add Emacs 27.2 to CI 2021-06-16 19:12:08 -05:00
Adam Porter
55f5708cc0 Tests: Fix link-to-self-buffer-search test
Also, ensure that views that search non-file-backed buffers can’t be
linked to.

This fixes the test failures on Emacs 27.2 and Emacs 28
pre-release.  (I can't explain why this test didn't fail on earlier
versions, but it's not worth figuring out.)
2021-06-16 19:09:20 -05:00
Akira Komamura
1421dda20c Fix: (link) :regexp-p argument 2021-06-16 17:57:43 -05:00
Akira Komamura
410888e449 Fix: (link) :target argument 2021-06-16 17:57:41 -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
d3b0ef2f51 Release: 0.5.2 2021-06-16 17:45:20 -05:00
Adam Porter
eead60be8c Docs: Update changelog 2021-06-16 17:42:40 -05:00
Adam Porter
0cc4c5b549 Fix: (link) :regexp-p argument
See #220.  Thanks to Akira Komamura (@akirak).
2021-06-16 17:42:40 -05:00
Akira Komamura
e05de210c7 Fix: (link) :target argument
See #220.
2021-06-16 17:42:35 -05:00
Adam Porter
c57f0975f6 Tests: Add more LINK tests
Closes https://github.com/alphapapa/org-ql/pull/222.  See also
https://github.com/alphapapa/org-ql/pull/220.

Thanks to Akira Komamura (@akirak).
2021-06-16 17:28:00 -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
832adfee20 Merge: Fix custom sorting functions 2021-06-08 11:09:22 -05:00
Adam Porter
628fce8f13 Docs: Update changelog 2021-06-08 11:06:54 -05:00
savnkk_manjaro
dc32dcdaaa Fix: (org-ql-select) Use -sort instead of sort
Fixes #186.
2021-06-08 11:03:48 -05:00
Adam Porter
7a8e3b2e8e Tidy: Indentation
Due to changes in dash.
2021-06-08 10:56:05 -05:00
Adam Porter
105715309e Merge: Update dash dependencies 2021-06-08 10:49:37 -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
Mark Hudnall
21b3bd2d6a Change: Bump dash.el to fix helm-org-ql
See https://github.com/alphapapa/org-ql/issues/179.  dash.el 2.18.1
fixed an issue with `-flatten-n` that was causing `helm-org-ql`
functions to fail silently.
2021-06-08 10:21:45 -05:00
Basil L. Contovounesios
c9fe19969e Change: Don't depend on deprecated dash-functional
Dash 2.18.0 now subsumes dash-functional.

See https://github.com/magnars/dash.el/blob/master/NEWS.md#from-217-to-218
2021-02-28 15:01:03 -08:00
Adam Porter
208e103ecc Tidy: Function declarations
Using the FILEONLY argument of declare-function doesn't seem to be
enough to silence the check-declare warning, so maybe also using
"ext:" will do it.
2020-12-13 07:58:54 -06:00
Adam Porter
ec2e624dc2 Change: Bind predicates per-query instead of per-buffer 2020-12-12 06:09:49 -06: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
31efd5a26d Comment: Add TODO 2020-12-09 21:18:10 -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