Commit graph

193 commits

Author SHA1 Message Date
Phenom
7acefda943 Fix Chat Font setting saving.
And don't use native dialog.
2017-05-19 18:40:17 +02:00
Gioacchino Mazzurco
5159e326c7 Merge branch 'master' into gxs_mail_experiments 2017-05-05 15:44:22 +02:00
Phenom
4fbcc1e85f Add Double Click on Name for Chat to add their name in text writer. 2017-04-29 22:14:18 +02:00
Phenom
6f2d7bbca0 Fix Clang warnings: implicit conversion from 'double' to 'int'
warning: implicit conversion from 'double' to 'int' changes value from
2.5 to 2 [-Wliteral-conversion]
        QSize buttonSize = QSize(iconSize + QSize(FMM,FMM));
2017-04-17 21:42:13 +02:00
Gioacchino Mazzurco
2630ed4573 Merge branch 'master' into gxs_mail_experiments 2017-03-13 22:57:33 +01:00
mestaritonttu
b4445675ec Added period 2017-03-07 13:34:53 +02:00
RetroPooh
328168d9a7 add space after quoting sign 2017-03-02 20:03:16 +03:00
Gioacchino Mazzurco
953b70fbe4 Improve async distant chat, fix chat msg receiving
DistantChatService::initiateDistantChatConnexion(...) made notification
  message optional (enabled by default)
p3ChatService removed duplicion avoidance as it is not necessary
p3ChatService::sendStatusString(...) send status only if peer is online
protect p3ChatService::mDistantGxsMap with mutex as operation on it may
  be done by different threads
p3ChatService::receiveGxsMai(...) set chat message item peer id with
  distant tunnel id, so it is recognized as a distant message later
made p3GxsTunnelService::makeGxsTunnelId(...) static as it need no
  access to this, now it can be used easier by other components
rename RsGxsMailItem::recipientsHint to recipientHint as for now only
  one recipient is possible (TODO: update documentation too)
GxsMailsClient::receiveGxsMail(...) changed paramethers for better
  abstracion, now destination id is passed too because it is usually a
  very useful information
ChatWidget some adaptation to async chat, a couple of method have been
  deprecated too
PopupDistantChatDialog::updateDisplay(...) adapt message shown to the
  user to the new async chat paradigm (TODO: need review)
2017-03-01 23:31:13 +01:00
csoler
99cf69a98c Merge pull request #703 from RetroShare/v0.6-ImprovedGUI
V0.6 improved gui
2017-02-26 20:14:34 +01:00
Phenom
3452821fb9 Add Shift+Enter to create new line in chat widget when Ctrl+Enter option
is disabled. Proposed by MMT1

