Commit graph

1342 commits

Author SHA1 Message Date
Abit
efa4a504de
Merge pull request #22 from abitmore/fix-class-serialization
Fix class serialization
2018-03-18 14:48:20 +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
abitmore
769dd980b7 Add tests for nested class object serialization 2018-03-14 06:15:01 -04:00
Peter Conrad
32869351c9
Merge pull request #11 from openledger/sanitize
sanitizer issues
2018-03-13 21:45:53 +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
Peter Conrad
8f08591e46
Merge pull request #20 from abitmore/fix-serialization
Fix pack/unpack serialization
2018-03-13 21:13:45 +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
abitmore
782e7d687b Add test case for nested-object serialization 2018-03-11 17:21:44 -04:00
Peter Conrad
527daab6b7 Moved format_string from variant.cpp to string.cpp (it is declared in string.hpp), added handling of recursion errors 2018-03-09 18:52:01 +01:00
Peter Conrad
d24bee8bf4 Added test case for exception in exception handling 2018-03-09 18:51:48 +01:00
Peter Conrad
1331485c08 Stringify numbers >MAXINT or <MININT 2018-03-08 22:33:54 +01:00
Peter Conrad
f9802f6860 Added max_depth parameter to all to_/from_ methods 2018-03-08 22:33:41 +01:00
Peter Conrad
1412df18d1 Make broken_nul_parser usable 2018-03-08 22:33:27 +01:00
Abit
628548ca02
Merge pull request #17 from jmjatlanta/Issue_673
correctly handle list of methods
2018-03-08 19:39:11 +01:00
John Jones
9ee2bcf0a5 avoid double free 2018-03-08 11:05:34 -05:00
John Jones
2017ed911a fix memory leak 2018-03-08 10:46:23 -05:00
John Jones
43b81cb69b assuring that malloc gets freed 2018-03-08 07:40:20 -05:00
Peter Conrad
66ed9fc3dc Minor fixes 2018-03-07 22:42:43 +01:00
Abit
5f6e4d8523
Merge pull request #16 from bitshares/editline-build
Build editline
2018-03-07 20:51:30 +01:00
John Jones
5b5190a55c changed const to const ref 2018-03-07 09:44:35 -05: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
a7e0c887db Added test case for recursion depth 240 2018-03-07 15:44:01 +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
b4f3947cb1 Include variants_from_string in parser test 2018-03-07 15:43:25 +01:00
Peter Conrad
1ae3cc2fad Make unused parsers compile-time optional 2018-03-07 15:43:14 +01:00
Peter Conrad
cb9c61fa2d Avoid legacy_generator 2018-03-07 15:43:05 +01:00
Peter Conrad
43fabf618f Code deduplication 2018-03-07 15:42:46 +01:00
Peter Conrad
e37d9a5051 Code cleanups and simplifications 2018-03-07 15:42:35 +01:00
Peter Conrad
8c09ff09fc Added json write/validate/read test 2018-03-07 15:42:19 +01:00
John Jones
b3053d0421 adjust spacing, add const, remove unnecessary variable, bad malloc check 2018-03-07 02:55:59 -05:00
John Jones
c225488cd4 replace tabs with spaces 2018-03-06 17:17:09 -05:00
Abit
b8e5640238
Merge pull request #19 from bitshares/abitmore-patch-1
Correctly set default C++ standard to c++11
2018-03-06 20:39:42 +01:00
Abit
d810971c83
Merge pull request #18 from bitshares/fork-websocketpp
Update websocketpp submodule to a forked and patched version
2018-03-06 20:38:56 +01:00
Abit
ebdb5eacea
Correctly set default C++ standard to c++11 2018-03-06 20:37:23 +01:00
John Jones
1fe7d4be46 Trying to get the #$%@$ tabs to disappear 2018-03-06 11:44:00 -05:00
abitmore
b5fec06152 Update websocketpp to a forked and patched version 2018-03-06 16:28:20 +00:00
abitmore
0242a05111 Remove FindEditline.cmake 2018-03-06 16:16:52 +00:00
John Jones
f5d68e9336 Adjusting for formatting guidelines 2018-03-06 09:25:38 -05:00
abitmore
d33092f86c More changes on cmake file for editline 2018-03-06 13:47:45 +00:00
Peter Conrad
4d782e894f Deduplicate some code 2018-03-06 14:46:34 +01:00
Peter Conrad
52f6810735 Fixed from_file 2018-03-06 14:46:20 +01:00
Peter Conrad
72e96e3c1d Added first json test case 2018-03-06 14:43:35 +01:00
Peter Conrad
0c75709488 Added unit tests for stringstream, [io]fstream and buffered_[io]stream 2018-03-06 14:43:17 +01:00
abitmore
4258f4f98b Update cmake file for editline 2018-03-06 13:41:40 +00:00
John Jones
5f3ace5ca3 Added space at end of completed command 2018-03-06 08:06:18 -05:00