Andrew Bettison
a95ef79139
Use sid_t everywhere
...
Remove stowSid() at last
Change API of tohex() and strbuf_tohex(), to pass string length instead of
binary byte count. This allows odd numbers of hex digits to be produced.
Remove alloca_tohex_sid(); replace with alloca_tohex_sid_t()
New alloca_tohex_sid_t_trunc() macro
2013-10-09 18:54:21 +10:30
Andrew Bettison
ffafae86b1
Issue #11 : replace long long with int64_t
2013-10-07 05:54:46 +10:30
Andrew Bettison
ab31420faf
rhizome_bid_t
...
Consistent type for internal binary representation of Rhizome Bundle ID
(aka Manifest ID)
2013-10-03 23:16:45 +09:30
Andrew Bettison
41e18e587d
Issue #69 : replace sqlite3_bind_xxx() calls
...
Use the new sqlite_bind() and sqlite_prepare_bind() calls instead.
Add cmp_sid_t() function, use it instead of memcmp().
Use alloca_tohex_sid_t() in preference to alloca_tohex_sid() when the
argument is a sid_t.
2013-10-03 16:44:06 +09:30
Andrew Bettison
06d7620314
Add "rhizome add file" --force-new option
...
Overrides the default behaviour of de-duplicating added manifests
New 'rhizomeops' test case: AddForceDuplicate
2013-09-30 16:48:18 +09:30
Jeremy Lakeman
ae25091fab
Remove duplicate variable to ensure manifest is freed
2013-09-20 16:49:36 +09:30
Jeremy Lakeman
8accabfcac
Always store payloads with a temporary id
2013-08-27 16:15:51 +09:30
Jeremy Lakeman
e98592a7c1
Don't update the database author if we already know it
2013-08-27 15:11:56 +09:30
Jeremy Lakeman
acaedd644c
Use buffered reading for meshms ply records
2013-08-27 15:10:17 +09:30
Jeremy Lakeman
42f139215d
Log warning if meshms ply failed to open
2013-08-26 14:00:02 +09:30
Jeremy Lakeman
f9b828c3dd
Remove payload if hash doesn't match when reading back
2013-08-21 15:45:18 +09:30
Jeremy Lakeman
91a600fba7
Add separate rows for delivered and read status
...
- add explicit transaction around blob writes so the commit can be retried
- remove status columns
- remove SID's from message log output to reduce size and complexity
2013-08-02 14:02:56 +09:30
Jeremy Lakeman
68bf04f69d
Change manifest service to MeshMS2
2013-08-01 11:37:35 +09:30
Jeremy Lakeman
2fa1cb3aec
Add version to conversation payload, shrink size
2013-07-31 10:52:47 +09:30
Jeremy Lakeman
e4882f175b
Output message read offsets in conversation list
2013-07-31 10:33:01 +09:30
Jeremy Lakeman
88c986ebb5
Use sid_t consistently, tweak command output
2013-07-30 14:05:05 +09:30
Jeremy Lakeman
7634e1fcfb
Add command to mark messages as read
2013-07-26 14:36:11 +09:30
Jeremy Lakeman
a1caa4bf68
ACK conversations when listed, track conversations in a bundle
2013-07-25 14:49:06 +09:30
Jeremy Lakeman
f1139d4c0e
Reduce meshms entry encoding size
2013-07-23 16:21:07 +09:30
Jeremy Lakeman
ddfb7d9417
First cut of new meshms API, unfinished
2013-07-22 17:55:02 +09:30