Adrien Béraud
a4a54af391
bump version to 0.5.2
0.5.2
2016-02-19 01:16:00 -05:00
Adrien Béraud
9f4ca6c8f3
crypto: avoid to copy iv during encryption
2016-02-19 01:16:00 -05:00
Adrien Béraud
c753977d5c
dhtrunner: reduce stack usage
2016-02-19 01:16:00 -05:00
Adrien Béraud
3e4b650aca
Update README.md
2016-02-19 00:58:45 -05:00
Adrien Béraud
b698687f99
crypto: add documentation
2016-02-18 22:24:33 -05:00
Adrien Béraud
92962f78f4
Update README.md
2016-02-16 22:07:18 -05:00
Simon Désaulniers
bfe41dbb45
Merge pull request #36 from kaldoran/log_print
...
Using standard library function for handling ascii out of range characters.
2016-02-15 12:39:58 -05:00
Adrien Béraud
712d8a011b
Merge pull request #35 from sim590/cmake_msgpack
...
Update FindMsgpack.cmake fixing "not found" error
2016-02-15 11:40:21 -05:00
Edric
9fbe11738d
Remove int/unsigned int comparison warning
2016-02-15 11:33:35 -05:00
Kaldoran
47e56f2397
Change ascii value to std::isprint() function
2016-02-15 11:28:44 -05:00
Simon Désaulniers
8c2cc749ab
Update FindMsgpack.cmake fixing "not found" error
...
This fix was written by people working on the neovim project:
https://github.com/neovim/neovim/commit/1d1574e0aca3cd270e7d4b2656e1aa11861d70af
2016-02-15 11:23:20 -05:00
Adrien Béraud
71b6998ea0
dht: step to clear announces in case of failure
2016-01-28 01:07:35 -05:00
Adrien Béraud
b640f34949
rng: fix typo
2016-01-28 01:07:35 -05:00
Adrien Béraud
1d4d67038a
dht: fix compilation on older clang
2016-01-22 15:35:45 -05:00
Adrien Béraud
d5dcfa0889
dht: introduce and enforce a maximum storage size
...
The default storage limit is 64 MB
2016-01-22 02:01:07 -05:00
Adrien Béraud
b304418d43
dht: ensure search response include a token
2016-01-22 01:47:19 -05:00
Adrien Béraud
3d499bff14
dht: reset flags when reanouncing
2016-01-22 01:45:51 -05:00
Adrien Béraud
d6d72597be
dht: check value size before forging packet
2016-01-19 15:24:05 -05:00
Adrien Béraud
3ee22bb6d7
dht: avoid building oversized UDP packets
2016-01-19 15:24:05 -05:00
Adrien Béraud
9ee962bd21
dht: cleanup storage log
2016-01-19 15:23:37 -05:00
Adrien Béraud
a44b809513
dht: get token with find_nodes, use it for announces
2016-01-19 15:23:37 -05:00
Adrien Béraud
b2ee07861d
reduce default storage time to 10 minutes
2016-01-19 15:23:37 -05:00
Adrien Béraud
388d43b89a
reduce maximum value size to 56 KB
...
A larger maximum size was supported by the protocol but
not the underlying transport (UDP).
2016-01-19 15:23:37 -05:00
Adrien Béraud
6b83077a33
Merge pull request #33 from sim590/benchmark-python-test-cleanup
...
Benchmark python test cleanup
2016-01-14 17:03:52 -05:00
Simon Désaulniers
4070a19c59
fixing missing import of modules
2016-01-14 16:56:24 -05:00
Simon Désaulniers
b6d7436595
benchmark: python decorator for setting up tests
2016-01-14 16:37:20 -05:00
Simon Désaulniers
5f9e20998f
python tests refactoring
2016-01-14 16:34:43 -05:00
Adrien Béraud
6910a7c0ae
Merge pull request #32 from sim590/benchmark-refactor
...
Benchmark refactor
2016-01-13 17:00:52 -05:00
Simon Désaulniers
77c480e2cf
refactored python benchmark in separate modules
2016-01-12 12:38:58 -05:00
Simon Désaulniers
2c22c7d984
more code refactoring
2016-01-12 12:38:58 -05:00
Simon Désaulniers
6c3c19c0c8
add test for performance while deleting nodes
2016-01-12 12:38:58 -05:00
Simon Désaulniers
252ff4710c
FeatureTest child classes code factorized.
...
# Conflicts:
# python/tools/benchmark.py
2016-01-12 12:38:58 -05:00
Adrien Béraud
dd107e6f6d
python: fix licenses terms
2016-01-09 18:05:42 -05:00
Adrien Béraud
175b4c9491
python: add Value.id proprety
2016-01-09 16:05:26 -05:00
Adrien Béraud
cd296b9d22
Merge pull request #31 from cyrilleberaud/master
...
python/scanner: add ip number on the plot
2016-01-09 16:02:24 -05:00
Cyrille Béraud
44373bd5f6
python/scanner: add ip number on the plot
2016-01-09 14:30:28 -05:00
Adrien Béraud
e00c8e9598
update copyright headers for 2016
2016-01-07 18:02:35 -05:00
Adrien Béraud
e97355ed49
update version to 0.5.1
0.5.1
2016-01-05 17:06:02 -05:00
Adrien Béraud
180e34538d
Merge pull request #28 from sim590/llvm-lack-of-cpp11
...
Fix #26 : add duration cast
2016-01-05 16:08:49 -05:00
Simon Désaulniers
1aae8f37dd
adding duration cast for llvm compatibility
2016-01-05 15:54:55 -05:00
Adrien Béraud
13a2df8911
python: fix typo in benchmark
2016-01-05 12:25:35 -05:00
Adrien Béraud
922b0e147b
Merge pull request #27 from justusranvier/cmake
...
Minor cmake fixes
2015-12-24 13:12:59 -05:00
Justus Ranvier
9635ebe7a4
update Makefile for msgpack and pthread
2015-12-23 21:26:26 -06:00
Justus Ranvier
4e8182a84e
add KDevelop files to .gitignore
2015-12-23 21:16:56 -06:00
Justus Ranvier
002b8377dd
bump msgpack required version to 1.2 since package doesn't compile against 1.1
2015-12-22 16:19:35 -06:00
Justus Ranvier
263aef687c
add -pthread to CXX_FLAGS
2015-12-22 16:18:51 -06:00
Guillaume Roguez
8c552d3466
default_types: virtualize msgpack_unpack
...
This is needed to override this method in inheriting.
2015-12-22 11:46:43 -05:00
Adrien Béraud
439b7d966c
dhtnode: daemonize with the new -d argument
...
Running dhtnode with -d will make it detach and fork.
Add an argument to -v to log to a file instead of stdio.
2015-12-19 20:33:03 -05:00
Guillaume Roguez
1a888dbe66
Fix RCTP multi-inheriting in Serialized and derived classes
...
This patch fixes Serialized derived classes, using CRTP idom,
by fixing the "constructor forwarding problem".
A derived class has no to use dht::Value::Serialized<Derived, Base>
as super class, by replacing itself in "Derived" and use the
right "Base" class. Ex:
class MyImMessage : public dht::Value::Serializable<MyImMessage, dht::ImMessage>
{
...
}
No more needed to overload getType and define TYPE static.
2015-12-18 21:31:37 -05:00
Adrien Béraud
94bfc67708
value: add non-static unpack<T>()
2015-12-17 15:31:41 -05:00