oweals/gnunet.git
12 years agoMore sensible values for testcase timeouts
Bart Polot [Thu, 10 Nov 2011 01:39:43 +0000 (01:39 +0000)]
More sensible values for testcase timeouts

12 years agoreceive set_quota messages
Matthias Wachs [Wed, 9 Nov 2011 20:45:46 +0000 (20:45 +0000)]
receive set_quota messages

12 years agochecking quotas
Matthias Wachs [Wed, 9 Nov 2011 20:37:11 +0000 (20:37 +0000)]
checking quotas

12 years agobidirectional connects
Matthias Wachs [Wed, 9 Nov 2011 17:45:19 +0000 (17:45 +0000)]
bidirectional connects

12 years agoimplementing fast_reconnect state
Matthias Wachs [Wed, 9 Nov 2011 16:39:28 +0000 (16:39 +0000)]
implementing fast_reconnect state

12 years agocancel suggests
Matthias Wachs [Wed, 9 Nov 2011 16:38:01 +0000 (16:38 +0000)]
cancel suggests

12 years agocancel address suggests
Matthias Wachs [Wed, 9 Nov 2011 16:37:44 +0000 (16:37 +0000)]
cancel address suggests

12 years agoRevert changes from r18076
Bart Polot [Wed, 9 Nov 2011 15:51:56 +0000 (15:51 +0000)]
Revert changes from r18076

12 years agoImproved debug logging
Bart Polot [Wed, 9 Nov 2011 15:50:34 +0000 (15:50 +0000)]
Improved debug logging

12 years agoImproved testcase parameters
Bart Polot [Wed, 9 Nov 2011 15:17:59 +0000 (15:17 +0000)]
Improved testcase parameters

12 years agoAdded debug info, small fixes, doxygen.
Bart Polot [Wed, 9 Nov 2011 15:14:32 +0000 (15:14 +0000)]
Added debug info, small fixes, doxygen.

12 years agofix
Christian Grothoff [Wed, 9 Nov 2011 15:01:02 +0000 (15:01 +0000)]
fix

12 years agocleanup
Christian Grothoff [Wed, 9 Nov 2011 14:28:05 +0000 (14:28 +0000)]
cleanup

12 years agoFixed compilation error with new GNUNET_HELLO_Address
Bart Polot [Wed, 9 Nov 2011 13:04:35 +0000 (13:04 +0000)]
Fixed compilation error with new GNUNET_HELLO_Address

12 years agoclean up, asserts, FIXME
Christian Grothoff [Wed, 9 Nov 2011 12:42:42 +0000 (12:42 +0000)]
clean up, asserts, FIXME

12 years agominor cleanup
Christian Grothoff [Wed, 9 Nov 2011 11:56:08 +0000 (11:56 +0000)]
minor cleanup

12 years agoassertions and minor cleanup
Christian Grothoff [Wed, 9 Nov 2011 11:53:04 +0000 (11:53 +0000)]
assertions and minor cleanup

12 years agofix
Christian Grothoff [Wed, 9 Nov 2011 11:06:30 +0000 (11:06 +0000)]
fix

12 years agofix nested use of strtok
Christian Grothoff [Wed, 9 Nov 2011 11:03:49 +0000 (11:03 +0000)]
fix nested use of strtok

12 years agocleanup
Christian Grothoff [Wed, 9 Nov 2011 11:00:19 +0000 (11:00 +0000)]
cleanup

12 years agoclarification
Philipp Tölke [Wed, 9 Nov 2011 09:48:40 +0000 (09:48 +0000)]
clarification

12 years agodocumentation for developers/performance-metrics
Philipp Tölke [Wed, 9 Nov 2011 09:29:30 +0000 (09:29 +0000)]
documentation for developers/performance-metrics

12 years agofix
Christian Grothoff [Wed, 9 Nov 2011 08:53:06 +0000 (08:53 +0000)]
fix

12 years agofix
Christian Grothoff [Wed, 9 Nov 2011 08:48:00 +0000 (08:48 +0000)]
fix

