Tomas Babej
fd0d2fc917
CmdPurge: Prompt before purging a task
2016-03-20 14:39:43 -04:00
Tomas Babej
2b88260531
CmdPurge: Require GC run prior to execution
...
Since TDB2::purge method allows purging of the tasks only
on competed.data file, we need to make sure that all the tasks
that were supposed to be moved to completed.data have been
moved - in other words, we need to run GC.
This allows for diract usage of purge after delete, that is:
$ task <filter> delete
$ task <filter> purge
working as expected.
2016-03-19 21:46:29 -04:00
Tomas Babej
b3652800da
CmdPurge: Remove purged tasks from dependencies
2016-03-19 21:46:24 -04:00
Tomas Babej
1caa9daec0
CmdPurge: Add initial implementation
2016-03-19 21:46:21 -04:00
Paul Beckingham
7af844fde5
CmdDiagnostics: Typo
2016-03-17 17:17:22 -04:00
Paul Beckingham
2d20f4d57b
Cleanup: Converted all sprintf to snprintf
2016-02-25 00:19:38 -05:00
Paul Beckingham
549b970e49
Cleanup: Removed redundant processing of OS name
2016-02-24 23:43:23 -05:00
Paul Beckingham
28810447d1
TW-1768: Task sync failed: "Either your credentials are incorrect, or your account doesn't exist on the Taskserver."
...
- Thanks to Konstantin.
2016-02-08 22:54:41 -05:00
Tomas Babej
72f8fec136
CmdAdd: Display a specific feedback message for recurrence template tasks
2016-02-06 12:24:45 -05:00
Paul Beckingham
724a4a02a0
Code formatting
2016-02-06 12:13:19 -05:00
Paul Beckingham
5e4d387d83
Diagnostics: Added missing \n characters
2016-02-04 15:46:59 -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
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