Fix another warning
Fix some const-related warnings (due to the ML crappines, the destination node ID cannot be const)
Free the node IDs when removing old nodes
Merge branch 'master' into marco_integration
Fix tman activation
Return -2 in cache_add() even if the new element is already in cache
Fix the parseData() merge logic
Fix the protocol check in tmanParseData()
Allow to call topo_proto_init() multiple times (needed because both tmanand the peer sampling protocol call it)
Fix a for() cycle in tman's givePeers()
fix int_cpy in encoding functions to use uint32_t
Fix a typo in cache_del()
reduced nccache size to 10
Fix the most stupid error ever
Do not reply with too many IDs, and do not free NULL
Remove MAX_PEERS dependency
SOM: fixed peerset include guard
git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES@770 c54fac2e-1815-407e-9b96-088d06743913
SOM: fix memory leak in peerset
git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES@676 c54fac2e-1815-407e-9b96-088d06743913
SOM: fixed error in scheduler with negative and 0 weights
git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES@990 c54fac2e-1815-407e-9b96-088d06743913
Hopefully fix rand_peer(), in the correct way!
Use different cache update strategies for TMAN and NCAST
Test for TMAN
Update to latest version from Marco
First shot at TMAN
Change the prototype of the *_ranked functions
Cleanup the cache interface a little bit
Change the "reply" prototype
Tell the caller what happened during a merge...
Fix a typo
When deleting a node, delete the metadata too...
Add the "ranked" functions
Rename some files: nc -> topo
Fix some sprintf() warnings
Actually initialise cfg_tags
Correct all the "init()" function to take a config string as a parameter
Fix cache grow
Fix removal of the last element of the cache
Ordered insertion in cache
SOM: check return value of ncast_payload_fill
SOM: define to set TopMan's MAX_MSG_SIZE
SOM: introducing MAX_TIMESTAMP timeout in newscast
git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES@1000 c54fac2e-1815-407e-9b96-088d06743913
SOM: increasing topman bootstrap period to 2s
git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES@999 c54fac2e-1815-407e-9b96-088d06743913
SOM: add bootstrap mode to topman with faster turnaround time
git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES@958 c54fac2e-1815-407e-9b96-088d06743913
Merge remote branch 'origin/new_nethelper_interface' into next
Merge remote branch 'origin/makefiles' into next
Merge remote branch 'origin/topman' into next
Fix compilation after the last API change
Add the possibility to pass a user-defined fd set to wait4data()
Add support for large messages in the net helper
Fix some const related warnings
some more warnings are left in the topology manager... They will beresolved when merging the "topman" branch
Merge branch 'master' into makefiles
Merge commit 'origin/chunkbuffer'
Metadata update API
Improve the test
New test, for topology attributes
Checks on metadata size can be a little bit less paranoid
Add (basic) metadata support
Rewrite the protocol and the internals
Use a real peer_cache structure (containing all the informationand not only an array of enties)
Change timestamps to 32 bit, and write/read them in a sane way
Fix compilation after the last commits
Merge commit 'origin/fixes'
Merge branch 'new_nethelper_interface'
Conflicts: som/ChunkTrading/Makefile som/PeerSet/Makefile som/TopologyManager/Makefile
Change the wait4data interface (no structures on the stack)
Fix the net_helper implementation to match the interface...
Fix some valgrind errors
Fix a memleack
Fix two more const-related warnings
Merge branch 'fixes'
config_parse() is now fixed
Avoid inserting duplicated chunks
New topology manager interface, to support metadata
Fix a const-related warning
Move config.* to a more generic place
Build one single library by default
Convert two Makefiles I forgot...
Merge branch 'makefiles'
Fix the tests Makefile
Merge remote branch 'origin/makefiles'
Fix some errors spotted by valgrind (happening when we search for non-existing tags)
Make valgrind happy
Add a test for config.c
Merge remote branch 'origin/nodeid-dtor'
Merge branch 'copyright'
Add stub for bind_msg_type()
Make the net helper part of the officia GRAPES interface, by moving it in the include directory
SOM: fixed memory leak in TopologyManager
Add a destructor for Node IDs
SOM: added duplicate detection to TopologyManager cache_add
SOM: added chunkID_set_free
SOM: added peer creation timestamp