oweals/gnunet.git
9 years agocheck if id is already in current push/pull_list
Julius Bünger [Wed, 7 Jan 2015 22:56:37 +0000 (22:56 +0000)]
check if id is already in current push/pull_list

9 years agochecking msg sizes, cosmetic changes
Julius Bünger [Wed, 7 Jan 2015 22:12:26 +0000 (22:12 +0000)]
checking msg sizes, cosmetic changes

9 years agofixed index of for-loop
Julius Bünger [Wed, 7 Jan 2015 19:49:40 +0000 (19:49 +0000)]
fixed index of for-loop

9 years agogot rid of touch_*()
Julius Bünger [Wed, 7 Jan 2015 17:27:15 +0000 (17:27 +0000)]
got rid of touch_*()

9 years agodifferent fixes and cosmetic changes
Julius Bünger [Wed, 7 Jan 2015 17:18:02 +0000 (17:18 +0000)]
different fixes and cosmetic changes

9 years agoremoved unwanted string from log msgs
Julius Bünger [Wed, 7 Jan 2015 16:03:54 +0000 (16:03 +0000)]
removed unwanted string from log msgs

9 years agofixed compiler warning
Julius Bünger [Wed, 7 Jan 2015 16:03:50 +0000 (16:03 +0000)]
fixed compiler warning

9 years ago-do not wait for timeout on hard error
Christian Grothoff [Wed, 7 Jan 2015 14:22:43 +0000 (14:22 +0000)]
-do not wait for timeout on hard error

9 years agochanged logging + cosmetic changes
Julius Bünger [Wed, 7 Jan 2015 14:06:10 +0000 (14:06 +0000)]
changed logging + cosmetic changes

9 years ago-simplify apis, doxygen
Christian Grothoff [Wed, 7 Jan 2015 14:05:06 +0000 (14:05 +0000)]
-simplify apis, doxygen

9 years agosuspend server while handlers are not in place
Christian Grothoff [Wed, 7 Jan 2015 14:04:57 +0000 (14:04 +0000)]
suspend server while handlers are not in place

9 years agonow sending push,pull to at least one peer/round
Julius Bünger [Wed, 7 Jan 2015 14:00:15 +0000 (14:00 +0000)]
now sending push,pull to at least one peer/round

9 years agomoved part of _resize() from _sampler.c to -rps.c
Julius Bünger [Wed, 7 Jan 2015 14:00:13 +0000 (14:00 +0000)]
moved part of _resize() from _sampler.c to -rps.c

9 years ago-check once, and consistently
Christian Grothoff [Wed, 7 Jan 2015 12:39:55 +0000 (12:39 +0000)]
-check once, and consistently

9 years agochanges to rps.h
Julius Bünger [Tue, 6 Jan 2015 23:50:59 +0000 (23:50 +0000)]
changes to rps.h

9 years ago- modified Makefile accordingly
Julius Bünger [Tue, 6 Jan 2015 23:49:57 +0000 (23:49 +0000)]
- modified Makefile accordingly

9 years agomoved sampler functionality in file of its own
Julius Bünger [Tue, 6 Jan 2015 23:48:24 +0000 (23:48 +0000)]
moved sampler functionality in file of its own

9 years agoComment on ugly API design choice
David Barksdale [Tue, 6 Jan 2015 14:35:19 +0000 (14:35 +0000)]
Comment on ugly API design choice

9 years agoWorkaround emscripten bug in returning int64_t
David Barksdale [Tue, 6 Jan 2015 01:11:45 +0000 (01:11 +0000)]
Workaround emscripten bug in returning int64_t

Emscripten can't return a 64-bit integer from dynamically loaded code.

9 years ago-docu, style fixes
Christian Grothoff [Mon, 5 Jan 2015 14:57:33 +0000 (14:57 +0000)]
-docu, style fixes

9 years ago-stylistic fixes, also, only block re-validation for 2s IF we actually did send a...
Christian Grothoff [Mon, 5 Jan 2015 14:27:52 +0000 (14:27 +0000)]
-stylistic fixes, also, only block re-validation for 2s IF we actually did send a PING, not if we didn't find the plugin

9 years agoCheck return value of GNUNET_STATISTICS_get
David Barksdale [Mon, 5 Jan 2015 04:35:56 +0000 (04:35 +0000)]
Check return value of GNUNET_STATISTICS_get

Or we could always call the callback with GNUNET_SYSERR.

9 years agoremoved unneeded api call
Julius Bünger [Fri, 2 Jan 2015 15:54:41 +0000 (15:54 +0000)]
removed unneeded api call

9 years agofixed config
Julius Bünger [Fri, 2 Jan 2015 15:54:37 +0000 (15:54 +0000)]
fixed config

