Commit Graph

1981 Commits

Author SHA1 Message Date
defnax
e635e5a026 fixed close buttonbox
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3445 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-05 01:21:44 +00:00
thunder2
2011d897ee These damn new files.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3444 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-05 00:14:42 +00:00
thunder2
1f8017d06a Redesigned history browser of group chat.
New chat style for history browser.

There's more to come.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3443 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-04 23:59:08 +00:00
thunder2
b067ab5560 Forgot these files.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3442 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-04 14:36:49 +00:00
thunder2
8213a2aa77 Chat service:
- Added send time to ChatInfo.

Chat:
- Reworked IMHistoryKeeper to save only needed data as raw data (not formatted from PeersDialog).
- Renamed the public chat history file from "his1.xml" to "chatPublic.xml" and moved it from data dir to config dir. The current history is lost. Please delete the file "his1.xml" manually.
- Optimized save of the history. Save only when changed, also during the runtime.
- Clear the history in PeersDialog clears the IMHistoryKeeper too.
- New setting to send chat message with Ctrl+Return. Changed the check for Enter in PeersDialog and PopupChatDialog from textChanged to eventFilter.
- Smileys are inserted at the current cursor position, not added at the end.
- Don't send emty messages.

New class ChatStyle:
- Created a new class for the work with chat styles and smileys.
- Currently only two internal styles are available - private and public. Later more external styles planned.
- Moved functions for loading and showing the emoticons from PeersDialog and PopupChatDialog to the new class.

Private chat:
- Split private chat style into incoming.htm and outgoing.htm.
- Removed style change.

Public chat:
- New chat style incoming.htm, outgoing.htm, hincoming.htm and houtgoing.htm.

Chat feed:
- Show links and emoticons if they are enabled for public chat.

PeersDialog:
- Show the own name and location only once at start and not with QTimer every 1.5 second.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3441 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-04 14:23:30 +00:00
csoler
180f833df3 added a tab to display the certificate of friends, in peer details
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3439 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-03 19:23:24 +00:00
defnax
1d957f3674 renaming Persons to Friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3438 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-03 17:04:27 +00:00
defnax
bfb7d4d908 forget the translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3437 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-03 16:57:53 +00:00
defnax
1bcaeebdaa enabled to display the Avatar Frame by default, and optimized the labels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3436 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-03 16:46:47 +00:00
defnax
f1ae5766dd update German translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3435 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-03 15:36:28 +00:00
defnax
ccedb323df update icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3434 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-03 13:09:49 +00:00
defnax
27c94be8fd improving the Private Chat layout, fixes for plastique/cleanlooks design to hide the frame borders.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3433 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-02 19:53:31 +00:00
defnax
a26547effb Added to display for Attached Audio,Video and Archive files a default icon in Private Chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3431 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-02 17:26:29 +00:00
defnax
92f5d37712 update strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3430 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-02 15:06:27 +00:00
thunder2
48acd856af Added the peers custom state string to NotifyBase::notifyCustomState and to the signal NotifyQt::notifyCustomState.
Changed the display of the peers custom state string in PopupChatDialog from QTimer to signal.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3429 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-02 10:15:13 +00:00
thunder2
80764a1ff7 Fixed display of status icon in PeersDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-02 08:25:30 +00:00
defnax
d417a143b5 Added new Frame and Labels to Private Chat Window to display Friend name, status and status message.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3427 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-02 01:37:47 +00:00
defnax
d5ea522eb0 set correct Avatar size for the Label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 21:57:05 +00:00
defnax
c8de865e1a Redesign the Message Item feed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 21:54:07 +00:00
thunder2
e67412cc8c New setting for adding the feeds at the end in friend storm.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3422 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 20:54:24 +00:00
thunder2
7f837e9778 Splitted queue of chat messages in chat service into public and private queue.
Reworked the interface of the chat service. So full recomile is needed.
With disabled flags for private chat (RS_CHAT_OPEN_NEW and RS_CHAT_REOPEN), the incoming private chat messages are queued (only for the runtime) until the user shows the private chat dialog.
When a new chat message is available, the icon of the gpg and ssl contact changed in MessengerWindow and PeersDialog and a new tray icon is shown.
Fixed compiler warning.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 17:56:15 +00:00
defnax
7dd99a0c35 Added a History Browser for GroupChat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3420 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 14:15:50 +00:00
thunder2
af4667232b Don't add a ChatMsgItem as feed on own public chat message.
Moved the handling of the avatar from PeerItem::updateItem and ChatMsgItem::updateItem called with QTimer to connect to the signal peerHasNewAvatar.
Fixed compiler warning.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 22:42:40 +00:00
defnax
b01c6bf3d1 Set sizehint bigger then the Avatar picture size for MessengerWindow.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3418 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 22:17:02 +00:00
defnax
de8bbd334e update strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3417 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 21:09:02 +00:00
defnax
b52a7d6df4 Improved the layout of ChatMsgItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3416 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 20:55:40 +00:00
thunder2
3a55e93b53 Fixed the height of the own state text in PeersDialog. The height was sometimes wrong after some changes of the state.
Fixed compiler warnings.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3415 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 20:43:10 +00:00
thunder2
8832f7dfc5 Introduced a minimal version of RetroShare.
You can enable it in libretroshare.pro and RetroShare.pro by uncomment
CONFIG += minimal

