Commit graph

676 commits

Author SHA1 Message Date
Dustin J. Mitchell
e11506ee6a always implement traits for C type 2022-02-06 23:05:33 +00:00
Dustin J. Mitchell
1e585ba0d9 comment updates 2022-02-06 16:50:43 +00:00
Dustin J. Mitchell
831eb0bb15 TCTags -> TCStrings to be more general 2022-02-06 16:40:17 +00:00
Dustin J. Mitchell
3d248b55fd factor out some utilities for pointer arrays 2022-02-06 16:38:31 +00:00
Dustin J. Mitchell
b0f7850711 trivially implement PassByValue for usize 2022-02-06 16:26:09 +00:00
Dustin J. Mitchell
dadc9473d3 unit tests for TCString 2022-02-06 16:21:42 +00:00
Dustin J. Mitchell
f4c6e04d44 TCTags as PassByValue 2022-02-06 05:27:30 +00:00
Dustin J. Mitchell
23ba6a57b3 switch to PassByValue and PassByPointer traits 2022-02-06 04:02:53 +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
03ffb6ce83 limit unsafe regions 2022-02-01 00:48: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
2dc9358085 add warn(unsafe_op_in_unsafe_fn) 2022-01-31 19:57:05 +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
d24319179c TCFoo::from_arg to take from a pointer 2022-01-30 23:53:12 +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
50aceb9696 use RefCell for replica, more consistent rust methods 2022-01-29 01:00:55 +00:00
Dustin J. Mitchell
82459e699c use a simple constant 2022-01-28 03:51:58 +00:00
Dustin J. Mitchell
b3cbec1af3 more unsafe notations 2022-01-28 02:11:13 +00:00
Dustin J. Mitchell
1470bbf741 mark unsafe utils as such; add safety comments 2022-01-27 02:22:47 +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
f8cffb798c fix confusing doc string 2022-01-26 00:58:28 +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
Dustin J. Mitchell
56a805151d use 2018 edition like the other crates 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
017fb398be replace a clone with a copy 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
40f30c6d89 remove unnecessary string clone 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
65082c26e7 improved TCString support 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
bb722325fe more task functionality 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
821118106a add TC prefix to types, too 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
46e08bc040 add some UUID support 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
e590dc7c98 add tc_replica_undo 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
ce56127bbf create / free replicas, plus error handling 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
33f5f056b1 first bits of a dynamc lib 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
8576e7ffa7
Merge pull request #330 from djmitche/issue327
Support an 'end' key in task maps
2022-01-24 10:24:18 -05:00