Commit Graph

3176 Commits

Author SHA1 Message Date
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
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