Commit graph

6209 commits

Author SHA1 Message Date
Paul Beckingham
d1f7e44811 Unit Tests
- Removed unit test for a bug that is a deliberate attempt to generate an
  ambiguous command line, to break the parser. The '--' terminator is meant
  to resolve these issues, and we don't need more tests proving that the
  grammar is ambiguous.
2015-03-02 16:44:28 -05:00
Paul Beckingham
96185cbd61 Merge branch '2.4.2' of ssh://git.tasktools.org/tm/task into 2.4.2 2015-03-02 16:17:09 -05:00
Paul Beckingham
7665d13d42 Duration
- Removed legacy duration value mapping, which causes much performance
  degradation.
2015-03-02 16:16:39 -05:00
Paul Beckingham
a40967a324 Unit Tests
- Fixed project.t errors.
2015-03-02 11:35:19 -05:00
Paul Beckingham
01feec568b Merge branch '2.4.2' of ssh://git.tasktools.org/tm/task into 2.4.2 2015-03-02 09:35:45 -05:00
Paul Beckingham
104aeb3905 TDB2
- Commented and reorganized for threading.
2015-03-02 09:33:57 -05:00
Paul Beckingham
53e9bd0cbd Lexer
- Words cannot contain single-char operators.
2015-03-02 00:03:01 -05:00
Paul Beckingham
234e4d7308 Unit Tests
- Modified Lexer types to reflect DOM recognition.
2015-03-01 23:55:10 -05:00
Paul Beckingham
237d932ff9 Lexer
- Improved ::isIdentifier, ::isUUID and ::isDOM.
2015-03-01 23:54:45 -05:00
Paul Beckingham
2af470bb90 Lexer
- Lexer::Type::identifier now includes DOM references.
2015-03-01 22:08:19 -05:00
Paul Beckingham
cefc129e9a Task
- Delegated the modifiability check to Column::modifiable.
2015-03-01 21:36:56 -05:00
Paul Beckingham
7aa55a8a71 Unit Tests
- Corrected test so it doesn't include '--' separator token.
2015-03-01 21:19:16 -05:00
Paul Beckingham
565987a177 Unit Tests
- Corrected token types for '3rd', which is Lexer::Type::word, not
  LExer::Type::identifier.
2015-03-01 21:14:28 -05:00
Paul Beckingham
309b607672 Lexer
- Number digits followed by non-whitespace, non-operators are not numbers, ie
  "2nd" is not "2","nd".
2015-03-01 16:03:10 -05:00
Paul Beckingham
abe8819f2f Unit Tests
- Restored 'name=value' tests that expect three tokens.
2015-03-01 15:53:24 -05:00
Tomas Babej
f0cc0151b7 TDB2: Explicitly mark updates done as addition to optimize performance
We are able to avoid loading the completed.data in certain scenarios.
2015-02-28 16:54:09 -05:00
Paul Beckingham
3f2d377fef Lexer
- Allow '=' in rc.<name>[:=]<value>, but not in non-rc Lexer::Type::pair
  combinations. That means 'name=value' is not a Lexer::Type::pair.
