Tomas Babej
351c3b025c
getTaskContext: Allow getting context info for a non-active context
2021-04-03 15:01:39 -04:00
Tomas Babej
9a380887ee
CLI2: Simplify context determination
...
Simlifies by offloading portion of the logic into the singleton Context
class (which has nothing to do with the task context per se, just a
implementation singleton).
2021-04-03 15:01:39 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Paul Beckingham
702af00435
Revert "[clang-tidy] Remove redundant const"
...
This reverts commit 55d103c491
.
2020-12-05 16:18:37 -05:00
Rosen Penev
55d103c491
[clang-tidy] Remove redundant const
...
Found with readability-const-return-type
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Tomas Babej
a09f9d48ab
Update copyright to 2020
2020-11-21 12:27:05 -05:00
Tomas Babej
8066e4e6e2
meta: Update copyright year
2019-01-01 08:46:21 -05:00
Simon Ruderich
e817dfc800
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Mark Scannell
7af6db4c17
Portability: Updated to make main re-entrant()
...
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
dd4fef6794
Config: Migrated to libshared Configuration
2017-02-26 10:46:51 -05:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
5a5195fbb2
Context: Eliminated load timer
2016-11-13 14:04:03 -05:00
Paul Beckingham
e906b20014
Context: Eliminated render timer
2016-11-13 13:42:48 -05:00
Paul Beckingham
473eaec923
Context: Eliminated hooks timer
2016-11-13 13:37:54 -05:00
Paul Beckingham
88512e25cb
Context: Eliminated sort timer
2016-11-13 13:33:55 -05:00
Paul Beckingham
d39934e7b9
Context: Eliminated commit timer
2016-11-13 13:31:31 -05:00
Paul Beckingham
3f1c60cf37
Context: Eliminated filter timer
2016-11-13 13:27:38 -05:00
Paul Beckingham
cfc2fd28e8
Context: Eliminated gc timer
2016-11-13 13:16:48 -05:00
Paul Beckingham
30cfc11f80
Context: Uses inline member initialization
2016-11-13 13:12:07 -05:00
Paul Beckingham
8824d3ae5a
Context: Migrated to libshared Timer
2016-11-13 13:10:48 -05:00
Paul Beckingham
302b5a5589
Context: Added ::debugTiming to wrap Timer formatting
2016-11-13 13:02:44 -05:00
Paul Beckingham
820cc4b2e5
DOM: Demoted from class to functions
...
- The DOM object contains no members, and only two (effectively) const methods.
Demoting DOM to function calls reduces coupling with Context.
2016-02-03 21:54:37 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
735608d5b9
Context: Removed unused ::clearMessages method
2015-10-28 13:23:38 -04:00
Tomas Babej
b9f217a716
Context: Add timer that measures the total command duration explicitly
2015-09-12 17:36:57 -04:00
Paul Beckingham
110aa489e4
Context: Dead code removal
2015-07-17 15:24:31 -04:00
Paul Beckingham
737cb23546
CLI2: Eliminated CLI
...
- This is a large commit, as all the changes are centered around the elimination
of CLI.
- CLI is no longer compiled.
- Context no longer maintains CLI + CLI2.
- Filter now walks the parse tree and sends to Eval a
std::vector <std::pair <std::string, Lexer::Type>> containing only args tagged
with FILTER.
- Filter more efficiently sets/unsets Eval::debug, by doing it less often.
- The filterExpr.length() check is no longer meaningful, and instead the size of
the std::vector above is used.
- Filter::pendingOnly performs better analysis.
- Filter::safety makes use of the std::vector size also.
- Task::modify makes use of 'canonical' rather than 'name', which is a policy
change, not a fix.
2015-06-24 13:23:56 -04:00
Paul Beckingham
49e7196dec
Context: Removed unused ::clear method
2015-06-17 14:24:14 -07:00
Paul Beckingham
708ddd3804
CLI2: Refactoring CLI to rely completely on the Lexer
2015-06-13 13:35:34 -04:00
Wilhelm Schuermann
ae692e07a6
Verbosity: Fix "project" info not showing
...
- Make "project" verbosity imply "footnote", since verbose project
info is shown using footnotes. Fixes failing test in verbose.t.
- Convert "verbosity" variable to std::set for increased readability.
2015-06-07 15:01:26 +02:00
Paul Beckingham
3e043291f0
Cleanup: Combined File, Path and Directory into FS
...
- The three objects are related and always travel together, so they are now
combined.
2015-05-25 10:11:41 -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
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
3b1f244f42
CLI/Context
...
- Reordering init sequence.
- Removed ::assumeLocations.
2014-11-09 10:38:40 -05:00
Paul Beckingham
7845786398
Context
...
- Removed unused ::program member.
2014-11-02 21:52:41 -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
3700d2df9f
Context
...
- Relocated some (more needed) entity declarations into ::setupEntities.
2014-10-31 08:53:25 -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
a71d4f1596
Context
...
- Setting rc.debug implicitly sets debug.tls, debug.parser and debug.hooks.
2014-10-04 19:12:23 -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
bd7e66a939
Context
...
- Improved sort column parsing to include an optional trailing solidus, in
addition to the +/- sort direction.
2014-07-10 22:14:35 -04:00
Paul Beckingham
0cd56932a5
Context
...
- Added ::getLimits, copied from CmdCustom, for more general use.
2014-07-04 11:03:23 -04:00
Paul Beckingham
29604d0626
Context
...
- Stubbed a ::loadAliases method to stuff the Parser with alias defs.
2014-07-03 19:06:05 -04:00
Paul Beckingham
5b9413b02c
Alias
...
- Removal of alias load/resolve code, which (1) needs a rewrite, and (2) belongs
in the Parser.
2014-07-03 19:04:48 -04:00
Paul Beckingham
1cd09bc87b
Alias
...
- Implemented simple word substitution aliases. This is not the ultimate form
which will involve the ability to insert arbitrary constructs. Later.
2014-06-03 00:11:42 -04:00
Paul Beckingham
afe4b6883f
Context
...
- Removed all A3 references.
2014-05-25 20:02:26 -04:00
Paul Beckingham
79abddd03d
Parser
...
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00
Paul Beckingham
7bf2b4039e
Context
...
- Added a hook timer.
2014-05-13 16:49:10 -04:00
Paul Beckingham
a353cbaf91
Alias
...
- Integrated new Alias object into new command line processing.
2014-04-19 08:22:27 -04:00