Tobias Predel
81ca04fc8c
Declare in corresponding header files and dissolve main.h ( #3796 )
...
* Declare in corresponding header files and dissolve main.h
Apply include-what-you-use
* Remove further unncessary includes
* Incorporate review comment
* Do not declare static functions and variables in header
* Adapt test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-01 14:47:42 -05:00
Dustin J. Mitchell
aeeec16984
Handle 'until' and 'recur' simiar to handling of 'gc' ( #3753 )
...
This centralizes updates to recurrence and 'until' in Command, instead
of doing so in each individual command implementation.
This is preparatory to opening the TaskChampion replica in read-only
mode.
2025-01-18 02:20:41 -05:00
Felix Schurk
93356b39c3
add initial bulk run from pre-commit over all files
2024-07-29 22:34:51 +02:00
Felix Schurk
954d3f5058
add blank line between cmake.h header include to prevent sorting
...
* add required comment in the line below cmake.h include header
2024-07-29 22:33:17 +02:00
Dustin J. Mitchell
2ea6dd627e
Just set contextTask in Task::modify
...
Based on the observation that every command was setting contextTask
immediately before calling `task.modify(..)`.
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
6e9ad1048d
move use of contextTask out of columns, into commands
2021-12-30 15:03:37 -05:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Dustin J. Mitchell
309e99d49e
Refactor task diffs to handle new attributes
...
This refactors task(Info)Differences to be methods of Task and to
correctly handle the `annotation_`, `tags_`, and `dep_` attributes.
2021-09-04 10:49:45 -04:00
sebu06
69b34dcef3
using convenience function for paying attention to verbosity tokens
2021-07-18 15:09:52 -04:00
Sebastian Uharek
bd2ad97ccb
Added output of number of tasks to be modified in batch mode
2021-07-18 15:09:52 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -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
c937f18ab8
l10n: Eliminated STRING_CMD_PREPEND_*
2018-01-21 11:13:13 -05:00
Paul Beckingham
8c7f3be1bd
l10n: Eliminated STRING_FEEDBACK_NO_TASKS_SP
2018-01-20 21:40:46 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
6cdb0d4b95
util: Removed confirm
2016-12-06 07:32:19 -05:00
Paul Beckingham
355620c640
libhsared: migrating from local to libshared
2016-12-06 07:20:45 -05: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
5d9ca9864e
Cmd*: Moved include to top of list, per flint++ recommendation
2015-11-01 19:53:19 -05:00
Tomas Babej
2d25cf6f59
TW-1704: Task: Use Task::identifier to reference the task
...
To achieve consistent output, use a helper method to generate a proper
handle - ID for tasks with non-zero ID, UUID otherwise.
2015-10-29 20:00:53 -04:00
Paul Beckingham
a82558064b
Cleanup: Prep for '-Wextra'
2015-10-16 16:27:05 -04:00
Paul Beckingham
bf80c7d514
Cmd*: Added command DNA, which will ѕoon drive functionality
2015-08-01 15:56:04 -04:00
Daniel Shahaf
53a702d79a
zcmdcat: Categorize commands.
2015-07-26 13:55:23 -04:00
Paul Beckingham
5a57dfd70d
C++11: Cleaned up commands code with range-based for
2015-05-11 17:45:15 -04:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
1488c1c6fa
TW-1, TW-1438
...
- TW-1 Recurring task message on the same task (thanks to Profpatsch).
2014-12-26 10:16:11 -05:00
Paul Beckingham
9936157704
TW01438
...
- TW-1438 Configuration setting rc.confirmation=no no longer disables
confirmation requests (thanks to Adam Coddington).
2014-11-10 20:05:28 -05:00
Paul Beckingham
84bddfbd34
CmdPrepend
...
- Removed TDB2::commit.
2014-09-08 00:23:33 -04:00
Paul Beckingham
68ceea953a
TW-1293, TW-1294
...
- TW-1293 Modifying or deleting a child task does not propagate if there are no
siblings (thanks to darkfeline).
- TW-1294 Modifying a child task does not propagate to parent (thanks to
darkfeline).
2014-07-06 09:55:59 -04:00
Paul Beckingham
f3bc606344
Cmd{Add,Append,Log,Prepend}
...
- The commands specify that description changes are required.
2014-05-27 00:35:52 -04:00
Paul Beckingham
a559890368
CmdPrepend
...
- Was appending, not prepending. Duh.
2014-05-25 23:10:54 -04:00
Paul Beckingham
e0e71bb065
CmdPrepend
...
- Converted from A3 modifications to Task::modify.
2014-05-25 17:23:32 -04:00
Paul Beckingham
510be02b64
CmdPrepend
...
- Converted from A3 to Filter.
2014-05-24 23:52:32 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8ed92ca498
Copyright
...
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
d03c4cda8a
Build Error
...
- Many files were missing an explicit cmake.h include. Some were not including
it at all. Now it's used almost everywhere.
(cherry picked from commit 82ae86979c497e6d1d0c6b2b5a55aa379ec82c98)
2013-06-02 13:57:36 -04:00
Paul Beckingham
773b55d374
Code Cleanup
...
- Removed L10N define. It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
1dccd29643
Copyright 2013
...
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Louis-Claude Canon
160260ff48
Code Cleanup
...
- Remove duplicate modify call to TDB2.
- Check if quitting in bulk change only if permission fails.
- Correct test logic (the unit for each operation is the second, not the day).
- Consistency in test for feature.1013.t
- Correctly color deleted tasks.
test
2012-07-26 08:06:15 -04:00
Louis-Claude Canon
1d99260cb9
Enhancement
...
- Stop consider new tasks after quitting a bulk change.
2012-07-25 08:06:18 -04:00
Louis-Claude Canon
e5d142a468
Bug #1038
...
- Cleaner solution (less code duplication and blank space only when a
confirmation is needed) for bug #1038 .
2012-07-25 08:06:15 -04:00
Louis-Claude Canon
406f098263
Bug #1038
...
- Fixed bug #1038 , which prints blank lines with bulk changes and when the
verbose attributes does not specify it.
- Lines do a better separation between each changes also.
2012-07-24 20:51:03 -04:00
Louis-Claude Canon
1668aef66b
Code Cleanup
...
- Consistent scheme for printing project change information: always
shows the progress estimation and add a notification that the project
has changed if the number of tasks is changed.
2012-07-03 09:05:19 -04:00
Paul Beckingham
80d6655709
Bug
...
- Fixed problem where 'project' was not supported as a verbosity token (thanks
to Adam Gibbins).
2012-03-17 10:11:55 -04:00
Paul Beckingham
46b275c3ce
Feedback
...
- When bulk tasks are modified, the "project changed" messages are
now retained until processing is completed, so that only one message
per project is generated.
2012-03-03 09:46:11 -05:00