Commit graph

1145 commits

Author SHA1 Message Date
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
073ff9032d TW-1754: '\' at end of description in 'task edit' merges task with following task
- Thanks to Scott Kostyshak.
2016-02-02 23:35:30 -05:00
Paul Beckingham
f6a7a8720e TW-1697: Inconsistent failure mode on invalid task id
- Thanks to Daniel Shahaf.
2016-02-02 01:29:22 -05:00
Paul Beckingham
1187ad16cc CmdModify: Code cleanup 2016-02-02 01:04:40 -05:00
Paul Beckingham
32cf553d4e TW-188: short help text
- Thanks to David Patrick.
2016-02-01 18:38:14 -05:00
Paul Beckingham
c023e3e721 Sync: 'init' now uploads pending + completed/deleted tasks 2016-01-23 14:36:02 -05:00
Paul Beckingham
2fc1d83b55 C++11: Proper includes 2016-01-16 12:06:20 -05:00
Federico Hernandez
b87a9225eb Build: Added missing include
- Thanks to Ed Rankin
2016-01-16 17:05:22 +01:00
Paul Beckingham
7f3db8f201 TW-1714: Starting recurring task starts all recurrences
- Thanks to Robin Green.
2016-01-11 23:20:33 -05:00
Paul Beckingham
d564aac978 TW-1734: calendar gives an error when context is set
- Thanks to Simon Michael.
2016-01-11 22:44:47 -05:00
Paul Beckingham
60667dbcaa TW-1705: Directories in .task/hooks should not be reported as invalid hooks
- Thanks to Tomas Babej.
2016-01-11 22:30:35 -05:00
Paul Beckingham
92f22149c0 TW-1735: context with no subcommand should do something
- Thanks to Simon Michael.
2016-01-11 21:05:33 -05:00
Paul Beckingham
3ed7fe265e TW-1752: cleanup of diag output
- Thanks to David Patrick.
2016-01-11 16:27:15 -05:00
Paul Beckingham
fb13483cec Revert "Command: Removed obsolete method"
This reverts commit 796ec14c31.
2016-01-10 00:07:07 -05:00
Paul Beckingham
f6ecc08b51 CmdCount: Removed obsolete method 2016-01-09 23:47:05 -05:00
Paul Beckingham
796ec14c31 Command: Removed obsolete method 2016-01-09 23:46:46 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
7d6a7266d3 Config: Removed unused 'dom' configuration settings. 2015-12-27 09:29:37 -05:00
Tomas Babej
510d2e6377 Config: Remove redundant configuration variable shell.prompt 2015-12-26 13:26:08 -05:00
Paul Beckingham
f92219e5cd CmdInfo: Switched to use indices to make fewer string copies 2015-11-24 07:53:32 -05:00
Paul Beckingham
a6f8d93fe1 CmdVersion: Color only used for tty 2015-11-15 14:40:37 -05:00
Paul Beckingham
ec779bb0e8 CmdTimesheet: Color only used for tty 2015-11-15 14:39:08 -05:00
Paul Beckingham
271e28f609 CmdSync: Color only used for tty 2015-11-15 14:35:28 -05:00
Paul Beckingham
d8124d1aad CmdHistory: Color only used for tty 2015-11-15 14:31:55 -05:00
Paul Beckingham
116e5adaf2 CmdContext: Color only used for tty 2015-11-15 14:29:09 -05:00
Paul Beckingham
30a2ab8ea8 CmdShow: Color only used for tty 2015-11-15 14:24:31 -05:00
Paul Beckingham
c4f7e1a869 CmdTags: Color only used for tty 2015-11-15 14:22:18 -05:00
Paul Beckingham
9442df8342 CmdSummary: Color only used for tty 2015-11-15 14:21:55 -05:00
Paul Beckingham
802ff9df05 CmdUDAs: Color only used for tty 2015-11-15 14:21:38 -05:00
Paul Beckingham
7dc035d9ff CmdProjects: Color only used for tty 2015-11-15 14:20:43 -05:00
Paul Beckingham
9e2c6f8d47 CmdReports: Color only used for tty 2015-11-15 14:20:17 -05:00
Paul Beckingham
a863abf2b0 CmdStats: Color only used for tty 2015-11-15 14:19:12 -05:00
Paul Beckingham
79189c448c TW-1723: task info causes segfault
- Thanks to Roman Golovin.
- Calls like 'context.columns[name]' autovivify the key 'name' with a default
  ctor value, which ends up polluting the context.columns map with every unique
  attribute name, which is a lot of 'annotation_nnnnnnnnnn' attributes.
