gardners
b0dca7e03f
merged in latest changes from team.
2012-05-26 11:36:18 +02:00
Jeremy Lakeman
b358e1807e
Add sender and recipient to list results
2012-05-26 13:51:07 +09:30
Andrew Bettison
d215d90b40
Refactored some rhizome db SQL code
...
Added sqlite_exec_void() function, so that sqlite_exec_int64() can return
an error if no rows are found instead of 0, which can be misleading.
2012-05-25 19:42:45 +09:30
Andrew Bettison
fdb34593ed
Improve Rhizome saw-advertisement debug logging
2012-05-25 18:07:19 +09:30
Andrew Bettison
62ae488c18
Re-order "rhizome list" columns
2012-05-25 18:06:48 +09:30
Andrew Bettison
f91ed16f9b
Improve "rhizome list" command
...
Do not join FILES, FILEMANIFESTS and MANIFESTS rows, just list MANIFEST
rows and pull all the values out of the manifest blob
2012-05-25 17:45:52 +09:30
Andrew Bettison
bea9188cd5
Fix another manifest leak
...
Add manifest alloc/free debug logging to help, 'debug.manifests' option
2012-05-25 17:01:56 +09:30
Andrew Bettison
214d20f27e
Fix a couple of bugs found by clang
2012-05-25 16:29:12 +09:30
Andrew Bettison
8ec2fe53d4
Silence 'status unused' compiler warning
2012-05-25 15:59:57 +09:30
Andrew Bettison
49aec4d331
Improve rhizome manifest debugging
...
Move rhizome_new_manifest() out of rhizome_read_manifest_file() so that the
out-of-manifest report shows the names of the functions where the manifests
were really allocated.
2012-05-25 15:38:13 +09:30
Andrew Bettison
c0ac693957
Remove old payload when updating a manifest with a new payload
2012-05-25 14:29:55 +09:30
Andrew Bettison
7f58b71d78
Improve test framework
...
Do not consider ':' and '=' as shell metacharacters when quoting
2012-05-25 14:29:10 +09:30
Andrew Bettison
1af238a4f9
Rhizome extract commands handle missing pathnames properly
2012-05-25 11:52:49 +09:30
Jeremy Lakeman
26f3966002
Ignore node info results from incorrect sid's
2012-05-25 09:55:56 +09:30
Andrew Bettison
c847478140
Add some helpful debug logging
2012-05-24 18:46:33 +09:30
Jeremy Lakeman
43c7297a47
Sanity check on received packet
2012-05-24 17:33:15 +09:30
Andrew Bettison
30009c2c71
Fix one cause of manifest struct leakage
2012-05-24 17:28:35 +09:30
Andrew Bettison
e74b9e1d6b
Maybe fix cause of SEGV bug
...
Was caused when we ran out of manifest structs
2012-05-24 17:27:59 +09:30
Andrew Bettison
0ec3feaa29
Expunge setReason()
...
Replace with WHY() or WHYF() everywhere
Improve logMessage() to handle file/line/function printing internally
Mainly so that log messages from manifest alloc/free in rhizome_bundle.c
can make it into the Android log
2012-05-24 17:11:55 +09:30
Andrew Bettison
3b00110c49
Fix bug in rhizome_bundle_import()
...
Introduced by recent rhizome import path improvements
2012-05-24 13:00:31 +09:30
Andrew Bettison
24c00091f5
Fix bug in conversion to rhizome uppercase hex DB keys
2012-05-24 11:37:03 +09:30
Andrew Bettison
fa26b53294
Fix SEGV bug
...
rhizome_write_manifest_file() was not checking for NULL fopen() result
Standardise rhizome "import" directory pathname handling
2012-05-24 11:28:32 +09:30
Andrew Bettison
71781b6c12
Cosmetic improvement
2012-05-24 11:28:06 +09:30
Andrew Bettison
60e4209b88
Diagnose and fix rhizome MeshMS
2012-05-23 19:01:07 +09:30
Andrew Bettison
3f9e20f2f0
Cosmetic edits, no change to function
2012-05-23 18:13:18 +09:30
Andrew Bettison
54d456e540
Fix and reinstate FORM_RHIZOME_DATASTORE_PATH()
2012-05-23 18:11:34 +09:30
Andrew Bettison
2f6f642a02
Improve log pathname trimming
2012-05-23 18:04:10 +09:30
Andrew Bettison
59e58da2f4
More fixes for varargs stuff
...
But still no luck on Android
2012-05-23 16:07:52 +09:30
Andrew Bettison
1af9125392
All rhizome database keys are uppercase hex
...
FILES.id, MANIFESTS.id, FILEMANIFESTS.fileid, FILEMANIFESTS.manifestid
Named constants for hex and binary ID sizes
2012-05-23 16:04:00 +09:30
gardners
e1c30b8ed8
deprioritised peer list resolution so that rhizome doesn't
...
back off at the sight of the first peer list enquiry.
2012-05-22 17:40:11 +09:30
gardners
115cb942dc
included fix for suppressing bad behaviour due to signature-less manifests.
2012-05-22 17:33:33 +09:30
gardners
a9be08b0cc
supress bad rhizome manifest messages.
2012-05-22 17:24:06 +09:30
gardners
299cb92952
further output cleanups.
2012-05-22 17:08:12 +09:30
gardners
6a83f2434f
cleaned up some debug output, among other things.
2012-05-22 17:04:24 +09:30
gardners
3f1f668e8b
found and fixed a bug with chopping signatures from manifests when
...
importing (really need to clean that code up).
2012-05-22 16:55:59 +09:30
gardners
e319b146a6
cleaned up some debugging.
2012-05-22 15:57:19 +09:30
gardners
e3387fbecf
periodic sucking in from rhizome prioritised list now works.
2012-05-22 15:57:18 +09:30
gardners
f528110257
almost have priority pre-listing of bundles for rhizome working.
2012-05-22 15:57:18 +09:30
gardners
0abc7ff96e
added code to create and maintain priority download list for
...
rhizome, so that we get things in a sensible order.
2012-05-22 15:57:18 +09:30
Andrew Bettison
29502d8c81
Varargs and strbuf fixes
...
Add missing va_end() for all va_copy()
strbuf_sprintf() adds precautionary nul to end of string after vsnprintf()
2012-05-22 14:58:05 +09:30
gardners
3866352340
further improvements to supressing broken manifest time wasting
...
in rhizome.
2012-05-22 14:20:01 +09:30
gardners
8e9396419c
adding ignored manifest list to let us ignore repeated offerings
...
of broken manifests without wasting effort.
2012-05-22 14:15:35 +09:30
gardners
d2c811b4b4
further rhizome voice traffic detection hooks.
2012-05-22 14:15:19 +09:30
gardners
29bb86d9e7
first cut at supressing rhizome activity during calls.
2012-05-22 13:05:29 +09:30
gardners
4a3fc65385
back out undefined function bug.
2012-05-22 12:11:42 +09:30
gardners
fd343ca5b0
debug fiddles etc.
2012-05-22 11:45:54 +09:30
gardners
4d5627a732
tweaked output to be more convenient.
2012-05-22 10:43:07 +09:30
gardners
79ce37ec35
vomp calls should work again, and without the server blocking
...
on the mdp_client_socket.
2012-05-22 10:42:29 +09:30
gardners
c3350bb493
fix bug introduced in using snprintf instead of strbuf_*
...
use WHY() macros for all output.
2012-05-22 10:02:24 +09:30
gardners
bf6172f7ca
clean up and use WHY() macros for all output.
2012-05-22 10:01:57 +09:30