2015-02-28 12:05:24 -05:00
Paul Beckingham
c849cc9bfe Unit Tests
- Added tests with spaces around the operators, for better coverage.
2015-02-28 12:00:36 -05:00
Tomas Babej
48be6986c2 Make tasks affect statistics of super-projects 2015-02-28 09:34:10 -05:00
Tomas Babej
ffd6465661 CmdProjects: Enforce garbage collector 2015-02-28 09:33:36 -05:00
Paul Beckingham
7e890c084f Report
- Removed bad filter term.
2015-02-27 00:18:19 -05:00
Paul Beckingham
0f1a46e6d3 Lex
- Changed output to reflect current usage.
2015-02-27 00:17:56 -05:00
Paul Beckingham
2811b9a571 Unit Tests
- Fixed tests regarding quoted strings coming out of the Lexer.
2015-02-27 00:16:14 -05:00
Paul Beckingham
58e62711f3 Virtual Tags
- The 'info' command now shows virtual tags.
2015-02-26 21:09:50 -05:00
Tomas Babej
3b9d88a87b completion: Add bash completion for contexts 2015-02-26 20:51:39 -05:00
Paul Beckingham
9dad0c7eb6 Merge branch '2.4.2' into lexer2 2015-02-24 23:14:58 -05:00
Paul Beckingham
e67c6c45cf Lexer
- Strings now retain their quotes, for compatibility with 2.4.1.
2015-02-24 23:01:12 -05:00
Paul Beckingham
aa8cd54142 TW-1535
- TW-1535 move default listing-break from list to ls (thanks to David Patrick).
2015-02-24 22:57:56 -05:00
Paul Beckingham
651ac3f174 Tw-1551
- TW-1551 Unable to get a UDA value from DOM (thanks to Tomas Babej).
2015-02-24 22:35:18 -05:00
Paul Beckingham
ea78200ae3 TW-1549
- TW-1549 task annotate hangs with specific text pattern (thanks to Alexandre
          de Verteuil).
2015-02-24 22:04:05 -05:00
Paul Beckingham
ad89a90d12 TW-1550
- TW-1550 _contexts helper-command (thanks to David Patrick).
2015-02-24 20:43:28 -05:00
Paul Beckingham
8c6892fed6 Merge branch '2.4.2' into lexer2 2015-02-24 17:03:11 -05:00
Tomas Babej
85d0e1789a CmdContext: Validate context's filter upon definition 2015-02-24 16:55:28 -05:00
Tomas Babej
e19c99ce1e CmdContext: Fix incorrect exception handling 2015-02-24 16:53:23 -05:00
Tomas Babej
0868ba757c CmdConfig: Do not leave empty line upon variable removal 2015-02-24 16:52:55 -05:00
Tomas Babej
bf5f246168 man: Fix copy-paste error in task.1 2015-02-24 16:51:28 -05:00
Tomas Babej
9748fa2ab1 tests: Fix asserted strings in context tests 2015-02-24 16:51:20 -05:00
Tomas Babej
1a0f479394 CmdContext: Add helpful hint to output when setting context 2015-02-24 16:51:05 -05:00
Wilhelm Schuermann
e2f35a1a06 Hooks
- onAdd, onExit, onLaunch and onModify hooks now output feedback messages
  as footnotes when hooks exit with status 0, as per hooks documentation.
2015-02-24 16:45:23 -05:00
Paul Beckingham
0548fca88f Merge branch '2.4.2' into lexer2 2015-02-23 20:22:34 -05:00
Paul Beckingham
394acae790 CmdContext
- Trivіal code edits.
2015-02-23 20:07:53 -05:00
Tomas Babej
e8d385119a Update NEWS and ChangeLog files with the info about the context 2015-02-23 19:25:40 -05:00
Tomas Babej
070fdf60fa localization: Update other locale files 2015-02-23 19:22:06 -05:00
Tomas Babej
1278226c16 CmdContext: Localize the hardcoded strings 2015-02-23 19:22:01 -05:00
Tomas Babej
98410cff42 CmdShow: Add context related variables 2015-02-23 19:21:57 -05:00
Tomas Babej
ee23a099f2 CmdContext: Minor style and message changes 2015-02-23 19:21:50 -05:00
Tomas Babej
0ab1dc0c9c man: Update task and taskrc manpages with the information about context 2015-02-23 19:21:46 -05:00
Tomas Babej
c2a9bb65e6 tests: Add tests for the context feature 2015-02-23 19:20:00 -05:00
Tomas Babej
75cf742a55 tests: Add taskrc_content property 2015-02-23 19:19:55 -05:00
Tomas Babej
dc0502dd9f CLI: Apply context filter directly in getFilter method 2015-02-23 19:19:51 -05:00