Commit Graph

1652 Commits

Author SHA1 Message Date
csoler
b6c048a5fd Implemented load/save of chunk maps for current downloads.
The side effect is that even when stopped, downloads show the correct downloaded size (up to the size of one chunk).



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1865 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-10 22:55:27 +00:00
csoler
4d190963cf windows compilation fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1864 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-09 12:42:31 +00:00
csoler
25a09900e9 - Added a ChunkMap class responsible for allocating new chunks to be downloaded, according to
- a given chunk strategy
	- the availablility map of each source 
- Integrated this into ftFileCreator
- added gui menu in file transfer+right click to change the chunk strategy: streaming vs. random

Next step: 
	- loading/saving file downloading state and availability map
	- displaying chunk details in the selected transfer tab (e.g. list of currently worked chunks, and their current downloading completion)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1863 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-08 22:29:52 +00:00
defnax
de0cbd50ce fixed libretroshare.pro
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1862 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-06 12:08:59 +00:00
defnax
ff8befbb2c fixed RetroShare.pro
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1861 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-06 12:03:29 +00:00
defnax
3830d39278 added missed defines
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-05 14:49:15 +00:00
defnax
15b790e67c removed not needed sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-05 13:46:29 +00:00
defnax
ecac6008bc added unfinished section to compile unfinished examples and prototypes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-05 13:42:24 +00:00
nishant
d975d8bf1f Messenger Window linked with RsAutoupdate
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-30 16:12:13 +00:00
defnax
b524a4cf86 improved stylesheets for Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1853 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-28 23:21:05 +00:00
dondiimperial
d2665f9dd6 Fix for ticket #68
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1852 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-28 17:52:17 +00:00
defnax
83778b39ad restored MessagesDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1851 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-28 14:34:15 +00:00
defnax
87344de7d4 added for plugins own dir
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-28 14:21:11 +00:00
joss17
97d8640f3a tweak the peer chat and group chat vertical scroll
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1848 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-27 22:05:38 +00:00
defnax
046ec8c6a7 added new graph colors
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1847 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-24 21:11:44 +00:00
defnax
d7a052720a moved trayicon to own void function
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1846 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-24 20:17:13 +00:00
defnax
10bc8e7a67 added new stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1845 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-24 17:10:11 +00:00
defnax
5b35308f81 clean up, removed not needed old sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1844 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-23 20:46:03 +00:00
defnax
0f69d49bde clean up, removed not needed old ConnectionsDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1843 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-23 20:37:47 +00:00
defnax
0837cc86ef removed not need more old dialogs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-23 20:27:02 +00:00
defnax
3fdfa9f967 removed not needed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-23 20:25:46 +00:00
defnax
85a2014a15 removed not needed stylesheets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1840 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-23 20:24:42 +00:00
csoler
426fc06938 forgot to add these two files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1839 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-19 08:35:11 +00:00
csoler
75a32ad032 suppressed some unused files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1838 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-18 23:03:58 +00:00
csoler
e88d2c1928 Added consistent display of chunk map
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1837 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-18 23:02:37 +00:00
joss17
adbdb51c5d removed unused code and logouts, redesign the initial connection
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1836 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-18 17:46:38 +00:00
csoler
833f131696 Forgot to commit this (grrr. Why the hell do we dupplicate rsiface/ ??
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1833 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-17 12:47:55 +00:00
csoler
506f14eb2f - Added a parent page widget (class RsAutoUpdatePage) to handle auto-update. The page updates using a timer, only wh
en visible, and each time it gets showed. I already made some RS pages derive from this page.
- Modified and renamed the taskGraphPainterWidget to display info about currently selected file transfers. For know, it only shows file chunks info, but we should use it to display additional info about the transfer. Warning: in its
 current state, only fake chunk info is displayed.
 - Suppressed p3files.h, because it is not used.

 Remains to do (in order):
 - Implement a chunk map class in ft/ to properly manage which chunks should be downloaded 
 - Display correct chunk info by requesting the transfer's chunk map
 - Add check-sum verification of chunks
 - allow RS to import a partially downloaded file by force re-checking chunks
 - Add chunk map exchange from file source peer id to file destination peer id.
 - Manage chunks from different peers.
 - Allow search (turtle search) for partially downloaded files 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1832 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-17 12:45:06 +00:00
joss17
36c2a726fa check to see a peer is connected before doing a net reset. Don't do a net reset when a loopback interface is used. Set netFlagOk down when on a loopback interface.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1831 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-16 10:53:17 +00:00
joss17
5a776b1eff removed unused library links for linux make
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1830 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-16 10:52:59 +00:00
defnax
97770a16f2 forget commit this
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1829 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-15 20:40:56 +00:00
defnax
e26c14573f added taskGraphPainterWidet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1828 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-15 19:26:34 +00:00
csoler
e18167a07a forgot to commit this
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1824 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-14 21:54:43 +00:00
csoler
e77064eaf1 removed deadlock by replacing lock() by trylock(). As a result sometimes, authGPG::getDetails() may return false. As soon as it is used by the GUI only, it shoul dbe ok.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1823 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-14 20:20:33 +00:00
joss17
6a48284c31 remove a deadlock
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1822 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-14 11:59:50 +00:00
joss17
573e7b2474 remove upnp mapping before adding new ones
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1821 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-12 22:19:45 +00:00
joss17
8168be6828 less call to extFinderAddr
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1820 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-12 22:19:25 +00:00
joss17
8128f0b2ea fix the chat scrollbar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1819 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-12 17:17:21 +00:00
joss17
f56e9cfcd9 fix log output with ifdef
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1818 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-12 17:16:06 +00:00
joss17
874d9f45fa fix a bug when removing 1 from a zero siglen
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1817 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-12 17:14:50 +00:00
joss17
5a2dbc4bdf simplified and improve ip list for connect attempt. Show the ip in the gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1816 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-12 11:51:27 +00:00
joss17
efa84ef24d remove zlib dependance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1815 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 22:13:36 +00:00
joss17
bdd217799a add missing member in rsiface
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 22:13:22 +00:00
joss17
6a656eeabc add port filtering if 0 for address list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1813 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 22:13:07 +00:00
joss17
e0543329ad add address list to gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1812 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 22:12:50 +00:00
joss17
d2f9f1c4f1 final code, working on local machine
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1811 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 16:49:11 +00:00
joss17
020bb73665 add the ip list to the connect attemps
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1810 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 16:47:54 +00:00
joss17
fcea2d3a24 implemented the ipAddressList methods
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1809 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 16:47:10 +00:00
joss17
864c504eb4 dummy implementation of the peerConnectState ipAddressList methods
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1808 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 16:46:28 +00:00
joss17
f85adf7c25 change to only one ip list instead of one local and one remote
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1807 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-11 16:45:46 +00:00