oweals/gnunet.git
7 years ago-fix
Schanzenbach, Martin [Mon, 24 Apr 2017 15:50:33 +0000 (17:50 +0200)]
-fix

7 years ago-fix API changes
Schanzenbach, Martin [Fri, 21 Apr 2017 11:51:04 +0000 (13:51 +0200)]
-fix API changes

7 years agoMerge remote-tracking branch 'origin/master' into credentials
Schanzenbach, Martin [Fri, 21 Apr 2017 11:36:41 +0000 (13:36 +0200)]
Merge remote-tracking branch 'origin/master' into credentials

7 years agoremoved LIMIT expression from DELETE stmt. See http://sqlite.org/syntaxdiagrams.html...
xrs [Wed, 19 Apr 2017 07:38:28 +0000 (09:38 +0200)]
removed LIMIT expression from DELETE stmt. See sqlite.org/syntaxdiagrams.html#delete-stmt

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Wed, 19 Apr 2017 07:06:09 +0000 (09:06 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agoadd GNUNET_JSON_spec_absolute_time_nbo
Christian Grothoff [Mon, 17 Apr 2017 12:25:55 +0000 (14:25 +0200)]
add GNUNET_JSON_spec_absolute_time_nbo

7 years ago[datastore] Create remove plugin API call
David Barksdale [Mon, 17 Apr 2017 01:46:21 +0000 (20:46 -0500)]
[datastore] Create remove plugin API call

The only use of vhash in the get_key call was for removing, split that out
into its own function.  This simplifies the get_key call and removes the
need for some indexes, speeding up insertion into the database.

7 years ago[datastore] Combine put and update plugin APIs
David Barksdale [Sun, 16 Apr 2017 17:39:43 +0000 (12:39 -0500)]
[datastore] Combine put and update plugin APIs

This resolves issue #4965.

7 years agoRewrite gnunet-datastore to dump to a file
David Barksdale [Fri, 14 Apr 2017 02:22:29 +0000 (21:22 -0500)]
Rewrite gnunet-datastore to dump to a file

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Wed, 12 Apr 2017 18:20:51 +0000 (20:20 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agofix #4985
Christian Grothoff [Tue, 11 Apr 2017 09:37:46 +0000 (11:37 +0200)]
fix #4985

7 years agofix misc linker issues
Christian Grothoff [Sun, 2 Apr 2017 16:08:27 +0000 (18:08 +0200)]
fix misc linker issues

7 years agoUpdate POTFILES.in
David Barksdale [Sat, 1 Apr 2017 00:25:17 +0000 (19:25 -0500)]
Update POTFILES.in

7 years ago[fs] Fix unindex after API change
David Barksdale [Fri, 31 Mar 2017 22:27:38 +0000 (17:27 -0500)]
[fs] Fix unindex after API change

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Wed, 29 Mar 2017 17:07:29 +0000 (19:07 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years ago- merge with master
Schanzenbach, Martin [Wed, 29 Mar 2017 12:26:33 +0000 (14:26 +0200)]
- merge with master

7 years ago-fix coverity
Schanzenbach, Martin [Wed, 29 Mar 2017 12:21:30 +0000 (14:21 +0200)]
-fix coverity

7 years ago[datastore] Fix performance tests after API change
David Barksdale [Tue, 28 Mar 2017 02:07:32 +0000 (21:07 -0500)]
[datastore] Fix performance tests after API change

7 years agoinitial ideas for improving the scheduler API (far from finished)
Christian Grothoff [Mon, 27 Mar 2017 09:44:46 +0000 (11:44 +0200)]
initial ideas for improving the scheduler API (far from finished)

7 years agofix #4974: migrate conversation GST helpers to new MST API
Christian Grothoff [Mon, 27 Mar 2017 15:30:30 +0000 (17:30 +0200)]
fix #4974: migrate conversation GST helpers to new MST API

7 years agoimplement #4973
Christian Grothoff [Sun, 26 Mar 2017 02:14:43 +0000 (04:14 +0200)]
implement #4973

7 years agoupdate tutorial to match GETOPT-API changes
Christian Grothoff [Sat, 25 Mar 2017 20:27:01 +0000 (21:27 +0100)]
update tutorial to match GETOPT-API changes

7 years agorename GNUNET_GETOPT functions to achieve better consistency
Christian Grothoff [Sat, 25 Mar 2017 20:25:44 +0000 (21:25 +0100)]
rename GNUNET_GETOPT functions to achieve better consistency

7 years agoimplement GNUNET_NETWORK_test_port_free() for testcases to conveniently check if...
Christian Grothoff [Fri, 24 Mar 2017 17:17:50 +0000 (18:17 +0100)]
implement GNUNET_NETWORK_test_port_free() for testcases to conveniently check if a port is available

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Fri, 24 Mar 2017 14:31:29 +0000 (15:31 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agoauction: makefile indentation
Markus Teich [Thu, 23 Mar 2017 21:36:00 +0000 (22:36 +0100)]
auction: makefile indentation

7 years agopostgresql: require version 9.5
Daniel Golle [Thu, 23 Mar 2017 14:31:17 +0000 (15:31 +0100)]
postgresql: require version 9.5

CREATE INDEX IF NOT EXISTS was added at version 9.5 (rather than 9.6)
see also https://www.postgresql.org/docs/9.5/static/sql-createindex.html

7 years ago[datastore] Return and update replication
David Barksdale [Thu, 23 Mar 2017 03:17:05 +0000 (22:17 -0500)]
[datastore] Return and update replication

This fixes a couple FIXMEs in the datastore code. The replication value
is now returned from the datastore and the update function can increase
the replication.

7 years agoMerge branch 'master' of gnunet.org:gnunet
tg(x) [Wed, 22 Mar 2017 09:08:01 +0000 (10:08 +0100)]
Merge branch 'master' of gnunet.org:gnunet

7 years agouse log_from
Christian Grothoff [Sun, 19 Mar 2017 23:47:18 +0000 (00:47 +0100)]
use log_from

7 years ago[datastore] Fix #3743
David Barksdale [Sun, 19 Mar 2017 20:55:32 +0000 (15:55 -0500)]
[datastore] Fix #3743

This change adds support for key == NULL to the datastore plugins
and replaces the offset argument with a next_uid and random arguments to
increase performance in the key == NULL case.

With the offset argument a datastore plugin would have to count all
matching keys before fetching the key at the right offset, which would
iterate over the entire database in the case of key == NULL.

The offset argument was used in two ways: to iterate over a set of
matching values and to start iteration at a random matching value. The new API
seperates these into two arguments: if random is true it will return a
random matching value, otherwise next_uid can be set to uid + 1 to return the
next matching value.

The random argument was not added to get_zero_anonymity. This function
is used to periodically insert zero anonymity values into the DHT. I
don't think it's necessary to randomize this.

7 years agofix initialisation of zero_pid
Julius Bünger [Sun, 19 Mar 2017 00:10:02 +0000 (01:10 +0100)]
fix initialisation of zero_pid

7 years agouse modern getopt api
Julius Bünger [Sat, 18 Mar 2017 23:59:35 +0000 (00:59 +0100)]
use modern getopt api

7 years agouse more modern getopt api to initialize pid
Christian Grothoff [Sat, 18 Mar 2017 23:33:58 +0000 (00:33 +0100)]
use more modern getopt api to initialize pid

7 years agofix rps getopt
Julius Bünger [Sat, 18 Mar 2017 22:38:18 +0000 (23:38 +0100)]
fix rps getopt

7 years agofix #4957
Christian Grothoff [Fri, 17 Mar 2017 19:00:42 +0000 (20:00 +0100)]
fix #4957

7 years agofix format string error
Christian Grothoff [Fri, 17 Mar 2017 18:58:06 +0000 (19:58 +0100)]
fix format string error

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

7 years agomore renamings relating to 'new' service now just being the 'normal' service
Christian Grothoff [Fri, 17 Mar 2017 17:13:55 +0000 (18:13 +0100)]
more renamings relating to 'new' service now just being the 'normal' service

7 years agorename service_new.c to service.c
Christian Grothoff [Fri, 17 Mar 2017 17:03:26 +0000 (18:03 +0100)]
rename service_new.c to service.c

7 years agofix FTBFS of test
Christian Grothoff [Fri, 17 Mar 2017 16:58:05 +0000 (17:58 +0100)]
fix FTBFS of test

7 years agofix fprintf format string warnings
Christian Grothoff [Fri, 17 Mar 2017 16:36:18 +0000 (17:36 +0100)]
fix fprintf format string warnings

7 years agoPorting leftovers to new getopt API.
Marcello Stanisci [Fri, 17 Mar 2017 13:24:13 +0000 (14:24 +0100)]
Porting leftovers to new getopt API.

7 years agoMerge branch 'getopt'
Christian Grothoff [Fri, 17 Mar 2017 11:07:08 +0000 (12:07 +0100)]
Merge branch 'getopt'

7 years ago+myself in contributors' list.
Marcello Stanisci [Fri, 17 Mar 2017 10:59:07 +0000 (11:59 +0100)]
+myself in contributors' list.

7 years agoMerge branch 'master' into getopt
Christian Grothoff [Fri, 17 Mar 2017 10:53:24 +0000 (11:53 +0100)]
Merge branch 'master' into getopt

7 years agoFix compiler warnings.
Marcello Stanisci [Thu, 16 Mar 2017 17:28:53 +0000 (18:28 +0100)]
Fix compiler warnings.

7 years agoLast commit as of getopt porting. 'social' still gives warnings.
Marcello Stanisci [Thu, 16 Mar 2017 15:53:28 +0000 (16:53 +0100)]
Last commit as of getopt porting. 'social' still gives warnings.

7 years agoporting social
Marcello Stanisci [Thu, 16 Mar 2017 15:27:38 +0000 (16:27 +0100)]
porting social

7 years agoporting fs finished.
Marcello Stanisci [Thu, 16 Mar 2017 14:41:10 +0000 (15:41 +0100)]
porting fs finished.

7 years agoporting gnunet-publish + others..
Marcello Stanisci [Thu, 16 Mar 2017 14:26:57 +0000 (15:26 +0100)]
porting gnunet-publish + others..

7 years agofix build issues
Christian Grothoff [Thu, 16 Mar 2017 13:32:54 +0000 (14:32 +0100)]
fix build issues

7 years agoupdate .gitignore files
Christian Grothoff [Thu, 16 Mar 2017 11:53:44 +0000 (12:53 +0100)]
update .gitignore files

7 years agoporting
Marcello Stanisci [Thu, 16 Mar 2017 10:45:15 +0000 (11:45 +0100)]
porting

7 years agoDCE
Christian Grothoff [Thu, 16 Mar 2017 04:37:37 +0000 (05:37 +0100)]
DCE

7 years agoremoving dead/legacy server/connection logic, except for in tcp/wlan/bt plugins ...
Christian Grothoff [Thu, 16 Mar 2017 04:33:01 +0000 (05:33 +0100)]
removing dead/legacy server/connection logic, except for in tcp/wlan/bt plugins (which will be updated 'later')

7 years agomigrate regex to new service API
Christian Grothoff [Thu, 16 Mar 2017 02:43:19 +0000 (03:43 +0100)]
migrate regex to new service API

7 years agomigrate testbed-logger to new service API
Christian Grothoff [Thu, 16 Mar 2017 02:27:16 +0000 (03:27 +0100)]
migrate testbed-logger to new service API

7 years agoporting.
Marcello Stanisci [Wed, 15 Mar 2017 20:03:50 +0000 (21:03 +0100)]
porting.

7 years agogetopt API porting.
Marcello Stanisci [Wed, 15 Mar 2017 15:21:06 +0000 (16:21 +0100)]
getopt API porting.

7 years agoStill porting to new getopt API.
Marcello Stanisci [Wed, 15 Mar 2017 14:28:41 +0000 (15:28 +0100)]
Still porting to new getopt API.

7 years agoPorting 'nat-auto'.
Marcello Stanisci [Wed, 15 Mar 2017 10:51:15 +0000 (11:51 +0100)]
Porting 'nat-auto'.

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 agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Tue, 14 Mar 2017 19:30:32 +0000 (20:30 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

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 agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Mon, 13 Mar 2017 19:35:18 +0000 (20:35 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

Conflicts:
src/multicast/test_multicast_2peers.c

7 years agotest_multicast_2peers.c: fix code style
xrs [Mon, 13 Mar 2017 19:27:45 +0000 (20:27 +0100)]
test_multicast_2peers.c: fix code style

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 agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Mon, 13 Mar 2017 16:48:53 +0000 (17:48 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agomulticast: add new test case to Makefile.am
xrs [Mon, 13 Mar 2017 16:48:23 +0000 (17:48 +0100)]
multicast: add new test case to Makefile.am

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