Commit graph

5243 commits

Author SHA1 Message Date
Paul Beckingham
1fc388886f Hooks
- Typos.
2014-09-09 23:19:39 -04:00
Paul Beckingham
51291f76fe Hooks
- Updated documentation and style of example hook scripts.
2014-09-09 23:09:24 -04:00
Paul Beckingham
ec0757b2c9 Hooks
- Added example of spelling correction via hook script.
2014-09-09 23:08:38 -04:00
Paul Beckingham
8e9e544376 Code Cleanup
- Source alignment. Pretty.
2014-09-09 22:23:02 -04:00
Paul Beckingham
2f03fc5d56 Unit Tests
- Added partial match tests for dates.
2014-09-09 22:19:26 -04:00
Paul Beckingham
a0736706e8 Variant
- Implemented same-day comparison for date types using the partial_match
  operator (=).
2014-09-09 22:11:40 -04:00
Renato Alves
b52e3fb85c L10N - Updates to por-PRT localization 2014-09-09 13:22:17 +01:00
Renato Alves
643533205a L10N - Typos is eng-USA localization 2014-09-09 13:22:17 +01:00
Paul Beckingham
eb92e8c0aa L10N
- Removed (recently) obsoleted strings from translation.
2014-09-09 07:22:58 -04:00
Fidel Mato
57fcba16cb L10N
- esp-ESP newly translated strings.
2014-09-09 07:21:13 -04:00
Paul Beckingham
a905518aea L10N
- Removed residual 'total active time' string that should have been deleted
  earlier.
2014-09-08 20:48:36 -04:00
Paul Beckingham
9f00e9279c L10N
- Removed remainin shadow file error strings that were not removed earlier.
2014-09-08 20:46:59 -04:00
Paul Beckingham
504d8c865b L10N
- Removed unused string leftover after removing unused text.cpp functions.
2014-09-08 20:30:55 -04:00
Fidel Mato
421f3c4a2c eng-USA typos
- Two small typos.
2014-09-08 20:24:20 -04:00
Paul Beckingham
a51dffc7e1 Unit Tests
- Corrected potential for 'modified' to show up in the report, in the
  infrequent case where the modification date was >= 1second ago.
2014-09-08 01:54:37 -04:00
Paul Beckingham
ce797c1e6e Unit Tests
- Upgraded to the new template.
2014-09-08 01:52:43 -04:00
Paul Beckingham
633d273ef3 Hooks
- Implemented replacement for shadow files, in the form of a hook
  script.
- Uses rc.shadow.command otherwise rc.default.command.
- Uses rc.shadow.file.
- Overrides settings that cause race conditions.
- Provides success and failure messages.
2014-09-08 01:38:09 -04:00
Paul Beckingham
a6c4c32ed7 CmdDiagnostics
- Represented the hooks master switch, rc.hooks, on the diagnostic output.
2014-09-08 01:27:32 -04:00
Paul Beckingham
78650ac8c3 Hooks
- Added a master control, rc.hooks, which defaults to 'on', but can be used
  to disable hook processing in general.
2014-09-08 01:22:35 -04:00
Paul Beckingham
150f72eed4 Shadow Files
- Removed the shadow file feature, which has caused much suffering since version
  1.4.3.
2014-09-08 01:09:24 -04:00
Paul Beckingham
7fdac6a09e Hooks
- Added an example hook script, on-exit.shadow-file, which simulates the now
  deprecated (soon to be removed) shadow file feature.
2014-09-08 00:51:21 -04:00
Paul Beckingham
6d36e7cd5b Unit Test
- Removed shadow.t tests ahead of removing the shadow feature, because it is
  broken already due to the removal of auto_commit. The feature will live on
  as an example hook script, using the same configuration variables perhaps.
