lurchi [Wed, 24 Jan 2018 21:52:25 +0000 (22:52 +0100)]
make GNUNET_SCHEDULER_run_from_driver more graceful
GNUNET_SCHEDULER_run_from_driver may now be called without any tasks
being ready if the timeout has not been reached yet. A warning is
printed because it may be a programming error in the driver (see
comments)
lurchi [Tue, 23 Jan 2018 08:09:27 +0000 (09:09 +0100)]
catch early return of select before call to GNUNET_SCHEDULER_run_from_driver
lurchi [Tue, 23 Jan 2018 07:47:01 +0000 (08:47 +0100)]
Revert "add assertion for debugging"
This reverts commit
d45c008e677fa2fbff03e22745390d4775b031d2.
lurchi [Tue, 23 Jan 2018 07:14:13 +0000 (08:14 +0100)]
add assertion for debugging
Schanzenbach, Martin [Mon, 22 Jan 2018 18:49:05 +0000 (19:49 +0100)]
forgot headerfile
lurchi [Mon, 22 Jan 2018 17:46:36 +0000 (18:46 +0100)]
remove unnecessary check
The reason field of tasks in the pending_timeout queue is never modified while the tasks are in the queue
lurchi [Mon, 22 Jan 2018 17:43:47 +0000 (18:43 +0100)]
use absolute times in driver
this shouldn't change anything but makes debugging easier.
Schanzenbach, Martin [Mon, 22 Jan 2018 16:41:14 +0000 (17:41 +0100)]
fix rest header parsing as well
Schanzenbach, Martin [Mon, 22 Jan 2018 16:34:57 +0000 (17:34 +0100)]
fix post processing
Florian Dold [Mon, 22 Jan 2018 16:05:38 +0000 (17:05 +0100)]
implement boolean json spec
Schanzenbach, Martin [Mon, 22 Jan 2018 13:49:35 +0000 (14:49 +0100)]
fix memleak
Julius Bünger [Mon, 22 Jan 2018 03:32:33 +0000 (04:32 +0100)]
rps profiler: more statistics from service
Julius Bünger [Mon, 22 Jan 2018 03:30:18 +0000 (04:30 +0100)]
rps service: try to fix handling of new channels
xrs [Sun, 21 Jan 2018 18:04:28 +0000 (19:04 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet
xrs [Sun, 21 Jan 2018 18:04:18 +0000 (19:04 +0100)]
test_multicast_multipeer: fix warnings
Christian Grothoff [Sun, 21 Jan 2018 14:23:40 +0000 (15:23 +0100)]
indentation fixes
lurchi [Sun, 21 Jan 2018 12:32:36 +0000 (13:32 +0100)]
check if no tasks are left after the driver loop
- add assertions to make sure all tasks have been run or cancelled
- don't cancel all pending tasks during shutdown, only cancel the two
internal tasks scheduled in GNUNET_SCHEDULER_run_with_driver
lurchi [Sun, 21 Jan 2018 12:29:20 +0000 (13:29 +0100)]
actually test if signals are handled
- use a timeout task to prevent the scheduler from shutting down before
the signal can be handled
- test task cancellation before using the timeout task
- use a different status code for each test case
xrs [Sun, 21 Jan 2018 12:04:55 +0000 (13:04 +0100)]
update test_psyc_api_join
xrs [Sun, 21 Jan 2018 10:17:29 +0000 (11:17 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Christian Grothoff [Sat, 20 Jan 2018 21:10:09 +0000 (22:10 +0100)]
fix link
Christian Grothoff [Sat, 20 Jan 2018 21:08:12 +0000 (22:08 +0100)]
ign
Christian Grothoff [Sat, 20 Jan 2018 21:07:10 +0000 (22:07 +0100)]
reactivate test, fix misc warnings
ng0 [Fri, 19 Jan 2018 19:49:58 +0000 (19:49 +0000)]
doc: developer: fix line 97 xref warning
ng0 [Fri, 19 Jan 2018 19:40:42 +0000 (19:40 +0000)]
gitignore: Add non-public gnunet-doc.scm which happens to reside in the tree of ng0
lurchi [Thu, 18 Jan 2018 15:25:10 +0000 (16:25 +0100)]
fix loop responsible for finding tasks with expired timeout
lurchi [Wed, 17 Jan 2018 17:02:27 +0000 (18:02 +0100)]
always check priority given by users
lurchi [Tue, 16 Jan 2018 17:44:58 +0000 (18:44 +0100)]
return now if we found a task that is ready (optimization)
lurchi [Tue, 16 Jan 2018 17:43:27 +0000 (18:43 +0100)]
only check fdsets when select selected something (optimization)
lurchi [Tue, 16 Jan 2018 17:10:08 +0000 (18:10 +0100)]
Revert "call GNUNET_abort_ directly for debugging purposes"
This reverts commit
5c4ae18d2e58c8bf3ba60a4f69251e304fbb9915.
lurchi [Tue, 16 Jan 2018 16:30:25 +0000 (17:30 +0100)]
call GNUNET_abort_ directly for debugging purposes
lurchi [Tue, 16 Jan 2018 16:27:33 +0000 (17:27 +0100)]
remove duplicate timeout check
There's no need of checking for timeouts in GNUNET_SCHEDULER_task_ready,
as the check is done in GNUNET_SCHEDULER_run_from_driver.
Julius Bünger [Mon, 15 Jan 2018 17:13:39 +0000 (18:13 +0100)]
rps: start using statistics service
ng0 [Tue, 16 Jan 2018 13:12:59 +0000 (13:12 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 16 Jan 2018 09:57:58 +0000 (09:57 +0000)]
README: clarify texinfo dependency
xrs [Mon, 15 Jan 2018 16:57:34 +0000 (17:57 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet
Christian Grothoff [Mon, 15 Jan 2018 14:15:42 +0000 (15:15 +0100)]
additionally check that size returned by Postgres matches
David Barksdale [Mon, 15 Jan 2018 05:17:24 +0000 (23:17 -0600)]
Uninitialized read
David Barksdale [Mon, 15 Jan 2018 05:06:51 +0000 (23:06 -0600)]
Unused value
lurchi [Sun, 14 Jan 2018 23:32:34 +0000 (00:32 +0100)]
remove unused variables
David Barksdale [Sun, 14 Jan 2018 23:08:25 +0000 (17:08 -0600)]
Adding my ssh key
ng0 [Sun, 14 Jan 2018 21:30:59 +0000 (21:30 +0000)]
Makefile, configure.ac, doc/Makefile: Add the ability to opt-out of documentation building with --disable-documentation, defaults to --enable-documentation
Christian Grothoff [Sun, 14 Jan 2018 20:53:42 +0000 (21:53 +0100)]
dist test_dht_tools.conf
ng0 [Sun, 14 Jan 2018 19:05:48 +0000 (19:05 +0000)]
guix-env.scm: texlive-tiny is enough for the info output
David Barksdale [Sun, 14 Jan 2018 07:03:12 +0000 (01:03 -0600)]
SQLite doesn't constant fold
David Barksdale [Sat, 13 Jan 2018 19:35:15 +0000 (13:35 -0600)]
Fix force extend_path
Christian Grothoff [Sat, 13 Jan 2018 16:09:25 +0000 (17:09 +0100)]
be more generous for short-lived tests wrt quota
lurchi [Sat, 13 Jan 2018 14:39:31 +0000 (15:39 +0100)]
added ssh key
Christian Grothoff [Sat, 13 Jan 2018 13:47:16 +0000 (14:47 +0100)]
use assert to guard better against double-close on client side
Christian Grothoff [Sat, 13 Jan 2018 13:46:26 +0000 (14:46 +0100)]
do not die if client closes port it never opened
Christian Grothoff [Sat, 13 Jan 2018 13:37:44 +0000 (14:37 +0100)]
prevent assertion failure
Christian Grothoff [Sat, 13 Jan 2018 13:35:06 +0000 (14:35 +0100)]
prevent NPE
Schanzenbach, Martin [Fri, 12 Jan 2018 12:36:38 +0000 (13:36 +0100)]
fix reverse lookup from namestore
Christian Grothoff [Fri, 12 Jan 2018 11:11:53 +0000 (12:11 +0100)]
fix #5242 topology.txt write issue
Christian Grothoff [Fri, 12 Jan 2018 11:03:49 +0000 (12:03 +0100)]
fix #5238
David Barksdale [Thu, 11 Jan 2018 03:48:05 +0000 (21:48 -0600)]
Try to keep the cadet->code MQ from growing too large
lurchi [Wed, 10 Jan 2018 22:14:55 +0000 (23:14 +0100)]
gracefully accept empty FD set that claim to contain FDs
David Barksdale [Wed, 10 Jan 2018 19:15:12 +0000 (13:15 -0600)]
Try to keep the fs->core MQ from growing too large
lurchi [Wed, 10 Jan 2018 16:19:44 +0000 (17:19 +0100)]
properly detect calling add_select without descriptors; simplify extract_handles
Schanzenbach, Martin [Wed, 10 Jan 2018 03:29:06 +0000 (04:29 +0100)]
fix scheduler when add_select is called with 0 ready fds
lurchi [Mon, 8 Jan 2018 19:24:52 +0000 (20:24 +0100)]
always set task NULL when cancel; make sure SCHEDULER_add* doesn't get invalid input
ng0 [Mon, 8 Jan 2018 18:25:55 +0000 (18:25 +0000)]
add description to chap dev
ng0 [Mon, 8 Jan 2018 16:18:27 +0000 (16:18 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Mon, 8 Jan 2018 16:18:18 +0000 (16:18 +0000)]
doc chapter developer: typo fixes, link fix
Julius Bünger [Mon, 8 Jan 2018 16:12:01 +0000 (17:12 +0100)]
rps tests: proper implementation of flags for tests
amirouche [Sun, 7 Jan 2018 22:48:52 +0000 (23:48 +0100)]
typofix
Signed-off-by: ng0 <ng0@n0.is>
ng0 [Mon, 8 Jan 2018 15:25:23 +0000 (15:25 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Mon, 8 Jan 2018 15:21:23 +0000 (15:21 +0000)]
clean up contrib: move 2 guix files to the root level. folder structure will be moved to https://c.n0.is/ng0_guix/packages
Julius Bünger [Sun, 7 Jan 2018 22:51:06 +0000 (23:51 +0100)]
rps tests: possibly end non-churn-tests before timeout
Julius Bünger [Sun, 7 Jan 2018 22:09:35 +0000 (23:09 +0100)]
rps tests: remove assertion
Schanzenbach, Martin [Mon, 8 Jan 2018 06:58:36 +0000 (07:58 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Mon, 8 Jan 2018 06:58:33 +0000 (07:58 +0100)]
bugfixes
xrs [Mon, 8 Jan 2018 05:26:42 +0000 (06:26 +0100)]
add psyc test
lurchi [Sun, 7 Jan 2018 21:34:39 +0000 (22:34 +0100)]
more size checking; tokenize only after size check
Julius Bünger [Sun, 7 Jan 2018 21:32:24 +0000 (22:32 +0100)]
rps tests: cosmetics
Julius Bünger [Sun, 7 Jan 2018 21:10:21 +0000 (22:10 +0100)]
rps tests: sanity checks and cosmetics
Julius Bünger [Sun, 7 Jan 2018 21:09:35 +0000 (22:09 +0100)]
rps tests: change function signature, comments
Julius Bünger [Sun, 7 Jan 2018 21:07:31 +0000 (22:07 +0100)]
rps tests: proper shutdown
Julius Bünger [Sun, 7 Jan 2018 21:05:52 +0000 (22:05 +0100)]
rps tests: check whether peer was scheduled to go off/online
Julius Bünger [Sun, 7 Jan 2018 20:03:24 +0000 (21:03 +0100)]
rps tests: make sure no callback executes after shutdown
Julius Bünger [Sun, 7 Jan 2018 19:59:54 +0000 (20:59 +0100)]
rps tests: comments and logging
anryko [Sun, 7 Jan 2018 19:20:11 +0000 (20:20 +0100)]
vsprintf returns negative on error.
lurchi [Sun, 7 Jan 2018 17:35:39 +0000 (18:35 +0100)]
properly check size of MsgProcRequest
anryko [Sun, 7 Jan 2018 17:30:35 +0000 (18:30 +0100)]
Style fixes (mostly tabs to spaces).
Matthias Kolja Miehl [Sun, 7 Jan 2018 14:55:25 +0000 (15:55 +0100)]
transport: [fix] Typos in comments
Matthias Kolja Miehl [Sun, 7 Jan 2018 14:22:43 +0000 (15:22 +0100)]
gnunet-c-tutorial: [fix] Add missing 'make' commands
lurchi [Sun, 7 Jan 2018 15:18:32 +0000 (16:18 +0100)]
fix dereferencing uninitialized rs/ws; assert non-NULL before dereferencing network/file handles
lurchi [Sun, 7 Jan 2018 15:13:02 +0000 (16:13 +0100)]
Revert "fix dereferencing uninitialized pointer"
This reverts commit
201a67be13ae31b4eb7fb8ad38b349fe287c0baf.
anryko [Sun, 7 Jan 2018 14:43:29 +0000 (15:43 +0100)]
Fixed potential NULL dereference.
xrs [Sun, 7 Jan 2018 00:00:40 +0000 (01:00 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet
lurchi [Sat, 6 Jan 2018 23:59:50 +0000 (00:59 +0100)]
Merge branch 'master' of https://gnunet.org/git/gnunet
lurchi [Sat, 6 Jan 2018 23:59:40 +0000 (00:59 +0100)]
shutdown might happen when plc_gst is not in the hashmap
lurchi [Sat, 6 Jan 2018 23:57:24 +0000 (00:57 +0100)]
reconnect_task pointer must be NULLed when executed
xrs [Sat, 6 Jan 2018 23:55:20 +0000 (00:55 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet
ng0 [Sat, 6 Jan 2018 23:37:16 +0000 (23:37 +0000)]
doc/documentation: developer,philosophy,user: suggestions by
Amirouche Boubekki via gnunet-developers@gnu.org, with some minor
additions.
Christian Grothoff [Sat, 6 Jan 2018 20:37:27 +0000 (21:37 +0100)]
handle error properly, do not just log but continue gracefully -- v6 also
Christian Grothoff [Sat, 6 Jan 2018 20:36:15 +0000 (21:36 +0100)]
handle error properly, do not just log but continue gracefully
Christian Grothoff [Sat, 6 Jan 2018 20:33:13 +0000 (21:33 +0100)]
fix log call: wait until pid is initialized
Christian Grothoff [Sat, 6 Jan 2018 20:22:23 +0000 (21:22 +0100)]
internally assert that asprintf size allocation never fails
Christian Grothoff [Sat, 6 Jan 2018 20:05:03 +0000 (21:05 +0100)]
fix potential use of uninitialized key