Commit graph

10516 commits

Author SHA1 Message Date
Tomas Babej
58763fd49f
reproduce: Make vim available in the reproduction image 2021-10-30 06:12:48 -04:00
Steven Kreuzer
a89c875c49 Fix typo in ChangeLog
Change 'precendence' to 'precedence'
2021-10-22 18:54:32 -04:00
Tomas Babej
e0f598f91c
Changelog: Document 2.6.1 release commit hash 2021-10-19 00:30:53 -04:00
Tomas Babej
a696b6b155
cmake: Bump project version to 2.6.1 2021-10-19 00:23:40 -04:00
Tomas Babej
d8770133f0
docs: Update dev branch references in README 2021-10-19 00:23:16 -04:00
Tomas Babej
5c32372d42
docs: Update DEVELOPER.md 2021-10-19 00:20:07 -04:00
Tomas Babej
4d7c7531d0
docs: Document #2632 2021-10-18 23:56:38 -04:00
Tomas Babej
c99dab0dae
meta: Ensure Cygwin compatibility 2021-10-18 23:53:26 -04:00
Tomas Babej
3dee86c997
docs: Document #2639 2021-10-18 23:48:37 -04:00
Tomas Babej
df75d1ce43
test: Add tests for parsing ID ranges of various sizes 2021-10-18 23:46:45 -04:00
Tomas Babej
2469943c98
meta: Bump libshared
This bumps libshared version to the one not suffering from
misidentification of certain ID ranges.

Closes #2639.
2021-10-18 23:15:03 -04:00
Tomas Babej
072b38d326
CmdCustom: Increase probability of displaying upgrade message
We have received reports from people that have upgraded, but seemingly
have not seen release notes in the `task news` command. One of the
causes here could be the fact that the probability of displaying the
footnote about running `task news` is `1/10`.

Increase the probability to 1/4.
2021-10-18 21:32:53 -04:00
Tomas Babej
dc81bf5fb5 CmdNews: Adjust for brevity 2021-10-18 21:31:41 -04:00
Tomas Babej
8e7401d2f4 docs: Document #2626 2021-10-16 11:28:36 -04:00
Tomas Babej
6a79e614da tests: Expand test for waiting report
Add tasks to test exclusion of completed and deleted tasks.
2021-10-16 11:11:45 -04:00
Tomas Babej
4287b33796 Task: Only consider pending tasks as waiting 2021-10-16 11:11:15 -04:00
Tomas Babej
3b37dc2480 tests: Adjust test description 2021-10-16 11:02:38 -04:00
Tomas Babej
dec99b0deb docs: Document #2622 2021-10-16 10:22:34 -04:00
Tomas Babej
3840c4e768 tests: Add test for UDA Orphan identification 2021-10-16 10:22:34 -04:00
Tomas Babej
793b23411a CmdUDAs: Do not identify tags and dependencies as orphan UDAs 2021-10-16 10:22:34 -04:00
Tomas Babej
fd549c764b Task: Do not identify tag and dependency attributes as orphans 2021-10-16 10:22:34 -04:00
Tomas Babej
339a4ddb51 Task: Make isTag/Dep/AnnotationAttr methods static
This allows usage of these helper methods outside of Task class.
2021-10-16 10:22:34 -04:00
Bent Witthold
3dbad09f72 consiered -> considered 2021-10-16 09:07:18 -04:00
Tomas Babej
d480f6a0db
docs: Document #2629 2021-10-15 01:09:19 -04:00
Tomas Babej
e21ae0d7d8
docs: Document #2620 2021-10-15 00:56:13 -04:00
Tomas Babej
f6d9837b07
tests: Add test for legacy context interpretation 2021-10-14 22:36:11 -04:00
Tomas Babej
d5a026d91a
context: Interpret legacy-style context as read context only
This provides a better migration path than surprising users with the
write context functionality out of the blue.

Closes #2620.
2021-10-14 22:34:48 -04:00
Tomas Babej
1d4baca0d9
context: Do not interpret empty filter/mods as missing context definition
This is a corner case bug, when user has both old-style and new-style
context defined, where new-style is defined as empty string, the
old-style will (incorrectly) take precedence.

