Commit Graph

820 Commits

Author SHA1 Message Date
G10h4ck
638ef80788
Merge pull request #2018 from G10h4ck/memory_optimization
Reduce memory usage due to copying in RsQThreadUtils::postToObject
2020-06-25 11:30:06 +02:00
Gioacchino Mazzurco
3b37c1e9ad
Remove more copying of big structures in RsQThreadUtils::postToObject 2020-06-24 00:57:16 +02:00
csoler
d39b09c5bc
added zoom of thumbnails on control+wheel 2020-06-23 20:24:14 +02:00
csoler
33da5c06b8
removed multi-callback based distant search result handling, and use rsEvents instead 2020-06-16 21:13:55 +02:00
csoler
baf7b06e4c
fixed double click problem on files 2020-06-06 21:51:40 +02:00
csoler
129ffdd6c5
fixed auto-layout of thumbnails 2020-06-06 19:07:03 +02:00
Phenom
70e2a1a801 Fix qss StyleSheet dark theme item color for gtk users
gtk users can't set Qt system theme.
2020-05-30 12:40:42 +02:00
defnax
180a43150b Fixing Group Tree item text color 2020-05-21 21:58:23 +02:00
defnax
fd6b69bcac
Merge pull request #1943 from PhenomRetroShare/Fix_RsElidedItemDelegateStyleSheet
Fix RSElidedItemDelegate to use StyleSheet as default but defined colors
2020-05-19 19:28:52 +02:00
csoler
d52d9c909b
Merge pull request #1875 from csoler/v0.6-GxsGroup
Add group change notifications (e.g. circle invites, forum moderation, etc)
2020-05-17 22:37:03 +02:00
Phenom
384ae46706 Fix RSElidedItemDelegate to use StyleSheet as default but defined colors
if they are.

If none, use Base Delegate.
2020-05-17 13:27:35 +02:00
csoler
2ad9d86385
Merge pull request #1933 from PhenomRetroShare/Fix_RsElidedItemDelegateAbs
Fix RSElidedItemDelegate abs to use std one.
2020-05-12 23:07:08 +02:00
csoler
e6edae27be
Merge pull request #1922 from PhenomRetroShare/Fix_SomeWarnings
Fix some warnings
2020-05-12 23:05:34 +02:00
Phenom
ba7a4db934 Fix RSElidedItemDelegate abs to use std one. 2020-05-12 19:56:11 +02:00
Phenom
e492945612 Add more color for quotted text. 2020-05-12 03:06:01 +02:00
Phenom
c6350ff044 Fix GroupTreeWidget with RSElidedItemDelegate for StyleSheet. 2020-05-10 18:42:24 +02:00
csoler
8f12dd6322
fixed bug in chat room notify 2020-05-10 13:33:20 +02:00
csoler
6f6e0de5f1
merged with upstreamm/master 2020-05-09 22:33:27 +02:00
csoler
df92000147
Revert "Fix GroupTreeWidget with RSElidedItemDelegate for StyleSheet." 2020-05-09 21:49:13 +02:00
Phenom
826e969fae Fix GroupTreeWidget with RSElidedItemDelegate for StyleSheet. 2020-05-09 14:43:45 +02:00
Phenom
e3846f981c Fix warning: control reaches end of non-void function
../../../trunk/retroshare-gui/src/gui/common/FriendListModel.cpp: In
member function ‘QVariant RsFriendListModel::displayRole(const
RsFriendListModel::EntryIndex&, int) const’:
../../../trunk/retroshare-gui/src/gui/common/FriendListModel.cpp:716:1:
warning: control reaches end of non-void function [-Wreturn-type]
  716 | }
      | ^
