Commit Graph

3448 Commits

Author SHA1 Message Date
drbob
cbdd08cd34 * Improved udpbitdht tests.
* Added Simple example - so others can understand how to interface with bitdht.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3724 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 18:24:12 +00:00
drbob
33282bfc77 * Tweaks to switch DHT On/Off, (coupled with Discovery)
* display of DHT size.
	* Added CoreFoundation to .pro file.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3723 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 14:02:33 +00:00
drbob
5b70ef6076 A bit of debug - cleaning up.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 13:58:54 +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
thunder2
89ca27ef66 Check for empty recipient and empty subject in MessageComposer.
Added context menu for empty trash in MessagesDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3720 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 20:57:23 +00:00
csoler
64709b8ae0 added to connexions to try to force QTreeView to update when the model is changed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3719 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 19:40:09 +00:00
csoler
5ac46b3c62 updated ubuntu packaging for bdboot.txt file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3718 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 13:37:34 +00:00
defnax
723554a0ab removed not needed icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3717 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 13:18:00 +00:00
defnax
ad34df9ac5 added the animation for file check/hashing to statusbar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3716 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 12:50:33 +00:00
thunder2
417b167d43 Renamed QStatusLabel to StatusLabel, because it's no class from Qt.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3715 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 12:35:10 +00:00
thunder2
fa9451c072 Show and calculate the transfered bytes in the Bandwith Graph.
Removed compiler warnings.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3714 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 11:35:16 +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
csoler
dd19278d58 fixed ubuntu package compilation scripts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3712 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 19:50:53 +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
csoler
70c90832be fixed compilation with old Qt4.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 19:21:32 +00:00
thunder2
162a949092 Fixed calculation of the right QModelIndex for context menu. Indroduced with QSortFilterProxyModel.
Removed unnecessary calls to the librs in RemoveDirModel.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3708 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 17:26:00 +00:00
thunder2
741948acff Call RsControl::ConfigGetDataRates only once a second in the QTimer in MainWindow.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3707 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 10:41:19 +00:00
thunder2
8d992ec817 Fixed compile. Show up and download speed in the same format like in the statusbar.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3706 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 10:12:56 +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
defnax
aab3e69e03 Added to display connection count of friends and down/up speed on tray tooltip
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 21:29:48 +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
defnax
5809e25a60 added back dhtstatus label to StatusBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3702 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 12:49:46 +00:00
defnax
ddf97c8ed2 added dht icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3701 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 00:12:09 +00:00
chrisparker126
7b5c611d80 don't allow user to add same file twice to createchanmsg instance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-26 22:41:47 +00:00
csoler
fb6de2aaf4 corrected small bug in chunk completion display
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-26 21:13:35 +00:00
defnax
734951039f fixed back the ChannelFeed layout and stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3698 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 23:34:17 +00:00
chrisparker126
80017cc597 added improved channel search/filter
- only show items that contain search text based on combo field
 - equal scorers are then arranged in terms of last time stamp 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3697 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 20:46:26 +00:00
thunder2
a2905bd7ae Reworked ConfCertDialog to show more dialogs at once.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 20:19:57 +00:00
thunder2
42f20e9b6b Fixed compile on Linux.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3695 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 18:58:45 +00:00
thunder2
fb5785ac9d Fixed german language.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3694 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-23 14:08:20 +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
csoler
4fb0b2145e corrected bug in nodes.cpp, line 129: bad modulo arithmetic.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-23 12:44:47 +00:00
csoler
12428d766f forgot isVisible() test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-22 20:54:32 +00:00
csoler
c4b5f41446 fixed force calculation in elastic model. Still need to figure out what connexions we show
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3690 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-22 20:47:08 +00:00
thunder2
b7b8cfe860 Renamed "Peer Details" in ConfCertDialog in "Friend Details".
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3689 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-22 17:00:13 +00:00
defnax
77d33cad4a enabled word wrap for the Description label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3688 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-20 21:51:11 +00:00
drbob
258f545361 * Fixed startup logic, so the DHT doesn't continually restart - if low peer count.
* properly initialised bdId.addr and other struct sockaddr_in.
 * This should fix the windows bitdht - not send - issue.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3687 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-20 18:36:25 +00:00
drbob
9cf531fc9a Modified bitdht to enable simultaneous peer searches.
* Added maximum msg limits (20, 50, 100 msgs per sec). 50 = default.
 * Priority send out pings, with 10% queries.
 * switched bdquery list in bdnode to use pointers... so peers can be 
   	easily reordered (queue for queries).
 * Add all find peers, once dht initialised.
 * Added reset if FINDSELF fails. (don't know if this is a good idea!)
 * simplified DHT printouts. verbose versions are enabled with debug.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3686 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-19 22:03:38 +00:00
thunder2
6fb89a90b2 The file splash.bmp is needed by the installer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3685 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-19 22:03:01 +00:00
thunder2
3a50bcb8f7 Added a simple startup splash screen.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3684 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-19 18:06:22 +00:00
defnax
6a55d75a86 fixed the stylesheet for the searchLine in channels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 15:28:05 +00:00
defnax
a2107c9bfa fixed the new layout of new frame.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3682 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 15:17:50 +00:00
defnax
9d79ba3f36 forget to commit stylesheet changes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3681 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 14:44:04 +00:00
thunder2
f936bb8996 Removed unnecessary call to RsForums::getForumMessage in ForumsDialog::insertThreads.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3680 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 11:29:55 +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
drbob
74961774cc * Added new interface functions for start / stop DHT and to get stats.
* Implemented start/stop interface in udpbitdht and bemanager
 * added Restart of DHT if it fails to get going.
 * added start / stop functionality to bdnode and bdstore
 * added cleanup code to rest of bitdht classes.
 * reworked NetworkSize calc functions.
 * added thread debugging (prints at start / stop / join).
 * TESTS: added utest.h header file for automated unit testing (from libretroshare)
 * TESTS: bdmetric_test started conversion to automated tests
 * TESTS: udpbitdht_nettest. Added dht start / stop and network reset (thread join) functionality.
 * TESTS: fresh bdboot.txt



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3678 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-17 20:55:32 +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