9 years agoAdd a test to reproduce issue #3554
David Barksdale [Thu, 1 Jan 2015 19:22:03 +0000 (19:22 +0000)]
Add a test to reproduce issue #3554

9 years ago- avoid noise in the testcase logs
Bart Polot [Mon, 29 Dec 2014 13:13:44 +0000 (13:13 +0000)]
- avoid noise in the testcase logs

9 years ago- test message packing
Bart Polot [Mon, 29 Dec 2014 13:13:18 +0000 (13:13 +0000)]
- test message packing

9 years agofixed struct
Julius Bünger [Sat, 27 Dec 2014 12:32:09 +0000 (12:32 +0000)]
fixed struct

9 years agoadded log message
Julius Bünger [Sat, 27 Dec 2014 12:32:07 +0000 (12:32 +0000)]
added log message

9 years agomake the test run without internet connection
Julius Bünger [Sat, 27 Dec 2014 12:32:05 +0000 (12:32 +0000)]
make the test run without internet connection

9 years agofixed doxygen
Julius Bünger [Sat, 27 Dec 2014 12:32:03 +0000 (12:32 +0000)]
fixed doxygen

9 years agoadded message type for seeding
Julius Bünger [Sat, 27 Dec 2014 12:32:01 +0000 (12:32 +0000)]
added message type for seeding

9 years agoadded seeding function to the api
Julius Bünger [Sat, 27 Dec 2014 12:31:59 +0000 (12:31 +0000)]
added seeding function to the api

9 years agoinitialising gossip_list correctly
Julius Bünger [Sat, 27 Dec 2014 12:31:57 +0000 (12:31 +0000)]
initialising gossip_list correctly

9 years agousing get_peer_context()
Julius Bünger [Sat, 27 Dec 2014 12:31:55 +0000 (12:31 +0000)]
using get_peer_context()

9 years agofixed place of resizing gossip_list
Julius Bünger [Sat, 27 Dec 2014 12:31:53 +0000 (12:31 +0000)]
fixed place of resizing gossip_list

9 years agoreading alpha, beta from .conf
Julius Bünger [Sat, 27 Dec 2014 12:31:51 +0000 (12:31 +0000)]
reading alpha, beta from .conf

9 years agofixed usage of get_rand_peer()
Julius Bünger [Fri, 26 Dec 2014 00:02:05 +0000 (00:02 +0000)]
fixed usage of get_rand_peer()

9 years agoremoved unnecessary uncommented code
Julius Bünger [Fri, 26 Dec 2014 00:02:02 +0000 (00:02 +0000)]
removed unnecessary uncommented code

9 years ago_malloc() -> _new()
Julius Bünger [Fri, 26 Dec 2014 00:02:00 +0000 (00:02 +0000)]
_malloc() -> _new()

9 years agofixed compiler warning in tests
Julius Bünger [Fri, 26 Dec 2014 00:01:57 +0000 (00:01 +0000)]
fixed compiler warning in tests

9 years ago-fix doxygen issues
Christian Grothoff [Thu, 25 Dec 2014 01:06:20 +0000 (01:06 +0000)]
-fix doxygen issues

9 years agominor fixes
Julius Bünger [Wed, 24 Dec 2014 16:59:19 +0000 (16:59 +0000)]
minor fixes

9 years agofixed some issues
Julius Bünger [Wed, 24 Dec 2014 15:11:43 +0000 (15:11 +0000)]
fixed some issues

9 years agonow using API calls instead of own fkts
Julius Bünger [Wed, 24 Dec 2014 15:11:41 +0000 (15:11 +0000)]
now using API calls instead of own fkts

9 years agoAdded documenting comments
Julius Bünger [Wed, 24 Dec 2014 15:11:38 +0000 (15:11 +0000)]
Added documenting comments

9 years ago-update priority to shutdown if that is being used
Christian Grothoff [Wed, 24 Dec 2014 01:45:23 +0000 (01:45 +0000)]
-update priority to shutdown if that is being used

9 years ago-use flag to check for readyness
Christian Grothoff [Wed, 24 Dec 2014 01:42:57 +0000 (01:42 +0000)]
-use flag to check for readyness

9 years ago-shutdown alone does not move to ready list
Christian Grothoff [Wed, 24 Dec 2014 01:35:11 +0000 (01:35 +0000)]
-shutdown alone does not move to ready list

9 years ago-delay serving requests until plugin is ready
Christian Grothoff [Wed, 24 Dec 2014 01:32:27 +0000 (01:32 +0000)]
-delay serving requests until plugin is ready

