Commit Graph

5761 Commits

Author SHA1 Message Date
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
Phenom
f2fb05db58 Fix clang warning: unused variables 'PARTIAL_VIEW_SIZE', ...
/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:67:
warning: unused variable 'PARTIAL_VIEW_SIZE' [-Wunused-const-variable]
static const int PARTIAL_VIEW_SIZE                           =  9 ;
/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:68:
warning: unused variable 'MAX_TUNNEL_REQUESTS_DISPLAY' [-Wunused-const-
variable]
static const int MAX_TUNNEL_REQUESTS_DISPLAY                 = 10 ;
/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:69:
warning: unused variable 'GXSTRANS_STATISTICS_DELAY_BETWEEN_GROUP_REQ'
[-Wunused-const-variable]
static const int GXSTRANS_STATISTICS_DELAY_BETWEEN_GROUP_REQ = 30 ;
// never request more than every 30 secs.
2017-07-16 21:42:23 +02:00
Phenom
6ee65bc98a Fix clang warning: using floating point absolute value function 'fabsf'
when argument is of integer type

/retroshare-gui/src/gui/statistics/BWGraph.cpp:83: warning: using
floating point absolute value function 'fabsf' when argument is of
integer type [-Wabsolute-value]
        if(!lst.empty() && fabsf(lst.back().first - ms) >
_update_period_msecs*1.2 )
2017-07-16 21:42:00 +02:00
Phenom
a0ac6b7ca0 Fix clang warning: unused variable 'MAX_TUNNEL_REQUESTS_DISPLAY'
/retroshare-gui/src/gui/statistics/TurtleRouterStatistics.cpp:36:
warning: unused variable 'MAX_TUNNEL_REQUESTS_DISPLAY' [-Wunused-const-
variable]
static const int MAX_TUNNEL_REQUESTS_DISPLAY = 10 ;
/retroshare-gui/src/gui/statistics/GlobalRouterStatistics.cpp:58:
warning: unused variable 'MAX_TUNNEL_REQUESTS_DISPLAY' [-Wunused-const-
variable]
static const int MAX_TUNNEL_REQUESTS_DISPLAY = 10 ;
2017-07-16 21:41:14 +02:00
Phenom
64899e40e8 Fix clang warning: unused variable 'SFI_DEFAULT_PERIOD'
/retroshare-gui/src/gui/feeds/SubFileItem.cpp:69: warning: unused
variable 'SFI_DEFAULT_PERIOD' [-Wunused-const-variable]
const uint32_t SFI_DEFAULT_PERIOD       = (30 * 3600 * 24); /* 30 Days
*/
2017-07-16 21:40:29 +02:00
Phenom
b31c812d8d Fix clang warning: unused variable 'NEWSFEED_CHANNELMSGLIST'
/retroshare-gui/src/gui/NewsFeed.cpp:70: warning: unused variable
'NEWSFEED_CHANNELMSGLIST' [-Wunused-const-variable]
const uint32_t NEWSFEED_CHANNELMSGLIST = 0x0005;
2017-07-16 21:40:07 +02:00
Phenom
fd24ef591e Fix warning: comparison between signed and unsigned integer expressions
and misleading-indentation

/retroshare-gui/src/gui/gxs/GxsFeedItem.cpp:161: warning: comparison
between signed and unsigned integer expressions [-Wsign-compare]
     for(uint32_t i=0;i<mMessageVersions.size();++i)

/retroshare-gui/src/gui/gxs/GxsFeedItem.cpp:161: warning: this ‘for’
clause does not guard... [-Wmisleading-indentation]
     for(uint32_t i=0;i<mMessageVersions.size();++i)
2017-07-16 21:10:45 +02:00
Phenom
431b56406d Fix warning: unused variable ‘popLimit’
/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.cpp:831: warning: unused
variable ‘popLimit’ [-Wunused-variable]
  uint32_t popLimit = 0;
