Commit Graph

3778 Commits

Author SHA1 Message Date
Andrew Bettison
f4ef1e59c7 Require Java version 1.6 or later 2017-09-27 14:49:13 +09:30
Andrew Bettison
9d785acaf2 Add auto-generated files needed for OS-X 2017-09-27 14:49:13 +09:30
Andrew Bettison
46cfb81967 Configure and build libsodium from subtree
The libsodium source code is now embedded in the Serval DNA sourcecode
as a git subtree, so configure.ac and Makefile.in now recurse into it as
part of the Serval DNA build.

This simplifies the build instructions and eliminates all external
dependencies on libsodium development files and operating system
packages, returning Serval DNA to a self-contained component whose only
external dependencies are standard system libraries.

Remove the build-libsodium.sh script, as it is no longer needed.
2017-09-27 14:49:08 +09:30
Andrew Bettison
63d5cec1c6 Merge libsodium 1.0.13
git subtree add --squash --prefix libsodium git@github.com:jedisct1/libsodium.git 1.0.13
git commit --amend (to rewrite this commit message)
2017-09-19 10:16:40 +09:30
Andrew Bettison
fc5c87e213 Squashed 'libsodium/' content from commit 60329a84
git-subtree-dir: libsodium
git-subtree-split: 60329a84ef7edb278b949c53c640031e44ce0157
2017-09-19 10:15:28 +09:30
Andrew Bettison
ad676ad678 Add 'tags' target to Makefile
The 'make tags' indexes all the header and source files known to the
Makefile, and also all the non-standard library headers used for
compiling, such as libsodium, JNI and Android NDK.

