oweals/gnunet.git
7 years agoset fds_len in all cases; call set_wakeup only in two places
lurchi [Fri, 11 Aug 2017 16:49:55 +0000 (18:49 +0200)]
set fds_len in all cases; call set_wakeup only in two places

7 years agoremove unnecessary set_wakup call
lurchi [Thu, 10 Aug 2017 19:09:18 +0000 (21:09 +0200)]
remove unnecessary set_wakup call

7 years agofix compilation of debug code enabled by DEBUG_FDS; fix indentation
lurchi [Thu, 10 Aug 2017 18:05:37 +0000 (20:05 +0200)]
fix compilation of debug code enabled by DEBUG_FDS; fix indentation

7 years agocosmetic fixes
lurchi [Wed, 9 Aug 2017 20:37:43 +0000 (22:37 +0200)]
cosmetic fixes

7 years agotest_scheduler passing; new API function GNUNET_SCHEDULER_check_lifeness
lurchi [Wed, 9 Aug 2017 20:24:25 +0000 (22:24 +0200)]
test_scheduler passing; new API function GNUNET_SCHEDULER_check_lifeness

7 years agolifeness checks; shutdown now working; checkSignal not passing yet
lurchi [Wed, 9 Aug 2017 17:21:30 +0000 (19:21 +0200)]
lifeness checks; shutdown now working; checkSignal not passing yet

7 years agofix initFdInfo; rename to init_fd_info
lurchi [Wed, 9 Aug 2017 11:50:09 +0000 (13:50 +0200)]
fix initFdInfo; rename to init_fd_info

7 years agofix indentation; remove unneeded set_wakeup call
lurchi [Wed, 9 Aug 2017 11:28:45 +0000 (13:28 +0200)]
fix indentation; remove unneeded set_wakeup call

7 years agoMerge branch 'refactoring-scheduler' of ssh://gnunet.org/gnunet
lurchi [Tue, 8 Aug 2017 16:42:02 +0000 (18:42 +0200)]
Merge branch 'refactoring-scheduler' of ssh://gnunet.org/gnunet

7 years agoseparate the select driver's fd sets from the driver-internal fdsets
lurchi [Tue, 8 Aug 2017 16:35:53 +0000 (18:35 +0200)]
separate the select driver's fd sets from the driver-internal fdsets

7 years agoSmaller changes. Changed order when set_wakeup is called after some task is removed...
t3sserakt [Tue, 8 Aug 2017 16:30:33 +0000 (18:30 +0200)]
Smaller changes. Changed order when set_wakeup is called after some task is removed from pending_timeout

7 years agofix segfault and pending_timeout logic
lurchi [Sat, 5 Aug 2017 14:31:09 +0000 (16:31 +0200)]
fix segfault and pending_timeout logic

7 years agoadd missing DLL insert
lurchi [Sat, 5 Aug 2017 11:38:45 +0000 (13:38 +0200)]
add missing DLL insert

7 years agofix warnings
lurchi [Sat, 5 Aug 2017 11:35:10 +0000 (13:35 +0200)]
fix warnings

7 years agomake input of getters const (needed for new scheduler API)
lurchi [Sat, 5 Aug 2017 11:33:55 +0000 (13:33 +0200)]
make input of getters const (needed for new scheduler API)

7 years agoGNUNET_SCHEDULER_run is calling GNUNET_SCHEDULER_run_with_driver with the default...
t3sserakt [Fri, 4 Aug 2017 06:45:30 +0000 (08:45 +0200)]
GNUNET_SCHEDULER_run is calling GNUNET_SCHEDULER_run_with_driver with the default select polling backend.

7 years agoCall to set_wakeup added after tasks added/removed to/from pending_timeout
t3sserakt [Thu, 3 Aug 2017 04:04:45 +0000 (06:04 +0200)]
Call to set_wakeup added after tasks added/removed to/from pending_timeout

7 years agoNearly finished. Call to set_wakeup missing in case of tasks added to pending_timeout
t3sserakt [Wed, 2 Aug 2017 20:55:04 +0000 (22:55 +0200)]
Nearly finished. Call to set_wakeup missing in case of tasks added to pending_timeout

7 years agoadapt add_without_sets to scheduler driver API; reimplement initFdInfo
lurchi [Thu, 20 Jul 2017 23:27:22 +0000 (01:27 +0200)]
adapt add_without_sets to scheduler driver API; reimplement initFdInfo

7 years agosmall fixes
lurchi [Thu, 20 Jul 2017 16:04:02 +0000 (18:04 +0200)]
small fixes

