Commit Graph

266 Commits

Author SHA1 Message Date
Phenom
d681136831 Fix CMark compilation
Remove cmark_node_mem as cmark_node_free do the job.
Look at man:
https://github.com/commonmark/cmark/blob/master/man/man3/cmark.3#L141
2019-08-28 04:53:47 +02:00
hunbernd
73574ff2ad Fixed infinite loop issue 2019-07-04 19:07:02 +02:00
csoler
90d26e7323
suspended unused code 2019-06-04 13:41:34 +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
Phenom
a25f974473 Fix Warnings for 'RsGxsIfaceHelper' defined as a struct here but
previously declared as a class

In file included from ../../../trunk/retroshare-gui/src/main.cpp:66:
In file included from ../../../trunk/libretroshare/src/retroshare/
rsidentity.h:31:
../../../trunk/libretroshare/src/retroshare/rsgxsifacehelper.h:43:1:
warning: 'RsGxsIfaceHelper' defined as a struct here but previously
declared as a class [-Wmismatched-tags]
struct RsGxsIfaceHelper
^
../../../trunk/retroshare-gui/src/util/RsGxsUpdateBroadcast.h:28:1:
note: did you mean struct here?
class RsGxsIfaceHelper;
^~~~~
struct
2019-02-14 22:48:33 +01:00
Phenom
52e4a3cd00 Fix Warnings for 'RsGxsChanges' defined as a struct here but previously
declared as a class

In file included from ../../../trunk/retroshare-gui/src/main.cpp:66:
In file included from ../../../trunk/libretroshare/src/retroshare/
rsidentity.h:31:
In file included from ../../../trunk/libretroshare/src/retroshare/
rsgxsifacehelper.h:30:
../../../trunk/libretroshare/src/retroshare/rsgxsiface.h:76:1: warning:
'RsGxsChanges' defined as a struct here but previously declared as a
class [-Wmismatched-tags]
struct RsGxsChanges
^
../../../trunk/retroshare-gui/src/util/RsGxsUpdateBroadcast.h:29:1:
note: did you mean struct here?
class RsGxsChanges;
^~~~~
struct
2019-02-14 22:47:57 +01:00
hunbernd
50ee33b229 RS_ prefix 2018-12-31 22:36:30 +01:00
hunbernd
584b9039c9 Added switch to enable native dialogs at build time
CONFIG+=use_native_dialogs
2018-12-31 22:36:30 +01:00
csoler
01c40d2593
removed some dead files and finished license cleaning 2018-12-27 16:56:28 +01:00
csoler
bc3a71d3f5
fixed license in util/ lang/ and idle/ 2018-12-27 14:39:10 +01:00
Gioacchino Mazzurco
7aaf29c3de
Fix compilation with Qt older then 5.7 2018-11-09 12:41:09 +01:00
Gioacchino Mazzurco
367c5182cf
Fix compilation with Qt older then 5.10 2018-11-09 12:41:08 +01:00
Phenom
a30e2c3400 Fix Warnings in MouseEventFilter.cpp
/retroshare-gui/src/util/MouseEventFilter.cpp:56: warning: catching
polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]
/retroshare-gui/src/util/MouseEventFilter.cpp:77: warning: catching
polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]
2018-10-23 17:37:19 +02:00
csoler
f6ca7b2a07
disabled compilation of cmark until it gets fixed 2018-07-24 20:59:20 +02:00
csoler
a21c2724f5
disabled compilation of cmark until it gets fixed 2018-07-24 20:59:20 +02:00
Gioacchino Mazzurco
130007b578
Merge branch 'master' into jsonapi 2018-07-23 13:44:01 +02:00
Phenom
d03ee1c0b0 Add CommonMark in ChatLobbyDialog 2018-07-22 10:32:17 +02:00
Gioacchino Mazzurco
b4d2ce82c1
RsTokenService use enum for request status 2018-06-24 18:56:48 +02:00
csoler
6ccc7654d6
added code to notify GxsBroadcast system with new distant search results 2018-06-23 22:25:36 +02:00
csoler
84699db744
changed std::vector into std::set in notification system, hence removing lots of std::find(std::vector::begin(),std::vector::end(),T), causing quadratic costs in multiple places. 2018-06-21 15:46:59 +02:00
csoler
6139632378
changed back RsGxsUpdateBroadCast.cpp to dos line ending 2018-06-18 22:37:31 +02:00
csoler
2e7398ac9b
removed debug info 2018-06-18 22:35:22 +02:00
csoler
79e676edbe
fixed re-load of GXS groups (forums/channels) when the read flag is changed 2018-06-18 22:27:05 +02:00
Gioacchino Mazzurco
4876a0ea3b
Multiple improvements to build process
Restructure and document retroshare.pri variables and helper functions
Link sqlite statically like other libraries on Android
qmake has multiple win32-* specs match them correctly
Move a buch of generic thing to retroshare.pri instead of having them replocated
  accross project specific .pro
