Dustin J. Mitchell
5bb9857984
Use Taskchampion to store Taskwarrior data
...
This replaces the TF2 task files with a TaskChampion replica.
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
8c30400af3
Add a C++ wrapper around TC FFI
...
This uses CMake to build a simple Rust library (in `src/tc/rust`) that
just re-exports everything from the `taskchampion-lib` crate.
The C++ wrappers then wrap this into C++ objects with proper lifecycle
maintenance, in the `tc` namespace.
The C++ wrappers are incomplete, and missing methods are tagged with
"TODO". These will be added as needed.
2022-07-29 21:41:41 -04:00
Dustin J. Mitchell
28e268bd26
fix parsing invalid depends from server
...
The data from the server is read via Task::parseJSON, not Task::parse.
This also reverts the tests for Task::parse, and adds new tests for this
specific issue.
2022-01-19 19:34:45 -05:00
Paul Beckingham
d5a7769b4f
Tests: Added first DOM test
2018-05-13 23:18:17 -04:00
Paul Beckingham
6009e20aa4
Tests: Named date tests migrated to libshared
2018-05-13 22:58:25 -04:00
Paul Beckingham
f2483538d2
Tests: Removed unused Nibbler tests
2018-05-13 22:54:58 -04:00
Paul Beckingham
c5f5b4a1f0
Tests: Eliminated ISO8601d tests
2018-05-13 22:53:10 -04:00
Paul Beckingham
c488e1d45c
Tests: Eliminated ISO8601p tests
2018-05-13 22:52:31 -04:00
Paul Beckingham
b57a734625
Config: Migrated to libshared Configuration
2018-05-13 22:43:33 -04:00
Paul Beckingham
728390b6e5
Color: Now uses libshared
2018-05-13 22:22:41 -04:00
Paul Beckingham
c571f6b4fb
Msg: Migrated to use libshared
2018-05-13 20:32:56 -04:00
Paul Beckingham
026a8aa9a1
Tests: Eliminated empty text.t test
2018-05-13 20:31:26 -04:00
Paul Beckingham
8462120c0a
Tests: Removed migrated autoComplete tests
2018-05-13 20:29:14 -04:00
Paul Beckingham
555dc98f5b
Tests: Removed redundant FS tests
2018-05-13 20:04:55 -04:00
Paul Beckingham
d0251642bc
Tests: Removed redundant utf8 tests
2018-05-13 20:02:56 -04:00
Paul Beckingham
9a63bd5d6f
Tests: Removed redundant listt tests
2018-05-13 20:02:03 -04:00
Paul Beckingham
a7900205e5
Tests: Removed redundant format tests
2018-05-13 20:01:45 -04:00
Paul Beckingham
dbb22f506d
Tests: Removed JSON tests
2018-05-13 20:01:27 -04:00
Paul Beckingham
db182f4612
Tests: Removed RX tests
2018-05-13 19:59:09 -04:00
Paul Beckingham
acca829aed
Test: Merged t3.t.cpp into t.t.cpp
2015-10-23 10:19:17 -04:00
Paul Beckingham
bb58b796fd
Task Data Parsing
...
- Improved the handling when parsing blank lines and empty task in the data, so
that instead of the message:
Taskwarrior no longer supports file format 1, originally used between 27
November 2006 and 31 December 2007.
We now see:
Unrecognized Taskwarrior file format or blank line in data.
- Merged t2.t.cpp into t.t.cpp.
2015-10-23 10:13:38 -04:00
Paul Beckingham
799e62051f
Test: Removed Date
2015-10-05 09:54:54 -04:00
Paul Beckingham
565232eccd
Duration: Obsolete, removed
2015-08-12 11:41:15 -04:00
Paul Beckingham
3619cf219d
Test: Added col.t to test Column::measure
2015-07-18 14:11:14 -04:00
Renato Alves
03847ab8ba
Test: run_all is now in Python and defaults to parallelizing tests
...
In addition to the conversion to Python, run_all now defaults to running
all Python tests in parallel, using the same approach previously
available via '--fast'. If desired one can force all tests to run
serially by calling run_all with --serial
A debugging flag was now also included in run_all. Pass one or more -l
(-l, -ll or -lll) for different levels of debugging information.
2015-06-25 23:36:28 +01:00
Paul Beckingham
afa39de68b
Tests: Combined and converted DOM unit tests
...
- Eliminated dom.t.cpp and therefore dom.t
- Eliminated dom.2.t (perl)
- Created dom.t (python) combining the above
2015-06-14 22:15:33 -04:00
Paul Beckingham
3e043291f0
Cleanup: Combined File, Path and Directory into FS
...
- The three objects are related and always travel together, so they are now
combined.
2015-05-25 10:11:41 -04:00
Wilhelm Schuermann
3a7af017f8
Tests: Make "run_all --fast" even faster
...
- Run isolated tests in the background, bringing the time for running
"run_all" down to the time it takes to run the old tests.
2015-05-07 11:41:05 +02:00
Wilhelm Schuermann
5fee3ef27c
Tests: Clean up after "run_all --fast"
2015-05-06 20:56:35 +02:00
Paul Beckingham
70c3d9845c
Unіt Tests
...
- Merged width.t.cpp into utf8.t.cpp.
2015-03-07 11:59:37 -05:00
Paul Beckingham
6d75045658
Tree
...
- Eliminated Tree object from the repository.
2014-11-02 22:30:21 -05:00
Paul Beckingham
f585f31d69
OldDuration
...
- Removed obsolete OldDuration object, replaced by Duration.
2014-05-28 23:59:16 -04:00
Paul Beckingham
c9f6a4b9df
Unit Tests
...
- Added Variant::operator_partial unit tests, based initially on
::operator==.
2014-05-19 20:15:32 -04:00
Paul Beckingham
98f740e9d1
Merge branch '2.3.0' into 2.4.0
...
Conflicts:
AUTHORS
CMakeLists.txt
NEWS
src/A3.cpp
src/CMakeLists.txt
src/Config.cpp
src/Duration.cpp
src/Duration.h
src/Nibbler.cpp
src/Nibbler.h
src/RX.cpp
src/RX.h
src/columns/ColDate.cpp
src/columns/ColScheduled.cpp
src/commands/Command.cpp
src/legacy.cpp
src/utf8.cpp
src/utf8.h
test/CMakeLists.txt
test/bug.mergedeps.t.postponed
test/duration.t.cpp
test/merge.duplicates.t
test/merge.simple_duplication.t
test/merge.t
test/nibbler.t.cpp
test/roundtrip.t
test/rx.t.cpp
test/utf8.t.cpp
2014-01-07 19:10:03 -05:00
Paul Beckingham
09f6160880
Unit Tests
...
- Updated named dates tests.
2014-01-05 21:23:34 -05:00
Paul Beckingham
fae592f921
Unit Tests
...
- Merged libexpr eval tests.
2014-01-02 01:28:41 -05:00
Paul Beckingham
12520715af
Unit Tests
...
- Merged libexpr Variant tests.
- Updated .gitignore.
2014-01-02 01:21:40 -05:00
Paul Beckingham
2b747e2df2
Unit Tests
...
- Merged libexpr Lexer tests.
- Updated .gitignore.
2014-01-02 01:12:38 -05:00
Paul Beckingham
8f9a48c3ff
Unit Tests
...
- Added Tree object unit tests.
2013-08-31 19:01:51 -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
8af0a7f3ba
Merge branch 'master' into 2.3.0
...
Conflicts:
AUTHORS
CMakeLists.txt
INSTALL
NEWS
cmake.h.in
doc/man/task-faq.5.in
package-config/osx/README
scripts/utils/verify_l10n
src/API.h
src/Config.cpp
src/Context.cpp
src/DOM.cpp
src/Hooks.cpp
src/TransportShell.h
src/commands/CmdDiagnostics.cpp
src/commands/CmdShell.cpp
src/commands/CmdVersion.cpp
src/en-US.h
src/shell/Readline.h
src/wcwidth6.cpp
test/CMakeLists.txt
test/color.uda.t
test/duration.t.cpp
test/hook.on-launch.t
test/template.t
test/uuid.t
2013-04-07 17:56:59 -04:00
Paul Beckingham
61fdc0da52
Unit Tests
...
- Updated test class to conform to coding standards.
- Implemented TAP.py to allow Python unit tests.
2013-04-07 00:09:16 -04:00
Paul Beckingham
fcf9ba983c
Unit Tests
...
- Added unit tests for specific character width calculations.
2013-03-02 10:47:43 -05:00
Paul Beckingham
01e589a172
I18N
...
- One does not simply std::string::substr a UTF8 string, like a bloody caveman.
Implemented utf8_substr, and added unit tests.
2013-01-16 18:36:54 -05:00
Paul Beckingham
ce2f7054f7
Messaging
...
- Migrated taskd messaging code over, for client-side communications.
2012-10-06 09:03:27 -04:00
Federico Hernandez
112d0d8771
Unit tests
...
- portability to help flod
2012-09-12 00:00:54 +02:00
Paul Beckingham
a3cb1172a1
Code Cleanup
...
- The .gitignore file listed old junk.
2011-09-05 09:34:01 -04:00
Paul Beckingham
402ac5b418
Code Cleanup
...
- Removed .gitignore entries for obsolete tests.
2011-09-05 02:10:18 -04:00
Paul Beckingham
f245fa808c
Code Cleanup
...
- Removed obsolete TDB, Att and Location code.
- Removed associated unit tests, unfortunately all ones that pass.
2011-09-03 13:17:03 -04:00
Paul Beckingham
dab06f8672
Code Cleanup
...
- All objects now use the same convention for naming members. The
consistency is a good thing.
2011-08-25 21:54:28 -04:00