Commit graph

6836 commits

Author SHA1 Message Date
Paul Beckingham
99ff110904 Test: Merged bug.972.t into recur.t 2015-07-12 15:26:20 -04:00
Paul Beckingham
f74e0d88e4 Test: Merged bug.991.t and config.obsolete.t into confіguration.t 2015-07-12 14:54:38 -04:00
Paul Beckingham
81fc158dc9 CLI2: Better algorithm for ::desugarFilterPlainArgs which appears to work well 2015-07-12 14:07:48 -04:00
Paul Beckingham
f240c783cb Config: The 'completed' report haѕ a column labeled 'took'!?
- Good grief.
2015-07-11 22:34:27 -04:00
Paul Beckingham
415690ca23 Test: Corrected report output
- With rc.print.empty.columns now suppressing indicator formats, test that use
  the 'ls' report have different alignment.
2015-07-11 22:12:18 -04:00
Paul Beckingham
e930bb0ba9 Columns: Removed _fixed_width for indicator columns
- Column indicator formats (depends.indicator, for example), should not set the
  ::_fixed_width flag because then the column does not have the opportunity to
  be suppressed via rc.print.empty.colums=1.
2015-07-11 22:09:15 -04:00
Paul Beckingham
31ff9d476e Test: Converted to Python 2015-07-11 17:51:30 -04:00
Paul Beckingham
332f29a800 Docs: Updated dev docs 2015-07-11 17:44:01 -04:00
Paul Beckingham
497b277cf1 Packaging: Removed obsolete package-config dir 2015-07-11 17:31:14 -04:00
Paul Beckingham
564a24b35e Test: Corrected test to use supported features 2015-07-11 17:24:39 -04:00
Paul Beckingham
29d6eceda1 CLI2: ::desugarFilterAttributes now relies on earlier parsing 2015-07-11 17:13:18 -04:00
Paul Beckingham
3f3d698a28 CLI2: Integrated Lexer::decomposePattern 2015-07-11 17:10:10 -04:00
Paul Beckingham
d0e4f4ca10 Lexer: Implemented ::decomposePattern 2015-07-11 17:09:29 -04:00
Paul Beckingham
1f8a66b7f3 CLI2: Integrated Lexer::decomposeSubstitution
- Task::modify now considers the 'g' at the end of a substitution to be a
  string of characters, which may contain 'g'. No other flags are currently
  supported.
2015-07-11 16:44:13 -04:00
Paul Beckingham
1bef45ff47 Lexer: Added ::decomposeSubstitution and more flexible ::dequote
- ::dequote can now be given a string of valid quote characters, which defaults
  to '".
- ::decomposeSubstitution properly parses the /from/to/g construct allowing for
  escaped characters (\/).
- The 'g' at the end of a substitution is now considered to be a string of flag
  characters, which may contain 'g'. No other flag values are currently
  supported.
2015-07-11 16:40:52 -04:00
Paul Beckingham
1c1422370a Test: Corrected escape characters in test 2015-07-11 16:37:20 -04:00
Paul Beckingham
95b926acb2 Test: Converted to Python 2015-07-11 15:48:27 -04:00
Paul Beckingham
8ff60619ee Test: Disabled a test
- The long-word hyphenation test is disabled because although the hyphenation
  code works at the lowest level, the rendering in ViewTask eliminates the
  need for hyphenation by blowing out tables to the minimum required size,
  and not hyphenating anything.

  Leaving the test disabled until a solution is implemented.
2015-07-11 15:37:20 -04:00
Paul Beckingham
8cab89a44c Test: Added low-level hyphenation test 2015-07-11 15:31:39 -04:00
Paul Beckingham
cb82946ad5 Test: Added and removed a test
- Added a test to see if long lines are properly hyphenated.
- Removed a test for hyphenation on comma, which is not implemented.
2015-07-11 15:30:42 -04:00
Paul Beckingham
2a19247ad1 Test: Corrected broken test 2015-07-11 15:02:23 -04:00
Paul Beckingham
df93e37f40 Test: Converted to Python 2015-07-11 14:32:25 -04:00
Paul Beckingham
d6d01ee1bf CLI2: Fixed bug where only the first lexeme was used
- For quoted Lexer::Type::pair arguments, use the whole quoted arg, not merely
  the first lexeme.
