Dustin J. Mitchell
75e10676ce
Use ffizz_header to generate taskchampion.h
2023-06-19 13:36:17 -04:00
Dustin J. Mitchell
a69b0c8032
Remove properties when set to an empty string
...
Fixes #3109 .
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
6cd5bf1237
Update "modified" on modification
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
a1b64a05ba
add more information to 'task purge' footnote
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
3b4113c61a
Update comments for TDB2::modify
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
18d60719e4
update comment for TDB2::get_changes
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
9df4c8156e
remove TDB::commit
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
0882a08d18
Remove unnecessary TDB2::{modify,add} argument
2023-06-11 17:37:03 -04: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
Dustin J. Mitchell
87467f72c7
[BREAKING] remove 'task purge' support
...
TaskChampion removes deleted tasks automatically when they expire, so
this subcommand is no longer required.
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
d47c70579f
[BREAKING] Disable the 'sync' command
...
This will require support from TaskChampion.
2023-06-11 17:37:03 -04:00
Dustin J. Mitchell
ddd367232e
[BREAKING] Remove journal.info support
...
This support will require access to all of the operations ever performed
on a task, which is not currently exposed by TaskChampion (but see #2928 )
2023-04-16 19:21:14 -04:00
Dathan Bennett
33366e2f05
Ignore the aarch64-apple-darwin directory
...
This directory is generated instead of the x86_64-unknown-linux-gnu
directory when building on an ARM64/AArch64 Mac, so this change adds
that directory to the gitignore config.
2023-04-09 15:29:29 -04:00
dependabot[bot]
84fb2f0d2f
Bump bumpalo from 3.9.1 to 3.12.0 in /src/tc/rust
...
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases )
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-22 21:27:07 -05:00
DBV
627dc79a7e
Update CmdNews.cpp
...
typo
2023-01-11 00:09:28 -05:00
Dustin J. Mitchell
88333ac785
Expose is_* methods on tasks.
2022-12-21 16:36:23 -05:00
Dustin J. Mitchell
9add31104b
Add a Recurring status to TaskChampion
2022-12-18 14:56:00 -05:00
Dustin J. Mitchell
015e8eac25
pass create_if_missing in Replica constructor
2022-12-18 13:01:32 -05:00
Dustin J. Mitchell
6981aaccf2
Add a <vector> include in Replica.h
...
Replica.h refers to std::vector, so this header file must be included.
2022-12-18 12:58:38 -05:00
John Nguyen
591d6ccffb
Bump libshared submodule
2022-12-18 12:33:36 -05:00
Dustin J. Mitchell
a93a3aa4f9
Update Cargo.lock (see #2994 )
2022-11-12 17:49:42 -05:00
Dustin J. Mitchell
f5e976ae73
remove leftover src/taskchampion submodule
2022-07-29 21:41:41 -04:00
Dustin J. Mitchell
12ecfa2b1e
rename rust/ to taskchampion/
2022-07-29 21:41:41 -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
35c8ce2ccb
Remove references to TDB2::read_only
...
A TC replica is always read-write.
2022-07-24 14:18:21 -04:00
Dustin J. Mitchell
f452100588
Remove references to TDB2::data_size
...
This value will is not relevant for TaskChampion.
2022-07-24 14:18:21 -04:00
Dustin J. Mitchell
e3ef6c504a
remove TBD2::clear, only used in tests
2022-07-24 14:18:21 -04:00
Dustin J. Mitchell
271d06cd9c
make TDB2.pending/completed non-public
...
References to methods on these fields are replaced with methods on TDB2,
several of which already existed.
2022-07-24 14:18:21 -04:00
Dustin J. Mitchell
4ebd0ffb39
make TDB2.undo non-public
...
The stats command calls an API to provide this information in a way that
will still be relevant for TaskChampion, while CmdInfo's access to the
data remains. The TaskChampion interface for per-task hitsory is still
not ready.
2022-07-24 14:18:21 -04:00
Dustin J. Mitchell
c8cfcec48b
Make TDB2.backlog non-public
...
The stats command gets this information from an API that will also work
for TaskChampion. The sync command still accesses the field directly,
as the command must be completely rewritten for TaskChampion.
2022-06-21 12:05:50 -04:00
Raf Czlonka
92a9a716a8
Use 'speakers' instead of 'users'.
...
"Non-English users" sounds very much like "users who are not English".
Also, "Non-English speakers" is already a well established phrase.
2022-06-12 18:30:20 -04:00
Raf Czlonka
12bdc0d480
Fix typo: 'holday' -> 'holiday'
...
While there, be consistent when using hyphens.
2022-06-12 18:30:20 -04:00
sec65
0d63165ca5
TW-2763: added hooks.location to show command
2022-06-12 18:11:05 -04:00
Nikos Koukis
4c179a427d
Fix issue with filter not applied correctly during task _tags
command
...
Also includes:
* Add cmake build directory + Session.vim files to .gitignore list
2022-05-31 01:31:28 -04:00
Tomas Babej
0a558ef7c8
Context: Add a reminder to mirror options in the vim syntax file
2022-05-07 21:52:22 -04:00
Dominik Rehák
27f3e95f12
ColTypeDate: Fix countdown style width
2022-05-07 21:48:07 -04:00
Jackson Abascal
c3bb3810be
Fix urgency inheritance for negative-urgency tasks
2022-04-13 11:38:30 -04:00
Dominik Rehák
8c3aa95224
CmdInfo: Fix leading spaces before urgency value
...
The minimal field width is set to 4, so if the value is shorter, it gets
prefixed with spaces, breaking the flow of the table.
2022-04-13 11:22:49 -04:00
Tomas Babej
1fc1884017
Context: Add parent column among default ones for the recurring report
...
This helps to identify parent-child relationships.
2022-03-14 02:48:13 -04:00
Tomas Babej
75ce386b44
Context: Adjust definition of the recurring report filter
...
Ensure the recurring report lists the recurring parent tasks as well as
the child tasks.
2022-03-14 02:48:13 -04:00
Jan Palus
d541e0da65
TLSClient: fix multiple issues with error handling
...
- do not check errno on successful function calls (it might not be
cleared after previous failed one)
- GNUTLS_E_* are not passed through errno but as function return value
- therefore there's more error spectrum than -1
- do not assume whole header is received, check number of bytes fetched
small additional improvements:
- read as many bytes into buffer as possible before appending to data
- skip writing nul byte at the end of buffer and use append() instead
- additional sanity checks
2022-02-11 00:19:04 -05:00
Patrick Flakus
59a1729a05
Cleanup: Fixed typo in docstring
2022-01-27 16:10:47 -05:00
Tomas Babej
112ac54a57
ColDepends: Support dependency removal for the same formats as dependency addition
2022-01-19 20:11:41 -05: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
Dustin J. Mitchell
7321febe4f
A more thorough fix to corruption of the depends property
2022-01-19 19:34:45 -05:00
Dustin J. Mitchell
96d6c1df9f
Add special case for taskserver mis-formatting of depends
2022-01-16 15:36:21 -05:00
Dustin J. Mitchell
b066a17ebe
use a reference in CurrentTask
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
277ce0e226
Update doc comment in src/Context.h
...
Co-authored-by: Tomas Babej <tomas@tbabej.com>
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
65830dd705
replace the global contextTask with a Context field
2021-12-30 15:03:37 -05:00