Commit graph

984 commits

Author SHA1 Message Date
Adam Porter
611198155d Tests: Fix filename tests for CI
As the comment says, in CI the filenames are being abbreviated, which
I can't explain (it has not always been this way).  So we compare them
in abbreviated form.
2024-06-27 08:03:04 -05:00
Adam Porter
a8608f408b Fix/Meta: (makem.sh) Update to v0.7.1
This omits the obsolete Org ELPA repository, which apparently was
causing a very old version of Org to be installed, which appeared to
be causing Buttercup to inexplicably hang (sometimes, on some systems,
in some circumstances...?).

I don't know if this is related to Guix commit
<https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/packages/emacs-xyz.scm?id=3add97c7761e6c58a1d7405f417a49dda5f0a742>,
which disables the tests due to Buttercup hanging, because Guix is not
running the tests through makem.sh.
2024-06-27 07:44:10 -05:00
Adam Porter
bfb0fbeec1 Tests: Declare requirement on xr
This was overlooked because makem.sh gets run with --install-linters,
which installs relint, which depends on xr.
2024-06-27 07:41:16 -05:00
Adam Porter
ccbd5b4594 Meta: (test.yml) Also test on Emacs 29.1-29.4 2024-06-27 07:02:09 -05:00
Adam Porter
d4faa21640 Fix: (data-ts.org) French day-of-week abbreviation
The test data in v0.8.7 was accidentally changed to the English
abbreviation (the perils of working on systems with differing
locales), but the feature works as intended.

See <ffc3477013 (r143566834)>.
2024-06-26 12:01:32 -05:00
Adam Porter
f24d93f038 Merge: v0.8.7 2024-06-26 11:32:45 -05:00
Adam Porter
c2b4404808 Release: v0.8.7 2024-06-26 11:31:17 -05:00
Adam Porter
b362dd68b0 Fix: (org-dblock-write:org-ql) Resolve element properties
Fixes <https://github.com/alphapapa/org-ql/issues/431>.

Reported-by: Jez Cope <https://github.com/jezcope>
2024-06-26 11:30:26 -05:00
Adam Porter
ffc3477013 Fix: (org-ql-regexp-part-ts-date) Allow punctuation in day-of-week
Fixes <https://github.com/alphapapa/org-ql/issues/432>.  Closes
<https://github.com/alphapapa/org-ql/pull/435>.

Reported-by: Florian D. <https://github.com/neurolit>
2024-06-26 11:20:28 -05:00
Adam Porter
914e64746f Fix: (org-ql-search) Interactive narrowing
Fixes #430.  Closes #436.

Reported-by: Akira Komamura <akira.komamura@gmail.com>
2024-06-26 10:41:58 -05:00
Adam Porter
4af08e37f9 Merge: Match timestamps with inner time ranges
Note that this is a form of basic, initial support.  More
comprehensive support will require refactoring of how timestamp values
are handled, which is deferred until a future version.

See <https://github.com/alphapapa/org-ql/pull/237> and
<https://github.com/alphapapa/org-ql/issues/371>.

Reported-by: Ihor Radchenko <yantar92@gmail.com>
2024-06-26 10:29:28 -05:00
Adam Porter
e3b956e54d Docs: Update changelog 2024-06-26 10:25:41 -05:00
Adam Porter
02b4213826 Tests: Timestamps with inner time ranges 2024-06-26 10:20:35 -05:00
Ihor Radchenko
0d9c46247d org-ql-regexp-part-ts-time: Fix for time intervals 2024-06-26 10:01:20 -05:00
Adam Porter
b8284c8f5c Meta: v0.8.7-pre 2024-06-26 09:58:11 -05:00
Adam Porter
5ef4364d0a Tidy: Compiler warnings 2024-06-22 05:00:03 -05:00
Adam Porter
d5269bb5e2 Comment: Add FIXME 2024-06-12 23:45:43 -05:00
Adam Porter
e9d08ca344 Tidy: (org-ql-defpred) Docstring
This does not solve the compilation warning, because that's caused by
the Pcase patterns at the end of the docstring, which the linter
falsely identifies as incorrect.
2024-06-12 23:33:36 -05:00
Adam Porter
f7c3a61e32 Fix: (helm-org-ql [v0.6.2]) Compilation warnings 2024-06-12 22:55:29 -05:00
Adam Porter
0f01f0a9d8 Tidy: Compilation warnings 2024-06-12 22:47:33 -05:00
Adam Porter
c9370982bf Merge: v0.8.6 2024-04-03 15:27:29 -05:00
Adam Porter
1f264bf464 Release: v0.8.6 2024-04-03 15:26:33 -05:00
Adam Porter
8bd73b4b46 Fix: (org-ql-view-bookmark-make-record) buffers-files as symbol 2024-04-03 15:25:58 -05:00
Adam Porter
d3f6dde344 Meta: v0.8.6-pre 2024-04-03 15:25:06 -05:00
Adam Porter
e41fe9018a Docs: Add development section 2024-02-21 20:00:39 -06:00
Adam Porter
f5cda3d127 Merge: v0.8.5 2024-02-21 05:47:17 -06:00
Adam Porter
bfff0b5517 Release: v0.8.5 2024-02-21 05:46:04 -06:00
Adam Porter
c90bae0eab Fix: (ancestors, parent) Normalize sub-queries
I'm not sure why calling the REC labeled function didn't correctly
normalize these sub-queries; it seemed to only normalize for one
round, leaving some queries incorrectly normalized.  But this fixes
it.

