Commit graph

4506 commits

Author SHA1 Message Date
Paul Beckingham
c342159369 Unit Tests
- calc.t was not up to date regarding the form of the diagnostic output.
2014-05-26 13:22:51 -04:00
Paul Beckingham
70620366c4 Eval
- Filter token diagnostics are color coded.
2014-05-26 12:55:22 -04:00
Paul Beckingham
410ca4bcba Context
- Removed uninteresting debug diagnostic.
2014-05-26 12:40:55 -04:00
Paul Beckingham
0857b82618 Task
- Added detailed modification pipeline diagnostics.
2014-05-26 12:18:11 -04:00
Paul Beckingham
bba0b75a3b Eval
- Cleaned up debug FILTER diagnostics.
2014-05-26 12:16:44 -04:00
Paul Beckingham
2030df8563 Task
- Task modifications that involved no 'words' were clobbering the description
  unnecessarily.
2014-05-26 11:02:24 -04:00
Paul Beckingham
0047bb7325 Task
- Date attributes were being saved as strings, which means a default format of
  YYYY-MM-DDThh:mm:ss, and it should have been epoch.
2014-05-26 10:31:43 -04:00
Paul Beckingham
a559890368 CmdPrepend
- Was appending, not prepending.  Duh.
2014-05-25 23:10:54 -04:00
Paul Beckingham
e5e0ac8ba3 CmdCustom
- Captured args do not need additional tags.
2014-05-25 23:03:43 -04:00
Paul Beckingham
904c42fcbe Parser
- ::getCommand should return the canonical form of the command, not the raw
  input.
2014-05-25 22:45:00 -04:00
Paul Beckingham
e2aacb87f9 Arg
- Removed obsolete Arg.
2014-05-25 22:08:04 -04:00
Paul Beckingham
c40cb97cfb A3
- Removed all obsolete A3 code. Onward and upward.
2014-05-25 21:35:33 -04:00
Paul Beckingham
f59109cfab DOM
- Converted A3::is_attribute to Parser::canonicalize.
2014-05-25 21:33:05 -04:00
Paul Beckingham
4661cdf0b2 Build
- When A3.h is removed from Command.h, other include files need to be
  added elsewhere.  That means the dependencies were wrong.  Hmm.
2014-05-25 21:25:49 -04:00
Paul Beckingham
afe4b6883f Context
- Removed all A3 references.
2014-05-25 20:02:26 -04:00
Paul Beckingham
4b12c87c40 Context
- Eliminated call to A3::list.
2014-05-25 19:50:50 -04:00
Paul Beckingham
f87d7bd94a Context
- Converted from A3::find_command to Parser::getCommand.
2014-05-25 19:41:02 -04:00
Paul Beckingham
ce7506f4fc Parser
- Implemented ::getCommand.
2014-05-25 19:32:35 -04:00
Paul Beckingham
f908e2ae02 E9
- Removed obsolete E9, and remaining references.
2014-05-25 19:08:52 -04:00
Paul Beckingham
f495e7c385 A3
- Removed obsolete ::which_operator.
2014-05-25 19:02:44 -04:00
Paul Beckingham
3abff20a46 Code Cleanup
- Removed obsolete A3::postfix, Task::modify, Task::next_mod_group,
  Command::modify_task*.