9 years agomaking GNUNET_SCHEDULER_cancel() perform in O(1) instead of O(n) to help or even...
Christian Grothoff [Wed, 24 Dec 2014 01:10:47 +0000 (01:10 +0000)]
making GNUNET_SCHEDULER_cancel() perform in O(1) instead of O(n) to help or even fully address #3247

9 years ago-fix trivial double-free
Christian Grothoff [Tue, 23 Dec 2014 23:03:05 +0000 (23:03 +0000)]
-fix trivial double-free

9 years agofix #3589
Christian Grothoff [Tue, 23 Dec 2014 22:54:51 +0000 (22:54 +0000)]
fix #3589

9 years ago-actually, require proxy option to be empty, cleaner
Christian Grothoff [Tue, 23 Dec 2014 22:39:55 +0000 (22:39 +0000)]
-actually, require proxy option to be empty, cleaner

9 years ago-do run with proxy type NONE
Christian Grothoff [Tue, 23 Dec 2014 22:38:37 +0000 (22:38 +0000)]
-do run with proxy type NONE

9 years ago-fix call to MHD_start_daemon, properly pass MHD_USE_IPv6 if needed
Christian Grothoff [Tue, 23 Dec 2014 22:15:22 +0000 (22:15 +0000)]
-fix call to MHD_start_daemon, properly pass MHD_USE_IPv6 if needed

9 years ago-fix dbg level
Christian Grothoff [Tue, 23 Dec 2014 22:09:36 +0000 (22:09 +0000)]
-fix dbg level

9 years ago-cleaning up stats code, use separate structures per subsystem for faster processing
Christian Grothoff [Tue, 23 Dec 2014 22:08:47 +0000 (22:08 +0000)]
-cleaning up stats code, use separate structures per subsystem for faster processing

9 years ago-doxygen, indentation
Christian Grothoff [Tue, 23 Dec 2014 22:08:21 +0000 (22:08 +0000)]
-doxygen, indentation

9 years ago-doxgen, use modern client API
Christian Grothoff [Tue, 23 Dec 2014 20:38:18 +0000 (20:38 +0000)]
-doxgen, use modern client API

9 years agofixing datastore-statistics interaction to ensure stats are properly written to disk...
Christian Grothoff [Tue, 23 Dec 2014 20:37:22 +0000 (20:37 +0000)]
fixing datastore-statistics interaction to ensure stats are properly written to disk on exit

9 years agoRename DEFAULT_QUALITY to MLP_DEFAULT_QUALITY to avoid conflicting with W32 GDI
LRN [Tue, 23 Dec 2014 05:07:02 +0000 (05:07 +0000)]
Rename DEFAULT_QUALITY to MLP_DEFAULT_QUALITY to avoid conflicting with W32 GDI

9 years agoRemove work-around for bad NULL definition
David Barksdale [Tue, 23 Dec 2014 04:55:01 +0000 (04:55 +0000)]
Remove work-around for bad NULL definition

9 years ago-undo
Christian Grothoff [Mon, 22 Dec 2014 12:12:28 +0000 (12:12 +0000)]
-undo

9 years ago-doxygen
Christian Grothoff [Mon, 22 Dec 2014 12:12:07 +0000 (12:12 +0000)]
-doxygen

9 years agoflush peer respect value on disconnect
Omar Tarabai [Sun, 21 Dec 2014 01:26:46 +0000 (01:26 +0000)]
flush peer respect value on disconnect

9 years ago-do not start unrelated services during ATS tests
Christian Grothoff [Sat, 20 Dec 2014 18:30:59 +0000 (18:30 +0000)]
-do not start unrelated services during ATS tests

9 years ago-assign port for DNS
Christian Grothoff [Sat, 20 Dec 2014 18:24:03 +0000 (18:24 +0000)]
-assign port for DNS

9 years ago-disable unused services during test
Christian Grothoff [Sat, 20 Dec 2014 18:12:33 +0000 (18:12 +0000)]
-disable unused services during test

9 years agoRemove superflous heap allocation
David Barksdale [Sat, 20 Dec 2014 17:02:44 +0000 (17:02 +0000)]
Remove superflous heap allocation

9 years agoCleaned up
Julius Bünger [Sat, 20 Dec 2014 15:57:31 +0000 (15:57 +0000)]
Cleaned up

9 years ago-doxygen and minor style fixes
Christian Grothoff [Sat, 20 Dec 2014 15:37:11 +0000 (15:37 +0000)]
-doxygen and minor style fixes

9 years ago-simplify logic
Christian Grothoff [Sat, 20 Dec 2014 15:18:13 +0000 (15:18 +0000)]
-simplify logic

9 years ago-make static
Christian Grothoff [Sat, 20 Dec 2014 14:56:21 +0000 (14:56 +0000)]
-make static