12 years agofix shutdown order
Christian Grothoff [Wed, 9 Nov 2011 08:42:16 +0000 (08:42 +0000)]
fix shutdown order

12 years agoAdded logging, fixed doxygen
Bart Polot [Tue, 8 Nov 2011 23:28:42 +0000 (23:28 +0000)]
Added logging, fixed doxygen

12 years agorefactoring how we handle peer addresses in peerinfo/ats/transport/hello subsystems...
Christian Grothoff [Tue, 8 Nov 2011 23:20:42 +0000 (23:20 +0000)]
refactoring how we handle peer addresses in peerinfo/ats/transport/hello subsystems -- use a struct instead of 3--4 arguments

12 years agoAttempt to fix error on peergroup start on buildbots
Bart Polot [Tue, 8 Nov 2011 21:38:47 +0000 (21:38 +0000)]
Attempt to fix error on peergroup start on buildbots

12 years agoAdded comments, fixed debug code, added doxygen
Bart Polot [Tue, 8 Nov 2011 21:27:30 +0000 (21:27 +0000)]
Added comments, fixed debug code, added doxygen

12 years agoadding address abstraction
Christian Grothoff [Tue, 8 Nov 2011 19:37:32 +0000 (19:37 +0000)]
adding address abstraction

12 years agoATS suggests sessions that we in between terminated from transport
Matthias Wachs [Tue, 8 Nov 2011 17:32:06 +0000 (17:32 +0000)]
ATS suggests sessions that we in between terminated from transport
This causes:

0001863  Assertion failed at ats_api_scheduling.c:289.
0001868 plugins given sometimes an emtpy address in combination with 'force address'
-> session was an inbound session
0001890 Crash during mesh small unicast test (i think)

12 years agoremove output
Matthias Wachs [Tue, 8 Nov 2011 14:59:46 +0000 (14:59 +0000)]
remove output

12 years agotrying to fix https://ng.gnunet.org/bugs/view.php?id=1888
Matthias Wachs [Tue, 8 Nov 2011 14:55:45 +0000 (14:55 +0000)]
trying to fix https://ng.gnunet.org/bugs/view.php?id=1888

12 years agodummy for address in use
Matthias Wachs [Tue, 8 Nov 2011 14:54:43 +0000 (14:54 +0000)]
dummy for address in use
first I have to find the bugs in scheduling api, then I can add the logic here

12 years agotransport notifies about addresses in use
Matthias Wachs [Tue, 8 Nov 2011 09:27:25 +0000 (09:27 +0000)]
transport notifies about addresses in use

12 years agomore code to get latency in ATSI working; not complete, also now generating a warning...
Christian Grothoff [Mon, 7 Nov 2011 22:06:02 +0000 (22:06 +0000)]
more code to get latency in ATSI working; not complete, also now generating a warning -- for a real problem that still needs to be fixed

12 years agofix #1885
Christian Grothoff [Mon, 7 Nov 2011 18:43:40 +0000 (18:43 +0000)]
fix #1885

12 years agoPING regularly, track latency, towards fixing 1793, 1879
Christian Grothoff [Mon, 7 Nov 2011 15:09:25 +0000 (15:09 +0000)]
PING regularly, track latency, towards fixing 1793, 1879

12 years ago(no commit message)
Matthias Wachs [Mon, 7 Nov 2011 15:02:24 +0000 (15:02 +0000)]

12 years agoMore time to connect peergroup
Bart Polot [Mon, 7 Nov 2011 13:29:41 +0000 (13:29 +0000)]
More time to connect peergroup

12 years agonew test to test bi-directional connection attempts
Matthias Wachs [Mon, 7 Nov 2011 12:54:33 +0000 (12:54 +0000)]
new test to test bi-directional connection attempts

12 years agoSmall fix, improved comment
Bart Polot [Mon, 7 Nov 2011 12:34:30 +0000 (12:34 +0000)]
Small fix, improved comment