In the same time I fix the completer only when chat is lobby.
2017-02-26 11:31:43 +01:00
csoler
67af166c0c moved Options window into a new Preferences tab 2017-01-26 22:35:33 +01:00
RetroPooh
0ca477d01b add chatlobby option to disable sending typing notifications 2017-01-20 22:26:50 +03:00
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
Phenom
fdfd2e9248 Add context menu to show hidden image on lobby.
A tooltip show hidden image too.
The RSImageBlockWidget is removed.
2016-10-05 12:27:31 +02:00
Phenom
7dd78f28d8 Fix Lobby Load embedded image option. 2016-08-22 23:08:11 +02:00
Phenom
9780f1ff78 Add AutoHide to RSImageBlockWidget 2016-08-17 23:33:41 +02:00
defnax
b0b4320c0b decrease chat bar widget icon size 2016-08-13 16:20:58 +02:00
Phenom
f71aad4b9c Add Chat Load Embedded Images Option like forum and message. 2016-08-13 09:46:31 +02:00
defnax
dea776a61a Moved font menu to Settings menu 2016-08-06 18:35:07 +02:00
defnax
e2bb477899 Added new blue icon set for Chat Widget (icons by Beluga) svg ad png Format 2016-08-05 01:00:53 +02:00
defnax
da11995ca3 Clean up the Chat Toolbar Buttons
Fixed display of Info Text on PGg details
2016-06-15 23:32:01 +02:00
Phenom
ddbcd2150c Add buttons to send message in plain text and without EmoteIcon. 2016-06-14 23:01:08 +02:00
Chuck Rhode aka Manuel Davis
8be53dd79a Improve inserting placemark in ChatLobby.
*append* inserts text at end but with formatting in effect at
current cursor position, such as in the middle of a hotlink,
which would be strange.  This OTOH inserts text with
formatting in effect on the last line, which may be strange
or not.
2016-04-19 11:11:58 -05:00
Phenom
45f77def2b Change Lobby Send button tooltip. 2016-04-13 20:42:12 +02:00
Phenom
718d6f9b19 Resize Chat Tool Bar Button for Hight DPI screen. 2016-04-13 20:26:36 +02:00
Phenom
42a2b37abb Move SearchBar to Tool Bar and remove Show/Hide action.
As asked by Cyril in PR#346
2016-04-13 19:21:18 +02:00
Phenom
c5873f3216 Move Chat notify button from search bar to tool bar.
As search bar is hidden by default.
2016-04-13 18:35:42 +02:00
Phenom
c6f1cc4e63 Clear WebAPI when clear chat history in GUI.
Move notifyChatCleared call to p3ChatService
To maintain notify direction.
2016-03-31 22:52:53 +02:00
Phenom
16c59af9f4 Correct Colored Name Contrast in chat, same way than text. 2016-03-12 13:25:10 +01:00
csoler
58e59d1181 added sounds to chat lobbies (patch fromManuel Davis) 2016-01-28 20:19:44 -05:00
csoler
749ca08f9f slightly improved message shown over lobby names 2016-01-26 22:30:04 -05:00
Phenom
1d2be232f0 Fix Quote Lines With Image
When get text with image from toPlainText(), a (-4) char is inserted.
2016-01-23 18:38:30 +01:00
Cyril Soler
9063612c33 fixed utf8 issue in ChatWidget. To be tested. 2016-01-20 11:19:36 -05:00
sehraf
54f9912c32 Add whitespaces around smileys.
Only replace smileys with an image when they are surrounded by whitespaces.
This fixes smileys in links and other text that happen to include the sequence for a smiley.
2016-01-05 15:01:22 +01:00
defnax
8e9fe6d800 Merge pull request #189 from hunbernd/feature/chat-enhancements
Chat enhancements
2015-12-22 01:07:02 +01:00
hunbernd
bc4691ceb4 Show save image option only when it is needed 2015-12-12 22:41:15 +01:00
hunbernd
ff44965e2c Added save image function into chat 2015-12-06 23:00:29 +01:00
hunbernd
0b92c79eb0 Quote function on chat
select text --> right click --> Quote
2015-12-06 21:44:53 +01:00
csoler
9193d3579b merged with latest master before creating PR 2015-12-04 21:24:51 -05:00
csoler
81ab43beb9 fixed GUI update of avatars and status for distant chat. Updated backend for new model. Fixed a few bugs in serialisation 2015-11-30 00:02:44 -05:00
Phenom
6df42a0b7d Add GXS Id in anchor in Chat. 2015-10-28 07:20:17 +01:00
Phenom
2b1d39cea1 Add HideChat Button.
Change layout of video when text is hidden.
Add toolbar in fullscreen.
2015-10-05 21:04:26 +02:00
Phenom
8a7e359557 Add a button on VOIP to hide text when video is on. 2015-10-05 21:04:26 +02:00
Phenom
64389e35d8 Fiw Delete key event in ChatWidget. 2015-10-03 11:00:16 +02:00
Phenom
3f155b9b75 Add minimum font size in chat. 2015-09-13 17:35:19 +02:00
AsamK
bd6bb8996b Improve performance of eventFilter in chat lobbies
- Only check the anchors if the visible content has actually changed
  by saving lastUpdateCursorPos and End
- Check notify first, before doing any work
- Simplify regexp as the anchors have a fixed format
- Remove unnecessary conversion to utf8 and back
2015-08-31 12:10:49 +02:00
AsamK
5f81d8efc8 Remove nick from anchor names, causes problems
- Nicknames that contain " could break the formatting
- Nicknames containing chars like < or > were converted to html entities
  by the QTextBrowser so the anchor was no longer identical with the
  anchor stored in the _listMsg list
2015-08-31 12:10:49 +02:00
AsamK
5dad1680e6 Implement history for distant chat
Uses the same history config as private chat
2015-08-28 01:29:34 +02:00
defnax
6e1a8fac10 Merge pull request #21 from AsamK/lobby_history
Store lobby history on disk
2015-08-27 18:43:28 +02:00
Cyril Soler
ef499cd570 Merge pull request #46 from PhenomRetroShare/Fix_ChatWidgetSearchTextThreshold
Fix chat widget search text threshold
2015-08-26 19:43:56 -04:00