Commit Graph

3570 Commits

Author SHA1 Message Date
csoler
c0f94a41db used tr1::unordered_set instead of std::set to store pointer checking list, as it is more efficients for lookups
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4158 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-15 20:21:52 +00:00
thunder2
099cc6c11c Adding a link from the browser now starts RetroShare when it is not running.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4157 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-14 23:58:30 +00:00
thunder2
20fa00c40e Added handling of RetroShare protocol under Windows.
Added new command line parameter "-r retroshare://..." for adding links to the registered running RetroShare.
Recompile of the GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4156 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-14 21:59:51 +00:00
csoler
a337941555 attempt at making remoteDirModel less CPU intentive. Remove potential deadlock source in SearchDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4155 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-14 21:58:15 +00:00
chrisparker126
2dbd6f4380 removed potential seg fault with decrypting cache file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4154 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-11 19:07:30 +00:00
csoler
5b74d957c0 fixed compilation of retroshare-nogui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4153 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-11 13:15:48 +00:00
csoler
4ea647b78c implemented a verification for tunnel results. When the network gets heavily loaded, some tunnel results happen to get back twice. This stops the tunnel result sibblings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4152 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-10 19:22:15 +00:00
chrisparker126
97b4d5df41 fixed cache opt bug related to new msg notice being flagged up for historical msgs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4151 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-10 16:36:53 +00:00
thunder2
0fbde70e32 New dialog for defining own colors for the private chat window.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4150 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 22:52:52 +00:00
notdefine
eed8ccd1df Deprecated
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4149 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 20:23:01 +00:00
csoler
37f206134b updated ubuntu packaging changelog and script
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4146 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 20:08:37 +00:00
notdefine
52089788f0 fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4145 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 19:58:47 +00:00
csoler
210b43dc47 added temporisation to update of Flat shared files view. Makes it more handy for large lists
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 19:43:09 +00:00
notdefine
2796ec6048 git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4143 b45a01b8-16f6-495d-af2f-9b41ad6348cc 2011-04-09 19:42:52 +00:00
notdefine
c45904f093 New build scripts for packaging debian archives. Will replace the "debian" folder in Future.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4142 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 19:41:20 +00:00
notdefine
df7ead8015 New build scripts for packaging debian archives. Will replace the "debian" folder in Future.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 19:36:29 +00:00
chrisparker126
48d293f8b0 forgot to commit change to gui chanmsgitem for changed subscribe channel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4140 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 17:39:43 +00:00
csoler
f841ffcf13 enabled file preview again for non windows users, using a direct call to the file in partials
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 15:18:26 +00:00
csoler
1dfa0c4155 suspended the addDirectory function, since it s not working properly yet (no hierarchy created, download not working, etc)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 15:06:12 +00:00
chrisparker126
753804eee8 for each channel msg post download request is now only called once.
also added logic to deal with case where auto dl has been disabled then re-enabled after a manual download

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-08 22:08:12 +00:00
chrisparker126
bff095198c for each channel msg post download request is now only called once.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-08 21:58:03 +00:00
csoler
05ed2bec88 fast simplification of code in pqistreamer, and added a missing =null in p3service that could cause a bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-08 20:57:16 +00:00
thunder2
8f0793f071 Removed automatic cleaning of the certificate in p3Peers::loadDetailsFromStringCert.
Added new button in ConnectFriendWizard for cleaning the certificate.
Fixed cleaning:
- added blank line after the armor header
- moved the checksum to a new line
Recompile of the GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4134 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-08 18:53:12 +00:00
chrisparker126
1bef23042f auto download option:
ability to enable and disable channels auto dl added
added gui update to channel feed
msg download not enabled yet

cache opt:
added more enable cache opt #defines to disable cache opt code





git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 22:10:10 +00:00
chrisparker126
814c5d1619 auto download option:
ability to enable and disable channels auto dl added
added gui update to channel feed
msg download not enabled yet