12 years agoworkaround for:
Matthias Wachs [Mon, 7 Nov 2011 10:46:52 +0000 (10:46 +0000)]
workaround for:
https://gnunet.org/bugs/view.php?id=1882
https://gnunet.org/bugs/view.php?id=1884

12 years agoMade it impossible to start/stop the helper more then ones, should fix #1873
David Brodski [Mon, 7 Nov 2011 10:24:41 +0000 (10:24 +0000)]
Made it impossible to start/stop the helper more then ones, should fix #1873

12 years agofixing mantis 1878
Matthias Wachs [Mon, 7 Nov 2011 09:31:01 +0000 (09:31 +0000)]
fixing mantis 1878

12 years agofix #1883
Christian Grothoff [Sat, 5 Nov 2011 19:23:48 +0000 (19:23 +0000)]
fix #1883

12 years agointroducing GNUNET_abort
Christian Grothoff [Sat, 5 Nov 2011 18:47:50 +0000 (18:47 +0000)]
introducing GNUNET_abort

12 years agoLRN: fix gnuent_fs_Start arguments
Christian Grothoff [Sat, 5 Nov 2011 18:42:45 +0000 (18:42 +0000)]
LRN: fix gnuent_fs_Start arguments

12 years agotreat empty string as NULL
Christian Grothoff [Sat, 5 Nov 2011 18:36:38 +0000 (18:36 +0000)]
treat empty string as NULL

12 years agoLRN: Call-transport-disconnect-to-clear-session-message-q.patch:
Christian Grothoff [Sat, 5 Nov 2011 14:46:54 +0000 (14:46 +0000)]
LRN: Call-transport-disconnect-to-clear-session-message-q.patch:
This was submitted to #1880, but i'm including this here as well.

12 years agoLRN: This is likely a typo. I caught it, because GNUNET_assert() is now a
Christian Grothoff [Sat, 5 Nov 2011 14:46:08 +0000 (14:46 +0000)]
LRN: This is likely a typo. I caught it, because GNUNET_assert() is now a
function that takes 'int', but the argument was a pointer.

12 years agoLRN: cosmetics
Christian Grothoff [Sat, 5 Nov 2011 14:45:36 +0000 (14:45 +0000)]
LRN: cosmetics

