lurchi [Thu, 24 Aug 2017 18:38:15 +0000 (20:38 +0200)]
NULL-initialize array pointers
lurchi [Wed, 23 Aug 2017 13:57:58 +0000 (15:57 +0200)]
cleanup
lurchi [Wed, 23 Aug 2017 13:45:52 +0000 (15:45 +0200)]
GNUNET_SCHEDULER_check_lifeness not needed anymore
lurchi [Wed, 23 Aug 2017 13:44:52 +0000 (15:44 +0200)]
tasks in the pending queue must be be checked for reached timeouts, too; allow multiple event types per FdInfo
lurchi [Sun, 20 Aug 2017 23:09:15 +0000 (01:09 +0200)]
improve documentation about the GNUNET_array_append and GNUNET_array_grow macros
lurchi [Sun, 20 Aug 2017 23:07:27 +0000 (01:07 +0200)]
only allocate network / file handles and store them in the task when GNUNET_SCHEDULER_add_select is used
lurchi [Fri, 18 Aug 2017 14:17:28 +0000 (16:17 +0200)]
implement bookkeeping about which FDs related to a tasks have been marked ready (required API change in GNUNET_SCHEDULER_task_ready)
lurchi [Thu, 17 Aug 2017 18:32:17 +0000 (20:32 +0200)]
increasing length variable is already done by GNUNET_xgrow_ (called by the GNUNET_array_append macro)
lurchi [Wed, 16 Aug 2017 11:57:37 +0000 (13:57 +0200)]
add buggy state of refactored GNUNET_SCHEDULER_add_select
lurchi [Sun, 13 Aug 2017 19:04:34 +0000 (21:04 +0200)]
reimplement init_fd_info as preparation for refactoring GNUNET_SCHEDULER_add_select
lurchi [Sat, 12 Aug 2017 15:39:54 +0000 (17:39 +0200)]
fix off-by-one error that prevented reading from stdin
lurchi [Sat, 12 Aug 2017 15:39:21 +0000 (17:39 +0200)]
init_fd_info now completely initializes fd information; Allow calling add/cancel functions only when the scheduler is running
lurchi [Fri, 11 Aug 2017 16:57:20 +0000 (18:57 +0200)]
set fds_len in all cases; call set_wakeup only in two places
lurchi [Fri, 11 Aug 2017 17:02:16 +0000 (19:02 +0200)]
Revert "set fds_len in all cases; call set_wakeup only in two places"
This reverts commit
7d42c453fbb032ac8fb43c8e56bb84354ecedf2d.
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
lurchi [Thu, 10 Aug 2017 19:09:18 +0000 (21:09 +0200)]
remove unnecessary set_wakup call
lurchi [Thu, 10 Aug 2017 18:05:37 +0000 (20:05 +0200)]
fix compilation of debug code enabled by DEBUG_FDS; fix indentation
lurchi [Wed, 9 Aug 2017 20:37:43 +0000 (22:37 +0200)]
cosmetic fixes
lurchi [Wed, 9 Aug 2017 20:24:25 +0000 (22:24 +0200)]
test_scheduler passing; new API function GNUNET_SCHEDULER_check_lifeness
lurchi [Wed, 9 Aug 2017 17:21:30 +0000 (19:21 +0200)]
lifeness checks; shutdown now working; checkSignal not passing yet
lurchi [Wed, 9 Aug 2017 11:50:09 +0000 (13:50 +0200)]
fix initFdInfo; rename to init_fd_info
lurchi [Wed, 9 Aug 2017 11:28:45 +0000 (13:28 +0200)]
fix indentation; remove unneeded set_wakeup call
lurchi [Tue, 8 Aug 2017 16:42:02 +0000 (18:42 +0200)]
Merge branch 'refactoring-scheduler' of ssh://gnunet.org/gnunet
lurchi [Tue, 8 Aug 2017 16:35:53 +0000 (18:35 +0200)]
separate the select driver's fd sets from the driver-internal fdsets
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
lurchi [Sat, 5 Aug 2017 14:31:09 +0000 (16:31 +0200)]
fix segfault and pending_timeout logic
lurchi [Sat, 5 Aug 2017 11:38:45 +0000 (13:38 +0200)]
add missing DLL insert
lurchi [Sat, 5 Aug 2017 11:35:10 +0000 (13:35 +0200)]
fix warnings
lurchi [Sat, 5 Aug 2017 11:33:55 +0000 (13:33 +0200)]
make input of getters const (needed for new scheduler API)
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.
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
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
lurchi [Thu, 20 Jul 2017 23:27:22 +0000 (01:27 +0200)]
adapt add_without_sets to scheduler driver API; reimplement initFdInfo
lurchi [Thu, 20 Jul 2017 16:04:02 +0000 (18:04 +0200)]
small fixes
t3sserakt [Thu, 20 Jul 2017 13:23:36 +0000 (15:23 +0200)]
started further refactoring of scheduler. ATTENTION, actual Status does not compile!
psyc://loupsycedyglgamf.onion/~lynX [Sat, 8 Jul 2017 19:50:21 +0000 (19:50 +0000)]
-very unimportant typo fixed
lurchi [Sat, 8 Jul 2017 19:50:20 +0000 (21:50 +0200)]
implement GNUNET_h2s2 for printing two hashes in one log output line
xrs [Mon, 3 Jul 2017 22:52:39 +0000 (00:52 +0200)]
fix hostlist server option
xrs [Mon, 3 Jul 2017 22:32:40 +0000 (00:32 +0200)]
multicast: remove unnecessary header file in Makefile.am
xrs [Mon, 3 Jul 2017 22:31:17 +0000 (00:31 +0200)]
deactivate hostlist server option
xrs [Mon, 3 Jul 2017 22:29:19 +0000 (00:29 +0200)]
Merge branch 'master' of ssh://gnunet.org/gnunet
xrs [Mon, 3 Jul 2017 22:29:15 +0000 (00:29 +0200)]
deaktivate hostlist server and use topology option
Christian Grothoff [Mon, 3 Jul 2017 15:38:20 +0000 (17:38 +0200)]
do not invoke callback after set operation destruction, should fix #5082
Christian Grothoff [Thu, 29 Jun 2017 21:48:28 +0000 (23:48 +0200)]
revert change, tests must not rely on Internet
xrs [Thu, 29 Jun 2017 21:30:49 +0000 (23:30 +0200)]
make test work on gnunet with public hostlist server
Christian Grothoff [Thu, 29 Jun 2017 13:02:31 +0000 (15:02 +0200)]
fix FTBFS issues if --enable-logging=no is set
Christian Grothoff [Mon, 26 Jun 2017 15:46:28 +0000 (17:46 +0200)]
fix nat service port collision during test
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
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
David Barksdale [Sun, 25 Jun 2017 22:40:52 +0000 (17:40 -0500)]
[transport] Fix EBADF in select()
This fixes issue #3691.
Christian Grothoff [Sun, 25 Jun 2017 17:36:44 +0000 (19:36 +0200)]
fix configuration parsing issue with inlines from configuration not in cwd
Christian Grothoff [Sun, 25 Jun 2017 15:05:09 +0000 (17:05 +0200)]
allow NULL fields for varsize
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