csoler
d8e4430052
implemented a short circuit to local cache transfers. This saves a large number of file descriptors, and improves reactivity of the software
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2875 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-09 13:49:44 +00:00
csoler
d7d5997d86
suppressed unused files
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2865 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-08 14:43:55 +00:00
csoler
198a1b925d
corrected bug about persistence of default chunk strategy
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2816 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-30 21:00:28 +00:00
csoler
f0e1d2afc3
corrected one nasty bug due to missing return
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 18:56:30 +00:00
csoler
9abbe935b3
added security to fd management, corrected bug causing bad fseeks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2651 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 10:03:44 +00:00
csoler
d246ff2d7b
suppressed uninitialized memory read in file transfer, also made the TransferDialog more secure
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2643 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-26 22:41:13 +00:00
csoler
058f965b71
cleaned some debug text, suppressed a few memory leaks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-24 21:46:41 +00:00
csoler
3b1006bfa4
fixed a bug in download queue when ticking inactive files. Added a checkbox for showing cache transfers. Cleaned the dialog cleaning method.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2583 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-21 15:35:20 +00:00
csoler
20fd24d7b8
suppresed bad lookup in _queue causing SIGV
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-21 13:50:11 +00:00
csoler
589711d482
cleaned the config->Transfers tab, made the default chunk strategy combobox effective.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2576 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-17 21:10:10 +00:00
csoler
8305fe0bf7
- fixed copy/paste of RS links in public and private chat
...
- cleaned the code for anchorClick() in private chat
- added return false for FileRequest of already have files
- suppressed sources when the file is complete, in TransfersDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-17 15:01:00 +00:00
csoler
1d016a6ceb
added proper close for file transfers. This drops down the number of FDs from 250 to ... 50 svn status
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-16 13:33:49 +00:00
csoler
a914e463d3
added missing locks, that caused random crashes
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-16 12:42:52 +00:00
csoler
11ce908e15
fixed the pause system
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-12 23:29:50 +00:00
csoler
b4d8c398ce
made branch v0.5.0 to stabilise the dev of v0.5
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-12 20:15:27 +00:00
csoler
5f7486f160
added proper dynamic suppression of sources from chunkmap, and updated the gui
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-07 14:42:13 +00:00
csoler
144669e672
suppressed debug msg
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-06 23:37:42 +00:00
csoler
9e469d8baf
Added proper dl queue behavior
...
- suppressed old DwlQueue class
- turned mDownloads into a list of pointers to allow easy cross-info update between queue and std::map of downloads
- added queue functionality for moving files top/bottom/up/down
- added the necessary functions in rsFiles
Put back display of exact sizes in FileTransferInfoWidget
Suppressed some warnings.
**Warning**: this commit requires a make clean.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-06 23:29:47 +00:00
csoler
e3f2f66702
suppressed bug in file transfer while removing inactive chunks.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2468 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-01 20:46:29 +00:00
csoler
e4a508ab5b
warning suppression
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2411 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-23 22:30:51 +00:00
csoler
3d11b15490
warning suppression, removed unused p3portservice from compilation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2408 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-23 22:17:06 +00:00
csoler
5633e7b5f4
made complete files stay in the download list
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2373 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-19 20:36:47 +00:00
csoler
851e9069f6
corrected compled completion and file progress issues
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2356 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-17 22:10:12 +00:00
csoler
154ef63474
removed potentially harmful code. Warning: needs make clean in libretroshare
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2335 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-15 20:44:37 +00:00
csoler
799cfca972
added missing scope guard
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2333 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-15 18:03:27 +00:00
csoler
5926c79822
corrected bug in file completion
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-13 20:42:49 +00:00
csoler
b0f7275ac0
suppressed uninitialized memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-10 21:32:45 +00:00
csoler
9753b47576
suppressed bug in creation of cache directories
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-10 20:32:21 +00:00
csoler
365ef569dc
suppressed some uninitialised memory reads
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-09 20:31:49 +00:00
defnax
96caa40895
fixed windows compile
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2241 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 17:38:57 +00:00
joss17
6f1e4623ab
further log cleanings
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2239 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 14:06:43 +00:00
joss17
bf67301d71
remove a maximum of debug outputs for the release
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 21:28:40 +00:00
csoler
3621ef4a95
resurected error msg window. Added a check for file hashes in FileRequest() to detect issues with badly formed file links
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 18:10:12 +00:00
csoler
2521431afa
reverted last change on packet size. Seems to screw the convergence of speed. We need to tweak that a little more
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2221 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-06 22:27:44 +00:00
csoler
93aa334219
setup chunk slicing in FT to 32K instead of 8K. Seems to work perfectly, and faster, since TCP slicing is less likely to waste packets when the size is not a multiple of the TCP slice (1500 bytes?)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2210 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-05 23:10:32 +00:00
csoler
e08d13397a
fixed a completion issue in FT
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2174 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-02 22:15:42 +00:00
csoler
b592bdac62
added return statements is functions that missed one
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-27 08:24:39 +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
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
e2b807aad7
added regular cleaning of inactive chunks and slices, so that they can be treated by a different peer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2102 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 12:31:00 +00:00
joss17
f481dbef59
add include for latest gcc. Comment usleep fonction in tou_net.h
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-20 22:02:43 +00:00
csoler
3afd4442c9
forgot flag in ::alreadyHaveFile()
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2059 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-16 23:51:46 +00:00
csoler
e70e995894
added functionnality to complain when a download is initiated over a file already in download, or in the HD
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2055 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-16 15:42:26 +00:00
joss17
9976b80566
remove the ssl cert storage. Big rewrite of ssl cert and friend management
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2017 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:22:52 +00:00
joss17
9d53481946
make it run
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2003 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:01:06 +00:00
joss17
a0a64fb588
make it compile
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2002 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 20:58:58 +00:00
joss17
c23407cae3
get rid of p3authmgr
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2001 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 20:56:55 +00:00
csoler
96147a9734
added flags to file request: RS_FILE_HINTS_ASSUME_AVAILABILITY to not wait/ask for chunk maps. Used for cache transfer and also whenever the turtle traffic is not involved, such as chat file exchange, and RS_FILE_HINTS_NETWORK_WIDE to force using turtle routing for traffic. Also moved turtle tunnel start/stop orders from ftServer to ftController
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-11 22:38:18 +00:00
csoler
f02b009d7b
fixed win32 compilation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1994 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-11 20:10:04 +00:00