oweals/gnunet.git
7 years agoPorting 'nat'.
Marcello Stanisci [Wed, 15 Mar 2017 10:40:24 +0000 (11:40 +0100)]
Porting 'nat'.

7 years agomerging
Christian Grothoff [Wed, 15 Mar 2017 10:34:58 +0000 (11:34 +0100)]
merging

7 years agoadd way to mark options as mandatory, get tests to pass again
Christian Grothoff [Wed, 15 Mar 2017 10:14:36 +0000 (11:14 +0100)]
add way to mark options as mandatory, get tests to pass again

7 years agoPorting 'arm'.
Marcello Stanisci [Wed, 15 Mar 2017 10:08:27 +0000 (11:08 +0100)]
Porting 'arm'.

7 years agoPort 'statistics' to the new getopt API.
Marcello Stanisci [Wed, 15 Mar 2017 09:48:21 +0000 (10:48 +0100)]
Port 'statistics' to the new getopt API.

7 years agoadd json command line option parser
Christian Grothoff [Wed, 15 Mar 2017 09:36:51 +0000 (10:36 +0100)]
add json command line option parser

7 years agoadd GNUNET_GETOPT_OPTION_SET_ABSOLUTE_TIME
Christian Grothoff [Wed, 15 Mar 2017 09:26:37 +0000 (10:26 +0100)]
add GNUNET_GETOPT_OPTION_SET_ABSOLUTE_TIME

7 years agofix test case, implement base32 argument parser logic
Christian Grothoff [Wed, 15 Mar 2017 09:16:42 +0000 (10:16 +0100)]
fix test case, implement base32 argument parser logic

7 years agogetopt major style fix, remove macro-mania with nicer typed functions
Christian Grothoff [Wed, 15 Mar 2017 08:39:46 +0000 (09:39 +0100)]
getopt major style fix, remove macro-mania with nicer typed functions

7 years agoPorting 'arm'.
Marcello Stanisci [Wed, 15 Mar 2017 10:08:27 +0000 (11:08 +0100)]
Porting 'arm'.

7 years agoPort 'statistics' to the new getopt API.
Marcello Stanisci [Wed, 15 Mar 2017 09:48:21 +0000 (10:48 +0100)]
Port 'statistics' to the new getopt API.

7 years agoadd GNUNET_GETOPT_OPTION_SET_ABSOLUTE_TIME
Christian Grothoff [Wed, 15 Mar 2017 09:26:37 +0000 (10:26 +0100)]
add GNUNET_GETOPT_OPTION_SET_ABSOLUTE_TIME

7 years agoMerge branch 'getopt' of git+ssh://gnunet.org/gnunet into getopt
Christian Grothoff [Wed, 15 Mar 2017 09:17:06 +0000 (10:17 +0100)]
Merge branch 'getopt' of git+ssh://gnunet.org/gnunet into getopt

7 years agofix test case, implement base32 argument parser logic
Christian Grothoff [Wed, 15 Mar 2017 09:16:42 +0000 (10:16 +0100)]
fix test case, implement base32 argument parser logic

7 years agoTest commit
Marcello Stanisci [Wed, 15 Mar 2017 09:04:35 +0000 (10:04 +0100)]
Test commit

7 years agogetopt major style fix, remove macro-mania with nicer typed functions
Christian Grothoff [Wed, 15 Mar 2017 08:39:46 +0000 (09:39 +0100)]
getopt major style fix, remove macro-mania with nicer typed functions

7 years agofix misc clang compiler warnings
Christian Grothoff [Tue, 14 Mar 2017 10:42:12 +0000 (11:42 +0100)]
fix misc clang compiler warnings

7 years agolink against libz explicitly, as we use it directly
Christian Grothoff [Tue, 14 Mar 2017 10:29:18 +0000 (11:29 +0100)]
link against libz explicitly, as we use it directly

7 years agofix FTBFS
Christian Grothoff [Tue, 14 Mar 2017 01:36:48 +0000 (02:36 +0100)]
fix FTBFS

7 years agomigrate secretsharing to new service API
Christian Grothoff [Mon, 13 Mar 2017 23:53:02 +0000 (00:53 +0100)]
migrate secretsharing to new service API

7 years agoconvert sqlite peerstore to using libgnunetsq
Christian Grothoff [Mon, 13 Mar 2017 23:31:02 +0000 (00:31 +0100)]
convert sqlite peerstore to using libgnunetsq

7 years agoindentation only
Christian Grothoff [Mon, 13 Mar 2017 19:18:53 +0000 (20:18 +0100)]
indentation only

7 years agolink against libgnunetsq
Christian Grothoff [Mon, 13 Mar 2017 19:09:13 +0000 (20:09 +0100)]
link against libgnunetsq

