Commit Graph

6602 Commits

Author SHA1 Message Date
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
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
4030887232
fixed bug due to old map entry deletion that wasnt moved 2019-06-25 21:07:05 +02:00
csoler
3b57099708 fixed deadlock caused by using the same mutex for two different purposes in GxsIdDetails 2019-06-07 15:03:48 +02:00
csoler
d9b0fa6c61 added missing mutex to protect Icon Cache 2019-06-06 14:21:19 +02:00
csoler
2720022163
removed debug times in GxsIdDetails cache cleaning 2019-06-05 19:47:06 +02:00
csoler
b6b840a673
added missing explicit sizes for some pixmaps 2019-06-04 13:41:51 +02:00
csoler
90d26e7323
suspended unused code 2019-06-04 13:41:34 +02:00
csoler
9bc552aea4
added more debug output in icon loading system 2019-06-04 13:01:35 +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
defnax
37c117cb9e
Merge pull request #1566 from defnax/darkstyle-v2
added new qdarkstyle version 2.6.8

new additional dark stylsheet for RetroShare.
2019-05-18 22:16:57 +02:00
defnax
7e6dd9aed7 added new qdarkstyle version 2.6.8
added new version of qdarkstyle to retroshare
2019-05-16 23:55:49 +02:00
csoler
6a18e242bb
added compile option to use sanitizer and already fixed a few misalignment errors with it 2019-05-11 22:25:02 +02:00
defnax
eade6a8886
Merge pull request #1551 from defnax/country-emojis
Added country emojis
2019-05-06 17:14:35 +02:00
defnax
3457f6e2f1 Added country emojis 2019-05-01 16:12:43 +02:00
Phenom
bdce8e6d31 Fix Relative URL in QSS files.
As qss files are read and added as plaintext, url() cannot find relative
path.
Using "url(%THISPATH%/" will be replaced by current file path.
2019-04-26 19:26:49 +02:00
csoler
a4d7b0299b
Merge pull request #1542 from defnax/darkstylesheet-fixes
Darkstylesheet fixes
2019-04-25 20:36:12 +02:00
defnax
dcc2cd5cfa added changes for the subscribe button 2019-04-24 21:28:42 +02:00
defnax
036f741beb darkstyle fixes, some urls to images was wrong 2019-04-24 21:17:10 +02:00
G10h4ck
9102a698e4
Merge branch 'master' into Fix_ClangWarnings 2019-04-23 12:45:33 +02:00
csoler
bc8adb74c4
Merge pull request #1502 from defnax/added-group-icons-for-posted-links
Added group icons for posted links
2019-04-18 21:56:07 +02:00
defnax
7c534d50ea removed posted links related font-size from qss file
removed posted links related font-size from qss file
2019-04-16 19:38:13 +02:00
csoler
0bcbe14b2c
fixed wrong display of trash messages in inbox 2019-04-14 16:25:26 +02:00
csoler
64fecf42f4
moved MessagesDialog.* to msgs/ 2019-04-14 15:50:25 +02:00
zapek
e9f341908a Moved the 'Mark as bad' entry in the search result files context menu
further down away from 'Download' to avoid accidental clicks
2019-04-11 11:27:43 +02:00
G10h4ck
276328dd91
Merge pull request #1512 from G10h4ck/csoler-jsonapi-channel
Improve GxsChannels API
2019-04-11 10:13:52 +02:00
csoler
43a5312194
Merge pull request #1509 from RetroPooh/trafcount
display session traffic
2019-04-10 21:04:53 +02:00
csoler
b128407159 fixed rare bug in chat notify that appeared when your nickname is happenned at the end of the text 2019-04-08 14:33:14 +02:00
csoler
61aeae67ea
disable auto-ban identities for own IDs 2019-04-04 22:52:25 +02:00
csoler
db9d202ab7
fixed missign read-only flag on identity info display 2019-04-04 22:41:02 +02:00
Phenom
5cb5954882 Fix clang warning for
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
1266:13: warning: function 'recursPrintModel' is not needed and will not
be emitted [-Wunneeded-internal-declaration]
static void recursPrintModel(const std::vector<ForumModelPostEntry>&
entries,ForumModelIndex index,int depth)
            ^
2019-04-04 21:20:25 +02:00
Phenom
d96b9b054b Fix clang warnings for
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
106:53: warning: unused parameter 'parent' [-Wunused-parameter]
int RsGxsForumModel::columnCount(const QModelIndex &parent) const
                                                    ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:245:3:
warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
248:12: warning: comparison of integers of different signs: 'int' and
'std::vector::size_type' (aka 'unsigned long') [-Wsign-compare]
    if(row >= mPosts[entry].mChildren.size())
       ~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
299:67: warning: unused parameter 'orientation' [-Wunused-parameter]
QVariant RsGxsForumModel::headerData(int section, Qt::Orientation
orientation, int role) const
                                                                  ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
398:77: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::textColorRole(const ForumModelPostEntry&
fmpe,int column) const
                                                                            ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
419:74: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::filterRole(const ForumModelPostEntry& fmpe,int
column) const
                                                                         ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
498:75: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::missingRole(const ForumModelPostEntry&
fmpe,int column) const
                                                                          ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
540:74: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::pinnedRole(const ForumModelPostEntry& fmpe,int
column) const
                                                                         ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
548:78: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::backgroundRole(const ForumModelPostEntry&
fmpe,int column) const
                                                                             ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
806:111: warning: unused parameter 'useChildTS' [-Wunused-parameter]
void RsGxsForumModel::convertMsgToPostEntry(const RsGxsForumGroup&
mForumGroup,const RsMsgMetaData& msg, bool useChildTS,
ForumModelPostEntry& fentry)
                                                                                                              ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:828:7:
warning: unused variable 'redacted' [-Wunused-variable]
        bool redacted = false;
             ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:880:6:
warning: unused variable 'pos' [-Wunused-variable]
        int pos = 0;
            ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:879:6:
warning: unused variable 'count' [-Wunused-variable]
        int count = msgs.size();
            ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:882:6:
warning: unused variable 'step' [-Wunused-variable]
        int step = 0;
            ^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
949:26: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
        for(int32_t i=0;i<v.size();++i)
                        ~^~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
959:23: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
                                        for(int32_t j=0;j<it2-
>second.size();++j)
                                                        ~^~~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
991:26: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
        for(int32_t i=1;i<it->second.size();++i)
                        ~^~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
1005:22: warning: comparison of integers of different signs: 'int' and
'std::vector::size_type' (aka 'unsigned long') [-Wsign-compare]
        for(int i=1;i<it->second.size();++i)
                    ~^~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/
GxsForumThreadWidget.cpp:1038:13: warning: unused function
'cleanupItems' [-Wunused-function]
static void cleanupItems (QList<QTreeWidgetItem *> &items)
            ^
2019-04-04 21:20:25 +02:00
Phenom
07a31ee5f5 Fix clang warning for
../../../trunk/retroshare-gui/src/gui/People/IdentityWidget.cpp:111:10:
warning: explicitly assigning value of variable of type 'QImage' to
itself [-Wself-assign-overloaded]
                        image = image;
                        ~~~~~ ^ ~~~~~
2019-04-04 21:20:25 +02:00