oweals/gnunet.git
13 years agoeliminating last dependency on util code from wlan helper by inlining
Christian Grothoff [Tue, 6 Dec 2011 20:07:08 +0000 (20:07 +0000)]
eliminating last dependency on util code from wlan helper by inlining

13 years ago-only with MINGW
Christian Grothoff [Tue, 6 Dec 2011 19:56:51 +0000 (19:56 +0000)]
-only with MINGW

13 years agoLRN: correct behaviour when logfile does not exist
Christian Grothoff [Tue, 6 Dec 2011 19:06:30 +0000 (19:06 +0000)]
LRN: correct behaviour when logfile does not exist

13 years agofix compile
Christian Grothoff [Tue, 6 Dec 2011 18:06:54 +0000 (18:06 +0000)]
fix compile

13 years agoLRN: Ensure that GTK can then do the internal call write(2, message, strlen
Christian Grothoff [Tue, 6 Dec 2011 18:06:13 +0000 (18:06 +0000)]
LRN: Ensure that GTK can then do the internal call write(2, message, strlen
(message)); successfully by default.

13 years agoImplement passing sockets in IPC on W32 (#1975)
Christian Grothoff [Tue, 6 Dec 2011 17:58:40 +0000 (17:58 +0000)]
Implement passing sockets in IPC on W32 (#1975)

13 years agoadding GNUnet endian operations
Matthias Wachs [Tue, 6 Dec 2011 14:55:46 +0000 (14:55 +0000)]
adding GNUnet endian operations

13 years agotimestamp not supported on fedora core 8
Matthias Wachs [Tue, 6 Dec 2011 14:19:35 +0000 (14:19 +0000)]
timestamp not supported on fedora core 8

13 years agoFixing #1976 by allowing allocations between INT_MAX and SIZE_MAX and at the same...
Christian Grothoff [Tue, 6 Dec 2011 14:13:38 +0000 (14:13 +0000)]
Fixing #1976 by allowing allocations between INT_MAX and SIZE_MAX and at the same time limiting BF size for datastore to 2 GB. Also fixing infinite loop when creating BFs of sizes between 2-4 GB

13 years ago-preping arm for test by LRN
Christian Grothoff [Tue, 6 Dec 2011 13:56:42 +0000 (13:56 +0000)]
-preping arm for test by LRN

13 years ago-use uint64_t instead of long long for GNUNET_ntohll/GNUNET_htonll
Christian Grothoff [Tue, 6 Dec 2011 13:54:35 +0000 (13:54 +0000)]
-use uint64_t instead of long long for GNUNET_ntohll/GNUNET_htonll

13 years agouse uint64_t instead of long long for GNUNET_ntohll/GNUNET_htonll
Christian Grothoff [Tue, 6 Dec 2011 13:54:18 +0000 (13:54 +0000)]
use uint64_t instead of long long for GNUNET_ntohll/GNUNET_htonll

13 years agoRemoved legacy code
Bart Polot [Tue, 6 Dec 2011 13:35:10 +0000 (13:35 +0000)]
Removed legacy code

13 years agoLRN: Fixing Mantis #1974: On W32 winsock2.h defines FD_SETSIZE (if it was not defined...
Christian Grothoff [Tue, 6 Dec 2011 12:49:06 +0000 (12:49 +0000)]
LRN: Fixing Mantis #1974: On W32 winsock2.h defines FD_SETSIZE (if it was not defined before inclusion of the header) to 64, which means that it's not possible to select on more than 64 sockets at once. This might work during the tests, but in the wild people might want to have more than 60 connections, at least in the transport service.
The patch attached should increase the limit to 1024.

13 years agofix
Christian Grothoff [Tue, 6 Dec 2011 09:44:46 +0000 (09:44 +0000)]
fix

13 years agodistfix
Christian Grothoff [Tue, 6 Dec 2011 01:56:29 +0000 (01:56 +0000)]
distfix

13 years ago-LRN: unset control pipe after use, add missing #define
Christian Grothoff [Fri, 2 Dec 2011 07:38:24 +0000 (07:38 +0000)]
-LRN: unset control pipe after use, add missing #define

13 years ago-LRN: fix socket_close logging
Christian Grothoff [Fri, 2 Dec 2011 07:37:27 +0000 (07:37 +0000)]
-LRN: fix socket_close logging

13 years ago-undo
Christian Grothoff [Thu, 1 Dec 2011 09:17:47 +0000 (09:17 +0000)]
-undo

13 years agoLRN: Adding vectored exception handling for W32 (#1965)
Christian Grothoff [Thu, 1 Dec 2011 09:17:27 +0000 (09:17 +0000)]
LRN: Adding vectored exception handling for W32 (#1965)

Whenever an exception occurs, and the process is not being debugged, it will run a debugger specified by GNUNET_DEBUGGER environment variable, and wait for it to attach.
The net effect is the same as using JIT debugging (AeDebug), but without the stack being broken by SEH (because VEH has a priority over SEH), which allows for fuller backtraces for any exception, not just for GNUNET_abort() calls.

13 years agoreleasing GNUnet 0.9.0
Christian Grothoff [Wed, 30 Nov 2011 15:21:36 +0000 (15:21 +0000)]
releasing GNUnet 0.9.0

13 years ago-fixing minor typos, version bump
Christian Grothoff [Wed, 30 Nov 2011 15:21:18 +0000 (15:21 +0000)]
-fixing minor typos, version bump

13 years ago- doxygen
Matthias Wachs [Wed, 30 Nov 2011 15:13:38 +0000 (15:13 +0000)]
- doxygen

13 years ago-make compiler happy (presumed uninitialized variable)
Christian Grothoff [Wed, 30 Nov 2011 15:04:48 +0000 (15:04 +0000)]
-make compiler happy (presumed uninitialized variable)

13 years agoMake reeeeeally sure SPARC has time to do its stuff
Bart Polot [Wed, 30 Nov 2011 15:00:23 +0000 (15:00 +0000)]
Make reeeeeally sure SPARC has time to do its stuff

13 years agosome doxygen + refactoring of GST_validation_set_address_use
Matthias Wachs [Wed, 30 Nov 2011 14:45:27 +0000 (14:45 +0000)]
some doxygen + refactoring of GST_validation_set_address_use

13 years agomoving ats quotas to template files
Matthias Wachs [Wed, 30 Nov 2011 14:23:15 +0000 (14:23 +0000)]
moving ats quotas to template files

13 years ago- Fixed an insufficient allocation, probably causing OS X crashes
Bart Polot [Wed, 30 Nov 2011 10:32:31 +0000 (10:32 +0000)]
- Fixed an insufficient allocation, probably causing OS X crashes

13 years ago- Even longer timeout to allow SPARC to finish testcase
Bart Polot [Wed, 30 Nov 2011 10:23:29 +0000 (10:23 +0000)]
- Even longer timeout to allow SPARC to finish testcase

13 years ago-fix typo in configuration
Christian Grothoff [Wed, 30 Nov 2011 08:46:58 +0000 (08:46 +0000)]
-fix typo in configuration

13 years ago-fixing indentation
Christian Grothoff [Tue, 29 Nov 2011 20:47:18 +0000 (20:47 +0000)]
-fixing indentation

13 years agoadding missing files to dist
Christian Grothoff [Tue, 29 Nov 2011 20:46:16 +0000 (20:46 +0000)]
adding missing files to dist

13 years agoHACKING guide moved to CMS on https://gnunet.org/style
Christian Grothoff [Tue, 29 Nov 2011 20:43:49 +0000 (20:43 +0000)]
HACKING guide moved to CMS on https://gnunet.org/style

13 years agofix xslt invocation for change log generation
Christian Grothoff [Tue, 29 Nov 2011 20:42:23 +0000 (20:42 +0000)]
fix xslt invocation for change log generation

13 years ago-fux
Christian Grothoff [Tue, 29 Nov 2011 20:36:59 +0000 (20:36 +0000)]
-fux

13 years agoadding authors header block following suggestions from Werner Koch
Christian Grothoff [Tue, 29 Nov 2011 20:27:09 +0000 (20:27 +0000)]
adding authors header block following suggestions from Werner Koch

13 years ago-no valgrind
Christian Grothoff [Tue, 29 Nov 2011 20:13:45 +0000 (20:13 +0000)]
-no valgrind

13 years ago-cleaning up message format and code related to recent transport address stringificat...
Christian Grothoff [Tue, 29 Nov 2011 20:03:12 +0000 (20:03 +0000)]
-cleaning up message format and code related to recent transport address stringification code

13 years ago- finale commit for the api change
Matthias Wachs [Tue, 29 Nov 2011 18:04:01 +0000 (18:04 +0000)]
- finale commit for the api change

13 years agoChanged quota configuration from core to ats section, renamed from TOTAL_QUOTA_*...
Bart Polot [Tue, 29 Nov 2011 17:13:57 +0000 (17:13 +0000)]
Changed quota configuration from core to ats section, renamed from TOTAL_QUOTA_* to WAN_QUOTA_*

13 years ago- Use #defined constant, not direct numbers
Bart Polot [Tue, 29 Nov 2011 16:34:20 +0000 (16:34 +0000)]
- Use #defined constant, not direct numbers

13 years ago-set ignores for various generated files
Christian Grothoff [Tue, 29 Nov 2011 16:17:28 +0000 (16:17 +0000)]
-set ignores for various generated files

13 years ago- removing files in flux
Christian Grothoff [Tue, 29 Nov 2011 15:51:21 +0000 (15:51 +0000)]
- removing files in flux

13 years ago- latest changes for refactoring: iterate sends disassembled hello-address
Matthias Wachs [Tue, 29 Nov 2011 15:43:11 +0000 (15:43 +0000)]
- latest changes for refactoring: iterate sends disassembled hello-address

13 years ago-nl
Christian Grothoff [Tue, 29 Nov 2011 14:14:43 +0000 (14:14 +0000)]
-nl

13 years ago- allow slower buildbots to finish tests
Bart Polot [Tue, 29 Nov 2011 12:13:48 +0000 (12:13 +0000)]
- allow slower buildbots to finish tests

13 years agoLRN: new code for GNUNET_OS_network_interfaces_list on W32 improving support for...
Christian Grothoff [Tue, 29 Nov 2011 11:47:40 +0000 (11:47 +0000)]
LRN: new code for GNUNET_OS_network_interfaces_list on W32 improving support for IPv6 and subnets/masks, see Mantis 1958

13 years agoapi clean up next steps
Matthias Wachs [Tue, 29 Nov 2011 09:52:10 +0000 (09:52 +0000)]
api clean up next steps

13 years agofirst steps to transport_api cleanup
Matthias Wachs [Tue, 29 Nov 2011 09:37:54 +0000 (09:37 +0000)]
first steps to transport_api cleanup
compiles but no guarante to work!

13 years ago- hunting a bug
Matthias Wachs [Tue, 29 Nov 2011 08:32:22 +0000 (08:32 +0000)]
- hunting a bug

13 years ago-do not send previous round messages if we are just going online and did not setup...
Christian Grothoff [Mon, 28 Nov 2011 18:27:26 +0000 (18:27 +0000)]
-do not send previous round messages if we are just going online and did not setup those messages yet

13 years ago- Off by 1
Bart Polot [Mon, 28 Nov 2011 18:27:23 +0000 (18:27 +0000)]
- Off by 1

13 years ago-trying harder to remove useless signing in NSE
Christian Grothoff [Mon, 28 Nov 2011 18:02:29 +0000 (18:02 +0000)]
-trying harder to remove useless signing in NSE

13 years agoMesh adds info about paths to peers as early as possible to avoid unoptimal routes...
Bart Polot [Mon, 28 Nov 2011 17:51:36 +0000 (17:51 +0000)]
Mesh adds info about paths to peers as early as possible to avoid unoptimal routes and artifacts caused by parallel path creation of less optimal paths (loops, path corruption, etc)

13 years ago-handle shutdown
Christian Grothoff [Mon, 28 Nov 2011 17:44:16 +0000 (17:44 +0000)]
-handle shutdown

13 years agocache signature upon first generation to avoid useless re-signing of the same data
Christian Grothoff [Mon, 28 Nov 2011 17:39:25 +0000 (17:39 +0000)]
cache signature upon first generation to avoid useless re-signing of the same data

13 years ago-improving NSE test error message
Christian Grothoff [Mon, 28 Nov 2011 17:24:11 +0000 (17:24 +0000)]
-improving NSE test error message

13 years ago-typo
Christian Grothoff [Mon, 28 Nov 2011 16:49:29 +0000 (16:49 +0000)]
-typo

13 years ago-fixing use of uninitialized variable, some code cleanup, fixing memory leak on error...
Christian Grothoff [Mon, 28 Nov 2011 16:45:16 +0000 (16:45 +0000)]
-fixing use of uninitialized variable, some code cleanup, fixing memory leak on error path

13 years ago-more doxygen fixes
Christian Grothoff [Mon, 28 Nov 2011 16:25:09 +0000 (16:25 +0000)]
-more doxygen fixes

13 years ago-more doxygen fixes
Christian Grothoff [Mon, 28 Nov 2011 16:19:21 +0000 (16:19 +0000)]
-more doxygen fixes

13 years agointroducing GNUNET_UNUSED macro instead of hard-coding gcc attribute all over the...
Christian Grothoff [Mon, 28 Nov 2011 16:09:47 +0000 (16:09 +0000)]
introducing GNUNET_UNUSED macro instead of hard-coding gcc attribute all over the place; also some further documentation fixes

13 years ago- Removed misleading code
Bart Polot [Mon, 28 Nov 2011 16:00:18 +0000 (16:00 +0000)]
- Removed misleading code

13 years ago-doxygen fixes
Christian Grothoff [Mon, 28 Nov 2011 15:56:09 +0000 (15:56 +0000)]
-doxygen fixes

13 years ago-document clock skew variable a bit more
Christian Grothoff [Mon, 28 Nov 2011 15:21:02 +0000 (15:21 +0000)]
-document clock skew variable a bit more

13 years ago-document desired direction of transport API change
Christian Grothoff [Mon, 28 Nov 2011 15:20:50 +0000 (15:20 +0000)]
-document desired direction of transport API change

13 years agofixing mantis #1970
Matthias Wachs [Mon, 28 Nov 2011 14:38:15 +0000 (14:38 +0000)]
fixing mantis #1970
bug: ats only deleted active addresses, but should delete all addresses with session removed and addrlen 0

13 years ago- Do not reserve ports for unused services
Bart Polot [Mon, 28 Nov 2011 12:47:33 +0000 (12:47 +0000)]
- Do not reserve ports for unused services

13 years ago- Changes to run 4k peers nse networks
Bart Polot [Mon, 28 Nov 2011 11:57:37 +0000 (11:57 +0000)]
- Changes to run 4k peers nse networks

13 years agofixing bus error on sparc, mantis bug 1909
Matthias Wachs [Mon, 28 Nov 2011 10:50:20 +0000 (10:50 +0000)]
fixing bus error on sparc, mantis bug 1909

13 years agoImplementing Thomas Bushnell's suggestion to work around the signal race without...
Christian Grothoff [Sat, 26 Nov 2011 14:52:20 +0000 (14:52 +0000)]
Implementing Thomas Bushnell's suggestion to work around the signal race without needing special vfork semantics

13 years agoLRN: increase dht multipeer test timeout
Christian Grothoff [Sat, 26 Nov 2011 13:55:29 +0000 (13:55 +0000)]
LRN: increase dht multipeer test timeout

13 years agoLRN: Fix dht multipeer testing crash #2 - #1919
Christian Grothoff [Sat, 26 Nov 2011 13:54:02 +0000 (13:54 +0000)]
LRN: Fix dht multipeer testing crash #2 - #1919

13 years agoLRN: Fix dht multipeer testing crash - #1919
Christian Grothoff [Sat, 26 Nov 2011 13:52:44 +0000 (13:52 +0000)]
LRN:  Fix dht multipeer testing crash - #1919

13 years agoLRN: Do not stop daemons twice / #1919
Christian Grothoff [Sat, 26 Nov 2011 13:52:09 +0000 (13:52 +0000)]
LRN: Do not stop daemons twice / #1919

13 years agoLRN: Use GNUNET_strdup() instead of strdup ()
Christian Grothoff [Fri, 25 Nov 2011 22:15:37 +0000 (22:15 +0000)]
LRN: Use GNUNET_strdup() instead of strdup ()

13 years ago-Fixed coverity #10264
Bart Polot [Fri, 25 Nov 2011 17:43:16 +0000 (17:43 +0000)]
-Fixed coverity #10264

13 years ago-Fixed coverity #10265
Bart Polot [Fri, 25 Nov 2011 17:41:03 +0000 (17:41 +0000)]
-Fixed coverity #10265

13 years ago-spelling
Christian Grothoff [Fri, 25 Nov 2011 17:02:00 +0000 (17:02 +0000)]
-spelling

13 years ago-reduce log level
Christian Grothoff [Fri, 25 Nov 2011 17:01:25 +0000 (17:01 +0000)]
-reduce log level

13 years ago-files were removed earlier
Christian Grothoff [Fri, 25 Nov 2011 16:37:59 +0000 (16:37 +0000)]
-files were removed earlier

13 years ago- More changes in po files
Bart Polot [Fri, 25 Nov 2011 16:24:41 +0000 (16:24 +0000)]
- More changes in po files

13 years ago-fixing 1963 by changing warning to stats call
Christian Grothoff [Fri, 25 Nov 2011 16:16:27 +0000 (16:16 +0000)]
-fixing 1963 by changing warning to stats call

13 years ago-files were removed earlier
Christian Grothoff [Fri, 25 Nov 2011 16:12:56 +0000 (16:12 +0000)]
-files were removed earlier

13 years agofixing mantis 1961
Christian Grothoff [Fri, 25 Nov 2011 16:10:58 +0000 (16:10 +0000)]
fixing mantis 1961

13 years ago-fixing string printing - size_t is not unsigned int
Christian Grothoff [Fri, 25 Nov 2011 16:04:36 +0000 (16:04 +0000)]
-fixing string printing - size_t is not unsigned int

13 years ago-pyexpect fix
Christian Grothoff [Fri, 25 Nov 2011 16:01:07 +0000 (16:01 +0000)]
-pyexpect fix

13 years agoLRN: I'm tired of seeing something like "ATS tells us to switch to address
Christian Grothoff [Fri, 25 Nov 2011 15:48:13 +0000 (15:48 +0000)]
LRN: I'm tired of seeing something like "ATS tells us to switch to address
'(null)' session 0x497198 for peer `IIH1' in state `S_NOT_CONNECTED'",
so i wrote this.

- From what i see in the logs, '(null)'s are mostly caused by 0-byte
long addresses. I'm not sure whether it is a bug, or a feature (but
then, why would ATS tell us to switch to a 0-byte long address?).

CG: for inbound connections, ATS tells us to switch to a 0-byte long address
(since there is no address) but at the same time gives us a 'struct Session'
to use as well.  So 0-byte addresses really mean 'inbound' connections.

13 years agoUse _weighted_ average of last estimations to calculate network size
Bart Polot [Fri, 25 Nov 2011 15:38:24 +0000 (15:38 +0000)]
Use _weighted_ average of last estimations to calculate network size

13 years ago- Fixed testcase evaluation condition
Bart Polot [Fri, 25 Nov 2011 10:52:19 +0000 (10:52 +0000)]
- Fixed testcase evaluation condition

13 years ago-some more wlan code cleanup
Christian Grothoff [Fri, 25 Nov 2011 10:30:55 +0000 (10:30 +0000)]
-some more wlan code cleanup

13 years ago-some more wlan code cleanup
Christian Grothoff [Fri, 25 Nov 2011 10:24:26 +0000 (10:24 +0000)]
-some more wlan code cleanup

13 years ago-some more wlan code cleanup
Christian Grothoff [Fri, 25 Nov 2011 10:23:02 +0000 (10:23 +0000)]
-some more wlan code cleanup

13 years ago-some more wlan code cleanup
Christian Grothoff [Fri, 25 Nov 2011 10:14:05 +0000 (10:14 +0000)]
-some more wlan code cleanup

13 years agosome more wlan code cleanup
Christian Grothoff [Fri, 25 Nov 2011 10:11:35 +0000 (10:11 +0000)]
some more wlan code cleanup

13 years agoremoving no longer needed wlan directory
Christian Grothoff [Fri, 25 Nov 2011 09:19:41 +0000 (09:19 +0000)]
removing no longer needed wlan directory

13 years agoinlining files from wlan, preparing to obsolete wlan subdirectory
Christian Grothoff [Fri, 25 Nov 2011 09:18:53 +0000 (09:18 +0000)]
inlining files from wlan, preparing to obsolete wlan subdirectory

13 years ago-minor code clean up and renaming dummy
Christian Grothoff [Fri, 25 Nov 2011 08:55:19 +0000 (08:55 +0000)]
-minor code clean up and renaming dummy

13 years ago- Added explicit cast, just in case
Bart Polot [Thu, 24 Nov 2011 16:25:55 +0000 (16:25 +0000)]
- Added explicit cast, just in case

13 years ago- Same result, cleaner code
Bart Polot [Thu, 24 Nov 2011 16:24:53 +0000 (16:24 +0000)]
- Same result, cleaner code