2017-07-16 21:09:58 +02:00
Phenom
2444e6e66e Fix warning: this statement may fall through
/retroshare-gui/src/gui/gxs/GxsGroupDialog.cpp:654: warning: this
statement may fall through [-Wimplicit-fallthrough=]
     case 2: signFlags |=
GXS_SERV::FLAG_AUTHOR_AUTHENTICATION_GPG_KNOWN; // no break below, since
we want *both* flags in this case.
2017-07-16 21:09:33 +02:00
Phenom
dcb8a352df Fix warning: unused variable ‘self’
and misleading-indentation

/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp:54: warning: unused
variable ‘self’ [-Wunused-variable]
     bool self = false;

/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp:225: warning: this
‘if’ clause does not guard... [-Wmisleading-indentation]
     if(!IS_GROUP_PUBLISHER(mGroup.mMeta.mSubscribeFlags))
2017-07-16 21:07:47 +02:00
Phenom
ca9357cd20 Fix warning: this ‘if’ clause does not guard...
/retroshare-gui/src/gui/gxschannels/CreateGxsChannelMsg.cpp:360:
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(assume_file_ready)
2017-07-16 21:06:54 +02:00
Phenom
b5c503a324 Fix warning: unused variable ‘prev_index’
/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidget.cpp:535:
warning: unused variable ‘prev_index’ [-Wunused-variable]
     uint32_t prev_index = current_index ;
2017-07-16 21:06:01 +02:00
Phenom
3a22c6d302 Fix warning: comparison between signed and unsigned integer expressions
/retroshare-gui/src/gui/gxsforums/GxsForumsFillThread.cpp:286: warning:
comparison between signed and unsigned integer expressions [-Wsign-
compare]
         for(uint32_t i=1;i<(*it).size();++i)
2017-07-16 20:57:19 +02:00
Phenom
6fd03087d2 Fix warning: this statement may fall through
/retroshare-gui/src/gui/statistics/BWGraph.cpp:245: warning: this
statement may fall through [-Wimplicit-fallthrough=]
   case GRAPH_TYPE_ALL: std::cerr << "(WW) Impossible situation. Cannot
draw graph in mode All/All. Reverting to sum." << std::endl;
2017-07-16 20:56:46 +02:00
Phenom
f27ce82e22 Fix warning: comparison between signed and unsigned integer expressions
, misleading-indentation and unused-variable

/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:242:
warning: comparison between signed and unsigned integer expressions [-
Wsign-compare]
     for(uint32_t i=0;i<groupTreeWidget->topLevelItemCount();++i)

/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:242:
warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(uint32_t i=0;i<groupTreeWidget->topLevelItemCount();++i)

/retroshare-gui/src/gui/statistics/GxsTransportStatistics.cpp:203:
warning: unused variable ‘now’ [-Wunused-variable]
     time_t now = time(NULL) ;
2017-07-16 20:56:18 +02:00
Phenom
15bc9c1c3c Fix warning: this statement may fall through
/retroshare-gui/src/gui/GetStartedDialog.cpp:122: warning: this
statement may fall through [-Wimplicit-fallthrough=]
    ui.firewallCheckBox->setChecked(true);
/retroshare-gui/src/gui/GetStartedDialog.cpp:124: here
   case RSCONFIG_USER_LEVEL_CASUAL:

/retroshare-gui/src/gui/GetStartedDialog.cpp:125: warning: this
statement may fall through [-Wimplicit-fallthrough=]
    ui.connectCheckBox->setChecked(true);
/retroshare-gui/src/gui/GetStartedDialog.cpp:127: here
   case RSCONFIG_USER_LEVEL_BASIC:
2017-07-16 20:54:41 +02:00
Phenom
f23c84fd4e Fix warning: this statement may fall through
/retroshare-gui/src/gui/RetroShareLink.cpp:585: warning: this statement
may fall through [-Wimplicit-fallthrough=]
    if(!checkSSLId(_SSLid))
/retroshare-gui/src/gui/RetroShareLink.cpp:587: here
   case TYPE_FILE:
