Commit graph

5569 commits

Author SHA1 Message Date
Paul Beckingham
1355571876 Bug Fix - #252
- Fixed bug that prevented the chaining of two attributes with
  different modifiers to effect a date range, such as:
    task ls due.after:8/1/2009 due.before:8/31/2009
  Thanks to John Florian.
2009-08-05 10:15:33 -06:00
Paul Beckingham
d3fcd40279 Bug Fix - Bug #248
- Fixed bug where both single and double quotes are stored as
  ampersand-quote-semi-colon, leading to the gradual conversion of
  one to the other.  Fix is backward compatible.  Thanks to John
  Florian.
2009-08-05 07:24:00 -06:00
Paul Beckingham
c4dcdbff0f Unit Tests - range
- Added unit tests to check the behavior when a data range is created
  with "task list due.before:... due.after:...".
2009-08-04 17:24:06 -06:00
Paul Beckingham
d39e45841d Bug Fix - Bug #241
- Fixed bug #241 that caused redirected output to retain color control codes
  for colored header and footnotes (thanks to John Florian).
2009-08-04 16:59:52 -06:00
Paul Beckingham
b28575625e Bug Fix - Bug #243
- Fixed bug that caused due dates and recurrence periods to be quoted on
  export, which then caused confusion on a subsequent import (thanks to
  John Florian).
2009-08-04 16:47:49 -06:00
Paul Beckingham
fc8f8957c4 Bug Fix - recurring task with no due date
- A recurring task may not be added without a due date.  Previously,
  this restriction only applied to modified tasks.
2009-08-04 16:26:23 -06:00
Paul Beckingham
0499bfff49 Bug Fix - Bug #242
-  Fixed bug that caused the reported ID after an add to be incorrect.
2009-08-04 16:08:56 -06:00
Paul Beckingham
af49ccf508 Bug Fix - wrong .taskrc file in message
- When a .taskrc file is overridden (with rc:...) task still refers to
  the default file name in output.
2009-08-04 16:01:20 -06:00
Paul Beckingham
7b0edfdeba Unit Test - recurring task with no due date
- Should generate error, but doesn't.
2009-08-03 07:38:22 -06:00
Paul Beckingham
8488cbd1a6 Bug Fix - #231 time_t/int collision on 32-bit systems
- Fixed bug #231 by removing the operator int () cast from the Duration
  class.  On a 32-bit system, "time_t" may be defined as "int", in
  which case the int cast and time_t cast are essentially duplicates.
  Thanks to Pietro Cerutti, who also provided a patch.
2009-07-26 16:11:14 -04:00
Paul Beckingham
90d53245c3 Merge branch '1.8.0'
Conflicts:
	.gitignore
	AUTHORS
	ChangeLog
	DEVELOPERS
	Makefile.am
	NEWS
	README
	configure.ac
	doc/man/task.1
	doc/man/taskrc.5
	src/T.cpp
	src/T.h
	src/TDB.cpp
	src/TDB.h
	src/command.cpp
	src/edit.cpp
	src/import.cpp
	src/parse.cpp
	src/report.cpp
	src/rules.cpp
	src/task.cpp
	src/task.h
	task_completion.sh
2009-07-21 19:15:54 -04:00
Paul Beckingham
e8fc210ab0 Bug Fix - #206
- Fixed bug that prevented "task list start.after:1/1/2009" from
  working.  Big, nasty bug.
2009-07-18 00:49:04 -04:00
Paul Beckingham
e5f2b0c7d1 Bug Fix - #219
- Missed a spot.
2009-07-17 08:49:34 -04:00
Paul Beckingham
6c2fc108b4 Bug Fix - #219
- Fixed bug in timesheet report.  It was using color without regard
  to whether the output was to a TTY or not.  Thanks to John Florian.
2009-07-16 22:14:50 -04:00
Paul Beckingham
9100217da0 Bug Fix - #213
- Fixed bug that ignored the fact that std:cin was closed by a Ctrl-D
  in the "shell" command.  Thanks to Ian Mortimer.
2009-07-16 22:03:11 -04:00
Paul Beckingham
c5809b6b8d Bug Fix - #209
- Not a fix, but working towards a fix.  When a recurring task is edited,
  the other sibling tasks are not modified.  This is difficult to do.
  Perhaps we can skip for 1.8.
2009-07-14 21:20:43 -04:00
Paul Beckingham
67debb93f7 Enhancement - complete.all.*
- Now supports "rc:complete.all.projects" to show all historical
  project names.
- Now supports "rc:complete.all.tags" to show all historical tags names.
2009-07-12 22:59:13 -04:00
Paul Beckingham
8bf0f1176b Enhancement - _config
- Merged Fredde's _config command with prior bug fix.
2009-07-12 22:48:38 -04:00
Paul Beckingham
e2da1d0a9a Bug Fix - #205
- Fixed bug in modify and append that was erroneously reporting "No
  changes" when a bulk update occurred.
- Added bug.bulk.t unit tests to cover this example.
2009-07-12 18:38:57 -04:00
Paul Beckingham
b02c11be0e Bug Fix - #203
- Zero-length command line project was being compared to a zero-length
  truncated task project, and always matching.  Thanks to John Florian.
2009-07-12 14:27:26 -04:00
Paul Beckingham
ab3de212bf Bug Fix
- Conditional compilation (via FEATURE_NCURSES_COLS) to either use
  ncurses COLS and LINES global variables, or determine these from
  the WINDOW structure.
2009-07-12 14:01:36 -04:00
Paul Beckingham
9fb5b34759 Code Cleanup
- Removed parse.t from .gitignore.
2009-07-12 13:49:24 -04:00
Paul Beckingham
81df2f2b19 Bug Fix
- ncurses failed to build on Snow Leopard without this change.
2009-07-12 13:09:52 -04:00
Paul Beckingham
4439c07516 Bug Fix - #196
- Fixed bug that caused an unexpected number of tasks to be displayed
  by the next command.
