Christian Grothoff [Sun, 25 Jun 2017 14:48:48 +0000 (16:48 +0200)]
start to fix some test issues with postgres psycstore
jah [Sun, 25 Jun 2017 11:47:49 +0000 (12:47 +0100)]
Fix debug message.
jah [Sun, 25 Jun 2017 11:47:48 +0000 (12:47 +0100)]
Fix quota compliance tests.
jah [Sun, 25 Jun 2017 11:47:47 +0000 (12:47 +0100)]
Ensure peer started callback recvs PeerContext
Christian Grothoff [Sat, 24 Jun 2017 23:40:51 +0000 (01:40 +0200)]
bitch more if NULL rows cause PQ result extraction to fail
Christian Grothoff [Sat, 24 Jun 2017 22:42:25 +0000 (00:42 +0200)]
fix crash if block plugin not found
Daniel Golle [Fri, 23 Jun 2017 22:51:01 +0000 (00:51 +0200)]
dht: install cli clients
David Barksdale [Sat, 24 Jun 2017 04:18:59 +0000 (23:18 -0500)]
[topology] Fix blacklist condition
This fixes issue #5086.
Christian Grothoff [Fri, 23 Jun 2017 22:09:51 +0000 (00:09 +0200)]
if (1) holds here, remove redundant if
Christian Grothoff [Fri, 23 Jun 2017 22:06:42 +0000 (00:06 +0200)]
start VPN helper also if only services are running
Christian Grothoff [Fri, 23 Jun 2017 14:25:19 +0000 (16:25 +0200)]
fix indexing issue found by jah and reported on gnunet-developers on 6-8/7/2017
Christian Grothoff [Fri, 23 Jun 2017 14:05:07 +0000 (16:05 +0200)]
fix misc namestore crashes from pq migration
Daniel Golle [Fri, 23 Jun 2017 11:54:40 +0000 (13:54 +0200)]
namestore: postgres: fix iterating over zone
Stop iterating on GNUNET_DB_STATUS_SUCCESS_NO_RESULTS.
Christian Grothoff [Fri, 23 Jun 2017 12:12:48 +0000 (14:12 +0200)]
kill short zone remenants
xrs [Thu, 22 Jun 2017 19:53:36 +0000 (21:53 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
xrs [Thu, 22 Jun 2017 19:53:06 +0000 (21:53 +0200)]
Update multicast test
David Barksdale [Thu, 22 Jun 2017 14:47:34 +0000 (09:47 -0500)]
Remove valgrind from test config
Christian Grothoff [Tue, 20 Jun 2017 20:22:28 +0000 (22:22 +0200)]
fix indentation
Florian Dold [Tue, 20 Jun 2017 17:32:29 +0000 (19:32 +0200)]
set: disconnect, don't destroy yet
Florian Dold [Tue, 20 Jun 2017 16:09:06 +0000 (18:09 +0200)]
set: remove workaround to test if a set bug and not cadet was at fault
Florian Dold [Sun, 18 Jun 2017 00:45:21 +0000 (02:45 +0200)]
set: adjust log type
Florian Dold [Sun, 18 Jun 2017 00:44:13 +0000 (02:44 +0200)]
consensus: logging text
Florian Dold [Sun, 18 Jun 2017 00:42:06 +0000 (02:42 +0200)]
consensus/set: saner log levels
Florian Dold [Sun, 18 Jun 2017 00:24:03 +0000 (02:24 +0200)]
CONSENSUS/SET: even uglier CADET workarounds
Florian Dold [Sat, 17 Jun 2017 23:13:26 +0000 (01:13 +0200)]
SET: add another CADET bug workaround
This time it's something that occurs pretty rarely, and only when
sending the full set is triggered.
David Barksdale [Fri, 16 Jun 2017 00:01:30 +0000 (19:01 -0500)]
[transport] copy-paste error, nothing to see here
So embarassing!
David Barksdale [Thu, 15 Jun 2017 18:54:38 +0000 (13:54 -0500)]
[transport] Don't exit with suspended connections
David Barksdale [Tue, 13 Jun 2017 04:50:25 +0000 (23:50 -0500)]
[transport] suspend connection to avoid busy-wait
psyc://loupsycedyglgamf.onion/~lynX [Sun, 11 Jun 2017 04:09:02 +0000 (04:09 +0000)]
configure.ac: don't make guesses which uid 'make install' will have
psyc://loupsycedyglgamf.onion/~lynX [Sun, 11 Jun 2017 04:09:01 +0000 (04:09 +0000)]
gnunet-social: removed duplicate getopt
Florian Dold [Sun, 11 Jun 2017 04:08:39 +0000 (06:08 +0200)]
set: add 'over' message, since cadet does not reliably detect channel termination
Christian Grothoff [Sun, 11 Jun 2017 00:11:52 +0000 (02:11 +0200)]
clarify enum values
Christian Grothoff [Sat, 10 Jun 2017 23:23:16 +0000 (01:23 +0200)]
rename GNUNET_PQ_QueryStatus to GNUNET_DB_QueryStatus
Christian Grothoff [Sat, 10 Jun 2017 19:53:08 +0000 (21:53 +0200)]
handle UNIQUE violation nicely
David Barksdale [Thu, 8 Jun 2017 20:29:42 +0000 (15:29 -0500)]
[transport] http(s) are stable
David Barksdale [Thu, 8 Jun 2017 20:22:58 +0000 (15:22 -0500)]
Don't valgrind
David Barksdale [Wed, 7 Jun 2017 14:31:16 +0000 (09:31 -0500)]
Update Makefile for deleted files
David Barksdale [Wed, 7 Jun 2017 14:11:04 +0000 (09:11 -0500)]
Update configure.ac POTFILES.in for deleted files
Christian Grothoff [Tue, 6 Jun 2017 16:06:03 +0000 (18:06 +0200)]
mark dv/http/https/wlan/bt as experimental
Christian Grothoff [Tue, 6 Jun 2017 16:01:43 +0000 (18:01 +0200)]
removing dead libgnunetpostgres
Jeffrey Burdges [Mon, 5 Jun 2017 17:19:37 +0000 (19:19 +0200)]
Fixes.
I left the ?? comments because someone should probably change
how return values are handled
David Barksdale [Mon, 5 Jun 2017 12:46:41 +0000 (07:46 -0500)]
[datastore] Remove unused indicies from sqlite
*** The table name was changed ***
Users will need to dump and re-import their sqlite databases with
gnunet-datastore -d and -i.
Jeffrey Burdges [Mon, 5 Jun 2017 00:42:33 +0000 (02:42 +0200)]
Final changes to switch to PQ form.
Again the ?? comments should be investigated
Jeffrey Burdges [Sun, 4 Jun 2017 23:23:30 +0000 (01:23 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Jeffrey Burdges [Sun, 4 Jun 2017 23:15:15 +0000 (01:15 +0200)]
Switch fragment_row to PQ callback form
Christian or Gabor: Please check the comments containing ??
Also, I'm using stack based closures here because the scheduler
cannot be invoked. In general, this sort of thing works well
in Rust, but looks dangerous in C.
Christian Grothoff [Sun, 4 Jun 2017 20:23:29 +0000 (22:23 +0200)]
fix leak
Christian Grothoff [Sun, 4 Jun 2017 12:46:33 +0000 (14:46 +0200)]
add -x option to gnunet-ecc for #4629
Christian Grothoff [Sat, 3 Jun 2017 22:52:25 +0000 (00:52 +0200)]
finish datastore pq refactoring
Christian Grothoff [Sat, 3 Jun 2017 21:33:43 +0000 (23:33 +0200)]
more pq work
Jeffrey Burdges [Sat, 3 Jun 2017 21:16:28 +0000 (23:16 +0200)]
Do singleton select statements
Jeffrey Burdges [Sat, 3 Jun 2017 20:43:47 +0000 (22:43 +0200)]
Do non-select statements
Jeffrey Burdges [Sat, 3 Jun 2017 20:06:06 +0000 (22:06 +0200)]
Oops.
Jeffrey Burdges [Sat, 3 Jun 2017 20:01:28 +0000 (22:01 +0200)]
Jeff in sed mode
Christian Grothoff [Sat, 3 Jun 2017 19:44:20 +0000 (21:44 +0200)]
no more need for libgnunetpostgres
Christian Grothoff [Sat, 3 Jun 2017 19:42:38 +0000 (21:42 +0200)]
migrate another function to libgnunetpq
Christian Grothoff [Sat, 3 Jun 2017 19:31:48 +0000 (21:31 +0200)]
migrate another function to libgnunetpq
Christian Grothoff [Fri, 2 Jun 2017 21:12:31 +0000 (23:12 +0200)]
more work on pq-ification of datacache
Christian Grothoff [Fri, 2 Jun 2017 19:58:27 +0000 (21:58 +0200)]
libgnunetpostgres no longer needed here
Christian Grothoff [Fri, 2 Jun 2017 19:56:24 +0000 (21:56 +0200)]
libgnunetpostgres no longer needed here
Christian Grothoff [Fri, 2 Jun 2017 19:55:17 +0000 (21:55 +0200)]
improve namecache postgres plugin to use libgnunetpq more
Christian Grothoff [Fri, 2 Jun 2017 19:46:25 +0000 (21:46 +0200)]
improve namestore postgres plugin to use libgnunetpq more
ng0 [Thu, 1 Jun 2017 19:48:20 +0000 (19:48 +0000)]
guix-env: some update.
Christian Grothoff [Thu, 1 Jun 2017 19:48:19 +0000 (21:48 +0200)]
adding more good helpers to libgnunetpq
David Barksdale [Thu, 1 Jun 2017 02:06:16 +0000 (21:06 -0500)]
[datstore] make sqlite page_size power of two
ng0 [Sun, 14 May 2017 17:03:39 +0000 (17:03 +0000)]
guix-env.scm: Remove unused code. Point out location for further gnunet variations.
Christian Grothoff [Sun, 14 May 2017 17:03:38 +0000 (19:03 +0200)]
update structure, keep only main fig
Christian Grothoff [Fri, 12 May 2017 09:38:42 +0000 (11:38 +0200)]
fix link
David Barksdale [Thu, 11 May 2017 14:12:31 +0000 (09:12 -0500)]
package geeqie changed to image-viewers
Christian Grothoff [Wed, 10 May 2017 21:40:06 +0000 (23:40 +0200)]
attempting to fix #5006
Bart Polot [Wed, 10 May 2017 18:58:28 +0000 (20:58 +0200)]
Change regex combination, allow hex
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
xrs [Wed, 19 Apr 2017 07:06:09 +0000 (09:06 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Christian Grothoff [Mon, 17 Apr 2017 12:25:55 +0000 (14:25 +0200)]
add GNUNET_JSON_spec_absolute_time_nbo
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.
David Barksdale [Sun, 16 Apr 2017 17:39:43 +0000 (12:39 -0500)]
[datastore] Combine put and update plugin APIs
This resolves issue #4965.
David Barksdale [Fri, 14 Apr 2017 02:22:29 +0000 (21:22 -0500)]
Rewrite gnunet-datastore to dump to a file
xrs [Wed, 12 Apr 2017 18:20:51 +0000 (20:20 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Christian Grothoff [Tue, 11 Apr 2017 09:37:46 +0000 (11:37 +0200)]
fix #4985
Christian Grothoff [Sun, 2 Apr 2017 16:08:27 +0000 (18:08 +0200)]
fix misc linker issues
David Barksdale [Sat, 1 Apr 2017 00:25:17 +0000 (19:25 -0500)]
Update POTFILES.in
David Barksdale [Fri, 31 Mar 2017 22:27:38 +0000 (17:27 -0500)]
[fs] Fix unindex after API change
xrs [Wed, 29 Mar 2017 17:07:29 +0000 (19:07 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Schanzenbach, Martin [Wed, 29 Mar 2017 12:21:30 +0000 (14:21 +0200)]
-fix coverity
David Barksdale [Tue, 28 Mar 2017 02:07:32 +0000 (21:07 -0500)]
[datastore] Fix performance tests after API change
Christian Grothoff [Mon, 27 Mar 2017 09:44:46 +0000 (11:44 +0200)]
initial ideas for improving the scheduler API (far from finished)
Christian Grothoff [Mon, 27 Mar 2017 15:30:30 +0000 (17:30 +0200)]
fix #4974: migrate conversation GST helpers to new MST API
Christian Grothoff [Sun, 26 Mar 2017 02:14:43 +0000 (04:14 +0200)]
implement #4973
Christian Grothoff [Sat, 25 Mar 2017 20:27:01 +0000 (21:27 +0100)]
update tutorial to match GETOPT-API changes
Christian Grothoff [Sat, 25 Mar 2017 20:25:44 +0000 (21:25 +0100)]
rename GNUNET_GETOPT functions to achieve better consistency
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
xrs [Fri, 24 Mar 2017 14:31:29 +0000 (15:31 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Markus Teich [Thu, 23 Mar 2017 21:36:00 +0000 (22:36 +0100)]
auction: makefile indentation
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
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.
tg(x) [Wed, 22 Mar 2017 09:08:01 +0000 (10:08 +0100)]
Merge branch 'master' of gnunet.org:gnunet
Christian Grothoff [Sun, 19 Mar 2017 23:47:18 +0000 (00:47 +0100)]
use log_from
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.
Julius Bünger [Sun, 19 Mar 2017 00:10:02 +0000 (01:10 +0100)]
fix initialisation of zero_pid
Julius Bünger [Sat, 18 Mar 2017 23:59:35 +0000 (00:59 +0100)]
use modern getopt api
Christian Grothoff [Sat, 18 Mar 2017 23:33:58 +0000 (00:33 +0100)]
use more modern getopt api to initialize pid