Commit graph

11366 commits

Author SHA1 Message Date
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
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
Dustin J. Mitchell
8e34c107d5 update safety comments 2022-02-13 22:21:07 +00:00
Dustin J. Mitchell
ca904d6288 improve output of C tests 2022-02-13 21:02:18 +00:00
Dustin J. Mitchell
41a578ab2b add server support 2022-02-13 20:18:07 +00:00
Dustin J. Mitchell
c0403f3f38 fix bad test 2022-02-13 16:18:17 +00:00
Dustin J. Mitchell
fc73911cde fix some clippy::wrong_self_convention 2022-02-13 03:39:39 +00:00
Dustin J. Mitchell
ad464c4779 use Uda instead of UDA 2022-02-13 03:39:39 +00:00
Dustin J. Mitchell
51a854cfef address some clippy lints 2022-02-13 03:30:02 +00:00
Dustin J. Mitchell
bbb7b64842 review safety comments 2022-02-13 03:19:11 +00:00
Dustin J. Mitchell
c22182cc19 rename trait methods to avoid ambiguity 2022-02-13 02:30:17 +00:00
Dustin J. Mitchell
213da88b27 add tc_task_get_taskmap 2022-02-13 02:05:25 +00:00
Dustin J. Mitchell
1488355b89 add working-set support 2022-02-12 22:19:09 +00:00
Dustin J. Mitchell
ad560fdb79 add UDA support 2022-02-12 16:22:45 +00:00
Dustin J. Mitchell
f81c4eec90 rename array to list in rust types 2022-02-12 15:20:46 +00:00
Dustin J. Mitchell
e9cd6adc5b fix memory leak, remove blanket pointer-by-value impls 2022-02-12 01:21:05 +00:00
Dustin J. Mitchell
76cbc2880b refactor annotations to handle invalid strings 2022-02-12 00:26:57 +00:00
Dustin J. Mitchell
7ebdaa761c treat libc::time_t as a PassByValue 2022-02-12 00:18:01 +00:00