Commit graph

63 commits

Author SHA1 Message Date
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
Adam Porter
337bfa6695 Add: (tags-regexp, tags*) Predicate 2020-11-12 04:09:57 -06:00
Adam Porter
6ab74454d0 Fix: (org-ql-view--expand-buffers-files) Remove eval support
This prevents arbitrary code execution when opening "org-ql-search:"
links.  (The links feature was just pushed to master in the last day
or so, and no stable release with the feature has been tagged.)  This
fix also means that arbitrary expressions are no longer accepted when
interactively completing the buffers-files argument to
org-ql-search (a worthy trade, I think; users who need to do that can
call the function from Lisp).
2020-11-11 20:51:24 -06:00
Adam Porter
c2c7efed00 Docs: Update readme
Links can search more than just the current document now.
2020-11-11 20:38:05 -06:00
Adam Porter
f8d671a7b8 Docs: Thanks to @tpeacock19 2020-11-11 19:52:46 -06:00
Adam Porter
9bdfcc1d3d Add: (org-dblock-write:org-ql) Custom column headers 2020-11-10 02:28:44 -06:00
Adam Porter
992f3c2675 Add: Link support 2020-11-10 02:02:55 -06:00
Adam Porter
c0ded3ded3 Add: Dynamic block 2020-11-09 23:58:17 -06:00
Adam Porter
359a280d11 Change/Fix: (org-ql-view--format-element) Use org-ql--tags-at
Use org-ql--tags-at instead of org-get-tags/org-get-tags-at.  This
uses our cache, which should improve performance, and it obviates the
function alias for Org versions before 9.3 (which occasionally
misbehaves, e.g. if Org is reloaded).
2020-11-08 18:05:27 -06:00
Adam Porter
f88fb549a3 Docs: Add Tips section 2020-11-05 11:21:06 -06:00
Adam Porter
e5b4cd1065 Add: Bookmark support 2020-11-02 20:18:34 -06:00
Adam Porter
6633dbb276 Release: 0.4.6
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8L0BwACgkQ5+GdyTDsrJsFVQCdGz0i4KXwrnqcQC7Ov5/b+YSH
 lUEAoIJBRRJ462lJbe4nzkOkrB3VMIGF
 =JOpa
 -----END PGP SIGNATURE-----

Merge: 0.4.6
2020-07-12 22:09:03 -05:00
Adam Porter
0080055690 Fix: Copy macro peg-parse-string from peg-tests.el
Unfortunately, the macro was moved from peg.el to peg-tests.el in
later versions of peg, so we copy it for our use here.

Fixes #75.  Thanks to Karl Voit (@novoid) and @karlicoss for
reporting.

Released as 0.4.6.
2020-07-12 22:08:01 -05:00
Adam Porter
c847afe0b5 Merge: 0.4.5 2020-05-01 06:31:45 -05:00
Adam Porter
5a031bf5c1 Fix: (org-ql--select) Bind case-fold-search only around preamble
Fixes #114.  Thanks to @bitclick for reporting.

Released as 0.4.5.
2020-05-01 06:27:30 -05:00
Adam Porter
d55c01d2ae Merge: 0.4.4 2020-03-15 15:04:29 -05:00
Adam Porter
4fef5b089f Fix/Revert: Don't derive a new mode; check a variable in refresh
Using a different major mode in org-ql-view buffers causes some Org Agenda
remote commands to not work, because they test whether the major mode
is org-agenda-mode.  Even though these remote commands are not
guaranteed to work, it was not intended to break them now, so this
restores compatibility with them.

Fixes #102.  Thanks to Alois Janíček (@aloisjanicek) for reporting.

This reverts commit ba7d4a2e82.

Released as 0.4.4.
2020-03-15 15:02:52 -05:00
Adam Porter
5bc4a4a825 Merge: 0.4.3 2020-03-14 14:08:53 -05:00
Adam Porter
ba7d4a2e82 Add/Fix: org-ql-view-mode, and check when refreshing
Use a derived major mode for org-ql-view buffers, and ensure that mode
is active when calling org-ql-view-refresh, to avoid interfering with
buffers in other modes if the user calls the command by accident.

See
<b87156f2bb>.
Thanks to Alois Janíček (@AloisJanicek) for discovering the bug.

