Commit Graph

63 Commits

Author SHA1 Message Date
csoler
76dd404c0d corrected display byg in transfers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2276 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-10 21:02:46 +00:00
csoler
024e7f4b44 made the age indicator functional, by recursively changing color of directory/files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2244 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 22:32:00 +00:00
csoler
c2fdbe177d corrected issue in display of download/upload progress
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2192 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-04 21:08:53 +00:00
csoler
7fd5c7ad4b restaured priority queue methods, and made better context menues.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 23:25:00 +00:00
csoler
a70b106005 - added NETWORK_WIDE flag to remote dir model download
- added file priority strategy based on which files are requested first. This provides:
	- equal file speed for files with equal (source,priority)
	- effective priority speed for file of same source but different priority
- removed state variable load/save from turtle, as it's not needed anymore (FileRequest re-opens tunnels as needed)
- manage availability per peer instead of per file type: direct peer ids always assume file availability, while turtle tunnels don't

I still need to make the download queue work, and code this gui for it.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 20:40:21 +00:00
defnax
656aa9db5d Added Chunk size and Number of Chunks to DetailsDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 14:57:05 +00:00
csoler
0e7f9df638 made contextual menus in FT more contextual, added info about transfer type and chunking strategy, load/save of transfer flags
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-22 23:23:37 +00:00
csoler
fee083e6b8 fixed downloading of links attached to forums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2054 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-16 14:31:32 +00:00
csoler
cfaaec31c7 - Implemented chunk-based file transfer from partial sources. This in particular means:
- exchange of chunk availability maps from different peers
    - correct handling of what is available to which source before asking the data
    - correct display of chunks in the progress bars
    - generalised the use of compressed chunk maps
    - removed the size parameters from the hash search functions
   
- In addition:
    - suppressed a number of per-value transfers of std::string
    - improved the FileTransferInfo Widget, to show some additional info

Still to be done:
    - chunk map exchange for non anonymous traffic (easy)
    - improve accuracy of completion for uploads (for now it's a integer number of chunks)
    - check compilation on windows




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1993 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-11 16:00:42 +00:00
defnax
5008cfdf25 Added DetailsDialog for Transfers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1978 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-06 00:10:15 +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
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
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
alexandrut
a7c1b9f31c retains sort order for upload transfers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-15 18:37:03 +00:00
alexandrut
6dfa252bf6 keeps transfers sorted when redisplay them
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1650 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-14 20:29:46 +00:00
alexandrut
cb79f8872e correct speed for non active downloads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1633 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-11 18:40:30 +00:00
csoler
95a577ccd0 Integrated turtle download to all kind of user-requested downloads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-09 20:14:43 +00:00
csoler
0573171e6f fixed win32-x-g++ compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-05 18:15:23 +00:00
alexandrut
8f0c7fbdfe clear downloads which are in queue directly from custom menu cancel action (until now they were remaining in queue when for ex all list was selected for a clear and a separate action was needed for them)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1537 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-14 20:48:53 +00:00
alexandrut
98eb6b835d scroll to previously selected item(s) at next redisplay
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1533 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-13 23:22:26 +00:00
alexandrut
3083165767 priority column added in transfers dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 20:27:59 +00:00
drbob
439ae4e7b5 Added #include for windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1455 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 13:12:46 +00:00
alexandrut
3394239297 let hash name for partial files, use qfile link instead
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-28 15:29:21 +00:00
alexandrut
e68d874406 *redesign of dwl queue - dwls will be enqueued and picked from there;
*changes to display the dwl queue in the transfers dialog 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-28 10:21:19 +00:00
defnax
9834ef5cbf reorder context menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1441 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-27 20:24:58 +00:00
alexandrut
0fa44603ad priority actions added
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1439 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-27 17:22:56 +00:00
defnax
874f2bb8fd update icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1437 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-27 11:57:58 +00:00
alexandrut
6f69a9edf3 changes to reflect download queue. not totally finished yet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1433 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-26 15:02:16 +00:00
defnax
4d8aa4dd72 fixed selectionModel for uploads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-24 23:28:20 +00:00
defnax
c3cc5c22ce Changend Uploads columns order
Changend Uploads Progressbar color

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-24 22:39:34 +00:00
alexandrut
26bade91b8 change hash name with real name path for preview
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-22 21:04:44 +00:00
defnax
ac151bf154 changend context menu order
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1326 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-05 17:58:11 +00:00
alexandrut
00ed06f94b separate openOrPreview action in two individual actions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1325 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-05 16:27:58 +00:00
defnax
38f5c7d6ef changend preview icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1318 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-04 23:36:04 +00:00
alexandrut
8ab5cf4f3e open or preview downloading files with a suitable application
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1317 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-04 21:54:58 +00:00
defnax
663659577c reorder transfer context menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1314 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-02 23:47:38 +00:00
alexandrut
8dd20a62ad pause, resume and open folder actions added in context menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1313 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-02 18:40:31 +00:00
alexandrut
0b6800a5ce exchange of what version of retroshare our friends are using
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-28 20:57:02 +00:00
csoler
48218e98cb turtle tunnel management
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-03 18:47:14 +00:00
alexandrut
8cdb8e077f added status icon in the name field of download peers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1280 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-27 22:21:09 +00:00
defnax
0a0816cb77 added view functionality to can set root decorated or not decorated, people which dont wants a + for the tree.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1278 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-27 18:20:08 +00:00
alexandrut
57f86fdb00 integration of filetype icons on downloading files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-27 13:09:03 +00:00
alexandrut
3d37a0c242 -when a file is downloaded through different peers, all peers are put together
under a single root line. line is click-able, when collapsed it displays all
download peers
-sources column shows number of peers as online (offline)
-name column for root/peer shows filename/peername


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1261 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-20 22:06:20 +00:00
defnax
30e4d8d078 added Copy/Paste/Send retroshare//: file urls/links
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1257 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-18 14:23:55 +00:00
csoler
8f024fd08d corrected upload/download status in upload transfers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1252 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-17 13:26:16 +00:00
defnax
cc9b87785f enabled translation for STATUS strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1211 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-10 17:49:41 +00:00
defnax
58f11dda1d enabled for the MessageBox'es translations support
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1202 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-09 01:05:40 +00:00
defnax
d201d41736 enabled multiple selections via mouse,keyboard,CTRL + A ...
added feature to can delete files via Qt::Key_Delete
added messagebox when cancel files from Transfers

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1190 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-07 22:40:57 +00:00
joss17
e34173759e timeout on fil index cache transfer \n Set fileIndex cache transfer timeout to 300sec \n Remove the downloads item for file index cache transfer
Merge branch 'fiIndexCacheTransfertImprove'


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1180 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-06 20:48:32 +00:00
csoler
59cdaba9dc Improved the notification model so that it uses Qt signals to avoid core dumps, and improved the gui to increase responsiveness (e.g. forum display, network discovery info, friends, msg deletion and selection)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-02-22 17:36:39 +00:00