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
42238b5306
add an integration test for syncing task expirations
2022-03-07 23:37:31 +00:00
Dustin J. Mitchell
3a4c417cee
free replica in test
2022-03-02 20:58:36 -05:00
Dustin J. Mitchell
85153423be
include BCrypt on Windows
2022-02-27 17:59:58 +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
471119dbdf
TCString as PassByValue
2022-02-18 03:52:09 +00:00
Dustin J. Mitchell
02055b122e
find shared library on macos as well
2022-02-16 00:07:30 +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
ad464c4779
use Uda instead of UDA
2022-02-13 03:39:39 +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
7996a98908
add annotation support
2022-02-11 23:54:52 +00:00
Dustin J. Mitchell
b01285d780
add some simple replica functions
2022-02-10 01:18:50 +00:00
Dustin J. Mitchell
a4d992012e
TCUuidList, refactor traits
2022-02-10 00:55:34 +00:00
Dustin J. Mitchell
914017b46c
tc_replica_all_tasks
2022-02-10 00:11:30 +00:00
Dustin J. Mitchell
c9c72b4fd3
return TCResult from tc_uuid_from_str
2022-02-09 23:43:23 +00:00
Dustin J. Mitchell
28a4599a6a
rename TCStrings to TCStringList
2022-02-09 23:37:32 +00:00
Dustin J. Mitchell
831eb0bb15
TCTags -> TCStrings to be more general
2022-02-06 16:40:17 +00:00
Dustin J. Mitchell
f4c6e04d44
TCTags as PassByValue
2022-02-06 05:27:30 +00:00
Dustin J. Mitchell
a46a9d587a
fix typo
2022-02-05 00:25:02 +00:00
Dustin J. Mitchell
3dd2ae5011
implement TCTags as an array
2022-02-04 02:49:55 +00:00
Dustin J. Mitchell
8b160c7ee8
more task functions
2022-02-01 03:01:09 +00:00
Dustin J. Mitchell
e5625e1597
entry and wait time support
2022-02-01 02:45:28 +00:00
Dustin J. Mitchell
f2b3e5fd0a
tc_task_has_tag
2022-02-01 01:02:49 +00:00
Dustin J. Mitchell
22a6857c1b
simplify TCResult to just two values
2022-02-01 00:46:04 +00:00
Dustin J. Mitchell
b675cef99c
add error handling for tasks
2022-02-01 00:35:02 +00:00
Dustin J. Mitchell
ce45c1004c
add tc_task_add_tag and check errors
2022-01-31 19:44:00 +00:00
Dustin J. Mitchell
ef0bb2ced4
allow task setters to return error values
2022-01-31 19:34:21 +00:00
Dustin J. Mitchell
8bd9605b25
support starting and stopping tasks
2022-01-31 00:04:58 +00:00
Dustin J. Mitchell
364ca57736
Slightly more ergonomic task mutation
2022-01-30 23:42:52 +00:00
Dustin J. Mitchell
452ae2074f
implement task mutability
2022-01-29 03:08:45 +00:00
Dustin J. Mitchell
633ea5cf47
correctly handle invalid utf-8
2022-01-27 02:22:47 +00:00
Dustin J. Mitchell
b5201a28c3
build bindings-test shared
2022-01-27 02:22:47 +00:00
Dustin J. Mitchell
e1c348b96e
tc_replica_get_task
2022-01-26 02:15:57 +00:00
Dustin J. Mitchell
f3b73ca0e4
add task_import_with_uuid
2022-01-26 02:15:57 +00:00
Dustin J. Mitchell
96b59dd5b2
serialize C integration tests
2022-01-26 02:15:57 +00:00
Dustin J. Mitchell
8f703fd63a
use TCString in UUIDs
2022-01-26 01:29:29 +00:00
Dustin J. Mitchell
dd87f7da1e
simplify defining suites
2022-01-26 00:58:29 +00:00
Dustin J. Mitchell
c5ff2398f7
ignore test-db
2022-01-26 00:57:36 +00:00
Dustin J. Mitchell
0d68e65354
some polish on strings
2022-01-26 00:57:06 +00:00
Dustin J. Mitchell
ca0279a73f
move existing integration tests into new crate
2022-01-26 00:57:06 +00:00
Dustin J. Mitchell
c006cbe8e5
test bindings in an integration-tests crate
2022-01-25 02:54:01 +00:00