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
csoler
ab60f49820
prevent sending/receiving of IP addresses to/at hidden nodes
2018-01-03 18:37:43 +01:00
csoler
0f6006d140
prevent subscribing to a signed chat room without a signed identity
2018-01-03 15:01:04 +01:00
csoler
fcc3995d87
removed BanList service from Retro-Tor version
2018-01-01 15:49:49 +01:00
csoler
da5253059a
fixed retrotor compilation when removing dht and udp
2017-12-31 17:27:21 +01:00
csoler
122f6af30a
fixed compilation on ubuntu precise
2017-12-24 11:06:03 +01:00
csoler
f5ce711ad6
only load hidden nodes in retro-only mode
2017-12-21 21:34:51 +01:00
csoler
76ec079b40
added missing change in .pro
2017-12-20 22:14:58 +01:00
csoler
a173f325a9
added .h for RsGxsNetTunnel service
2017-12-20 00:09:34 +01:00
csoler
99e35b131c
rename file in partials into real name before moving it; check for destination directory before moving file
2017-12-16 15:04:16 +01:00
csoler
b12f9323dc
added some text to describe the protocol for GXS distant sync
2017-12-10 15:57:01 +01:00
csoler
63b3acb95a
Merge pull request #1113 from csoler/v0.6-SSL110Fix
...
added sha256 calculation functions, and non backward compatible SSL I…
2017-11-23 21:27:03 +01:00
csoler
1faa274e07
simplified memory management in certificate signature verification code
2017-11-22 23:46:57 +01:00
csoler
669f2ba7ba
fixed a few bugs in signature verification code accross versions
2017-11-22 22:56:40 +01:00
csoler
f6d69e09d5
ensured maximum backward compatibility for crypto changes that will occur in future v0.7
2017-11-22 00:02:11 +01:00
Gioacchino Mazzurco
6d4c9422d9
Removed unnecessary executable flag on some files
2017-11-21 13:28:24 +01:00
csoler
e2c1661c49
fixed compilation with v0.7 defines
2017-11-20 22:44:34 +01:00
csoler
cd51afbc70
fixed small bug in signature and compilation
2017-11-20 22:26:14 +01:00
csoler
9367aa0d84
changed #ifs into #ifdefs because it us more robust, and moved the definition of variables to retroshare.pri
2017-11-19 20:15:36 +01:00
csoler
ef1a61374c
added proper debug output for signature verification
2017-11-19 19:57:38 +01:00
csoler
863e6256c3
centralized the defines into a single file
2017-11-19 19:34:54 +01:00
csoler
e72bd9ff4f
fixed bug causing certificate rejection
2017-11-19 18:38:46 +01:00
csoler
b4fdd4e0d0
added two additional non packward compatible changes for future version 0.7, and improvements of verifications of certificate signatures
2017-11-19 18:21:56 +01:00
csoler
7472f78223
added sha256 calculation functions, and non backward compatible SSL Id computation code to active later (0.7)
2017-11-15 23:24:43 +01:00
csoler
ba7cf4995b
Merge pull request #1037 from RetroPooh/searchspy
...
Searchspy
2017-11-14 20:53:24 +01:00
RetroPooh
919d6503d7
in search strings change comma to space for better look
2017-11-14 16:09:05 +03:00
Pooh
9aa6dd3f64
Update rsturtleitem.h
2017-11-14 14:34:22 +03:00
csoler
5fab053fb8
added toStdString() method to search strings so as to display what is searched
2017-11-13 23:37:53 +01:00
Phenom
72b917de37
Fix CppCheck in UPnPBase.h
...
/libretroshare/src/upnp/UPnPBase.cpp:62: warning:
Cppcheck(funcArgOrderDifferent): Function 'CUPnPPortMapping' argument
order different: declaration 'in_port, ex_port, protocol, enabled,
description' definition 'ex_port, in_port, protocol, enabled,
description'
/libretroshare/src/upnp/UPnPBase.h:109: warning:
Cppcheck(noExplicitConstructor): Class 'CUPnPLib' has a constructor with
1 argument that is not explicit.
/libretroshare/src/upnp/UPnPBase.h:577: warning:
Cppcheck(noExplicitConstructor): Class 'CUPnPControlPoint' has a
constructor with 1 argument that is not explicit.
2017-11-07 22:04:46 +01:00