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
66bd5fc3c0
Code Cleanup
...
- Integrated Context.config.
- Eliminated Config& as a function argument.
- Added extern references to Context where needed.
2009-06-03 02:03:49 -04:00
Paul Beckingham
98978c7c00
Code Cleanup
...
- Consolidated two forms of guess ().
2009-06-03 01:22:02 -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
9eb68881af
Unit Tests - Att
...
- Added modifier parsing unit tests.
2009-06-02 22:32:22 -04:00
Paul Beckingham
948380ce96
Enhancement - Context
...
- Context is now a global variable, otherwise it will end up being
passed to every function, which is essentially the same as global,
and will create a horrible coupling problem.
2009-06-02 22:26:02 -04:00
Paul Beckingham
2faa256a55
Enhancements - i18n
...
- Added attribute modifiers.
- Tagged all Mod strings for processing.
2009-06-01 21:38:59 -04:00
Federico Hernandez
ddfbfea715
Include statements to compile on Linux
2009-06-01 21:20:56 +02:00
Paul Beckingham
a98951a8c3
Enhancements - Complete Record parsing
...
- Enhanced Record unit tests
- Fixed broken Att unit tests
- Fixed broken Att
2009-06-01 01:25:07 -04:00
Paul Beckingham
75c220c352
Enhancements - i18n & Subst
...
- Created initial, empty strings files.
- Converted Subst to use Nibbler.
2009-06-01 00:15:08 -04:00
Paul Beckingham
7248267a72
Enhancements - T2 & Subst
...
- Implemented more helper functions in T2, prior to integration.
- Completed Subst.
- Completed Subst unit tests.
- Eliminated T::getAnnotationCount.
2009-05-31 23:43:11 -04:00
Paul Beckingham
4ed6dc3cce
Enhancements - Prep for T2 integration
...
- Added all T methods as reference to begin T2 integration. No
change in functionality.
2009-05-31 11:56:34 -04:00
Paul Beckingham
97145fbb07
Enhancement - Object integration
...
- Began the big integration festival by moving all objects out of
the sandbox.
- Hooked up one error message to context.stringtable, just to make
a point.
2009-05-31 01:49:24 -04:00
Paul Beckingham
fe4c8f3a9d
Enhancement - Object rename prior to integration
...
- T -> T2
- TDB -> TDB2
2009-05-31 01:10:39 -04:00
Paul Beckingham
766c2d3620
Unit Tests - Complete Att unit tests
...
- Covers parsing, composition.
2009-05-31 00:10:35 -04:00
Paul Beckingham
cebacc7273
Unit Tests - Nibbler
...
- Complete rewrite of all Nibbler tests, this time including all
boundary conditions.
2009-05-30 17:04:20 -04:00
Paul Beckingham
dde044c3d7
Enhancements - Nibbler upgrades.
...
- Enhancements to ensure that EOS conditions don't break calls.
2009-05-30 14:23:22 -04:00
Paul Beckingham
87ed7dad6c
Enhancements - config variables
...
- Added 'locale' and 'displayweeknumber' as valid configuration variables.
2009-05-30 14:21:21 -04:00
Paul Beckingham
5263147c83
Enhancements - Nibbler + parsing
...
- New Nibbler object greatly assists in FF4 parsing.
- Unit tests for Nibbler.
- Record now parses itself.
- Att now parses itself.
2009-05-29 01:47:39 -04:00
Paul Beckingham
7c0aee4a5f
Enhancement - Record object
...
- Added Record::Record (const std::string&)
- Added basic unit test for Record, which currently throws.
2009-05-28 21:31:48 -04:00
Paul Beckingham
4fda101f28
Unit tests - subst
...
- Implemented basic subst tests, awaiting Record/T integration before
this can be expanded.
2009-05-28 18:23:21 -04:00
Paul Beckingham
54789082c9
Enhancement - StringTable integration
...
- StringTable now integrated into Context.
- Docs updated for new "locale" configuration variable.
- StringTable unit tests implemented.
2009-05-28 17:59:55 -04:00
Paul Beckingham
7aace1b3db
Patch - Support tag exclusion filtering
...
- Now supports "-tag" in filters to filter out tasks that do not
have the specified tag (thanks to Chris Pride).
- Added unit tests to prevent regression.
- Updated the filter docs to include examples.
2009-05-28 11:30:30 -04:00
Paul Beckingham
0fcaf85652
Bug Fix - blank annotations now disallowed
...
- Prevented blank annotations from being added, and the description
being echoed as though it were the annotation applied (thanks to
Bruce Dillahunty).
- Added bug.annotate.t unit test to prevent regression.
2009-05-27 01:01:25 -04:00
Paul Beckingham
8dd9690a65
Enhancement - Subst and Keymap
...
- Implemented Subst object and mored it into place ready for integration.
- Moved skeleton Keymap into place. Not implemented yet.
2009-05-27 00:35:13 -04:00
Paul Beckingham
2083dc4175
Enhancement - Subst object
...
- Implemented most of Subst object, except Subst::apply
2009-05-27 00:30:42 -04:00
Paul Beckingham
de08c1d32e
Enhancement - Location object
...
- Moved Location object into place, ready for integration.
2009-05-27 00:00:54 -04:00
Paul Beckingham
2dc566a726
Enhancement - Record::composeF4
...
- Implemented Record::composeF4.
2009-05-26 23:17:49 -04:00
Paul Beckingham
4cbc67b30b
Enhancement - Location object
...
- Implemented Location object to link a path with the data files
found in that path.
- Integrated into TDB.
2009-05-26 22:32:18 -04:00
Paul Beckingham
7ff41a222a
Enhancement - Removed obsolete file format 1
...
- Removed support for (but not recognition of) file format 1, which
was never released.
2009-05-26 20:51:09 -04:00
Paul Beckingham
09c88baeaf
Patch - Added include file for stdlib
...
From 5fd187d590abd87f65a773d7294daa8eed582f97 Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 25 May 2009 21:27:56 +0200
Subject: [PATCH] Added include file for stdlib
2009-05-25 15:41:53 -04:00
Paul Beckingham
5ff44e2f33
Patch - Display week number in calendar report
...
From 9eec77085dd07940c02d9071bf2a374c9a9b54c8 Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 25 May 2009 09:28:38 +0200
Subject: [PATCH 2/3] Display dummy week of year number
From e2fc5d537863672c53ede96607508270f02aabaf Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 25 May 2009 13:43:14 +0200
Subject: [PATCH 3/3] Display weeknumbers in 'task cal' output
2009-05-25 10:56:24 -04:00
Paul Beckingham
6af093126e
Platform Testing - clean builds
...
- Added include files (thanks to Federico Hernandez)
2009-05-25 09:32:32 -04:00
Paul Beckingham
4532727a32
Unit Tests - args.t
...
- Implemented unit tests verifying '--' functionality.
2009-05-24 22:48:55 -04:00
Paul Beckingham
c223d38872
Enhancement - Supports '--' on the command line
...
- Using '--' on the command line separates the left hand side, where
task is free to interpret arguments in the usual way, and the right
hand side, which is then assumed to be part of the task description,
and is not interpreted by task.
2009-05-24 22:32:36 -04:00
Paul Beckingham
020604334e
Patch - Configurable week start day.
...
- Added ChangeLog entry.
- Modified timesheet report error message on incorrect weekstart
value to match that of calendar.
2009-05-24 20:28:07 -04:00
Paul Beckingham
d09630a3a0
Patch - Configurable week start day.
...
From 78fef7b934f6bcac7662c1646e2dd1f8ce4f3eca Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 25 May 2009 01:14:06 +0200
Subject: [PATCH] Configurable weekstart for task cal display
2009-05-24 20:14:49 -04:00
Paul Beckingham
41a6cdea22
Enhancement - Mod/Att interaction
...
- New unit tests for Mod object.
- Added new constructors to Mod object for ease of use.
- Added Mod handling in Att object.
- Added more Att unit tests.
2009-05-24 14:45:50 -04:00
Paul Beckingham
c860d58641
Enhancement - Att object
...
- Improved new Att object.
- Added new constructor to accommodate integer attribute values.
- Implemented unit tests.
2009-05-24 12:25:20 -04:00
Paul Beckingham
6600f9bac4
Code Cleanup - reorg
...
- Renamed 'objects' to 'sandbox', for clarity.
2009-05-23 23:41:00 -04:00
Paul Beckingham
2aa2a4e257
Enhancement - Filter object
...
- Almost implemented the Filter object.
2009-05-23 23:39:33 -04:00
Paul Beckingham
b7866b7434
Enhancement - FF4 Parsing
...
- Implemented TDB::load
- Changed Record to inherit from std::map <std::string, Att>
- Changed Filter to inherit from std::vector <Att>
2009-05-23 23:29:47 -04:00
Paul Beckingham
2e5e20e3e5
Enhancement - Record accessors
...
- Implemented a variety of get/set routines for Record.
2009-05-23 18:51:37 -04:00
Paul Beckingham
0eff6fa2b1
Code Cleanup - obsolete code
...
- Removed obsolete T::removeAttributes.
- Removed obsolete T::sequenceContains.
- Modified handleInfo so it no longer uses T::sequenceContains, and
instead uses filterSequence.
2009-05-23 18:30:51 -04:00
Paul Beckingham
8fa38fc4c3
Enhancement - Sequence range limiting
...
- Prevents overly large ranges. A bug was reported from a user
who tried this:
% task annotate 1 1-987654321
The 1-987654321 was assumed to be a valid range, and caused task
to consume all available memory. The workaround was:
% task 1 annotate 1-987654321
But it seems a good idea to range-limit sequences. Currently
it is 1000. Perhaps this should be configurable.
2009-05-23 17:59:45 -04:00
Paul Beckingham
f3724aa714
Enhancement - Sequence object
...
- Implemented sequence object to encapsulate the worries of parsing
sequences.
- Implemented unit tests.
2009-05-23 16:10:42 -04:00
Paul Beckingham
3cdfb733de
Enhancement - Sequence implemented
...
- Implemented a sequence object to handle ID sequences.
2009-05-23 12:26:34 -04:00
Paul Beckingham
17979e10f0
Enhancement - attributes and stringtable
...
- Modified Att to contain a vector of Mods, not std::strings, even
though a Mod is a std::string.
- Added a StringTable object to Context, to start getting the I18N
infrastructure in place before it is needed. Only a few strings
are expected to be migrated.
2009-05-23 10:32:07 -04:00
Paul Beckingham
df3fc9b723
Merge branch 'ff4' into 1.8.0
2009-05-23 09:46:13 -04:00
Paul Beckingham
dd8b181081
FF4 - Renamed directory to 'objects'
...
- Better name for new object directory.
2009-05-23 09:42:52 -04:00