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
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
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
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
Dustin J. Mitchell
42238b5306
add an integration test for syncing task expirations
2022-03-07 23:37:31 +00:00
Dustin J. Mitchell
411bc19762
doc expiration
2022-03-07 23:37:30 +00:00
Dustin J. Mitchell
97bd2addc9
add a 'ta delete' subcommand
2022-03-07 23:37:27 +00:00
Dustin J. Mitchell
3cdc13aa37
expire tasks in 'ta gc'
2022-03-07 23:37:25 +00:00
Dustin J. Mitchell
919e91fd13
don't automatically update modified when updating it explicitly
2022-03-07 23:37:15 +00:00
Dustin J. Mitchell
2a6c91b3f9
Support expiring old, deleted tasks
2022-03-07 23:37:13 +00:00
Dustin J. Mitchell
fcdcebb1e0
Merge pull request #339 from djmitche/uuid-len-const
...
use TC_UUID_STRING_BYTES constant directly
2022-03-07 10:55:28 -05:00
Dustin J. Mitchell
43ab50db42
use TC_UUID_STRING_BYTES constant directly
2022-03-06 01:25:31 +00:00
Dustin J. Mitchell
a7f353bd6e
Merge pull request #332 from djmitche/cdylib
...
build a C interface to taskchampion
2022-03-03 19:43:22 -05:00
Dustin J. Mitchell
3a4c417cee
free replica in test
2022-03-02 20:58:36 -05:00
Dustin J. Mitchell
a525935008
import order fix
2022-02-27 18:14:21 +00:00
Dustin J. Mitchell
85153423be
include BCrypt on Windows
2022-02-27 17:59:58 +00:00
Dustin J. Mitchell
1c5b01975c
fix unused symbol on windows
2022-02-27 17:57:34 +00:00
Dustin J. Mitchell
aadd4a762f
support generation of paths from TCString on Windows
2022-02-27 17:41:45 +00:00
Dustin J. Mitchell
5072ed7458
a bit of docs
2022-02-27 17:13:55 +00:00
Dustin J. Mitchell
8a96ca7273
fix formatting
2022-02-27 17:07:09 +00:00
Dustin J. Mitchell
2c9d74515e
link to libtaskchampion separately from the unity tests
2022-02-27 17:03:04 +00:00
Dustin J. Mitchell
17ccaea096
try the latest 'cc' crate in hopes it fixes things
2022-02-26 23:05:36 +00:00
Dustin J. Mitchell
f0178d4fab
don't use unsafe_op_in_unsafe_fn, as it's not in MSRV
2022-02-24 03:33:08 +00:00
Dustin J. Mitchell
471119dbdf
TCString as PassByValue
2022-02-18 03:52:09 +00:00
Dustin J. Mitchell
2eee761644
fix xtask Cargo.toml
2022-02-16 01:03:46 +00:00
Dustin J. Mitchell
741cb84430
better docs for C
2022-02-16 01:01:35 +00:00
Dustin J. Mitchell
b1d537ac87
use codegen, instead of build.rs, to build header file
2022-02-16 00:28:07 +00:00
Dustin J. Mitchell
02055b122e
find shared library on macos as well
2022-02-16 00:07:30 +00:00