Commit Graph

3206 Commits

Author SHA1 Message Date
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
defnax
33301d10b9 update silver stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3629 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 01:00:30 +00:00
defnax
b706edfc1c update some stylesheet themes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 00:52:35 +00:00
defnax
df8cf16f9f changed search line frame's objekt name.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 00:22:03 +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
defnax
df20d69b29 fixed forum margins to look same like other widgets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 00:12:48 +00:00
csoler
2e8d9dae7f tentative of blind bug fixing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 21:44:38 +00:00
csoler
a76566c65d suppressed memory fault (call to ++it on a invalid iterator). Simplified a bit some syntax
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3623 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 19:32:55 +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
csoler
dffd2ad686 suppressed uninitialized memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 19:01:13 +00:00
defnax
0ff9bf65f3 Added "set all to read" Button for ChannelFeed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3620 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 17:33:37 +00:00
thunder2
fc320cf1a6 Fixed drag'n'drop of shared files from the SharedFilesDialog to the CreateChannelMsg.
Enabled the usage of remote files.
Added some small const& to the code.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 00:08:20 +00:00
defnax
791d6144dc fixed to set the text align left for the statusbutton in MessengerWindow
replaced QLineEdit with a editable QComboBox for the status message

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 23:18:27 +00:00
defnax
3309d2a247 moved the Download and Play Button to a better place, to the left side.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3617 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 22:07:07 +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
drbob
cc5fa5e5dc Fixed up BITDHT versioning.
* Advertises client as DBxxxx where xxxx is provided by using app.
  * Added COMPILE switches to enable ANONYMOUS version or remove BD portion.
  * Fixed version code.
  * Added slow increase in retry timeout, to reduce DHT traffic over time.
      now RETRY PERIOD = query age / 2  
  * initialised bdToken bdVersion etc length.
  * new bdboot.txt 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 21:57:22 +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
3c29434007 bug correction (uninitialized value caused SIGSEGV)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3613 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 15:49:28 +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
csoler
4db463a4dc fixed packaging on ubuntu with DHT
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3611 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 10:54:00 +00:00
csoler
55a4d4d1e1 corrected compilation issue with Qt 4.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3610 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 10:12:15 +00:00
defnax
16caca6a95 added back dhtstatus sources for gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3609 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 09:01:26 +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
defnax
79f02f7297 fixed a margin problem in ChannelMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3607 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 00:01:53 +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
drbob
20a49a59cf Improvements to DHT, to support UDP connections.
* Changed getDhtPeerAddress() / Value() function to use const *bdNodeId.
 * Filled in getDhtPeerAddress()... to support UDP connections.
 * fixed bug in bdnode:: pong msg... wasn't checking if version existed.
 * printed out version string, as part of debug.
 * added IpAddr field to bdmanager peer search data.
 * stored IpAddr from queries... when peer found.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 21:37:07 +00:00
thunder2
26491f4b73 Fixed sort of uploads and downloads by progress.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3603 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 20:15:52 +00:00
defnax
22b74c8e63 enabled OK Button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3602 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 18:43:13 +00:00
defnax
f0fb3db541 Added download and play button to ChannelMsgItem, it hided by default.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3601 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 18:28:11 +00:00
thunder2
8b2fffe346 Fixed sort by size in SharedFilesDialog (again). Now use the right conversion for uint64_t for 64 bit systems.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 13:40:17 +00:00
thunder2
49320c2ed9 History Browser:
- Fixed crash on delete history items
- Threaded load of messages

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 23:55:11 +00:00
defnax
9c562a97d4 disabled borders for some frames to look better in cleanlooks and plastique style.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 22:42:11 +00:00
defnax
6d54bbd78c changed the header resize for Title and Date in Forums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3597 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 22:29:03 +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
thunder2
7664a82fd6 Reworked design of offline chat messages in PopupChatDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 22:42:30 +00:00
thunder2
ccaebe2fae Added missing returns.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3591 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 20:05:27 +00:00
thunder2
81a053aa1f Removed the location after the nick name in MessengerWindow.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3590 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 19:02:53 +00:00
defnax
4cb8171bc0 changes for silvergrey stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 18:22:21 +00:00
defnax
2a3fecc27b removed the minimum size for the Status Button in MessengerWindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 18:17:05 +00:00
defnax
17f48ccd61 enabled word wrap for Channel Description in ChanneMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 00:57:17 +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
drbob
0ca009c4fa * reduced gap between peer addition.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3585 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 00:47:56 +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