Commit graph

905 commits

Author SHA1 Message Date
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
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
1abda3900b CLI: Abstract adding new raw filter to a new helper method 2015-02-23 19:19:44 -05:00
Tomas Babej
09fe5be086 CmdContext: Add show subcommand 2015-02-23 19:19:41 -05:00
Tomas Babej
1a3550541b CmdContext: Add support for unsetting context 2015-02-23 19:19:38 -05:00
Tomas Babej
371ca27da0 CmdContext: Add support for setting context 2015-02-23 19:19:35 -05:00
Tomas Babej
5f3dd43893 CmdCompletionContext: Implement the context completion list 2015-02-23 19:19:32 -05:00
Tomas Babej
edb54a51b3 CmdContext: Add list subcommand 2015-02-23 19:19:29 -05:00
Tomas Babej
636f6bfd96 CmdContext: Add initial implementation of the delete subcommand 2015-02-23 19:19:24 -05:00
Tomas Babej
e91063426a CmdContext: Add initial implementation of the context define subcommand 2015-02-23 19:19:18 -05:00
Tomas Babej
a4d5ab07e9 CmdConfig: Abstract saving and removal of the configuration values into separate methods 2015-02-23 19:19:15 -05:00
Tomas Babej
49a7e46eaf CmdContext: Add initial plumbing 2015-02-23 19:19:08 -05:00
Paul Beckingham
26aff348d2 Lexer
- Replaced old digitsOnly() function with Lexer::isAllDigits.
2015-02-22 20:23:00 -05:00
Paul Beckingham
745aad0d27 Lexer
- Renamed Lexer2 to Lexer, it looks good enough to assume control.
2015-02-22 18:23:03 -05:00
Paul Beckingham
0cf18f3b16 Lexer2
- Integrated Lexer2 in place of Lexer. Tests fail.
2015-02-22 13:52:14 -05:00
Paul Beckingham
ec919a8677 TW-1534
- TW-1534 Urgency coefficient for user project disables 'info' output(thanks to
          Martin).
- Reimplemented 'information' command urgency details as a ViewText.
- Fixed math bug in rightJustify.
2015-02-14 12:50:10 -05:00
Tomas Babej
c483c8dda9 CmdExport: Generate recurrent tasks 2015-02-13 20:31:46 -05:00
Paul Beckingham
528e72062b Hooks
- Fixed the ::execute function used by Hooks and CmdCalendar to run commands,
  by following the convention:

    "The first argument, by convention, should point to the file name associated
     with the file being executed."
     (man execvp)
2015-02-07 14:08:58 -05:00
Paul Beckingham
4bdee56fa7 Configuration
- New 'recurrence' configuration setting can disable recurring task generation.
2015-01-25 15:41:31 -05:00
Paul Beckingham
6626207ad1 TW-1522
- TW-1522 Date format doesn't like hyphens (thanks to Scott Carter).
2015-01-25 14:49:02 -05:00
Paul Beckingham
547d9edb55 TW-1484
- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
2015-01-10 15:49:42 -05:00
Paul Beckingham
411fab3a27 Hooks
- Added debug output on startup, if a hook script is found and does not have
  a valid name.
2015-01-07 22:54:55 -05:00
Paul Beckingham
da6a57b203 Hooks
- The 'diag' command should indicate misnamed hook scripts (thanks to Tomas
  Babej).
2015-01-07 18:43:14 -05:00
Paul Beckingham
845fe047cc C++11
- Converted one source file to use an actual C++11 feature. If no one notices
  we can move forward and start using supported featues. If it's a problem,
  this commit gets rolled back.

  GCC 4.6 (released March 2011), and Clang 3.0 (releasd November 2011) both
  support N2930 (range-based for) which is the feature being tried here.
2015-01-04 22:01:22 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
1488c1c6fa TW-1, TW-1438
- TW-1 Recurring task message on the same task (thanks to Profpatsch).
2014-12-26 10:16:11 -05:00
Paul Beckingham
8795b0a692 TW-1447
- TW-1447 Not possible to filter on a UDA of type String (thanks to atomicules).
2014-12-25 17:18:44 -05:00
Paul Beckingham
f28ccdc8b1 CLI/CmdCalendar
- When the binary is named (or symlinked to) 'cal', then CLI::_args[0]
  must be clobbered, and restored for subsequent commands.
2014-11-17 19:13:19 -05:00
Wilhelm Schuermann
5b4793e750 CmdSync
- CmdSync::send () is TLSClient specific and breaks the build if libgnutls
  is not found, so #ifdef it.
2014-11-12 11:58:03 -05:00
Paul Beckingham
9936157704 TW01438
- TW-1438 Configuration setting rc.confirmation=no no longer disables
          confirmation requests (thanks to Adam Coddington).
2014-11-10 20:05:28 -05:00
Paul Beckingham
1dfefc0be8 CmdDenotate
- Code cleanup.
2014-11-09 12:23:56 -05:00
Paul Beckingham
273ede6d0f CmdCalendar
- Added argv[0].
2014-11-09 12:04:06 -05:00
Paul Beckingham
6324e3b63a CmdCustom
- Removed Parser details.
2014-10-31 22:59:32 -04:00
Paul Beckingham
bcc7e30dfc CmdCustom
- Adds CLI::analyze call, for equivalence debugging.
2014-10-31 10:19:46 -04:00
Paul Beckingham
4dd953bf44 CmdDenotate
- Removed unnecessary include.
2014-10-29 22:56:28 -04:00
Paul Beckingham
0fa0829670 CmdCalendar
- Converted from Parser to CLI.
2014-10-25 23:19:47 -04:00
Paul Beckingham
5cb753fd23 CmdDenotate
- Converted from Parser to CLI.
2014-10-25 23:10:37 -04:00
Paul Beckingham
6dbacf684c CmdUndo
- Converted from Parser to CLI.
2014-10-25 23:07:52 -04:00
Paul Beckingham
506d36d74e CmdBurndown
- Now composes title from CLI instead of Parser.
2014-10-25 23:02:45 -04:00
Paul Beckingham
fedafcd525 CLI
- Converted CmdCalendar from Parser to CLI.
2014-10-25 22:38:03 -04:00
Paul Beckingham
6973cfefb8 CLI
- Converted CmdConfig from Parser to CLI.
2014-10-25 22:37:43 -04:00
Paul Beckingham
d84b738940 CLI
- Converted CmdColumns from Parser to CLI.
2014-10-25 22:36:17 -04:00
Paul Beckingham
b3c89ae6f8 CLI
- Converted CmdExec from Parser to CLI.
2014-10-25 22:35:26 -04:00
Paul Beckingham
30f46ca5e7 CLI
- Converted CmdGet from Parser to CLI.
2014-10-25 22:32:59 -04:00
Paul Beckingham
07336450a9 CLI
- Converted CmdTimesheet from Parser to CLI.
2014-10-25 22:31:21 -04:00
Paul Beckingham
eb9a6e9608 CLI
- Converted CmdSync from Parser to CLI.
2014-10-25 22:29:24 -04:00
Paul Beckingham
68b59d1ac7 CLI
- Converted CmdShow from Parser to CLI.
2014-10-25 22:28:15 -04:00