oweals/gnunet.git
9 years agoFixed inverting of same-priority bundled messages
Bart Polot [Sat, 10 Jan 2015 01:26:04 +0000 (01:26 +0000)]
Fixed inverting of same-priority bundled messages

This change causes the while loop to skip all messages of the same priority, effectively inserting the new message as the last of the same priority. As the messages are extraced from the head, inserting the message in the first available place caused order inversion.

9 years ago- include message size in log
Bart Polot [Sat, 10 Jan 2015 00:40:46 +0000 (00:40 +0000)]
- include message size in log

9 years ago- remove debug statements
Bart Polot [Sat, 10 Jan 2015 00:40:13 +0000 (00:40 +0000)]
- remove debug statements

9 years ago- allow more time to 5 peer testcase, change stats loglevel
Bart Polot [Fri, 9 Jan 2015 18:04:41 +0000 (18:04 +0000)]
- allow more time to 5 peer testcase, change stats loglevel

9 years agoAccept Out-of-Order connection messages
Bart Polot [Fri, 9 Jan 2015 18:04:40 +0000 (18:04 +0000)]
Accept Out-of-Order connection messages

9 years ago- minor log modifications, docs
Bart Polot [Fri, 9 Jan 2015 18:04:39 +0000 (18:04 +0000)]
- minor log modifications, docs

9 years ago- refactor test, always gather stats
Bart Polot [Fri, 9 Jan 2015 18:04:37 +0000 (18:04 +0000)]
- refactor test, always gather stats

9 years ago- add statistics to DHT module
Bart Polot [Fri, 9 Jan 2015 18:04:36 +0000 (18:04 +0000)]
- add statistics to DHT module

9 years ago- test connection_create size, add size to log
Bart Polot [Fri, 9 Jan 2015 18:04:35 +0000 (18:04 +0000)]
- test connection_create size, add size to log

9 years ago- fix test: provide real message size
Bart Polot [Fri, 9 Jan 2015 18:04:33 +0000 (18:04 +0000)]
- fix test: provide real message size

9 years ago- minor changes: tabs, logs, reorder
Bart Polot [Fri, 9 Jan 2015 18:04:32 +0000 (18:04 +0000)]
- minor changes: tabs, logs, reorder

9 years ago- simpify api size handling code
Bart Polot [Fri, 9 Jan 2015 18:04:31 +0000 (18:04 +0000)]
- simpify api size handling code

9 years ago- more message size checks
Bart Polot [Fri, 9 Jan 2015 18:04:30 +0000 (18:04 +0000)]
- more message size checks

9 years ago- more size checks
Bart Polot [Fri, 9 Jan 2015 18:04:29 +0000 (18:04 +0000)]
- more size checks

9 years ago- add size argument to allow to verify message size
Bart Polot [Fri, 9 Jan 2015 18:04:27 +0000 (18:04 +0000)]
- add size argument to allow to verify message size

9 years ago- fix size handling of payload data
Bart Polot [Fri, 9 Jan 2015 18:04:26 +0000 (18:04 +0000)]
- fix size handling of payload data

9 years ago- check minimum size, param order
Bart Polot [Fri, 9 Jan 2015 18:04:25 +0000 (18:04 +0000)]
- check minimum size, param order

9 years agoAdded keyfile with peers named AAAA, BBBB, ..., ZZZZ (to improve testcase/profiler...
Bart Polot [Fri, 9 Jan 2015 18:04:23 +0000 (18:04 +0000)]
Added keyfile with peers named AAAA, BBBB, ..., ZZZZ (to improve testcase/profiler legibility)

9 years ago- add space for second kx
Bart Polot [Fri, 9 Jan 2015 18:04:22 +0000 (18:04 +0000)]
- add space for second kx

9 years agomoving hash_context testcase over as well
Christian Grothoff [Fri, 9 Jan 2015 17:18:14 +0000 (17:18 +0000)]
moving hash_context testcase over as well

9 years agoadding API for incremental hashing (from Taler)
Christian Grothoff [Fri, 9 Jan 2015 16:27:28 +0000 (16:27 +0000)]
adding API for incremental hashing (from Taler)

9 years agoadding support for blind signatures (modernized version of Taler logic, with variable...
Christian Grothoff [Fri, 9 Jan 2015 15:51:57 +0000 (15:51 +0000)]
adding support for blind signatures (modernized version of Taler logic, with variable key length)

9 years agomoved computation of request rate out of sampler
Julius Bünger [Fri, 9 Jan 2015 11:13:56 +0000 (11:13 +0000)]
moved computation of request rate out of sampler

9 years ago-update docu to reflect current use of GNUNET_PREFIX
Christian Grothoff [Fri, 9 Jan 2015 07:23:18 +0000 (07:23 +0000)]
-update docu to reflect current use of GNUNET_PREFIX

9 years ago-fix compile error
Christian Grothoff [Thu, 8 Jan 2015 17:46:17 +0000 (17:46 +0000)]
-fix compile error

9 years agofixed and improved test for address switching
Matthias Wachs [Thu, 8 Jan 2015 14:12:56 +0000 (14:12 +0000)]
fixed and improved test for address switching

9 years agofixing testcase: task not correctly unset, passes for me now
Matthias Wachs [Thu, 8 Jan 2015 12:38:06 +0000 (12:38 +0000)]
fixing testcase: task not correctly unset, passes for me now

9 years ago-ignore
Christian Grothoff [Thu, 8 Jan 2015 12:20:05 +0000 (12:20 +0000)]
-ignore

9 years ago-undo, breaks stuff
Christian Grothoff [Thu, 8 Jan 2015 12:19:02 +0000 (12:19 +0000)]
-undo, breaks stuff

9 years agofix for mantis bug #3606: fixed path suffix appended to GNUNET_PREFIX
Matthias Wachs [Thu, 8 Jan 2015 11:34:59 +0000 (11:34 +0000)]
fix for mantis bug #3606: fixed path suffix appended to GNUNET_PREFIX

9 years agosmall fix in random scheduling
Julius Bünger [Thu, 8 Jan 2015 00:32:29 +0000 (00:32 +0000)]
small fix in random scheduling

9 years agorandomised scheduling of next round, cosmetic changes
Julius Bünger [Thu, 8 Jan 2015 00:31:15 +0000 (00:31 +0000)]
randomised scheduling of next round, cosmetic changes

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