Commit graph

606 commits

Author SHA1 Message Date
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
Dustin J. Mitchell
e7d4e1e8f3
Merge pull request #329 from djmitche/issue94
Implement `ta import` and `ta import-tdb2`
2022-01-24 10:23:22 -05:00
Dustin J. Mitchell
50300c4ad7 remove empty conditional 2022-01-23 15:31:58 +00:00
Dustin J. Mitchell
a49e51defd Merge branch 'main' into issue327 2022-01-23 15:31:02 +00:00
Dustin J. Mitchell
210eb60c86 'ta import' -> 'ta import-tw' 2022-01-23 15:27:13 +00:00
Dustin J. Mitchell
656f7e9ea0 replica.create_task -> import_task_with_uuid 2022-01-23 15:22:41 +00:00
Dustin J. Mitchell
0308b7a4c7 Merge branch 'main' into issue94 2022-01-23 15:18:17 +00:00
Dustin J. Mitchell
e4399cde26
Merge pull request #331 from djmitche/issue326
add 'entry' key to tasks when created
2022-01-23 10:16:17 -05:00
Dustin J. Mitchell
5019ecb4f8 allow windows newlines in TDB2 files 2022-01-08 22:34:32 +00:00
Dustin J. Mitchell
69d052603d ta import-tdb2 2022-01-08 22:28:33 +00:00
Dustin J. Mitchell
162a9eae95 Support parsing TDB2 files 2022-01-08 22:11:16 +00:00
Dustin J. Mitchell
9824ac1fd3 add 'entry' key to tasks when created 2022-01-06 02:18:32 +00:00
Dustin J. Mitchell
b663745892 Support an 'end' key in task maps
This definition matches how TaskWarrior uses the same key.
2022-01-06 02:02:13 +00:00
Dustin J. Mitchell
4b2ef1913a use owned values to avoid unnecessary cloning 2022-01-06 00:17:01 +00:00
Dustin J. Mitchell
63804b5652 Implement 'ta import'
Tests include "TODO" notes for data not handled by TaskChampion,
including links to the associated GitHub issues.
2022-01-06 00:06:19 +00:00
Dustin J. Mitchell
e2e0951c81 Make a public method 2022-01-05 03:12:44 +00:00
Dustin J. Mitchell
e3f438d9fa make taskdb.apply for create/delete not fail if already exists/doesn't exist 2022-01-05 02:49:04 +00:00
Dustin J. Mitchell
d6efad06ee
Merge pull request #320 from djmitche/issue318
use strum_macros::Display to display Status
2022-01-03 10:14:31 -05:00
Dustin J. Mitchell
9965d10736 Maintain unrecognized statuses 2022-01-03 02:35:19 +00:00
Dustin J. Mitchell
6a1d1a8c3c use strum_macros::Display to display Status 2022-01-03 02:35:19 +00:00
Dustin J. Mitchell
1bc7b5f019
Merge pull request #316 from djmitche/issue90
Define UDAs
2021-12-27 17:06:47 -05:00