2020-05-09 14:34:48 +02:00
Phenom
0eaa121457 Fix RsElidedItemDelegate for StyleSheet
Now StyleSheet is applied well.
2020-05-04 11:35:33 +02:00
Phenom
b6b581f4b0 Fix NewFriendList delete by Keyboard 2020-04-30 10:29:15 +02:00
csoler
f5af7dfeb3
fixed up top bar tooltips to display what the numbers actually mean 2020-04-27 21:56:43 +02:00
csoler
80b7f2a3cd
fixed loading of already selected ids in FriendSelectionDialog and automatically display existing GxsGroupDialog moderators 2020-04-27 17:00:13 +02:00
csoler
5120f693be
Merge pull request #1859 from csoler/v0.6-ImprovedGUI_4
Making channels faster to load
2020-04-21 19:30:49 +02:00
csoler
5b761c72ba
removed debug info 2020-04-19 21:07:53 +02:00
csoler
02e939ac8f
replaced a bunch of explicit icons, mostly in abstract items models, by cached ones 2020-04-19 17:41:13 +02:00
csoler
c84016c3b0
force Qt to use implicit data sharing in icons and pixmaps by using our own cache, and apply this to GxsChannelPostItem 2020-04-19 13:10:30 +02:00
Gioacchino Mazzurco
37854c8f23
Fix compiler error on 32bit platforms 2020-04-14 12:26:21 +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
Gioacchino Mazzurco
55d466f79b
Initial work on RsFiles links support in libretroshare 2020-04-14 12:17:01 +02:00
defnax
eb96350a5f cleanup & remove old icons with new one 2020-03-03 16:26:47 +01:00
csoler
5ccc59e2ea
removed TokenQueue from FriendSelectionWidget 2020-02-29 23:07:01 +01:00
csoler
737b846e23
Merge branch 'master' into v0.6-FT4 2020-02-22 21:11:00 +01:00
csoler
bb498c3dc0
Merge pull request #1803 from defnax/removed-old-unused-icons
Removed old unused icons
2020-02-22 17:47:32 +01:00
csoler
0f045b4f6b
Merge pull request #1800 from cyisfor/master
Increase maximum avatar size to 96 to avoid blurriness in chats
2020-02-22 17:26:06 +01:00
defnax
bb22b03b62 removed old icons & restored few back 2020-02-22 15:41:34 +01:00
csoler
61083ff77a
fixed elided label when size is too small to draw anything 2020-02-18 11:07:41 +01:00
csoler
09c5d93631
moved elided label paint method to static so that it can be used by other item delegates 2020-02-18 10:50:55 +01:00
Cy
718ad1c531
Increase maximum avatar size to 96 to avoid blurriness in chats 2020-02-17 22:13:38 +00:00
csoler
8e153b4acc
started removal of GxsBroadcastBase class 2020-02-06 19:57:23 +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
csoler
c75d372f24
merged upstream/master 2020-01-17 22:16:24 +01:00
csoler
5df7f7667f
fixed crash in NewFeed when attempting to find a widget using its identifier 2020-01-16 20:33:34 +01:00
csoler
c552890459
attempt to sort out the mess in item deletion in FeedHolder widgets 2020-01-14 21:43:29 +01:00
csoler
2bd5bb5a3e
fixed merge with master 2020-01-11 00:08:36 +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
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
15ac7eecc8 Cache sticker icons 2019-12-26 00:01:14 +01:00
hunbernd
33236aeca3 Merge branch 'upstream' into feature/stickers-upgrade 2019-12-23 23:54:55 +01:00
csoler
8f80db07c5
removed debug output 2019-12-21 14:44:16 +01:00
csoler
137cb5271d
fixed feed bug by moving away from std::string as a return type to uniqueIdentifier(). Now uint64_ hash is used and cached 2019-12-21 14:33:53 +01:00
csoler
11bc7a886a
fixed cmpilation error, where impossible case is not handled 2019-12-21 11:14:37 +01:00
csoler
ff86d3cd20
removed dangerous mItems map from RSFeedWidget, replacing the search by data-based search 2019-12-19 23:34:10 +01:00
csoler
856d1b62a7
moved to QueuedConnection to update the feed count 2019-12-19 21:04:18 +01:00
csoler
459ddc8883
fixed bug caused by comparing temporary object output of uniqueIdentifier() method to another string 2019-12-15 18:40:42 +01:00
csoler
11c520d280
replaced QString output of uniqueIdentifier() in feedItem classes by a std::string because QString caused random crashes 2019-12-15 16:46:22 +01:00
csoler
b6ca07aaa3
fixed bug caused by accessing Settings from non Qt thread 2019-12-07 22:26:26 +01:00
csoler
d152d9f50c
fixed proper async call of forceUpdateDisplay() 2019-12-06 22:19:49 +01:00
csoler
b85be7cc8e
simplified the addIfUnique mechanism in NewsFeed by using a data-based identifier for items 2019-12-03 22:30:13 +01:00
csoler
65fa54c206
using new notification system for connection attempts 2019-12-02 20:53:51 +01:00
hunbernd
e52f1282ec Allow to import stickers from chat window 2019-10-05 23:18:41 +02:00
hunbernd
5e0dcdc080 Better message when there is no stickers
Fix infinite waiting cursor
2019-10-05 20:11:38 +02:00
hunbernd
8ff71150c5 Recheck for new stickers when opening the dialog 2019-10-05 19:53:24 +02:00
hunbernd
8b5a1036e0 Waiting cursor while loading 2019-10-05 19:23:59 +02:00
defnax
75dd928fbb Removed the default stylsheets from titlebar frames
Removed the default stylsheets from titlebar frames
2019-09-28 22:58:28 +02:00
csoler
d055887aa1
removed some dead code 2019-09-23 20:52:19 +02:00
csoler
a04d56e84e
fixed wrong default value for showUnconnected nodes 2019-09-23 19:44:20 +02:00
csoler
282d2d324d
added missing notifications when adding friends 2019-09-22 20:42:49 +02:00
csoler
9b78447109
used RsInfo instead of std::cerr in authssl.cc 2019-09-22 17:36:08 +02:00
csoler
6cbb959010
fixed bug preventing to remove friend nodes 2019-09-15 21:11:40 +02:00
csoler
3108a53a7f
hide empty groups in FriendList 2019-09-15 20:53:12 +02:00
csoler
b0c7f8f0ca
fixed display of non validated nodes without fingerprint 2019-09-10 22:01:06 +02:00
csoler
3a58aa468f
add special profile item for not yet validated peer from short invite 2019-09-10 09:52:37 +02:00
csoler
6419b03a2a
merged upstream/master 2019-09-08 20:35:23 +02:00
csoler
048beaf27a
Merge pull request #1631 from csoler/v0.6-FriendList
show best icon for not expanded profiles in friend list
2019-09-05 13:20:41 +02:00
csoler
e0623e6178
fixed default avatar when no locations available 2019-09-04 21:42:21 +02:00
csoler
81e9cd1c51
show best icon for not expanded profiles in friend list 2019-09-04 21:35:17 +02:00
csoler
a51259beb5
Merge pull request #1625 from csoler/v0.6-FriendList
fixed connection for "deny friend" function in FriendList
2019-08-30 14:05:58 +02:00
csoler
15e6947b07
use queued connections for notification signals in friend list, added a call to begin/endResetModel() 2019-08-30 13:57:27 +02:00
csoler
4d96c71942
fixed connection for "deny friend" function in FriendList 2019-08-30 11:11:40 +02:00
csoler
ac8043806b
Merge pull request #1622 from csoler/v0.6-FriendList
increased spacing for groups to fit the group icon in friendlist
2019-08-28 20:57:26 +02:00
csoler
0ddeaaf810
increased spacing for groups to fit the group icon in friendlist 2019-08-27 13:41:19 +02:00
csoler
c28c193b7c
Merge pull request #1615 from csoler/v0.6-FriendList
V0.6 friend list
2019-08-26 19:07:11 +02:00
csoler
886d71e59c
keep groups sorted together, and auto-expand group when adding a profile to a group 2019-08-26 18:27:20 +02:00
csoler
0cea0e5217
fixed missing connection to connect attempt 2019-08-24 20:45:13 +02:00
csoler
8a7722388a
added missing layoutChanged() to model 2019-08-24 10:21:11 +02:00
csoler
978ce82243
switch 32bits implementation to a more compact mode allowing more profiles 2019-08-23 23:25:43 +02:00
csoler
4b55fc4789
fix int bugs in previous implementation 2019-08-23 23:08:29 +02:00
csoler
a9aa5225ca
fixed possible bug due to not checking returned value 2019-08-23 22:51:50 +02:00
csoler
cc32de8466
added specific index implementations for 32bits and 64bits 2019-08-23 22:46:56 +02:00
csoler
b06f78d954
restored missing addToGroup menu 2019-08-23 20:21:57 +02:00
csoler
b5cdd0f4f0
save/restore expanded items when sorting 2019-08-23 16:39:57 +02:00
csoler
fdea4febbe
cleaned up the code, added icon for groups, only save/restore expanded items when changes are expected 2019-08-23 16:15:43 +02:00
csoler
1181e26bc5
removed debug output 2019-08-22 13:30:15 +02:00
csoler
6a8f6bf93d
save/restore expanded items and selection 2019-08-22 13:13:04 +02:00
csoler
15e43dce01
proper handling of peer connections notifications 2019-08-21 22:39:07 +02:00
csoler
a75a4945ec
added update every 5 mins to account for changes when sleeping 2019-08-20 21:27:59 +02:00
csoler
6a62227dba
cleanup up the code in FriendList, and fixed bug causing own locations not to show 2019-08-20 14:57:44 +02:00
csoler
b26be4db08
added more checks against inconsistencies 2019-08-19 22:56:49 +02:00
csoler
e0681828ee
fixed bug causing SEGV 2019-08-17 15:25:32 +02:00
csoler
70680fae47
proper on/off switch for status show 2019-08-15 19:43:41 +02:00
csoler
038a0ae4c7
fixed display of custom state string 2019-08-15 19:05:42 +02:00
csoler
74b8ed0633
bypass useless avatar dialog when choosing own avatar 2019-08-15 18:11:57 +02:00
csoler
6e7a86058d
fixed saving of sortByState option 2019-08-15 16:16:01 +02:00
csoler
9d696f56bc
fixed removal of profiles from groupless list when the profile is in a group 2019-08-15 15:54:16 +02:00
csoler
9686fc5546
fixed sorting by state and cleaned up column show/hide menu 2019-08-15 15:49:20 +02:00
csoler
13f1343ae5
only show avatars in column 0 2019-08-12 14:17:00 +02:00
csoler
d3928049e1
display node avatars with proper size 2019-08-12 13:43:45 +02:00
csoler
e1556e4fd5
fixed sorting and filtering 2019-08-12 12:49:04 +02:00
csoler
0f4db73b0f
fixed sorting 2019-08-12 11:20:53 +02:00
csoler
e6a70691f7
added count of online nodes 2019-08-11 14:44:58 +02:00
csoler
ebed027cba
fixed show/hide groups option 2019-08-11 11:46:49 +02:00
csoler
9df1101bdf
fixed coloring/bold based on status 2019-08-07 22:35:57 +02:00
csoler
a4481b80f2
added sorting/filtering to FriendListModel 2019-08-06 22:52:07 +02:00
csoler
6c534360f1
fixed coloring in FriendListModel 2019-08-06 19:41:18 +02:00
csoler
fb174f0131
added bold for connection state 2019-08-03 23:22:48 +02:00
csoler
ee678889a3
fixed hide/show column 2019-08-03 21:07:48 +02:00
csoler
47bee5198c
removed TOP_LEVEL type for model indices 2019-08-02 15:40:11 +02:00
csoler
3ed7cf4c45
fixed several problems in model 2019-08-01 23:55:42 +02:00
csoler
625514bb87
changed model so that the entire hierarchy in encapsulated in the index 2019-08-01 16:53:59 +02:00
csoler
951b7f93fb
fixed model internals. Seems to work now. 2019-07-28 09:12:55 +02:00
csoler
ca442a7113
added debug output to FriendListModel and fixed a few errors 2019-07-27 23:42:39 +02:00
hunbernd
a3801c579a Cache the tooltips 2019-07-01 01:54:15 +02:00
hunbernd
5b0438a10f Show sticker preview in tooltip 2019-07-01 01:21:15 +02:00
hunbernd
86182a607b Added sticker support 2019-06-30 23:20:25 +02:00
csoler
49c450890e
fixed hierarchical info 2019-06-29 23:55:38 +02:00
csoler
88ce3e4274
added hierarchy information in FriendList Model 2019-06-29 17:50:13 +02:00
csoler
833661fc24
improved FriendList Model 2019-06-29 00:14:27 +02:00
csoler
7ccb05b77a
fixed initialization of UI in NewFriendList 2019-06-28 22:36:19 +02:00
csoler
5e118e0e27
fixed compilation 2019-06-28 16:20:26 +02:00
csoler
1c123d6df9
added missing NewFriendList.ui 2019-06-28 11:27:19 +02:00
csoler
a4f6d89575
first version of item model for new friend list 2019-06-28 11:12:44 +02:00
csoler
081a3a7023
switched to new (unifinished) friendlist code 2019-06-25 23:11:12 +02:00
csoler
38f6657c2f
added new friendlist class with unfinished model. 2019-06-25 23:08:31 +02:00
csoler
daec6b33c7
arranged to show PGP id for friends from short invite. Name not available yet 2019-06-22 22:07:23 +02:00
csoler
a52451b72c
moved SSL part of friend list into a separate function 2019-06-22 18:44:32 +02:00
csoler
e132ce7072
attempt to add SSL-only friends in FriendList - does not work yet 2019-06-20 23:09:40 +02:00
csoler
94cbe65142
added various sizes in icons cache so that we do not always allocate the largest sizes 2019-06-04 11:49:26 +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
csoler
450fcbb0e7
Merge pull request #1459 from defnax/master
Improved Posted Links & Subscribe button look like Youtube/Reddit style
2019-03-19 23:44:14 +01:00
Phenom
8904f732bd Fix Warnings for 'RsGroupInfo' defined as a struct here but previously
declared as a class

