Commit Graph

3962 Commits

Author SHA1 Message Date
csoler
d43a131c04 Improved CRC32Map checking in several ways:
- servers now compute the map in a separate thread
- CRC32Maps are kept in cache for 30 mins
- CRC32Maps requests cannot be used to overflood a server anymore since their number is limited.
- Transfer modules now send keep alive packets to maintain tunnels when asking for a CRC32Map



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4661 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-03 23:18:00 +00:00
csoler
a9cb864717 corrected bug in CRC32 map cross-checking: only downloaded chunks would be checked.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4660 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-03 23:12:54 +00:00
csoler
e202a01862 fixed bug: re-allocation of local variable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-02 13:58:33 +00:00
csoler
3c2a5e8f42 Added a filemapper class to store downloaded files sequentially on the HD. The mapper automatically
re-organises (e.g. defragments) data such that
- when the DL is finished, the file is in the correct order (no need to re-order it)
- during the DL, only the n*_chunk_size first bytes of the partial file are written, where n is the total number of downloaded chunks.
- the total amount of copy operations does not exceed the total size of the file. In practice, it's much lower.

That suppresses the lag when downloading large files due to writing isolated chunks in the middle of the file.

Next:
- integration into ftFileCreator
- load/save in ft_transfers
- retrocompatibility with existing transfers.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-01 14:20:51 +00:00
csoler
9761c4c980 fixed compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-01 14:14:20 +00:00
csoler
51bd5e7d96 fixed compilation of fimontest.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-31 13:19:35 +00:00
thunder2
e3245fac5c Updated german language
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-29 20:06:27 +00:00
csoler
e045d72acf updated ubuntu changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-26 18:26:31 +00:00
csoler
a48dc86fb8 removed delay in file checking that would cause excessively long file update cycle
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-24 16:11:12 +00:00
csoler
78955270e2 corrected bug about wrong layout of friend list (patch from asamK)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-24 16:10:24 +00:00
defnax
659814f156 fixed the FriendList layout
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4651 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-23 22:39:08 +00:00
csoler
1fc8c5ef70 implemented slice sharing between peers.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4650 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-23 18:43:58 +00:00
thunder2
8e40fd6360 Replaced spaces with %20 in RetroShare links.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-22 11:15:30 +00:00
csoler
c8ea41a4db corrected bug that would allow a direct friend to DL a file that is NETWORK_WIDE only, using direct transfer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4648 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-21 22:25:18 +00:00
csoler
303f6333f6 obfuscation of TR and SR by random rare non-increase of length 1 requests (original idea by Costa)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4647 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-21 21:39:36 +00:00
csoler
521e9cb7c2 added missing files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4646 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-20 22:48:50 +00:00
csoler
01a93b5f36 commited rest of AsamK patch for factoring friend list.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4645 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-20 21:34:44 +00:00
defnax
c876925e57 layout changes for PluginItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4644 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-18 22:53:47 +00:00
defnax
26e114bfae fixed windows lib path
fixed qrc resources load

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4643 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-18 22:27:41 +00:00
csoler
1c8c62f999 updated ubuntu changelog. Added oneiric 11.10 in the list of builds
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-16 18:39:47 +00:00
csoler
d8702d73d2 added missign lib for ubuntu oneiric
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4641 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-15 18:44:37 +00:00
csoler
6a585517f0 corrected previous commit. Included file that does not exist yet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4640 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-15 17:41:48 +00:00
csoler
2b6d2ede7c added missing lib to link line for ubuntu oneiric
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4639 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-15 17:38:43 +00:00
csoler
8ae018d0f1 imported french translation from Max Romeo
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4638 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-14 21:49:15 +00:00
csoler
6989a40312 fixed issue of loading the correct instance of RetroShare.conf when switching locations (Patch from AsamK #3423256)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4637 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-14 21:16:34 +00:00
thunder2
7a98e83df1 Fixed some more utf8 issues with umlauts in the Windows user name.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4636 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-12 23:36:25 +00:00
thunder2
7e3a342a9a Fixed utf8 issues (Patch from Asamk #3393353)
SearchDialog: enable search for strings containing utf8 characters, I assume that filenames are always stored as utf8 on all platforms
ConnectFriendWizard: adding friends with gpg key or from file, now sets location name correctly
notifyqt: setting status message in chatwindow works correctly now, when a friend changes his message while the chat window is open

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-11 23:29:38 +00:00
thunder2
e3798dafe9 Fixed utf8 issue with links from browser (Windows only).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4634 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-08 17:49:06 +00:00
chrisparker126
c1af9b13ad fix for windows plugin system
uses call back to expose the retroshare interface to plugins



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4633 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-08 17:47:36 +00:00
csoler
2173ee0d2e fixed bug with anonymous channels asking for friends to be sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4632 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-06 20:06:25 +00:00
csoler
6addc80e99 fixed link passed issue due to usin self-closign links (Patch from Asamk #3418941)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4631 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-05 16:57:33 +00:00
csoler
15758578e0 fixed display of filename when an upload is a partially downloaded file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4629 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-01 21:10:03 +00:00
thunder2
086f33c1a6 Add the private chat message to the history after removing the private chat queue (when the user has read the message).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-01 20:50:39 +00:00
chrisparker126
af3f9b1dcc Added loading text to forumsdialog and enabled percentage numbers to be
shown also


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-01 15:19:19 +00:00
thunder2
363af69254 Fixed utf8 issue in history manager.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-01 13:12:28 +00:00
csoler
c650265704 added display of TR forwarding probability as a function of depth
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-01 11:46:00 +00:00
thunder2
b3bcfe9d30 Fixed compile on Linux.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-29 09:52:01 +00:00
thunder2
29c090fb44 Moved the chat history into the libretroshare.
Now the history is saved encrypted. Please delete all files with "chat*.xml" in your profile folder.
Added new config p3HistoryMgr and interface p3History.
Added new option to limit the count of the saved history items.
Added new simple html optimizer "RsHtml::optimizeHtml" to reduce the size of the html strings.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4623 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-29 09:20:09 +00:00
csoler
c6a68fe05e updated ubuntu changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-29 09:15:36 +00:00
csoler
5ae506c317 - Changed default random number generator to use RAND_bytes from openssl.
- Updated random testing code and fixed compilation



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-28 19:34:27 +00:00
drbob
febcfc9bd3 Bugfix: missing TCP connection call - when peer is found on the DHT.
* save IP address for DHT display.
	* store Action in action Queue (the BUG).



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4620 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-28 16:01:22 +00:00
drbob
5ea8cfb67d Added Ben's patches:
* Compilation for FreeBSD.
	* Notes that MT is not cryptographically secure.
	* modified sorting of DHT Window.

Only one change that I didn't commit:

 bitdht {
-       LIBS += ../../libbitdht/src/lib/libbitdht.a
-       PRE_TARGETDEPS *= ../../libbitdht/src/lib/libbitdht.a
+       LIBS += ../../libbitdht/src/libbitdht.a
+       PRE_TARGETDEPS *= ../../libbitdht/src/libbitdht.a
 }

As this would have broken compilation on the other platforms.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-28 15:16:21 +00:00
thunder2
bb9f362458 Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-27 20:25:12 +00:00
csoler
21feaf46da fixed sorting of transfer by priority
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4617 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-26 21:39:28 +00:00
csoler
b4d4f3171c fixed inaccurate text in transfer page
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4616 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-26 21:00:25 +00:00
csoler
4111740cb6 fixed utf8 issues in sending cert by email (patch from asamK #3393826)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-25 12:33:37 +00:00
csoler
ad4b0153b2 added next unread button to forums (patch from devnewton #3401840)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4614 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-25 12:15:25 +00:00
csoler
fdd8825399 removed unused code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4613 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-23 21:14:19 +00:00
csoler
97ed1d534f - removed calls to rsfiles->get{Download,Partials}Directory() in RsDiscSpace class, since it would trigger a call to ftController
- added a lock into ftTransferModule::recvFileData() (Crash reported by Costa due to storing data in a deleted transfer module)
- changed names of functions in ftTransferModules to locked_* when appropriate (helps debugging)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4612 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-23 21:08:11 +00:00
csoler
3ed0c1d885 added patch from AsamK to show the availability status of peers at the level of locations instead of GPG keys
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4611 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-23 17:06:07 +00:00