12 years agoLRN: Add -lole32 (why had it worked without this until
Christian Grothoff [Sat, 5 Nov 2011 14:43:41 +0000 (14:43 +0000)]
LRN: Add -lole32 (why had it worked without this until
 now?)

12 years agoLRN: Add -lole32 (why had it worked without this until
Christian Grothoff [Sat, 5 Nov 2011 14:43:08 +0000 (14:43 +0000)]
LRN: Add -lole32 (why had it worked without this until
 now?)

12 years agoLRN: Mysterious patch. I don't know why calling executable with a dot
Christian Grothoff [Sat, 5 Nov 2011 14:42:34 +0000 (14:42 +0000)]
LRN: Mysterious patch. I don't know why calling executable with a dot
forces it to create a new console window (which immediately pops up
and grabs the focus, then disappears) for itself, but that is the
empirical fact. Removing the dot fixes this VERY annoying W32 bug.

12 years agono in_addr_t on W32
Christian Grothoff [Sat, 5 Nov 2011 14:40:13 +0000 (14:40 +0000)]
no in_addr_t on W32

12 years agoLRN: Use regexps in logdefs
Christian Grothoff [Sat, 5 Nov 2011 14:36:34 +0000 (14:36 +0000)]
LRN: Use regexps in logdefs

Now "*" is not valid anymore (it's not like anyone had a lot of opportunities
to use it though).
Empty string means ".*", so it's still compatible.
Matching is case-sensitive. ^ and $ match the beginning and the end of
the text, newine matches a newline character.
All regexps are considered non-extended.
Regex compilation errors are not reported in any way (the parsing process just
fails, and that's it).

12 years agoLRN: Compile against libgnurx (W32)
Christian Grothoff [Sat, 5 Nov 2011 09:07:09 +0000 (09:07 +0000)]
LRN:  Compile against libgnurx (W32)

12 years agoLRN: Add '-Wl,' prefix to -no-undefined
Christian Grothoff [Sat, 5 Nov 2011 09:06:32 +0000 (09:06 +0000)]
LRN: Add '-Wl,' prefix to -no-undefined

-no-undefined is not a valid compiler option as of GCC 4.6.x
(it IS valid linker option).
Note that this REQUIRES an extra -no-undefined to be passed to
libtool (this is done by GN_LIB_LDLFAGS and GN_PLUGIN_LDFLAGS),
because libtool does not understand -Wl,-no-undefined.

12 years agoLRN: Fix loglevel testcase (disable redirection)
Christian Grothoff [Sat, 5 Nov 2011 09:05:31 +0000 (09:05 +0000)]
LRN: Fix loglevel testcase (disable redirection)

12 years agouse putenv instead of setenv for portability
Christian Grothoff [Sat, 5 Nov 2011 09:04:46 +0000 (09:04 +0000)]
use putenv instead of setenv for portability

12 years agoAdded testcase for 2dtorus scenario from dht and mesh
Bart Polot [Sat, 5 Nov 2011 01:56:35 +0000 (01:56 +0000)]
Added testcase for 2dtorus scenario from dht and mesh

12 years agoAdded testcase, fixed naming
Bart Polot [Sat, 5 Nov 2011 01:52:19 +0000 (01:52 +0000)]
Added testcase, fixed naming

12 years agoAdded an empty 2d torus test (connect and to nothing)
Bart Polot [Sat, 5 Nov 2011 01:47:30 +0000 (01:47 +0000)]
Added an empty 2d torus test (connect and to nothing)

12 years agoReduced duplication
Bart Polot [Fri, 4 Nov 2011 20:34:14 +0000 (20:34 +0000)]
Reduced duplication

12 years agoadded my ssh key
Sree Harsha Totakura [Fri, 4 Nov 2011 20:06:04 +0000 (20:06 +0000)]
added my ssh key

12 years agoReenable multicast testcase
Bart Polot [Fri, 4 Nov 2011 15:16:44 +0000 (15:16 +0000)]
Reenable multicast testcase

12 years agoFixed coverity #10249
Bart Polot [Fri, 4 Nov 2011 14:18:28 +0000 (14:18 +0000)]
Fixed coverity #10249

12 years agoFixed coverity #10250
Bart Polot [Fri, 4 Nov 2011 14:14:12 +0000 (14:14 +0000)]
Fixed coverity #10250

12 years agoAdditional fix for #1871
Bart Polot [Fri, 4 Nov 2011 14:09:36 +0000 (14:09 +0000)]
Additional fix for #1871

12 years agocurly wars / auto-indentation
Christian Grothoff [Fri, 4 Nov 2011 14:00:32 +0000 (14:00 +0000)]
curly wars / auto-indentation

12 years agoextending ats api to inform about addresses in use
Matthias Wachs [Fri, 4 Nov 2011 13:59:35 +0000 (13:59 +0000)]
extending ats api to inform about addresses in use

12 years agoFix for #1871
Bart Polot [Fri, 4 Nov 2011 13:58:18 +0000 (13:58 +0000)]
Fix for #1871

12 years agoignore return values explicitly
Christian Grothoff [Fri, 4 Nov 2011 13:53:27 +0000 (13:53 +0000)]
ignore return values explicitly

12 years agoclose stdin before dup-ing, check return value of dup2
Christian Grothoff [Fri, 4 Nov 2011 13:52:33 +0000 (13:52 +0000)]
close stdin before dup-ing, check return value of dup2

12 years agoparse earlier, check sscanf return value
Christian Grothoff [Fri, 4 Nov 2011 13:50:14 +0000 (13:50 +0000)]
parse earlier, check sscanf return value

12 years agoignore return values explicitly
Christian Grothoff [Fri, 4 Nov 2011 13:47:14 +0000 (13:47 +0000)]
ignore return values explicitly

12 years agofm never NULL, dce
Christian Grothoff [Fri, 4 Nov 2011 13:46:22 +0000 (13:46 +0000)]
fm never NULL, dce

12 years agofix leak and missing return value check
Christian Grothoff [Fri, 4 Nov 2011 13:44:54 +0000 (13:44 +0000)]
fix leak and missing return value check

12 years agoinitialize count
Christian Grothoff [Fri, 4 Nov 2011 13:43:19 +0000 (13:43 +0000)]
initialize count

12 years agofix off-by-one and named constant
Christian Grothoff [Fri, 4 Nov 2011 13:41:41 +0000 (13:41 +0000)]
fix off-by-one and named constant

12 years agofix uninit
Christian Grothoff [Fri, 4 Nov 2011 13:40:28 +0000 (13:40 +0000)]
fix uninit

12 years agohandle NULL
Christian Grothoff [Fri, 4 Nov 2011 13:38:39 +0000 (13:38 +0000)]
handle NULL

12 years agocov fix
Christian Grothoff [Fri, 4 Nov 2011 13:37:19 +0000 (13:37 +0000)]
cov fix

12 years agoRenamed functions
Bart Polot [Fri, 4 Nov 2011 13:32:56 +0000 (13:32 +0000)]
Renamed functions

12 years agoimplementing #1785
Christian Grothoff [Fri, 4 Nov 2011 13:32:45 +0000 (13:32 +0000)]
implementing #1785

12 years agoAdded check to catch #1871
Bart Polot [Fri, 4 Nov 2011 12:35:18 +0000 (12:35 +0000)]
Added check to catch #1871

12 years ago(no commit message)
Matthias Wachs [Fri, 4 Nov 2011 11:53:34 +0000 (11:53 +0000)]

12 years agostarting dummy seems to work, so we can disable output
Matthias Wachs [Fri, 4 Nov 2011 11:53:19 +0000 (11:53 +0000)]
starting dummy seems to work, so we can disable output

12 years agodo not translate, ever
Christian Grothoff [Fri, 4 Nov 2011 10:04:15 +0000 (10:04 +0000)]
do not translate, ever

12 years agoadditional checks due to mantis 0001868
Matthias Wachs [Fri, 4 Nov 2011 09:47:40 +0000 (09:47 +0000)]
additional checks due to mantis 0001868

12 years agoimplementing last part of #1107: #1806
Christian Grothoff [Fri, 4 Nov 2011 09:45:03 +0000 (09:45 +0000)]
implementing last part of #1107: #1806

12 years agofix
Christian Grothoff [Fri, 4 Nov 2011 09:15:06 +0000 (09:15 +0000)]
fix

12 years agofix
Christian Grothoff [Fri, 4 Nov 2011 09:14:23 +0000 (09:14 +0000)]
fix

12 years agoFixed error handling
Bart Polot [Fri, 4 Nov 2011 01:00:45 +0000 (01:00 +0000)]
Fixed error handling

12 years agoFix mantis #1874
Bart Polot [Thu, 3 Nov 2011 21:21:36 +0000 (21:21 +0000)]
Fix mantis #1874

12 years agonodebug
Christian Grothoff [Thu, 3 Nov 2011 21:20:54 +0000 (21:20 +0000)]
nodebug

12 years agouse new quota parsing capabilities -- SVN 1875
Christian Grothoff [Thu, 3 Nov 2011 21:20:07 +0000 (21:20 +0000)]
use new quota parsing capabilities -- SVN 1875

12 years agoimplementing time and size parsers for #1875
Christian Grothoff [Thu, 3 Nov 2011 21:10:27 +0000 (21:10 +0000)]
implementing time and size parsers for #1875

12 years agofix #1746
Christian Grothoff [Thu, 3 Nov 2011 20:41:05 +0000 (20:41 +0000)]
fix #1746