Commit graph

11306 commits

Author SHA1 Message Date
Dustin J. Mitchell
2f57edee51 remove docs about taskchampion-cli 2022-05-25 20:55:18 -04:00
Dustin J. Mitchell
c0ce1fe059 Drop the 'taskchampion-cli' crate
It was fun while it lasted, but we'll be using TaskWarrior for the CLI!
2022-05-25 20:55:18 -04:00
dependabot[bot]
2b9a389636 Bump predicates from 1.0.8 to 2.1.1
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 1.0.8 to 2.1.1.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v1.0.8...v2.1.1)

---
updated-dependencies:
- dependency-name: predicates
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 20:44:56 -04:00
dependabot[bot]
47a91315df Bump log from 0.4.14 to 0.4.17
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.14...0.4.17)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 20:44:47 -04:00
dependabot[bot]
63e48b0a96 Bump dialoguer from 0.8.0 to 0.10.1
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.8.0 to 0.10.1.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases)
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/0.8.0...v0.10.1)

---
updated-dependencies:
- dependency-name: dialoguer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 20:44:40 -04:00
Tomas Babej
b15732ed38
Merge pull request #2783
Merge development efforts of TaskChampion and Taskwarrior
2022-05-20 03:03:45 -04:00
Dustin J. Mitchell
1ed483ecde
codegen taskchampion.h 2022-05-08 20:06:06 +00:00
Dustin J. Mitchell
5c7eeeb87e
set up dependabot for rust/ 2022-05-08 20:06:06 +00:00
Dustin J. Mitchell
ea39968816
add codeowners for rust/ 2022-05-08 20:06:06 +00:00
Dustin J. Mitchell
9f5994bfd1
Update GitHub actions to work in Taskwarrior
This moves the workspace Cargo.toml to the root of the repository, so
that the "actions-rs/cargo" action can find it.
2022-05-08 20:06:05 +00:00
Dustin J. Mitchell
1df54125ea
Import the TaskChampion repository at rust/ 2022-05-08 19:39:44 +00:00
Dustin J. Mitchell
2a92b2a4b9
move contents of taskchampion repo to tc/ 2022-05-08 19:39:02 +00: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
e0c9561a8e vim: Add missing config options to taskrc syntax file
Sourced from taskrc(5) and default config (Context.cpp).
2022-05-07 21:49:31 -04:00
Dominik Rehák
27f3e95f12 ColTypeDate: Fix countdown style width 2022-05-07 21:48:07 -04:00
Dustin J. Mitchell
73baefa0a5
Merge pull request #354 from djmitche/tc-lib-rlib
export taskchampion-lib as an rlib, too
2022-04-24 19:17:22 -04:00
Dustin J. Mitchell
ac172b1008
Name the C library differently from the crate 2022-04-24 23:09:15 +00:00
Dustin J. Mitchell
716a558ba2
ignore a C code example 2022-04-24 22:49:31 +00:00
Dustin J. Mitchell
ae3851f5a6
export taskchampion-lib as an rlib, too 2022-04-24 22:49:31 +00:00
Dustin J. Mitchell
07929f327f
Merge pull request #353 from djmitche/issue352
Add `Replica.num_local_operations`
2022-04-24 18:28:41 -04:00
Dustin J. Mitchell
20823b7a73
expose Replica::num_local_operations via FFI 2022-04-23 19:19:14 +00:00
Dustin J. Mitchell
fd504b7d66
add num_local_operations to Replica 2022-04-23 18:51:40 +00: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
Dustin J. Mitchell
6f8c734186
Merge pull request #350 from djmitche/issue78
Treat priority as an arbitrary string
2022-04-06 19:10:47 -04:00
Dustin J. Mitchell
1b586a425f
Treat priority as an arbitrary string
This matches what TaskWarrior does: priority is a UDA, and can be
redefined by the user's local config.
2022-03-27 17:54:12 -04:00
Tomas Babej
7400e6ed6b README: Update version reference 2022-03-16 01:52:27 -04:00
Tomas Babej
93394e7054 meta: Update CMake version reference for 2.6.2 2022-03-16 01:52:16 -04:00
Tomas Babej
f030154ef6 docs: Document #2689 2022-03-16 01:39:02 -04:00
Tomas Babej
10a2225aae docs: Document #2707 2022-03-16 01:34:42 -04:00
Dustin J. Mitchell
0dd2d9cd30
Merge pull request #336 from djmitche/issue84
Add support for dependencies
2022-03-15 19:02:32 -04:00
Dustin J. Mitchell
6f48f715ac
+BLOCKED, +UNBLOCKED, and +BLOCKING tags
These are somewhat expensive tags, as they require reference to values
outside of the task itself.

To accomplish this, the replica supplies a pre-computed DependencyMap
that is only calculated once per replica, and only from the working set.
2022-03-15 19:02:24 -04:00
Dustin J. Mitchell
47e213d6ec
add support for dependencies to 'ta info' 2022-03-15 19:02:24 -04:00
Dustin J. Mitchell
47b1fed42a
Add support for modifying dependencies
This requires "resolving" dependencies after the command-line parsing
phase is complete.
2022-03-15 19:02:23 -04:00
Dustin J. Mitchell
db1e1c9c96
Support parsing depends:.. in CLI 2022-03-15 18:01:49 -04:00
Dustin J. Mitchell
bf73cc4cc7
add dependency support to taskchampion 2022-03-15 18:01:48 -04:00
Dustin J. Mitchell
a030053dae
Merge pull request #345 from djmitche/reexport-chrono
Re-export the chrono crate from taskchampion.
2022-03-15 17:59:03 -04:00
Dustin J. Mitchell
f8c4ece238
Re-export the chrono crate from taskchampion.
The chrono types are central to use of TC, so this will help consumers
of the TC crate to avoid dependency conflicts.
2022-03-15 17:58:54 -04:00
Dustin J. Mitchell
8e5ab78440
Merge pull request #347 from djmitche/take-from-lists
Allow taking from pointer lists
2022-03-15 17:57:48 -04:00
Dustin J. Mitchell
8c91b2c3db
Merge pull request #346 from djmitche/include-guard
add an include guard to taskchampion.h
2022-03-15 17:57:36 -04:00
Tomas Babej
de793e5902 docs: Document #2748 2022-03-14 02:48:13 -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
Dustin J. Mitchell
33a3b980d0
Allow taking from pointer lists
This introduces `tc_task_list_take`, supporting taking ownership of an
item in a task list.

TCTaskList is the only pointer list, but this is a generic and could be
used for other types.
2022-03-13 16:25:59 +00:00
Dustin J. Mitchell
3c6da4138f
add an include guard to taskchampion.h 2022-03-12 21:38:59 +00:00
Dustin J. Mitchell
9355e1a728
Merge pull request #341 from djmitche/issue26
Add support for expiration
2022-03-10 15:35:50 -05:00
Dustin J. Mitchell
cb87206047
Merge pull request #344 from djmitche/regex-update
Address RUSTSEC-2022-0013.
2022-03-10 15:35:21 -05:00
Dustin J. Mitchell
889e1d1cdc
Merge pull request #342 from djmitche/clippy-warnings
fix some clippy warnings, and make them errors for taskchampion-lib
2022-03-10 15:35:12 -05:00
Dustin J. Mitchell
bd9a5ad5ff
Address RUSTSEC-2022-0013.
Note that the risk from this vulnerability was minimal for this project.
2022-03-09 17:52:57 -05:00
Dustin J. Mitchell
a5a8e3b7c8
fix some clippy warnings, and make them errors for taskchampion-lib 2022-03-07 23:49:37 +00:00