cache opt:
added more enable cache opt #defines to disable cache opt code





git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4132 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 22:09:16 +00:00
csoler
d42d7cfc3e reduced path to only parent directory, to make cost tractable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 22:05:22 +00:00
csoler
8e6962808d - added random bias to search and tunnel request maximum depth
- added random (and biased) re-routing of tunnel request to improve tunnel length.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4130 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 20:16:43 +00:00
csoler
bcdf536c98 added a column for directory in flat view of shared files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4129 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 20:09:32 +00:00
csoler
075efd6503 made sign GPG key button disabled by default, and added a tooltip. As this action cannot be undone,it must be performed knowingly.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4128 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 20:07:30 +00:00
thunder2
c21e13e68d Fixed Q_ASSERT in SharedFilesDialog on Windows.
Load and save the view type (flat or tree) in SharedFilesDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-06 00:19:56 +00:00
chrisparker126
85aad4c75b fix the msg download problem
part of code the disable auto download for channels

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-05 23:07:54 +00:00
thunder2
83837fb9a8 Fixed compile on Linux.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 23:27:36 +00:00
thunder2
bc113326e4 Fixed problem with utf characters in the %APPDATA% path on Windows.
Added function for opening files on Windows and Linux - RsDirUtil::rs_fopen.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4124 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 23:11:38 +00:00
csoler
bc78397a64 removed comment in log abotu bandwidth restriction (not applied)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 20:15:55 +00:00
csoler
b9af3bab92 made FileEntry derive from SmallObject class, to improve memory cache efficiency (50% time gained)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 20:10:26 +00:00
csoler
6c2bdbe214 - added some optimization to RequestDirDetails internal functions
- improved sorting/selection in shared files flat mode
*W* Needs full recompilation.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 19:59:12 +00:00
thunder2
f9c896c3ac Fixed crash on shutdown of RetroShare, when the cache loading is running.
Now the p3distrib threads are stopped before the instance of AuthGPG is deleted.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4119 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 16:20:47 +00:00
defnax
372d837af1 fixed some stylesheets to use gradients instead of a background images, to solve some problems
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4118 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-01 22:38:52 +00:00
csoler
f634331442 - implemented an optional flat view for shared files that allows sorting by date/peer/name
- restored the search for flat view only (very slow for tree view)
- cleaned the code a bit: made two subclasses of RetroshareDirModel: TreeStyle_RDM and FlatStyle_RDM



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4117 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-01 21:46:06 +00:00
chrisparker126
c22a0c79e7 first iteration of history cache opt
compile with ENABLE_CACHE_OPT

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4116 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-31 21:41:13 +00:00
csoler
26311a7ad6 turned some uint32_t into int, for file watch period (did not produce a bug, but was still incorrect)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-31 19:59:56 +00:00
csoler
ccfee2d8e4 forgot this (uint32_t->int)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-31 19:19:30 +00:00
csoler
451c75813d - added a missing pthread_join in file checking, that eventually caused a leak of thread resources
- changed the order of check in tick() to allow cancelling a file that is being checked
- removed the hash step from mutex protection



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4113 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-30 22:35:09 +00:00
csoler
6edee55e57 added error message when thread creation fails
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4112 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-30 22:32:13 +00:00
csoler
5028b749e6 made sign GPG key checkbox unchecked by default
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4111 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-29 21:12:15 +00:00
csoler
beed4ccbde made current index be 0 for showing uploads by default
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4110 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-29 21:10:04 +00:00
csoler
cc5096e40a removed soem debug outputs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4109 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-28 21:54:04 +00:00
csoler
2f22a29d5e added PQI_DISABLE_TUNNEL to all configs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4108 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-28 21:53:21 +00:00
csoler
7c6682b89f added a checkbox in settings for tuning auto-check of shared directories
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4107 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-28 21:52:21 +00:00
csoler
5492f405c3 updated french translation (from romano64)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4106 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-28 21:22:36 +00:00