Tomas Babej
0558b6c7aa
ColDepends: Recognize and properly handle ID ranges
2021-11-20 15:19:34 -05:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Dustin J. Mitchell
413b8d22b7
Remove references to the 'depends' property outside of Task.cpp
...
With the exception of `taskDifferences` and `taskInfoDifferences`,
deferred to #2572 .
2021-08-17 20:36:54 -04:00
Dustin J. Mitchell
20041c120e
Refactor to store tags as individual attributes
...
Each tag is stored as `tag_<tagname>: x`. The `x` is required because
empty attributes are treated as nonexistent.
For compatibility, the `tags` attribute is updated in sync with the
per-tag attributes. This compatibility support may be dropped in later
versions.
Note that synchronization _updates_ use JSON format, which does not
change with this patch, and thus no compatibility issues exist. The
synchronization _initialization_, however, uses FF4, meaning that a
sync server initialized from a version of `task` with this patch will
contain `tag_<tagname>` attributes, which will look like orphaned UDAs
to older versions. However, as updates to tasks are synchronized via
the sync server, the updates will not contain these attributes and they
will show as "deleted" in the `task info` display on the older version.
Aside from the noise in the `task info` output, this is harmless.
2021-08-05 02:11:27 -04:00
sebu06
90bc7f4b23
Fixed rendering of countdown columns
...
Countdown columns were counting up days instead of down.
2021-07-19 20:07:30 -04:00
Rosen Penev
d0c4350c2f
clang-tidy: add missing reserve calls
...
Found with performance-inefficient-vector-operation
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 00:22:43 -04:00
Rosen Penev
3cafb5257e
clang-tidy: use = default
...
Found with modernize-use-equals-default
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 00:15:06 -04:00
Tomas Babej
64b6784f69
ColumnTypeString: Only input of single DOM token should be attempted to be evaluated
...
Attribute names are often words from natural language (such as start,
end or entry). The ColumnTypeString supports resolving DOM references,
such that task commands like 'task add proj:3.proj' work.
However, the current implementation of the ColumnTypeString::modify
only looks at the first token to determine whether the input is a DOM
reference or not. This mischaracterizes inputs like 'task add
"description:start something"', where the first token of the attribute
value looks like a DOM reference (the 'start' attribute), but is in
fact, a part of larger string.
Since all DOM references are single tokens, only interpret the input as
a possible DOM reference if and only if one token was found.
Closes #1908 .
2021-01-30 21:40:41 -05:00
Tomas Babej
ef1e889262
ColTypeDate: Do not explicitly add now to relative dates
...
Relative dates are now implicitly anchored around now datetime point
during casting, hence there is no reason to do this anymore.
2021-01-18 02:59:11 -05:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Tomas Babej
2ebf4b864d
ColTypeNumeric: Support date and duration variants
...
If the lexer identifies an expression as an date or a duration, it
should be re-cast into integer value.
Closes #2101 .
2021-01-02 00:21:02 -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
Laurence
78bbcd25c6
Update copyright
2018-05-24 00:11:33 -04:00
Kirill Bobyrev
5cdbe6d019
Use nullptr instead lf C-styled NULL
2018-03-07 22:21:28 +03: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
Paul Beckingham
4a929197ae
Build: C++14 support added
2018-02-16 22:04:29 -05: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
016bb94d3f
l10n: Eliminated i18n.h
2018-01-21 23:29:59 -05:00
Paul Beckingham
20ed6c0169
l10n: Eliminated some column labels
2018-01-21 22:50:49 -05:00
Paul Beckingham
ed657f3ecf
l10n: Eliminated some column labels
2018-01-21 22:46:48 -05:00
Paul Beckingham
023afe352a
l10n: Eliminated some column labels
2018-01-21 22:44:45 -05:00
Paul Beckingham
f731960f98
l10n: Eliminated some column labels
2018-01-21 22:43:24 -05:00
Paul Beckingham
865e277b76
l10n: Eliminated some column labels
2018-01-21 22:32:17 -05:00
Paul Beckingham
611d09cb16
l10n: Eliminated some column labels
2018-01-21 22:18:18 -05:00
Paul Beckingham
bf770fda91
l10n: Eliminated some column labels
2018-01-21 22:12:59 -05:00
Paul Beckingham
a6c4c2fb2a
l10n: Eliminated some column labels
2018-01-21 22:09:51 -05:00
Paul Beckingham
6c1a411d7e
l10n: Eliminated some column labels
2018-01-21 22:07:57 -05:00
Paul Beckingham
a506555606
l10n: Eliminated some column labels
2018-01-21 22:06:20 -05:00
Paul Beckingham
317f184ce7
l10n: Eliminated some column labels
2018-01-21 22:02:38 -05:00
Paul Beckingham
dbaac47f25
l10n: Eliminated STRING_COLUMN_LABEL_ADDED, STRING_COLUMN_LABEL_AGE
2018-01-21 19:25:10 -05:00
Paul Beckingham
6c0b47db33
l10n: Eliminated STRING_COLUMN_LABEL_ACTIVE, STRING_COLUMN_LABEL_STARTED
2018-01-21 19:21:48 -05:00
Paul Beckingham
75c9dcc6aa
l10n: Eliminated STRING_COLUMN_EXAMPLES_*
2018-01-21 19:17:10 -05:00
Paul Beckingham
0cd5fbe625
l10n: Eliminated some STRING_COLUMN_EXAMPLES_*
2018-01-21 13:12:09 -05:00
Paul Beckingham
018e7e3547
l10n: Eliminated STRING_COLUMN_LABEL_DEP*
2018-01-20 19:56:53 -05:00
Paul Beckingham
cf56983b58
l10n: Eliminated STRING_COLUMN_LABEL_ID
2018-01-20 14:44:01 -05:00
Paul Beckingham
f922f6ee7e
l10n: Eliminated STRING_COLUMN_BAD_FORMAT
2018-01-20 14:39:41 -05:00
Paul Beckingham
7abc96efea
l10n: Eliminated STRING_COLUMN_BAD_NAME
2018-01-20 14:36:37 -05:00
Paul Beckingham
e2d92bb2d6
l10n: Eliminated STRING_INVALID_MOD
2018-01-20 14:30:03 -05:00
Paul Beckingham
e928117fb2
l10n: Eliminated STRING_UDA_COLLISION
2018-01-20 14:21:43 -05:00
Paul Beckingham
6cf8f18196
l10n: Eliminated STRING_UDA_TYPE
2018-01-20 14:15:34 -05:00
Paul Beckingham
d60de8c923
l10n: Eliminated STRING_DATE_INVALID_FORMAT
2018-01-20 12:41:05 -05:00
Paul Beckingham
2605cfa227
l10n: Eliminated STRING_COLUMN_LABEL_TEMPLATE
2018-01-15 13:35:38 -05:00
Paul Beckingham
cff755aba1
l10n: Eliminated STRING_EVAL_*
2018-01-15 13:28:43 -05:00
Paul Beckingham
63a8d223e2
l10n: Eliminated STRING_TASK_INVALID_DUR
2018-01-15 12:28:52 -05:00
Paul Beckingham
367f3a5e32
l10n: Eliminated STRING_COLUMN_LABEL_PARENT
2018-01-15 12:24:57 -05:00
Paul Beckingham
193eebd852
l10n removal of STRING_COLUMN_LABEL_MASK, STRING_COLUMN_LABEL_MASK_IDX
2018-01-07 13:37:47 -05:00
Paul Beckingham
aac883241f
l10n removal of STRING_UDA_NUMERIC
2018-01-07 13:10:52 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
4cd9ebfdf4
ColTypeString: Eliminated namedDates
2017-03-05 09:31:29 -05:00