Commit Graph

64 Commits

Author SHA1 Message Date
chriseth
bda410bb07 Helpers. 2017-08-14 12:44:25 +02:00
Alex Beregszaszi
d5188fb671 Introduce IndentedWriter 2017-08-10 22:47:09 +01:00
Alex Beregszaszi
f3e591eedd Add template for merging sets 2017-07-19 14:56:40 +01:00
chriseth
09e821619e Refactor exceptions and provide comment function. 2017-07-13 11:34:03 +02:00
Alex Beregszaszi
b615b01449 Move UndefMacros from libdevcore to libsolidity/parsing 2017-07-02 00:09:46 +01:00
Alex Beregszaszi
aea5f90ad3 Rewrite validateUTF8 using if/else 2017-06-26 12:59:17 +01:00
Alex Beregszaszi
c45dbab00c Rewrite validateUTF8 to use char 2017-06-26 12:59:14 +01:00
Alex Beregszaszi
6488f7e079 Validate first byte properly for UTF8 2017-06-26 12:58:22 +01:00
Alex Beregszaszi
569e0c53f2 Implement strict UTF-8 validation 2017-06-26 12:58:21 +01:00
chriseth
cb7021881a Whiskers template system 2017-06-22 16:56:57 +02:00
Alex Beregszaszi
09c548ec69 Remove unused errinfo types 2017-06-22 11:25:07 +01:00
Alex Beregszaszi
a3bd670154 Remove obscure DEV_IGNORE_EXCEPTIONS macro 2017-06-22 11:25:06 +01:00
Alex Beregszaszi
becea47ac3 Use assertThrow where possible 2017-06-22 11:25:06 +01:00
chriseth
57f79ebfa6 Remove debugbreak. 2017-06-20 19:21:29 +02:00
Alex Beregszaszi
d7e63f23de Fix UTF-8 validation for high codepoints (>10000) 2017-06-16 16:41:29 +02:00
ethers
9e62e9b1b7 Comment update SHA3-256 to Keccak-256 (title) 2017-05-12 22:30:14 -04:00
ethers
cd1d112816 Comment update SHA3-256 to Keccak-256
Could have been part of aefb6e5fcf
2017-05-08 21:30:16 -07:00
chriseth
7a24a5764e Add line info to serious exceptions. 2017-02-24 19:32:41 +01:00
Alex Beregszaszi
902f69640b Replace cpp-ethereum with solidity in the license headers 2017-02-02 10:06:28 +00:00
chriseth
3949624a61 Also check library addresses. 2017-01-24 23:37:48 +01:00
chriseth
a3b01eca27 Do not evaluate strings if assertion succeeds. 2017-01-12 17:52:26 +01:00
Federico Bond
b6fcc5ffb0 Fix typos in comments 2016-12-11 12:11:04 -03:00
chriseth
e0d4a3d518 Fix emscripten build. 2016-12-01 16:03:59 +01:00
chriseth
5789eaa78d Metadata stamp. 2016-12-01 16:03:59 +01:00
Alex Beregszaszi
a9e92cb686 Rename dev::validate to dev::validateUTF8 2016-11-28 22:28:21 +00:00
Alex Beregszaszi
c01426efec Make position optional in dev::validate 2016-11-28 22:27:55 +00:00
Yoichi Hirai
e136ec8704
ast: string literals that are not valid UTF are not convertible to strings 2016-11-25 13:36:06 +01:00
VoR0220
9869f1a78b
convert individual numbers to hex
Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-21 13:53:53 -06:00
VoR0220
9dda8f7d84
add ostream to bytes for ease of development
Signed-off-by: VoR0220 <rj@erisindustries.com>

fix up

Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-17 21:35:54 -06:00
chriseth
c811691861 Merge pull request #1379 from ethereum/swarmHashCorrection
Correct implementation of swarm hash.
2016-11-16 12:25:20 +01:00
Alex Beregszaszi
81c50143f2 Move JSON helpers to libdevcore/json 2016-11-15 17:38:18 +00:00
chriseth
518fe2aab7 Correct implementation of swarm hash. 2016-11-15 14:55:51 +01:00
chriseth
2ecf348a9d Move swarmHash to its own file. 2016-11-14 23:25:12 +01:00
chriseth
8944b092f8 Multi-level swarm hash. 2016-11-14 23:14:10 +01:00
chriseth
2f83a45577 Swarm hash. 2016-11-14 23:14:10 +01:00
chriseth
d22ed31e4b Windows build fix.
Thanks for the find, @slothbag
2016-11-09 15:04:16 +01:00
chriseth
7a30e8cf6e Merge pull request #1252 from ethereum/jsoncpp-from-source
Build jsoncpp from source using jsoncpp.cmake script
2016-11-08 13:47:52 +01:00
Paweł Bylica
598154ed17
Drop CryptoPP leftovers
Especially, do not compile CryptoPP for Emscripten.
2016-11-08 01:16:31 +01:00
Thanabodee Charoenpiriyakij
15d0ed6442 Remove non-solidity exceptions
Most exceptions and some errorinfos in 'libdevcore' are not be used.

Close #781
2016-10-23 10:02:39 +07:00
Thanabodee Charoenpiriyakij
c86d58b2e9 Removed 'vector_ref::cleanse'
Close #785
2016-10-16 01:42:02 +07:00
chriseth
cc2a6867a7 Merge pull request #1231 from ethereum/debugbreak
Properly define trap_instruction
2016-10-15 18:09:24 +02:00
chriseth
e0bf199b91 Merge pull request #1232 from ethereum/devcore-unused-includes
Remove unused libdevcore includes
2016-10-15 18:07:36 +02:00
Alex Beregszaszi
9211d49ed3 Remove unused picosha2 2016-10-15 16:17:26 +01:00
Alex Beregszaszi
85fb4f8ea9 Don't include random in CommonData 2016-10-15 16:17:14 +01:00
Alex Beregszaszi
a7edf8a5b3 Remove unused SHA2 include in SHA3 2016-10-15 16:12:14 +01:00
Alex Beregszaszi
bc537c7581 Properly define trap_instruction 2016-10-15 15:46:50 +01:00
Thanabodee Charoenpiriyakij
941a0164f9 Removed 'secure_vector'
Close #780
2016-10-15 20:46:14 +07:00
Alex Beregszaszi
f77a4585ec sha3: actually support both FIPS SHA3 and Keccak 2016-10-06 14:53:40 +01:00
Alex Beregszaszi
53cbece3a6 sha3: remove unused counter 2016-10-06 14:53:40 +01:00
Alex Beregszaszi
aefb6e5fcf Rename dev::sha3 to dev::keccak256 2016-10-06 14:53:40 +01:00