2009-07-09 23:07:50 -04:00
Paul Beckingham
f790d52f62 Bug Fix - #194
- Fixed bug that causes tasks awaking from their waiting state to not
  be written back to the pending file.
2009-07-09 22:16:58 -04:00
Paul Beckingham
c275ded443 Bug Fix - #195
- Fixed problem where the date 7/31/2009, when interpreted with
  rc.dateformat:m/d/y, is truncated to 7/31/20.
2009-07-09 21:58:19 -04:00
Paul Beckingham
9095934bc0 Bug Fix - #171
- Fixed bug that caused redundant information to be displayed when the
  "done" command was run.  Thanks to John Florian.
2009-07-08 23:17:33 -04:00
Paul Beckingham
bf3e69add6 Bug Fix #191
- Fixed bug that failed to anchor to end of string when searching for
  "cal" or "itask", but instead matched on elements of the path,
  like /usr/local/bin.  Thanks to Eric Farris.
2009-07-08 08:41:29 -04:00
Paul Beckingham
56a0997ecf Bug Fix
- Next report once again shows up in the help output.
2009-07-06 19:06:04 -04:00
Paul Beckingham
75054617c4 Bug Fix
- Fixed bug found by John Florian that fails to delete all recurring
  tasks, after task has confirmed that is what is wanted.
2009-07-06 18:51:18 -04:00
Paul Beckingham
e8716e68ae Bug Fix
- t.t.cpp was throwing an error because UUID is no longer set in Task::Task
  and so the sample task t3 was 'empty', which doesn't sit well with the
  round trip testing.
2009-07-06 01:24:35 -04:00
Paul Beckingham
cb1313779b Bug Fix
- Fixed bug that caused '--' arguments to be swallowed during processing
  for rc. parameters.
2009-07-06 00:58:05 -04:00
Paul Beckingham
51ad77e952 Bug Fix
- Fixed bug that was causing more non-unique UUIDs.  Here are the
  changes made:
    - Task.cpp, tasks are no longer provided with a UUID in Task::Task.
      This prevents the global context.task from being constructed before
      srandom/srand is called.
    - main.cpp, instead of srandom/srand (time (NULL)), it now uses
      struct timeval tv_usec member, which has a micro-second granularity,
      instead of time (NULL) which has a second granularity.  When
      "task add ..." is called in a unit test, several calls are made per
      second, this the random number generator is seeded with the same
      value.
    - Modified the unit test to cover all 6 tasks created, instead of
      5.
2009-07-05 23:59:11 -04:00
Federico Hernandez
b5d8045eb3 Updated man pages and task help documentation 2009-07-06 03:08:41 +02:00
Paul Beckingham
4c6d58549d Code Cleanup
- Working toward a clean build on Ubuntu.
2009-07-05 19:09:43 -04:00
Paul Beckingham
ebff1f48c2 Code Cleanup
- Working toward a clean build on Ubuntu.
2009-07-05 19:01:24 -04:00
Paul Beckingham
6e87e05e15 Enhancement
- Info report now includes number of undo transactions.
2009-07-05 13:51:30 -04:00
Paul Beckingham
fbeadfa313 Code Cleanup
- Removed unnecessary #include <iostream>
2009-07-05 13:48:09 -04:00
Paul Beckingham
e20e05ab54 Bug Fix
- Now allows abbreviations of aliases.
- No longer truncates commands after --.
2009-07-05 13:26:53 -04:00
Paul Beckingham
f2af6cc2dd Bug Fix
- Improved the misleading confirmation for bulk changes.  Now displays
  the task id and description before enumerating differences.
2009-07-05 12:43:03 -04:00
Paul Beckingham
519ee9a7a9 Code Cleanup
- Bumped version to 1.8.0.beta1.
- Fixed compiler warning on Ubuntu.
2009-07-05 11:33:02 -04:00
Paul Beckingham
6a55549588 Unit Tests - export
- Corrected unit tests after a change was made to the export format,
  to accomodate 1.8.0 -> 1.7.1 export/import downgrade.
2009-07-05 00:58:27 -04:00
Paul Beckingham
d63d396386 Unit Tests - alias
- Implemented unit tests to verify alias -> command, and alias ->
  alias -> command functionality.
2009-07-05 00:46:31 -04:00
Paul Beckingham
f7f8b1aee5 Bug Fix
- Fixed bug that generated an export file that was incompatible with
  task 1.7.1 import.  Now there is a smooth migration path back to
  1.7.1 in case 1.8.0 proves unacceptable.
2009-07-05 00:07:24 -04:00
Paul Beckingham
605eb397fc Bug Fix
- Fixed bug whereby rc: and rc. processing ignored the -- argument.
2009-07-05 00:06:41 -04:00
Paul Beckingham
6612f3e276 Enhancement - aliases
- Implemented command aliases.
2009-07-04 14:33:44 -04:00
Paul Beckingham
4af2b2dc13 Unit Tests - color.t
- Implemented tests for round-trip color name <--> code testing.
2009-07-04 14:11:10 -04:00
Paul Beckingham
69e839724d Documentation Update
- Removed a comment for 'ncurses' that looked a little too much like
  sarcasm.
2009-07-04 12:32:45 -04:00
Paul Beckingham
abcec98bef Unit Tests - fontunderline
- Implemented unit tests to verify the interaction between fontunderline,
  color, _forcecolor and :isatty.
2009-07-04 12:22:02 -04:00
Paul Beckingham
ca4bae558d Enhancement
- Added new _ids command to support tab completion scripts.
2009-07-04 10:28:55 -04:00