Released as 0.4.3.
2020-03-14 14:06:42 -05:00
Adam Porter
3349c1d07a Change: (org-ql-view-map) Also bind "g" to refresh
I keep hitting "g" and nothing seems to happen, because it runs the
org-agenda refresh command, which doesn't do anything in org-ql-view
buffers.  This must be happening to other people too.  So let's fix
that.
2020-03-08 11:05:38 -05:00
Adam Porter
e811ac5680 Docs: Add mascot 2020-03-01 09:41:35 -06:00
Adam Porter
60d1bd1f97 Merge: 0.4.2 2020-02-26 19:15:52 -06:00
Adam Porter
4b1e253ee9 Fix: (org-ql-view--add-todo-face) Always return to-do keyword
Even when org-done-keywords-for-agenda is nil.  I'm not sure when this
was broken, but the logic was wrong in this function, and this is the
intended behavior, so this is a bug fix.

Released as 0.4.2.
2020-02-26 19:11:40 -06:00
Adam Porter
9a56141f6c Add: (link) predicate 2020-02-24 01:47:02 -06:00
Adam Porter
5d720b9fc3 Merge: 0.4.1 2020-02-23 23:27:06 -06:00
Adam Porter
32c68d7f24 Fix: (--pre-process-query) level predicate with args in plain query
Fixes #96.  Thanks to Akira Komamura (@akirak) for reporting.

Released as 0.4.1.
2020-02-23 23:22:11 -06:00
Adam Porter
6e3c0d3c68 Add: Transient view dispatcher 2020-02-10 09:11:59 -06:00
Adam Porter
035c20fc28 Docs: Update comparison 2020-02-04 02:48:29 -06:00
Adam Porter
538373bb48 Release: 0.4 2020-01-22 23:39:25 -06:00
Adam Porter
6e55723e27 Docs: Clarify change notice 2020-01-22 23:38:34 -06:00
Adam Porter
843564ad8c Add: (org-ql-views) Dangling tasks view 2020-01-22 23:34:34 -06:00
Adam Porter
8f2baa10a3 Docs: Fix ToC, info file 2020-01-22 23:34:34 -06:00
Adam Porter
b8a4a53983 Change: (org-ql-views/Stuck projects) Use descendants, not children 2020-01-22 23:24:54 -06:00
Adam Porter
dc26e938fa Fix: (org-ql-block) Autoloads
Fixes #53.  Thanks to reports from Gus Cantieni (@gcantieni), Karl
Voit (@novoid), rieje (@rieje), and Jake | Junxuan (@jakejx).
2020-01-22 18:07:43 -06:00
Adam Porter
b00949d945 Docs: (priority) Update docstring
Fixes #81.  Thanks to Ihor Radchenko (@yantar92).
2020-01-22 17:37:28 -06:00
Adam Porter
79d9bd59cf Docs: Add note about 0.5 changes 2020-01-22 17:23:00 -06:00
Jeff Filipovits
154d3bc949 Fix: (org-ql-select) Sorting with single atom sorter
Closes #90.  Thanks to Jeff Filipovits (@legalnonsense).
2020-01-22 17:15:13 -06:00
Adam Porter
6beada4912 Change: (org-ql-views) Mouseover text, view names 2020-01-22 17:02:44 -06:00
Adam Porter
610b1179c6 Add: (org-ql-view-sidebar-sort-views) 2020-01-22 17:01:03 -06:00
Adam Porter
b7a33170a1 Fix: (org-ql-view--buffer) Set buffer-read-only
Fixes #72.  Thanks to @xeijin.
2020-01-19 00:04:14 -06:00
Adam Porter
b3601cf0ae Add: (org-ql-block) Respect Org Agenda restrictions
Fixes #84.  Thanks to Ihor Radchenko (@yantar92) for reporting.
2020-01-18 23:32:35 -06:00
Adam Porter
0a7e4f349f Add: (org-ql-view-refresh) Message on refresh
Closes #71.  Thanks to @xeijin.

Squashed commit of the following:

commit edac9c6960
Author: Adam Porter <adam@alphapapa.net>
Date:   Sat Jan 18 20:24:28 2020 -0600

    Adjust message, indentation, add changelog entry

commit 6a263e34ff
Author: xeijin <xeijin@users.noreply.github.com>
Date:   Fri Jan 3 19:08:10 2020 +0000

    removing view title

commit fc37e3f146
Author: xeijin <xeijin@users.noreply.github.com>
Date:   Mon Dec 9 22:47:00 2019 +0000

    confirmation message for org-ql-view-refresh

    In keeping with the message displayed by `g` when refreshing an
    org-agenda buffer - if nothing has changed in an `org-ql` buffer
    it can sometimes be difficult to determine if the refresh took
    place at all.
2020-01-18 20:34:13 -06:00
Adam Porter
c4f9a58fd6 Docs: Improve ToCs 2020-01-10 10:36:35 -06:00
Adam Porter
9f5bbeb3f2 Fix: Inherit org-file-tags
Fixes #55.  Closes #57.

Thanks to Mikhail Skorzhinskiy (@mskorzhinskiy).
2020-01-08 10:58:55 -06:00