7 years agoallow use of NULL for stirings
Christian Grothoff [Mon, 13 Mar 2017 19:08:52 +0000 (20:08 +0100)]
allow use of NULL for stirings

7 years agoconvert sqlite plugin to use libgnunetsq
Christian Grothoff [Mon, 13 Mar 2017 18:50:12 +0000 (19:50 +0100)]
convert sqlite plugin to use libgnunetsq

7 years agofix leaks, note that APIs are deprecated (NTR instead of MQ style)
Christian Grothoff [Mon, 13 Mar 2017 17:32:03 +0000 (18:32 +0100)]
fix leaks, note that APIs are deprecated (NTR instead of MQ style)

7 years agofix possible NPE
Christian Grothoff [Mon, 13 Mar 2017 17:27:32 +0000 (18:27 +0100)]
fix possible NPE

7 years agoone more rval check
Christian Grothoff [Mon, 13 Mar 2017 17:25:15 +0000 (18:25 +0100)]
one more rval check

7 years agocheck multihashmap32_put return value in mq.c
Christian Grothoff [Mon, 13 Mar 2017 17:11:44 +0000 (18:11 +0100)]
check multihashmap32_put return value in mq.c

7 years agocheck sqlite3_close() return value in test
Christian Grothoff [Mon, 13 Mar 2017 17:09:28 +0000 (18:09 +0100)]
check sqlite3_close() return value in test

7 years agocheck unlink() return value in test
Christian Grothoff [Mon, 13 Mar 2017 17:07:59 +0000 (18:07 +0100)]
check unlink() return value in test

7 years agofix theoretical leak in test
Christian Grothoff [Mon, 13 Mar 2017 17:06:23 +0000 (18:06 +0100)]
fix theoretical leak in test

7 years agoclarify
Christian Grothoff [Mon, 13 Mar 2017 13:02:21 +0000 (14:02 +0100)]
clarify

7 years agofix tutorial: SERVICEHOME is obsolete, we now have GNUNET_TEST_HOME
Christian Grothoff [Mon, 13 Mar 2017 12:50:10 +0000 (13:50 +0100)]
fix tutorial: SERVICEHOME is obsolete, we now have GNUNET_TEST_HOME

7 years agofix include
Christian Grothoff [Mon, 13 Mar 2017 10:47:07 +0000 (11:47 +0100)]
fix include

7 years agorenaming CADET APIs to match naming conventions again, now that the old symbols have...
Christian Grothoff [Mon, 13 Mar 2017 00:46:55 +0000 (01:46 +0100)]
renaming CADET APIs to match naming conventions again, now that the old symbols have been purged

7 years agorename libgnunetcadetnew -> libgnunetcadet
Christian Grothoff [Mon, 13 Mar 2017 00:36:59 +0000 (01:36 +0100)]
rename libgnunetcadetnew -> libgnunetcadet

7 years agogetting rid of the old cadet client library (pre-MQ)
Christian Grothoff [Mon, 13 Mar 2017 00:33:06 +0000 (01:33 +0100)]
getting rid of the old cadet client library (pre-MQ)

7 years agoMerge branch 'master'
Julius Bünger [Mon, 13 Mar 2017 00:30:27 +0000 (01:30 +0100)]
Merge branch 'master'

7 years agofix rps
Julius Bünger [Mon, 13 Mar 2017 00:29:22 +0000 (01:29 +0100)]
fix rps

7 years agomajor clean up and bugfixes of SET
Christian Grothoff [Mon, 13 Mar 2017 00:24:22 +0000 (01:24 +0100)]
major clean up and bugfixes of SET

7 years agoindentation fix
Christian Grothoff [Sun, 12 Mar 2017 23:24:47 +0000 (00:24 +0100)]
indentation fix

7 years agonote about performance issue, indentation fix
Christian Grothoff [Sun, 12 Mar 2017 23:24:23 +0000 (00:24 +0100)]
note about performance issue, indentation fix

7 years agoimprove logging, shutdown on error without timeout, do not destroy listener too early
Christian Grothoff [Sun, 12 Mar 2017 22:33:00 +0000 (23:33 +0100)]
improve logging, shutdown on error without timeout, do not destroy listener too early

7 years agoimprove logging, indentation
Christian Grothoff [Sun, 12 Mar 2017 22:32:31 +0000 (23:32 +0100)]
improve logging, indentation

7 years agofix debug levels
Christian Grothoff [Sun, 12 Mar 2017 22:32:03 +0000 (23:32 +0100)]
fix debug levels

7 years agofix minor leak
Christian Grothoff [Sun, 12 Mar 2017 22:31:40 +0000 (23:31 +0100)]
fix minor leak

7 years agoadapting the Makefile for the new cadet api
Julius Bünger [Sun, 12 Mar 2017 22:57:15 +0000 (23:57 +0100)]
adapting the Makefile for the new cadet api