2017-07-16 20:54:05 +02:00
csoler
987c10522a Merge pull request #945 from PhenomRetroShare/Add_RSLinkCreateAsStatic
Change RetroShareLink creation methodes as static
2017-07-16 20:16:31 +02:00
csoler
e40dbe82a4 Merge pull request #947 from csoler/v0.6-ImprovedGUI
fixed filtering for channels when loading  items on the fly
2017-07-16 17:03:37 +02:00
csoler
1e98de76a1 fixed filtering for channels when loading items on the fly 2017-07-16 16:56:23 +02:00
Phenom
82addce867 Change RetroShareLink creation methodes as static
And remove this warning:
2017-07-16 13:12:07 +02:00
csoler
6a8b74c965 fixed compilation for computers where qreal is a float 2017-07-15 22:01:18 +02:00
Phenom
a16ff426ae Add [Unsigned] before name in chat for unsigned (anonymous) GxsID. 2017-07-14 19:16:39 +02:00
csoler
3912118a86 Merge pull request #925 from PhenomRetroShare/Fix_ChannelCommentLineWrap
Fix channel comments line wrap
2017-07-13 21:42:05 +02:00
Phenom
54047cd7a7 Fix multi download of same file. 2017-07-06 22:38:08 +02:00
Phenom
dad6abdba3 Fix channel comments line wrap 2017-07-06 12:19:26 +02:00
csoler
8e62a8b1b2 updated tooltip for opinion in People 2017-07-05 22:32:54 +02:00
csoler
5f7df7cb73 update call to notifySettingsChanged() when changing the thread loading of channels 2017-07-04 23:26:57 +02:00
csoler
2aac675f11 merged upstream/master into v0.6-ImprovedGUI 2017-07-04 23:15:09 +02:00
csoler
931ddaef79 set load thread to false for channels on default. Fixed missing () in connect 2017-07-04 23:13:03 +02:00
Gioacchino Mazzurco
a97ba803d8 Fix missing include
The missing include was causing compilation error
since d876bb721b
2017-07-04 16:41:14 +02:00
csoler
ee257223d3 Merge pull request #915 from PhenomRetroShare/Add_AlwaysAllowFriendTimeOffsetFeed
Always allow Friend Time Offset Feed item.
2017-07-04 10:24:05 +02:00
csoler
d7f0141b3b Merge pull request #916 from PhenomRetroShare/Add_WarningToDirectDonwloadCheckBox
Add a warning to Direct download checkbox depends general setting.
2017-07-04 10:23:30 +02:00
csoler
d876bb721b fixing async loading of channels. To be tested. 2017-07-03 23:21:31 +02:00
csoler
1dea00d2cb attempt to fix channel post auto-size by limiting the number of lines from message to display in summary depending on available size 2017-07-03 23:09:17 +02:00
csoler
719b414a82 fixed merging of comments in channel post with async-ed loading system 2017-07-03 22:32:08 +02:00
csoler
9a5e46dd49 Revert "attempt to delay channel post loading on demand when displayed" 2017-07-03 22:07:06 +02:00
csoler
b6d5c55516 attempt to delay channel post loading on demand when displayed 2017-07-03 21:48:17 +02:00
Phenom
3987f751db Always allow Friend Time Offset Feed item.
Even if "Friend Connected" is uncheck in Notify setting page.
2017-07-03 18:39:32 +02:00
Phenom
2192a439ff Add a warning to Direct download checkbox depends general setting. 2017-07-03 18:36:47 +02:00
csoler
e9f9856048 fixed naming in friend groups in GroupChooser 2017-07-02 10:42:22 +02:00
csoler
77b064b371 fixed translation of built-in group names in GxsGroupDialog 2017-07-01 17:24:58 +02:00
csoler
c61536e737 fixed RsGraphWidget by adding an extra data point in the lower right corner, and fixed typo that caused an invalid point to be drawn 2017-07-01 16:21:22 +02:00
csoler
f1362100ce fixed layout in GxsTrans stats 2017-07-01 16:20:39 +02:00
csoler
244e8a810a fixed display of GxsTrans statistics 2017-07-01 15:29:48 +02:00
csoler
27774baf5d Merge pull request #911 from csoler/v0.6-GxsTransport
changed sorting of popular forums w.r.t. time of last post rather tha…
2017-06-29 22:13:04 +02:00
csoler
b294b4b503 changed sorting of popular forums w.r.t. time of last post rather than number of supplier friends 2017-06-29 22:11:44 +02:00
csoler
a864cf716e Merge pull request #910 from csoler/v0.6-GxsTransport
improved display of GxsTrans statistics
2017-06-29 21:12:42 +02:00
csoler
4b94b2ec4a improved display of GxsTrans statistics 2017-06-29 21:12:02 +02:00
Phenom
b4071d158e Add General Direct Download setting.
Yes, No, Per User
2017-06-29 17:18:28 +02:00
csoler
a3e8b967a9 Merge pull request #908 from csoler/v0.6-GxsTransport
V0.6 gxs transport
2017-06-29 13:50:41 +02:00
csoler
b96effb2d2 Merge pull request #895 from PhenomRetroShare/Add_HelpInRelayTab
Add help in Relay setting tab.
2017-06-28 22:37:50 +02:00
csoler
51c7e18a3a added last msg time in GxsTrans stats. Added mutex to protect non atomic mPreferredGroup 2017-06-27 19:56:21 +02:00
sehraf
3c54bebc31 hide hidden service port for I2P instead of just disabling it (it's not used for I2P) 2017-06-25 19:19:07 +02:00
csoler
332feddb17 fixed mismatched free/delete[] in AvatarDefs 2017-06-24 11:38:48 +02:00
Phenom
adfc5949c0 Fix GxsChannelPostItem button, like "download" or "Play" never shown. 2017-06-23 20:33:43 +02:00
Phenom
c415e11fa2 Add help in Relay setting tab. 2017-06-22 18:59:05 +02:00
Phenom
ea8af8acb3 Move Relay setting page to network one. 2017-06-21 18:38:52 +02:00
Phenom
c46c747e04 Fix To, Cc & Bcc height in MessageWidget. 2017-06-21 06:35:48 +02:00
csoler
43dcddce67 Merge pull request #880 from PhenomRetroShare/Add_GxsCircleNotify
Add Circle Feed Item.
2017-06-16 12:37:09 +02:00
sehraf
65ab68b4f7 fix stop button being wrongly disabled 2017-06-15 07:22:33 +02:00
csoler
c451d3a12c Merge pull request #873 from RetroPooh/tunnstats
stats tunnels rearranged columns for better readablilty
2017-06-12 22:18:34 +02:00
Phenom
aa64c4d3c5 Add Circle Feed Item. 2017-06-11 16:16:41 +02:00
csoler
1766087f71 fixed update notification and display in GxsTransStatistics 2017-06-07 23:10:59 +02:00
csoler
7691a8ef2f removed debug info 2017-06-07 21:41:20 +02:00
csoler
318ea310f8 fixed layout of GxsTrans stats 2017-06-07 20:14:27 +02:00
RetroPooh
2d8fd0764b stats tunnels rearranged columns for better readablilty 2017-06-05 14:25:09 +03:00
csoler
e3cd3b6f6c fixed bug causing display of null group in GxsTransportStatistics 2017-06-02 23:26:24 +02:00
csoler
1ebcc6006b Merge pull request #861 from RetroShare/v0.6-GxsTransport
V0.6 gxs transport
2017-05-30 22:22:06 +02:00
csoler
d7797f1b09 Merge pull request #856 from G10h4ck/GxsTransOptionalChat
Async chat disabled by default in GUI
2017-05-30 21:42:29 +02:00
Phenom
34fbee2aac Fix StartDialog margins. 2017-05-30 20:34:12 +02:00
Gioacchino Mazzurco
5c71d520fa async chat disabled by default in GUI
Chat GUI is not ready to show properly GxsTrans async messages
2017-05-30 16:44:35 +02:00
csoler
f4c167c256 improved display of GXS Transport stats 2017-05-30 13:57:11 +02:00
csoler
2e3f62a4bb added msg ids to GxsTransport statistics. 2017-05-29 23:06:31 +02:00
csoler
4c07050776 Merge pull request #841 from sehraf/pr-minor-fix
minor fix
2017-05-28 22:02:14 +02:00
csoler
048045ab03 Merge pull request #849 from PhenomRetroShare/Fix_logo_web_nobackground
Fix logo_web_nobackground
2017-05-28 22:01:28 +02:00
Phenom
5c9929749d Fix logo_web_nobackground 2017-05-28 13:19:22 +02:00
csoler
eea63ac217 minor code cleaning in p3GxsTrans (struct->class for consistency, sendMail->sendData), added popularity+subscribed status display in statistics 2017-05-27 22:19:52 +02:00
csoler
6da8b2a04d fixed up icons in statistics window 2017-05-27 15:13:23 +02:00
csoler
e06bd9b6ec added icon for GxsTransport 2017-05-27 14:48:08 +02:00
csoler
4fef4d63bc added display of the various GxsTrans groups and their respective sizes 2017-05-27 14:23:16 +02:00
sehraf
541b42a01a minor fix 2017-05-26 20:29:43 +02:00
csoler
a3096f26a5 added data hash to GxsTrans display 2017-05-26 20:28:44 +02:00
felisucoibi
95b0273b87 small fix removed ... from text login screen. 2017-05-26 18:54:02 +02:00
csoler
4fa6cbe6e6 fixed display in GxsTrans stats widget 2017-05-26 18:42:52 +02:00
felisucoibi
95f1719d01 Changed login screen add Profile/Node text. 2017-05-26 18:37:05 +02:00
felisucoibi
1e8df12d64 Final step to change again size and design of start up login screen. 4/4
Login screen was changed because of new code aded so with this code i revert these changes. 4/4
2017-05-26 18:19:06 +02:00
felisucoibi
72812222fa Login screen 3 / 4
Login screen was changed because of new code aded so with this code i revert these changes. 3/4
2017-05-26 18:15:14 +02:00
felisucoibi
2dbe3a1d5a Start login 2/4
Login screen was changed because of new code aded so with this code i revert these changes. 2/4
2017-05-26 18:13:57 +02:00
felisucoibi
0fa3b9ec62 smaller login screen and less blue 1
Login screen was changed because of new code aded so with this code i revert these changes. 1/4
2017-05-26 18:12:24 +02:00
csoler
14b9a54773 added group data retrieval to GxsTransStatistics 2017-05-25 16:56:29 +02:00
sehraf
a3ee85a30d Add I2P BOB support to libretroashare and RetroShare GUI 2017-05-24 19:40:01 +02:00
csoler
9ff81b9e93 Merge pull request #835 from felisucoibi/master
Improved GUI gencert
2017-05-23 22:06:46 +02:00
defnax
483d5386ba fit the background image to the login page 2017-05-23 18:46:50 +02:00
csoler
a136fb6fda added display of ongoing record status for GxsTrans. Unfinished. 2017-05-22 23:54:55 +02:00
felisucoibi
ac66ee7eb7 Improved GUI gencert
Aded a new logo, fixed height for the background to fit and smaller window in general with the changes.
2017-05-22 15:21:06 +02:00
csoler
fbeb6ff98d added infrastructure for gathering statistics about GxsTransport. Unfinished. 2017-05-21 15:57:10 +02:00
felisucoibi
2adde95412 fixed bad uploading of previous pr
using gui of github
2017-05-21 15:08:07 +02:00
felisucoibi
6bc72dd5cf restored start dialog and fixed
I made a mistake using visual editor of github, fixed.
2017-05-21 14:51:43 +02:00
csoler
b341fea170 merged upstream/master 2017-05-21 13:49:41 +02:00