Commit Graph

132 Commits

Author SHA1 Message Date
Rosen Penev
8ffb85b327 clang-tidy: use '' for single character find
Found with performance-faster-string-find

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-22 23:18:16 -04:00
Tomas Babej
9017cd6e53 doc: Update copyright to 2021 2021-01-02 02:48:22 -05:00
Tomas Babej
6ff63286b5 CmdInfo: Properly format date and duration UDAs
The 'type' variable was never assigned value, hence the checking for
'date' and/or 'duration' always failed. Use col->type() instead.

Closes #2060.
2020-12-28 20:36:32 -05:00
Max Rossmannek
3d850715f4 Make virtual tags consistent across commands.
- the DUETODAY tag was deprecated in b2d49f397
- the QUARTER tag was added in 630a1530e and 4711dd9e1
- the PROJECT, PRIORITY and LATEST tags were added in 4008a64

Note: the documentation in the man page is already up-to-date.

Fixes #2359
2020-12-03 01:45:07 -05:00
Tomas Babej
a09f9d48ab Update copyright to 2020 2020-11-21 12:27:05 -05:00
mrossinek
6fbd400e77 Fix #1999 2019-03-02 19:44:18 -05:00
Tomas Babej
8066e4e6e2 meta: Update copyright year 2019-01-01 08:46:21 -05: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
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
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
957b769412 l10n: Eliminated some column labels 2018-01-21 22:15:26 -05:00
Paul Beckingham
5335512c38 l10n: Eliminated some column labels 2018-01-21 22:11:25 -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
64f2436d87 l10n: Eliminated STRING_COLUMN_LABEL_DESC 2018-01-21 13:15:20 -05:00
Paul Beckingham
2d859aa048 l10n: Eliminated STRING_CMD_INFO_* 2018-01-21 12:21:42 -05:00
Paul Beckingham
cf56983b58 l10n: Eliminated STRING_COLUMN_LABEL_ID 2018-01-20 14:44:01 -05:00
Paul Beckingham
2605cfa227 l10n: Eliminated STRING_COLUMN_LABEL_TEMPLATE 2018-01-15 13:35:38 -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
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Paul Beckingham
043884fc9b CmdInfo: Table headers consistent 2017-03-20 09:11:00 -04:00
Paul Beckingham
218b43ecfa CmdInfo: Fixed header underline problem 2017-03-20 08:29:51 -04:00
Paul Beckingham
440cfb009e CmdTimesheet: Rewrote the command
- Updated the 'timesheet' command with a more compact report that accepts a
  filter, and has a default filter showing the last four weeks of completed and
  started tasks.
2017-02-09 08:19:30 -05:00
Paul Beckingham
a95dddd00c CmdInfo: Code cleanup 2017-01-29 12:22:35 -05:00
Paul Beckingham
4e7576cb79 Merge branch 'recurrence' into 2.6.0 2017-01-07 12:29:11 -05:00
Paul Beckingham
fd4ca47581 CmdInfo: Added TEMPLATE and INSTANCE virtual tags 2017-01-07 12:04:13 -05:00
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Paul Beckingham
b0a4a409a6 Task: Improved method signature 2016-12-31 16:33:39 -05:00
Paul Beckingham
5193f7d03e Task: Improved method signature 2016-12-31 15:55:06 -05:00
Paul Beckingham
cfc3e098c1 Task: Improved method signature 2016-12-31 15:44:13 -05:00
Paul Beckingham
1e7f451093 CmdInfo: Added Table::forceColor 2016-12-17 17:31:21 -05:00
Paul Beckingham
79c1a94289 CmdInfo: Migrated from ViewText to Table 2016-12-17 17:30:44 -05:00
Paul Beckingham
72076abc74 CmdInfo: Converted from ISO8601 to Datetime/Duration 2016-12-11 22:27:18 -05:00
Paul Beckingham
87757fb36f util: Migrated optionalBlankLine from text 2016-12-11 17:46:06 -05:00
Paul Beckingham
3c6ce4e0fc text: Removed local join/split implementation 2016-12-07 01:14:16 -05:00
Paul Beckingham
355620c640 libhsared: migrating from local to libshared 2016-12-06 07:20:45 -05:00
Paul Beckingham
8922728888 Cleanup: Don't use string literals when character literals are needed 2016-10-14 23:11:28 -04:00
Paul Beckingham
95f4989f77 Cleanup: Don't use string literals when character literals are needed 2016-10-14 22:27:34 -04:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
f92219e5cd CmdInfo: Switched to use indices to make fewer string copies 2015-11-24 07:53:32 -05:00
Paul Beckingham
79189c448c TW-1723: task info causes segfault
- Thanks to Roman Golovin.
- Calls like 'context.columns[name]' autovivify the key 'name' with a default
  ctor value, which ends up polluting the context.columns map with every unique
  attribute name, which is a lot of 'annotation_nnnnnnnnnn' attributes.
2015-11-15 12:57:26 -05:00
Paul Beckingham
665863809d Revert "CmdInfo: Converted from strtol to std::stoul"
This reverts commit 037514bcbf.
2015-11-02 18:39:12 -05:00
Paul Beckingham
037514bcbf CmdInfo: Converted from strtol to std::stoul 2015-11-01 22:05:46 -05:00
Paul Beckingham
5d9ca9864e Cmd*: Moved include to top of list, per flint++ recommendation 2015-11-01 19:53:19 -05:00
Paul Beckingham
51def4b12b Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer 2015-10-30 10:57:14 -04:00
Paul Beckingham
ec073c5dae CmdInfo: Migrated from Date to ISO8601d 2015-10-03 15:22:22 -04:00
Paul Beckingham
bb53ae17ae ISO8601p: Renamed ::_value to ::_period 2015-09-26 12:17:57 -04:00