7 years agolast step to new cadet api
Julius Bünger [Sun, 12 Mar 2017 22:42:59 +0000 (23:42 +0100)]
last step to new cadet api

7 years agoForgot to remove decl for GNUNET_DATASTORE_update
David Barksdale [Sun, 12 Mar 2017 21:12:02 +0000 (16:12 -0500)]
Forgot to remove decl for GNUNET_DATASTORE_update

7 years agoremoved unneeded function call
Julius Bünger [Sun, 12 Mar 2017 20:59:58 +0000 (21:59 +0100)]
removed unneeded function call

7 years agomigrated rps to new cadet api
Julius Bünger [Sun, 12 Mar 2017 20:06:33 +0000 (21:06 +0100)]
migrated rps to new cadet api

Signed-off-by: Julius Bünger <buenger@mytum.de>
7 years agode-duplicate operation types
Christian Grothoff [Sun, 12 Mar 2017 17:00:39 +0000 (18:00 +0100)]
de-duplicate operation types

7 years agoalways initialize HT upon state creation
Christian Grothoff [Sun, 12 Mar 2017 16:16:53 +0000 (17:16 +0100)]
always initialize HT upon state creation

7 years agoadd missing headers
Christian Grothoff [Sun, 12 Mar 2017 16:12:15 +0000 (17:12 +0100)]
add missing headers

7 years agomigrating namecache to use SQ lib
Christian Grothoff [Sun, 12 Mar 2017 16:11:47 +0000 (17:11 +0100)]
migrating namecache to use SQ lib

7 years agomigrating namecache to use SQ lib
Christian Grothoff [Sun, 12 Mar 2017 16:11:04 +0000 (17:11 +0100)]
migrating namecache to use SQ lib

7 years agofix sq issue
Christian Grothoff [Sun, 12 Mar 2017 15:56:11 +0000 (16:56 +0100)]
fix sq issue

7 years agofix ftbfs
Christian Grothoff [Sun, 12 Mar 2017 14:16:20 +0000 (15:16 +0100)]
fix ftbfs

7 years agouse new GNUNET_SQ_reset where applicable
Christian Grothoff [Sun, 12 Mar 2017 01:55:29 +0000 (02:55 +0100)]
use new GNUNET_SQ_reset where applicable

7 years agoconverting datacache to sqlite, fixing misc. issues in libgnunetsq
Christian Grothoff [Sun, 12 Mar 2017 01:51:36 +0000 (02:51 +0100)]
converting datacache to sqlite, fixing misc. issues in libgnunetsq

7 years agofix logging, immediately switch to full set transmission if other peer has 0 elements
Christian Grothoff [Sat, 11 Mar 2017 17:33:09 +0000 (18:33 +0100)]
fix logging, immediately switch to full set transmission if other peer has 0 elements

7 years agocleaning up set handlers, eliminating 2nd level demultiplexing and improving use...
Christian Grothoff [Sat, 11 Mar 2017 17:15:38 +0000 (18:15 +0100)]
cleaning up set handlers, eliminating 2nd level demultiplexing and improving use of types

7 years agofix memory leak
Christian Grothoff [Sat, 11 Mar 2017 16:58:15 +0000 (17:58 +0100)]
fix memory leak

