Commit Graph

309 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
3b37c1e9ad
Remove more copying of big structures in RsQThreadUtils::postToObject 2020-06-24 00:57:16 +02:00
Gioacchino Mazzurco
d2b9b9f094
Reduce memory usage due to copying in IdDialog::updateCircles
Heaptrack reported 141MB of RAM where used by this method most proably
  due to the group metadata list being copied accross lambdas and
  threads more then necessary.
Use an unique_ptr to safely avoid copying of big structure around.
2020-06-23 23:38:22 +02:00
Phenom
0a9f7882a5 Fix Indent in Chat Message 2020-05-21 16:32:59 +02:00
Phenom
e492945612 Add more color for quotted text. 2020-05-12 03:06:01 +02:00
Phenom
f41fa2ebe2 Fix Clear Layout methode.
Pointer seems to be deleted by Qt when last children is removed.
2020-05-03 20:33:59 +02:00
G10h4ck
2b44492cb6
Merge pull request #1829 from G10h4ck/rsfiles_links
RsFiles links support in libretroshare + a bunch of fixes
2020-04-20 17:12:04 +02:00
Phenom
2dc2b3598d Fix Message Delete Button.
Now, frame is cleared and next message selected.
2020-04-14 14:29:37 +02:00
Gioacchino Mazzurco
dc9ba74bdd
Add missing postToObjcted in RsGxsUpdateBroadcast
Deprecate RsGxsUpdateBroadcast each service should handle its own event
2020-04-14 12:24:57 +02:00
Gioacchino Mazzurco
4c0baa1ec3
Fix JSON API event handler registering behavior
As a bonus the behaviour is now homogeneous between C++ API and JSON API
Fix a bunch of compiler warning
RsEvents implementation is now safer
mHandlerMaps size is known at compile time, so use an std::array instead
  of vector
2020-04-14 12:24:57 +02:00
drbob
fc53af2646 TheWire fixup up display of messages
Process messages to group replies correctly and sort by age.
Expand message display to include replies.
Add coloring to distinguish between replies and actual msgs.
Enable subscribe / unsubscribe buttons.
Add Selection of which set of groups are visible.
Add missing setNetworkExchangeService calls for photo + wire services.
2020-03-13 16:44:15 +11:00
defnax
9086f65dfa fixing commit 2020-02-28 21:06:16 +01:00
defnax
73681d48b7 cleanup & removed the old icons from composer 2020-02-28 20:01:32 +01:00
defnax
a9f528ff33 changed color for the enterevent 2020-02-20 00:37:44 +01:00
csoler
f72b385ccf
Merge pull request #1776 from csoler/v0.6-FT
More switch to new notification system
2020-02-07 23:15:41 +01:00
csoler
0cdce37af4
added proper unregister calls in destructors of classes that register a event handler 2020-01-31 22:37:21 +01:00
hunbernd
b3ac3d58a9 Merge upstream 2020-01-22 00:16:41 +01:00
hunbernd
91b03064b9 Removed size limit inside image viewer, because QT already limits the window size to the 2/3 of screen size 2020-01-21 22:11:13 +01:00
hunbernd
83b18509e2 Resize photoview to the size of embedded image 2020-01-21 21:23:42 +01:00
hunbernd
69a2933590 Make pixmap resizing label work 2020-01-21 20:02:35 +01:00
defnax
27c4503cfb Added the new class for resize the image if the window is resized 2020-01-21 16:22:56 +01:00
defnax
5dffe2e3d8 fixing stylesheets for clickable label 2020-01-15 22:27:05 +01:00
csoler
2bd5bb5a3e
fixed merge with master 2020-01-11 00:08:36 +01:00
defnax
d0fcd90ccc Added Picture View Dialog for open the picture in a external View
* Added Picture View Dialog for open the picture in a external View
* Added a clickable Label for Classic Views Thumbnail label to open Picture via one click
* Imroved the Classic & Card views dark stylesheets for better look and feel
2020-01-10 19:27:58 +01:00
hunbernd
0e8b12ff9f Merge upstream 2020-01-07 15:05:21 +01:00
Gioacchino Mazzurco
c96223a2a8
Merge "Switched security items to new notification system #1735" csoler-v0.6-SecNotification 2020-01-06 15:09:06 +01:00
defnax
b96fecfcbb Added gif & webp for RichtextEditor
* Added gif & webp for RichtextEditor picture attachments
* Attempt to fix attached picture layout issue on Card View
2020-01-06 00:25:05 +01:00
hunbernd
a988b1dd8b Handle an edge case in imageutil 2020-01-05 20:59:16 +01:00
csoler
c544b1da7c
changed RsEvents so that it takes event types when registering handlers, which limits the number of handlers called for each event 2019-12-29 13:50:54 +01:00
hunbernd
0dcaa90820 Merge branch 'upstream' into foreign/New-Posted-Card-View 2019-12-28 23:03:56 +01:00
hunbernd
fc9ce4fddd Image optimizer can output byte array 2019-12-28 22:21:24 +01:00
hunbernd
2b05991713 Merge branch 'upstream' into feature/stickers-upgrade 2019-12-26 01:13:21 +01:00
hunbernd
cb68cb73d0 Optimized image embedding algorithm 2019-12-26 00:04:19 +01:00
hunbernd
33236aeca3 Merge branch 'upstream' into feature/stickers-upgrade 2019-12-23 23:54:55 +01:00
defnax
824fc5049b update the licence & added the changes for Channel message composer 2019-12-23 21:26:54 +01:00
defnax
47678b33a4 Added new rich text editor & improved design for Create Post
* Added new Rich Text Editor
* Redesigned the Create Post Composer for Posted Links
* When only link is added display different thumbnail
2019-12-19 19:05:13 +01:00
csoler
da6e7f9e9b
fixed conflicts with master 2019-12-14 18:27:41 +01:00
csoler
27793627e3
moved GxsChanges to rsEvents 2019-12-09 22:19:03 +01:00
csoler
e402630095
attempt to fix thread race between rsEvents and TokenQueue 2019-12-08 21:34:52 +01:00
felisucoibi
b709e68c72
Update misc.cpp 2019-12-02 11:00:35 +01:00
felisucoibi
2340c8ff20
Update misc.cpp 2019-12-01 12:28:07 +01:00
csoler
c0e8aa1024
Merge pull request #1596 from hunbernd/feature/risechatlenght
Rise public chat message size
2019-10-06 22:16:09 +02:00
hunbernd
e52f1282ec Allow to import stickers from chat window 2019-10-05 23:18:41 +02:00
Phenom
d681136831 Fix CMark compilation
Remove cmark_node_mem as cmark_node_free do the job.
Look at man:
https://github.com/commonmark/cmark/blob/master/man/man3/cmark.3#L141
2019-08-28 04:53:47 +02:00
hunbernd
9a884b7bf7 Rise max public chat message size to 31000 bytes
Rise color palette size from 16 to 256 colors

