Commit Graph

567 Commits

Author SHA1 Message Date
csoler
8afa127ed5
fixed crash in RsCollection creation 2018-02-12 20:30:01 +01:00
csoler
7a2d874863
Merge pull request #1153 from csoler/v0.6-TorOnly
V0.6 tor only
2018-02-11 20:49:45 +01:00
Phenom
bf8bd4b023 Add Only Connected in FriendSelectionWidget.
Add Select All if Multi Selection allowed.
Clean Some Code duplicated from RSTreeWidget.
2018-02-07 19:00:08 +01:00
Phenom
f74ee5cde9 Move File Icon Cache in FilesDefs 2018-01-20 17:21:37 +01:00
csoler
fe0b22e9f1 remove "attempt to connect" to normal nodes menu entry for hidden nodes 2018-01-15 21:42:58 +01:00
RetroPooh
1f207ba05c create collection dialog filename as dir name 2017-11-14 19:52:48 +03:00
csoler
5997c10495 fixed bug causing RsCollection to fail on remote files. Now using RsCollectionDialog when downloading directories from friend shared files 2017-11-12 22:46:29 +01:00
Phenom
ee7e950f5f Fix CppCheck in RsButtonOnText
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:13: warning:
Cppcheck(uninitMemberVar): Member variable 'RSButtonOnText::_textEdit'
is not initialized in the constructor.
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:13: warning:
Cppcheck(uninitMemberVar): Member variable
'RSButtonOnText::_textEditViewPort' is not initialized in the
constructor.
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:13: warning:
Cppcheck(uninitMemberVar): Member variable 'RSButtonOnText::_textCursor'
is not initialized in the constructor.
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:21: warning:
Cppcheck(uninitMemberVar): Member variable 'RSButtonOnText::_textEdit'
is not initialized in the constructor.
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:21: warning:
Cppcheck(uninitMemberVar): Member variable
'RSButtonOnText::_textEditViewPort' is not initialized in the
constructor.
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:21: warning:
Cppcheck(uninitMemberVar): Member variable 'RSButtonOnText::_textCursor'
is not initialized in the constructor.
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:32: warning:
Cppcheck(uninitMemberVar): Member variable 'RSButtonOnText::_textEdit'
is not initialized in the constructor.
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:32: warning:
Cppcheck(uninitMemberVar): Member variable
'RSButtonOnText::_textEditViewPort' is not initialized in the
constructor.
/retroshare-gui/src/gui/common/RsButtonOnText.cpp:32: warning:
Cppcheck(uninitMemberVar): Member variable 'RSButtonOnText::_textCursor'
is not initialized in the constructor.
2017-11-07 22:15:34 +01:00
Phenom
88d84e0249 Fix CppCheck in FlowLayout.h
/retroshare-gui/src/gui/common/FlowLayout.h:77: warning:
Cppcheck(uninitMemberVar): Member variable
'FlowLayoutItem::m_isSelected' is not initialized in the constructor.
/retroshare-gui/src/gui/common/FlowLayout.h:77: warning:
Cppcheck(uninitMemberVar): Member variable 'FlowLayoutItem::m_isCurrent'
is not initialized in the constructor.
2017-11-07 22:13:44 +01:00
Phenom
9f5d08110c Fix CppCheck in RSTextBrowser.h
/home/phenom/GIT/RetroShare/trunk/retroshare-gui/src/gui/common/
RSTextBrowser.h:11: warning: Cppcheck(noConstructor): The class
'RSTextBrowser' does not have a constructor.
2017-11-07 22:11:04 +01:00
Phenom
5554f4a739 Fix CppCheck in MimeTextEdit.h
/retroshare-gui/src/gui/common/MimeTextEdit.h:29: warning:
Cppcheck(noConstructor): The class 'MimeTextEdit' does not have a
constructor.
2017-11-06 22:20:44 +01:00
Phenom
8438d7052b Fix CppCheck in GroupTreeWidget.h
/retroshare-gui/src/gui/common/GroupTreeWidget.h:47: warning:
Cppcheck(uninitMemberVar): Member variable 'GroupItemInfo::adminKey' is
not initialized in the constructor.
/retroshare-gui/src/gui/common/GroupTreeWidget.h:68: warning:
Cppcheck(noConstructor): The class 'GroupTreeWidget' does not have a
constructor.
2017-11-06 22:20:44 +01:00
csoler
48bd1517fc removed useless root item in RsCollection dialog 2017-11-02 23:16:30 +01:00
csoler
2d18335da4 added tool button to choose DL directory in rscollection dialog 2017-11-02 22:52:30 +01:00
csoler
638160833c remove filename field in RsCollectionDialog when downloading a collection of links 2017-11-02 22:46:53 +01:00
csoler
1c2d17b5c1 Merge pull request #1077 from hunbernd/feature/image-embed3
Make it possible to send images over chat lobby
2017-10-24 18:47:34 +02:00
csoler
603ea7e96e removed debug info from RsCollection 2017-10-23 22:12:52 +02:00
hunbernd
64481de74b Set the proper size limits 2017-10-23 17:04:20 +02:00
csoler
0359795cae fixed regression preventing context menu to open in destination directory for RsCollection 2017-10-22 20:08:22 +02:00
csoler
6a0ccc4444 added means to select download directory in RsCollectionDialog 2017-10-22 18:28:36 +02:00
csoler
ee2120a5bc fixed bug causing FileTree links to open empty 2017-10-22 17:36:19 +02:00
csoler
cbcf402e0b setup proper title in RsCollectionEditor when in download mode 2017-10-21 17:42:17 +02:00
csoler
2cfa86620c merge of trees and single files before paste in DL queue so that all use the CollectionEditor 2017-10-21 17:35:06 +02:00
csoler
0fbcf0148c code cleaning. Removed comments at end of conditional 2017-10-19 22:20:23 +02:00
csoler
74d5069225 renamed RsCollectionEditor into RsCollection. Added download of FileTree links 2017-10-19 22:14:04 +02:00
csoler
32be00614d various improvements to collection links 2017-10-19 10:19:56 +02:00
csoler
847c1b2bce renamed RsCollectionFile into RsCollectionEditor 2017-10-17 22:39:05 +02:00
csoler
e66c0d1349 removed updateTotals() method. Replaced it with costless on-the-fly update of totals 2017-09-27 22:26:14 +02:00
Phenom
a0ebddb4eb Fic Gcc warnings:
/libretroshare/src/file_sharing/p3filelists.cc👎 In static member
function ‘static bool p3FileDatabase::convertPointerToEntryIndex(const
void*, p3FileDatabase::EntryIndex&, uint32_t&)’:
/libretroshare/src/file_sharing/p3filelists.cc:624: warning:
dereferencing type-punned pointer will break strict-aliasing rules [-
Wstrict-aliasing]
     e   = EntryIndex(  *reinterpret_cast<uint32_t*>(&p) &
ENTRY_INDEX_BIT_MASK ) ;
/home/phenom/GIT/RetroShare/trunk/libretroshare/src/file_sharing/
p3filelists.cc:625: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
     friend_index = (*reinterpret_cast<uint32_t*>(&p)) >>