In file included from ../../../trunk/retroshare-gui/src/gui/
RemoteDirModel.cpp:30:
../../../trunk/libretroshare/src/retroshare/rspeers.h:339:1: warning:
'RsGroupInfo' defined as a struct here but previously declared as a class
[-Wmismatched-tags]
struct RsGroupInfo : RsSerializable
^
../../../trunk/retroshare-gui/src/gui/common/GroupDefs.h:24:1: note: did
you mean struct here?
class RsGroupInfo;
^~~~~
struct
2019-02-14 23:42:17 +01:00
Phenom
b2572354fb Fix Warnings for 'RsPeerDetails' defined as a struct here but previously
declared as a class

In file included from ../../../trunk/retroshare-gui/src/gui/
MessengerWindow.cpp:29:
../../../trunk/libretroshare/src/retroshare/rspeers.h:207:1: warning:
'RsPeerDetails' defined as a struct here but previously declared as a
class [-Wmismatched-tags]
struct RsPeerDetails : RsSerializable
^
../../../trunk/retroshare-gui/src/gui/common/StatusDefs.h:27:1: note:
did you mean struct here?
class RsPeerDetails;
^~~~~
struct
2019-02-14 23:38:16 +01:00
G10h4ck
164a28eb32
Merge pull request #1261 from PhenomRetroShare/Add_RsCollAutoDownload
Add RsCollection's content automatically download option.
2019-02-13 22:22:56 -03:00
csoler
a2ed69f01c
Merge pull request #1474 from defnax2k/fix-ui-width/height-small-as-possible
fix ui width & height back to normal size
2019-02-10 14:19:32 +01:00
defnax
8502b7d8ff fix ui width & height back to normal size 2019-02-10 14:14:59 +01:00
thunder2
fb005f0419 Added workaround for Qt 5.10.0+ (Windows only?) in UserNotify.
QSystemTrayIcon is initially not visible but the icon gets visible after the call to ::setIcon
2019-02-03 19:44:27 +01:00
defnax
ef451b9b92
Merge pull request #5 from RetroShare/master
update to latest master
2019-01-23 15:28:26 +01:00
csoler
9c24f5c718
Revert "removed HeaderFrame where it's not needed" 2019-01-19 22:36:19 +01:00