Commit graph

658 commits

Author SHA1 Message Date
Paul Beckingham
d7da182450 Code Cleanup
- Renamed T2.h -> Task.h, T2.cpp -> Task.cpp.  This permanently avoids
  the problem where g++ on OpenBSD 4.5 fails because of the T class,
  which probably conflicts with C++ templates.  Who knows.
2009-06-10 21:35:07 -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
41bcdc2875 Documentation Update
- Delete checklist.txt, because it is (a) out of date, and (b)
  superceded by a much better document Fredde wrote.
2009-06-10 20:02:53 -04:00
Paul Beckingham
2da4f8ba7a Enhancements - Context::getWidth
- Added help function to reduce general code size.
2009-06-10 00:35:37 -04:00
Paul Beckingham
8dfe4bd30a Enhancement - usage and help commands
- Implemented usage and help commands.
2009-06-10 00:18:02 -04:00
Paul Beckingham
0449f9e0a2 Enhancements - version command
- Implemented version command.
- Corrected config handling in version command.
2009-06-09 23:58:05 -04:00
Paul Beckingham
f3f77a4c78 Enhancement - report stubs
- Stubbed all non-1.8.0 reports.
- Updated all handler signatures.
2009-06-09 22:48:03 -04:00
Paul Beckingham
a694ac05b1 Enhancement - colors report
- Implemented colors report.
- Commented out all other commands and reports.
- Eliminated obsolete findT function.
2009-06-09 22:21:56 -04:00
Paul Beckingham
940f4a85a4 Documentation Update
- Incorporated 1.7.1 ChangeLog details.
2009-06-09 19:55:44 -04:00
Federico Hernandez
f209e4aa93 Added new support email address 2009-06-09 17:34:27 +02:00
Paul Beckingham
aff828c51b Integration - "tags" report
- The "tags" report is now working under 1.8.0.
2009-06-08 01:24:33 -04:00
Paul Beckingham
fb5fe5f5b4 Integration - "projects" report
- "projects" report converted to 1.8.0.
- Relocated code from task.cpp to recur.cpp to allow unit tests to link
  without includign task.cpp and therefore main.
- Removed obsolete sandbox directory.
- Fixed bug where Config::load deleted the pre-loaded custom reports.
- Fixed bug where Cmd::valid failed to include custom reports properly.
2009-06-08 00:54:49 -04:00
Paul Beckingham
cf67e0142c Bug Fix - Att::match
- Fixed Att::match bug that succeeded when no modifiers were present.
2009-06-07 22:57:14 -04:00
Paul Beckingham
9d48faa759 Enhancements - T2::legacyParse
- T2 can now parse all supported legacy formats (ff2, ff3) as well as
  ff4.
- Added tag and attribute support to T2.
- Added T2 unit tests for all formats.
2009-06-07 22:17:11 -04:00
Paul Beckingham
72e3f76ed9 Integration - tag parsing
- Added +tag, -tag support to Context.
- Unit tests still broken.
- Task is still broken.
2009-06-07 17:27:08 -04:00
Paul Beckingham
bf4cf8e786 Unit Tests - Duration
- Added tests to cover Duration::valid
- Added negative test
2009-06-07 17:14:06 -04:00
Paul Beckingham
ed39b88719 Integration - Context::parse
- Integrated Att parsing.
- Unit tests are broken right now.
- Stubbed Context::shadow.
- Implemented Duration::valid.
- Task is broken right now.
2009-06-07 17:07:49 -04:00
Paul Beckingham
7a219c999e Unit Tests - Config
- Added unit tests for Config.  Why didn't I do this a year ago?
- Shut off old 1.7.0 code (gulp).
- Task now thoroughly broken, and only 1.8.0 can help.
2009-06-07 16:31:10 -04:00
Paul Beckingham
d702ba8f24 Enhancement - Integration
- Integrated Cmd object.
- Enhanced Context object with dispatch and shadow methods.
- Fixed bug in Context::parse.
- Implemented command parsing.
- Fixed Sequence bug, and unit tests.
2009-06-07 16:00:22 -04:00
Paul Beckingham
190c6b53fc Enhancements - Config
- Added processing for context.config overrides, and associated
  argc,argv handling.
- Bug fix in filt.t.cpp, but three tests still fail.  Too big a
  distraction to fix right now.
- Warning: build is not broken, but task is broken.
2009-06-07 14:58:32 -04:00
Paul Beckingham
24f31eeb00 Enhancements - Cmd object
- New Cmd object to handle localized commands, customReports and general
  command parsing.
