Commit Graph

3753 Commits

Author SHA1 Message Date
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
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
f4cb8b0845 Fixed german translation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3671 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-14 21:00:23 +00:00
thunder2
bb796fd6d6 Fixed start of retroshare-nogui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-14 20:53:48 +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
defnax
923e76bde2 forget to remove this
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3668 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-12 00:15:10 +00:00
defnax
b5fdc9873d removed not useful stylesheet skins
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3667 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-12 00:13:31 +00:00
thunder2
d687019d01 Optimized columns of the channel tree.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3666 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-11 22:39:47 +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
defnax
1ce0c822ba Added to display filesize on ChannelMsgItem and moved the filelabel to the right side
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3664 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-11 00:48:11 +00:00
defnax
3681c8a2f5 enabled PreferAntialias for some Buttons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3663 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 18:05:49 +00:00
defnax
e1d9e1a4a8 Little improvements with QFont::PreferAntialias for the Labels in ChannelMsgItem/SubFileItem.
Added to display the file size after the filename on SubFileItem.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 16:43:37 +00:00
chrisparker126
a612872d9b 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@3661 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 15:22:50 +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
defnax
4a286f751b changed vertical layout space of the ChannelMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-09 15:16:18 +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
defnax
1f6225f778 corrected wrong object name
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 16:41:20 +00:00
defnax
e2a5cff5ee forget to commit this, set own object name for statusbar in Private Chat, needed for stylesheets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 16:36:32 +00:00
defnax
e7023c55a0 fixed some layouts and allow a minimum size for the Title Label, and set a maximum size for some buttons.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 15:16:38 +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
thunder2
0e063f9a1b Fixed font handling in PeersDialog.
Fixed Qt bug in PeersDialog and PopupChatDialog with a workaround.
- QTextEdit::clear() does not reset the CharFormat if document contains hyperlinks that have been accessed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 00:07:44 +00:00
defnax
f430fee12d removed some unused layout
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3651 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 00:05:13 +00:00
defnax
d4c29c5648 Added stylesheet change when channel message is new
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3650 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 23:35:47 +00:00
defnax
d2f6fe1e84 update blacknight stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 22:49:31 +00:00
csoler
0988541970 compatibility with Qt 4.5 (got it wrong, last time)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3648 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 21:58:22 +00:00
thunder2
928e236103 Added new settings on the NotifyPage to enable or disable the systray icons for messages and posts.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3647 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 21:50:15 +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
defnax
e446037f4d update the stylesheets, some little improvements for each style
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3644 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 20:18:22 +00:00
defnax
2dbb37854f removed the default private chat styles, moved to the default qss file.
renamed some object names.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3643 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 20:16:16 +00:00
thunder2
1d42757a64 Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 19:49:50 +00:00
thunder2
cb39d5ec32 ChannelFeed:
- Sort channel messages by date with newest first.
- Remove all channel messages from the list, when no channel is selected.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3641 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 19:31:37 +00:00
csoler
3b2ab05993 corrected possible invalid write
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3640 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 19:25:40 +00:00
defnax
6f5c556539 update blacknight and blue stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3639 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 16:38:06 +00:00
defnax
3082613232 removed the span color from Friends label , wont work with stylesheets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3638 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 16:12:17 +00:00
defnax
e34e3e419a rename object name of the label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3637 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 16:10:25 +00:00
defnax
a0b7bb29e4 changed the object name of the Chat ToolBar,
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3636 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 16:05:59 +00:00
defnax
53643022a0 added stylesheet for the new Label in ChannelMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 16:04:31 +00:00
defnax
4768c594b3 rename object names for some header labels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3634 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 14:17:53 +00:00
defnax
de38109b58 update silvergrey stylesheet, added stylesheet for the StatusBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3633 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 11:37:30 +00:00
defnax
8c8a330684 update stylesheets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3632 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 11:34:58 +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
defnax
c134b5f605 update stylesheets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 01:32:17 +00:00