Commit Graph

198 Commits

Author SHA1 Message Date
defnax
bea2b21d8d Merge pull request #2 from RetroShare/master
update branch
2019-01-05 22:25:15 +01:00
csoler
d4f3a5c1d0 Merge pull request #1443 from defnax/master
* Fixed icon size of the group tree to display icon complete.
2019-01-03 22:42:32 +01:00
csoler
7e9342089d more license fixes and updated version in Debian control files 2018-12-27 15:47:58 +01:00
defnax
bc38e2652d Merge pull request #1 from RetroShare/master
merge with master
2018-12-23 21:13:39 +01:00
csoler
8d74a310fb Merge pull request #1432 from RetroShare/v0.6.5
V0.6.5
2018-12-16 14:35:30 +01:00
csoler
745e2c7edd Merge pull request #1409 from csoler/v0.6.5-DebianPackaging
V0.6.5 debian packaging
2018-11-17 14:14:53 +01:00
csoler
37f802bb6f fixed retroshare.project email in licenses 2018-11-11 20:42:48 +01:00
csoler
3a9c0bd5ac Merge pull request #1407 from RetroShare/v0.6.5
V0.6.5
2018-11-11 14:28:47 +01:00
csoler
f8460d87d8 Merge pull request #1406 from csoler/v0.6.5-DebianPackaging
V0.6.5 debian packaging
2018-11-11 14:27:41 +01:00
hunbernd
b883e3e4a3 Removed some old build scripts 2018-11-11 14:24:44 +01:00
csoler
256b777c89 Merge pull request #1384 from hunbernd/fix/oldstuff
Removed outdated build scripts and information
2018-11-02 22:09:18 +01:00
csoler
a65befd513 Merge pull request #1388 from RetroShare/v0.6.5
V0.6.5
2018-11-02 20:28:31 +01:00
csoler
cef193c739 fixed uninitialized memory read due to not checking the result of beMsgGetNodeId() in bitdht 2018-11-01 21:40:56 +01:00
hunbernd
4f36fd5429 Removed some old build scripts 2018-10-28 21:34:45 +01:00
Gioacchino Mazzurco
be95f1ae3b Remove _USE_32BIT_TIME_T windows define
Why did we added it in first place?
2018-10-07 13:07:22 +02:00
csoler
2ae83e305e merged upstream/master 2018-07-08 21:17:48 +02:00
Gioacchino Mazzurco
bab4ddf72f Finally get rid of the annoying MASQUARADING typo 2018-06-10 15:10:13 +02:00
csoler
eb4349f5c2 license fix in pqi 2018-05-28 22:03:39 +02:00
csoler
d924cca237 re-licenced libbitdht to AGPLv3+ 2018-05-21 18:23:52 +02:00
Phenom
25331bee2b Fix CppCheck duplInheritedMember warning in bdNode
/libbitdht/src/bitdht/bdnode.h:259: warning:
Cppcheck(duplInheritedMember): The class 'bdNodeManager' defines member
variable with name 'mFns' also defined in its parent class 'bdNode'.
2018-05-07 18:05:14 +02:00
Gioacchino Mazzurco
9102a97e57 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
Gioacchino Mazzurco
cd4a925697 Install bdboot.txt in Android
DHT now works on android as bdboot.txt is bundled as android asset
Update Android documentation as DHT works on Android after this commit
2018-01-29 16:14:14 +01:00
csoler
cda44efc1a removed debug info. Added explaination about the new method 2017-11-01 20:31:49 +01:00
csoler
510f91f858 only print non empty buckets 2017-10-30 11:07:36 +01:00
csoler
56036e1169 tried to improve DHT size estimation code 2017-10-30 10:58:48 +01:00
Phenom
796094552d Fix warning: this statement may fall through
/libbitdht/src/bitdht/bdconnection.cc:1288: warning: this statement may
fall through [-Wimplicit-fallthrough=]
      if (errsrc == BITDHT_CONNECT_ERROR_SOURCE_END)
/libbitdht/src/bitdht/bdconnection.cc:1308: here
     case BITDHT_CONNECT_ERROR_DUPLICATE: // similar attempt. delay/
recycle (ANY/ANY)
2017-07-16 20:23:39 +02:00
csoler
d4a4d03ab0 Merge pull request #788 from csoler/v0.6-PRTest
V0.6 pr test
2017-04-25 10:01:00 +02:00
Phenom
48d2d7d948 Fix Clang Static Analyser: Undefined allocation of 0 bytes
Unix API: Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131): Call
to 'malloc' has an allocation size of 0 bytes
 1: Loop body executed 0 times in /home/phenom/GIT/RetroShare/trunk/
