Commit graph

2150 commits

Author SHA1 Message Date
Paul Beckingham
1a833af2a4 View
- Broke out View into ViewTask and ViewText, where the former uses an
  external std::vector <Task> as storage, thus eliminating the additional
  copy, and the latter that duplicates data and color into 2D vectors
  for rendering non-task data.
2011-05-10 22:49:20 -04:00
Paul Beckingham
ac60ee8d33 Code Cleanup
- Removed unnecessary include files.
2011-05-09 20:27:33 -04:00
Paul Beckingham
6464a2bca5 Color
- Implemented Color::strip which can remove the color codes from a
  string.
2011-05-09 20:24:16 -04:00
Paul Beckingham
93cfbf8dd2 Error Messages
- Improved error messages with specific field names rather than types.
2011-05-09 01:05:21 -04:00
Paul Beckingham
e22a07156f Reports
- Made the minimal report more minimal by using the description.truncated
  format.
2011-05-09 01:04:47 -04:00
Paul Beckingham
b4fba5b08d Next Report
- Removed all traces of the old next report.
- Removed rc.next support.
2011-05-08 19:33:05 -04:00
Paul Beckingham
5da435e70d Unit Tests
- Corrected several tests with respect to the new custom report columns
  and sort fields.
2011-05-08 18:10:03 -04:00
Paul Beckingham
868a7a2249 Reports
- Migrated all reports to use the new columns and sort fields.
2011-05-08 17:48:48 -04:00
Paul Beckingham
04033911c3 Unit Tests
- Modified several unit tests to accomodate new column names.
2011-05-08 17:14:28 -04:00
Paul Beckingham
0d9d01324e View
- Stubbed new render method for generic string grids.
2011-05-08 17:13:55 -04:00
Paul Beckingham
590273d4e8 Code Reorganization
- Changed the ::measure and ::render methods from pure virtual to
  virtual.
- Fixed bug where recur.indicator used the length of the indicator
  instead of the indicator.
- Implemented ColString.{h,cpp} to support generic Views based on
  strings, not tasks.
- Implemented newly virtual Column:: methods.
2011-05-08 17:12:05 -04:00
Paul Beckingham
00125c19d1 Unit Test
- Reworded new error message to more closely match an old error message,
  modified unit test accordingly.
2011-05-08 16:28:36 -04:00
Paul Beckingham
949e702c98 Bug
- ColDescription::measure did not correctly account for annotation size.
- The macro 'max' was used with expensive arguments, which get evaluated
  twice.
2011-05-08 15:15:48 -04:00
Paul Beckingham
001769997d Bug
- The entry.age column did not modify the column label of 'Added' to
  be 'Age'.
2011-05-08 15:14:42 -04:00
Paul Beckingham
f05fedfc7a Urgency
- Set initial urgency value to zero.
2011-05-08 11:04:57 -04:00
Paul Beckingham
041bcfdf21 Custom Reports
- Integrated new View in place of Table for all custom reports.
- Implemented legacy field mapping for columns and sort fields.
- Implemented rc.indent.report.
- Implemented rc.row.padding.
- Implemented rc.column.padding.
- Implemented rc.color.label.
- Modified default rc.indent.annotation from 1 to 2.
- Implemented urgency value caching.
- Implemented View truncation by line and row.
- Columns now know which report thy belong to, so they can use the
  rc.report.<report>.dateformat override.
- Assorted bugs remain.
2011-05-08 09:29:55 -04:00
Paul Beckingham
67a43d6099 Color
- Added 'inverse' swatch to the color command output.
2011-05-07 14:55:30 -04:00
Paul Beckingham
0231a6c412 Documentation
- Documented the 'inverse' color attribute.
2011-05-07 10:24:29 -04:00
Paul Beckingham
9c53810d3e Color - Inverse
- Added support for the 'inverse' color attribute.  Documentation
  still needs to be updated.  Thanks to David Patrick.
2011-05-07 10:19:55 -04:00
Christopher J. Pilkington
06cab5a1ca Bug #771
- Applied patch for Bug #771, which looks for libuuid if uuid_unparse_lower is
  not located (thanks to Christopher J. Pilkington).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-05-06 22:56:34 -04:00
Christopher J. Pilkington
62334201d1 Bug #770
- Applied patch for Bug #770, which fixed a broken build (thanks to Christopher
  J. Pilkington).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-05-06 22:51:36 -04:00
Paul Beckingham
250c98f03c Build
- Missing include file (thanks to Uli Martens).
2011-05-06 07:48:09 -04:00
Paul Beckingham
ebeb935975 Documentation update
- Caught up ChangeLog with missing entries for fixed bugs.
2011-05-06 00:11:57 -04:00
Paul Beckingham
7c38641263 Bug Fix #763
- Fixed bug #763, so that modifications to tasks are considered 'write'
  commands, and therefore update shadow files (thanks to Aikido Guy).
