Rosen Penev
e84930be8d
clang-tidy: use auto
...
Found with modernize-use-auto
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 01:39:23 -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
9188cb083c
l10n: Eliminated STRING_CMD_IMPORT_*
2018-01-21 12:09:51 -05:00
Paul Beckingham
ac61e77675
Code cleanup: Removed unnecessary include
2018-01-21 12:09:00 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
afd8b94c91
CmdImport: Code cleanup
2017-01-29 12:17:44 -05:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
b2ad9e96bd
text: Eliminated module
2016-12-11 17:51:44 -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
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
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
Paul Beckingham
778ba44beb
CmdImport: Removed redundant filter processing
2015-10-28 18:21:59 -04:00
Paul Beckingham
a82558064b
Cleanup: Prep for '-Wextra'
2015-10-16 16:27:05 -04:00
Paul Beckingham
44afdb89e3
CmdImport: Tyo
2015-09-05 18:27:36 -04:00
Tomas Babej
6c7aecc2a6
CmdImport: Neglect attributes with dynamic default values
...
If not explicitly stated on import, values with default dynamic
values (such as modified, entry or end) can produce a false
notion of incoming 'modified' data, where the only difference
between the data in the database and data being imported is
that the dynamic defaults differ, since they have been
generated at different times.
Solve the issue by neglecting the attributes with dynamic defaults,
if they have been generated.
2015-09-05 18:25:12 -04:00
Tomas Babej
4042cbf964
feedback: Replace taskDiff method by Task inequality operator
2015-09-05 17:19:18 -04:00
Paul Beckingham
4529bcf24a
Import: UUID attribute is now validated
2015-08-09 10:20:25 -04:00
Paul Beckingham
bf80c7d514
Cmd*: Added command DNA, which will ѕoon drive functionality
2015-08-01 15:56:04 -04:00
Paul Beckingham
51cf195b99
CmdImport: JSON parse errors are assumed to imply old-style format
2015-07-28 23:22:04 -04:00
Paul Beckingham
0747cc38aa
CmdImport: Removed unused method
2015-07-28 00:20:28 -04:00
Paul Beckingham
c2c26b338b
CmdImport: Added support for free-form JSON import
2015-07-27 20:48:51 -04:00
Daniel Shahaf
53a702d79a
zcmdcat: Categorize commands.
2015-07-26 13:55:23 -04:00
Paul Beckingham
5f30c9e2c3
Feature: Extra arg detection
...
- Commands that do not accept filters or modifications now generate an error
when extra arguments are specified.
2015-07-25 13:58:15 -04:00
Wilhelm Schuermann
8613a49f6e
Import: Allow importing JSON arrays
...
- "export" defaults to JSON array output now. Make "import" read it
instead of throwing an error.
2015-07-16 12:37:38 +02:00
Paul Beckingham
a24269a0c9
CmdImport: Converted from CLI to CLI2
2015-06-16 21:54:06 -04:00
Wilhelm Schuermann
f4361d5c65
Import: Reuse CmdModify's checks
...
- Make updating tasks with "task import" run the same checks and update
the same things as "task modify" would.
2015-05-31 16:36:53 +02:00
Wilhelm Schuermann
2a56e41fa9
Import: Skip unchanged tasks
...
- Re-importing the same file will now lead to no task changes.
Previously the "modified:" attribute got updated each time an
already imported file was imported again.
2015-05-30 12:40:38 +02:00
Wilhelm Schuermann
9d6067e2fe
TW-303: Make "task import" update existing tasks
2015-05-29 19:49:54 +02:00
Wilhelm Schuermann
a78c9a6eb8
TW-1440: Implement "task import" from STDIN
...
- Read tasks from STDIN when no files are specified, or only "-"
is specified.
2015-05-25 16:47:37 +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
624e5e7376
CLI
...
- Converted CmdImport from Parser to CLI.
2014-10-25 22:24:57 -04:00
Renato Alves
d49a2614ba
Bug - import/export now output JSON as individual objects
...
* For JSON as array, json.array=1 behaves as before
* Tests and add-on scripts used in import tests were updated
2014-10-20 20:21:11 +01:00
Paul Beckingham
5275c0ce60
TW-1441
...
- TW-1441 task import continues happily if filename doesn't exist.
2014-10-18 14:41:12 -04:00
Paul Beckingham
bdce0a8d01
CmdImport
...
- Removed TDB2::commit.
2014-09-08 00:21:54 -04:00
Paul Beckingham
79abddd03d
Parser
...
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00
Paul Beckingham
51a735cfba
CmdImport
...
- Converted from A3 to A3t.
2014-04-24 12:29:28 -04:00
Paul Beckingham
8b736934d7
Code Cleanup
...
- Removed deprecated 'push', 'pull' and 'merge' commands.
2014-01-18 19:12:48 -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
b408458439
Import
...
- The import command now uses the built-in Task::parseJSON method.
- Began t3.t.cpp for JSON parsing tests.
2013-05-20 16:31:57 -04:00
Paul Beckingham
6a97017c79
File Format
...
- File format 2 (used in version 0.9.3 - 1.5.0) is no longer supported.
- Task::parseJSON implemented.
- PRODUCT_TASKWARRIOR defined, to facilitate code sharing.
- Strings renamed for sharing purposes.
2013-05-20 16:14:34 -04:00
Paul Beckingham
773b55d374
Code Cleanup
...
- Removed L10N define. It served its purpose.
2013-04-07 23:50:51 -04:00