Commit graph

235 commits

Author SHA1 Message Date
Oleg Hardt
f17ae0f4e4
Missing header include breaks compilation
``` ~/taskshell $ make
Scanning dependencies of target tasksh
[  5%] Building CXX object src/CMakeFiles/tasksh.dir/review.cpp.o
/home/litwol/Sites/taskshell/src/review.cpp: In function ‘int cmdReview(const std::vector<std::__cxx11::basic_string<char> >&, bool)’:
/home/litwol/Sites/taskshell/src/review.cpp:344:29: error: ‘numeric_limits’ is not a member of ‘std’
  344 |   unsigned int limit = std::numeric_limits<unsigned int>::max ();
```
2021-07-25 15:08:01 +02:00
Paul Beckingham
7fdea221b3
Merge pull request #61 from versicode/colors-configuration
colors configuration options for .taskrc
2020-11-21 09:37:50 -05:00
Ruslan
e28f8bb9d9 colors configuration options for .taskrc 2019-08-18 14:17:12 +03:00
Paul Beckingham
6c80122d18
Merge pull request #45 from ThomasAdam/gh/15
Allow tasksh to process cmdline args
2019-07-20 14:37:47 -04:00
Paul Beckingham
c9e498179f Reduced unnecessary variable 2019-07-20 14:33:55 -04:00
Paul Beckingham
aba1b21dfd
Merge pull request #42 from ThomasAdam/ta/add-context-to-prompt
prompt: display context if one is present
2019-07-20 14:32:04 -04:00
Paul Beckingham
d795ca113e Added ThomasAdam to AUTHORS 2019-07-20 14:29:04 -04:00
Paul Beckingham
954431793a Updated docs 2019-04-26 21:05:23 -04:00
Paul Beckingham
e5f22550c9
Merge pull request #47 from blastmaster/TS-30
[TS-30] implement a filter for the review command
2019-04-26 21:01:47 -04:00
Sebastian Oeste
cf02674ef0 [TS-30] clean up 2018-11-02 12:56:42 +01:00
Sebastian Oeste
7e0cfbbf7d [TS-30] re-enable limit as optional last argument
* With this commit the limit argument to the review command is re-enabled.
  If it is pass with an filter argument it needs to be the last
  argument. Otherwise it might be hard to distinguish between limit and
  filter.
* An additional is_number function is introduced to check if the last
  argument is numeric and can be treated as a limit.
2018-11-02 12:56:42 +01:00
Sebastian Oeste
b7c16ae23b [TS-30] adjust help page 2018-11-02 12:56:42 +01:00
Sebastian Oeste
96f2c20598 [TS-30] Let review use a filter
* This commit enables the review command of taskshell to use a custom
  filter, given from commandline.
* Unfortunately this kills the limit argument of the review command.
  This should be fixed!
2018-11-02 12:56:42 +01:00
David West
a2dc796574 important info so people can build the project
not obvious to use recursive without a tip
2018-11-02 12:56:42 +01:00
Paul Beckingham
93c08f3760
Merge pull request #40 from ThomasAdam/ta/update-gitmodules
.gitmodules: update URL to libshared
2018-07-13 22:19:09 -04:00
Paul Beckingham
1e31121b6f
Merge pull request #44 from ThomasAdam/gh/43
command args: trim leading/trailing whitespace
2018-07-13 22:18:27 -04:00
Thomas Adam
f8655302ef Allow tasksh to process cmdline args
When invoking tasksh with command line arguments, it's useful to try and
process these via taskwarrior so that:

   tasksh pro:home list

would output the appropriate tasks before displaying the prompt.

To achieve this, refactor some of the setup calls to generate the
prompt, as well as refactoring the commandLoop.

Fixes GH issue #15
2018-07-13 23:29:50 +01:00
Thomas Adam
d70e1894a4 command args: trim leading/trailing whitespace
When certain commands in tasksh (such as 'review N') contain whitespace,
such as:

    review '1     '

The whitespace would tokenise into the command arg vector, effectively
treating the whitespace as a literal component.

In the case of the 'review' command, this is undesirable.  Therefore,
strip out all leading/trailing whitespace from the command args vector.

Fixes GH issue #43
2018-07-13 23:17:55 +01:00
Thomas Adam
0fb687a7ed prompt: display context if one is present
The documentation for tasksh currently says that the tasksh prompt will
display the context if there is one.  This adds the context to the
prompt.

