csoler
13441ff483
removed debug info in rsgenexchange.cc
2018-02-23 15:13:13 +01:00
csoler
d8e950c5e0
removed debug output from rsdataservice
2018-02-23 14:28:22 +01:00
csoler
ff7633fefe
Merge pull request #1184 from G10h4ck/linkLocalFallback
...
[0.6.4] Use link local address only if necessary fix #292
2018-02-23 14:00:39 +01:00
Gioacchino Mazzurco
8d5cd8afef
Increase size of list of ip shared via discovery2
2018-02-23 02:10:58 +01:00
Gioacchino Mazzurco
9dd1aef2b7
Discovery do not distribute addresses to hidden nodes
...
As there is no consensus in takde advantage of hidden nodes for
discovery do not spread ip address to them
2018-02-23 02:10:58 +01:00
Gioacchino Mazzurco
e7facc122b
Prevent discovery to share local addresses if hidden
...
Do not query/share local addresses if hidden node as it would leak
information about the location of the node
2018-02-23 02:10:58 +01:00
Gioacchino Mazzurco
4fa6bdc789
Improve discovery
...
Workaround RS single local address flawed assumption by spreading
all viables local addrresses via discovery
Spread addresses also through hidden node as they are the only hope
to help direct connection happening for common trusted nodes
behind nasty firewalls
2018-02-23 02:10:58 +01:00
Gioacchino Mazzurco
2044a2c848
Use retrocompatible iterators
...
Explain why shuffling the local addresses list before looking for
a viable local is a bad idea.
2018-02-21 12:35:27 +01:00
Phenom
73d11e1857
Fix Gcc Warning in nxsmsgsync_test.cc
...
/trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:28:
warning: deleting object of abstract class type ‘RsGixsReputation’ which
has non-virtual destructor will cause undefined behavior [-Wdelete-non-
virtual-dtor]
delete mRep ;
/trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:29:
warning: deleting object of abstract class type ‘RsGcxs’ which has non-
virtual destructor will cause undefined behavior [-Wdelete-non-virtual-
dtor]
delete mCircles;
/trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:30:
warning: deleting object of abstract class type ‘PgpAuxUtils’ which has
non-virtual destructor will cause undefined behavior [-Wdelete-non-
virtual-dtor]
delete mPgpUtils;
2018-02-20 23:28:48 +01:00
Gioacchino Mazzurco
0c99975800
Use link local address only if necessary
...
This should solve APIPA address being always selected as preferred local
address on Windows which was causing problems connecting to machines on
the same local network.
Now the link local address is used as fallback only if there is non link
local private address available.
2018-02-19 23:23:15 +01:00
csoler
566776366f
switched version to 0.6.4
2018-02-19 21:49:06 +01:00
csoler
2511934fb0
Merge pull request #1177 from csoler/v0.6-FT
...
added limiter in number of responses forwarded back by turtle search,…
2018-02-18 17:58:06 +01:00
csoler
7a844921ad
Merge pull request #1176 from csoler/v0.6-SecurityFixes
...
added load/save of known forums to avoid re-displaying it in the News…
2018-02-18 17:57:42 +01:00
csoler
6fe14136ae
added limiter in number of responses forwarded back by turtle search, which should avoid bursts of bandwidth for popular requests
2018-02-17 23:37:25 +01:00
csoler
8708dd9b94
fixed bug due to wrong service ID in serializer
2018-02-17 12:04:13 +01:00
csoler
d57f933109
added load/save of known channels to avoid re-displaying it in the NewsFeed after then have been deleted.
2018-02-16 23:51:43 +01:00
csoler
252626f5ec
added load/save of known forums to avoid re-displaying it in the NewsFeed after then have been deleted.
2018-02-16 23:24:01 +01:00
Phenom
83b6205af3
Fix New Chat Invite
2018-02-16 10:22:59 +01:00
csoler
0491e43118
Merge pull request #1169 from csoler/v0.6-FT
...
V0.6 ft
2018-02-11 21:28:43 +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
csoler
74a6076f18
added sources in new QModel. Unfinished yet.
2018-02-07 00:25:41 +01:00
csoler
3f8ff6489b
first attempt at creating a display model for transfers. Not finished yet.
2018-02-04 22:56:13 +01:00
Gioacchino Mazzurco
00125864ff
Add support for SQLCipher on Android
...
Plus some cleanup
2018-01-30 18:24:03 +01:00
Gioacchino Mazzurco
ebfe50f814
Make .pro files compiler agnostic on Android
2018-01-30 18:11:31 +01:00
Gioacchino Mazzurco
fa71ed25ba
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
8f7582588a
fixed windows compilation
2018-01-27 20:59:11 +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
Gioacchino Mazzurco
86ce177228
time_t may be signed in JSON
2018-01-27 19:57:15 +01:00
Gioacchino Mazzurco
ef6681b6f9
Remove outdated documentation
2018-01-27 19:40:39 +01:00
Gioacchino Mazzurco
8b774595d7
Better usage of type traits
...
Don't need register types for serializationanymore
Don't need casting helpers for serialization
2018-01-27 17:57:33 +01:00
Gioacchino Mazzurco
ba6f2d7e81
Remove default template for to/from_JSON
...
This way the compiler will complain if a type is added directly to
RsTypeSerializer without specify all needed serial operations
2018-01-26 17:18:05 +01:00
Gioacchino Mazzurco
13d4a2c916
Safer and elgant serial helper macros
2018-01-26 13:43:09 +01:00
csoler
725abad777
fixed a bug in filterItems that caused searched files to generate an error in the console
2018-01-23 22:18:02 +01:00
Gioacchino Mazzurco
7409de5170
Fix compilation on systems with atipic time_t
2018-01-22 21:53:12 +01:00
Gioacchino Mazzurco
443ffb9f85
Fix some warnings
2018-01-22 15:02:33 +01:00
Gioacchino Mazzurco
9c68bcbca4
Fix some warnings
2018-01-22 14:50:07 +01:00
Gioacchino Mazzurco
04d32d2f44
Remove duplicated include
2018-01-22 12:55:22 +01:00
Gioacchino Mazzurco
b95e3380c0
Fix Android compilation
2018-01-22 11:09:00 +01:00
Gioacchino Mazzurco
9d40d416f6
Better naming for serialization helper macro
2018-01-21 20:27:49 +01:00
csoler
95e8fc4404
merged upstream/master
2018-01-16 23:03:26 +01:00
Gioacchino Mazzurco
5cdc5aa58d
Add automatic JSON serialization/deserialization
...
Abstract serialization concept to pure virtaul class RsSerializable
from which every other serializable class must inherit from
Use RapidJSON for JSON manipulation
Add TO_JSON and FROM_JSON SerializeJob
Deprecate unused SerializationFormat
Remove some unused old piece of code
Adjust many lines to max 80 columns for better readability on little
screens
Clean up documentation and code, remove old cruft
Add copyright notice on edited files that miss it
2018-01-16 03:31:03 +01:00
csoler
4c626e04a1
Merge pull request #1152 from csoler/v0.6-SecurityFixes
...
fixed possible crash due to accessing deleted memory in database cach…
2018-01-15 23:17:09 +01:00
csoler
841fee6799
fixed possible crash due to accessing deleted memory in database cache access
2018-01-15 23:13:42 +01:00
csoler
7cac367820
removed warnign about bad service string when the service string is actually empty
2018-01-14 22:39:50 +01:00
csoler
4eea5a8eca
removed consts in GrpMetaCache pointers, and made it possible to always re=use cache entries, possibly updating them
2018-01-10 00:10:08 +01:00
csoler
506190a64b
fixed bug causing failure of flag actions on groups
2018-01-09 22:11:11 +01:00
csoler
ed81b4cac6
removed delete causing read of deleted memory
2018-01-09 21:49:15 +01:00
csoler
89c538deb1
fixed double deletion problem causing crashes
2018-01-07 22:36:38 +01:00
csoler
b42b8e3a51
moved memory ownership of RsGxsGrpMetaData down into RsGxsDataAccess. Avoids many copy-constructors of RsTlvSecurityKey. Will probably spare a lot of CPU on windows
2018-01-07 21:41:41 +01:00
csoler
e28886fe79
updated to upstream/master
2018-01-05 21:59:22 +01:00