ryneeverett
34c0e67469
show undo diff ( #3213 )
...
Exposes undo operations via the C API, and uses those to show a (new, differently formatted) diff before committing the undo.
2024-02-09 22:11:14 -05:00
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
4b814bc602
[BREAKING] remove diff display from 'task undo'
...
TaskChampion does not make the necessary information available to
accomplish this, but see #2928 .
2023-06-11 17:37:03 -04:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Max Rossmannek
f35989be0e
Enforce Python 3 for unittests
...
This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]
For reference:
s;/usr/bin/env python;/usr/bin/env python3;g
[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
2020-11-30 00:51:54 -05:00
Tomas Babej
a09f9d48ab
Update copyright to 2020
2020-11-21 12:27:05 -05:00
Tomas Babej
02db131fa1
tests: Use updated unittest method
2020-11-21 12:27:05 -05:00
Tomas Babej
675b8e2798
tests: Do not explicitly require Python 2.7
2019-01-01 14:53:44 -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
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
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
57daa02232
Test: Improved undo tests with more changes
2015-10-28 12:51:24 -04:00
Paul Beckingham
e3ad04aa37
Test: Added tests for rc.undo.style formatting
2015-10-28 12:13:42 -04:00
Paul Beckingham
b7c7d782e0
Test: Modified error message expectation
2015-09-06 14:59:43 -04:00
Tomas Babej
f5b9370623
tests: State explicit filetype for .t python files
2015-09-05 14:22:52 -04:00
Paul Beckingham
387c981b6d
Test: Fixed error message
2015-07-28 16:57:40 -04:00
Renato Alves
0f8c995934
Test: Correct output message of an undo test
2015-07-28 19:57:18 +01:00
Renato Alves
fe23510c51
Test: Drop default confirmation:off and correct tests accordingly
2015-07-28 19:57:18 +01:00
Paul Beckingham
3fd8545d43
Test: Propagated typo fix to tests
2015-07-25 14:07:14 -04:00
Renato Alves
3c89d61a53
Test: Merge bug.634.t with undo.t
2015-07-22 13:00:52 +01:00
Paul Beckingham
3f1f4853d6
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-17 14:40:49 -04:00
Renato Alves
27b8cabac1
Test: Change most tests to use "add test" instead of split arguments
2015-07-17 19:14:33 +01:00
Paul Beckingham
ff0441147d
Test: Added undo en-passant error check
2015-07-17 13:47:34 -04:00
Paul Beckingham
7e8f6eb41e
Test: Removed unnecessary import
2015-06-24 21:48:48 -04:00
Paul Beckingham
edff3e0e94
Tests: Converted undo.t to Python
2015-06-24 12:30:54 -04:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
62dc276f0b
Unit Tests
...
- Corrected tests that are no longer valid.
2014-08-24 15:35:05 -04:00
Paul Beckingham
02aed51196
Unit Tests
...
- Updateض to use the new template.
2014-08-24 15:29:14 -04:00
Paul Beckingham
855de25e0d
Unit Tests
...
- Corrected test that assumed completed.data was created, which is not
always the case now.
2014-06-14 15:38:51 -04:00
Paul Beckingham
72ceee198a
Unit Tests
...
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 21:41:18 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05: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
8ed92ca498
Copyright
...
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
2cbae3fb9c
Deprecated Feature Removal
...
- Removed deprecated 'echo.command' setting, in favor of the 'header' and
'affected' verbosity tokens.
2013-10-20 14:40:57 -04:00
Paul Beckingham
5f98e41801
Unit Tests
...
- Added more undo tests, to cover both cases for backlog rollback.
2013-10-06 13:55:42 -04:00
Paul Beckingham
0f416a9f01
Documentation
...
- Cleaned up obsolete references.
2013-09-11 00:35:25 -04:00
Paul Beckingham
ada6e49dab
Bug #1251
...
- #1251 tests should sanitize TASKDATA and TASKRC env vars (thanks to Jakub
Wilk).
2013-09-07 13:52:16 -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
1dccd29643
Copyright 2013
...
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Paul Beckingham
b1443e831b
Unit Tests
...
- Removed mention of synch.key from all unit tests. This is an obsolete file.
2012-10-01 23:56:09 -04:00
Scott Kostyshak
d73766484d
Bug
...
- Fixed Bug #1060 where an error that was thrown by undo was not
correctly caught and reported.
- Added a couple of tests to ensure that the correct error was
caught and reported.
2012-08-11 07:03:56 -04:00
Owen Clarke
31769a1fa4
Portability
...
- Changed the interpreter of the test files to use /usr/bin/env to find
perl in the user's path instead of hard-coding /usr/bin/perl
2012-07-30 18:49:50 +10:00
Paul Beckingham
da575c4043
Unit Tests
...
- Modified testing to accomodate new split between stdout/stderr.
2012-07-03 15:43:19 -04:00
Louis-Claude Canon
b45a305df2
Enhancement
...
- Output error, header, footnote and debug messages on standard error.
2012-06-16 16:07:27 -04:00
Paul Beckingham
6580095002
Copyright
...
- Year change.
2012-01-02 23:32:10 -05:00
Paul Beckingham
44e7fdac4b
Unit Tests
...
- Improved signal to noise ratio of all remaining unit tests.
2011-10-15 22:25:38 -04:00
Federico Hernandez
23e3bc56fb
License
...
- perl unit tests
2011-10-08 16:57:13 +02:00