Commit graph

599 commits

Author SHA1 Message Date
Paul Beckingham
e906b20014 Context: Eliminated render timer 2016-11-13 13:42:48 -05:00
Paul Beckingham
473eaec923 Context: Eliminated hooks timer 2016-11-13 13:37:54 -05:00
Paul Beckingham
88512e25cb Context: Eliminated sort timer 2016-11-13 13:33:55 -05:00
Paul Beckingham
d39934e7b9 Context: Eliminated commit timer 2016-11-13 13:31:31 -05:00
Paul Beckingham
3f1c60cf37 Context: Eliminated filter timer 2016-11-13 13:27:38 -05:00
Paul Beckingham
cfc2fd28e8 Context: Eliminated gc timer 2016-11-13 13:16:48 -05:00
Paul Beckingham
30cfc11f80 Context: Uses inline member initialization 2016-11-13 13:12:07 -05:00
Paul Beckingham
8824d3ae5a Context: Migrated to libshared Timer 2016-11-13 13:10:48 -05:00
Paul Beckingham
302b5a5589 Context: Added ::debugTiming to wrap Timer formatting 2016-11-13 13:02:44 -05:00
Paul Beckingham
95f4989f77 Cleanup: Don't use string literals when character literals are needed 2016-10-14 22:27:34 -04:00
Paul Beckingham
bfefd247c4 Context: Combined interactive.cpp and Context.cpp 2016-02-24 23:26:39 -05:00
Paul Beckingham
820cc4b2e5 DOM: Demoted from class to functions
- The DOM object contains no members, and only two (effectively) const methods.
  Demoting DOM to function calls reduces coupling with Context.
2016-02-03 21:54:37 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
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