This enables two new defines for stripping all not needed things
- libretroshare: MINIMAL_LIBRS
- GUI:           MINIMAL_RSGUI

and removes not needed files from build (see end of the files libretroshare.pro and RetroShare.pro).

Beware: All data of the stripped services are lost

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3414 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 20:00:49 +00:00
thunder2
b6b5fa5cd6 Changed the chat service from a timer tick from the gui to a service tick.
Created a new notifier for new chat available - NOTIFY_LIST_CHAT. Removed the QTimer in PeersDialog and connect the signal.
Created news feed for public chat (prework of defnax, need still some gui changes)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3413 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 17:13:52 +00:00
defnax
c7c6f6d36a update translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 01:10:19 +00:00
defnax
3d2d347032 Added to change own Avatar Background too for Private Chat when own status has changed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3411 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 21:41:19 +00:00
thunder2
d9744ea979 Extend the status service to notify on own status change.
Prepared PopupChatDialog for receive this notify event.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3410 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 20:14:58 +00:00
defnax
005cf957f8 Added a Button for display own nick and set a menu for the status, removed nick label and status Combobox
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3409 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 19:10:07 +00:00
thunder2
77418bd4b6 Removed peer name from "is typing..." message of the sender and add it of the receiver side.
Now the "is typing..." message can be translated.
It is still not a good solution, but it works for now.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3408 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 18:33:19 +00:00
defnax
7b20984574 added a new no avatar background picture for privat Chat.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 16:06:06 +00:00
defnax
b8789a9524 changed the color of the away background image.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3406 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 15:50:39 +00:00
defnax
4d9eaac22d changed Avatar pixel size, and added for Privat Chat's Avatar background new images.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3405 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 15:43:07 +00:00
defnax
708ae2936e changed avatar picture size layout.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3404 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 14:32:50 +00:00
thunder2
8c8a704322 Show context menu in PeersDialog and MessengerWindow with no active row.
Now you can add person links with no contacts.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3403 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 13:03:12 +00:00
thunder2
09ec26e387 Changed PersonEntry::operator=, returned *this
Removed not needed include

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3402 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-30 09:56:11 +00:00
thunder2
66f3c7fee8 The connection attempt to all ssl id's of one gpg id can be started from the context menu in PeersDialog and MessengerWindow.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3401 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-28 19:50:38 +00:00
defnax
a0e426a527 Added a Status Label for typing..., to display on top of the textedit and not more on statusbar.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3400 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-28 14:59:49 +00:00
defnax
d352621f74 Added a Splitter for Group Chat, and move the Buttons to the bottom, to get more space for Group Chat history.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3399 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-28 00:30:18 +00:00
defnax
d5090ea33c fixed to enable wordwrap for Forum Message Item, to not display long message in one line.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3398 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-27 13:52:17 +00:00
defnax
af81ffcf43 little layout change for PeerItem, removed not need label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-25 21:29:55 +00:00
thunder2
dc7dd949ca MessengerWindow:
- Display nick and location once at startup and not on every tick.
- Optimized loop of std::list from "for" with iterator to std::find.