2014-09-08 00:33:47 -04:00
Paul Beckingham
574aa06249 CmdUndo
- Removed TDB2::commit.
2014-09-08 00:26:39 -04:00
Paul Beckingham
3494a526d7 CmdTimesheet
- Removed TDB2::commit.
2014-09-08 00:26:14 -04:00
Paul Beckingham
e6801007bd CmdSync
- Removed TDB2::commit.
2014-09-08 00:25:36 -04:00
Paul Beckingham
dcbdf42264 CmdSummary
- Removed TDB2::commit.
2014-09-08 00:25:18 -04:00
Paul Beckingham
1950b28fa0 CmdStop
- Removed TDB2::commit.
2014-09-08 00:24:51 -04:00
Paul Beckingham
e70823e23f CmdStart
- Removed TDB2::commit.
2014-09-08 00:24:32 -04:00
Paul Beckingham
cee1b8aecc CmdProjects
- Removed TDB2::commit.
2014-09-08 00:24:04 -04:00
Paul Beckingham
84bddfbd34 CmdPrepend
- Removed TDB2::commit.
2014-09-08 00:23:33 -04:00
Paul Beckingham
784f4e068c CmdModify
- Removed TDB2::commit.
2014-09-08 00:23:00 -04:00
Paul Beckingham
95dcdfb968 CmdLog
- Removed TDB2::commit.
2014-09-08 00:22:38 -04:00
Paul Beckingham
bdce0a8d01 CmdImport
- Removed TDB2::commit.
2014-09-08 00:21:54 -04:00
Paul Beckingham
37722d2857 CmdIDs
- Removed TDB2::commit.
2014-09-08 00:21:25 -04:00
Paul Beckingham
9b14f53075 CmdHistory
- Removed TDB2::commit.
2014-09-08 00:20:47 -04:00
Paul Beckingham
e90a99140e CmdEdit
- Removed TDB2::commit.
2014-09-08 00:20:16 -04:00
Paul Beckingham
36748e5f7d CmdDuplicate
- Removed TDB2::commit.
2014-09-08 00:19:35 -04:00
Paul Beckingham
9246176588 CmdDone
- Removed TDB2::commit.
2014-09-08 00:19:07 -04:00
Paul Beckingham
177dda1dd4 CmdDenotate
- Removed TDB2::commit.
2014-09-08 00:16:24 -04:00
Paul Beckingham
77b3f70ba6 CmdDelete
- Removed TDB2::commit.
2014-09-08 00:15:59 -04:00
Paul Beckingham
9400aba1d1 CmdCustom
- Removed TDB2::commit.
2014-09-08 00:15:18 -04:00
Paul Beckingham
38001ed6ff CmdCount
- Removed TDB2::commit.
2014-09-08 00:14:47 -04:00
Paul Beckingham
0875f04bca CmdCalendar
- Removed TDB2::commit.
2014-09-08 00:13:46 -04:00
Paul Beckingham
4ceae16a24 CmdBurndown
- Removed TDB2::commit.
2014-09-08 00:12:57 -04:00
Paul Beckingham
6f68f8a1c0 CmdAppend
- Removed TDB2::commit.
2014-09-08 00:12:08 -04:00
Paul Beckingham
6d6c8b3ac1 CmdAnnotate
- Removed TDB2::commit.
2014-09-08 00:11:38 -04:00
Paul Beckingham
3bdaeb5f91 CmdAdd
- Removed TDB2::commit.
- Removed unnecessary return code.
2014-09-08 00:10:27 -04:00
Paul Beckingham
c4c25706ac Context
- Removed the auto_commit feature, because now every command call TDB2::commit,
  in case a hook script generated new tasks. This is harmless in NOP situations.
2014-09-08 00:08:05 -04:00
Paul Beckingham
f0a2f0d70e Context
- Restructured code that handles initialization failure, which was checking
  the rc value at each step, which is not necessary and confusing.
2014-09-08 00:06:41 -04:00
Paul Beckingham
d290b8792b Context
- Relocated Hooks::onLaunch call from the end of ::initialize to the beginning
  of ::run.
- Added a TDB2::commit between ::dispatch and Hooks::onExit.
2014-09-08 00:04:09 -04:00