Wilhelm Schuermann
710372b8db
TW-1610: Disabling GC can lead to editing the wrong task
...
- 9e6c6ecb93
introduced a change that
can lead to the wrong task being edited when GC is manually turned
off. Fix this by taking the user's GC setting into account.
2015-05-04 09:01:01 +02:00
Paul Beckingham
5af4579741
Priority: Converted 'priority' attribute to a UDA
...
- 'priority.long' and 'priority.short' formats now map to 'priority', and
generate a warning.
- Man page updated.
- Converted priority urgency coefficients to UDA equivalents.
- Converted priority color rules to UDA color rules.
- Removed 'default.priority' support.
- Removed special sort handling for 'priority' field in Variant, added special
UDA sort handling.
- Removed ColPriority.{h,cpp} source files.
- Removed asorted newly-unused variables.
- The 'show' command now highlights unused priority settings.
- Removed unused localized priority-relateѕ strings.
- Added legacy mapping for columns and sort columns for 'priority.long' and
'priority.short' columns in report definitions.
- Removed priority color rules implementation.
- Removed obsolete tests for #860 , #990 , custom.priority_long.t.
- Updated various tests that set priority default, colors.
2015-04-04 19:30:33 -04:00
Paul Beckingham
29a09707f3
Variant: Implemented custom UDA sorting
2015-04-04 15:47:41 -04:00
Paul Beckingham
743cb92958
Context: Static initialize UDA sort order values
2015-04-04 14:50:38 -04:00
Paul Beckingham
690d9493f0
Build: Resolve some more compiler warnings
2015-03-29 18:03:36 -04:00
Wilhelm Schuermann
9e6c6ecb93
TW-1583: Invalid ID displayed after done/delete
...
- Fix completed/deleted tasks getting an ID when GC is going to be run,
previously resulting in invalid IDs being displayed in reports that
show non-pending tasks.
A side effect of this fix is that it is sometimes not possible to
filter by ID when running a report right after calling done/delete.
This problem existed before; this change makes it happen on the first
report instead of the second, so it is more consistently broken.
Commands that modify tasks are not affected, making this an annoying
yet harmless defect.
2015-03-28 10:36:58 +01:00
Paul Beckingham
104aeb3905
TDB2
...
- Commented and reorganized for threading.
2015-03-02 09:33:57 -05:00
Paul Beckingham
6626207ad1
TW-1522
...
- TW-1522 Date format doesn't like hyphens (thanks to Scott Carter).
2015-01-25 14:49:02 -05:00
Paul Beckingham
99ebf82c3a
Context
...
- Eliminated fileno() by using unistd.h STDOUT_FILENO. This is because fileno()
is not visible with '--std=c++11'.
2015-01-04 20:25:25 -05:00
Paul Beckingham
231e8ca913
Portability
...
- Missing include on Cygwin only. Odd.
2015-01-04 20:17:56 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
dd7a9e32db
Context
...
- Improved command line feedback.
2014-11-10 22:53:33 -05:00
Paul Beckingham
d5d60b672a
Context
...
- Restored header if the 'information' command is assumed.
2014-11-10 22:15:53 -05:00
Paul Beckingham
97428397a5
CLI/Context
...
- Removed repeated header calls that display a reconstructed command line in
the event that default.command is used.
2014-11-10 22:07:02 -05:00
Paul Beckingham
33bc4f13d0
Context
...
- Creates a set of entities for binary operators.
2014-11-09 15:19:57 -05:00
Paul Beckingham
3b1f244f42
CLI/Context
...
- Reordering init sequence.
- Removed ::assumeLocations.
2014-11-09 10:38:40 -05:00
Paul Beckingham
b9b998c769
CLI
...
- Added a strict analysis mode that throws errors. In non-strict mode no errors
are thrown because parsing is incomplete most of the time, and only the final
pass needs to be strict.
2014-11-08 14:00:39 -05:00
Paul Beckingham
11d210a7c7
CLI
...
- Hooked up the parser to rc.abbreviation.minimum.
2014-11-08 13:41:19 -05:00
Paul Beckingham
7ad99cb7fa
Context
...
- Removed last calls to Parser::.
2014-11-02 22:19:20 -05:00
Paul Beckingham
9c245f838a
CLI
...
- Implemented ::applyOverrides.
- Calls ::applyOverrides from Context.
2014-11-02 22:12:48 -05:00
Paul Beckingham
c8dfa8f7fd
CLI
...
- Implemented ::getDataLocation.
- Called ::getDataLocation from Context.
2014-11-02 22:10:47 -05:00
Paul Beckingham
7845786398
Context
...
- Removed unused ::program member.
2014-11-02 21:52:41 -05:00
Paul Beckingham
9799fcefed
CLI
...
- Updated ::getOverride to scan all args, display the debug feedback, and derive
the home dir.
- Removed Parser::getOverrides calls from Context.
- Cleaned up dead code in Context::initialize.
2014-11-02 21:31:25 -05:00
Paul Beckingham
d49222e8c7
CLI
...
- Implemented ::getOverride, and updated Context to use it.
2014-11-02 21:14:08 -05:00
Paul Beckingham
9ea61e25e8
Context
...
- Removed Parser member, which is now local to ::initialize.
2014-11-01 00:04:02 -04:00
Paul Beckingham
45bcf113d9
Context
...
- Removed unnecessary Parser calls, leaving only minimal rc processing.
2014-10-31 23:55:03 -04:00
Paul Beckingham
9f8ab6e4e2
Context
...
- Switched from Parser::getLimit to CLI::getLimit.
2014-10-31 23:34:17 -04:00
Paul Beckingham
8863458879
Context
...
- Converted from Parser::getCommand to CLI::getCommand.
2014-10-31 23:12:41 -04:00
Paul Beckingham
f80d57ff48
Context
...
- Sets up fixed-name attributes first. Extends that list with dynamic
attributes (UDAs) later, when known.
2014-10-31 19:14:47 -04:00
Paul Beckingham
3700d2df9f
Context
...
- Relocated some (more needed) entity declarations into ::setupEntities.
2014-10-31 08:53:25 -04:00
Paul Beckingham
67581187ae
CLI
...
- Converted CmdCalc from Parser to CLI.
2014-10-25 22:20:32 -04:00
Paul Beckingham
07bb370637
Merge branch 'parser2' into 2.4.0
2014-10-25 19:43:13 -04:00
Paul Beckingham
cd8f7ddac4
CLI
...
- Can now safely re-analyze command line if something changes. This required a
::analzye method to be called late in Context::initialize.
2014-10-19 17:59:51 -04:00
Paul Beckingham
87538589a6
Context
...
- Setting rc.debug.hooks or rc.debug.parser to non-zero values also sets
rc.debug=true, otherwise the output is not visible.
2014-10-19 17:34:35 -04:00
Paul Beckingham
d873a15aa7
Context
...
- Removed the restriction that debug messages must be unique. Because it's
insane.
2014-10-19 01:30:24 -04:00
Paul Beckingham
6d64472826
Context
...
- Removed calls to now-private methods.
2014-10-14 23:23:09 -04:00
Paul Beckingham
632cb3e194
Context
...
- Now calls aliasExpansion and categorization.
2014-10-14 00:59:33 -04:00
Paul Beckingham
f4183fd6b1
Context
...
- Added CLI rc: and rc. override extraction.
2014-10-13 23:54:16 -04:00
Paul Beckingham
c73e864cdd
Context
...
- CLI is initialized with command line args.
2014-10-13 23:24:08 -04:00
Paul Beckingham
df54b8ee43
Context
...
- Integrated new CLI object.
- Provided aliases and entities to CLI.
2014-10-13 23:18:14 -04:00
Paul Beckingham
8eb773b263
Context
...
- Corrected comment.
2014-10-06 23:24:28 -04:00
Paul Beckingham
fa22cff5be
Context
...
- rc.debug.hooks and rc.debug.parser are now valid settings. They are
not yet obeyed.
2014-10-04 19:20:38 -04:00
Paul Beckingham
a71d4f1596
Context
...
- Setting rc.debug implicitly sets debug.tls, debug.parser and debug.hooks.
2014-10-04 19:12:23 -04:00
Paul Beckingham
dcc5dbf16a
Variant
...
- The ::operator_match (and by extension operator_nomatch) now obey the rc.regex
setting.
2014-09-28 13:39:50 -04:00
Paul Beckingham
90edba9113
Context
...
- Both ::initialize and ::run need to catch a 'throw (0)' from the hook system.
2014-09-14 16:33:10 -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
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
Paul Beckingham
5ce317bb48
Hooks
...
- Modified ::onExit to remove the indicator that data was modified. This is not
supported.
2014-09-07 22:56:28 -04:00