PeersDialog:
- Optimized some loop of std::list from "for" with iterator to std::find.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3395 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-25 18:31:56 +00:00
defnax
b85d41cdd7 changed the Channel New Item layout design
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 21:04:35 +00:00
defnax
0afc0f298e Added close Button for the Info Frame.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3393 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 15:28:50 +00:00
defnax
2e92496aab changed the infolabel's layout margins
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3392 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 14:43:52 +00:00
defnax
749cb575e6 update again strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3391 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 14:33:45 +00:00
defnax
57bd81f5b6 corrected info string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3390 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 14:32:40 +00:00
defnax
15c064bbef update language strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3389 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 14:13:59 +00:00
defnax
64c9dcba0d changed status infolabel's text informations
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3388 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 14:04:06 +00:00
defnax
da2a2821c3 Added more infos to display on infolabel when Friend's status has changed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3387 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 13:27:31 +00:00
defnax
db41ffd764 removed the unused variable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3386 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-23 20:41:31 +00:00
defnax
a4a63fb004 added info logo and changed the background stylesheet for the infolabel.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3385 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-23 20:39:07 +00:00
defnax
7470c72042 Added a info Frame when friend is offline for Private Chat.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3384 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-23 19:09:16 +00:00
defnax
6a84e7cefa Disable the Avatar Label for Private Chat when Friend is offline else enable it.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3383 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-23 14:18:00 +00:00
thunder2
004d88da7e Fixed compile under linux.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3382 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-22 22:28:57 +00:00
thunder2
52183a0c75 Moved the tag feature in messages from the gui to the libretroshare.
Changed rsmsg interface and item classes so need full recompile.
Created new notifier for tag changes - NOTIFY_LIST_MESSAGE_TAGS.
Changed serialiser tests for message items.

After that all tags are reset to standard and all assigned tags to messages are lost.
Please delete the file msg_locale.cfg in your profile directory.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3381 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-22 22:12:26 +00:00
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
thunder2
9b72977bba Optimized calls to p3Peers->getGPGOwnId in MessengerWindow::insertPeers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-09 22:57:44 +00:00
leander-256
36a9159884 Fixes two compiler warnings:
- call of GeneralPage() with null pointer rather than the boolean false
- decomposition of a suspicious line into safe expressions (problem related to
  sequence points)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3273 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-09 01:10:27 +00:00
thunder2
7dd79e650f Forgot to close the new invite page after sending the mail.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 23:54:47 +00:00
thunder2
1734ce4fdc New page in ConnectFriendWizard - "Invitation by Email"
Created by defnax and modified by me

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 23:13:40 +00:00
thunder2
f452304b5c Change header of MessageComposer when title edit has modified - like ThunderBird
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 23:03:34 +00:00
defnax
7eba601144 removed old version strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 20:53:11 +00:00
thunder2
3f7ad6ebd9 ConnectFriendWizard
- Cleaned includes
- Corrected call of mailto, certificate now has new lines in mail body

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 18:40:38 +00:00
thunder2
9495648d16 Optimized call to p3Peers::getPeerCount in MainWindow::updateStatus
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3263 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-06 21:17:41 +00:00
csoler
458a8faf70 - implemented post-download hash re-check. For now, if the hash does not match, the download is canceled, but in the near future, per-chunk comparison wil occur
.
- corrected a bug that caused file copy error: a closeFile() was missing when the file is complete. Because of delays in fwrite, the file would not be always co
mplete, nor exist at all for small files (e.g. cache files), which in the later case caused the copy error.

