Commit graph

1085 commits

Author SHA1 Message Date
Eric Frias
2decfbb4b4 Merge branch 'master' of git.syncad.com:/fc 2015-08-15 19:14:25 -04:00
Eric Frias
5bd281fcce Update secp submodule 2015-08-15 19:11:13 -04:00
Eric Frias
5234ee532a Update secp submodule, it looks like the upstream rebased and our
old commit hash doesn't exit any longer
2015-08-15 18:50:24 -04:00
Eric Frias
ebf42fbbd4 Allow serializing std::maps that use non-standard comparison functions 2015-08-10 18:21:56 -04:00
Eric Frias
a93e3f483b Rework http client and server code to use a form of socket read/write
calls which can be canceled without trashing the stack.  Also minor
changes to the code for parsing http headers to avoid buffer
overflows.
2015-08-04 10:41:04 -04:00
Eric Frias
87a2513981 Remove some unused asio completion functions 2015-08-04 10:39:04 -04:00
Eric Frias
556f45fcbf Add missing ddump() macro 2015-08-04 10:24:31 -04:00
Eric Frias
55111ebbb5 Merge branch 'github_master' 2015-07-14 13:32:58 -04:00
Eric Frias
2593760687 Add overloads for comparing safe<T> with T 2015-07-14 10:45:36 -04:00
theoreticalbts
5f43c06bae uint128: Implement popcount() 2015-07-13 17:01:11 -04:00
Vikram Rajkumar
0391665471 Fix and cleanup safe spec; cryptonomex/graphene#10 2015-07-13 14:28:44 -04:00
Eric Frias
1e6176911a Fix bugs in http request when using chunked content encoding.
Add missing support for parsing/reconstructing URLs with query strings
to fc::url.
Add md5 hash algorithm.
2015-07-10 10:07:14 -04:00
Daniel Larimer
2ef7583f90 adding missing smart_ref files 2015-07-09 13:39:55 -04:00
Daniel Larimer
935e90c1ec fix bug with optional that resulted in 8x more memory than necessary being reserved 2015-07-09 13:39:20 -04:00
Daniel Larimer
8d13f292b8 Merge branch 'master' of https://github.com/cryptonomex/fc 2015-07-08 16:43:29 -04:00
Daniel Larimer
63677c47d9 helper for smart_ref 2015-07-08 16:43:25 -04:00
theoreticalbts
787e4abf3f exception.hpp: Allow enable/disable assert trip notifications with only one dirty file 2015-07-07 21:50:26 -04:00
theoreticalbts
46d85a3462 exception.hpp: Add assert_trip debug logging for exceptions 2015-07-07 21:49:42 -04:00
Daniel Larimer
e2e0f38dc6 Merge branch 'master' of https://github.com/cryptonomex/fc 2015-07-07 18:30:49 -04:00
Daniel Larimer
7c3260e965 Made static variants compareable based upon type. 2015-07-07 18:30:18 -04:00
Vikram Rajkumar
1ce9f4c37e Merge pull request #45 from maqifrnswa/master
Fix cryptonomex/graphene#107: char as signed for EOF case
2015-07-06 12:12:07 -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
theoreticalbts
443544be4f bitutil.h: Implement endian reversal inline functions 2015-07-02 15:24:02 -04:00
Eric Frias
d462be0e92 Quiet harmless compiler warnings 2015-07-01 11:21:15 -04:00
theoreticalbts
7bd47af88e rpc: Move many method implementations from headers to cpp files 2015-06-30 15:54:29 -04:00
theoreticalbts
f461dee432 http_api: Implement http_api_connection class to serve RPC over HTTP 2015-06-30 03:00:43 -04:00
Eric Frias
3dd848d7eb Fix HTTP request to work with servers that don't specify a
content-length header (either chunked encoding or http 1.0-style.
Allow sending a different content-type in request header other
than app/json.
2015-06-29 11:34:27 -04:00
Vikram Rajkumar
fe7eed6beb Fix building with Ninja 2015-06-26 11:14:02 -04:00
Scott Howard
1c43f79b16
simplify secp256k1 install and portabillity 2015-06-25 19:34:25 -04:00
Eric Frias
593a32d12a Don't install secp256k1 when building in-source.
The install will refuse to overwrite its own files
and fail, terminating the build.
2015-06-25 14:57:19 -04:00
Eric Frias
9117b724c2 Prevent secp256k1 from autodetecting gmp
If we do allow gmp, we will need to change our CMakeLists.txt files to
detect whether secp256k1's configure detected gmp, and if so, link
gmp into all programs that use fc.  For now I just disabled it entirely,
I don't know whether there's any noticable performance benefit to using
it.
2015-06-25 14:28:01 -04:00
Eric Frias
62f980867b Merge branch 'secp_build_win32' 2015-06-25 13:58:01 -04:00
Eric Frias
c3e50476af Don't use the autoconf build system for secp256k1 on Windows 2015-06-25 13:57:10 -04:00
Eric Frias
707b9497c6 Increase space reserved for stringstream fwd, cryptonomex/graphene#86 2015-06-25 09:27:24 -04:00
Scott Howard
d2b9e6017f
add include directories for secp256k1 2015-06-24 13:26:06 -04:00
Scott Howard
f6bd3274c4
build secp256k1 seperately 2015-06-24 02:08:17 -04:00
Vikram Rajkumar
701b9ac00c Remove problematic easylzma 2015-06-23 16:19:36 -04:00
Vikram Rajkumar
943fe5150e Remove unused salsa20
See https://github.com/bitshares/bitshares/issues/1089
2015-06-23 15:43:36 -04:00
Vikram Rajkumar
43f3aff577 Remove unused scrypt-jane
See https://github.com/bitshares/bitshares/issues/1016
2015-06-23 15:34:28 -04:00
Vikram Rajkumar
a8b85f6dcc Merge pull request #42 from pmconrad/getline_eof
Dont ignore EOF because users cannot distinguish EOF and empty input …
2015-06-21 22:15:05 -04:00
Peter Conrad
8ff0f3e764 Dont ignore EOF because users cannot distinguish EOF and empty input line 2015-06-21 15:33:50 +02:00
Eric Frias
dd1c77b327 Fix websocketpp build error on win32 2015-06-17 11:07:09 -04:00
Eric Frias
c425a019cd Merge branch 'github_master' 2015-06-15 16:04:49 -04:00
Vikram Rajkumar
c09035dba0 Merge pull request #41 from emfrias/json_parser_mods
Json parser mods
2015-06-15 15:30:35 -04:00
Eric Frias
10e747409c Fix FC win32 compiling (secp256k1 related errors) 2015-06-15 14:38:33 -04:00
Vikram Rajkumar
f7cf9abe55 Add secp256k1-zkp submodule 2015-06-13 15:28:40 -04:00
Vikram Rajkumar
488e1037d8 Update websocketpp submodule 2015-06-13 13:11:13 -04:00
Eric Frias
8161f3230c Downgrade some websocket debugging wlog messages to ilogs 2015-06-12 14:08:16 -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