Commit graph

121 commits

Author SHA1 Message Date
Peter Conrad
9069e05cb0 Get rid of some inlines 2019-05-28 17:20:57 +02:00
Peter Conrad
de46823a99 Dont inline generic pack/unpack to enable externalized serialization 2019-05-28 17:20:57 +02:00
Peter Conrad
379e59f661 Moved delete declaration to raw_fwd 2019-04-23 16:49:25 +02:00
Peter Conrad
532093bda5 Added missing serialization for std::shared_ptr<T> 2019-04-23 16:49:24 +02:00
Peter Conrad
cb9a96755d Add proper serialization for boost::endian::endian_buffer 2019-04-23 16:48:17 +02:00
Peter Conrad
f0c6976aea Removed superfluous return statement 2019-04-23 16:45:44 +02:00
Peter Conrad
9a0d92820d Fixes for endianness 2019-04-23 16:45:44 +02:00
Peter Conrad
8f1abdd4be Delete unused backup(?) file 2019-04-23 16:44:44 +02:00
Peter Conrad
4511300081 Minor fixes for Windows 2019-04-09 08:46:56 +02:00
Peter Conrad
579914c84d Removed unused stuff 2019-04-04 17:59:51 +02:00
Nathan Hourt
6665406f83 Requested changes for #115 2019-03-24 09:54:57 -05:00
Nathan Hourt
ba96174e7f Support for BTS #1670: allow serializing shared_ptr<const T> 2019-03-23 11:35:40 -05:00
John Jones
19590fd413 Removal of smart_ref 2019-02-15 08:23:05 -05:00
Nathan Hourt
25ae3222f8 Add missing operator overloads for fc::unsigned_int
Turns out that bitshares/bitshares-core#1506 is easier if you can
do greater-than comparisons on fc::unsigned_int. Go ahead and add
the complement of missing operators.
2019-02-13 12:21:30 -06:00
jmjatlanta
6fece96eae fix std::min parameter conversion 2019-02-05 15:44:06 -05:00
John Jones
7de33aa33a whitespace only 2019-01-21 09:15:56 -05:00
John Jones
fa07984234 fix overly agressive cleanup 2019-01-21 09:11:11 -05:00
John Jones
be4d480174 Remove unnecessary asserts 2019-01-18 12:29:38 -05:00
Peter Conrad
fb75dc9bb5 Added limits for resize() / reserve() 2018-12-28 20:36:29 +01:00
Alfredo
53d3f729ea reduce number of changes 2018-10-09 16:41:51 -03:00
Alfredo
67d2eb9b63 remove WITH_EXOTIC_JSON_PARSERS 2018-10-08 19:35:56 -03:00
Peter Conrad
02a4516610 Handle b<0 2018-08-21 16:48:00 +02:00
Peter Conrad
79ff75423f Throw overflow_exception instead of silently cutting off data 2018-08-19 18:51:45 +02:00
Peter Conrad
1dcacbafc9 Removed signed_int 2018-08-19 18:26:46 +02:00
Peter Conrad
4b61f3ca3d Fixed alleged c&p bug 2018-08-19 11:01:05 +02:00
Peter Conrad
72bcc8a926 Fix #993 - limit unpacking length of signed_int and unsigned_int 2018-08-19 11:01:05 +02:00
Peter Conrad
58ac6ae208 Changed some casts to uint64_t 2018-08-19 11:01:05 +02:00
Peter Conrad
9483935d64 Support 64 bit values in unsigned_int object 2018-08-19 11:01:05 +02:00
Valera Cogut
1169c2d966 removed using statement from header file 2018-07-17 19:46:43 +03:00
Valera Cogut
20724f7ecc fixed issue #809 2018-07-09 17:17:32 +03:00
Abit
2bb93c8b5d
Merge pull request #21 from pmconrad/variant_fix
Variant fix
2018-03-19 17:35:57 +01:00
Peter Conrad
1eb7b9d5c6 Added some missing checks, fixed indentation, handle different meanings of max_depth 2018-03-19 15:49:07 +01:00
Peter Conrad
a91822616e Added max_depth to remaining variant conversions 2018-03-18 10:49:44 +01:00
abitmore
d9ac2691a1 Remove default pack/unpack functions for class 2018-03-14 17:20:48 -04:00
abitmore
85ea20e2c9 Deprecate default pack/unpack functions for class 2018-03-14 06:25:14 -04:00
Peter Conrad
81c8d89341 Added max_depth parameter to variant conversions 2018-03-13 22:00:18 +01:00
Peter Conrad
fca5058464
Merge branch 'master' into sanitize 2018-03-13 21:39:40 +01:00
Abit
67e60367a5
Merge pull request #15 from pmconrad/json_parsing_fix
JSON parsing fix from steem PR 2178
2018-03-13 21:36:15 +01:00
abitmore
43ac0b0520 Slightly improve performance for pack/unpack 2018-03-13 13:06:00 -04:00
abitmore
86e18663a0 Add max_depth parameter to pack/unpack functions 2018-03-11 17:31:55 -04:00
Peter Conrad
f9802f6860 Added max_depth parameter to all to_/from_ methods 2018-03-08 22:33:41 +01:00
Peter Conrad
2bacd5fda8 Added broken_nul_parser to preserve previous behaviour 2018-03-07 15:44:18 +01:00
Peter Conrad
90137d400d Fix for recursion depth limitation 2018-03-07 15:44:10 +01:00
Peter Conrad
d336af82a6 Applied variant_from_stream fix from regular to relaxed 2018-03-07 15:43:49 +01:00
Peter Conrad
4bb8bf7832 Fixed relaxed parser wrt "" input 2018-03-07 15:43:38 +01:00
Peter Conrad
1ae3cc2fad Make unused parsers compile-time optional 2018-03-07 15:43:14 +01:00
Peter Conrad
43fabf618f Code deduplication 2018-03-07 15:42:46 +01:00
Alexey Frolov
5138c58e09 sanitize, remove warnings 2018-02-02 15:29:46 +03:00
Daniel Larimer
ee6ee27290 clean up tests and add some utility methods 2016-10-24 17:44:53 -04:00
Daniel Larimer
e7d0d26fe2 adding fixed_string definition 2016-09-15 15:29:16 -04:00