Gagan Nagaraj
d75ef7f197
Check if end date is being set to a pending task ( #3622 )
...
check if end date is being set to a pending task
-throw error if end date is being set to a pending task
- add test for the bug
2024-09-13 12:16:20 -04: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
Dustin J. Mitchell
e768e2c100
compare Tasks directly, not their properties
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
dede40bc4e
Replace direct Task.data access with a temp getter (syntactic refactor)
...
Now this getter, `data_removeme`, can easily be grepped out and
replaced, one usage at a time in small PRs.
2021-12-16 23:03:44 -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
HTunne
75c0e41fcc
Make modify and delete commands respect rc.recurrence.confirmation config option.
2020-11-21 12:26:41 -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
8c7f3be1bd
l10n: Eliminated STRING_FEEDBACK_NO_TASKS_SP
2018-01-20 21:40:46 -05:00
Paul Beckingham
641b2dd412
l10n: Eliminated STRING_CMD_MODIFY_*
2018-01-20 15:40:22 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
c8cd93d630
CmdModify: Code cleanup
2017-01-29 13:04:51 -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
1187ad16cc
CmdModify: Code cleanup
2016-02-02 01:04:40 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Wilhelm Schuermann
8f8ad813cd
Task: Remove std::map inheritance, clean up interface
...
- Make the Task object's interface more explicit by removing the
std::map inheritance.
- Using this more explicit interface, remove unneeded ctors in order to
allow the compiler to "Do The Right Thing"(tm).
This leads to a performance improvement of 12% in the "add"
performance test, and 7% for "import".
2015-11-04 20:33:52 +01: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
Tomas Babej
97dbb0cfe4
CmdModify: Do not use filter context
2015-10-03 10:59:42 -04:00
Tomas Babej
4042cbf964
feedback: Replace taskDiff method by Task inequality operator
2015-09-05 17:19:18 -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
Wilhelm Schuermann
5f8469269e
Cleanup: Remove unused function
...
- Unused since 2010, removed in accordance with Paul's wishes.
2015-05-31 16:41:57 +02:00
Wilhelm Schuermann
9067194390
CmdModify: Reorganize code for reuse
...
- Get "modify" checks ready for reuse by CmdImport's newly added update
support.
- No changes in functionality, code reorganization only.
2015-05-31 16:25:07 +02: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
784f4e068c
CmdModify
...
- Removed TDB2::commit.
2014-09-08 00:23:00 -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
5a0c07782e
CmdModify
...
- Converted from A3 modifications to Task::modify.
2014-05-25 16:51:56 -04:00
Paul Beckingham
1cbada6bc5
CmdModify
...
- Converted from A3 to Filter.
2014-05-24 23:52:06 -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