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