Commit Graph

56 Commits

Author SHA1 Message Date
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
ec66ad5b80
Merge pull request #1501 from csoler/v0.6-ImprovedGUI
created a cache for default icons to avoid allocating them everytime …
2019-03-24 19:49:36 +01:00
csoler
2ad641d908
added a test for QImage::isDetached() in cache to solve the problem of whether a cache image is still used or not 2019-03-23 22:59:37 +01:00
csoler
ae3f81a0c3
created a cache for default icons to avoid allocating them everytime we need them. Should save a lot of memory 2019-03-21 23:36:18 +01:00
Gioacchino Mazzurco
5ff4ebbd12
Fix retroshare-gui compilation after RsReputations refactoring 2019-02-16 11:42:22 -03:00
csoler
5b8a64b677
fixed a number of bugs in the update/display of forum model 2018-12-06 23:04:53 +01:00
csoler
73e285805e
simplified comment in GxsIdDetails and hid columns in new ForumModel 2018-11-26 23:07:05 +01:00
csoler
52a5aeb1f8
added item delegate for author in new model 2018-11-23 23:17:12 +01:00
csoler
05bb002c70
fixed licenses in gxs/ 2018-11-14 21:14:40 +01:00
csoler
e5f65e950c
added login to pin up posts 2018-08-30 11:48:37 +02:00
Phenom
a50c4ca8d2 Fix clang warning: unused variable 'kRecognTagClass_DEVELOPMENT'
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:62: warning: unused
variable 'kRecognTagClass_DEVELOPMENT' [-Wunused-const-variable]
const int kRecognTagClass_DEVELOPMENT = 1;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:64: warning: unused
variable 'kRecognTagType_Dev_Ambassador' [-Wunused-const-variable]
const int kRecognTagType_Dev_Ambassador         = 1;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:65: warning: unused
variable 'kRecognTagType_Dev_Contributor' [-Wunused-const-variable]
const int kRecognTagType_Dev_Contributor        = 2;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:66: warning: unused
variable 'kRecognTagType_Dev_Translator' [-Wunused-const-variable]
const int kRecognTagType_Dev_Translator         = 3;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:67: warning: unused
variable 'kRecognTagType_Dev_Patcher' [-Wunused-const-variable]
const int kRecognTagType_Dev_Patcher            = 4;
/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp:68: warning: unused
variable 'kRecognTagType_Dev_Developer' [-Wunused-const-variable]
const int kRecognTagType_Dev_Developer          = 5;
2017-07-16 21:42:41 +02:00
RetroPooh
36dbdee409 show in people - enabled for yourself; Votes in tooltip; lastpost 1970 to Never 2017-01-11 22:44:27 +03:00
unknown
bc43cb8cf0 small gui tweaks 2017-01-07 23:29:24 +03:00
defnax
0ba28a206d Removed Column text for Votes, Distribution replaced by icon.
Set column header to "ResizeToContents" to not use much space
Added new Bio hazard icons to look same like other ones
2017-01-03 01:37:16 +01:00
Phenom
41386c64b7 Fix some new warnings 2016-12-31 15:17:51 +01:00
csoler
d423745064 added column to show distribution data and moved ReputationItemDelegate to GxsIdDetails 2016-12-24 15:04:08 +01:00
csoler
873c0e60df added display of reputation in forums 2016-12-24 14:13:02 +01:00
csoler
72fb8f17a9 changed the reputation system to output a level that differentiate your own opinion to your friends opinion 2016-12-23 17:52:02 +01:00
csoler
692293e030 added red color to banned identities in IdDialog 2016-07-03 18:12:50 -04:00
csoler
e611b2bb05 moved isIdentitybanned from p3GxsReputations to p3IdService, so as to avoid calling back p3IdService from p3GxsReputations, which simplifies the code 2016-07-03 18:06:01 -04:00
csoler
971f8e0c12 fixed potential crash due to not updating mPendingDataIterator after deleting map entry 2016-04-13 18:41:49 -04:00
Cyril Soler
cf746f160c fixed possible crash in GxsIdDetails 2016-04-12 10:06:01 -04:00
csoler
8f9028dc52 fixed bug in GxsIdLabel due to not removign existing jobs for a given widget before setting it to a new ID 2016-04-11 23:30:42 -04:00
csoler
0c1e6301b3 merged with latest upstream trunk 2015-12-05 16:49:00 -05:00
csoler
1de55d8fc5 replaced the few bools in RsIdentityDetail by a set of flags 2015-11-19 21:14:32 -05:00
csoler
1a76bea6ff enabled bannign button in forums, and disable message passing for banned users 2015-10-11 21:41:35 -04:00
csoler
f750818402 added proper icons and names for banned users 2015-10-10 21:25:06 -04:00
defnax
9d291aa6f6 update windows build scripts
changed gxs id icon for linked with profile.
2015-08-11 16:44:59 +02:00
thunder2
227e7121cc Added disable/enable of GxsIdDetails process.
Disabled GxsIdDetails process when filling gxs id's in forums.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8556 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-26 11:44:45 +00:00
thunder2
a0631e3991 Fixed crash in GxsIdDetails::process (GxsIdDetails::mInstance == NULL) by adding one global instance of GxsIdDetails.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8149 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-20 22:28:19 +00:00
csoler
2f2d01dc41 set max GxsId nickname size to some arbitrary value to avoid crazy long nicknames crafted to break the GUI. This should also be checked when de-serialising groups at a wider scale for group names in general
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-09 19:53:01 +00:00
thunder2
a967405c84 Added one more check of RsAutoUpdatePage::eventsLocked to GxsIdDetails::process
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-16 12:57:12 +00:00
csoler
c811d71738 added mask to select which icons to show in RsGxsIdTreeWidgetItem. Kept only avatar in ChatLobby participant list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8019 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-14 19:19:34 +00:00
thunder2
325a383fba - Added re-check of "Not found" identities for chat lobby participants list.
- Added check of RsAutoUpdatePage::eventsLocked to GxsIdDetails::timerEvent.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8006 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-09 20:41:14 +00:00
csoler
b29d5e2d6b fixed message tooltip for loading ids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7992 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-07 14:27:32 +00:00
thunder2
5e9acac013 Optimized GxsIdDetails::process to load the gxs details directly when the caller is the gui thread.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7967 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-22 15:06:27 +00:00
thunder2
41750b0d27 Removed not used base class GxsIdTreeWidget.
Used QPixmap instead of QIcon to draw the gxs image in GxsIdTreeWidgetItem.
Fixed use of transparent background in GxsIdDetails::GenerateCombinedPixmap (formerly GxsIdDetails::GenerateCombinedIcon).

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7965 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-22 11:52:33 +00:00
csoler
6585cfca2c fixed compilation on debian squeeze. Removed placeHolder properties in CreateGxsForumMsg.ui and GxsGroupDialog.ui which need to be set in the cpp. Added a new DEFINE=NO_SQLCIPHER to compile without sqlcipher when sqlcipher cannot be found (no sqlcipher is available on debian squeeze).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7941 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-13 19:34:38 +00:00
csoler
8b1d94fe3e fix (by thunder) to avoid calling QPixmap outside the main thread, causing some avatars to fail to load
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7938 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-11 07:00:52 +00:00
csoler
9dcb3b2555 removed unused code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7917 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-05 19:53:22 +00:00
csoler
5ae5d4f0a1 added avatar to GxsId tooltip (see in forums). Removed thread data race due to multiple threads accessing the static data member image_cache, causing avatars to not show up randomly. I do not have a clean solution yet on how to restore this cache
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7911 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-04 23:05:56 +00:00
defnax
0ebc1223b3 Set Light gray background color for the identicons for better look n feel.
Fixed to scale QLabel content.
Moved to display Avatars on ID Dialog into a QLabel

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7907 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-03 22:16:21 +00:00
csoler
a018f17af7 switch to standard identity icon format for defautl icons (patch from Phenom, slightly modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-02-02 21:59:44 +00:00
defnax
3a64bc2601 Added Button for Set Avatar, added border stylesheet for the Avatar label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7877 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-26 16:50:01 +00:00
csoler
481ee246b5 added avatars to identities.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7875 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-25 22:09:12 +00:00
thunder2
f692116207 Simplified usage of GxsIdDetails and removed some QTimer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7714 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-27 00:55:48 +00:00
defnax
9912aa1c4f Small Fix (Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7667 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-08 15:53:49 +00:00
csoler
b593a918a0 optim: changed postfixed ++ into prefix++ for non trivial operators, replaced test on std::list::size() by std::list::empty() (Patch from Phenom, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-21 22:33:02 +00:00
csoler
eede11a772 - removed "use olf key format" from certificate export
- improved GXS Id display when unsigned
- use ProfileManager to export own PGP key pair in keyring and profile.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-25 20:14:21 +00:00
csoler
789e6ae24e removed some debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-09-16 19:53:23 +00:00