Paul Beckingham
fa22b98dc4
Legacy
...
- Created a home for all the legacy checks.
2011-09-12 22:39:00 -04:00
Paul Beckingham
157dad0026
Unit Tests
...
- Fixed broken unit test.
- Updated PUNCHLIST.
- Clarified task counting in helpers.cpp.
2011-09-12 01:38:35 -04:00
Alexei Romanoff
082f7d703e
[PATCH] GCOV support added for measuring code test coverage.
...
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-09-12 00:51:20 -04:00
Paul Beckingham
03e53ceaf2
Miscellaneous
...
- Minor edits of little consequence.
2011-09-11 23:06:51 -04:00
Federico Hernandez
cf9b5ca5c6
CmdCalendar
...
- fix for failing unit tests as calendar args are treated special
2011-09-12 00:40:01 +02:00
Paul Beckingham
9ada2f554a
Bug
...
- The modify command no longer claims that a task was modified if no
changes were applied.
2011-09-11 13:49:07 -04:00
Paul Beckingham
19f598419e
Bug
...
- Dependencies were disabled during TDB2 development and not re-enabled. Oops.
- Removed stray debug statement.
2011-09-11 13:23:47 -04:00
Paul Beckingham
dcc0ab19c2
Bug
...
- Fixed crash bug on Linux where Command::next_mod_group just walked off
the end of a vector.
2011-09-11 11:46:19 -04:00
Paul Beckingham
6e649f3f45
Recurring Tasks
...
- Rewrote updateRecurrenceMask, which was hopelessly muddled after the
TDB -> TDB2 change.
- Modified associated code.
- Improved signal to noise ratio in unit tests.
2011-09-11 01:56:56 -04:00
Paul Beckingham
6e8d2ca79c
Build
...
- Fixed broken build due to missing include. Just like the old days.
2011-09-11 01:19:26 -04:00
Paul Beckingham
038687b801
Helpers
...
- Forced the format(double) helper function to not use scientific notation,
which was causing problems.
2011-09-11 01:02:43 -04:00
Paul Beckingham
e31e80961a
Expressions
...
- Implemented Command::next_mod_group, which walks the A3 list looking for
consecutive grouped args for modification purposes.
2011-09-11 00:49:56 -04:00
Paul Beckingham
c7464a59b3
Parsing
...
- Tags may no longer begin with a digit.
2011-09-11 00:49:08 -04:00
Paul Beckingham
966501f5da
Parsing
...
- Implemented Nibbler::getUnsignedNumber.
2011-09-11 00:47:54 -04:00
Paul Beckingham
22e9d84074
Expressions
...
- Implemented E9:operator_negate, the unary -.
2011-09-11 00:47:11 -04:00
Paul Beckingham
1994240899
Parsing
...
- Created A3::is_operator to allow for more complex processing. Renamed
old A3::is_operator to A3::which_operator.
2011-09-10 13:25:46 -04:00
Paul Beckingham
562fd8ce3c
Helpers
...
- Implemented isTokenEnd, as a special case of isWordEnd, but considers
consecutive punctuation to be a set of individual tokens.
2011-09-10 13:24:54 -04:00
Paul Beckingham
2de82aa3c1
Enhancement
...
- Added the onProjectChange call to CmdModify.
2011-09-09 00:22:01 -04:00
Paul Beckingham
d37e46cc48
Enhancement
...
- Re-enabled the onProjectChange function, and upgraded it to TDB2.
Now it does a lot less, which is another way of saying it is faster.
2011-09-09 00:13:08 -04:00
Paul Beckingham
38c325d469
Bug - Tag Recognition
...
- Lowered the precedence of tag detection so that dates and durations are
recognized first.
- Modified the allowable tokens for a tag to be almost anything.
2011-09-08 22:49:58 -04:00
Paul Beckingham
8cd1efd609
Bug - Confirmation
...
- Confirmation for multiple task changes was not being sought.
2011-09-08 22:47:56 -04:00
Paul Beckingham
b9ad044eef
Expressions - hasnt (!~)
...
- The operator_nomatch was not properly defaulting a "true" result.
- Improved signal to noise ratio in bug.hasnt.t.
- Removed obsolete entries in ANALYSIS file.
2011-09-07 00:54:46 -04:00
Paul Beckingham
255af9e110
Nibbler
...
- Removed unnecessary addition of capturing parentheses to a regex.
2011-09-07 00:39:02 -04:00
Paul Beckingham
9ed0c5c86d
Shadow Files
...
- Re-enabled shadow files, but in a new, simpler manner, that allows the
rc.shadow.command to override settings like color if necessary.
- Modifed A3 to capture program name and store it in the Context.
2011-09-07 00:24:00 -04:00
Paul Beckingham
c62f36ef87
Bug - tags
...
- Modified A3::is_tag to allow @, # and $ in tag names.
2011-09-06 23:54:31 -04:00
Paul Beckingham
69aa041218
Bug - tags
...
- Modified A3::is_tag to allow @, # and $ in tag names.
- Reduced the precedence of tag parsing to ensure that durations are
detected first.
2011-09-06 23:52:38 -04:00
Paul Beckingham
bbe69fd129
Bug - substitutions
...
- Fixed bug in Task::substitute that contained incorrect assumptions about
regex matches.
- Fixed bug in Task::substitute that matched against the annotation name,
rather than the value for non-regex substitutions.
- Fixed bug that caused improper functioning of the 'global' substitution
indicator.
- Removed unnecessary capturing parentheses that were added for regex searches.
2011-09-06 23:36:45 -04:00
Paul Beckingham
2ab11655db
Bug - regular expressions
...
- Fixed bug where regexec was not being properly called.
- Fixed bug where multiple subexpressions were not being properly handled.
- Fixed bug that allowed regex matching to run off the end of a string.
- Fixed bug that causes regex captures to not be properly offset into the input
string.
- Removed () from unit tests.
2011-09-06 23:18:26 -04:00
Federico Hernandez
a8759c9196
Bug fix - Task.cpp
...
completing a task did set a entry date to completed date.
2011-09-07 00:10:40 +02:00
Federico Hernandez
15c939c3d7
Nibbler
...
- using wrongly ispunct instead of isPunctuation
2011-09-05 22:36:57 +02:00
Paul Beckingham
59d184e2db
Bug - Expressions
...
- Fixed a bug that confused left and right operands.
- Fixed a bug where E9::coerce was dropping data.
2011-09-05 14:11:10 -04:00
Paul Beckingham
60c45b5035
Bug
...
- Fixed bug in statistics command that gave zero counts for pending,
waiting and recurring tasks.
- Made some counting code more efficient.
2011-09-05 11:26:58 -04:00
Paul Beckingham
56b9b23988
L10N Review
...
- Reviewed (and made notes) of all commands for the L10N punch list.
2011-09-05 11:13:19 -04:00
Paul Beckingham
297ec6dd1f
Bug - timesheet
...
- Converted the timesheet report to use raw word arguments instead of
filters.
- Uses new TDB2:all_tasks method.
- Cleaned up unit tests.
2011-09-05 10:47:38 -04:00
Paul Beckingham
195c7d5142
TDB2
...
- Added TDB2::all_tasks as a helper function to load and combine tasks
from pending and completed.
2011-09-05 10:45:58 -04:00
Paul Beckingham
47b948c866
Command - synchronize
...
- Added a placeholder synchronize command, which will be implemented
in mumble for the mumble mumble.
2011-09-05 08:49:10 -04:00
Paul Beckingham
751e8e7f90
Import YAML
...
- Implemented the import-yaml.pl external script.
- Added unit tests.
- Fixed problem where the pending tasks were not loaded prior to uuid
verification.
2011-09-05 01:11:37 -04:00
Paul Beckingham
fa973f734b
Safety Valve
...
- Added safety valve processing. Whenever a write-command omits a
filter, the command will affect every task. This is dangerous.
If rc.confirmation is disabled, the command is terminated.
2011-09-04 08:44:22 -04:00
Paul Beckingham
f74c33dc02
Bug
...
- Fixed a silly bug whereby TDB2::gc, once it loaded the data, wiped the TF2
objects, such that TDB2::commit didn't know there was data to write.
Hmm. Time for a vacation.
2011-09-03 16:32:30 -04:00
Paul Beckingham
8bf1386b78
Bug
...
- Fixed an even worse bug whereby TDB2::gc never even bothered to load
the data before running the GC. Sigh.
2011-09-03 16:31:03 -04:00
Paul Beckingham
1e510f66ef
Bug
...
- Fixed nasty bug whereby TF2::clear wiped the file names (pending.data etc) and
so any subsequent TDB2::commit never even opened the file. Yikes.
2011-09-03 16:30:15 -04:00
Paul Beckingham
1691ce2764
Code Cleanup
...
- I think the 'show' command may have prematurely obsoleted something useful,
so added a note to review.
2011-09-03 16:23:50 -04:00
Paul Beckingham
b84f212112
Code Cleanup
...
- Removed obsolete 'foreach' macro.
2011-09-03 13:54:11 -04:00
Paul Beckingham
f245fa808c
Code Cleanup
...
- Removed obsolete TDB, Att and Location code.
- Removed associated unit tests, unfortunately all ones that pass.
2011-09-03 13:17:03 -04:00
Paul Beckingham
1b3ac82d7e
TDB2
...
- Eliminated the now obsolete TDB code from Context.
- Added auto-commit code for commands that auto-gc.
2011-09-03 13:02:17 -04:00
Paul Beckingham
5d6f6e2073
TDB2
...
- (Partially) Converted helper code to TDB2.
2011-09-03 13:01:30 -04:00
Paul Beckingham
6c9bebec24
TDB2
...
- (Partially) Converted dependency handling code to TDB2.
2011-09-03 12:59:57 -04:00
Paul Beckingham
b05d4535f8
TDB2
...
- Converted 'project' and '_projects' commands to TDB2.
2011-09-03 12:59:30 -04:00
Paul Beckingham
72627268dc
TDB2
...
- Converted 'tags' and '_tags' commands to TDB2.
2011-09-03 12:58:57 -04:00
Paul Beckingham
a04ce55544
TDB2
...
- Added a necessary TDB2::commit call.
2011-09-03 12:58:18 -04:00