oweals/gnunet.git
13 years agocancel suggests
Matthias Wachs [Wed, 9 Nov 2011 16:38:01 +0000 (16:38 +0000)]
cancel suggests

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

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

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

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

13 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.

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

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

13 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

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

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

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

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

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

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

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

13 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

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

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

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

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

13 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

13 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

13 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

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

13 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)

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

13 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

13 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

13 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

13 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

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

13 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

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

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

13 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

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

13 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

13 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

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

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

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

13 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

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

13 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.

13 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.

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

13 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?)

13 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?)

13 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.

13 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

13 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).

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

13 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.

13 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)

13 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

13 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

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

13 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)

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

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

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

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

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

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

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

13 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

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

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

13 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

13 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

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

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

13 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

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

13 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

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

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

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

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

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

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

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

13 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

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

13 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

13 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

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

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

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

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

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

13 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

13 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

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

13 years agoDisable DHT debug of MESH separately
Bart Polot [Thu, 3 Nov 2011 15:24:09 +0000 (15:24 +0000)]
Disable DHT debug of MESH separately

13 years agoimplementing plugin directory scanner for #1746
Christian Grothoff [Thu, 3 Nov 2011 15:24:08 +0000 (15:24 +0000)]
implementing plugin directory scanner for #1746

13 years agofix 1821: only send payload to transport clients that care
Christian Grothoff [Thu, 3 Nov 2011 15:00:26 +0000 (15:00 +0000)]
fix 1821: only send payload to transport clients that care

13 years agofix
Christian Grothoff [Thu, 3 Nov 2011 14:55:09 +0000 (14:55 +0000)]
fix

13 years agoincrease timeout to fix #1872:
Christian Grothoff [Thu, 3 Nov 2011 13:28:59 +0000 (13:28 +0000)]
increase timeout to fix #1872: