Paul Beckingham
8d43a35ca4
Unit Tests - util.t
...
- Added unit tests for formatSeconds and formatSecondsCompact.
- Fixed small boundary but in formatSeconds.
2009-12-09 17:12:50 -05:00
Federico Hernandez
b684ded845
Bug #347 - Confirmation dialog is lowercase for "all"
...
- changed confirmation to be now "All" for multiple changes
- added unit tests for all answers to multiple changes
2009-12-09 01:15:31 +01:00
Paul Beckingham
3003cdaf08
Code Cleanup
...
- Clarified autoComplete special case comment.
2009-12-06 11:40:19 -05:00
Paul Beckingham
2c0da35225
Bug Fix - #319 Removing tag from many tasks, incorrect change summary
...
- Fixed bug that caused task to not properly detect the removal of a
tag when obtaining confirmation from the user fora bulk modification
(thanks to Cory Donnelly).
2009-12-02 00:14:17 -05:00
Paul Beckingham
d44e9363f0
Enhancement - better confirmation
...
- Added feature to allow the user to quit when asked to confirm multiple
changes. Now task asks "Proceed with change? (Yes/no/all/quit)".
2009-11-21 17:39:50 -05:00
Pietro Cerutti
fdb359c180
Fix confirm() to handle EOF
...
Signed-off-by: Federico Hernandez <ultrafredde@gmail.com >
2009-10-21 22:19:37 +02: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
65595220f2
Enhancment - undo
...
- Now presents a side-by-side table for comparison during undo.
2009-07-02 22:15:10 -04:00
Paul Beckingham
21c3a0ef48
Code Cleanup - undo
...
- Improved description of most recent change.
- Added timestamp of most recent change.
2009-07-01 01:00:25 -04:00
Paul Beckingham
569d31da7a
Bug Fix - undo
...
- Fixed bug that didn't properly pop_back off the undo stack.
- Fixed bug that caused an attempt to call taskDifferences when one of
the tasks was "".
2009-07-01 00:46:15 -04:00
Paul Beckingham
0891d3ea63
Enhancement - undo
...
- Implemented new undo command.
- Removed old undelete command.
- Does not work yet.
2009-07-01 00:15:32 -04:00
Paul Beckingham
ed49546eac
I18N
...
- Removed obsolete 'undelete' string.
2009-06-30 18:35:06 -04:00
Paul Beckingham
ce4f26bdf3
Unit Tests
...
- Fixed a series of bugs to improve the test suite results.
2009-06-28 01:04:23 -04:00
Paul Beckingham
52052f91f9
Bug Fix - formatBytes
...
- Corrected code and tests regarding floating point rounding.
2009-06-27 20:39:33 -04:00
Paul Beckingham
6e4f60c4fe
Enhancement - confirmation on big changes
...
- Implemented confirmation on big changes. That means if the description is
changed, or more than 2 tasks are modified in a single command.
- Implemented taskDiff to detect differences between two tasks.
- Implemented taskDifferences to describe differences between two tasks.
2009-06-27 17:09:29 -04:00
Paul Beckingham
a56eeb9ec2
Enhancements - task diff
...
- Implemented util.cpp/taskDiff to generate a proxy description of the
difference between two tasks.
- Implemented unit tests for taskDiff.
2009-06-25 16:58:58 -04:00
Paul Beckingham
b6bc72c449
Enhancement - confirm3
...
- Added a tri-state confirmation function for confirming bulk operations
allowing the user to answer yes/no/all to and optionally allow,
disallow or bulk-allow big changes.
2009-06-23 14:56:15 -04:00
Paul Beckingham
62449d8b3e
Bug Fix - Calendar
...
- Fixed bug in calendar that failed to consider only pending tasks
when coloring in the calendar display, and when calculating the
most overdue task to be displayed.
- Modified util.cpp/formatSeconds to stop displaying fractional days,
because having a task age represented as 5.1 days is silly.
2009-06-22 16:59:51 -04:00
Paul Beckingham
fab37d3383
Enhancment - interactive shell
...
- At the request of several, and the great example of John Florian,
task has an interactive shell.
2009-06-21 08:39:53 -04:00
Paul Beckingham
aeaf443f67
Enhancement - statistics
...
- Added total data file size to statistics report.
- Implemented util.cpp/formatBytes.
2009-06-18 19:47:57 -04:00
Paul Beckingham
b742712bb1
Bug Fix - Cmd
...
- The two load* methods were conflicting - if loadCustomReports was
called first, it stomped on the commands list and prevented
loadCommands from running. Now there is only one method.
- Rewrote util.cpp/autoComplete to use STL over libc. Might reduce
code size.
2009-06-15 12:18:04 -04:00
Paul Beckingham
c65b6e9f48
Portability - util.cpp #warning
...
- Removed useless warning pragma - it only confuses people.
2009-06-15 10:37:32 -04:00
Paul Beckingham
9776495286
Code Cleanup - TDB removal
...
- TDB removed from all code, but source kept for further reference.
2009-06-10 22:54:56 -04:00
Paul Beckingham
71f4749d56
Code Cleanup
...
- Renamed files task.h -> main.h, task.cpp -> main.cpp. This is to
prepare for the next rename, which addresses the OpenBSD bug.
- Removed utf8.h, utf8.cpp from Makefile.am, which were inadvertantly
added.
2009-06-10 21:20:00 -04:00
Paul Beckingham
f43e47a739
I18N L10N - Sequence
...
- Sequence object localized.
- StringTable changed to inherit from std::map.
- StringTable copy constructor, assignment operator removed.
- Various source files tagged for further l10n work.
2009-06-06 14:11:18 -04:00
Paul Beckingham
ac871d9e8d
Enhancement - new age_compact column
...
- Added support for a new custom report column called "age_compact",
which is a more compact version of "age" (thanks to T. Charles Yun).
2009-06-03 02:19:25 -04:00
Paul Beckingham
4ede817ead
Code Cleanup - removed formatTimeDeltaDays
...
- Removed util.cpp/formatTimeDeltaDays, as it was a replica of
util.cpp/formatSeconds with a different signature. Worthless.
2009-06-03 00:58:49 -04:00
Paul Beckingham
04f60a4d8c
FF4 - header file reorg
...
- Added new util.h and text.h header files.
- Corresponding edits.
2009-05-17 23:29:53 -04:00
Paul Beckingham
2e39929d71
FF4 - util.cpp:convertDuration -> Duration
...
- Replaced util.cpp convertDuration function with Duration object.
2009-05-16 22:14:32 -04:00
Paul Beckingham
9d8777ec7d
Silver Bullet - file formatting
...
- 'before' file formatting completed. Now the hard part.
2009-05-13 15:03:06 -04:00
Paul Beckingham
4346f83f6e
Merge branch 'silver-bullet' into 1.7.0
...
Conflicts:
src/command.cpp
2009-05-13 11:55:21 -04:00
Paul Beckingham
95f07cf363
Bug Fix - UUID corruption on Solaris 8
...
- Fixed a bug with an unterminated buffer in uuid() (thanks to
Steven de Brouwer).
- Added Solaris 8 as another supported platform (thanks to Steven
de Brouwer).
2009-05-12 23:19:26 -04:00
Paul Beckingham
6762af8ffd
Enhancement - Edit command
...
- Added more fields to the edit command.
- Added a more useful slurp implementation.
- Updated advanced.html with directions on use.
2009-05-10 16:26:48 -04:00
Paul Beckingham
407ef39c54
Enhancement - edit command
...
- Mere beginnings of the edit command. No functionality yet.
2009-05-10 01:54:43 -04:00
Paul Beckingham
99dc72f26f
File Import
...
- Added format identifier code for task 1.4.3, task 1.5.0, todo.sh
2.0 and CSV.
- Implemented import for type text.
- Implemented util.cpp:slurp function.
- Gathered sample input files for import testing, and later, unit
tests.
2009-03-26 00:41:15 -04:00
Paul Beckingham
ca933d7f39
Unit Tests - duration
...
- Corrected unit tests that were mistakenly using 'week' instead of
'weekly'.
2009-03-20 20:02:59 -04:00
Paul Beckingham
74ea5b4ef6
Bug Fix - confirmation not processing newline
...
- Fixed bug where util.cpp:confirm was eating newlines, and not
rewriting the prompt. Consequently, after confirm asked the
question, and the user hit <Enter>, nothing was displayed but
the newline. Now uses std::getline.
2009-03-20 16:56:25 -04:00
Paul Beckingham
3d3d788961
Recurring Tasks - new "weekdays" frequency
...
- Added support for "weekdays" as a recurrence frequency, which skips
Saturday and Sunday, but is otherwise a daily recurrence. Thanks
to Chris Pride.
2009-03-18 23:29:25 -04:00
Paul Beckingham
5383943fa7
Enhanced export command
...
- Now sanitizes output by replacing ' with " in descriptions.
- Added 'recur' attribute to exported output.
- Removed recurring, deleted and complete tasks from the export.
2009-03-14 13:36:32 -04:00
Paul Beckingham
17de9fec9f
New Column - recur
...
- Added new column 'recur' for use in custom reports.
- Implemented Table::ascendingPeriod, Table::descendingPeriod allowing
sorting on the recur column.
- Added unit tests to both use the new column and test the sorting.
- Code cleanup.
2009-03-09 22:01:08 -04:00
Paul Beckingham
9988ecec5e
Portability
...
- Modified util.cpp to allow clean compilation on Solaris.
2009-03-04 09:37:00 -05:00
Paul Beckingham
2307dcab8a
Copyright Update
...
- bumped the year, on the source copyright notices.
2009-02-14 17:50:38 -05:00
Paul Beckingham
3d4beaf41f
- Enhanced split algorithm to be non-destrutive, and therefore faster
...
- Added autoconf testing to detect Solaris
- Added Solaris-specific flock implementation
2008-12-14 15:18:33 -05:00
Paul Beckingham
60b7d15a1d
- Fixed bug on Ubuntu whereby it wants std::string::size_type rather than unsigned int.
2008-07-11 02:05:02 -04:00
Paul Beckingham
2150642f9d
- Properly expands ~ characters in data.location
2008-07-09 22:56:39 -04:00
Paul Beckingham
6f7b9b7d42
- Recurring tasks!
2008-07-09 03:26:44 -04:00
Paul Beckingham
ba342eeeb6
- Recurring faintly working without (the very necessary) mask attribute
2008-07-08 01:40:07 -04:00
Paul Beckingham
6c7ad2b398
- Added error checking for "recur" without "due"
...
- Added error checking for "until" without "recur"
- Added status setting for "task add" regarding T::recurring
2008-07-05 02:02:10 -04:00
Paul Beckingham
72c7afe1a1
- Fixed relative day tests.
2008-07-05 01:22:22 -04:00
Paul Beckingham
ef7ff55535
- Supports durations like weekly, semiannual, daily ...
2008-07-04 19:57:21 -04:00