Commit Graph

42 Commits

Author SHA1 Message Date
Phenom
078913f0f3 Fix GCC warnings: enumeration value ‘TYPE_IDENTITY’ not handled in
switch

warning: enumeration value ‘TYPE_IDENTITY’ not handled in switch [-
Wswitch]
  switch (link.type()) {
         ^
2017-04-25 09:54:53 +02:00
Phenom
490f8d2f54 Fix Clang warnings: 'TYPE_IDENTITY' not handled
warning: enumeration value 'TYPE_IDENTITY' not handled in switch [-
Wswitch]
2017-04-25 09:45:27 +02:00
RetroPooh
328168d9a7 add space after quoting sign 2017-03-02 20:03:16 +03:00
hunbernd
d0ab10cc38 Fix slow emoticons by using generic regex rules where possible. 2017-02-05 22:06:36 +01:00
csoler
34962c343a added a checkbox to load emoticons in forums as an option, so as to avoid crazy loading times. Disabled by default until we fix the RsHtml code 2017-01-18 21:22:38 +01:00
Phenom
ae8365167e Add grouped emoticons. 2016-11-23 18:48:16 +01:00
Phenom
fd5a5cc804 Fix PR#540 2016-10-24 20:11:47 +02:00
Phenom
58a4d39b0f Fix handle of url in EmbedInHtmlAhref.
The url cannot contains space. Query and hash are now handled.
2016-10-22 14:48:47 +02:00
Phenom
ddbcd2150c Add buttons to send message in plain text and without EmoteIcon. 2016-06-14 23:01:08 +02:00
csoler
d6ae71ebc8 removed pointer to QStringList in QHash, causing memory loss 2016-04-20 20:21:29 -04:00
Chuck Rhode aka Manuel Davis
5645e44f9c Change regular expression(s) for identifying hotlinks in feral text. 2016-04-19 11:32:56 -05:00
csoler
d512c4a35a enabled new link type for posted (patch from Fanch) 2016-04-12 22:59:12 -04:00
Phenom
16c59af9f4 Correct Colored Name Contrast in chat, same way than text. 2016-03-12 13:25:10 +01: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
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
electron128
3b2eae4f49 fixed memory leak by using stack memory instead of heap memory 2016-01-01 12:17:08 +01:00
Phenom
162b5fa2eb Fix colored font in chat.
Colored styles were replaced by emoticons.
2015-12-26 15:57:46 +01:00
hunbernd
5a8f74ce99 Spoiler feature
Select text to hide, then right click --> Spoiler
2015-12-07 02:28:27 +01:00
hunbernd
0aa82c852b Fixed line duplication bug again 2015-12-06 21:22:03 +01:00
defnax
5404cda302 Added Forum reply with plaintext quote (by anmo) 2015-11-19 12:05:52 +01:00
Phenom
3f155b9b75 Add minimum font size in chat. 2015-09-13 17:35:19 +02:00
Phenom
88a6931758 Allow Chat Text Format Option working. 2015-08-29 19:27:03 +02:00
Phenom
02775c6fb4 Add HTML Text Optimization by exporting styles. 2015-08-20 17:55:20 +02:00
hunbernd
0402e53f15 Fix: empty line duplication bug
to reproduce:
hit: a<enter><enter>b
the result will be: a<br><br><br>b
the empty line is two lines high
2015-08-13 22:13:21 +02:00
csoler
d81a1c3900 removed useless debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-23 19:36:47 +00:00
electron128
d65adeb2ea disabled debug print of DHT requests, disabled debug print in p3Peers::getProxyServer(), added missing newlines in debug prints (modified patch from Hypfer)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-27 18:41:44 +00:00
defnax
ff366f0ec2 Added Phenom's Patch Fix_NonBreakingSpace_0.6_7480.patch
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-08-07 23:07:16 +00:00
csoler
037abea5eb Fixed spaces in copy/paste of rich text (Patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 22:55:14 +00:00
csoler
f6bdbd5e21 removed HandleRichText.cpp from last commit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6931 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-08 13:52:47 +00:00
csoler
6380f6121c moved defines for version to .h, as it is super hard to script the replacement of the defines in the cpp file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6930 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-08 13:50:10 +00:00
thunder2
f10f029d45 Code maintenance for Qt 5:
- Added usage of QUrlQuery
- Removed QSound::isAvailable()
- Changed Qt::escape() to QString::toHtmlEscaped()
- Changed QAbstractItemModel::setSupportedDragActions() to virtual QAbstractItemModel::supportedDragActions()

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6851 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-19 20:59:55 +00:00
thunder2
3e15a7bb86 Code maintenance for Qt 5:
- Fixed some missing headers
- Fixed some deprecated functions

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6845 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-19 02:07:01 +00:00
thunder2
135a5e579a Code maintenance for Qt 5:
- Replaced Qt::WFlags with Qt::WindowFlags.
- Removed path "QtCore/" and "QtGui/" from the includes.
- Replaced "QString::toAscii()" with "QString::toLatin1()".

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6843 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-18 21:10:33 +00:00
thunder2
30c4a6ef93 Added quick fix to show the plain name and title in the chat lobby.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6470 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-01 20:35:07 +00:00
thunder2
27d72c6fba Fixed some compiler warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-06-10 13:27:24 +00:00
csoler
0b7f836eb1 removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6254 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 21:45:13 +00:00
thunder2
91710adfac Disabled fix color of chat messages for Qt 4.5 and lower because of missing methods on QColor.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-24 11:32:11 +00:00
thunder2
28ec721c1b Added patch from Anonymous Coward - readable chat
Added new options to the Chat settings window:
- Enable custom fonts
- Enable custom font size
- Enable bold
- Enable italics
- Minimum text contrast

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5579 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-21 21:23:14 +00:00
thunder2
02892d4ae5 Added patch from braindead
Embedded images in private chat and messages (only for QT version 4.7.0 and higher)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-18 22:59:23 +00:00
defnax
a25e609e2f Added a default styleSheet for the "Confirm Friend / Add as Friend" Button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5163 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-12 23:44:48 +00:00
thunder2
27c0535a8a Fixed handling of html links in HandleRichText::formatText.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5162 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-12 16:04:18 +00:00
thunder2
dc2d6c975e - Moved HandleRichText from the folder "chat" to "util" and redesigned the source
- Extended RsHtml::formatText to replace the RetroShare links with an image and enabled this for the certificate links in the system messages (friend recommendation and user request)
- Added new ObjectPainter for painting a button on a pixmap


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5160 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-12 00:40:53 +00:00