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