7 years agostarted further refactoring of scheduler. ATTENTION, actual Status does not compile!
t3sserakt [Thu, 20 Jul 2017 13:23:36 +0000 (15:23 +0200)]
started further refactoring of scheduler. ATTENTION, actual Status does not compile!

7 years ago-very unimportant typo fixed
psyc://loupsycedyglgamf.onion/~lynX [Sat, 8 Jul 2017 19:50:21 +0000 (19:50 +0000)]
-very unimportant typo fixed

7 years agoimplement GNUNET_h2s2 for printing two hashes in one log output line
lurchi [Sat, 8 Jul 2017 19:50:20 +0000 (21:50 +0200)]
implement GNUNET_h2s2 for printing two hashes in one log output line

7 years agofix hostlist server option
xrs [Mon, 3 Jul 2017 22:52:39 +0000 (00:52 +0200)]
fix hostlist server option

7 years agomulticast: remove unnecessary header file in Makefile.am
xrs [Mon, 3 Jul 2017 22:32:40 +0000 (00:32 +0200)]
multicast: remove unnecessary header file in Makefile.am

7 years agodeactivate hostlist server option
xrs [Mon, 3 Jul 2017 22:31:17 +0000 (00:31 +0200)]
deactivate hostlist server option

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Mon, 3 Jul 2017 22:29:19 +0000 (00:29 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agodeaktivate hostlist server and use topology option
xrs [Mon, 3 Jul 2017 22:29:15 +0000 (00:29 +0200)]
deaktivate hostlist server and use topology option

7 years agodo not invoke callback after set operation destruction, should fix #5082
Christian Grothoff [Mon, 3 Jul 2017 15:38:20 +0000 (17:38 +0200)]
do not invoke callback after set operation destruction, should fix #5082

7 years agorevert change, tests must not rely on Internet
Christian Grothoff [Thu, 29 Jun 2017 21:48:28 +0000 (23:48 +0200)]
revert change, tests must not rely on Internet

7 years agomake test work on gnunet with public hostlist server
xrs [Thu, 29 Jun 2017 21:30:49 +0000 (23:30 +0200)]
make test work on gnunet with public hostlist server

7 years agofix FTBFS issues if --enable-logging=no is set
Christian Grothoff [Thu, 29 Jun 2017 13:02:31 +0000 (15:02 +0200)]
fix FTBFS issues if --enable-logging=no is set

7 years agofix nat service port collision during test
Christian Grothoff [Mon, 26 Jun 2017 15:46:28 +0000 (17:46 +0200)]
fix nat service port collision during test

7 years agofix configs, inlines are now relative to source dir of inlining file
Christian Grothoff [Mon, 26 Jun 2017 09:51:38 +0000 (11:51 +0200)]
fix configs, inlines are now relative to source dir of inlining file

7 years agofix test failure introduced by latest configuration parser fix, avoid unnecessary...
Christian Grothoff [Mon, 26 Jun 2017 07:16:44 +0000 (09:16 +0200)]
fix test failure introduced by latest configuration parser fix, avoid unnecessary copying around of the configuration file

7 years ago[transport] Fix EBADF in select()
David Barksdale [Sun, 25 Jun 2017 22:40:52 +0000 (17:40 -0500)]
[transport] Fix EBADF in select()

This fixes issue #3691.

7 years agofix configuration parsing issue with inlines from configuration not in cwd
Christian Grothoff [Sun, 25 Jun 2017 17:36:44 +0000 (19:36 +0200)]
fix configuration parsing issue with inlines from configuration not in cwd

7 years agoallow NULL fields for varsize
Christian Grothoff [Sun, 25 Jun 2017 15:05:09 +0000 (17:05 +0200)]
allow NULL fields for varsize

7 years agostart to fix some test issues with postgres psycstore
Christian Grothoff [Sun, 25 Jun 2017 14:48:48 +0000 (16:48 +0200)]
start to fix some test issues with postgres psycstore

7 years agoFix debug message.
jah [Sun, 25 Jun 2017 11:47:49 +0000 (12:47 +0100)]
Fix debug message.

7 years agoFix quota compliance tests.
jah [Sun, 25 Jun 2017 11:47:48 +0000 (12:47 +0100)]
Fix quota compliance tests.

7 years agoEnsure peer started callback recvs PeerContext
jah [Sun, 25 Jun 2017 11:47:47 +0000 (12:47 +0100)]
Ensure peer started callback recvs PeerContext

7 years agobitch more if NULL rows cause PQ result extraction to fail
Christian Grothoff [Sat, 24 Jun 2017 23:40:51 +0000 (01:40 +0200)]
bitch more if NULL rows cause PQ result extraction to fail

7 years agofix crash if block plugin not found
Christian Grothoff [Sat, 24 Jun 2017 22:42:25 +0000 (00:42 +0200)]
fix crash if block plugin not found

7 years agodht: install cli clients
Daniel Golle [Fri, 23 Jun 2017 22:51:01 +0000 (00:51 +0200)]
dht: install cli clients

7 years ago[topology] Fix blacklist condition
David Barksdale [Sat, 24 Jun 2017 04:18:59 +0000 (23:18 -0500)]
[topology] Fix blacklist condition

This fixes issue #5086.

7 years agoif (1) holds here, remove redundant if
Christian Grothoff [Fri, 23 Jun 2017 22:09:51 +0000 (00:09 +0200)]
if (1) holds here, remove redundant if

7 years agostart VPN helper also if only services are running
Christian Grothoff [Fri, 23 Jun 2017 22:06:42 +0000 (00:06 +0200)]
start VPN helper also if only services are running

7 years agofix indexing issue found by jah and reported on gnunet-developers on 6-8/7/2017
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

7 years agofix misc namestore crashes from pq migration
Christian Grothoff [Fri, 23 Jun 2017 14:05:07 +0000 (16:05 +0200)]
fix misc namestore crashes from pq migration

7 years agonamestore: postgres: fix iterating over zone
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.

7 years agokill short zone remenants
Christian Grothoff [Fri, 23 Jun 2017 12:12:48 +0000 (14:12 +0200)]
kill short zone remenants

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Thu, 22 Jun 2017 19:53:36 +0000 (21:53 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agoUpdate multicast test
xrs [Thu, 22 Jun 2017 19:53:06 +0000 (21:53 +0200)]
Update multicast test

7 years agoRemove valgrind from test config
David Barksdale [Thu, 22 Jun 2017 14:47:34 +0000 (09:47 -0500)]
Remove valgrind from test config

7 years agofix indentation
Christian Grothoff [Tue, 20 Jun 2017 20:22:28 +0000 (22:22 +0200)]
fix indentation

7 years agoset: disconnect, don't destroy yet
Florian Dold [Tue, 20 Jun 2017 17:32:29 +0000 (19:32 +0200)]
set: disconnect, don't destroy yet

7 years agoset: remove workaround to test if a set bug and not cadet was at fault
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

7 years agoset: adjust log type
Florian Dold [Sun, 18 Jun 2017 00:45:21 +0000 (02:45 +0200)]
set: adjust log type

7 years agoconsensus: logging text
Florian Dold [Sun, 18 Jun 2017 00:44:13 +0000 (02:44 +0200)]
consensus: logging text

7 years agoconsensus/set: saner log levels
Florian Dold [Sun, 18 Jun 2017 00:42:06 +0000 (02:42 +0200)]
consensus/set: saner log levels

7 years agoCONSENSUS/SET: even uglier CADET workarounds
Florian Dold [Sun, 18 Jun 2017 00:24:03 +0000 (02:24 +0200)]
CONSENSUS/SET:  even uglier CADET workarounds

7 years agoSET: add another CADET bug workaround
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.

7 years ago[transport] copy-paste error, nothing to see here
David Barksdale [Fri, 16 Jun 2017 00:01:30 +0000 (19:01 -0500)]
[transport] copy-paste error, nothing to see here

So embarassing!

7 years ago[transport] Don't exit with suspended connections
David Barksdale [Thu, 15 Jun 2017 18:54:38 +0000 (13:54 -0500)]
[transport] Don't exit with suspended connections

7 years ago[transport] suspend connection to avoid busy-wait
David Barksdale [Tue, 13 Jun 2017 04:50:25 +0000 (23:50 -0500)]
[transport] suspend connection to avoid busy-wait

7 years agoconfigure.ac: don't make guesses which uid 'make install' will have
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

7 years agognunet-social: removed duplicate getopt
psyc://loupsycedyglgamf.onion/~lynX [Sun, 11 Jun 2017 04:09:01 +0000 (04:09 +0000)]
gnunet-social: removed duplicate getopt

7 years agoset: add 'over' message, since cadet does not reliably detect channel termination
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

7 years agoclarify enum values
Christian Grothoff [Sun, 11 Jun 2017 00:11:52 +0000 (02:11 +0200)]
clarify enum values

7 years agorename GNUNET_PQ_QueryStatus to GNUNET_DB_QueryStatus
Christian Grothoff [Sat, 10 Jun 2017 23:23:16 +0000 (01:23 +0200)]
rename GNUNET_PQ_QueryStatus to GNUNET_DB_QueryStatus

7 years agohandle UNIQUE violation nicely
Christian Grothoff [Sat, 10 Jun 2017 19:53:08 +0000 (21:53 +0200)]
handle UNIQUE violation nicely

7 years ago[transport] http(s) are stable
David Barksdale [Thu, 8 Jun 2017 20:29:42 +0000 (15:29 -0500)]
[transport] http(s) are stable

7 years agoDon't valgrind
David Barksdale [Thu, 8 Jun 2017 20:22:58 +0000 (15:22 -0500)]
Don't valgrind

7 years agoUpdate Makefile for deleted files
David Barksdale [Wed, 7 Jun 2017 14:31:16 +0000 (09:31 -0500)]
Update Makefile for deleted files

7 years agoUpdate configure.ac POTFILES.in for deleted files
David Barksdale [Wed, 7 Jun 2017 14:11:04 +0000 (09:11 -0500)]
Update configure.ac POTFILES.in for deleted files

7 years agomark dv/http/https/wlan/bt as experimental
Christian Grothoff [Tue, 6 Jun 2017 16:06:03 +0000 (18:06 +0200)]
mark dv/http/https/wlan/bt as experimental

7 years agoremoving dead libgnunetpostgres
Christian Grothoff [Tue, 6 Jun 2017 16:01:43 +0000 (18:01 +0200)]
removing dead libgnunetpostgres

7 years agoFixes.
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

7 years ago[datastore] Remove unused indicies from sqlite
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.

7 years agoFinal changes to switch to PQ form.
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

7 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Jeffrey Burdges [Sun, 4 Jun 2017 23:23:30 +0000 (01:23 +0200)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

7 years agoSwitch fragment_row to PQ callback form
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.

7 years agofix leak
Christian Grothoff [Sun, 4 Jun 2017 20:23:29 +0000 (22:23 +0200)]
fix leak

7 years agoadd -x option to gnunet-ecc for #4629
Christian Grothoff [Sun, 4 Jun 2017 12:46:33 +0000 (14:46 +0200)]
add -x option to gnunet-ecc for #4629

7 years agofinish datastore pq refactoring
Christian Grothoff [Sat, 3 Jun 2017 22:52:25 +0000 (00:52 +0200)]
finish datastore pq refactoring

7 years agomore pq work
Christian Grothoff [Sat, 3 Jun 2017 21:33:43 +0000 (23:33 +0200)]
more pq work

7 years agoDo singleton select statements
Jeffrey Burdges [Sat, 3 Jun 2017 21:16:28 +0000 (23:16 +0200)]
Do singleton select statements

7 years agoDo non-select statements
Jeffrey Burdges [Sat, 3 Jun 2017 20:43:47 +0000 (22:43 +0200)]
Do non-select statements

7 years agoOops.
Jeffrey Burdges [Sat, 3 Jun 2017 20:06:06 +0000 (22:06 +0200)]
Oops.

7 years agoJeff in sed mode
Jeffrey Burdges [Sat, 3 Jun 2017 20:01:28 +0000 (22:01 +0200)]
Jeff in sed mode

7 years agono more need for libgnunetpostgres
Christian Grothoff [Sat, 3 Jun 2017 19:44:20 +0000 (21:44 +0200)]
no more need for libgnunetpostgres

7 years agomigrate another function to libgnunetpq
Christian Grothoff [Sat, 3 Jun 2017 19:42:38 +0000 (21:42 +0200)]
migrate another function to libgnunetpq

7 years agomigrate another function to libgnunetpq
Christian Grothoff [Sat, 3 Jun 2017 19:31:48 +0000 (21:31 +0200)]
migrate another function to libgnunetpq

7 years agomore work on pq-ification of datacache
Christian Grothoff [Fri, 2 Jun 2017 21:12:31 +0000 (23:12 +0200)]
more work on pq-ification of datacache

7 years agolibgnunetpostgres no longer needed here
Christian Grothoff [Fri, 2 Jun 2017 19:58:27 +0000 (21:58 +0200)]
libgnunetpostgres no longer needed here

7 years agolibgnunetpostgres no longer needed here
Christian Grothoff [Fri, 2 Jun 2017 19:56:24 +0000 (21:56 +0200)]
libgnunetpostgres no longer needed here

7 years agoimprove namecache postgres plugin to use libgnunetpq more
Christian Grothoff [Fri, 2 Jun 2017 19:55:17 +0000 (21:55 +0200)]
improve namecache postgres plugin to use libgnunetpq more

7 years agoimprove namestore 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

7 years agoguix-env: some update.
ng0 [Thu, 1 Jun 2017 19:48:20 +0000 (19:48 +0000)]
guix-env: some update.