Fix retroshare-gui too many symbols exported on windows liking error by adding
  QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL
Rename retroshare-gui/src/util/win32.h because the name is too prone to
  confusion and build conflicts
libreasapi avoid usage of cretar_prl link_prl that seems unreliable on some
  platforms
libreasapi rename LIBRESAPI_QT to more understendable LIBRESAPI_SETTINGS
Use use_*.pri instead of copy pasting error prone qmake snippets around
Expose bitdht option to retroshare.pri
Add RS_THREAD_LIB qmake variable for better crossplatform support
Move debug and profiling generic options to retroshare.pri (avoid copy/pasting)
Remove Qt script module in qmake as it is not available anymore
2018-04-18 07:56:43 +02: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
a496e6f1b0 Add Chat Room RSLink 2018-02-04 17:51:26 +01:00
csoler
d0039241d3 replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows 2018-01-27 20:22:31 +01:00
RetroPooh
1f207ba05c create collection dialog filename as dir name 2017-11-14 19:52:48 +03:00
RetroPooh
df244fd44d add tooltips with address to urls 2017-11-10 16:01:11 +03:00
Phenom
0b8d684195 Fix CppCheck in framecatcher.cpp
/retroshare-gui/src/util/framecatcher.cpp:28: warning:
Cppcheck(uninitMemberVar): Member variable 'framecatcher::length' is not
initialized in the constructor.
2017-11-06 22:20:44 +01:00
csoler
225058a9dc
Merge pull request #1100 from hunbernd/feature/image-embed3
Fixed resize bug
2017-11-05 19:37:03 +01:00
hunbernd
5d03ceb360 Fixed resize bug 2017-11-05 18:58:07 +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
hunbernd
cd5eb5cb77 Got rid of QMath 2017-10-24 18:23:22 +02:00
hunbernd
64481de74b Set the proper size limits 2017-10-23 17:04:20 +02:00
hunbernd
f434e6559b Use binary search to find the right file size 2017-10-23 15:31:18 +02:00
hunbernd
c17a8e7d51 Optimalizations 2017-10-23 15:31:18 +02:00
hunbernd
af4817378c Convert image into 4 bit color table format 2017-10-23 15:31:17 +02:00
hunbernd
9af2730879 Downscale image automatically 2017-10-23 15:31:17 +02:00
csoler
fe516c6b7a fixed pasting of FileTree links in download queue 2017-10-21 16:16:23 +02:00
csoler
68763f58d1 added links machinery to handle file hierarchies 2017-10-17 22:38:42 +02:00
csoler
bc05aaa9d9 switched tokenQueue speed to 10 calls/sec, thus improving loading speeds. Still need to test for CPU load 2017-09-30 18:58:31 +02:00
Phenom
078913f0f3 Fix GCC warnings: enumeration value ‘TYPE_IDENTITY’ not handled in
switch

warning: enumeration value ‘TYPE_IDENTITY’ not handled in switch [-
Wswitch]
  switch (link.type()) {
         ^
2017-04-25 09:54:53 +02:00
Phenom
490f8d2f54 Fix Clang warnings: 'TYPE_IDENTITY' not handled
warning: enumeration value 'TYPE_IDENTITY' not handled in switch [-
Wswitch]
2017-04-25 09:45:27 +02:00
RetroPooh
328168d9a7 add space after quoting sign 2017-03-02 20:03:16 +03:00
csoler
ee9fbefd76 added signal blockign trick for widgets, and fixed the bug causing wrong values to be displayed in server settings 2017-02-27 22:29:01 +01:00
hunbernd
d0ab10cc38 Fix slow emoticons by using generic regex rules where possible. 2017-02-05 22:06:36 +01:00
csoler
34962c343a added a checkbox to load emoticons in forums as an option, so as to avoid crazy loading times. Disabled by default until we fix the RsHtml code 2017-01-18 21:22:38 +01:00
Phenom
40cf76808c Fix compilation and some new warnings. 2016-12-21 21:23:54 +01:00
csoler
8de9ee8b8d made friendly time unit returns empty string when time is 0. Fixes 46y display in search dialog 2016-12-19 23:29:04 +01:00