Warning: needs a make clean in libretroshare to recompile.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3261 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-06 05:04:11 +00:00
defnax
225781aa51 set a minimum size hint for the friends list in CreateChannel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3260 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 20:20:32 +00:00
drbob
126a1d4012 Switched parent from MainPage to RsAutoUpdatePage ... in an attempt to fix GPG password freeze.
don't think it worked!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3259 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 19:41:46 +00:00
defnax
e7d659946d set minimum size hint for the items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3257 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 18:17:54 +00:00
defnax
700048fd9c fixed the layout of ShareKey
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3256 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 18:12:03 +00:00
leander-256
fe46d7618a Prevent multiple instances from running on Unix systems.
Every call to RsInit::LoadCertificates() now creates a file:
~/.retroshare/xxxxxxxxxxxxxxxxxxxx/lock
which is then bound to a system lock (fcntl F_SETLK).

If the lock request fails, it means another instance is already
running with the same profile.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3241 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-01 20:30:36 +00:00
thunder2
840f077826 finished add a Friend with RetroShare ID in ConnectFriendWizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3240 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-01 19:04:41 +00:00
defnax
6008ef5e22 Added to display RetroShare ID on Peer Details
Added to display for each Signers Peer Name + (PeerId)
Added first basic add a Friend with RetroShare ID, not yet finished

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3239 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-30 21:57:46 +00:00
thunder2
17723df2c8 - set items in TrustView to not editable
- don't show the own gpgid in FofPage in ConnectFriendWizard

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3238 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-30 14:52:41 +00:00
defnax
852d82e287 update German translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3237 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-30 12:21:15 +00:00
defnax
c1ae6c9773 enabled root decoration for Channels tree and renamed some items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-26 22:28:04 +00:00
thunder2
e175f0fb87 PeersDialog & MessengerWindow: removed hidden column id and store them in data (Qt::UserRole) of the first column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3206 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-25 14:19:48 +00:00
thunder2
73bfabd733 MessagesDialog: removed hidden columns msgid and srcid and store them in data (Qt::UserRole) of the first column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3203 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-25 12:17:46 +00:00
defnax
3ea1bb5f9f fixed Online since update only one time at start.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3202 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-24 18:06:30 +00:00
defnax
6202a0b201 Added Online since Label to ProfileWidget
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3198 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-24 15:38:38 +00:00
defnax
f3c2f0eaf0 disable the newthread and reply button when forum is not own or subscribed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-23 22:11:42 +00:00
defnax
c40bb75062 fixed column count for messages file list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3194 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-23 14:09:29 +00:00
defnax
cca5db6332 Added attaching files support via drag and drop for Create Forum Message.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3193 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-23 13:04:54 +00:00
defnax
53d5287490 set minimum sizeHint for Network's TreeWidget items to 18 pixel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3183 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-21 12:26:23 +00:00
csoler
bf6f74c16a added correct image interpolation whenever QPixmap::scaled is called
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-20 12:13:47 +00:00
defnax
7e307af78b renamed items in BlogsDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3174 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-20 11:23:58 +00:00
defnax
69bba330ac set a minimum size for Forum items and set a Foreground Text color.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3172 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 22:21:31 +00:00
defnax
051ce984ed set TextAlignment for Attachments AlignCenter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3171 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 18:06:04 +00:00
defnax
76c6989164 added to store the listSplitter state to settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3168 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 17:46:19 +00:00
defnax
350f6e0365 fixed the QLineEdit to stretch
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3167 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 16:57:46 +00:00
chrisparker126
43e756148a added sharekey feature to channel dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3166 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 16:38:13 +00:00
chrisparker126
ddb1094f68 added share key ui to .pro
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3165 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 15:37:31 +00:00
chrisparker126
7b26785262 added share key dialog for channels
enabled private group in channels

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3164 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 15:28:26 +00:00
defnax
37adbea543 fixed to hide ProgressBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3162 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 12:47:50 +00:00
csoler
bcd281f3e8 implemented speed measurement and display for turtle tunnels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3161 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 12:11:44 +00:00
defnax
09ac44316a Added a menu for the Hide Unconnected Button and renamed it
Added new action for Hide Status Column to the Display Menu
Moved Hide Offline Friends action to the Display Menu

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3159 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-18 21:59:33 +00:00
defnax
73ae89acad fixed to display all available Blogs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3157 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-18 19:34:29 +00:00