1. 18 Nov, 2015 2 commits
    • Bram Schoenmakers's avatar
      Handle negation of strict recurrences properly · b79ca582
      Bram Schoenmakers authored
      A strict recurrence is prefixed with +. Simply prepending a minus sign
      results in an invalid pattern -+5d. It should be +-5d. But strict
      recurrence is not of importance when calculating the todo's length, so
      discard the + altogether and replace it with a - to get -5d.
      b79ca582
    • Bram Schoenmakers's avatar
      %z is now a color block · 3773c9ae
      Bram Schoenmakers authored
      All sensible one-letter abbreviations are already taken (c for color, p for progress, h for hue, ...)
      3773c9ae
  2. 17 Nov, 2015 4 commits
    • Bram Schoenmakers's avatar
      Introduction of color blocks that produce a color based on an attribute · 2fe9110c
      Bram Schoenmakers authored
      A color block is basically a space with a background color and can be
      inserted with a special placeholder for list formatting (not in this
      commit). The color is determined by attributes of the todo. This
      implementation focusses on the due date.
      
      A color is assigned on a range from green to yellow to red, where red is
      overdue, yellow is nearly overdue and green is still 'safe'.
      
      This is relative to the length of the todo item (due minus start date).
      The start date can be determined in multiple ways:
      
      * an explicit start date with the t: tag
      * the due date minus the recurrence period (rec: tag)
      
      The recurrence takes precedence over the explicit start date in
      calculating the length. The primary reason is that t: is mainly used for
      filtering purposes.
      
      This is still experimental, I'm just pushing my work in progress here.
      
      TODO:
      
      (B) Add tests
      (C) Determine color based on other attributes such as importance,
          priority or a value of a user-specified tag
      (C) Revisit the Colors class to fit nicely in the design
      2fe9110c
    • Bram Schoenmakers's avatar
      Rename variable · 2753f348
      Bram Schoenmakers authored
      2753f348
    • Bram Schoenmakers's avatar
    • Bram Schoenmakers's avatar
      Merge branch 'split-filters' · eb240558
      Bram Schoenmakers authored
      eb240558
  3. 16 Nov, 2015 6 commits
  4. 15 Nov, 2015 1 commit
  5. 14 Nov, 2015 16 commits
  6. 11 Nov, 2015 4 commits
  7. 10 Nov, 2015 5 commits
  8. 09 Nov, 2015 2 commits