Commit Graph

2896 Commits

Author SHA1 Message Date
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
chrisparker126
9e86265f91 moved test sources to test directory and deleted a few dead files , created new util test directory.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3396 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-25 19:54:28 +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
chrisparker126
331ed93720 added new msg tag feature for retroshare messages.
update rsmsg iface so need full recompile for gui
added serialiser test for new tag rsitems



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-19 21:47:26 +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
thunder2
fa9ea81ad7 Changed some mutex around p3ConnectMgr::mOwnState. Please review.
Made getIPAddressFromString thread safe, just in case.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3374 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-16 07:29:51 +00:00
csoler
30e4509043 added a thread-safe and cross-plateform random number generator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3373 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-15 20:20:51 +00:00