Commit graph

87 commits

Author SHA1 Message Date
pbattu123
a76b9ff81c include fc build optimization changes 2020-02-20 12:19:22 -04:00
pbattu123
1cae4d3481 Revert "Merge pull request #13 from gladcow/feature/GRPH-92"
This reverts commit c30f3b7d32, reversing
changes made to 31e289c53d.
2020-01-06 17:00:41 -04:00
pbattu123
a8ffe6ed3d
Merge branch 'latest-fc' into feature/GRPH-92 2020-01-03 09:33:16 -04:00
pbattu123
f13d0632b0
Merge pull request #4 from Noughmad/GRPH-50-network_broadcast_api-fix
[GRPH-50] network broadcast api fix
2019-10-04 09:24:17 -03:00
pbattu123
209bca8d84
Merge pull request #9 from peerplays-network/feature/GRPH-2
[GRPH-2] Fixed log appending issue.
2019-10-03 11:12:52 -03:00
Sandip Patel
9da11c44ed Fixed log appending issue. 2019-09-20 19:04:24 +05:30
Peter Conrad
a94d110b5d Get rid of some inlines 2019-09-13 14:34:17 +03:00
Peter Conrad
23761bade5 Dont inline generic pack/unpack to enable externalized serialization 2019-09-13 14:29:24 +03:00
Abit
33215ffb6e Merge pull request #21 from pmconrad/variant_fix
Variant fix
2019-08-20 11:25:15 +02:00
Peter Conrad
10a857ee78 Merge pull request #20 from abitmore/fix-serialization
Fix pack/unpack serialization
2019-08-20 10:58:22 +02:00
Abit
838da0d8dd Merge pull request #15 from pmconrad/json_parsing_fix
JSON parsing fix from steem PR 2178
2019-08-20 10:54:30 +02:00
pbattu
00efb88ac7 fc changes to support ubuntu-18.04 upgrade 2019-05-21 18:42:14 -03:00
Eric Frias
8df97c6b35 Merge remote-tracking branch 'origin/betting' into betting-merge 2017-08-24 17:38:23 -04:00
Eric Frias
9d408aa532 Fix serialization of enums to use variable-length integerd 2017-03-21 08:59:58 -04: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
Daniel Larimer
de9a29c33e Progress toward binary RPC" 2016-07-30 19:24:15 -04:00
theoreticalbts
b6fdcdd5dd json_relaxed.hpp: Fix bug in triple quote string parsing 2016-05-05 13:03:35 -04:00
theoreticalbts
232d59525a raw.hpp: Use fc::raw:: namespace explicitly everywhere, cleanup whitespace 2016-02-19 16:36:29 -05:00
Daniel Larimer
bde8a7f424 fixes updates for deque to variant 2016-02-11 17:16:39 -05:00
theoreticalbts
8eec508b8c iostream.hpp: Add get(char&) override to allow unpack(fc::istream, unsigned_int) 2016-01-08 11:20:38 -05:00
theoreticalbts
7b6431f20e raw.hpp: Add pack() override for shared_ptr<T> 2016-01-08 11:20:32 -05:00
Daniel Larimer
cb27b810e3 adding support for unpacking shared_ptr 2015-11-25 12:49:49 -05:00
theoreticalbts
1e10d3dc47 raw.hpp: Require high bits to be 0 when unpacking bool 2015-10-12 10:09:08 -04:00
theoreticalbts
c16bb206a3 fstream: Implement read_file_contents 2015-08-06 14:47:15 -04:00
Daniel Larimer
63677c47d9 helper for smart_ref 2015-07-08 16:43:25 -04:00
Scott Howard
153d3f0433
Fix cryptonomex/graphene#107: Define char as signed when comparing against EOF 2015-07-05 15:44:32 -04:00
Eric Frias
707b9497c6 Increase space reserved for stringstream fwd, cryptonomex/graphene#86 2015-06-25 09:27:24 -04:00
Eric Frias
c2451f30f1 Add a new mode to the variant->json generator to restore the normal
behavior of writing numbers out as numbers instead of strings
2015-06-12 11:05:58 -04:00
Eric Frias
e5a5323642 When formatting doubles as strings, use 17 digits of precision to ensure they are read back in without loss (up from 12 digits).
Add a mode to the JSON parser to parse all real numbers into strings, so we can later parse them into doubles or another fixed/floating point format to preserve as much precision as needed
2015-06-12 11:05:52 -04:00
theoreticalbts
b391ecb4c7 deque: Add std::deque to serialization / reflection 2015-06-01 17:13:51 -04:00
Daniel Larimer
637f475e44 parse doubles as strings 2015-05-27 11:26:04 -04:00
Daniel Larimer
8b5e2e7613 adding helper to get a list of variants from a string 2015-03-31 18:46:05 -04:00
Daniel Larimer
f9f965809b bug fixes 2015-02-27 16:07:50 -05:00
Daniel Larimer
c0a4ed77b1 adding static_variant type 2015-02-27 13:41:55 -05:00
Daniel Larimer
537029f09f fix build 2015-02-23 14:01:58 -05:00
Daniel Larimer
7e34d8fe56 Adding support for flat_map,flat_set 2015-02-23 09:06:04 -05:00
Daniel Larimer
ec66863902 added type for safe int ops 2015-02-19 11:39:17 -05:00
Daniel Larimer
93a789891e Adding is_utf8 call and making enum_type cast explicit 2015-02-17 09:55:31 -05:00
Daniel Larimer
057861c608 extra raw io helpers 2015-02-11 18:27:33 -05:00
Vikram Rajkumar
fea997ca14 Fix compiler warnings 2015-01-07 11:53:09 -05:00
drltc
40943808d0 Initial implementation of relaxed JSON parser (not fully tested) 2015-01-02 10:37:16 -05:00
Vikram Rajkumar
874f103b8d Fix overloaded virtual function warnings 2014-12-23 15:45:57 -05:00
Eric Frias
5a91c4f118 Virtualize a few functions in istream to allow them to be overridden in derived classes 2014-12-22 17:56:30 -05:00
Nikolai Mushegian
68d3ff57bf add missing includes for packing variant 2014-12-10 11:21:44 -05:00
Eric Frias
d1f51dd643 Fix the currently-unused postfix signed_int::operator++ to do what you'd expect 2014-10-27 16:37:20 -04:00
Eric Frias
2f066e4adf Fix a crash in fc::process when not capturing all three stdin/out/err
Quiet a few 64-bit warnings.
2014-09-18 11:17:41 -04:00
Eric Frias
751777e754 Fix more locations where we were making boost::asio calls with buffers declared on the stack which could cause problems when the calling tasks were canceled. 2014-09-11 16:30:03 -04:00
Eric Frias
aa6882b3b7 Allow us to safely cancel tasks that are executing asynchronous network reads
and writes.  This was previously unsafe because we almost always passed read/write
buffers to boost that were on the stack. Canceling the task deleted the stack and
therefore the buffer, but couldn't reliably prevent boost from writing to the buffer
if data came in after the cancel.  This commit adds variants of the read and write
functions that take a shared_ptr<char> instead of a raw char* as the buffer, and
these variants will ensure the shared_ptr will outlive the boost::asio read/write.
2014-09-09 11:10:37 -04:00
Eric Frias
c925ceb232 Add a comparison operators for signed_int, correct the ones for unsigned_int 2014-06-26 15:51:35 -04:00