9 years ago-use separate message types for TRY_CONNECT and TRY_DISCONNECT
Christian Grothoff [Sat, 20 Dec 2014 14:54:49 +0000 (14:54 +0000)]
-use separate message types for TRY_CONNECT and TRY_DISCONNECT

9 years ago-eliminate duplicate all_zeros globals, eliminated dead 'latency' field in SendOKMessage
Christian Grothoff [Sat, 20 Dec 2014 13:52:02 +0000 (13:52 +0000)]
-eliminate duplicate all_zeros globals, eliminated dead 'latency' field in SendOKMessage

9 years ago-add assertion
Christian Grothoff [Sat, 20 Dec 2014 13:24:45 +0000 (13:24 +0000)]
-add assertion

9 years ago-check RV
Christian Grothoff [Sat, 20 Dec 2014 12:39:13 +0000 (12:39 +0000)]
-check RV

9 years ago-fix unused initialization of locals
Christian Grothoff [Sat, 20 Dec 2014 12:37:06 +0000 (12:37 +0000)]
-fix unused initialization of locals

9 years ago-check RV
Christian Grothoff [Sat, 20 Dec 2014 12:32:53 +0000 (12:32 +0000)]
-check RV

9 years agofix #3588: avoid bash-isms
Christian Grothoff [Sat, 20 Dec 2014 11:59:58 +0000 (11:59 +0000)]
fix #3588: avoid bash-isms

9 years ago-clarify logic
Christian Grothoff [Sat, 20 Dec 2014 02:09:37 +0000 (02:09 +0000)]
-clarify logic

9 years ago-fix warning
Christian Grothoff [Sat, 20 Dec 2014 02:06:46 +0000 (02:06 +0000)]
-fix warning

9 years ago-static
Christian Grothoff [Sat, 20 Dec 2014 01:38:27 +0000 (01:38 +0000)]
-static

9 years ago-do not modify 'const' argument
Christian Grothoff [Sat, 20 Dec 2014 01:08:40 +0000 (01:08 +0000)]
-do not modify 'const' argument

9 years ago-do not warn about libcurl if we have libgnurl
Christian Grothoff [Sat, 20 Dec 2014 00:53:08 +0000 (00:53 +0000)]
-do not warn about libcurl if we have libgnurl

9 years ago-check RV
Christian Grothoff [Fri, 19 Dec 2014 22:52:13 +0000 (22:52 +0000)]
-check RV

9 years ago-check RV
Christian Grothoff [Fri, 19 Dec 2014 22:51:29 +0000 (22:51 +0000)]
-check RV

9 years ago-and this is why the NULL comes FIRST
Christian Grothoff [Fri, 19 Dec 2014 22:49:35 +0000 (22:49 +0000)]
-and this is why the NULL comes FIRST

9 years ago-support join_msg=NULL properly
Christian Grothoff [Fri, 19 Dec 2014 22:48:34 +0000 (22:48 +0000)]
-support join_msg=NULL properly

9 years ago-fix double-free
Christian Grothoff [Fri, 19 Dec 2014 22:43:58 +0000 (22:43 +0000)]
-fix double-free

9 years ago-check connection state / rval
Christian Grothoff [Fri, 19 Dec 2014 22:37:38 +0000 (22:37 +0000)]
-check connection state / rval

9 years ago-use static
Christian Grothoff [Fri, 19 Dec 2014 22:35:24 +0000 (22:35 +0000)]
-use static

9 years ago-check RV
Christian Grothoff [Fri, 19 Dec 2014 22:08:42 +0000 (22:08 +0000)]
-check RV

9 years ago-check RV
Christian Grothoff [Fri, 19 Dec 2014 22:06:21 +0000 (22:06 +0000)]
-check RV

9 years ago-fix leak
Christian Grothoff [Fri, 19 Dec 2014 22:01:50 +0000 (22:01 +0000)]
-fix leak

9 years ago-fix leaks, use asprintf
Christian Grothoff [Fri, 19 Dec 2014 21:58:37 +0000 (21:58 +0000)]
-fix leaks, use asprintf

9 years ago-fix leaks, check RV
Christian Grothoff [Fri, 19 Dec 2014 21:54:51 +0000 (21:54 +0000)]
-fix leaks, check RV

9 years ago-fix leaks
Christian Grothoff [Fri, 19 Dec 2014 21:47:34 +0000 (21:47 +0000)]
-fix leaks

9 years ago-fix use after free (GCCH_destroy frees 'ch', and then ch->t dereferences it ---...
Christian Grothoff [Fri, 19 Dec 2014 21:39:11 +0000 (21:39 +0000)]
-fix use after free (GCCH_destroy frees 'ch', and then ch->t dereferences it --- Bart, please check