Commit graph

340 commits

Author SHA1 Message Date
Paul Beckingham
4e7576cb79 Merge branch 'recurrence' into 2.6.0 2017-01-07 12:29:11 -05:00
Paul Beckingham
f12a4d7cd6 Task: Added TEMPLATE and INSTANCE virtual tags 2017-01-07 12:00:53 -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
245ed39b78 Task: Improved method signature 2016-12-31 16:15:24 -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
c31e0b106d Task: Renamed ::getUDAOrphans to ::getUDAOrphanUUIDs 2016-12-31 12:27:28 -05:00
Paul Beckingham
b670d4b072 Task: Migrated from ISO8601d to Datetime 2016-12-17 22:18:46 -05:00
Paul Beckingham
2d9c28f47e Task: Converted from ISO8601p to Duration 2016-12-11 21:13:07 -05:00
Paul Beckingham
cdfd92ed9b Task: Migrated from Nibbler to Pig 2016-12-11 20:00:30 -05:00
Paul Beckingham
0fecb26536 Task: Corrected str_replace calls 2016-12-11 16:09:37 -05:00
Paul Beckingham
065fd8b6f1 Task: Migrated unquoteText to Lexer::dequote 2016-12-11 16:08:47 -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
ed7097d5da Task: Made better use of ::sameN methods 2016-05-30 14:11:29 -04:00
Paul Beckingham
630a1530e0 Task: Added QUARTER virtual tag 2016-05-30 14:11:07 -04:00
Paul Beckingham
53b526074f Cleanup: Removed debug output 2016-05-20 10:56:20 -05:00
Tomas Babej
f3147a512c feedback: Use task identifiers instead of IDs
During construction of a feedback string for a dependency change,
a list of IDs of the dependencies was used. However, if the tasks
being referred to are already deleted / completed, their respective
IDs are all 0s.

Use shortened UUIDs in such case.
2016-04-03 09:35:18 -04:00
Paul Beckingham
b2d49f3973 Task: Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
virtual tag.

- Thanks to Tomas Babej
2016-03-29 07:52:38 -04:00
Tomas Babej
cc324fdb8d validate: Pending tasks cannot have end attribute set 2016-03-22 19:33:24 -04:00
Paul Beckingham
eb09df0e6a TD-64: sync conflict deleted all annotations of the task
- Thanks to Markus Beppler, Konstantin Vorobyev.
2016-02-28 11:09:00 -05:00
Paul Beckingham
2d20f4d57b Cleanup: Converted all sprintf to snprintf 2016-02-25 00:19:38 -05:00
Paul Beckingham
29a7837fda TD-104: Unrecognized taskwarrior file format
- Thanks to Jeremy John Reeder, Reg.
2016-02-21 10:13:21 -05:00
Paul Beckingham
b61471ca0e TW-1710: Setting wait date on status:completed / status:deleted
- Thanks to Daniel Shahaf.
2016-02-02 23:24:06 -05:00
Paul Beckingham
8275181022 Task: ::getStatus no longer autovivifies 2016-02-02 23:23:14 -05:00
Paul Beckingham
23ac9895ab TW-1763: Removing the due date of a task with no due date modifies the task
- Thanks to Scott Kostyshak.
2016-02-02 01:03:19 -05:00
Paul Beckingham
ba957344ef Task: Specialized modification code replaced by Column::modify delegate 2016-02-01 01:11:21 -05:00
Paul Beckingham
99aaa4cc80 Task: Prepared Task::modify for switch to delegated Column::modify 2016-01-31 20:05:28 -05:00
Paul Beckingham
7c8b3c9699 Task: Removed dead code, fixed comments 2016-01-31 19:40:13 -05:00
Paul Beckingham
6e56849bce Task: Migrated part of ::modify to ColRecur 2016-01-31 19:28:23 -05:00
Paul Beckingham
f0b9ceb17b Task: Migrated part of ::modify to ColTags 2016-01-31 17:23:19 -05:00
Paul Beckingham
c6f9d2c4b2 Task: Renamed modCount to mods, we don't need to count them 2016-01-31 17:22:19 -05:00
Paul Beckingham
25d4392edf Task: Migrated part of ::modify to ColDepends 2016-01-31 17:04:45 -05:00
Paul Beckingham
15373daf85 Task: Improved CppCoreGuideline compliance 2016-01-31 16:05:00 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
f7d0f500fc TW-1481: Unable to assign a completed task as dependency
- Thanks to Tomas Babej.
2015-11-17 13:56:40 -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
9415f62482 Task: Conditional compilation allows Taskserver to reuse code 2015-11-08 17:03:05 -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
c248a32cab Task: Removed unnecessary 'this->' 2015-11-04 07:00:52 -05:00
Wilhelm Schuermann
80b5a584b7 Task: Reduce temporaries in composeFF4()
- Reducing temporaries leads to 3% performance increase in "import"
  performance test - 6% in "commit", 2% in "other".
2015-11-03 21:35:47 +01:00
Paul Beckingham
def0223afa Revert "Task: Converted to use to_string where appropriate"
This reverts commit 136f849aa8.
2015-11-02 18:45:55 -05:00
Paul Beckingham
261b062369 Revert "Task: Converted from strto* to std::sto*"
This reverts commit d9cf0fb923.
2015-11-02 18:40:20 -05:00
Paul Beckingham
3ab2410df3 Task: Conditional JSON/Task encoding, based on attribute type 2015-11-02 07:54:13 -05:00
Paul Beckingham
d9cf0fb923 Task: Converted from strto* to std::sto* 2015-11-01 21:49:34 -05:00
Paul Beckingham
5c8b7148b4 Task: Moved include to top of list, per flint++ recommendation 2015-11-01 19:59:10 -05:00
Paul Beckingham
ee9d303b10 Task: Removed unnecessary chomp in ::parse 2015-11-01 19:14:41 -05:00
Paul Beckingham
2aa3163451 Task: Use one-step attribute erase 2015-11-01 19:03:04 -05:00