libbitdht/src/util/bdbloom.cc:223
 2: Calling 'bloomFilter::getFilter' in /home/phenom/GIT/RetroShare/
trunk/libbitdht/src/util/bdbloom.cc:240
 3: 'bytes' initialized to 0 in /home/phenom/GIT/RetroShare/trunk/
libbitdht/src/util/bdbloom.cc:141
 4: Call to 'malloc' has an allocation size of 0 bytes in /home/phenom/
GIT/RetroShare/trunk/libbitdht/src/util/bdbloom.cc:148
2017-04-25 09:47:10 +02:00
Phenom
84f052ce3e Fix Clang warnings: bdnet_inet_ntoa C-linkage
/libbitdht/src/util/bdnet.h:107: warning: 'bdnet_inet_ntoa' has C-
linkage specified, but returns user-defined type 'std::string' (aka
'basic_string<char>') which is incompatible with C [-Wreturn-type-c-
linkage]
std::string bdnet_inet_ntoa(struct in_addr in);
            ^
2017-04-18 11:18:10 +02:00
csoler
892bffb4f1 Merge pull request #775 from csoler/v0.6-PRTest
V0.6 pr test
2017-04-17 22:03:48 +02:00
Phenom
bb9a92cb45 Fix Clang warnings: mFns is not used
warning: private field 'mFns' is not used [-Wunused-private-field]
        bdDhtFunctions *mFns;
                        ^
2017-04-17 21:09:40 +02:00
dimqua
f15e401c58 bdboot update 2016-11-29 19:05:02 +03:00
csoler
91c9ed2569 Merge pull request #507 from mr-alice/v0.6-FileLists
V0.6 file lists
2016-09-24 14:13:38 +02:00
Gioacchino Mazzurco
7aab998ac1 Solve some compiler warnings:
usage of memory after free (false positive)
unused variable (stacked mutex)
malloc parameter type mismatch
2016-08-26 13:10:09 +02:00
csoler
a85eeceba7 removed debug info in udpstack.cc 2016-07-03 18:49:02 -04:00
sehraf
0e7a076a6c Added new (optional) callback to libbitdht to ask upper layer if an IP is banned.
In case this callback is implemented it will be used in favour of the built-in ban list.
2016-06-20 22:30:51 +02:00
csoler
daa2793018 Merge pull request #400 from sehraf/pr-remove-warnings
remove compiler warnings in libbitdht and openpgpsdk
2016-06-01 16:16:43 -04:00
sehraf
4b00f157c8 remove compiler warnings libbitdht 2016-06-01 21:20:50 +02:00
csoler
e0d397c141 Merge pull request #395 from hasufell/master
Don't hardcode g++ in the toolchain settings
2016-05-27 12:44:14 -04:00
Julian Ospald
8a16a2323e Don't hardcode g++ in the toolchain settings
Although it's already quite ugly that we overwrite QMAKE_CC like this,
hardcoding 'g++' can break the build where prefixed versions of
the toolchain are expected and where QMAKE_CXX is already properly
defined. So we just use QMAKE_CXX variable here.

This fixes build failures on some distributions, e.g.
https://galileo.mailstation.de/jenkins/job/lipidity/36/console
2016-05-27 18:07:28 +02:00
csoler
010e1b278b removed some debug info 2016-04-15 18:25:53 -04:00
csoler
879ea8a94d Merge pull request #206 from realityfabric/master
Added top level license file for GPL 2.0
2016-02-16 17:45:49 -05:00
Phenom
9fce238d63 Fix compilation of bencode.c for C compilator.
Remove C++ in this C file.
2016-02-14 17:40:10 +01:00
csoler
696032000c Merge pull request #253 from csoler/v0.6-SecurityReview
V0.6 security review
2016-01-13 10:20:51 -05:00
csoler
c09bbc54f0 added checks after mallocs in several files 2016-01-11 23:49:00 -05:00
electron128
cb7eb2f61c fixed free() in UdpLayer::recv_loop 2016-01-01 14:07:15 +01:00
Jessie RealityFabric
6b31f4fa38 Create LICENSE.md 2015-12-16 02:09:35 -08:00
realityfabric
ac9b530e6b Made it so that sys/select.h is only included if the operating system is not Windows 2015-12-13 08:27:32 -08:00
csoler
f7a2b1e13f Merge pull request #151 from diversys/master
Add Haiku support
2015-10-20 17:56:06 -04:00
Sergei Reznikov
5b0246aa20 Add Haiku support 2015-10-20 20:32:44 +03:00