Fidel Mato
f684917c3c
L10N esp-ESP
...
- Added two missing strings and its translation.
- Order changed to follow eng-USA.h
2015-04-06 19:54:44 -04:00
Fidel Mato
876a7d29b9
L10N esp-ESP
...
- Newly translated string from eng-USA to esp-ESP, and some corrections.
2015-04-06 19:54:38 -04:00
Paul Beckingham
119c19b519
TW-1591: add and option to see non-pending project with command task summary
...
- Setting 'summary.all.projects' shows all projects, not just those with pending
tasks.
2015-04-06 15:47:02 -04:00
Paul Beckingham
935b2993f3
C++11: Took advantage of N1757.
2015-04-06 15:30:39 -04:00
Renato Alves
afec6d451f
Tests: Force stopping taskd on 5mins timeout
2015-04-06 13:46:08 +01:00
Renato Alves
fd17a68930
Tests: expose 'args' passed to hook scripts
...
- Useful to validate that all the expected arguments were passed with
correct escaping.
- Update test/template.t with one use-case for 'args'
2015-04-06 13:43:41 +01:00
Renato Alves
09d86eb165
Tests: Better diagnostics on taskd start failure.
2015-04-06 13:08:17 +01:00
Wilhelm Schuermann
8d5a77f490
Tests: Adjust wrapper to make hook env test work
2015-04-06 10:01:09 +02:00
Paul Beckingham
e9b54ea74f
TW-1556: task hangs when modifying uda field with percent-encoded (url-encoded)
...
- This bug іs fixed by the new Lexer, which has allows unrecognized lexemes
to fall through to becomre 'word' or 'dom' types (thanks to Stefan Frühwirth).
2015-04-05 23:45:27 -04:00
Paul Beckingham
3a035a7d1d
TW-1590: syntax of rcfile not documented (whitespace, line continuation)
...
- Updated top of the taskrc(5) man page with a description of the file syntax.
(thanks to Scott M).
2015-04-05 23:37:43 -04:00
Paul Beckingham
d405a5f3b5
Tests: Changed hook test to use a command that actually produces output
2015-04-05 16:14:20 -04:00
Paul Beckingham
0cba34268c
Build: Fixed broken compile
2015-04-05 16:08:33 -04:00
Paul Beckingham
61e1401073
Performance: Only measures the first fixed-width column row
2015-04-05 16:05:43 -04:00
Paul Beckingham
a883c5ca41
Themes: Updated the built-in default theme regarding priority
2015-04-05 15:17:33 -04:00
Paul Beckingham
d98b6e5c0b
Tests: Converted priority urgency coefficients to UDAs
2015-04-05 14:58:07 -04:00
Paul Beckingham
6b0d288da7
Themes: Converted color rules for 'priority'.
2015-04-05 14:09:40 -04:00
Paul Beckingham
e8654c49b5
Tests: Modified tests to accomodate new 'prioirity' color rules
2015-04-05 14:05:29 -04:00
Paul Beckingham
c28932ebbe
Tests: Removed diag output from test. Still doens't work.
2015-04-05 13:29:00 -04:00
Paul Beckingham
826769bcd9
Tests: Removed unused code
2015-04-05 13:21:20 -04:00
Paul Beckingham
d31227d2e2
Tests: Add testing for hook args. Doesn't work.
2015-04-05 13:04:51 -04:00
Paul Beckingham
0a54d46589
Hooks: With rc.debug.hooks=2, shows hook arguments
2015-04-05 12:19:55 -04:00
Paul Beckingham
3f457dc744
Info: Don't print an urgency detail table is the value is zero
2015-04-05 12:00:08 -04:00
Paul Beckingham
f9c99624b2
Info: Properly breaks out urgency values for UDA coefficients
2015-04-05 11:56:55 -04:00
Paul Beckingham
b19b0f47e5
TW-1541: Priority should be converted to UDA (in default taskrc)
...
- The 'priority' core attribute is removed, replaced by a UDA configured to
behave in the same manner.
2015-04-05 10:41:23 -04:00
Paul Beckingham
fbf9a8be8d
TW-1539: user-defined urgency coefficients for priority values
...
- The 'urgency.uda.<uda>.coefficient', and 'urgency.uda.<uda>.<value>.coefficient'
settings allow the setting of an urgency coefficient for the presence of data,
or a specific value (takes precedence).
2015-04-05 10:38:13 -04:00
Paul Beckingham
9476069b41
TW-111 User-defined priorities
...
- The 'priority' attribute is no longer a core attribute, and is instead defined
by default as a UDA that behaves in the same way. It is therefore
reconfigurable with defined values, sort order, and urgency coefficients.
2015-04-05 10:35:21 -04:00
Paul Beckingham
35b77f93c4
TW-57: user defined attribute sort order
...
- When a UDA of type 'string' specifies allowable values, that list is used to
indicate the sort order, from high to low (thanks to Max Muller).
2015-04-05 10:33:36 -04:00
Paul Beckingham
5da3416b79
TW-70: urgency.user.keyword.<keyword>.coefficient=...
...
- The 'urgency.user.keyword.<keywrod>.coefficient' setting allows for urgency
adjustments based on description keywords.
2015-04-05 10:25:42 -04:00
Paul Beckingham
79207a8e42
Info: A '+' symbol was shown instead of a '*', for urgency details
2015-04-05 10:22:56 -04:00
Paul Beckingham
5af4579741
Priority: Converted 'priority' attribute to a UDA
...
- 'priority.long' and 'priority.short' formats now map to 'priority', and
generate a warning.
- Man page updated.
- Converted priority urgency coefficients to UDA equivalents.
- Converted priority color rules to UDA color rules.
- Removed 'default.priority' support.
- Removed special sort handling for 'priority' field in Variant, added special
UDA sort handling.
- Removed ColPriority.{h,cpp} source files.
- Removed asorted newly-unused variables.
- The 'show' command now highlights unused priority settings.
- Removed unused localized priority-relateѕ strings.
- Added legacy mapping for columns and sort columns for 'priority.long' and
'priority.short' columns in report definitions.
- Removed priority color rules implementation.
- Removed obsolete tests for #860 , #990 , custom.priority_long.t.
- Updated various tests that set priority default, colors.
2015-04-04 19:30:33 -04:00
Paul Beckingham
7a9d314016
Variant: Temporarily put back the priority string handling
...
- In order to test that the UDA sorting is good, the priority processing must
be in place, as many test rely on priority values. Will be removed later.
2015-04-04 16:16:51 -04:00
Paul Beckingham
07a18f4fae
Tests: UDA sort tests
2015-04-04 15:48:01 -04:00
Paul Beckingham
29a09707f3
Variant: Implemented custom UDA sorting
2015-04-04 15:47:41 -04:00
Paul Beckingham
743cb92958
Context: Static initialize UDA sort order values
2015-04-04 14:50:38 -04:00
Paul Beckingham
370afa0d26
Sort: Delegate UDA string sorting to Variant::operator<
2015-04-04 12:53:06 -04:00
Paul Beckingham
8c0f46309b
Variant: Return const refs rather than string copies
2015-04-04 12:51:56 -04:00
Paul Beckingham
fa7d4352cd
Sort: All attributes are now sortable
2015-04-04 11:15:43 -04:00
Paul Beckingham
f1ef53bea0
Column: Return const refs rather than string copies
2015-04-04 10:58:55 -04:00
Paul Beckingham
21dc2ec100
UTF8: Moved variable into lower scope
2015-04-04 09:55:54 -04:00
Wilhelm Schuermann
5b01abc27f
Fix problem with special chars in descriptions
...
Fix 'task add a; task add "\n"; task next' returning "Unknown error."
The problem can be reproduced with any report including "description"
as a column.
For task descriptions that had more special characters than regular
ones, "length" in utf8_width() underflowed, leading to problems
elsewhere in the code.
2015-04-03 22:22:44 +02:00
Wilhelm Schuermann
c830b4b669
TW-1287: default.* values applied to synced tasks
...
- Tasks that arrive through "task sync" no longer have defaults applied
to them.
2015-04-02 13:39:20 +02:00
Wilhelm Schuermann
70d5f595c7
TW-1584: attr.{isnt,not} use partial matching
...
- Change attr.{isnt,not} to be the exact opposite of attr{:is,:},
i.e. exact matching.
- Fix tests that assumed the old behavior was intended.
2015-04-02 13:38:04 +02:00
Wilhelm Schuermann
c1815b8277
TW-1279: default.* applies to recurring tasks
...
- Recurring tasks inherit attributes from their parent. default.*
is no longer applied to them.
2015-04-02 13:37:59 +02:00
Wilhelm Schuermann
2eea7805c6
Lexer: Fix "task calc now+3days" error
...
- Fix isDuration() consuming operators, leading to evaluation errors.
Previously only "task calc now + 3days" worked, now the spaces are
entirely optional.
2015-04-02 13:29:57 +02:00
Wilhelm Schuermann
5487414003
Hooks: Add "version:" to hooks v2 arguments
...
- Saves a call to "task --version", potentially saving precious hook
execution time. Useful for writing backwards compatible hooks in
case of buggy Taskwarrior behavior.
2015-04-02 09:18:34 +02:00
Wilhelm Schuermann
229078ffed
Scripts: Disable hooks in bash completion script
...
- Stop on-launch and on-exit hooks with output from interfering with
bash completion.
2015-04-01 16:23:42 +02:00
Wilhelm Schuermann
04d0c52a43
Hooks: Implement "Hooks v2" API
...
- All hook scripts now receive key:value pair command line arguments.
- Add only the basics: api, args, command, rc, data. Possibly more to
come.
2015-04-01 11:44:37 +02:00
Wilhelm Schuermann
5d4859c44d
Tests: Fix bash_completion.t problem
...
- bash_completion.t rewrites task.sh during setup in order to be able
to test it. 704eb1eab3
broke that
rewrite mechanism.
2015-03-31 11:28:12 +02:00
Wilhelm Schuermann
3f394fa164
TW-1588: Fix broken export scripts
2015-03-31 07:26:10 +02:00
Wilhelm Schuermann
df209b9b8b
TW-1587: Further improve example on-exit hook
...
- Initial patch was not quite right. on-exit _does_ receive added and
modified tasks on STDIN, but is not allowed to return JSON.
2015-03-31 07:25:23 +02:00