2014-05-25 18:53:30 -04:00
Paul Beckingham
e7d733881a A3
- Removed obsolete ::extract_modifications method.
2014-05-25 18:00:44 -04:00
Paul Beckingham
fb639496d3 CmdDenotate
- Converted from A3 modifications to Task::modify.
2014-05-25 17:58:12 -04:00
Paul Beckingham
bbbe690307 CmdDelete
- Converted from A3 modifications to Task::modify.
2014-05-25 17:38:55 -04:00
Paul Beckingham
a1a58bdc32 CmdDone
- Converted from A3 modifications to Task::modify.
2014-05-25 17:35:06 -04:00
Paul Beckingham
03d4aacc5c CmdDuplicate
- Converted from A3 modifications to Task::modify.
2014-05-25 17:32:42 -04:00
Paul Beckingham
58bf88f425 CmdLog
- Converted from A3 modifications to Task::modify.
2014-05-25 17:30:49 -04:00
Paul Beckingham
6291f16e1d CmdAnnotate
- Converted from A3 modifications to Task::modify.
2014-05-25 17:28:56 -04:00
Paul Beckingham
969db3a9ed CmdStop
- Converted from A3 modifications to Task::modify.
2014-05-25 17:27:34 -04:00
Paul Beckingham
350b73cb8c CmdStart
- Converted from A3 modifications to Task::modify.
2014-05-25 17:24:59 -04:00
Paul Beckingham
e0e71bb065 CmdPrepend
- Converted from A3 modifications to Task::modify.
2014-05-25 17:23:32 -04:00
Paul Beckingham
0551e70967 CmdAppend
- Converted from A3 modifications to Task::modify.
2014-05-25 17:18:52 -04:00
Paul Beckingham
f2eb34d66a CmdAdd
- Converted from A3 modifications to Task::modify.
2014-05-25 17:12:32 -04:00
Paul Beckingham
3a71fac1ee Task
- Added Eval sources.
2014-05-25 17:02:55 -04:00
Paul Beckingham
79ac26cb02 Filter
- The domSource function is no longer static, and is prototyped in Filter.h
  for general use.
2014-05-25 16:57:46 -04:00
Paul Beckingham
5a0c07782e CmdModify
- Converted from A3 modifications to Task::modify.
2014-05-25 16:51:56 -04:00
Paul Beckingham
6f32fa9b54 Command
- Marked obsolete methods as such.
2014-05-25 16:51:36 -04:00
Paul Beckingham
1bdfb5d431 Task
- Implemented an overloaded ::modify method that walks the parse tree instead
  of iterating over an A3 list.
- ::modify takes a Task::modType argument, which specifieѕ how words are
  handled (replace description, prepend to description, append to description,
  add annotation), and this eliminates the need for multiple modify methods.
- Marked existing methods as obsolete.
2014-05-25 16:47:27 -04:00
Paul Beckingham
949063102a Diagnostics
- Further removal of diagnostic output.
2014-05-25 14:59:09 -04:00
Paul Beckingham
fa02eb4ed2 CmdCustom
- Eliminated A3.
2014-05-25 14:38:51 -04:00
Paul Beckingham
7688bdc6c4 Context
- Removed obsolete A3::dump call.
- Marked all a3 references as obsolete.
2014-05-25 14:33:46 -04:00
Paul Beckingham
4a4cdd6324 Eval
- Removed more diagnostics.
2014-05-25 14:30:02 -04:00
Paul Beckingham
d62c4428a9 Eval
- Removed exception handlers in ::infixParse, thereby relying on the caller to
  set up appropriate handling.
2014-05-25 14:26:20 -04:00
Paul Beckingham
d79c86ebb5 Eval
- ::dump method now colorizeѕ tokens according to a map.
2014-05-25 14:22:19 -04:00
Paul Beckingham
fee493bcc0 Eval
- Removed std::cout diagnostics, stubbed the A3::dump replacement.
2014-05-25 14:11:55 -04:00
Paul Beckingham
6b2a71770d Code Cleanup
- Removed unnecessary diagnostics.
2014-05-25 13:48:26 -04:00
Paul Beckingham
c0c1eca0fc Filter
- Filter diagnostics include which data file was loaded.
2014-05-25 13:21:36 -04:00
Paul Beckingham
f8bb948b90 Text
- Added formatter for <int, int, std::string>.  There cannot be many
  combinations remaining.
2014-05-25 13:18:30 -04:00
Paul Beckingham
9bea83c2c3 Filter
- Generates debug message about filtering process.
2014-05-25 13:07:56 -04:00
Paul Beckingham
79abddd03d Parser
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00