Commit Graph

1821 Commits

Author SHA1 Message Date
thunder2
340982b996 p3ConnectMgr::connectResult
- added "mStatusChanged = true" on disconnect of a peer - the statusChange was not notified in time

MessengerWindow
- removed unused method updatePeersAvatar

Changes in status service:
- removed unused method statusAvailable
- new notifier for status change
- enabled the tick for receiving items
  - always up to date status map
  - no huge memory usage, if no list is visible who call getStatus and processed the received items
  - send notify on status change
- renamed getStatus to getStatusList and created a new method getStatus to get status of one peer
- fixed: send status directly after the connect of a peer

Now the frame around the avatar in private chat changes when the peer change the state.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3380 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-20 18:45:44 +00:00
defnax
c6537bbe09 update translation strings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3378 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-18 12:07:11 +00:00
defnax
459970cc88 forget to commit this.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3377 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-18 12:04:47 +00:00
defnax
d8e4bc86b8 Added to switch background border picture for Friend's Avatar Label .
Set window title little bit more simple.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3376 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-18 12:02:36 +00:00
defnax
277c6c7aaa set some style sheet's for TextBrowser and TextEdit in PopupChatDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3375 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-17 18:34:57 +00:00
defnax
f0da158dbe fixed the chat layout, to not allow to hide the butttons frame when the splitter is at bottom
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-15 15:03:40 +00:00
defnax
358c425986 Redesign the Private Chat Window, moved Avatars to left side, and Buttons to the Bottom.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3367 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-13 22:38:14 +00:00
defnax
43b47101db changed PeerItem style sheet color a little bit brightly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3366 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-13 12:47:10 +00:00
defnax
6c04a4a147 Fixed to display latest events at the Top of the Widget.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3365 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-13 12:31:32 +00:00
defnax
328bb4aacf Added Logo Labels for Forum Items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3364 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 19:49:41 +00:00
thunder2
6d13b3ac54 The private chat can be started from the PeerItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3363 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 19:45:15 +00:00
defnax
76019cd671 some design changes for PeerItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3362 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 16:40:47 +00:00
defnax
1d2efca329 string rename
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3361 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 16:02:19 +00:00
defnax
3d9aa943ba Display Friends activities on Friends Storm Tab in PeersDialog. removed from MainWindow NewsFeed action.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3360 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 16:00:21 +00:00
defnax
c904eb54de Added to Display Avatar for NewsFeeds PeerItem. little design of PeerItem, removed not used buttons.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 15:07:09 +00:00
thunder2
2b3fb8e988 Small performance optimization in ForumsDialog when manipulating the read status.
Calculate only processed toplevel items.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-11 08:31:11 +00:00
thunder2
2b597d4542 Show forums with unread messages with bold font.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3356 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-10 15:41:25 +00:00
thunder2
3cfc08482f New icon in system tray and a new icon with star in toolbar of MainWindow, when new forum messages are available.
New signal forumsChanged on NotifyQt.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3354 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-09 21:20:34 +00:00
thunder2
32afd370bb Moved notify of new messages in MainWindow from QTimer to signal messagesChanged.
Show own tray icon for new messages.
Removed unused member p3Forums::mForumsChanged.
The message service send a notify on p3MsgService::markMsgIdRead too.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3353 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-09 12:16:21 +00:00
thunder2
86ae9983d1 New read status for forum messages.
New mail messages are marked with a new icon in front of the title.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3352 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-08 22:58:10 +00:00
thunder2
eccdba153e Ask for custom string in MessengerWindow and PeersDialog only when ssl contact is connected, like the avatar.
There are too much unnecessary internal SendItem's for the offline ssl contacts.

Maybe this should be handled in libretroshare. For every call to p3ChatService::sendAvatarRequest and p3ChatService::sendCustomStateRequest with currently no data available, a RsItem as created and sent. This is unnecessary, when the contact is offline.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3347 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 21:14:25 +00:00
defnax
bbd3902bbe Added for Private Chat Attachments to display for each rs link with file size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 15:31:30 +00:00
defnax
0abfbbb911 Added a splitter to Privat Chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3345 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 14:58:53 +00:00
defnax
cfc17398dd added Picture Preview Thumbnail patch for Privat Chat from xiaohan and fixed little design improvements
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3344 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 12:30:06 +00:00
leander-256
4bb4fc11e2 This intimidating patch renames libretroshare/src/rsiface/ to
libretroshare/src/retroshare/

All the relevant headers have been modified to reflect that change.

