oweals/gnunet.git
6 years agoonly check fdsets when select selected something (optimization)
lurchi [Tue, 16 Jan 2018 17:43:27 +0000 (18:43 +0100)]
only check fdsets when select selected something (optimization)

6 years agoRevert "call GNUNET_abort_ directly for debugging purposes"
lurchi [Tue, 16 Jan 2018 17:10:08 +0000 (18:10 +0100)]
Revert "call GNUNET_abort_ directly for debugging purposes"

This reverts commit 5c4ae18d2e58c8bf3ba60a4f69251e304fbb9915.

6 years agocall GNUNET_abort_ directly for debugging purposes
lurchi [Tue, 16 Jan 2018 16:30:25 +0000 (17:30 +0100)]
call GNUNET_abort_ directly for debugging purposes

6 years agoremove duplicate timeout check
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.

6 years agorps: start using statistics service
Julius Bünger [Mon, 15 Jan 2018 17:13:39 +0000 (18:13 +0100)]
rps: start using statistics service

6 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 16 Jan 2018 13:12:59 +0000 (13:12 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agoREADME: clarify texinfo dependency
ng0 [Tue, 16 Jan 2018 09:57:58 +0000 (09:57 +0000)]
README: clarify texinfo dependency

6 years agoadditionally check that size returned by Postgres matches
Christian Grothoff [Mon, 15 Jan 2018 14:15:42 +0000 (15:15 +0100)]
additionally check that size returned by Postgres matches

6 years agoUninitialized read
David Barksdale [Mon, 15 Jan 2018 05:17:24 +0000 (23:17 -0600)]
Uninitialized read

6 years agoUnused value
David Barksdale [Mon, 15 Jan 2018 05:06:51 +0000 (23:06 -0600)]
Unused value

6 years agoremove unused variables
lurchi [Sun, 14 Jan 2018 23:32:34 +0000 (00:32 +0100)]
remove unused variables

6 years agoAdding my ssh key
David Barksdale [Sun, 14 Jan 2018 23:08:25 +0000 (17:08 -0600)]
Adding my ssh key

6 years agoMakefile, configure.ac, doc/Makefile: Add the ability to opt-out of documentation...
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

6 years agodist test_dht_tools.conf
Christian Grothoff [Sun, 14 Jan 2018 20:53:42 +0000 (21:53 +0100)]
dist test_dht_tools.conf

6 years agoguix-env.scm: texlive-tiny is enough for the info output
ng0 [Sun, 14 Jan 2018 19:05:48 +0000 (19:05 +0000)]
guix-env.scm: texlive-tiny is enough for the info output

6 years agoSQLite doesn't constant fold
David Barksdale [Sun, 14 Jan 2018 07:03:12 +0000 (01:03 -0600)]
SQLite doesn't constant fold

6 years agoFix force extend_path
David Barksdale [Sat, 13 Jan 2018 19:35:15 +0000 (13:35 -0600)]
Fix force extend_path

6 years agobe more generous for short-lived tests wrt quota
Christian Grothoff [Sat, 13 Jan 2018 16:09:25 +0000 (17:09 +0100)]
be more generous for short-lived tests wrt quota

6 years agoadded ssh key
lurchi [Sat, 13 Jan 2018 14:39:31 +0000 (15:39 +0100)]
added ssh key

6 years agouse assert to guard better against double-close on client side
Christian Grothoff [Sat, 13 Jan 2018 13:47:16 +0000 (14:47 +0100)]
use assert to guard better against double-close on client side

6 years agodo not die if client closes port it never opened
Christian Grothoff [Sat, 13 Jan 2018 13:46:26 +0000 (14:46 +0100)]
do not die if client closes port it never opened

6 years agoprevent assertion failure
Christian Grothoff [Sat, 13 Jan 2018 13:37:44 +0000 (14:37 +0100)]
prevent assertion failure

6 years agoprevent NPE
Christian Grothoff [Sat, 13 Jan 2018 13:35:06 +0000 (14:35 +0100)]
prevent NPE

6 years agofix reverse lookup from namestore
Schanzenbach, Martin [Fri, 12 Jan 2018 12:36:38 +0000 (13:36 +0100)]
fix reverse lookup from namestore

6 years agofix #5242 topology.txt write issue
Christian Grothoff [Fri, 12 Jan 2018 11:11:53 +0000 (12:11 +0100)]
fix #5242 topology.txt write issue

6 years agofix #5238
Christian Grothoff [Fri, 12 Jan 2018 11:03:49 +0000 (12:03 +0100)]
fix #5238

6 years agoTry to keep the cadet->code MQ from growing too large
David Barksdale [Thu, 11 Jan 2018 03:48:05 +0000 (21:48 -0600)]
Try to keep the cadet->code MQ from growing too large

6 years agogracefully accept empty FD set that claim to contain FDs
lurchi [Wed, 10 Jan 2018 22:14:55 +0000 (23:14 +0100)]
gracefully accept empty FD set that claim to contain FDs

6 years agoTry to keep the fs->core MQ from growing too large
David Barksdale [Wed, 10 Jan 2018 19:15:12 +0000 (13:15 -0600)]
Try to keep the fs->core MQ from growing too large

6 years agoproperly detect calling add_select without descriptors; simplify extract_handles
lurchi [Wed, 10 Jan 2018 16:19:44 +0000 (17:19 +0100)]
properly detect calling add_select without descriptors; simplify extract_handles

6 years agofix scheduler when add_select is called with 0 ready fds
Schanzenbach, Martin [Wed, 10 Jan 2018 03:29:06 +0000 (04:29 +0100)]
fix scheduler when add_select is called with 0 ready fds

6 years agoalways set task NULL when cancel; make sure SCHEDULER_add* doesn't get invalid input
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

6 years agoadd description to chap dev
ng0 [Mon, 8 Jan 2018 18:25:55 +0000 (18:25 +0000)]
add description to chap dev

6 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Mon, 8 Jan 2018 16:18:27 +0000 (16:18 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agodoc chapter developer: typo fixes, link fix
ng0 [Mon, 8 Jan 2018 16:18:18 +0000 (16:18 +0000)]
doc chapter developer: typo fixes, link fix

6 years agorps tests: proper implementation of flags for tests
Julius Bünger [Mon, 8 Jan 2018 16:12:01 +0000 (17:12 +0100)]
rps tests: proper implementation of flags for tests

6 years agotypofix
amirouche [Sun, 7 Jan 2018 22:48:52 +0000 (23:48 +0100)]
typofix

Signed-off-by: ng0 <ng0@n0.is>
6 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Mon, 8 Jan 2018 15:25:23 +0000 (15:25 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agoclean up contrib: move 2 guix files to the root level. folder structure will be moved...
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

6 years agorps tests: possibly end non-churn-tests before timeout gnunet-0.11.0rc0
Julius Bünger [Sun, 7 Jan 2018 22:51:06 +0000 (23:51 +0100)]
rps tests: possibly end non-churn-tests before timeout

6 years agorps tests: remove assertion
Julius Bünger [Sun, 7 Jan 2018 22:09:35 +0000 (23:09 +0100)]
rps tests: remove assertion

6 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Mon, 8 Jan 2018 06:58:36 +0000 (07:58 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

6 years agobugfixes
Schanzenbach, Martin [Mon, 8 Jan 2018 06:58:33 +0000 (07:58 +0100)]
bugfixes

6 years agomore size checking; tokenize only after size check
lurchi [Sun, 7 Jan 2018 21:34:39 +0000 (22:34 +0100)]
more size checking; tokenize only after size check

6 years agorps tests: cosmetics
Julius Bünger [Sun, 7 Jan 2018 21:32:24 +0000 (22:32 +0100)]
rps tests: cosmetics

6 years agorps tests: sanity checks and cosmetics
Julius Bünger [Sun, 7 Jan 2018 21:10:21 +0000 (22:10 +0100)]
rps tests: sanity checks and cosmetics

6 years agorps tests: change function signature, comments
Julius Bünger [Sun, 7 Jan 2018 21:09:35 +0000 (22:09 +0100)]
rps tests: change function signature, comments

6 years agorps tests: proper shutdown
Julius Bünger [Sun, 7 Jan 2018 21:07:31 +0000 (22:07 +0100)]
rps tests: proper shutdown

6 years agorps tests: check whether peer was scheduled to go off/online
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

6 years agorps tests: make sure no callback executes after shutdown
Julius Bünger [Sun, 7 Jan 2018 20:03:24 +0000 (21:03 +0100)]
rps tests: make sure no callback executes after shutdown

6 years agorps tests: comments and logging
Julius Bünger [Sun, 7 Jan 2018 19:59:54 +0000 (20:59 +0100)]
rps tests: comments and logging

6 years agovsprintf returns negative on error.
anryko [Sun, 7 Jan 2018 19:20:11 +0000 (20:20 +0100)]
vsprintf returns negative on error.

6 years agoproperly check size of MsgProcRequest
lurchi [Sun, 7 Jan 2018 17:35:39 +0000 (18:35 +0100)]
properly check size of MsgProcRequest

6 years agoStyle fixes (mostly tabs to spaces).
anryko [Sun, 7 Jan 2018 17:30:35 +0000 (18:30 +0100)]
Style fixes (mostly tabs to spaces).

6 years agotransport: [fix] Typos in comments
Matthias Kolja Miehl [Sun, 7 Jan 2018 14:55:25 +0000 (15:55 +0100)]
transport: [fix] Typos in comments

6 years agognunet-c-tutorial: [fix] Add missing 'make' commands
Matthias Kolja Miehl [Sun, 7 Jan 2018 14:22:43 +0000 (15:22 +0100)]
gnunet-c-tutorial: [fix] Add missing 'make' commands

6 years agofix dereferencing uninitialized rs/ws; assert non-NULL before dereferencing network...
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

6 years agoRevert "fix dereferencing uninitialized pointer"
lurchi [Sun, 7 Jan 2018 15:13:02 +0000 (16:13 +0100)]
Revert "fix dereferencing uninitialized pointer"

This reverts commit 201a67be13ae31b4eb7fb8ad38b349fe287c0baf.

6 years agoFixed potential NULL dereference.
anryko [Sun, 7 Jan 2018 14:43:29 +0000 (15:43 +0100)]
Fixed potential NULL dereference.

6 years agoMerge branch 'master' of https://gnunet.org/git/gnunet
lurchi [Sat, 6 Jan 2018 23:59:50 +0000 (00:59 +0100)]
Merge branch 'master' of https://gnunet.org/git/gnunet

6 years agoshutdown might happen when plc_gst is not in the hashmap
lurchi [Sat, 6 Jan 2018 23:59:40 +0000 (00:59 +0100)]
shutdown might happen when plc_gst is not in the hashmap

6 years agoreconnect_task pointer must be NULLed when executed
lurchi [Sat, 6 Jan 2018 23:57:24 +0000 (00:57 +0100)]
reconnect_task pointer must be NULLed when executed

6 years agodoc/documentation: developer,philosophy,user: suggestions by
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.

6 years agohandle error properly, do not just log but continue gracefully -- v6 also
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

6 years agohandle error properly, do not just log but continue gracefully
Christian Grothoff [Sat, 6 Jan 2018 20:36:15 +0000 (21:36 +0100)]
handle error properly, do not just log but continue gracefully

6 years agofix log call: wait until pid is initialized
Christian Grothoff [Sat, 6 Jan 2018 20:33:13 +0000 (21:33 +0100)]
fix log call: wait until pid is initialized

6 years agointernally assert that asprintf size allocation never fails
Christian Grothoff [Sat, 6 Jan 2018 20:22:23 +0000 (21:22 +0100)]
internally assert that asprintf size allocation never fails

6 years agofix potential use of uninitialized key
Christian Grothoff [Sat, 6 Jan 2018 20:05:03 +0000 (21:05 +0100)]
fix potential use of uninitialized key

6 years agoMerge branch 'lurchi_social'
lurchi [Sat, 6 Jan 2018 17:52:34 +0000 (18:52 +0100)]
Merge branch 'lurchi_social'

6 years agocheck return value
Christian Grothoff [Sat, 6 Jan 2018 17:50:58 +0000 (18:50 +0100)]
check return value

6 years agofix documentation
lurchi [Sat, 6 Jan 2018 17:35:37 +0000 (18:35 +0100)]
fix documentation

6 years agofix dereferencing uninitialized pointer
lurchi [Sat, 6 Jan 2018 17:35:15 +0000 (18:35 +0100)]
fix dereferencing uninitialized pointer

6 years agoadd ABE dependencies to documentation
Schanzenbach, Martin [Sat, 6 Jan 2018 17:10:49 +0000 (18:10 +0100)]
add ABE dependencies to documentation

6 years agomisc peerinfo fixes; signed/unsinged cmps, warnings, unchecked return value
Christian Grothoff [Sat, 6 Jan 2018 15:46:59 +0000 (16:46 +0100)]
misc peerinfo fixes; signed/unsinged cmps, warnings, unchecked return value

6 years agofix indentation and use after free in tcp plugin
Christian Grothoff [Sat, 6 Jan 2018 15:37:32 +0000 (16:37 +0100)]
fix indentation and use after free in tcp plugin

6 years agoinclude gnunet.doxy in TGZ
Christian Grothoff [Sat, 6 Jan 2018 14:14:59 +0000 (15:14 +0100)]
include gnunet.doxy in TGZ

6 years agofix signed/unsigned cmp
Christian Grothoff [Fri, 5 Jan 2018 19:56:35 +0000 (20:56 +0100)]
fix signed/unsigned cmp

6 years agoinitialize variable on all paths
Christian Grothoff [Fri, 5 Jan 2018 19:53:33 +0000 (20:53 +0100)]
initialize variable on all paths

6 years agofix potential use after free in tcp
Christian Grothoff [Fri, 5 Jan 2018 19:53:20 +0000 (20:53 +0100)]
fix potential use after free in tcp

6 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Fri, 5 Jan 2018 19:23:14 +0000 (20:23 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

6 years ago-fix possible npe
Schanzenbach, Martin [Fri, 5 Jan 2018 19:11:18 +0000 (20:11 +0100)]
-fix possible npe

6 years agoFixed int to unsigned casting warning.
anryko [Fri, 5 Jan 2018 17:19:12 +0000 (18:19 +0100)]
Fixed int to unsigned casting warning.

6 years agoeliminate warnings
Christian Grothoff [Fri, 5 Jan 2018 16:40:11 +0000 (17:40 +0100)]
eliminate warnings

6 years agoprevent use-after-free by indicating free status in return value of set_incoming_quota
Christian Grothoff [Fri, 5 Jan 2018 16:33:44 +0000 (17:33 +0100)]
prevent use-after-free by indicating free status in return value of set_incoming_quota

6 years agocheck strftime return value
Christian Grothoff [Fri, 5 Jan 2018 16:27:32 +0000 (17:27 +0100)]
check strftime return value

6 years agofix error handling, do not continue with uninitialized variable after failure
Christian Grothoff [Fri, 5 Jan 2018 16:18:06 +0000 (17:18 +0100)]
fix error handling, do not continue with uninitialized variable after failure

6 years agofix potential double free
Christian Grothoff [Fri, 5 Jan 2018 16:13:27 +0000 (17:13 +0100)]
fix potential double free

6 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Schanzenbach, Martin [Fri, 5 Jan 2018 14:37:00 +0000 (15:37 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

6 years ago-fixes
Schanzenbach, Martin [Fri, 5 Jan 2018 14:36:57 +0000 (15:36 +0100)]
-fixes

6 years agoFix potential NULL dereference warning.
anryko [Fri, 5 Jan 2018 12:55:28 +0000 (13:55 +0100)]
Fix potential NULL dereference warning.

6 years ago-fix test
Schanzenbach, Martin [Fri, 5 Jan 2018 09:46:32 +0000 (10:46 +0100)]
-fix test

6 years agoMerge branch 'master' of gnunet.org:gnunet
ng0 [Thu, 4 Jan 2018 23:23:53 +0000 (23:23 +0000)]
Merge branch 'master' of gnunet.org:gnunet

6 years agointroduce .mailmap
ng0 [Thu, 4 Jan 2018 23:19:58 +0000 (23:19 +0000)]
introduce .mailmap

Some of us use(d) various names or emails interchangeable over the years/currently.
git integrated tools can help to count how many people contributed to a release,
the use of mailmap (https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html)
helps to map authors+email.

If I used the wrong prefered primary name+email, change it yourself.
Only it yourself in this file if you used more than one name/email.

6 years agoFixed useless assignment.
anryko [Thu, 4 Jan 2018 22:40:46 +0000 (23:40 +0100)]
Fixed useless assignment.

6 years agoFixed Uninitialized Variable warning.
anryko [Thu, 4 Jan 2018 22:37:53 +0000 (23:37 +0100)]
Fixed Uninitialized Variable warning.

6 years agoFixed Uninitialized Variable warning.
anryko [Thu, 4 Jan 2018 21:50:48 +0000 (22:50 +0100)]
Fixed Uninitialized Variable warning.

6 years agoavoid freeing uninit ptr on error path
Christian Grothoff [Thu, 4 Jan 2018 21:42:55 +0000 (22:42 +0100)]
avoid freeing uninit ptr on error path

6 years agodo not put NULL block
Christian Grothoff [Thu, 4 Jan 2018 21:37:20 +0000 (22:37 +0100)]
do not put NULL block

6 years agoinitialize response_code, always
Christian Grothoff [Thu, 4 Jan 2018 21:35:36 +0000 (22:35 +0100)]
initialize response_code, always

6 years agofix major initialization issue in datacache postgres plugin
Christian Grothoff [Thu, 4 Jan 2018 21:29:52 +0000 (22:29 +0100)]
fix major initialization issue in datacache postgres plugin