Note: Max chat item size is 32000 without splitting the message.
31000 = 32000 - some place left for other fields
2019-07-05 13:41:30 +02:00
hunbernd
73574ff2ad Fixed infinite loop issue 2019-07-04 19:07:02 +02:00
csoler
90d26e7323
suspended unused code 2019-06-04 13:41:34 +02:00
csoler
e66fb923fb
attempt to use a cache for user-defined avatars. Should reduce memory footprint. to be tested 2019-06-03 23:52:29 +02:00
Phenom
a25f974473 Fix Warnings for 'RsGxsIfaceHelper' defined as a struct here but
previously declared as a class

In file included from ../../../trunk/retroshare-gui/src/main.cpp:66:
In file included from ../../../trunk/libretroshare/src/retroshare/
rsidentity.h:31:
../../../trunk/libretroshare/src/retroshare/rsgxsifacehelper.h:43:1:
warning: 'RsGxsIfaceHelper' defined as a struct here but previously
declared as a class [-Wmismatched-tags]
struct RsGxsIfaceHelper
^
../../../trunk/retroshare-gui/src/util/RsGxsUpdateBroadcast.h:28:1:
note: did you mean struct here?
class RsGxsIfaceHelper;
^~~~~
struct
2019-02-14 22:48:33 +01:00
Phenom
52e4a3cd00 Fix Warnings for 'RsGxsChanges' defined as a struct here but previously
declared as a class

In file included from ../../../trunk/retroshare-gui/src/main.cpp:66:
In file included from ../../../trunk/libretroshare/src/retroshare/
rsidentity.h:31:
In file included from ../../../trunk/libretroshare/src/retroshare/
rsgxsifacehelper.h:30:
../../../trunk/libretroshare/src/retroshare/rsgxsiface.h:76:1: warning:
'RsGxsChanges' defined as a struct here but previously declared as a
class [-Wmismatched-tags]
struct RsGxsChanges
^
../../../trunk/retroshare-gui/src/util/RsGxsUpdateBroadcast.h:29:1:
note: did you mean struct here?
class RsGxsChanges;
^~~~~
struct
2019-02-14 22:47:57 +01:00
hunbernd
50ee33b229 RS_ prefix 2018-12-31 22:36:30 +01:00