Commit graph

1779 commits

Author SHA1 Message Date
Paul Beckingham
628fbd6b64 Enhancement
- Broke out the "taskDiff" family of functions into feedback.cpp,
  which is where all subsequent user feedback text composition will
  occur.
2011-03-29 23:40:19 -04:00
Paul Beckingham
036aee2a8d Enhancement
- Began the new Context::initialize2, which will offer a different
  rabbit-hole to go down.  This method will instantiate Command
  objects and the new Parser, rather than the monolithic alternative
  dispatch method and command.cpp/report.cpp/custom.cpp files.
2011-03-29 23:38:16 -04:00
Paul Beckingham
976e480903 i18n
- Added en-US.h, which will be a header file full of string defines.
- Added logic to i18n.h to include en-US.h based on cmake command
  line argument (cmake ... -DPACKAGE_LANGUAGE=1).
- Added one sample string.
2011-03-29 23:18:02 -04:00
Paul Beckingham
ed3b4d587c Enhancements
- Added src/columns/*.{h,cpp}
- Added src/commands/*.{h,cpp}
2011-03-29 23:16:05 -04:00
Paul Beckingham
84fb46f233 Code Cleanup
- Eliminated 'Sensor' code and tests, which would only have been used
  for the interactive version.
- Eliminated obsolete ui code.
2011-03-27 12:36:25 -04:00
Paul Beckingham
c502f0216a i18n
- Eliminated StringTable.{h,cpp}.
- Eliminated strings.<locale> files.  This is not the way to do it.
2011-03-27 02:06:09 -04:00
Paul Beckingham
3cccdf722e Bug #723
- Fixed Bug #723, which displayed a misleading message when the output was
  truncated to a page.
2011-03-26 10:59:02 -04:00
Paul Beckingham
a1d47e9509 Bug #703 - /foo/bar/g doesn't operate globally on annotations
- Fixed bug #703 that was failing to reset a moving pattern cursor between
  annotations.
- Added unit tests to  verify this functionality.
2011-03-26 09:50:26 -04:00
Cory Donnelly
437bb95f01 Standardized journal messages
- Made journal messages more consistent with one another
2011-03-23 17:28:55 -04:00
Paul Beckingham
7c9ebec557 Feature
- Enhanced diagnostics command.
2011-03-20 17:12:47 -04:00
Paul Beckingham
81e6af427f Bug
- Corrected terminal size calculation for "limit:page", which was
  assuming 2 blank lines, instead of 1.
2011-03-20 11:20:16 -04:00
Paul Beckingham
bd0dbe3af6 Unit Tests, Documentation
- Added 'ids' command to task.1.in.
- Added unit test for 'ids' command.
- Reformatted 'help' output for the ~ modifier.
2011-03-19 01:18:56 -04:00
Dan White
4b71fa73f8 Feature #710
- Added feature #710, which adds an attribute modifier prefix to return the
  complement of a filtered set (thanks to Dan White).
- Added missing description to the 'help' command.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-03-19 00:56:45 -04:00
Cory Donnelly
994404d6e1 Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-03-16 08:40:02 -04:00
Cory Donnelly
45e0ef20da Bug #708
- Project completion report didn't account for multiple changes made
  at once. For example, task 1-3 done, task 4-6 del, task 7-9 pro:new
2011-03-16 08:37:29 -04:00
Paul Beckingham
9470e9af17 New 'ids' command, and stdin reading
- New 'ids' command that returns a filtered set of task ID numbers, instead
  of the actual tasks.  For advanced pipeline use.
- Now supplements the command line with data read from standard input, which
  allows commands like:  echo 'add Pay the bills' | task
2011-03-16 00:53:29 -04:00
Cory Donnelly
dd8bceecf7 Bug #706
- Journal was recording deletions twice, once as a deletion and
  again as a modification to ""
2011-03-14 22:55:29 -04:00
Cory Donnelly
d3447165c8 Bug #704
- Polished journal messages
2011-03-14 21:35:51 -04:00
Cory Donnelly
18f82c1207 Logic error in util.cpp
- taskDiff() was returning true whenever beforeOnly.size() or
  afterOnly.size() were nonzero, which made no sense and was
  clearly a typo
2011-03-14 19:44:43 -04:00
Johannes Schlatow
6d6a5492bb Feature #700
- added tab-completion of built-in tags
2011-03-13 01:32:44 +01:00
Johannes Schlatow
236b017d57 Merge/Uri support
- fixed autopush bug where e.g. 'ssh://' was omitted
  (Uri::parse() was wrongly modifying the data member)
2011-03-11 00:56:37 +01:00
Paul Beckingham
96d406960d Enhancement
- Corrected sorting to use std::stable_sort instead of std::sort, which is not
  guaranteed stable (thanks to Stefan Hacker).
2011-03-09 12:45:45 -05:00
Federico Hernandez
4de854a3c3 CMake
- zapped autoh*ll from build system. No more pain.
2011-03-04 03:58:55 +01:00
Federico Hernandez
10ef12b008 CMake
- cmake variables for the different installation paths
  (thanks to Pietro Cerutti)
2011-03-01 18:59:40 +01:00
Federico Hernandez
73fd2cefca Build system
- missing source code files for deprecated autotools
- exclude test cmakefile in packaged source
2011-02-16 23:39:45 +01:00
Cory Donnelly
9efe1d45cc Bug #677
- _query incorrectly displayed 'No tasks specified.' message when 'No matches'
message is more appropriate
2011-02-13 21:12:30 -05:00
Johannes Schlatow
ea57b560d9 Bug
* fixed bug in merge command where the first match of a uuid in
  pending.data was on the depends attribute
2011-02-13 01:51:34 +01:00
Paul Beckingham
f93273ef23 Related to bug #649
- You can no longer directly complete or delete parent recurring tasks.
2011-02-12 15:30:05 -05:00
Paul Beckingham
6608cbf287 Code Cleanup
- Removed tabs.
2011-02-12 15:14:00 -05:00
Paul Beckingham
a65fe591b8 Bug #634
- Fixed bug #634, so that 'undo' obeys the 'confirmation' setting (thanks to
  Steve Rader).
2011-02-12 15:08:57 -05:00
Paul Beckingham
2ac5c2f897 Bug #628
- Fixed bug #628, where dateformats containing spaces were not properly
  parsed (thanks to Steve Rader).
2011-02-12 14:16:06 -05:00
Paul Beckingham
2e9bc3194b Bug #653
- Fixed bug #653, which caused undo information to be recorded when no changes
  were made by the 'edit' command.
2011-02-12 02:29:22 -05:00
Paul Beckingham
691931adf9 Bug #485
- Fixed bug #485, which caused filters of 'recur' to fail for partial matches
  (thanks to T. Charles Yun).
2011-02-12 01:39:25 -05:00
Paul Beckingham
b2828b9702 Bug #656
- Fixed bug that caused multiple recurring child tasks to be generated
  under certain circumstances.
- Removed text.t.cpp tests that are not in task.
- Added Bryce Harrington to AUTHORS file.
- Corrected tests that were broken by the fix.
2011-02-12 01:00:33 -05:00
Paul Beckingham
ea374c05df Bug
- Edit wasn't properly parsing annotation entry dates since a recent
  commit changed the length of the pattern used to find annotations.
2011-02-09 00:17:27 -05:00
Paul Beckingham
036d77e08f Bug
- Disallowed @ and / from an attribute name or modifier.  This causes
  input like 'user@host:path' to now be parsed as description, and not
  as an unrecognized attribute.
2011-02-04 12:14:52 -05:00
Paul Beckingham
783a326b11 Bug #641
- Fixed bug #641, where certain reports broke when 'dateformat' differed from
  'dateformat.report'.
2011-02-04 11:16:14 -05:00
Paul Beckingham
a650847201 Bug #671
- Fixed bug #671, removing the claim in the 'edit' command claims that
  description text can wrap over multiple lines, because it cannot.
2011-02-04 10:44:40 -05:00
Paul Beckingham
7e1e187d6c Export
- Added the alias 'export.json' that maps to the _query command.
2011-02-04 10:25:43 -05:00
Cory Donnelly
6b5253e6a0 Bug #669
- A test for due date < wait date in command.cpp only sometimes added
  an extra context.footnote complaining about the condition and was removed.
2011-01-31 18:31:57 -05:00
Paul Beckingham
074ae41ee6 Documentation
- Clarified that the 'all' report does not have a filter, and can
  therefore show all tasks, including recurring parent tasks.
2011-01-29 12:01:32 -05:00
Paul Beckingham
06e15b6e25 Regex
- Removed regex support (controlled in main.h by #ifdef FEATURE_REGEX),
  because it has proven buggy.
2011-01-25 23:54:44 -05:00
Paul Beckingham
18aa5c5b69 JSON
- Tags are now a JSON array:  "tags":["one","two"]
2011-01-25 23:17:28 -05:00
Paul Beckingham
2d50d1cbf5 Bug
- The .not modifier was accidentally inverted when rc.regex=on.
2011-01-23 01:31:04 -05:00
Paul Beckingham
ad2614c452 Bug #651
- Fixed bug #651, which broke the edit command when a task description
  contained certain tokens (like 'Due:').
2011-01-23 00:54:54 -05:00
Paul Beckingham
eaf184c833 Bug
- The _query command now generates JSON with the string entities
  properly encoded.
2011-01-23 00:08:47 -05:00
Paul Beckingham
57c1983e07 Code Migration
- Migrated taskd JSON parser into task, to provide encode/decode
  capability to Task::composeJSON.
- Migrated taskd utf8 code, replacing old unused code.
- Added unit tests or JSON.
- Migrated Tree updates from taskd.
2011-01-22 23:33:47 -05:00
Paul Beckingham
2f4e0d9e17 Bug #654
- By misplacing a } I broke the info command for tasks without undo
  history, which subsequently broke 28 unit tests.
2011-01-22 23:20:26 -05:00
Cory Donnelly
6fd2fb08bb Bug #652
- Removed extra line in edit.cpp introduced by the patch discussed in Bug #618
2011-01-22 19:44:44 -05:00
Paul Beckingham
8ed1cc6006 Bug
- The _query command emitted this:
    [ {}, {}, {} ]
  which is not valid JSON.  It should instead be:
    {}, {}, {}
2011-01-21 11:59:51 -05:00