7 years agorename cadet*new to just cadet, except for libgnunetcadetnew-logic (where the 'old...
Christian Grothoff [Sat, 11 Mar 2017 12:15:25 +0000 (13:15 +0100)]
rename cadet*new to just cadet, except for libgnunetcadetnew-logic (where the 'old' one is not yet entirely dead)

7 years agodrop 'new' suffix from tests
Christian Grothoff [Sat, 11 Mar 2017 12:01:24 +0000 (13:01 +0100)]
drop 'new' suffix from tests

7 years agoremove old CADET testcases
Christian Grothoff [Sat, 11 Mar 2017 11:58:13 +0000 (12:58 +0100)]
remove old CADET testcases

7 years agoremove old CADET service code
Christian Grothoff [Sat, 11 Mar 2017 11:53:18 +0000 (12:53 +0100)]
remove old CADET service code

7 years agouse libgnunetsq throughout plugin_datastore_sqlite, fix situation where continuation...
Christian Grothoff [Fri, 10 Mar 2017 21:13:18 +0000 (22:13 +0100)]
use libgnunetsq throughout plugin_datastore_sqlite, fix situation where continuation was not called if no data was ready for replication

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Fri, 10 Mar 2017 19:40:17 +0000 (20:40 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agotest_multicast_2peers: formatting and stuff
xrs [Fri, 10 Mar 2017 19:39:53 +0000 (20:39 +0100)]
test_multicast_2peers: formatting and stuff

7 years agotest_multicast_2peers: formatting and stuff
xrs [Fri, 10 Mar 2017 18:30:08 +0000 (19:30 +0100)]
test_multicast_2peers: formatting and stuff

7 years agocheck GNUNET_PROGRAM_run return value
Christian Grothoff [Fri, 10 Mar 2017 17:47:04 +0000 (18:47 +0100)]
check GNUNET_PROGRAM_run return value

7 years agofix potential NPE
Christian Grothoff [Fri, 10 Mar 2017 17:44:13 +0000 (18:44 +0100)]
fix potential NPE

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 17:42:28 +0000 (18:42 +0100)]
fix memory leak

7 years agofix use of uninitialized value host1 on error logging
Christian Grothoff [Fri, 10 Mar 2017 17:41:46 +0000 (18:41 +0100)]
fix use of uninitialized value host1 on error logging

7 years agofix missing time conversion
Christian Grothoff [Fri, 10 Mar 2017 17:23:24 +0000 (18:23 +0100)]
fix missing time conversion

7 years agoadd assertion to make static analysis happy
Christian Grothoff [Fri, 10 Mar 2017 17:19:44 +0000 (18:19 +0100)]
add assertion to make static analysis happy

7 years agoadd assertion to make static analysis happy
Christian Grothoff [Fri, 10 Mar 2017 17:17:11 +0000 (18:17 +0100)]
add assertion to make static analysis happy

7 years agoadd assertion to make static analysis happy
Christian Grothoff [Fri, 10 Mar 2017 17:16:02 +0000 (18:16 +0100)]
add assertion to make static analysis happy

7 years agouse correct channel when switching
Christian Grothoff [Fri, 10 Mar 2017 17:14:55 +0000 (18:14 +0100)]
use correct channel when switching

7 years agofix comment
Christian Grothoff [Fri, 10 Mar 2017 17:12:50 +0000 (18:12 +0100)]
fix comment

7 years agocheck return value from GNUNET_program_run
Christian Grothoff [Fri, 10 Mar 2017 17:12:36 +0000 (18:12 +0100)]
check return value from GNUNET_program_run

7 years agocheck return value from dup2
Christian Grothoff [Fri, 10 Mar 2017 17:11:52 +0000 (18:11 +0100)]
check return value from dup2

7 years agoremove redundant condition in assertion
Christian Grothoff [Fri, 10 Mar 2017 17:04:01 +0000 (18:04 +0100)]
remove redundant condition in assertion

7 years agofix out-of-bounds case in parser
Christian Grothoff [Fri, 10 Mar 2017 17:00:53 +0000 (18:00 +0100)]
fix out-of-bounds case in parser

7 years agoproperly detect and handle parse error
Christian Grothoff [Fri, 10 Mar 2017 16:57:40 +0000 (17:57 +0100)]
properly detect and handle parse error

7 years agofix integer overflow test to actually work
Christian Grothoff [Fri, 10 Mar 2017 16:56:17 +0000 (17:56 +0100)]
fix integer overflow test to actually work

7 years agoadd assertion to make static analysis happy
Christian Grothoff [Fri, 10 Mar 2017 16:54:54 +0000 (17:54 +0100)]
add assertion to make static analysis happy

7 years agodisambiguate enum type of value
Christian Grothoff [Fri, 10 Mar 2017 16:53:50 +0000 (17:53 +0100)]
disambiguate enum type of value

7 years agoadd assertion to make static analysis happy
Christian Grothoff [Fri, 10 Mar 2017 16:51:28 +0000 (17:51 +0100)]
add assertion to make static analysis happy

7 years agofix double-free
Christian Grothoff [Fri, 10 Mar 2017 16:50:00 +0000 (17:50 +0100)]
fix double-free

7 years agoprevent division by zero
Christian Grothoff [Fri, 10 Mar 2017 16:49:05 +0000 (17:49 +0100)]
prevent division by zero

7 years agofix ICMP IPv4/IPv6 type conversion logic
Christian Grothoff [Fri, 10 Mar 2017 16:46:08 +0000 (17:46 +0100)]
fix ICMP IPv4/IPv6 type conversion logic

7 years agofix double-free
Christian Grothoff [Fri, 10 Mar 2017 16:41:05 +0000 (17:41 +0100)]
fix double-free

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 16:39:51 +0000 (17:39 +0100)]
fix memory leak

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 16:38:52 +0000 (17:38 +0100)]
fix memory leak

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 16:30:54 +0000 (17:30 +0100)]
fix memory leak

7 years agofix memory leak
Christian Grothoff [Fri, 10 Mar 2017 16:28:57 +0000 (17:28 +0100)]
fix memory leak

7 years agoproperly handle error on empty queue
Christian Grothoff [Fri, 10 Mar 2017 16:28:03 +0000 (17:28 +0100)]
properly handle error on empty queue