Commit graph

7443 commits

Author SHA1 Message Date
Paul Beckingham
75152d913e Test: Version test didn't know about betas 2015-09-07 17:15:42 -04:00
Federico Hernandez
06c6b94fd4 Renamed 2.4.5 to 2.5.0 2015-09-07 22:54:17 +02:00
Paul Beckingham
7a0927effe Task: Project attributes are exempt from DOM expansion 2015-09-07 16:40:32 -04:00
Paul Beckingham
2854304e60 DOM: Refactored the contextual ::get 2015-09-07 16:12:54 -04:00
Paul Beckingham
91c05ea157 Test: Fixed broken test 2015-09-07 16:06:39 -04:00
Paul Beckingham
992cb6369a DOM: Factored out element size 2015-09-07 15:13:12 -04:00
Paul Beckingham
3b4dc9acb3 CLI2: Removed unused arg
- Thanks to Tomas Babej.
2015-09-07 12:44:41 -04:00
Paul Beckingham
249a4b0f64 Eval: Removed useless comment 2015-09-07 12:36:23 -04:00
Paul Beckingham
d87a753de1 Docs: Updated man page regarding 'debug.parser' values
- Modified tests that use the above.
2015-09-07 12:33:53 -04:00
Tomas Babej
d210c6d07f debug: Display parser trees at level 2, eval output at 3 2015-09-07 12:22:35 -04:00
Paul Beckingham
433d3dedca Test: Corrected system name for FreeBSD 2015-09-07 12:09:41 -04:00
Paul Beckingham
10944a23e1 Test: Added combination of skipIf and expectedFail 2015-09-07 12:04:14 -04:00
Paul Beckingham
e4132f6a02 CLI2: Expand DOM references in single-token values 2015-09-07 11:49:55 -04:00
Paul Beckingham
557a8d357c Test: Marked color merge tests as expected failures
- This is a bug in Color.cpp, not in the color.rules.t script, and the symptoms
  of this bug are 256-color usage when 16-colors are expected. The Color::blend
  method auto-upgradeѕ from 16 to 256, and may be the culprit. This bug is not
  important enough to fix now.
2015-09-07 11:05:00 -04:00
Paul Beckingham
0a75c526a9 Test: Removed obsolete 'edit' test 2015-09-07 10:48:21 -04:00
Tomas Babej
e133d72e23 ChangeLog: Add note about TW-20 2015-09-07 08:20:51 -04:00
Tomas Babej
023cc3c383 CmdEdit: Do not bump annotation timestamps without need 2015-09-06 21:54:20 -04:00
Paul Beckingham
89df8e5c8a Test: Corrected test, which assumed zero-based annotation indexing 2015-09-06 16:49:29 -04:00
Paul Beckingham
58d52a0191 Task: Factored out eval, added eval for tags. 2015-09-06 16:26:05 -04:00
Paul Beckingham
ff965c95d3 TW-1687: task add due:som appears to be interpreted as 'someday'
- Thanks to Alan Young.
2015-09-06 15:48:05 -04:00
Paul Beckingham
c256096118 CmdDenotate: Migrated to use new MISCELLANEOUS args 2015-09-06 15:19:34 -04:00
Paul Beckingham
b7c7d782e0 Test: Modified error message expectation 2015-09-06 14:59:43 -04:00
Paul Beckingham
d60a2f9954 CLI2: Properly categorize FILTER, MODIFICATION, MISCELLANEOUS
- Now that CLI2::categorizeArgs is complete, all that remains is to make sure
  the individual commands comply.
2015-09-06 14:53:46 -04:00
Paul Beckingham
d1fe1279ed Command: Code cleanup, added ::category accessor
- The Command object failed to initialize all member on construction and
  initialized them out of order (is this still a thing in C++11?).
- The _category was the only member with no accessor, which is not right.
2015-09-06 14:07:21 -04:00
Paul Beckingham
77b17379d6 CmdAdd/Log: No longer obey context
Context is good for filtering, terrible for commands that do not take filters.
2015-09-06 14:05:58 -04:00
Paul Beckingham
9db03a317b CmdAliases: Code formatting 2015-09-06 14:05:45 -04:00
Paul Beckingham
fdcc7b3d0f Test: Modified timeout values
- Removed timeout for bulk.t, context.t
- Increased timeout for delete.t
2015-09-06 13:09:11 -04:00
Paul Beckingham
499b2256fc Test: Fixed test to contain expected colors
- Problem was that Linux has been upgrading 16-color output, and the test was
  based on observed output, which looks correct, but actually isn't.
  We may end up marking these tests as expeected to fail, because they are not
  important.