Fixes GH issue #37
2018-07-13 23:14:23 +01:00
Thomas Adam
f81f70ec8c .gitmodules: update URL to libshared
The libshared repository has moved -- update this so submodules are
correctly initialised/updated.
2018-06-14 09:19:18 +01:00
Paul Beckingham
68d8a9acac Revert "Hide information by default in review"
This reverts commit 6bc537b9d9.
2018-06-02 19:57:55 -04:00
Kyle Marek-Spartz
908d2cc38c Hide information by default in review
Originally submitted to taskwarrior-dev: https://groups.google.com/forum/#!topic/taskwarrior-dev/a8XizQmscl8
2018-06-02 19:57:22 -04:00
Paul Beckingham
a7d459b43a Docs: Updated URLs 2018-06-02 19:56:45 -04:00
Paul Beckingham
41a4ed5f22
Merge pull request #39 from kmarekspartz/hide-information-in-review
Hide information by default in review
2018-06-02 19:55:02 -04:00
Kyle Marek-Spartz
6bc537b9d9 Hide information by default in review
Originally submitted to taskwarrior-dev: https://groups.google.com/forum/#!topic/taskwarrior-dev/a8XizQmscl8
2018-06-02 14:13:24 -07:00
Paul Beckingham
e438ccc7cc Docs: Update to trigger build 2018-01-07 14:14:10 -05:00
Paul Beckingham
32e27ecba4 Copyright 2018 2017-12-31 19:53:04 -05:00
Paul Beckingham
54b70d64dc libshared: Updated to 1fa5dcbf53a280857e35436aef6beb6a37266e33 2017-12-31 19:51:29 -05:00
Paul Beckingham
09d15c0de3 TI-91: Timewarrior does not compile on DragonFly
- Thanks to Michael Neumann.
2017-12-10 00:23:08 -05:00
Paul Beckingham
4baf7be64a TW-1936: Tweak tests to have fuller TAP compliance
- Thanks to Paul J. Fenwick.
2017-12-09 23:19:14 -05:00
Paul Beckingham
c6a4c578a5 Docs: Removed obsolete URLS 2017-10-11 21:26:47 -04:00
Federico Hernandez
3aa1d32cb4 Bumped version in documentation 2017-05-28 11:23:16 +02:00
Paul Beckingham
2bdf0e1321 Reset NEWS 2017-05-09 19:15:07 -04:00
Federico Hernandez
aa1ad0d55d Bumped Changelog to 1.3.0 2017-05-10 00:42:03 +02:00
Federico Hernandez
8dd8f9ffc9 Bumped version number to 1.3.0 2017-05-10 00:34:06 +02:00
Federico Hernandez
68864e8526 Added SHA1 of tagged release commit 2017-05-10 00:26:28 +02:00
Federico Hernandez
3f4b2284ad Version number and release date for 1.2.0 2017-05-10 00:05:29 +02:00
Paul Beckingham
e6d05328cf Docs: Updated platform list 2017-04-09 16:47:33 -04:00
Paul Beckingham
d2e7b4f31d libshared: Updated URL 2017-04-01 22:48:02 -04:00
Paul Beckingham
62de6475b0 libshared: Updated to f1a3cd6bfabfb083fe3c26f580a15c0d60a92ee9 2017-04-01 14:44:10 -04:00
Paul Beckingham
8c3580f5c6 TS-32: control-d to exit
- Thanks to Paul Fenwick.
2017-02-20 23:17:40 -05:00
Paul Fenwick
87d05ed28a TS-32: Exit on Ctrl-D on non-readline systems. 2017-02-20 23:15:20 -05:00
Paul Beckingham
d5bd17cff0 Review: report now defaults to 6 days instead of 1 weeķ, which is more
convenient for those who review weekly

- Thanks to Dirk Deimeke.
2017-02-05 15:03:13 +01:00
Paul Beckingham
09032052d1 review: Greater Core Guidelines compliance 2017-01-08 14:40:39 -05:00
Paul Beckingham
daecfec750 main: Greater Core Guidelines compliance 2017-01-08 14:40:22 -05:00
Paul Beckingham
9868566f8d help: Great Core Guidelines compliance 2017-01-08 14:34:00 -05:00
Paul Beckingham
ab7245cb8a shell: Clarifying comment 2017-01-08 14:33:03 -05:00
Paul Beckingham
a2a900d144 prompt: Greater C++11 compliance 2017-01-08 14:26:22 -05:00
Paul Beckingham
cc2e173d74 diag: Greater C++11 compliance 2017-01-08 14:17:26 -05:00
Paul Beckingham
fa79935c8b diag: Updated to libshared cppCompliance call 2017-01-08 14:13:50 -05:00