2015-07-11 14:31:09 -04:00
Paul Beckingham
36814adcd2 Test: Corrected backslash interpretation in test 2015-07-11 14:03:23 -04:00
Paul Beckingham
6d9d896a37 CLI2: ::lexArguments auto-quotes orignally quoted args, but didn't dequote after 2015-07-11 13:47:26 -04:00
Paul Beckingham
366faac430 Test: Corrected broken tests 2015-07-11 13:18:00 -04:00
Paul Beckingham
642f378462 Lexer:: Implemented ::isHardBoundary to detect filter tokens 2015-07-11 13:12:09 -04:00
Tomas Babej
15dea00eeb Task: Do not include recurring tasks into OVERDUE virtual tag 2015-07-11 11:46:51 -04:00
Paul Beckingham
b3962bb13d Test: Fixed broken test for lexer 2015-07-11 11:30:57 -04:00
Paul Beckingham
8afc7443e4 Lexer: Fixed bug that allowed unterminated quotes strings, again 2015-07-11 11:25:24 -04:00
Paul Beckingham
d3971d2384 Lexer: Replaced ::isString implementation with a call to ::readWord 2015-07-11 11:06:43 -04:00
Paul Beckingham
b7438edfd5 Lexer: Fixed bug that allowed unterminated quotes strings 2015-07-11 10:56:55 -04:00
Paul Beckingham
b841d0c403 Test: Simplified test calls 2015-07-11 10:52:45 -04:00
Paul Beckingham
e99dec6e1b Test: Added failing quoted string test 2015-07-11 10:50:55 -04:00
Paul Beckingham
daba36860b Lexer: Modified ::isSubstitution to use ::readWord 2015-07-11 10:27:23 -04:00
Paul Beckingham
096737bd02 Lexer: Modified ::isPattern to use ::readWord 2015-07-11 10:27:06 -04:00
Paul Beckingham
b4b8edcebe Test: Added problematic case 2015-07-11 10:16:38 -04:00
Paul Beckingham
10c786bdf0 Test: Changed text that throws off syntax coloring 2015-07-11 07:48:32 -04:00
Paul Beckingham
18412822fd Test: Converted to Python
- Renamed utf8_tw.t to unicode.t, converted to Python, and added new feature
  testing.
2015-07-11 07:47:46 -04:00
Paul Beckingham
58d6d8be14 Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5 2015-07-11 07:23:27 -04:00
Paul Beckingham
4d82dd7985 Task: Lexer::Type::word arguments are dequoted before being stored 2015-07-10 13:15:42 -04:00
Paul Beckingham
21be6862db CLI2: ::lexArguments now uses ::readWord to expand escapes 2015-07-10 13:15:16 -04:00
Renato Alves
a3ea5cb412 Tests: \n on input= matters. Always include it 2015-07-10 18:08:46 +01:00
Renato Alves
b86c079ed5 Tests: Correct bug.annotate.t
Two tests were missing a task and failed for this reason.
The asserts were also looking for content in the wrong stream.
Stdout and stderr are not merged by default.
merge_streams=True can be passed but is not recommended.
2015-07-10 18:00:46 +01:00
Paul Beckingham
5eaf09759e Test: Converted to Python
- But doesn't work - problem with test framework?
2015-07-10 12:48:25 -04:00
Paul Beckingham
a86edaa6b2 Lexer: Converted ::isPair to use ::readWord
- With ::isPair using ::readWord, attribute values may now contain escaped
  entities such as \t, \uNNNN, and U+NNNN.
- Removed distinct handling for <name><sep><value>, rc<sep><value> and
  rc.<name><sep><value> - all generic now.
2015-07-10 11:24:57 -04:00
Paul Beckingham
45aaa530ac Lexer: Skipping whitespace on ::readWord at SOL was a mistake 2015-07-10 11:23:57 -04:00
Paul Beckingham
29486144c9 Test: Converted to Python 2015-07-10 11:22:42 -04:00
Paul Beckingham
e55528e21e Lexer: ::readWord now skips leading whiteSpace 2015-07-08 11:24:46 -04:00
Paul Beckingham
6c56f4b695 Test: Updated task arg call 2015-07-08 09:58:39 -04:00