This allows installation of libretroshare on a system, headers will
be put in $WHEREVER/retroshare/ and we keep the ability to compile
against them, be it on the system or in the SVN tree.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3342 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 09:40:23 +00:00
thunder2
cfd4eaad37 Small optimizations in MessengerWindow and PeersDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3336 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-03 12:35:26 +00:00
thunder2
6000233267 Fixed compile of libbitdht on Windows
Enabled bitdht in RetroShare.pro and retroshare-nogui.pro too
Fixed link of RetroShare on Windows
-> added ws2_32 after bitdht, maybe someone has a better solution

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3335 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-03 12:15:20 +00:00
drbob
6a9be43f31 Changes for bitdht compilation.
* disabled BlogItems, when BLOGS not defined.
 * added bitdht compile option to Retroshare.pro.
 * disabled BLOGS until it can compile in libretroshare



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-31 18:19:12 +00:00
csoler
38be555332 restored the NETWORK_WIDE flag in RetroShareLink->processFileRequest, because this security was designed in a specific context. Now the FileRequest for links is factored in a single place.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-30 13:47:31 +00:00
csoler
b8fe977f05 corrected typo (causing a SIGSEGV)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-30 13:31:29 +00:00
csoler
012808ea00 - Implemented CRC32 map traffic through direct downloads
- replaced the findItems() call into a hand-written search (this was causing a rare bug in displaying downloads)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3318 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-29 21:07:07 +00:00
csoler
81203b3cfd - modified ftFileProvider so as to keep multiple client peers per instance
- updated TransfersDialog to display this info correctly


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3316 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-27 16:05:21 +00:00
thunder2
569ac25843 cleaned include files
- removed some dependencies between other header files
- removed many includes of <QtGui> and replaced it with only needed files

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3312 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-23 18:52:58 +00:00
defnax
ba47eedfe3 fixed GPG password freeze
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3311 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-23 11:55:21 +00:00
csoler
8bfc74485a First implementation of per-chunk CRC32 check. This is triggered
- by the right-click+Force Check on files.
- when a global hash on a downloaded file does not match the announced hash.

When a CRC map check is ordered, the CRC map is requested to one of the sources for the current file download.
When received, all downloaded chunks are checked w.r.t the reference CRC and marked as not done if the CRCs do not match.
The exchange of CRC32 map and requests has been tested, as well as CRC map checking during download (force check).

To be implemented soon:
    - caching of CRC32 maps (although these are fast to compute)
    - CRC32 map packets for normal downloads. For now these work only for turtle tunnels.
    - handling of errors if the CRC never comes. For now, the download will stay stuck in "Checking..." mode.

So, don't play too much with the force check feature for now...





git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3310 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-21 23:14:10 +00:00
defnax
db034b026f Added Idle settings to Settings Gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3309 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-21 18:48:33 +00:00
thunder2
423f6811ce new methods for set and get the max time before idle on RshareSettings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-21 07:39:14 +00:00
thunder2
e3e4c97369 RsAutoUpdatePage
- Changed the timer of RsAutoUpdatePage to a single-shot timer.
  The update can take longer than the given timer interval.

Changed status service:
- send status when the peer connects (new monitor)
- send status to all online peers only when user changed it (not in every timer tick)

MessengerWindow:
- remove load and save of custom state string in settings

p3ChatService::sendCustomState
- send empty custom state string too

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-20 19:45:07 +00:00
thunder2
3baae3a602 added status combobox to statusbar in MainWindow (initial code from defnax)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-18 21:28:56 +00:00
thunder2
d53a6c9d29 Create the instance of MessengerWindow only when needed and delete it on close.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-18 11:43:39 +00:00
thunder2
8f5fe8bae2 - added new status menu to tray menu
- moved internal status functions from MessengerWindow to MainWindow
- cleaned some includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 23:19:43 +00:00
defnax
d92e1911eb enabled Channels for release
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 21:17:14 +00:00
chrisparker126
1f873e023e added channel msg thumbnail, you'll lose all your current channel msgs before this rev
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 20:17:14 +00:00
thunder2
de57423733 CreateForumMsg:
- removed memory leak in context menu
- cleaned includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 12:40:19 +00:00
defnax
0ab77d8a40 added more details about copy and paste for recommend message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-16 20:20:46 +00:00
defnax
b35ad11875 rename "Paste retroshare Link" to "Paste Person Link"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-16 20:12:02 +00:00
thunder2
daf0ea50ee PeersDialog/MessengerWindow:
- send recommended friend as message
- paste recommended friends as "retroshare://person|..." from clipboard

reworked retroshare link handling
- added new type -> retroshare://person|<name>|<hash>
- added processing of links to RetroShareLink and RSLinkClipboard and removed all processing in anchorClicked of QTextBrowser 
- fixed parseClipboard to handle all found links in clipboard
- disabled the processing of the clickable links (RetroShareLink::processUrl), because QUrl can't handle the RetroShare links properly

removed memory leaks of the QAction in some context menus


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-15 11:25:34 +00:00
defnax
b39302092e update german translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-14 20:47:12 +00:00
defnax
699ac58f71 update translation strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-14 20:34:46 +00:00
thunder2
728d755af8 MessageComposer:
- set focus to subject at start of MessageComposer
- sort friends by name ascending

main:
- removed signal with missing receiver


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-12 14:01:29 +00:00