Paul Beckingham
fc55a5521f
Context: Removed parentheses for readability
2015-11-24 07:54:23 -05:00
Paul Beckingham
d6d867c1cf
TW-1658: rc override to non-existent alternate rc quietly uses default
...
- Thanks to David Patrick.
- The 'rc:' argument now means 'use all defaults', which assumes
'data.location=~/.task', so this will not work for anyone using a different
location.
2015-11-18 08:25:49 -05:00
Paul Beckingham
3169490219
Revert "Context: Converted from strtol to std::stoi"
...
This reverts commit 8e214d1b14
.
2015-11-02 18:41:33 -05:00
Paul Beckingham
8e214d1b14
Context: Converted from strtol to std::stoi
2015-11-01 21:39:19 -05:00
Paul Beckingham
5c8b7148b4
Task: Moved include to top of list, per flint++ recommendation
2015-11-01 19:59:10 -05:00
Paul Beckingham
735608d5b9
Context: Removed unused ::clearMessages method
2015-10-28 13:23:38 -04:00
Paul Beckingham
b1d2d6d5e8
Variant: Migrated from Date to ISO8601d
2015-10-04 13:25:28 -04:00
Paul Beckingham
d4abae0f70
Lexer: Removed ::isoEnabled, which belongs in ISO8601{d,p}
2015-10-04 11:11:48 -04:00
Paul Beckingham
61e494195a
ISO8601: Added separate ::isoEnabled settings for ISO8601d and ISO8601p
2015-10-04 10:58:28 -04:00
Paul Beckingham
1d598d0e8c
Context: Converted from Date to ISO8601d
2015-09-27 11:14:49 -04:00
Paul Beckingham
6f726bf1cf
ISO8601d: Added ::minimumMatchLength
2015-09-26 12:57:57 -04:00
Paul Beckingham
541e9eec30
Context: Initialize ISO8601::weekstart
2015-09-26 12:40:56 -04:00
Paul Beckingham
e2f504e686
Context: No longer calls Context methods while dtor is running.
2015-09-25 07:57:43 -04:00
Paul Beckingham
646863db16
Cleanup: Minor tweaks
2015-09-20 09:13:24 -04:00
Paul Beckingham
7c59bd5a1d
TW-1699: Command interpretation displayed incorrectly
...
- Thanks to Tomas Babej.
2015-09-19 15:21:31 -04:00
Tomas Babej
b9f217a716
Context: Add timer that measures the total command duration explicitly
2015-09-12 17:36:57 -04:00
Paul Beckingham
84b3055690
CLI2: Pseudo-args demoted to config settings
...
- When 'limit:N' is encountered, it is removed from the command line, and
added as a config setting, equivalent to 'rc.limit:N'.
- This simplifieѕ subsequent command line parsing.
2015-09-12 09:03:15 -04:00
Paul Beckingham
f55afe33d7
Color: Removed FEATURE_COLOR conditional compile
...
- No need any more.
2015-09-10 22:17:25 -04:00
Tomas Babej
d210c6d07f
debug: Display parser trees at level 2, eval output at 3
2015-09-07 12:22:35 -04:00
Tomas Babej
6b83945a21
Urgency: Replace 'next' coefficient with configuration entry
2015-09-04 08:10:36 -04:00
Paul Beckingham
c61f7e6b8f
Footnote: New 'recur' verbosity token
2015-08-23 20:36:06 -04:00
Paul Beckingham
b1839adf97
TW-1664: Notify of waiting→pending promotion
...
- Thanks to Daniel Shahaf.
2015-08-23 16:59:22 -04:00
Paul Beckingham
4a9a515a36
Context: Corrected ::dispatch determination of need for CLI2::prepareFilter
2015-08-23 09:45:11 -04:00
Paul Beckingham
54fecafcec
Context: Eliminated 'readcmd' and 'writcmd' entities
2015-08-22 11:09:29 -04:00
Paul Beckingham
5059897b50
Context: Code simplification
2015-08-14 16:31:57 -04:00
Paul Beckingham
ebecaf420e
Debug: Display the final parse tree for rc.debug.parser=1.
2015-08-03 07:54:56 -04:00
Paul Beckingham
a604e14ea9
Context: GC now only called when the commands request it
2015-08-02 15:54:24 -04:00
Paul Beckingham
d9fc334098
Context: Added filter prep for write commands that don't instantiate Filter
2015-08-02 10:26:05 -04:00
Paul Beckingham
f5792a03fb
Lexer: Captures minimumMatchLength for abbreviated attribute matching
2015-07-26 22:58:02 -04:00
Paul Beckingham
d0c4326af3
Lexer: Upgraded attributes vector to a map of name to type
2015-07-26 12:22:02 -04:00
Paul Beckingham
110aa489e4
Context: Dead code removal
2015-07-17 15:24:31 -04:00
Paul Beckingham
737cb23546
CLI2: Eliminated CLI
...
- This is a large commit, as all the changes are centered around the elimination
of CLI.
- CLI is no longer compiled.
- Context no longer maintains CLI + CLI2.
- Filter now walks the parse tree and sends to Eval a
std::vector <std::pair <std::string, Lexer::Type>> containing only args tagged
with FILTER.
- Filter more efficiently sets/unsets Eval::debug, by doing it less often.
- The filterExpr.length() check is no longer meaningful, and instead the size of
the std::vector above is used.
- Filter::pendingOnly performs better analysis.
- Filter::safety makes use of the std::vector size also.
- Task::modify makes use of 'canonical' rather than 'name', which is a policy
change, not a fix.
2015-06-24 13:23:56 -04:00
Paul Beckingham
076b2aaa95
CLI2: Fix bug where a second terminator (--) was stripped
2015-06-22 14:11:28 -04:00
Paul Beckingham
82021f46f7
Context: Converted from CLI::getLimit to CLI2
2015-06-21 23:03:09 -04:00
Paul Beckingham
dc5f9e38a6
Context: Convert some CLI calls to CLI2
2015-06-19 07:03:57 -07:00
Paul Beckingham
49e7196dec
Context: Removed unused ::clear method
2015-06-17 14:24:14 -07:00
Paul Beckingham
485899b0c5
CLI2: Begun ::analyze method
...
- Renamed A to A2, to avoid collisions for now.
- Added A2::attribute, ctor, dtor.
- Stubbbed CLI2::analyze.
2015-06-13 14:34:25 -04:00
Paul Beckingham
23786515f9
CLI2: Implemented simple argument capture, with no processing.
2015-06-13 14:13:19 -04:00
Paul Beckingham
ec5876d56b
CLI2: Aliases captured.
...
- CLI2::alias now captures all alias definitions from Context::Config.
2015-06-13 14:02:18 -04:00
Paul Beckingham
22765a70cb
CLI2: Entity capture.
...
- CLI2::entity now captures all the known entities, duplicating the processing
in Context for now.
2015-06-13 13:57:53 -04:00
Paul Beckingham
5602413acd
CLI2: Migrated static methods
...
- The old CLI object has three static methods that are used for extracting
information from the command line before parsing takes place. These include
rc.name:value and rc:value and code that applies those overrides to
Context::Config. These methods are moved to CLI2 - being static it makes no
difference where they reside.
- Context::initialize now calls the CLI2 versions only.
2015-06-13 13:44:54 -04:00
Paul Beckingham
ca90893216
CLI2: Static initialization of global settings.
2015-06-13 13:38:19 -04:00
Paul Beckingham
708ddd3804
CLI2: Refactoring CLI to rely completely on the Lexer
2015-06-13 13:35:34 -04:00
Paul Beckingham
490742284b
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-06-07 09:47:15 -04:00
Paul Beckingham
e1a03c4415
Context: Removed misleading comment.
2015-06-07 09:47:07 -04:00
Wilhelm Schuermann
ae692e07a6
Verbosity: Fix "project" info not showing
...
- Make "project" verbosity imply "footnote", since verbose project
info is shown using footnotes. Fixes failing test in verbose.t.
- Convert "verbosity" variable to std::set for increased readability.
2015-06-07 15:01:26 +02:00
Paul Beckingham
3e043291f0
Cleanup: Combined File, Path and Directory into FS
...
- The three objects are related and always travel together, so they are now
combined.
2015-05-25 10:11:41 -04:00
Paul Beckingham
7bbc794d3a
C++11: N2672 Initializer lists
...
- Modified code to use the more compact and readable initializer lists.
2015-05-24 13:03:02 -04:00
Wilhelm Schuermann
49f7612704
TW-1572: Implement better urgency inheritance
...
- Implement recursive urgency inheritance. If this is to be made a
default setting, some thought will have to be put into making it
more efficient.
2015-05-22 23:01:21 +02:00
Paul Beckingham
e74c6963a9
C++11: Cleaned up program framework with range-based for
2015-05-11 17:50:53 -04:00