From 54ea38b663d098acb7ae0ef223fe25f5d47e0c1a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 2 Apr 2017 14:04:44 -0400 Subject: [PATCH] Recurrence: Added notes --- src/recur2.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/recur2.cpp b/src/recur2.cpp index 8ab888d17..b7faed529 100644 --- a/src/recur2.cpp +++ b/src/recur2.cpp @@ -29,6 +29,14 @@ extern Context context; +//////////////////////////////////////////////////////////////////////////////// +// Checklist: +// - last: Most recently generated instance integer. The first instance +// generated is '1'. +// - Sync must merge duplicate N. +// - Remove recurrence.limit. Now always 1. It is not something that can be done +// with rtype:chained tasks. + //////////////////////////////////////////////////////////////////////////////// // Given an old-style task, upgrades it perfectly. // Note: Works for both parent and child. @@ -51,9 +59,14 @@ static Datetime calculateDueN (const Task&, int) //////////////////////////////////////////////////////////////////////////////// static void synthesizeTasks (const Task&) { + context.debug ("synthesizeTasks start"); + + // TODO 'due' = starting point + // TODO 'recur' = frequency + // TODO 'last' = index of most recently synthesized instance - + context.debug ("synthesizeTasks end"); } ////////////////////////////////////////////////////////////////////////////////