Gioacchino Mazzurco
74fa3bdf2b
Change again C compiler selection in CI
2019-04-15 15:16:47 +02:00
Gioacchino Mazzurco
694bd34f27
Enable broadcast discovery in Travis CI OS X
2019-04-15 13:11:57 +02:00
Gioacchino Mazzurco
9aa116b885
Enforce RsEvent not being instantiable without inheriting
2019-04-15 11:17:26 +02:00
Gioacchino Mazzurco
5554f799c0
Add some info about shared_ptr to weak_ptr future refactor
2019-04-15 10:37:21 +02:00
Gioacchino Mazzurco
a5cdee6078
Fix compilation on Windows
2019-04-15 01:04:44 +02:00
Gioacchino Mazzurco
7dab487bde
Implement a JSON API friendly notification system
...
This should bit by bit substitute RsNotify which would be very difficult
to support properly in JSON API.
The new system is much simpler to use also from the C++ side of the
moon.
BroadcastDiscovery take advantage of the new system to notify about new
non friend peer discovered, tested successfully also in JSON API.
2019-04-15 00:31:49 +02:00
Gioacchino Mazzurco
9c7a8d479f
Pass initialization value in RS_DEFAULT_STORAGE_PARAM
2019-04-15 00:09:01 +02:00
Gioacchino Mazzurco
f2aa2aa543
JSON API avoid capturing shared_ptr in lambda
...
use weak_ptr as capture shared_ptr could cause circular ref counting
2019-04-15 00:07:21 +02:00
Gioacchino Mazzurco
954644ef57
Broadcast discovery fix local port setting
2019-04-15 00:05:40 +02:00
csoler
051e2ee682
Merge pull request #1522 from csoler/v0.6-Turtle
...
Add Fast Track items in Turtle and make GxsTunnel to use them. Improves distant chat.
2019-04-14 20:52:35 +02:00
csoler
c33a265ebd
Merge pull request #1526 from csoler/v0.6-ImprovedGUI
...
V0.6 improved gui
2019-04-14 20:52:04 +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
Gioacchino Mazzurco
e7a2cb5501
Fix licensing in broadcast discovery and JSON API
2019-04-14 12:34:01 +02:00
G10h4ck
bff3cd6845
Merge pull request #1523 from G10h4ck/json_api
...
Channel API fixes
2019-04-13 00:00:39 +02:00
Gioacchino Mazzurco
b25c4ecb77
Fix channels JSON API
2019-04-12 23:10:31 +02:00
Gioacchino Mazzurco
4d703b9df9
Increase waitToken interval for channel creation
...
Creating GXS groups imply a bunch of crypto operations that require lot
of time expecially on embedded device, channel creation was reported
as failed while it was still pending.
Reduce too long lines.
Print API error messages also on std::cerr.
2019-04-12 22:14:16 +02:00
Gioacchino Mazzurco
81f73aaf44
Merge branch 'v0.6-ImprovedGUI' of https://github.com/csoler/RetroShare into json_api
2019-04-12 21:39:05 +02:00
csoler
44d0cbe295
finished fast track turtle items for distant chat
2019-04-12 21:29:49 +02:00
Gioacchino Mazzurco
944fc42c69
Broadcast discovery improve debug message
2019-04-12 20:38:17 +02:00
Gioacchino Mazzurco
7eaa7d8c8c
Broadcast discovery act smarter when a friend is discovered
2019-04-12 20:18:08 +02:00
Gioacchino Mazzurco
a7498371a2
Fix Travis and Appveyor continuous integration
...
The error reported both on OS X and Windows was
The CMAKE_C_COMPILER is set to a C++ compiler
2019-04-12 19:56:57 +02:00
G10h4ck
50604f90b6
Merge pull request #1521 from G10h4ck/update_readme
...
Fix appveyor badge link
2019-04-12 12:53:44 +02:00
Gioacchino Mazzurco
4ac6d7b7d1
Fix appveyor badge link
2019-04-12 11:49:42 +02:00
Gioacchino Mazzurco
7b38c1c75a
Initial work on Broadcast Domain Discovery
...
Discover peers on the same broadcast domain/LAN
Implements own node announcement
Implements others announcement listening
Implements API to get notifiend when other nodes get discovered
Implements API to get discovered nodes
Add discovered peer locator to rsPeers if it is already friend
Yet a bunch of things to do to take full advantage of this new
implementation
2019-04-12 02:53:39 +02:00
csoler
3f75bff48b
first branch of faster turtle track for distant chat
2019-04-11 23:57:18 +02:00
csoler
322334b076
fixed compilation warning
2019-04-11 21:04:29 +02:00
csoler
4c8851801f
fixed merging with pending modifications
2019-04-11 21:04:13 +02:00
csoler
0aff3a2b03
Merge pull request #1517 from zapek/mark_as_bad_context_menu_improvement
...
Moved the 'Mark as bad' entry in the search result files context menu
2019-04-11 12:50:12 +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
Gioacchino Mazzurco
9ad79f0c89
Improve documentation
2019-04-10 21:10:21 +02:00
csoler
43a5312194
Merge pull request #1509 from RetroPooh/trafcount
...
display session traffic
2019-04-10 21:04:53 +02:00
csoler
565afbd834
Merge pull request #1510 from zapek/windows_hash_warning_fix
...
fixed wrong file hash daylight saving time warnings on windows
2019-04-10 20:34:40 +02:00
G10h4ck
a8867f21fb
Merge pull request #1513 from Piraty/license-agpl
...
add AGPL license text
2019-04-10 12:38:44 +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
Piraty
c872044c83
add AGPL license text
...
Many source files mention the `AGPL-3.0-or-later` license in their header,
but there is no license file for AGPL in the project.
Text is used as shown at https://www.gnu.org/licenses/agpl.txt
Also see: https://spdx.org/licenses/AGPL-3.0-or-later.html
2019-04-06 14:48:45 +02:00
zapek
3f8611f40f
the cache is corrected and saved
2019-04-06 00:15:01 +02:00
Pooh
617b924e1f
Update rsconfig.h
2019-04-05 10:48:00 +03:00
G10h4ck
da088746de
Merge pull request #1511 from PhenomRetroShare/Fix_AppVeyorBuild
...
Fix AppVeyor build
2019-04-05 02:25:16 +02:00
Gioacchino Mazzurco
ab80d9a374
Fix compilation, retrocompatibility and enums
...
Workaround miss-behaviour on old Android phones
Cleanup indentation a bit
Consistent param naming
Introduce default parameter values also for output paramethers
2019-04-05 01:43:23 +02:00
Phenom
5ab75d0308
Fix AppVeyor build
2019-04-04 23:53:05 +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
Phenom
bc8d2a79c0
Fix clang warning for
...
../../../trunk/libretroshare/src/gxs/rsgxsutil.cc:150:23: warning:
unused parameter 'serializer' [-Wunused-parameter]
RsSerialType& serializer, RsGixs* gixs ) :
^
2019-04-04 21:20:25 +02:00
Phenom
78f9bbfd75
Fix clang warning for
...
../../../trunk/libretroshare/src/pqi/authssl.cc:57:16: warning: unused
variable 'RS_SSL_HANDSHAKE_DIAGNOSTIC_KEY_ALGORITHM_NOT_ACCEPTED' [-
Wunused-const-variable]
const uint32_t RS_SSL_HANDSHAKE_DIAGNOSTIC_KEY_ALGORITHM_NOT_ACCEPTED =
0x08 ;
^
2019-04-04 21:20:25 +02:00
Phenom
b2c5965950
Fix clang warning for
...
../../../trunk/libretroshare/src/ft/ftserver.cc:1230:23: warning: unused
variable 'ENCRYPTED_FT_INITIALIZATION_VECTOR_SIZE' [-Wunused-const-
variable]
static const uint32_t ENCRYPTED_FT_INITIALIZATION_VECTOR_SIZE = 12 ;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1231:23: warning: unused
variable 'ENCRYPTED_FT_AUTHENTICATION_TAG_SIZE' [-Wunused-const-
variable]
static const uint32_t ENCRYPTED_FT_AUTHENTICATION_TAG_SIZE = 16 ;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1232:23: warning: unused
variable 'ENCRYPTED_FT_HEADER_SIZE' [-Wunused-const-variable]
static const uint32_t ENCRYPTED_FT_HEADER_SIZE = 4 ;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1233:23: warning: unused
variable 'ENCRYPTED_FT_EDATA_SIZE' [-Wunused-const-variable]
static const uint32_t ENCRYPTED_FT_EDATA_SIZE = 4 ;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1235:23: warning: unused
variable 'ENCRYPTED_FT_FORMAT_AEAD_CHACHA20_POLY1305' [-Wunused-const-
variable]
static const uint8_t ENCRYPTED_FT_FORMAT_AEAD_CHACHA20_POLY1305 = 0x01
;
^
../../../trunk/libretroshare/src/ft/ftserver.cc:1236:23: warning: unused
variable 'ENCRYPTED_FT_FORMAT_AEAD_CHACHA20_SHA256' [-Wunused-const-
variable]
static const uint8_t ENCRYPTED_FT_FORMAT_AEAD_CHACHA20_SHA256 = 0x02
;
^
2019-04-04 21:20:25 +02:00