This supports the sp-mktags utility in serval-tools, which tries "make
tags" before falling back to its own ctags command.
2017-09-18 16:55:08 +09:30
Andrew Bettison
8e69bd8a6c Set Makefile ALL_SOURCES in sourcefiles.mk
So that anyone re-organising sourcefiles.mk is more likely to update
ALL_SOURCES as well.
2017-09-18 16:55:08 +09:30
Jeremy Lakeman
0382e7990e Enable a more graceful shutdown of the server in most cases 2017-09-12 15:37:52 +09:30
Jeremy Lakeman
dfe108d287 Allow checking for a self signed manifest author with no loaded keyring 2017-09-12 15:04:24 +09:30
Jeremy Lakeman
e158a38137 Clean up a number of memory leaks, as revealed by clang's sanitiser 2017-09-11 14:09:27 +09:30
Jeremy Lakeman
6853f9a3e6 Treat all IOExceptions and all Runtime exceptions after closing as EOF 2017-09-11 14:09:27 +09:30
Andrew Bettison
093bdfdcd3 Add FALLTHROUGH macro to silence -Wimplicit-fallthrough in GCC7 2017-09-11 12:43:38 +09:30
Andrew Bettison
9ba74c6767 Update copyright messages in Java API 2017-09-11 11:39:44 +09:30
Jeremy Lakeman
1c543f3c41 Ensure space calculation is performed as a uint64_t (Fixes #125) 2017-09-06 13:01:58 +09:30
Jeremy Lakeman
3333d2faa2 Compare MeshMS sender first, so you can talk to yourself (Fixes #124) 2017-09-06 12:38:53 +09:30
Jeremy Lakeman
34ad8c0fc0 Treat IllegalStateExceptions thrown by some implementations as EOFExceptions 2017-08-29 16:51:14 +09:30
Jeremy Lakeman
cf4306cff2 Fix warnings on android ndk 2017-08-29 13:19:35 +09:30
Jeremy Lakeman
e8effa75e4 Refactor dns lookups to reuse the code 2017-07-11 11:42:15 +09:30
Jeremy Lakeman
8ad03cb427 Don't fail to write a message ply, if the payload is already stored 2017-07-03 12:15:36 +09:30
Jeremy Lakeman
d1a1a41f08 Escape codepoints U+10000 to U+10FFFF in json output as surrogate pairs 2017-06-29 19:23:51 +09:30
Jeremy Lakeman
fc943fdb19 Fix command line route print --monitor port binding 2017-06-28 15:36:19 +09:30
Jeremy Lakeman
5f1c476249 Fix fd in log message 2017-06-28 15:09:52 +09:30
Jeremy Lakeman
50a3f51c10 Check authorship when opening message ply's 2017-06-28 15:09:38 +09:30
Jeremy Lakeman
b38cc82b82 Tweak structure initialisation to avoid old gcc warnings 2017-06-28 13:34:38 +09:30
Jeremy Lakeman
2356a8ec20 Fix follow / ignore failure handling 2017-06-28 12:08:05 +09:30
Jeremy Lakeman
0cc0f37b52 Failures to set socket options should only be warnings 2017-06-28 10:48:48 +09:30
Jeremy Lakeman
65932e05db Improve reliability of last routing test 2017-06-20 16:32:12 +09:30
Jeremy Lakeman
89d5f877c1 Treat Subscribers as the same only if they have the same signing key 2017-06-20 16:31:56 +09:30
Jeremy Lakeman
ef2430fd58 Handle expected EOF after closing in a different thread 2017-06-20 16:31:20 +09:30
Jeremy Lakeman
9cb561229a Allow following a feed that isn't in rhizome yet, and override the displayed name 2017-06-20 12:17:57 +09:30
Jeremy Lakeman
508e95436a Add API's for marking a feed as blocked 2017-06-07 13:52:44 +09:30
Jeremy Lakeman
f83b15d251 Compile without warnings with android ndk 15 beta 2 2017-06-06 15:14:33 +09:30
Jeremy Lakeman
34b6ab6ec2 Update restful api docs 2017-05-30 09:27:48 +09:30
Jeremy Lakeman
65bc309999 Allow POST requests with no Content-Length 2017-05-24 16:38:42 +09:30
Jeremy Lakeman
af2d32c25b Add Java API for importing bundles with manifests in zip comments 2017-05-24 13:33:03 +09:30
Jeremy Lakeman
c7de17b552 Fix decoding of multiple chunks in the same buffer 2017-05-23 15:34:07 +09:30
Jeremy Lakeman
2db8c24e15 Use chunked transfer encoding and expect header in Java API 2017-05-23 11:37:26 +09:30
Jeremy Lakeman
c138c94ee5 Fix warnings highlighted by gcc 2017-05-22 16:57:57 +09:30
Jeremy Lakeman
77b603942f Support "Transfer-Encoding: chunked" for POST'ed content 2017-05-22 16:17:17 +09:30
Jeremy Lakeman
87d171cdf7 Reject rhizome import before sending manifest & payload 2017-05-17 14:55:56 +09:30
Jeremy Lakeman
8cdd849c3e Return STATUS_OLD from is_interesting 2017-05-17 14:24:28 +09:30
Jeremy Lakeman
e376c1cb80 Add proper server support for http/1.1 Expect header 2017-05-17 14:24:28 +09:30
Jeremy Lakeman
a473304c06 Add restful import API 2017-05-17 10:16:46 +09:30
Jeremy Lakeman
9b7d8bfa23 Resume activity newsince when acking our own message 2017-05-10 15:21:21 +09:30
Jeremy Lakeman
576e95e2cd Fix freeing peer state (Issue #121) 2017-05-10 11:23:13 +09:30
Jeremy Lakeman
3812587a31 Ack the senders ply and thread into activity feed 2017-05-10 11:01:02 +09:30
Jeremy Lakeman
cc0d6fcdb9 Return Invalid bundle status if rhizome manifest not found during import 2017-05-09 14:26:23 +09:30
Jeremy Lakeman
6c4e7de574 Add sender & recipient filters to rhizome restful api 2017-05-08 11:38:20 +09:30
Jeremy Lakeman
a997fdf020 Fallback to file rename if linking fails 2017-05-03 12:00:23 +09:30
Jeremy Lakeman
de0258e30f Remove route structures from memory when all links are down 2017-05-02 14:46:08 +09:30