- Localized new Subst methods.
- Relocate guess method from parse.cpp to text.cpp.
- Converted Att object to use new valid/parse scheme.
- Unit tests for Cmd object.
- Fixed att.t.cpp unit tests.
2009-06-07 14:00:14 -04:00
Paul Beckingham
ffa0c6e758 I18N L10N - Subst
- Localized strings in Subst.
2009-06-07 00:46:58 -04:00
Paul Beckingham
049767484f Enhancement - Integrated Subst
- Subst is now part of Context.
2009-06-07 00:39:50 -04:00
Paul Beckingham
a2a9fa7f35 Enhancement - Subst parsing
- Corrected Subst parsing.
- Added more unit tests.
2009-06-07 00:28:21 -04:00
Paul Beckingham
9b78631e6f Enhancement - Sequence integration
- Sequence object fully integrated.
2009-06-06 23:55:36 -04:00
Paul Beckingham
7965bd5b4f I18N - color.cpp
- Localized color.cpp, fingers ache.
- Made a couple of parse.cpp functions non-static.
2009-06-06 23:31:04 -04:00
Paul Beckingham
db52cf7327 I18N - Record
- Localized Record object.
- Remove copy ctor, operator= from Duration - unnecessary.
2009-06-06 22:06:02 -04:00
Paul Beckingham
36d4ecab43 Code Cleanup
- Broke out all the interactive stuff into it's own source file.
2009-06-06 19:50:22 -04:00
Paul Beckingham
bc13f0be48 Interactive - stub
- Added stub code for the interactive version of task.
2009-06-06 17:41:24 -04:00
Paul Beckingham
e9c45aab85 Documentation Update - man page
- Documented the rc.<name>:<value> configuration file override syntax.
2009-06-06 16:11:44 -04:00
Paul Beckingham
82f94a6999 Enhancement - rc.name:value
- Supports 'rc.name:value' for a command line override to .taskrc data
  (thanks to Federico Hernandez).
2009-06-06 16:09:11 -04:00
Paul Beckingham
37dd592110 I18N - Att, text
- Added localization messages.
- Changed wording in ChangeLog.
2009-06-06 15:30:58 -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
76aa3c535e Aesthetics - stats report
- Widened the gap between columns for readability.
2009-06-06 14:09:34 -04:00
Paul Beckingham
60f3da15a7 Bug Fix - configure.ac
- Fixed a syntax error I introduced into configure.ac moments ago, and
  obviously didn't test it.
2009-06-06 12:48:27 -04:00
Paul Beckingham
292ef5248c Documentation Update
- Changed all email addressed to support@taskwarrior.org.
- Changed task@beckingham.net to paul@beckingham.net.
2009-06-06 12:34:32 -04:00
Paul Beckingham
748e2ea00d Merge branch 'switch' into 1.8.0 2009-06-06 12:28:04 -04:00
Paul Beckingham
c2a386b913 Enhancements
- Context implementation snapshot
2009-06-06 12:13:13 -04:00
Paul Beckingham
0ec3b4b6af Enhancement - Attribute modifiers
- Implemented half the modifiers.  The easy half.
- Implemented unit tests that don't all pass yet, and are incomplete.
2009-06-05 01:49:53 -04:00
Paul Beckingham
2aa43fe4fe Documentation Update
- Removed references to old websites and online groups.
- Removed references to the github issue tracker.
- Added references to http://taskwarrior.org.
2009-06-05 01:01:17 -04:00
Paul Beckingham
32e99b3ed6 Documentation update
- Removed DEVELOPERS file.  Not only does it contain obsolete content,
  it doesn't really provide much help.  Hopefully developers will hit
  the online forums for this kind of help.
2009-06-05 00:35:40 -04:00
Paul Beckingham
a60d54be61 Enhancement - Filters
- Filter implemented.
- Unit tests started, need more as Att::match matures.
2009-06-05 00:15:00 -04:00
Paul Beckingham
531cffdc7f I18N - L10N
- Localized first strings in Context.
2009-06-04 23:13:17 -04:00
Paul Beckingham
da88dfe15a Build Fix
- Removed the now-obsolete Mod from the Makefiles.
2009-06-04 22:20:26 -04:00
Paul Beckingham
54f155f439 Enhancements - Context integration
- Context now gathers messages and footnotes.
- task now calls into the new 1.8.0 code (via Context), then calls
  into the old 1.7.0 code.  Two for the price of one.
2009-06-04 22:14:03 -04:00
Paul Beckingham
f85fc2d8c9 Documentation Removal
- Removed all online docs, which are no longer needed in the repository.
2009-06-04 21:02:08 -04:00
Federico Hernandez
024986fe88 Added include statement for compilation on linux 2009-06-04 08:44:57 +02:00
Paul Beckingham
b887f7267b Unit Tests - Record, T2
- Added Record::get, ::set, ::get_int tests.
- Added T2 tests.
- Fixed Record::composeF4 bug
2009-06-04 00:37:23 -04:00
Paul Beckingham
25450b4a7c Enhancement - T2 implementation
- Improved Att/Mod implementation.
- Implemented more T2 methods.
2009-06-03 22:58:24 -04:00
Paul Beckingham
f295fdf78f Unit Tests - Att
- Merged all old Mod tests into Att.
- Fixed broken tests.
2009-06-03 21:20:09 -04:00