Commit graph

5200 commits

Author SHA1 Message Date
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
Tomas Babej
96d6fb145f TDB2: Add capability to purge tasks out of data files 2016-03-19 21:46:18 -04:00
Paul Beckingham
7af844fde5 CmdDiagnostics: Typo 2016-03-17 17:17:22 -04:00
Paul Beckingham
e220ee884c TW-1741: Warning "ignoring return value of ‘int ftruncate" while doing make on xubuntu15.10
- Thanks to Sunil Joshi.
2016-02-28 11:19:29 -05:00
Paul Beckingham
eb09df0e6a TD-64: sync conflict deleted all annotations of the task
- Thanks to Markus Beppler, Konstantin Vorobyev.
2016-02-28 11:09:00 -05:00
Paul Beckingham
bc34397e9b calc: Uses osName() to reduce string literals 2016-02-25 00:21:52 -05:00
Paul Beckingham
2d20f4d57b Cleanup: Converted all sprintf to snprintf 2016-02-25 00:19:38 -05:00
Paul Beckingham
88f6872190 Rules: Improved use of 'const' and 'auto' 2016-02-24 23:55:46 -05:00
Paul Beckingham
549b970e49 Cleanup: Removed redundant processing of OS name 2016-02-24 23:43:23 -05:00
Paul Beckingham
bfefd247c4 Context: Combined interactive.cpp and Context.cpp 2016-02-24 23:26:39 -05:00
Paul Beckingham
19b2151f12 Cleanup: Removed deprecated 'alias._query' setting 2016-02-24 23:19:15 -05:00
Paul Beckingham
716936acaa Text: Fixed extractLines where hyphenation is off 2016-02-23 22:15:00 -05:00
Paul Beckingham
db3cfc939d ColTags: Added missing calculation for tag max width 2016-02-23 21:56:23 -05:00
Paul Beckingham
c6a6f04697 ColProject: Use of const 2016-02-23 21:43:44 -05:00
Paul Beckingham
f2863c50b4 ColDepends: Use of const 2016-02-23 21:41:57 -05:00
Paul Beckingham
f1785c6da9 Text: Justification auto-truncates 2016-02-23 21:10:41 -05:00
Paul Beckingham
029f3af578 TW-1709: Parsing bug when doing "task undo"
- Thanks to Scott Kostyshak.
2016-02-23 21:05:53 -05:00
Paul Beckingham
31f0804207 ColDescription: Minimized use of wrapText
- This is a high-use measure/render method pair, and needs to be quick.
2016-02-23 20:55:45 -05:00
Paul Beckingham
fa035c3fde ColTags: Reduced total work
- When there is only a single tag, there is no need to split, sort and word wrap.
2016-02-23 08:39:03 -05:00
Paul Beckingham
0a0793b2ca dependency: No point scanning for circularity on 'add' 2016-02-22 22:52:11 -05:00
Paul Beckingham
140accc3d7 FS: Modified so that newlines are no longer added
- Now consistent with Taskserver and Common, and actually what we started
  with.
2016-02-21 11:04:13 -05:00
Paul Beckingham
29a7837fda TD-104: Unrecognized taskwarrior file format
- Thanks to Jeremy John Reeder, Reg.
2016-02-21 10:13:21 -05:00
Paul Beckingham
6ceca1d424 FS: Inherited fixes from Taskserver 2016-02-20 23:44:20 -05:00
Paul Beckingham
5666feaab9 CFS, Msg, ViewText: Code cleanup 2016-02-20 23:10:23 -05:00
Paul Beckingham
a1dbb0c294 Perofrmance: Removed redundant parsing in ISO8601d 2016-02-13 11:49:03 -05:00
Fidel Mato
3a9e128c4a L10N
- Corrections and newly translated strings from eng-USA to esp-ESP.
2016-02-11 15:11:30 -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
ec4e6af00d CLI2: C++11 2016-02-03 21:44:28 -05:00
Paul Beckingham
3b82be9c16 Filter: C++11 2016-02-03 21:12:18 -05:00
Paul Beckingham
cdd1c4681d Hooks: C++11 2016-02-03 21:06:49 -05:00
Paul Beckingham
c25f312477 ColTypeString: Removed obsolete code 2016-02-03 20:41:19 -05:00
Paul Beckingham
8be1c53d92 ColTypeNumeric: Removed obsolete code 2016-02-03 20:40:59 -05:00
Paul Beckingham
1fced1b8a9 ColTypeDuration: Removed obsolete code 2016-02-03 20:40:34 -05:00
Paul Beckingham
197b440cc2 Eval: C++11 2016-02-03 20:30:57 -05:00
Paul Beckingham
96f04ffc25 Variant: C++11 2016-02-03 20:22:30 -05:00
Paul Beckingham
f59e15185f Timer: C++11 2016-02-03 20:14:17 -05:00
Paul Beckingham
8577449960 FS: C++11 2016-02-03 19:58:22 -05:00
Paul Beckingham
9720e7dab4 Msg: C++11 2016-02-03 19:47:34 -05:00
Paul Beckingham
1579705fec Color: C++11 2016-02-03 19:39:38 -05:00
Paul Beckingham
4d2c97f2c3 RX: C++11 2016-02-03 19:26:52 -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
b61471ca0e TW-1710: Setting wait date on status:completed / status:deleted
- Thanks to Daniel Shahaf.
2016-02-02 23:24:06 -05:00
Paul Beckingham
8275181022 Task: ::getStatus no longer autovivifies 2016-02-02 23:23:14 -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