NB_ENTRY_INDEX_BITS ;

/libretroshare/src/gxstrans/p3gxstransitems.h:29: In file included from
../../../trunk/libretroshare/src/gxstrans/p3gxstransitems.h:29:0,
/libretroshare/src/gxstrans/p3gxstransitems.cc:19: from ../../../trunk/
libretroshare/src/gxstrans/p3gxstransitems.cc:19:
/libretroshare/src/gxstrans/p3gxstransitems.cc👎 In member function
‘virtual void
OutgoingRecord_deprecated::serial_process(RsGenericSerializer::SerializeJob,
RsGenericSerializer::SerializeContext&)’:
/libretroshare/src/serialiser/rstypeserializer.h:61: warning:
dereferencing type-punned pointer will break strict-aliasing rules [-
Wstrict-aliasing]
  RsTypeSerializer::serial_process<T>(j, ctx, reinterpret_cast<T&>(I),
#I);\

/libretroshare/src/gxstrans/p3gxstransitems.cc:51: in expansion of macro
‘RS_REGISTER_SERIAL_MEMBER_TYPED’
  RS_REGISTER_SERIAL_MEMBER_TYPED(clientService, uint16_t);
/libretroshare/src/gxstrans/p3gxstransitems.cc👎 In member function
‘virtual void
OutgoingRecord::serial_process(RsGenericSerializer::SerializeJob,
RsGenericSerializer::SerializeContext&)’:
/libretroshare/src/serialiser/rstypeserializer.h:61: warning:
dereferencing type-punned pointer will break strict-aliasing rules [-
Wstrict-aliasing]
  RsTypeSerializer::serial_process<T>(j, ctx, reinterpret_cast<T&>(I),
#I);\

/libretroshare/src/gxstrans/p3gxstransitems.cc:65: in expansion of macro
‘RS_REGISTER_SERIAL_MEMBER_TYPED’
  RS_REGISTER_SERIAL_MEMBER_TYPED(clientService, uint16_t);
/retroshare-gui/src/gui/common/RsBanListToolButton.cpp👎 In member
function ‘void RsBanListToolButton::applyIp()’:
/retroshare-gui/src/gui/common/RsBanListToolButton.cpp:163: warning:
‘list_type’ may be used uninitialized in this function [-Wmaybe-
uninitialized]
   changed = rsBanList->removeIpRange(addr, masked_bytes, list_type);
2017-09-13 18:37:32 +02:00
Phenom
5dc25e37f7 Fix Ask Password in new window if wrong in StartDialog.
And Fix LineEditClear to show placeholder test even if it has focus
(Like Qt5).
2017-07-30 14:11:34 +02:00
Phenom
8d82640f41 Fix copy of RSLink when on Only plain text mode in chat lobby. (sss
find)
2017-07-21 10:58:32 +02:00
csoler
d39b05ccec Merge pull request #948 from PhenomRetroShare/Add_FilterIdInFriendList
Add new Filter by ID in FriendList.
2017-07-17 22:49:44 +02:00
Phenom
1f39789f2e Fix clang warning: 'RSGraphWidget::sizeHint' hides overloaded virtual
function

/retroshare-gui/src/gui/common/RSGraphWidget.h:173: warning:
'RSGraphWidget::sizeHint' hides overloaded virtual function [-
Woverloaded-virtual]
        virtual QSizeF sizeHint( Qt::SizeHint which, const QSizeF &
constraint = QSizeF() ) const;
/usr/include/qt4/QtGui/qframe.h:76: hidden overloaded virtual function
'QFrame::sizeHint' declared here: different number of parameters (0 vs
2)
    QSize sizeHint() const;
2017-07-17 22:34:32 +02:00
Phenom
c74c865058 Add new Filter by ID in FriendList. 2017-07-17 14:10:26 +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
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
332feddb17 fixed mismatched free/delete[] in AvatarDefs 2017-06-24 11:38:48 +02:00
csoler
38d07430b7 used more saturated colors in stats graph 2017-05-11 21:22:07 +02:00
csoler
7a19deea03 small fix to statistics view 2017-05-11 21:22:07 +02:00
csoler
eb30af57bd improved display in bw statistics 2017-05-11 21:22:07 +02:00
csoler
6484ea66f7 improved graph widget 2017-05-04 21:19:23 +02:00
Phenom
07201e894c Fix FriendList Import/Export filename and error message. 2017-05-01 12:48:11 +02:00
Phenom
90aaace69c Fix CSA warnings: Called C++ object pointer is null
Logic error: Called C++ object pointer is null
 1: Value assigned to field 'mMainAction' in /home/phenom/GIT/
RetroShare/trunk/retroshare-gui/src/gui/common/UserNotify.cpp:94
 2: Assuming pointer value is null in /home/phenom/GIT/RetroShare/trunk/
retroshare-gui/src/gui/common/UserNotify.cpp:95
 3: Called C++ object pointer is null in /home/phenom/GIT/RetroShare/
trunk/retroshare-gui/src/gui/common/UserNotify.cpp:103
2017-04-25 09:52:01 +02:00
Phenom
1f16f46aad Fix CSA warnings: Called C++ object pointer is null
Logic error: Called C++ object pointer is null
 1: Assuming pointer value is null in /home/phenom/GIT/RetroShare/trunk/
retroshare-gui/src/gui/common/MimeTextEdit.cpp:65
 2: Called C++ object pointer is null in /home/phenom/GIT/RetroShare/
trunk/retroshare-gui/src/gui/common/MimeTextEdit.cpp:83
2017-04-25 09:51:08 +02:00
csoler
5f8bf03dfe added mechanism to allow services to document the names of their items, and improved bandwidth graph to show names for GXS services. Other services still need to supply their own names 2017-04-20 20:54:51 +02:00
Phenom
107d48f1b8 Fix windows height at first start. 2017-03-15 23:00:22 +01:00
mestaritonttu
65c7ca744e Clarify sorting by posts 2017-03-07 13:49:57 +02:00
csoler
cdb0c6e59e fixed [No title] text in people 2017-03-02 22:35:21 +01:00
csoler
f8b3194343 Merge pull request #705 from PhenomRetroShare/Fix_NewWarnings
Fiw New Warnings
2017-03-01 22:43:51 +01:00
csoler
006e5423db fixed auto-expanding of nodes in friend list 2017-03-01 21:18:16 +01:00
Phenom
e4dbc46b34 Fiw New Warnings 2017-03-01 19:43:34 +01:00
csoler
e081567fbc fixed empty names in header drop menu 2017-03-01 19:08:20 +01:00
csoler
a8adf8d494 fixed names in FriendList for details 2017-02-28 23:05:19 +01:00
Gioacchino Mazzurco
c51ee19e8f Some consistence fixes in GUI 2017-02-26 21:41:45 +01:00
csoler
3230e55f04 added some delay in the showHelp() feature 2017-02-26 00:16:36 +01:00
csoler
12246e369b added settings variable to allow to always display the help of each tab the first time it is shown 2017-02-25 23:52:57 +01:00
csoler
dc51911fce added welcome message to show on first start in HomePage 2017-02-22 23:55:29 +01: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
a954b19d8e groups tree tooltips and info panels - add last post date info 2017-01-10 01:18:35 +03:00
unknown
8365ac2647 Revert "groups tree tooltips and info panels - add last post date info"
This reverts commit 2bb7c8d010.
2017-01-10 00:46:29 +03:00
unknown
2bb7c8d010 groups tree tooltips and info panels - add last post date info 2017-01-10 00:31:32 +03:00
csoler
4933cce278 Merge pull request #595 from PhenomRetroShare/Add_UnreadColumnToGroupTreeWidget
Add Unread column to GroupTreeWidget
2016-12-10 22:58:23 +01:00
Phenom
803d1b62ef Fix RSElidedItemDelegate text color. 2016-12-10 19:52:46 +01:00
Phenom
8f452eefb1 Add Unread column to GroupTreeWidget 2016-12-10 17:59:58 +01:00
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
defnax
d616df3b28 Merge pull request #586 from hunbernd/fix/external-emoticons
Fixed loading of external emoticons
2016-11-30 08:12:38 +01:00
hunbernd
5fd1de0011 Fixed loading of external emoticons
- path comparison was Linux specific, also it had problems with relative paths
- name.scheme() returns empty string in this case, check if the url really points to a file instead
2016-11-28 00:35:09 +01:00
csoler
6937d870b0 changed from std::string to RsPgpId to represent openned items in FriendList 2016-11-27 20:57:51 +01:00
defnax
521663698f Merge pull request #585 from PhenomRetroShare/Add_RSELidedItemDelegate
Add RSElidedItemDelegate.
2016-11-27 16:42:45 +01:00
defnax
486c11377f Changed smiley widget default width
Update Emotes file
2016-11-27 15:58:53 +01:00
defnax
0f6392128b Fixing icon size for smiley widget. 2016-11-27 00:11:21 +01:00
csoler
4ef1b08ee8 attempt to fix emoticons sizes on high DPI screens 2016-11-26 11:22:35 +01:00
defnax
7aaf3306f0 Added category icons for Smiley Groups
Updated emotes file, sorted Emoticons.
2016-11-26 00:02:58 +01:00
Phenom
d4c3372dec Add RSElidedItemDelegate.
This works like ElidedLabel.
2016-11-25 22:14:17 +01:00
Phenom
ae8365167e Add grouped emoticons. 2016-11-23 18:48:16 +01:00
mr-alice
2bb9a87b3b merged and fixed conflict with upstream/master 2016-11-04 13:52:11 +01:00
mr-alice
5aef67d332 fixed tooltips in ShareManager, and fixed anonymous search mechanism 2016-11-02 21:31:14 +01:00
Cyril Soler
46dd5be2f2 Merge pull request #554 from hunbernd/feature/paste-RS-link
Automatically detect retroshare links when pasting text
2016-11-01 16:30:46 +01:00
mr-alice
8c7c7647b0 fixed conflicts in merging upstream/master to v0.6-FTEncryption 2016-11-01 14:23:13 +01:00
mr-alice
8fe85b9bdd improved ShareManager a little bit more 2016-10-31 23:24:35 +01:00
mr-alice
9d586bcfb0 made a drastic simplification pass on the ShareManager, which now only needs a single window except for selecting files using a QFileDialog 2016-10-31 16:28:26 +01:00
mr-alice
e8e054eeae addednew flag for anonymous search. Merged the two browsable flags in one single flag. 2016-10-31 14:26:01 +01:00
hunbernd
36dc532da6 Automatically detect retroshare links when pasting text 2016-10-31 01:07:50 +01:00
hunbernd
05b5c08e9f Fixed emoticon order 2016-10-30 19:42:28 +01:00
Phenom
32e54e53b7 Fix PR#536 revealing of bad factor management in StyledElidedLabel. 2016-10-25 18:39:22 +02:00
Cyril Soler
c77d0521d0 Merge pull request #536 from PhenomRetroShare/Add_ElidedLabelToGroupTreeWidget
Add ElidedLabel to GroupTreeWidget
2016-10-23 23:25:53 +02:00
hopetech
ecaea051fa Fix some compilation warnings 2016-10-19 15:41:25 +02:00
Phenom
8483c0d0ca Add ElidedLabel to GroupTreeWidget 2016-10-16 19:00:33 +02:00
Phenom
fdfd2e9248 Add context menu to show hidden image on lobby.
A tooltip show hidden image too.
The RSImageBlockWidget is removed.
2016-10-05 12:27:31 +02:00
mr-alice
ff4c43819e fixed reloading of ShareManager due to postModDirectories and made it reload after addign new share 2016-09-18 21:41:18 +02:00
mr-alice
ade6017f74 merged with upstream/master 2016-09-01 19:52:31 +02:00
defnax
5e22ddc93e updating icons more flat replacement
improving people page layout
2016-08-24 03:28:57 +02:00
mr-alice
f8ed1d3fb7 changed DirDetails::children to be a vector, removed costly caching of DirDetailVector 2016-08-19 18:49:42 +02:00
Cyril Soler
6bb1543839 Merge pull request #471 from PhenomRetroShare/Add_AutoHideToRSImageBlockWidget
Add AutoHide to RSImageBlockWidget
2016-08-18 17:18:25 +02:00
Cyril Soler
fea4159b86 Merge pull request #455 from PhenomRetroShare/Add_CopyRSTreeWidgetHeaderContextMenuToItemContextMenu
Copy RsTreeWidget Header ContextMenu to Item ContextMenu.
2016-08-18 17:11:07 +02:00
Phenom
9780f1ff78 Add AutoHide to RSImageBlockWidget 2016-08-17 23:33:41 +02:00
Cyril Soler
4572dc650c Merge pull request #475 from PhenomRetroShare/Fix_RSTextBrowser_loadRessource_OnWindows
Fix RsTextBrowser::loadRessource on Windows.
2016-08-16 10:22:00 +02:00