Commit graph

44 commits

Author SHA1 Message Date
Paul Beckingham
355620c640 libhsared: migrating from local to libshared 2016-12-06 07:20:45 -05:00
Paul Beckingham
95f4989f77 Cleanup: Don't use string literals when character literals are needed 2016-10-14 22:27:34 -04:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
ec779bb0e8 CmdTimesheet: Color only used for tty 2015-11-15 14:39:08 -05:00
Paul Beckingham
de43e34c5e Revert "CmdTimesheet: Converted from strtol to std::stoi"
This reverts commit 02f1fa371c.
2015-11-02 18:38:31 -05:00
Paul Beckingham
02f1fa371c CmdTimesheet: Converted from strtol to std::stoi 2015-11-01 22:08:24 -05:00
Paul Beckingham
5d9ca9864e Cmd*: Moved include to top of list, per flint++ recommendation 2015-11-01 19:53:19 -05:00
Paul Beckingham
b085006d1a CmdTimesheet: Migrated from Date to ISO8601d 2015-10-03 19:27:42 -04:00
Paul Beckingham
244a80f799 ISO8601: Migrated more Date instances to ISO8601d 2015-09-26 23:20:08 -04:00
Paul Beckingham
bf80c7d514 Cmd*: Added command DNA, which will ѕoon drive functionality 2015-08-01 15:56:04 -04:00
Daniel Shahaf
53a702d79a zcmdcat: Categorize commands. 2015-07-26 13:55:23 -04:00
Paul Beckingham
5f30c9e2c3 Feature: Extra arg detection
- Commands that do not accept filters or modifications now generate an error
  when extra arguments are specified.
2015-07-25 13:58:15 -04:00
Paul Beckingham
cbf20217dc CmdTimesheet: Converted from CLI to CLI2 2015-06-16 21:54:38 -04:00
Paul Beckingham
5a57dfd70d C++11: Cleaned up commands code with range-based for 2015-05-11 17:45:15 -04:00
Paul Beckingham
547d9edb55 TW-1484
- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
2015-01-10 15:49:42 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
07336450a9 CLI
- Converted CmdTimesheet from Parser to CLI.
2014-10-25 22:31:21 -04:00
Paul Beckingham
3494a526d7 CmdTimesheet
- Removed TDB2::commit.
2014-09-08 00:26:14 -04:00
Paul Beckingham
79abddd03d Parser
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00
Paul Beckingham
42c078d0b7 CmdTimesheet
- Converted from A3 to A3t.
2014-04-24 12:30:56 -04:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8ed92ca498 Copyright
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
d03c4cda8a Build Error
- Many files were missing an explicit cmake.h include.  Some were not including
  it at all.  Now it's used almost everywhere.

(cherry picked from commit 82ae86979c497e6d1d0c6b2b5a55aa379ec82c98)
2013-06-02 13:57:36 -04:00
Paul Beckingham
773b55d374 Code Cleanup
- Removed L10N define.  It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
1dccd29643 Copyright 2013
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Paul Beckingham
d89d51e7e1 Deprecation
- Removed deprecated 'fg:' and 'bg:' attributes, which involves code,
  documentation and tests.
- Cleaned out NEWS file.
- Cleaned out config import synonyms, which should have been deleted a while
  ago.
- Removed unused localized strings, but left the 'deprecated' one behind,
  because it will be needed.
2012-07-25 22:44:25 -04:00
Paul Beckingham
761ef296ad Code Cleanup
- Eliminatd helpers.cpp, and the redundant getFullDescription function
  therein.
- The timesheet report now uses standard description formatting.
2012-03-03 16:08:21 -05:00
Paul Beckingham
facb795f88 Code Cleanup
- Eliminated redundant getDueDate helper function.
2012-03-03 14:40:35 -05:00
Paul Beckingham
96fe3f42ba Minor Refactoring
- Added support for more type-specific checks of attribute values.
- Added support for more type-specific attribute rendering.
- Improved generalized methods for checking columns in a report.
- Added unit tests.
- Minor code cleanup.
- Added secret hidden feature for internal testing.
2012-02-05 20:56:46 -05:00
Paul Beckingham
6580095002 Copyright
- Year change.
2012-01-02 23:32:10 -05:00
Federico Hernandez
961a1a9366 License
- moving from GPL to MIT license
  src/commands
2011-10-08 01:13:30 +02:00
Paul Beckingham
a59a2f7234 I18N
- Localized 'timesheet' command.
2011-10-01 12:03:34 -04:00
Paul Beckingham
de481a7eba Help
- Made all the usage strings for the 'help' command consistent with the
  implementation and with visual alignment.
2011-10-01 00:42:27 -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
90404c287e TDB2
- Converted 'timesheet' command to TDB2.
2011-08-30 00:23:27 -04:00
Paul Beckingham
e8a49b3e8e Commands - timesheet
- Added stubs for the start of a command rewrite, possibly.
2011-08-06 16:28:45 -04:00
Paul Beckingham
63f91c2f88 Enhancement
- Implemented Record::get_date to eliminated the need to obtain a date
  as a string, then convert to time_t, then instantiate a Date.
2011-07-01 22:13:34 -04:00
Paul Beckingham
7762ee2f9e Commands
- Promoted filtering code to the Command base class.
- Added filtering short-circuit.
2011-06-19 10:25:53 -04:00
Paul Beckingham
f971fcd110 Code Cleanup
- Obsoleted Filter.{h,cpp}.
- Obsoleted Sequence.{h,cpp}.
- Eliminated Context::autoFilter.
- Stubbed Expression::eval.
2011-06-15 23:45:50 -04:00
Paul Beckingham
63e6c08fdd Expressions
- Re-enabled read-only commands that were broken because expressions
  were not implemented.  Currently they don't work, but the mechanism
  is in place.
2011-06-11 14:30:19 -04:00
Paul Beckingham
58a677ffb5 Argument Parsing
- Eliminated stored arg_overrides and file_override in Context.
- Removed Filter, Subst, Task, Sequence from Context.
- Remove shadow file support.  Hallelujah.
- Disabled/commented out most commands, ready for the big transition
  to the new parsing style.
- Obsoleted Subst.{h,cpp}.
2011-06-04 15:11:34 -04:00
Paul Beckingham
644d027a87 Argument Parsing
- Obsoleted Command::exectute  'commandLine' argument.  It is worse
  than unnecessary, it is an uncategorized raw argument string, which
  is only really useful for the 'execute' command, which itself now
  calls Arguments::combine to reconstruct the command line string.
2011-06-04 12:33:58 -04:00
Paul Beckingham
5732833da2 Build
- Converted more atoi to strtol calls.
2011-06-02 23:20:15 -04:00
Paul Beckingham
75a24f5113 Commands - timesheet
- Migrated handleReportTimesheet to CmdTimesheet.
2011-05-30 13:46:08 -04:00