- Clean up before merge back to mainbranch.



git-svn-id: http://svn.tribler.org/libswift/branches/ppsp-03@31959 001aeff7-3401-0410-a489-f7902fc005dd

- Added two peer test with discard window set to 128.




git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32357 001aeff7-3401-0410-a489-f7902fc005dd

- Remove old data.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32372 001aeff7-3401-0410-a489-f7902fc005dd
- Linux pass-by-reference fixes

- Use non-blocking reads for DVB input.

- Add signed peak right hashes when sending signed peak.

- SetVerified1 up to peak, not peak sibling.

- LivePiecePicker: tune in on just peers.

- LivePiecePicker: start of small-swarms optimization

- Autodetect of nchunks_per_sig at clients for right hashes

4th attempt






git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32384 001aeff7-3401-0410-a489-f7902fc005dd

- TODO.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32385 001aeff7-3401-0410-a489-f7902fc005dd

- First version of sharing optimized pp, using dynamic dlprob based
  on number of peers. Gives approx. 2/3 savings in 3 peers + source
  scenario.
  
  TODO: rarest first / latest useful (Fabio Picconi ref)



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32386 001aeff7-3401-0410-a489-f7902fc005dd

- Corrected signed/unsigned problem that made dlprob very low.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32389 001aeff7-3401-0410-a489-f7902fc005dd

- Fix for non-source clients not sending signed peaks
  (OfferSignedPeakHash didn't store sigs)
  
- Changed HS behaviour: set of initial peaks sent and
  resent on retransmit. When established, send signed since.
  This to prevent initial HS datagram from growing after
  retransmit waits.
  
- Don't announce signed peaks to source.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32391 001aeff7-3401-0410-a489-f7902fc005dd

- Avoid resending signed peaks: current policy: 
  if not outside peers' current peaks do not send.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32392 001aeff7-3401-0410-a489-f7902fc005dd

- Renamed "right hashes" to "ridge hashes" to make more clear.

- Passed livetest?.py



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32393 001aeff7-3401-0410-a489-f7902fc005dd

- Optimization to verify non-base hashes (in particular ridge hashes)
  when they come in, such that they are verified when sent out.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32394 001aeff7-3401-0410-a489-f7902fc005dd

- Updated doc.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32395 001aeff7-3401-0410-a489-f7902fc005dd

- Optimization of SharingLivePiecePicker to only do prob. download when
  not downloading high priority (piece_due approximation).



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32396 001aeff7-3401-0410-a489-f7902fc005dd

- Added skip policy.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32397 001aeff7-3401-0410-a489-f7902fc005dd

- Clean up.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32398 001aeff7-3401-0410-a489-f7902fc005dd

- Less debug.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32401 001aeff7-3401-0410-a489-f7902fc005dd

- Updated version file.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32402 001aeff7-3401-0410-a489-f7902fc005dd


- Without sparse file support, allocating a large file takes a long time on Windows.
  So while live streaming a live discard window / looping storage is needed.

- TODO: livehookintest.cpp don't build because of SharingLivePiecePicker constants.

nth attempt, swift.h line endings.




git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32403 001aeff7-3401-0410-a489-f7902fc005dd

- Reconstructed swift.h



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32404 001aeff7-3401-0410-a489-f7902fc005dd

- Fixed livehookintest.cpp build problem.



git-svn-id: http://svn.tribler.org/libswift/branches/arno/swift-umt@32405 001aeff7-3401-0410-a489-f7902fc005dd