2015-09-06 12:31:50 -04:00
Paul Beckingham
c1e86f59e2 Color: Removed unnecessary copy 2015-09-06 12:24:49 -04:00
Paul Beckingham
16b8f90048 Task: Removed commented code 2015-09-06 03:05:19 -04:00
Paul Beckingham
af43a3119f L10n: Removed unused strings 2015-09-06 02:19:31 -04:00
Paul Beckingham
9bb2e4f8f5 CmdVersion: Removed redundant arg checks 2015-09-06 02:15:49 -04:00
Paul Beckingham
3b18ca4f50 CmdUDAs: Remvoed redundant arg checks 2015-09-06 02:14:36 -04:00
Paul Beckingham
4183667efd CmdReports: Removed redundant arg checks 2015-09-06 02:12:16 -04:00
Paul Beckingham
d55b5907cd CmdLogo: Removed redundant arg checks 2015-09-06 02:11:15 -04:00
Paul Beckingham
5cd79d08b3 CmdHelp: Removed redundant arg checks 2015-09-06 02:10:05 -04:00
Paul Beckingham
58ec954d11 CmdExport: Removed redundant arg checks 2015-09-06 02:08:36 -04:00
Paul Beckingham
ea1ce4fad5 CmdEdit: Removed redundant arg checks 2015-09-06 02:06:37 -04:00
Paul Beckingham
283f9bb2bc CmdDiagnostics: Removed redundant arg checks 2015-09-06 02:01:33 -04:00
Paul Beckingham
a7fd5de5c3 CmdUndo: Removed redundant arg checks 2015-09-06 01:58:49 -04:00
Paul Beckingham
826d00d33f CLI2: Can now detect unwanted args in ::categorizeArgs 2015-09-06 01:56:59 -04:00
Paul Beckingham
3897c23c8d CLI2: Prevent loops
- Context was sometimes causing looping:

    ::analyze -> ::addContexFilter -> ::addFilter -> ::analyze

  This is prevented by a simple latch.
2015-09-06 01:42:30 -04:00
Paul Beckingham
7da3f3b2ba CLI2: Moved arg categorization earlier in the processing
- Moving categorization (FILTER, MODIFICATION, MISCELLANEOUS) int ::analyze,
  instead of waiting until ::prepareFilter means that all commands now have
  access to categorized args. This means there is no need to repeatedly scan
  and skip over 'rc:' etc.
2015-09-06 01:02:06 -04:00
Paul Beckingham
5ae32dd036 CLI2: 'info' was tagged 'DEFAULT' and should have been 'ASSUMED' 2015-09-06 00:13:44 -04:00
Tomas Babej
e0a808a6ba commands: Colorize only if color=on is set
Commands 'columns', 'commands' and 'custom' would output color
escape sequences desipte color=off being set.
2015-09-05 20:18:58 -04:00
Paul Beckingham
44afdb89e3 CmdImport: Tyo 2015-09-05 18:27:36 -04:00
Tomas Babej
6c7aecc2a6 CmdImport: Neglect attributes with dynamic default values
If not explicitly stated on import, values with default dynamic
values (such as modified, entry or end) can produce a false
notion of incoming 'modified' data, where the only difference
between the data in the database and data being imported is
that the dynamic defaults differ, since they have been
generated at different times.

Solve the issue by neglecting the attributes with dynamic defaults,
if they have been generated.
2015-09-05 18:25:12 -04:00
Paul Beckingham
3765aacc73 Tests: Fixed test that will no longer compile 2015-09-05 17:23:48 -04:00
Tomas Babej
ab40fae67e TDB2: Only ever update task if it differs from original 2015-09-05 17:20:20 -04:00
Tomas Babej
4042cbf964 feedback: Replace taskDiff method by Task inequality operator 2015-09-05 17:19:18 -04:00