2011-05-05 23:51:36 -04:00
Paul Beckingham
58f2b9789e Bug #762
- Fixed bug #762, so that modifications to task are considered 'write' commands,
  and there update shadow files (thanks to Aikido Guy).
2011-05-05 23:49:51 -04:00
Paul Beckingham
4584da8895 Sorting
- Sorting implemented using a non-relocatable task list, a stable
  sort, and type-specific comparisons.
2011-05-05 22:37:54 -04:00
Paul Beckingham
9268e552d8 View
- Integrated new longestWord helper function.
2011-05-05 19:55:00 -04:00
Paul Beckingham
1d0ad3838b Text Handling
- Implemented longestWord, a UTF8-aware helper for word-wrapping.
2011-05-05 19:45:09 -04:00
Paul Beckingham
28b0960015 View
- Implemented 'description.default', 'description.count', and
  'description.oneline'.
- New 'indent.annotation' for the 'description.default' field format.
2011-05-04 23:15:17 -04:00
Paul Beckingham
f37a250894 View
- Implemented description.desc
2011-05-03 00:58:06 -04:00
Paul Beckingham
d0cbf43478 View
- Implemented due.countdown.
- Fixed formatting bug in description.truncated.
- Fixed bug in start.indicator.
2011-05-02 23:43:41 -04:00
Paul Beckingham
f9ab8f2a1c View
- Implemented start.active.
2011-05-02 22:53:47 -04:00
Paul Beckingham
27752bd510 Date
- Implemented Date::dayOfYear which yields a number, 1 to 366.
2011-05-02 22:13:15 -04:00
Paul Beckingham
b4be5991b8 View
- Implemented urgency.default.
2011-05-02 21:44:42 -04:00
Johannes Schlatow
7e1f8591f6 exec
- moved function that executes external commands from Transport.cpp
  to util.cpp since it is not dedicated to push/pull/merge anymore
2011-05-02 16:25:40 +02:00
Johannes Schlatow
398371d324 Bug #732
- changed the parsing of ssh:// URIs, paths are now absolute by default
2011-05-02 16:18:40 +02:00
Paul Beckingham
df8496edae View
- Implemented ColDate, ColDue, ColEntry, ColEnd, ColStart, ColUntil,
  ColWait.
- Implemented formats: default, iso, julian, epoch.
2011-05-02 01:50:48 -04:00
Paul Beckingham
8f00665268 Unit Tests
- Added extra format test for the Julian date format.
2011-05-02 01:50:15 -04:00
Paul Beckingham
5e851c4c98 View
- Implemented status.default, status.short.
2011-05-01 12:17:19 -04:00
Paul Beckingham
1506ee67f4 Code Cleanup
- Implemented Context::color to hide the color override details,
  then integrated it.
2011-05-01 11:53:13 -04:00
Paul Beckingham
b0ff1ff55b I18N
- Renamed text.cpp/characters to utf8.cpp/utf8_length, which is more
  appropriate.
2011-05-01 11:10:32 -04:00
Paul Beckingham
0b3281d01d View
- Implemented recur.default and recur.indicator.
2011-05-01 00:42:57 -04:00
Paul Beckingham
a033300a7d View
- Implemented depends.default, depends.indicator, depends.count
  field formats.
2011-04-30 18:31:15 -04:00
Paul Beckingham
ac69c02876 View
- Implemented (a fraction of) description columns.
2011-04-30 18:03:18 -04:00
Paul Beckingham
6974e48290 Configuration
- Added the new dependency.indicator, which works the same way the
  other indicator configuration variables do.
- Added documentation to taskrc.5.in.
2011-04-30 17:54:59 -04:00
Paul Beckingham
8a87db6163 View
- Implemented tags.default, tags.indicator, tags.count.
2011-04-30 00:06:07 -04:00
Paul Beckingham
ed7fc44685 View
- Implemented uuid.default and uuid.short.
2011-04-29 23:23:13 -04:00
Paul Beckingham
9849b4082d View
- Removed debugging code.
- Implemented intra, extra and alternate colorization.
- Column::factory now parses <type>.<style> and properly initializes
  the column objects.
2011-04-29 20:06:21 -04:00
Paul Beckingham
a722064d80 I18N
- Reviewed UTF8-safety.
2011-04-29 19:41:18 -04:00
Paul Beckingham
9fd819e3a0 Columns
- Implemented ColPriority, with 'default' and 'long' formats.
- Implemented ColProject 'parent' format.
2011-04-29 19:33:54 -04:00