Fixes #365.

Reported-by: Gabriele Mongiano <https://github.com/kofm>
2024-02-21 05:45:46 -06:00
Adam Porter
b6efba9aeb Fix: (heading) Don't match strings as regexps
Reported-by: Alex Popescu <https://github.com/al3xandru>
2024-02-21 05:45:36 -06:00
Adam Porter
770e60766a Meta: v0.8.5-pre 2024-02-21 05:45:25 -06:00
Adam Porter
8d3c93b883 Tidy: Compiler warning
I've no explanation for why this isn't caught by makem.sh's linting
compilation and declarations, but somehow it shows up at installation
time.
2024-01-13 00:47:47 -06:00
Adam Porter
9c63a45821 Meta: Update makem.sh 2024-01-13 00:47:35 -06:00
Adam Porter
a305862d7e Merge: v0.8.4 2024-01-13 00:04:27 -06:00
Adam Porter
9606aaf812 Release: v0.8.4 2024-01-13 00:03:28 -06:00
Adam Porter
34f8b75b35 Fix: (org-ql-find) Go to base buffer if possible
Use the base buffer if it has one, because if we run the search from
an indirect buffer, it's likely already narrowed to a different entry,
and making an indirect buffer from that one would end up with a
restriction that would likely hide the selected entry.
2024-01-13 00:03:03 -06:00
Adam Porter
0168171a14 Meta: v0.8.4-pre 2024-01-12 23:58:41 -06:00
Adam Porter
6679bdea00 Merge: v0.8.3 2024-01-10 01:56:57 -06:00
Adam Porter
7d8bd8b884 Release: v0.8.3 2024-01-10 01:56:00 -06:00
Adam Porter
0b1e4b43ec Fix: (org-ql-find) Moving point and widening buffer as needed
See #380.

Reported-by: Omar Antolín Camarena <omar.antolin@gmail.com>
2024-01-10 01:55:16 -06:00
Adam Porter
694739b31d Meta: v0.8.3-pre 2024-01-10 01:38:15 -06:00
Adam Porter
5b0026260a Merge: v0.8.2 2024-01-09 02:28:19 -06:00
Adam Porter
3448e49d86 Release: v0.8.2 2024-01-09 02:27:11 -06:00
Adam Porter
7ff6cc2ef7 Fix: (org-ql-find) Don't use org-with-point-at
See <https://github.com/alphapapa/org-ql/issues/380#issuecomment-1881913025>.

Reported-by: Bram Schoenmakers <me@bramschoenmakers.nl>
2024-01-09 02:25:46 -06:00
Adam Porter
8595139f5b Meta: v0.8.2-pre 2024-01-09 02:22:38 -06:00
Adam Porter
39394c831a Merge: v0.8.1 2024-01-03 18:49:09 -06:00
Adam Porter
51869fd7f9 Release: v0.8.1 2024-01-03 18:47:44 -06:00
Adam Porter
02a2e256dc Docs: Fix v0.7 changelog
Fixes #335.

Reported-by: Nicholas Vollmer <https://github.com/progfolio>
2024-01-03 18:46:21 -06:00
Ivan Perez
393f88e7f3 Remove mentions of removed functions from v0.7 subheading in Changelog.
These commands were removed in 5768c685ad,
but they were still mentioned in the release that was going to
incorporate those two functions, v0.7.

This commit removes the mention of those two functions from the v0.7
subheading in the changelog. Note that `org-ql-find-path` was
re-introduced in v0.8, so it remains under that subheading as a separate
addition.
2024-01-03 18:44:56 -06:00
Adam Porter
529e05851b Fix: (org-ql-view--format-element) Avoid unlinkifying links
I don't fully understand why this is the correct fix, because I don't
know where the raw heading text is being linkified (it seems like the
:raw-value property should be the unlinkified text), but this seems to
work correctly now.  If it turns out to break something else, we'll
find out and fix it.

Fixes #282.

Reported-by: Jacob Boxerman <https://github.com/jakebox>
2024-01-03 18:35:11 -06:00
Adam Porter
8e9a8fe090 Fix: (org-ql-find) Widen buffer
This fixes the case in which a user calls org-ql-find from a narrowed
buffer and chooses a result outside the restriction.  This is already
done in, e.g. org-ql-open-link; it's just an oversight here.
2024-01-03 18:28:06 -06:00