2015-11-15 12:57:26 -05:00
Paul Beckingham
743baf00cf TW-311: Estimated completion in burndown.daily shows impossible results
- Thanks to Michele Santullo.
- Although TW-311 references impossible results, there are two problems.
  First there is the algorithm that determines estimateѕ completion, and
  second there is the reference to wait dates. The algorithm has been replaced
  by something better, but wait dates have nothing to do with estimation.
- The 'burndown.bias' configuration setting is removed.
- The estimated completion is based on the net completion rate since the
  high water mark of total pending tasks, measured on a daily basis, regardless
  of the type of chart produced.
- Vim syntax updated.
- Docs updated.
2015-11-07 15:35:21 -05:00
Paul Beckingham
940c7a793f Portability: Fixed broken build for Cygwin and older GCC
- Thanks to Richard Boß.
2015-11-06 18:22:05 -05:00
Wilhelm Schuermann
8f8ad813cd Task: Remove std::map inheritance, clean up interface
- Make the Task object's interface more explicit by removing the
  std::map inheritance.
- Using this more explicit interface, remove unneeded ctors in order to
  allow the compiler to "Do The Right Thing"(tm).
  This leads to a performance improvement of 12% in the "add"
  performance test, and 7% for "import".
2015-11-04 20:33:52 +01:00
Paul Beckingham
5f1edbfce1 Revert "CmdEdit: Converted from strtol to std::stoi/stoul"
This reverts commit cf831a9b7c.
2015-11-02 18:39:41 -05:00
Paul Beckingham
639e04d853 Revert "CmdCalendar: Converted from strtol to std::stoul/stoi"
This reverts commit 3745f83a7b.
2015-11-02 18:39:29 -05:00
Paul Beckingham
665863809d Revert "CmdInfo: Converted from strtol to std::stoul"
This reverts commit 037514bcbf.
2015-11-02 18:39:12 -05:00
Paul Beckingham
03d564dd78 Revert "CmdStats: Converted from strtol to std::stoul"
This reverts commit 2b8ce968fc.
2015-11-02 18:38:59 -05:00
Paul Beckingham
49ad7c2ce2 Revert "CmdSummary: Converted from strtol to std::stoul"
This reverts commit 0d88df1c18.
2015-11-02 18:38:44 -05:00
Paul Beckingham
de43e34c5e Revert "CmdTimesheet: Converted from strtol to std::stoi"
This reverts commit 02f1fa371c.
2015-11-02 18:38:31 -05:00
Paul Beckingham
02f1fa371c CmdTimesheet: Converted from strtol to std::stoi 2015-11-01 22:08:24 -05:00
Paul Beckingham
0d88df1c18 CmdSummary: Converted from strtol to std::stoul 2015-11-01 22:07:46 -05:00
Paul Beckingham
2b8ce968fc CmdStats: Converted from strtol to std::stoul 2015-11-01 22:06:28 -05:00
Paul Beckingham
037514bcbf CmdInfo: Converted from strtol to std::stoul 2015-11-01 22:05:46 -05:00
Paul Beckingham
3745f83a7b CmdCalendar: Converted from strtol to std::stoul/stoi 2015-11-01 22:05:11 -05:00
Paul Beckingham
cf831a9b7c CmdEdit: Converted from strtol to std::stoi/stoul 2015-11-01 22:00:44 -05:00
Paul Beckingham
5d9ca9864e Cmd*: Moved include to top of list, per flint++ recommendation 2015-11-01 19:53:19 -05:00
Paul Beckingham
25b7f42810 CmdExport: Simplified looping with 'auto' 2015-11-01 13:50:45 -05:00