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
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
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
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
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
thunder2
cfcb6ac5c4
Show last error (GetLastError) in log when lock file cannot be accessed on Windows.
...
Fixed german language.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-21 22:16:03 +00:00
chrisparker126
e44c52d256
fixed file leak in history cache opt
...
enable with compile define ENABLE_CACHE_OPT, recompile p3GroupDistrib.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-21 21:34:56 +00:00
chrisparker126
94b7522516
added main parts of history cache optimisation. disabled at the moment
...
(has file leakage)
check-pointing work essentially, but in principle working,
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4099 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-20 18:27:56 +00:00
chrisparker126
2dd6581f14
added lockfile path info to the multiple-instances warning window in rs-
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4098 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-16 23:25:57 +00:00
csoler
7049920f68
attempt to make GPG errors more verbose at cert exchange time
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4096 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-15 23:15:46 +00:00
csoler
2399978102
implemented a backward compatible fix for bug when searching (advanced) with max size larger than 2Gb
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4095 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-15 23:14:11 +00:00
csoler
794ab4aa06
implemented a backward compatible fix for bug when searching (advanced) with max size larger than 2Gb
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4094 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-15 23:12:46 +00:00
csoler
9e2be4b5be
implemented a better management of tunnel requests
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4093 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-15 23:09:31 +00:00
thunder2
c64cb3b5f2
Share the download directory by default.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4090 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-08 23:29:21 +00:00
thunder2
af4dd635e3
Removed member ftController::mShareDownloadDir and calculate the value from the shared directories.
...
Combined the two methods for share and unshare of the download dir.
Added share incoming directory to the QuickStartWizard.
Recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4089 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-08 20:05:36 +00:00
csoler
3b6388dbb8
suppressed testnetwork target from default compilation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4087 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-07 12:27:12 +00:00
thunder2
127eac1118
Fixed utf8 issues when the partial or the download dir is set to a utf8 dir.
...
Use the native dialog for selecting the shared folder.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4083 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-06 20:19:16 +00:00
thunder2
b245ad7cf7
Messages with plain text (like the welcome message) are shown correctly.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4080 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-06 12:58:18 +00:00
csoler
1027621e07
added missign destructors, causing some parasitic memory leaks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4079 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-05 18:26:33 +00:00
drbob
e72155c9dc
Added missing return... which was crashing OSX during directory creation.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4077 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-05 03:43:40 +00:00
chrisparker126
ec0ce30103
checked in first bits of code for cache service data optimisation,
...
distrib can build grps xml document
added pugixml src code into utilities
pls see design document:
http://retroshare.sourceforge.net/wiki/index.php/Documentation:design_services_histories
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4076 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-04 22:16:25 +00:00
thunder2
0a42b7899e
The working (hashing) thread FileIndexMonitor is now stopped when RetroShare is closed.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-03 23:30:08 +00:00
csoler
dd73fe3a9a
supressed memory leak due to not deleting a RsItem
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4069 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-02 14:36:27 +00:00
csoler
800cc281c5
suppressed potential SIGSEGV as exit time
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4068 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-03-02 14:33:32 +00:00
csoler
1489d85ce9
forgot to commit fopen64 fix to this file
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4059 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-25 08:02:12 +00:00
csoler
e39a04ee7f
last fix to missing ftello64 calls (hopefully)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-24 22:44:41 +00:00
csoler
ea84a81886
fixed bug with big files. To be tested.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-24 22:22:59 +00:00
csoler
f6dc46da73
fixed bug with big files. To be tested.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4055 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-24 22:19:04 +00:00
csoler
ebfe8b9828
disabled error msg from pqistreamer, as it is not an error in 99% of the cases it happens
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4051 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-23 19:32:51 +00:00
csoler
827dbd8cf3
added a memory management class for small objects.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4046 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-20 21:36:21 +00:00
thunder2
db19db7e60
Optimized some small things in TransferDialog and SearchDialog.
...
Changed the parameter of the constructor of ftFileCreator and ftFileProvider and some methods of ftTransferModule from "std::string" to "const std::string&"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4045 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-20 00:59:47 +00:00
thunder2
61b57ede65
Reactivate minimal version
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4044 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-18 23:26:08 +00:00
csoler
b7b8831f71
fixed bug for hash size display
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4040 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-16 22:33:44 +00:00
csoler
9de341953d
removed duplicate hashing function. Now the hash buffer is always 512 bytes.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4038 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-14 19:59:06 +00:00
thunder2
0c22066d3d
Switched off optimization for Windows build.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-12 00:47:10 +00:00
thunder2
4b8766aec3
Fixed compile on Windows and removed some compiler warnings.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-11 21:23:44 +00:00
drbob
074f382eab
Final tweaks to dummy msgs:
...
* Added MISSING_MSG flag for GUI support.
* tweaked message.
* disabled debugging messages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4032 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-11 14:08:04 +00:00
csoler
4ff7e52f91
added missign return
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-10 11:13:33 +00:00
csoler
081cfee461
made init port random, depending on the SSL id
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4026 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-09 20:21:28 +00:00
chrisparker126
bbcbc9282e
added key restore to forums and fixed restore bug
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4023 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 22:34:54 +00:00
csoler
c448e82987
suppressed --probably-- harmless data race
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 19:37:01 +00:00
drbob
bad3e81077
* Changes to fix the "Parent Bug" in Forums.
...
- added Search Functions (for DummyMsgs) to p3distrib
- added timestamps to RsDistribDummyMsg.
- interfaced in p3forums
Not sure about its interaction with "Read Msgs".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 18:18:16 +00:00
drbob
ce298e62cf
Added AutoLogin clear for OSX
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4019 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 12:29:11 +00:00
csoler
c0201b8dd2
corrected bug of not sending info to own location (tracker 3104190)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4016 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-05 20:44:41 +00:00
drbob
dec7a36835
Added First Part of tracking missing messages.
...
* Added RsDistribDummyMsg class to each GroupInfo.
* Added function to check for missing parents.
* added print functions for debugging.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-03 00:41:16 +00:00
thunder2
78aacb927f
Fixed compile of the changes in rsloginhandler on Windows.
...
Fixed german language.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4009 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-02 22:38:56 +00:00
drbob
0dcef10ec2
Fixed the FriendFeed backup of messages:
...
* switched to one universal PendingCache list.
* added mHistoricalCaches variable to p3distrib - to indicate when old caches have been loaded.
* added calls to p3GroupDistrib::HistoricalCachesDone() in rsinit.cc
* added "historical" parameter to lots of p3distrib functions.
* updated child classes to only add FeedItems if (historical == false).
* Switched Validate / Duplicate Msg checks to speed up historical data load.
* corrected rsrandom function for OSX.
* bugfix to rsloginhandler function. (compile error).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4008 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-02 21:03:46 +00:00
csoler
8c35ecdc67
Cleaned the login code:
...
- Added a RsLoginHandler class, responsible for storing/loading the SSL passwd from keyrings/disk/gpg file
- Removed RsInitConfig::havePasswd, RsInitConfig::haveHelp, etc.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4007 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-01 23:27:53 +00:00
thunder2
23782a9d28
Fixed compile on Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4004 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 21:04:09 +00:00
csoler
c4b8094d8e
restored random seeding of the Mersenne twister (plz dont remove this! If it does not compile on windows, use time(NULL) only)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4000 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 15:27:02 +00:00
thunder2
62f7404199
Fixed compile on Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3999 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 11:37:34 +00:00
drbob
71798f4e8a
moved p3distrib loading to background thread.
...
* Added Cache Queues to p3distrib.
* Created p3ThreadedService class.
* added code to launch these threads.
* debug code to see loading.
Seems to be far too many called to gpg->verifySignature()... to look at.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3998 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 01:37:59 +00:00
drbob
1f9395058c
Added OSX keychain functionality.
...
* Done save and read, need to do "remove autologin" .
This can be done manually through KeyChain Acess program.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-30 00:13:52 +00:00
thunder2
91c2c0e4bf
Fixed compile on Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3996 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-29 19:08:30 +00:00
notdefine
55ae64a277
Needed header for complie on Gentoo
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-29 17:53:08 +00:00
csoler
29d143bebc
- made the SSL passwd more secure (10^126 different passwds now) and random, based on the internal Mersenne twister.
...
- kepts compatibility with existing autologin passwds. Only new locations will have a long 64 chars passwd.
- implemented storage of SSL password in gnome keyring for autologin on ubuntu
- added UBUNTU define in both .pro files.
- suppressed display of SSL passwd at login
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3993 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-29 14:27:16 +00:00
csoler
25056b3623
added function for generating random ascii strings, and improved the test program to test for this as well
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3992 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-29 14:23:07 +00:00
thunder2
c2a81daf01
Fixed display of the names and avatars in ForumMsgItem.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3985 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-26 21:36:13 +00:00
defnax
9263710f9e
added to display avatars and author names for ForumMsgItem
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3984 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-26 09:34:48 +00:00
csoler
e57f8836e4
suppressed debug info, added lock
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3983 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-25 23:28:22 +00:00
csoler
6d44694c7a
corrected bug in DNSSolver that caused high CPU usage
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3982 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-25 23:03:44 +00:00
csoler
bad9007019
fix for compilation issue
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3981 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-25 11:24:06 +00:00
csoler
40f4009ca7
made the DNS calls in a separate thread, using new DNSResolver class. Added test program for that class as well. Moved extaddrfinder to util/
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3980 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-24 22:05:10 +00:00
chrisparker126
dddc9c383c
fixed issue with double delete of keys, refactored key sharing logic
...
into attemptrecvkeys and receivepubkeys functions (minor changes to
loadlist)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3979 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-23 18:02:51 +00:00
csoler
c7b28dfb7d
added load/save of max simultenous downloads
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3978 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-23 14:55:57 +00:00
csoler
107d904c22
added debug info to packet errormessage for devs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3977 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-23 14:35:43 +00:00
csoler
ee5417e46a
suppressed bug due to asking again to publish a groupkey that had been deleted before.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3976 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-23 14:06:56 +00:00
thunder2
42e32b9514
Fixed compile under Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3975 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-23 12:37:42 +00:00
drbob
1f33bdc471
Fixed the OSX GPG bug!!!! Turns out that the gpg processes were not being cleaned up,
...
so RS ended up with 200+ zombie child processes. This prevented gpg from being called.
The fix was to add waitpid() calls to cleanup the zombies.
* added cleanupZombies() to authgpg.cc (OSX only).
* updated OSX gpgme libraries to 1.3.0 (added libassuan to RetroShare.pro).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3974 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-23 11:57:09 +00:00
csoler
a1154b6935
suppressed memory leak in construction of RsDiscReply packet
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3973 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-21 22:04:14 +00:00
chrisparker126
920ebe3a5a
enhanced key sharing;
...
shared key now saved if not subscribed and rs is shutdown
also 'blue font' update sent once shared key received
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3972 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-20 23:47:04 +00:00
csoler
474aa31fd1
suppressed debug printfs and costly outputs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3967 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-20 17:25:30 +00:00
notdefine
35c97a6f65
Revert Changes
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3962 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-10 15:30:37 +00:00
notdefine
d9d996c587
Don't move priority files to the end of the queue, when partner peer is not reachable. set the queue priority to +1 in the queue, so they will be first resumed after one of the lower priority downloads finished
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3961 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-10 14:58:49 +00:00
thunder2
f82a9a3c5f
Faster processing of the gpg keys for discovery.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3959 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-09 12:31:41 +00:00
csoler
c9911694ff
corrected a bug that caused file descriptors to never get closed. Adding some tracing comments.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3958 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-08 23:27:33 +00:00
csoler
dae62c6821
added missign destructor call that resulted in file left open
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3957 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-07 22:43:21 +00:00
thunder2
4b091a54d6
Added new statusbar widget about pending discovery informations.
...
You can enable it in the server settings.
Recompile of GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3956 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-07 16:56:57 +00:00
thunder2
dd55b2bf74
Moved strings of RsPeerDetails::autoconnect for translation to the GUI side and added integer constants for it.
...
Fixed sorting of available friends in MessengerWindow.
Recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3952 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-06 18:26:39 +00:00
thunder2
28b4534fdf
Removed unnecessary variable "ownId" in ftController::FileRequest.
...
Optimized parameter of rsForums from "std::string" to "const std::string&". Recompile of the GUI needed.
Cleared childTS in RsDistribMsg::clear.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3949 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-04 19:46:27 +00:00
csoler
8de9d39cc0
Suppressed 4 memory leaks:
...
- authssl would call OPENSSL_malloc without OPENSSL_free
- pqistore was not deleting items in pqiSSLStore when BIN_FLAGS_NO_DELETE is not here
- rsdir/rsinit were calling opendir withoug closedir (which might eat FDs, in addition)
- udplayer was not freeing it's 16KB buffer at end of loop.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3948 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-01 20:37:10 +00:00
csoler
40efe19efa
added chunk request info, and chunk download info. Corrected bug displaying speed for stalled transfers. Warning: needs full recompilation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3935 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-26 10:58:02 +00:00
thunder2
312f23bd4e
Used GPGME_VALIDITY_... constants in ConfCertDialog and NetworkDialog.
...
Changed the usage of RsPeerDetails.validLvl to RsPeerDetails.trustLvl for the display in the column "Did I authenticated peer" in NetworkDialog.
Added an icon to the MessageBox of the NotifySysMessage.
Fixed german language.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3926 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-21 21:13:08 +00:00
thunder2
ab42691a31
Removed unnecessary loops for debug output in CacheStrapper::loadList without debug enabled.
...
Changed parameter of RsDirUtil::cleanupDirectory from "std::list<std::string> keepFiles" to "const std::list<std::string> &keepFiles".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3925 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-21 13:30:45 +00:00
chrisparker126
5bc8e68059
Made key exchange more stable.
...
removed restore key function
sorry introduced lock with my last commit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3924 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-20 16:03:04 +00:00
thunder2
35f91f5e07
Added some optimizations (const std::string&) to the load of the caches at startup and to the p3ConnectMgr.
...
Added PRE_TARGETDEPS in RetroShare.pro for Windows too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3923 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-19 23:50:46 +00:00
chrisparker126
2f559dae96
removed channel delete feature
...
added optimisation suggestion with load/savelist
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3920 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-18 19:35:07 +00:00
csoler
8cfe5abbe2
reduced CPU cost of file index by suppressing lots of std::string copy actions
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3917 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-15 22:51:41 +00:00
csoler
98f471c56b
added auto-remove of unused and dummy locations every 10 minutes (still keeping at least one location for each GPG key). Suppressed exchange of p3disc info for dummy locations.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3915 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-14 21:56:37 +00:00
csoler
1495758d45
allowed EXTAddrFinder service by default
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3914 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-13 22:34:22 +00:00
thunder2
2a69abe570
Completely reworked the toasters. Now there is only one place that moves the toaster and the toasters are stacked.
...
Removed the chat and call toaster.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3900 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-08 00:14:12 +00:00
csoler
9bb5f304b7
changed function name addDistantPeer to locked_addDistantPeer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3899 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-07 21:45:12 +00:00
csoler
f5bfc8c92a
changed a bit the file transfer strategy. To be tested further.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3898 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-07 17:09:21 +00:00
thunder2
38203704f0
Count the own gpg id as friend, when another location exists.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3896 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-05 00:20:11 +00:00
csoler
516bfa4b9a
moved crashfile retro.log into the current SSLID directory to avoid conflict between multiple RS instances running on the same computer
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3889 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-30 22:12:41 +00:00
csoler
ad01becb1a
restaured connexion to self GPG key with different location
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3888 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-30 22:02:18 +00:00
csoler
9ec813b4b8
corrected quite subtle bug in ftdatamultiplex, due to deleting a filecreator that is also a file server.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3879 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-29 20:46:21 +00:00
csoler
90211debe9
added missing mutex (caused memory error)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3878 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-29 17:21:51 +00:00
csoler
ac26433450
removed debug info and unused code
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3875 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-27 20:13:43 +00:00
csoler
4f80b2557e
corrected a cross lock between p3ConnectMgr::connectResult() ->...-> UdpBitDht::removeFindNode() and bdNodeManager::iteration() ->...-> p3ConnectMgr::retryConnectUDP(), by making calls to netAssisFriend() off-mutex.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3874 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-27 20:00:26 +00:00
thunder2
fc08d1171f
Added simple toaster for download complete.
...
Added new icon in MainWindow and systray icon for existing completed downloads.
You can enable/disable the toaster and the systray icon in NotifyPage.
Recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3868 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-25 00:20:25 +00:00
drbob
cd33979729
I am an idiot... silly mistake in last checkin.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3862 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-23 20:04:14 +00:00
drbob
d9847e2622
Fixed deadlock between p3connmgr::mtx and libbitdht::mtx
...
* shifted dht stats call outside of p3connmgr's mtx.
NB: As Dht callback functions hold DHT lock, then lock p3ConnectMgr...
we cannot have any opposite locks (p3connmgr, then DHT) or we have
potential for a deadlock.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3861 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-23 19:32:19 +00:00
drbob
80de6ccdb4
* removed self from channel download requests.
...
* enabled (limited) debug messages to check!.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-23 00:08:30 +00:00
drbob
bb102750f3
Fixed up mutexes and removed recursive call into libbitdht on callback.
...
* mUdpBitDht doesn't need to be protected by a mutex - as it is static for all intensive purposes.
* updated PeerCallback() fn signature, and removed extra address callback. (part of args now!).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-23 00:06:54 +00:00
csoler
d83a7118fa
removed potential cross-lock situation (reported by Valgrind)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-22 21:15:21 +00:00
csoler
34a3fc4ea8
removed useless include
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3854 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-22 21:01:54 +00:00
csoler
b94e4376a4
only assume availability for cache transfers. All other transfers now use ChunkMaps
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3853 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-22 20:57:53 +00:00
csoler
02d228b94b
added missing locks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-21 15:08:33 +00:00
csoler
b2b67cfecc
added comment
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3839 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-21 13:35:10 +00:00
csoler
b08a924376
corrected uninitialised memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3838 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-21 13:30:34 +00:00
csoler
61e7cf234c
removed debug output from p3disc
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3831 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-19 22:42:29 +00:00
csoler
b4da2948ed
corrected spell error in data directory for linux to enable consistency with packager installation: /usr/bin/Retroshare -> /usr/bin/RetroShare
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3830 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-19 22:40:08 +00:00
csoler
4e2e8f72b3
corrected missign return value
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3805 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-16 20:58:26 +00:00
thunder2
39907c1afc
Added tabbed PopupChatWindow. You can switch to tabbed chat window in the settings (NotifyPage).
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3797 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-15 20:49:24 +00:00
csoler
1e28183c2d
changed minimum chunk size to 1KB/s and max desired rate to 10MB/s
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3796 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-14 21:38:12 +00:00
csoler
2094734391
improved networkview. It now displays GPG connexions from p3disc, and accepts dynamic friend level modification. Needs full recompilation.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3793 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-14 21:03:36 +00:00
thunder2
734301c2bc
Scroll the text browser of the PopupChatDialog on first show and on every new chat messsage to the end.
...
Removed setting "Reopen if closed by user" and flag RS_CHAT_REOPEN.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3788 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-13 21:53:06 +00:00
drbob
7203229126
Cleaned up Transfer debug, now that we've found the windows bug.
...
* new uniform #define DEBUG_TRANSFERS to switch on packet timings.
* switched off by default.
* enabled BinData printing again.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3785 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-13 11:46:17 +00:00
thunder2
c36fab48d8
Fixed recommended files in MessageComposer. Unchecked recommended files was sent too.
...
Removed not needed member inRecommend on FileInfo.
Recompiled of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-12 23:48:12 +00:00
thunder2
f769c66991
Fixed upload speed problem of Windows systems.
...
Set TCP buffer size to 128 KB.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3782 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-12 21:05:59 +00:00
csoler
ce75b486f4
corrected bug due to uninitialized memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3781 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-12 15:21:49 +00:00
drbob
d649a27fd9
Added TRANSFER debug to pqistreamer.
...
* print packet size and time - when actually sending it.
* print reason for stopping to read or send packets.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3780 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-11 23:59:04 +00:00
drbob
06273fa775
Hackish changes to debug Windows Transfers...
...
Committing these so others can run tests.
Most of these changes will be removed once the problem is fixed!
* Fixed formatting of various serialiser item::print() fns.
* Disabled printout of TlvBinaryData - data.
* added AccurateTimeString() function to util/rsprint.cc
* print serialise / deserialise of FileRequest & FileData + Timestamps.
* added print + timestamp in ftFileProvider::getFileData()
* #define TRANSFER_DEBUG to isolate these changes.
* enabled debugging in fttransfermodule.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3779 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-11 20:51:17 +00:00
csoler
9397491634
fixed default chunk strategy value (uninitialized)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3778 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-11 19:36:39 +00:00
csoler
c00e11ed2b
switched random chunk strategy to true random
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3777 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-10 22:05:34 +00:00
thunder2
50024e3f5e
Changed the message service to save the receiver of the pending outgoing messages too.
...
The saved peer id's are now removed, when the message is removed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3776 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-10 20:37:02 +00:00
csoler
f7d5836a86
corrected 1 bug and 1 warning
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3769 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-09 20:49:42 +00:00
chrisparker126
5ba29c9348
channels cleanup warning does not include msgs with no files
...
and client's msgs
also put an exception when cleaning files not to touch admin files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3765 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-08 23:12:20 +00:00
csoler
f2406d4e57
improved random chunk strategy, to limit cluster effects on files partially downloaded in streaming
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3764 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-08 22:09:43 +00:00
chrisparker126
6783e63ce0
added channels file clean up warning
...
added channels private key notification, and new private channel key behaviour (must subscribe to accept a private key)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3757 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-07 00:03:35 +00:00
chrisparker126
885d71370c
added channels file clean up warning
...
added channels private key notification, and new private channel key behaviour (must subscribe to accept a private key)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3756 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-07 00:02:51 +00:00
thunder2
c19c8b5532
Send RsDiscReply information of the connected friend to himself too, when there is only one ssl id available. The reason is, that the signers of the gpg key has to be transfered. The friend skips the own RsDiscReply informations, but imports the gpg key.
...
Reload all gpg keys in AuthGPGimpl::LoadCertificateFromString, when new signatures are added - not only the key was imported.
Changed parameters of RsPeers and AuthGPG from "std::string" to "const std::string&"
Recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3753 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-06 16:40:18 +00:00
csoler
a32bcbb635
dynamic update of networkview from p3disc info. Disabled friend level for now.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-05 22:46:40 +00:00
thunder2
08a69d603b
Added missing IndicateConfigChanged in p3MsgService::loadWelcomeMsg to save the welcome message.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3749 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-04 18:03:54 +00:00
thunder2
0e41211f3c
Added new return codes to RsInit::InitRetroShare to know, what failed.
...
Show error box when gpg initialization failed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-03 22:54:34 +00:00
thunder2
8e583f58be
Changed path for the DHT bootstrap file to RetroShare's exe dir for Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3742 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-03 01:33:49 +00:00
thunder2
3c65283f8f
- Change methods of RsMsgs from "std::string" to "const std::string&"
...
- Fixed sent messages doesn't get the flag RS_MSG_FLAGS_NEW
- Rework reply and forward message, now the replied or forwarded message gets the state and not the answer itself
- Added RsMsgParentId (with test) to save the parent of the message in draft
- Change methods of MessageComposer from "std::string" to "QString"
- Show image in the message row in MessagesDialog again
- Fixed umlauts in recommended files in MessageComposer
- Renamed tab "Live Chat" in "Group Chat"
- Fixed german translation
recompile of the GUI needed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-02 21:11:11 +00:00
csoler
f2609fa3ce
use partial saves only when really hashing something
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3733 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 22:02:15 +00:00
csoler
80492cfd48
enabled cache fill when on and empty. Cleaned the tooltips
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3730 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 21:35:15 +00:00
csoler
630156a5e8
added an optional cache for hashes, so that hashed files are remembered for some days.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3729 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 20:35:31 +00:00
chrisparker126
618cc702a8
added file moving utility to rsFile interface to channels file save consistent
...
msgs now save from field in received msgs
also allowed user to delete file added in createChanMsg dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3727 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 19:29:26 +00:00
drbob
519075c70b
Changes to get DHT On/Off working, and get DHT status working too:
...
* Plumbed stats through the the retroshare interface.
* Also changed Channel store period back to 10 minutes.... (Reduce overall file count).
This must be done some time before the any changes are made to Channels periods.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3721 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 13:53:28 +00:00
drbob
634dbca14f
Added Installation of BitDHT bootstrap file.
...
* new DataDirectory Function in rsinit.cc
* new copyFile() and checkFile() functions in rsdirutils.
* bdboot.txt is checked for and copied over if missing.
NB: This has been tested under OSX, but Linux / Windows need checking.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3713 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 22:59:46 +00:00
chrisparker126
c7348017b5
suppressing redundant file forum_test (content transferred to distrib_test)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3711 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 19:24:26 +00:00
chrisparker126
fc593ccf50
service testing framework and initial work on distrib testing
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3710 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 19:22:13 +00:00
drbob
644f2fcbcc
Added Address Test Function to strip out bad connection attempts. Logic is:
...
- FAIL if too old.
- FAIL if invalid address.
- FAIL if on BannedIpList (=1.0.0.0)
- ACCEPT if extAddress.
- ACCEPT if !extAddress && sameNet(localAddr).
- FAIL all the rest.
* Test Results are printed if CONN_DEBUG is switched on.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3705 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 22:16:55 +00:00
thunder2
ab5b2a3851
Optimized parameter "hash" of method RsFiles::FileDetails from "std::string" to "const std::string&"
...
Removed compiler warning of FileEntry.
Recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3703 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 20:01:31 +00:00
thunder2
10aa75d2c6
Removed potential memory leak in AuthSSLimpl::encrypt/decrypt in case of an error.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3693 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-23 14:03:35 +00:00
drbob
71ab42d74d
* added startDHT() command to startup code....
...
This will be reworked into a user controllable switch in the near future.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3679 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-17 20:56:19 +00:00
chrisparker126
884f0e7a22
added channel search to channelfeed ui
...
fixed timestamp not being set in p3distrib
and also removed memory look in channel ui (fillchannelList)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3677 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-17 14:43:49 +00:00
csoler
af8ad4e862
removed the "emergency shutdown" feature in tickPeerTransfer(), that would stuck some transfers on the lowest rate 128 B/s. On my tests this emergency shutdown is never needed.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3676 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-16 21:09:48 +00:00
csoler
630e7dfe6b
code cleaning. Removed debug info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3675 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-16 16:49:35 +00:00
csoler
c8f6770b7d
moved the callback information into flags in ftFileControl. Side effect: code is simpler, channel transfers are saved in a backward compatible way
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3674 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-16 15:21:37 +00:00
csoler
8369d42600
corrected a bug in chunkmaps that affected file creators being providers at the same time, which could corrupt data. Added some debug info to chunk maps.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3673 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-15 22:12:29 +00:00
csoler
eb21343685
added a torture test for file creators that also are used as providers
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3672 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-14 21:45:53 +00:00
thunder2
3a60e8cecb
Added service functionality to AuthGPG for load and save of certificates in the background (prepared for more when needed).
...
Added p3disc as service and process the certificats of RsDiscReply with AuthGPG service.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3669 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-13 16:15:26 +00:00
thunder2
76f51d05b3
Corrected some erases of std::iterators.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-11 15:52:12 +00:00
chrisparker126
e187204437
fixed bug that caused user to lose own channel if they unsubscribed it
...
removed channel file copying
added tool tip for key sharing
and tool tip for read status
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3660 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 15:20:28 +00:00
thunder2
0be24268f7
Fixed resizing of the MainWindow when hashing files with long names.
...
Moved the hash strings of notifyHashingInfo from the librs to the GUI for translating.
Fixed german translation.
Recompile of GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-09 18:35:34 +00:00
thunder2
c2c52a81ec
Fixed crash on load of the config, when the first attempt loads some RsItem's but failed and the second attempt failed too. The loaded items are deleted twice, because the std::list of the loaded items is not clear'ed after the delete of the items of the first attempt.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3657 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 19:22:03 +00:00
thunder2
1207b5793b
Changed p3Peers::getPeerCount to count also gpg id's only.
...
Show count of friends in MainWindow, not the count of locations.
Recompile of GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 12:03:25 +00:00
csoler
51cc1d2b3b
corrected initialised memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3646 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 21:33:07 +00:00
csoler
82057a5f69
corrected initialised memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3645 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 21:31:42 +00:00
thunder2
f4bbd3e933
Limit the concurrent connection attempts in Windows XP. Its's only a hack.
...
Problem:
RetroShare connects to all ssl's at once. In Windows XP there is a build-in connection limit of concurrent incomplete connections.
Quote:
"The TCP/IP stack in Windows XP with Service Pack 2 (SP2) installed limits the number of concurrent, incomplete outbound TCP connection attempts. When the limit is reached, subsequent connection attempts are put in a queue and resolved at a fixed rate so that there are only a limited number of connections in the incomplete state."
This results in a high usage of the nonepaged pool and when it runs over the limit it results in the following error in the system log:
German: "TCP/IP hat das Sicherheitslimit erreicht, das für die Anzahl gleichzeitiger TCP-Verbindungsversuche festgelegt wurde."
English: "TCP/IP has reached the security limit imposed on the number of concurrent (incomplete) TCP connect attempts."
After a longer runtime of RetroShare and a very high usage of the nonepaged pool all connections of all running programs are lost and no new connections can be made. At the end it can cause a blue screen.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3631 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 11:17:42 +00:00
thunder2
fc0ff38206
Added read/unread state to channel service (copied from forum service).
...
Added new and missing tests of the RsItems.
Added new notifier on channel changes.
Reworked fill of channels in ChannelFeed. Now the channel tree is updated and not refilled.
Show unread message count in channels tree.
Fixed memory leak in context menu.
Show a new tray icon and action icon in MainWindow, when new channel messages are available.
Recompile of the GUI needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 00:17:42 +00:00
csoler
709f9b515b
suppressed uninitialized memory read
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 19:06:12 +00:00
drbob
93ad430d54
* removed some DHT debugging output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3616 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 21:57:54 +00:00
thunder2
d31cef0f11
ChannelFeed:
...
- Sort the ChanMsgItems of the channel by date
ChanMsgItem:
- Fixed adding all files (SubFileItem) again by pressing the unsubscribe button (only in Friend Storm)
- Enable unsubscribe button only when channel is subscribed (only in Friend Storm)
- Fixed adding files with umlauts (utf8) on Windows
- Enabled Download and Play button in ChanMsgItem, when they are enabled in the SubFileItems
ftServer:
- Added the method alreadyHaveFile for use in the GUI - recompile of GUI needed
SubFileItem:
- Added state strings like LOCAL, REMOTE, ERROR, ... for translating
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3614 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 20:39:14 +00:00
csoler
a90f332a40
bug correction. Please do not use begin ( ) from returns of a function without const & s
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3612 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 15:46:08 +00:00
drbob
7c54b44005
switching the DHT back on... previous bugpatch appears to have done the job.
...
Let me know if crashes continue.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3608 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 00:05:49 +00:00
drbob
5321c35d30
* Disabled personal signatures on Channel Messages.
...
* Made "ConnectCallback" more accurate.
* Improved DHT display slightly.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3606 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 22:25:12 +00:00
drbob
0ea899de29
* Added hack to remove DODGEY peers. (This should probably be moved to libbitdht).
...
* NOTE about how to correctly implement Peer filtering.
* added peerConnectRequest() when PeerCallback(success) happens... starts UDP connection.
* Split the p3conmgr::tryConnect() functions into sub functions.
* added p3ConnMgr functions for UDP connections.
* Added AddifUnique(conect_address), to ConnMgr, this should reduce the number of connection attempts, by removing dups.
* Disabled bitdht in libretroshare.pro for the moment.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3605 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 21:42:31 +00:00
chrisparker126
fa6af9a1ca
fixed channel edit problem and added some documentation for pqimonitor
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3596 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 21:48:19 +00:00
csoler
f21cc0d746
partial resurrectin of ft tests
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 13:14:28 +00:00
chrisparker126
9bdf222418
new msg items to store srcid/from address for rs messages
...
also updated tests for new rsitems
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3594 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 11:56:53 +00:00
thunder2
cfa10c6f80
Added receive time to ChatInfo - recompile of gui needed.
...
Use receive time for chat information to have the right order in the history (problem of time zones and wrong clocks).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3593 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 10:08:58 +00:00
drbob
05e908df12
Changes to Integrate DHT... first tests appear successful.
...
* Added testing stuff to libretroshare.pro, enabled UDP again,
* fixed NO_TCP #define in p3connmgr.cc
* Added PeerStatus() call to p3bitdht.cc to start connect to DHT address.
* HACK change to p3peers.cc to display DHT results.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3586 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 00:52:59 +00:00
csoler
dd93311bad
had compilation fixed for these tests.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 20:46:50 +00:00
csoler
36337b5011
put a warnign and check in rsdiscspace when rsFiles is null
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3583 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 20:28:27 +00:00
csoler
d71dd2889d
added safety check to ftChunkMap call to p3turtle, mainly for tests to run
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 20:07:29 +00:00
csoler
6fc8f8831b
put some consts& around std::string in rsdir to improve performance
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 20:05:09 +00:00
csoler
978528824b
added missing dummy class definitions for linking test programs
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3580 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 19:52:24 +00:00
drbob
6cf3521e0b
* Extra Debugging for DHT integration.
...
* Moved bootstrap location from current directory to CONFIG/bdboot.txt
* Corrected DHT OwnId.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3579 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 19:48:53 +00:00
csoler
861dec8e0b
added scrupt for brute force callof valgrind over serialiser tests
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3576 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 21:48:16 +00:00
csoler
edd5aaf87a
suppressed bug in CRC32 computation of files
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 21:44:31 +00:00
csoler
47b48769e4
simplified the code in the post download CRC check routine and removed a potential bug.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 21:02:37 +00:00
thunder2
acf57ed3fd
Removed read/write mutex from AuthGPGimpl and from the sources.
...
Added RsThread as base class to AuthGPGimpl and load all gpg keys every hour.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 19:05:43 +00:00