Closes #2629.
2021-10-14 17:47:11 -04:00
Tomas Babej
887b04f7f4
docs: Document #2619 2021-10-11 15:50:42 -04:00
Alexandre Provencio
d4a9ce614b Fix fish completions
Closes #2619
2021-10-11 15:45:57 -04:00
Orhun Parmaksız
db76a15ba5
changelog: mark 2.6.0 as current release 2021-10-04 21:07:44 -04:00
Tomas Babej
64ea936d7f
README: Describe the new branch names 2021-10-04 20:56:27 -04:00
Tomas Babej
c010855bac
Merge branch '2.6.0' 2021-10-02 22:04:54 -04:00
Tomas Babej
8174287f91
README: Mark GnuTLS as optional 2021-10-02 21:59:37 -04:00
Nathan Wyand
b6225adbd3 add library build dependencies to README 2021-10-02 21:55:02 -04:00
Tomas Babej
dbf641988e
CmdTags: Update pointers to task enumeration lists 2021-10-02 21:38:47 -04:00
Tomas Janousek
8610268cd9
Add missing "QUARTER" to feedback_reserved_tags
A while ago I noticed that 630a1530e0 only
added the QUARTER virtual tag to src/Task.cpp, and when I checked that
again today, it was still missing from src/feedback.cpp, so I'm fixing
that.
2021-10-02 21:33:16 -04:00
Tomas Babej
ac309b4ff1
tests: Skip the diagnostics test on Ubuntu 16.04
This is a byproduct of recent bump to C++17 compliant compilers. Ubuntu
16.04 does not have C++17 compliant compiler, but it's still useful to
for us to test 2.5.3 there as the branch does not actually use any of
the C++17 features not available on gcc on Ubuntu.
2021-10-02 21:32:21 -04:00
Leo
57680f5bde
Uncoditionally include errno.h instead of guessing
POSIX tells us that it is errno.h, musl fails to build with -Werror
because it redirects sys/errno.h->errno.h and uses #warning

(cherry picked from commit 041248e7cc)
2021-10-02 21:30:40 -04:00
Doron Behar
6873ff26a1
Truely remove priority from hardcoded attrributes 2021-10-02 21:27:10 -04:00
Doron Behar
4bdab32c12
Complete attributes dynamically incl UDAs
This is the major refinement of the completion: Most of it just moved
the global variables from up above to inside _task_filter so every array
of attributes will be calculated dynamically there.
2021-10-02 21:26:55 -04:00
Doron Behar
9d3bbe744d
Fix small TODO and move main function to bottom 2021-10-02 21:18:58 -04:00
Doron Behar
ba1b6819a0
Add TODOs to make zsh completion awesome 2021-10-02 21:18:22 -04:00
Lionel Miller
e66f7fce50
Workaround for alias grep=rg in fish 2021-10-02 21:11:16 -04:00
John Nguyen
68bef0135f
Fix typo in man page
The example for _unique has typo, should be using attribute for project.
Fixes #2277
2021-10-02 21:05:50 -04:00
Tomas Babej
c2ba93cb61
tests: Ensure the git tag version check does not run for tarball builds
Do not try to determine the latest git tag if we're not in a git
repository in the first place.
2021-10-02 18:27:58 -04:00
Tomas Babej
34c12a7b78
Context: Add news.version among configuration defaults
Otherwise news.version shows up as unrecognized variable.
2021-10-02 18:27:57 -04:00
Tomas Babej
4d85031b90
tests: Ensure tests are run with news.version set to 2.6.0
No tests were failing due to the footnote but its better to be safe than
sorry.
2021-10-02 18:06:12 -04:00
Tomas Babej
0ad1b681de
CMakeLists: Use presence of src, not .git dir to determine libshared presence
This way the mechanism to determine the presence of libshared works for
tarball builds as well.
2021-10-02 17:57:38 -04:00
Tomas Babej
35794a57b5
CMakeLists: Ensure cmake.h.in is not excluded in the source build 2021-10-02 17:45:28 -04:00