Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add SMTChecker tests for standard JSON | Leonardo Alt | 2018-11-23 | 2 | -0/+15 |
| | |||||
* | Merge pull request #5265 from ethereum/cleanupsha3 | chriseth | 2018-11-09 | 4 | -85/+23 |
|\ | | | | | Simplify sha3. | ||||
| * | Renamed SHA3.{h,cpp} files. | chriseth | 2018-10-18 | 4 | -3/+4 |
| | | |||||
| * | Simplify sha3. | chriseth | 2018-10-18 | 2 | -82/+19 |
| | | |||||
* | | Eliminate `byte`-typedef and use `uint8_t` in all their places instead. | Christian Parpart | 2018-11-07 | 4 | -17/+15 |
| | | | | | | | | | | | | | | | | | | | | | | This change is made to (easily) be forward compatible with future C++ standards, in order to allow compiling the code with newer standards at some point in the future. * Removed the `using byte = uint8_t;` line from Common.h * Mechanically change all uses of `byte` to `uint8_t`. Tested with GCC 7.3 in C++11/14/17 modes :-) | ||||
* | | Some well-formedness checks for the Yul AST. | chriseth | 2018-10-22 | 2 | -0/+26 |
| | | |||||
* | | Remove mostly unused writeFile implementation. | chriseth | 2018-10-18 | 2 | -47/+0 |
|/ | |||||
* | Yul: Introduces a block flattening pass + tests | Christian Parpart | 2018-10-16 | 1 | -2/+3 |
| | |||||
* | Fix checksum check. | chriseth | 2018-10-12 | 1 | -5/+5 |
| | |||||
* | Fix directory creation. | chriseth | 2018-10-12 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5132 from ethereum/genericVisitor | chriseth | 2018-10-10 | 1 | -0/+128 |
|\ | | | | | Generic visitor. | ||||
| * | Generic visitor. | chriseth | 2018-10-09 | 1 | -0/+128 |
| | | |||||
* | | Merge pull request #5180 from ethereum/cpp-cleanup | chriseth | 2018-10-10 | 1 | -1/+0 |
|\ \ | | | | | | | Some C++ cleanup | ||||
| * | | Do not require ctype/stdio if not needed | Alex Beregszaszi | 2018-10-10 | 1 | -1/+0 |
| |/ | |||||
* / | Expression breaker. | chriseth | 2018-10-09 | 1 | -0/+33 |
|/ | |||||
* | fix format issue for source files | liangdzou | 2018-09-20 | 1 | -58/+60 |
| | |||||
* | Remove trailing whitespace for all files in the repository. | Daniel Kirchner | 2018-09-04 | 2 | -35/+35 |
| | |||||
* | Fixes #4718: High CPU usage when using large variable names | bakaoh | 2018-08-15 | 2 | -2/+6 |
| | |||||
* | Make joinHumanReadable work for input iterators. | chriseth | 2018-08-15 | 1 | -16/+12 |
| | |||||
* | Explicitly use std::next to avoid boost version. | chriseth | 2018-08-09 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4753 from mattaereal/boost-to-string-patch | Alex Beregszaszi | 2018-08-08 | 1 | -3/+1 |
|\ | | | | | Replace boost:lexical_cast<std::string> for std::to_string. | ||||
| * | Removing std:: from std::to_string and include for boost/lexical_cast | Matías Aereal Aeón | 2018-08-08 | 1 | -3/+1 |
| | | |||||
| * | Replace boost:lexical_cast<std::string> for std::to_string. | Matías Aereal Aeón | 2018-08-08 | 1 | -1/+1 |
| | | |||||
* | | Move absolutePath/sanitizePath helpers from CompilerStack to libdevcore | Alex Beregszaszi | 2018-08-06 | 2 | -0/+26 |
| | | |||||
* | | Added guards for unknown pragmas | Augusto F. Hack | 2018-08-06 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed push/pop if there was no change to the warnings *in the same file* for a given compiler. This assumes the imported boost headers use a warning stack themselves. The pragmas don't seem to be required anymore, but were not removed to mantain compatibility with older versions of the boost library. Compiled with - clang version 6.0.1 (tags/RELEASE_601/final) - gcc (GCC) 8.1.1 20180531 against: - libboost 1.67.0-5 | ||||
* | | added helper function that joins vectors of strings, refactored suggestions ↵ | Evgeniy Filatov | 2018-08-03 | 2 | -10/+43 |
|/ | | | | formattingi function to use it | ||||
* | Guard CycleDetector against recursion exhaustion. | Christian Parpart | 2018-08-01 | 1 | -3/+5 |
| | | | | fixes #3935. | ||||
* | CMake: Update jsoncpp to v1.8.4 | Alexander Arlt | 2018-04-23 | 1 | -2/+2 |
| | |||||
* | Add static_assert for the correct jsoncpp version | Alex Beregszaszi | 2018-04-17 | 1 | -0/+5 |
| | |||||
* | CMake: Clean up devcore dependencies | Paweł Bylica | 2018-04-16 | 1 | -4/+2 |
| | |||||
* | Prevent information about file existence outside the allowed paths to leak ↵ | Daniel Kirchner | 2018-04-12 | 2 | -0/+25 |
| | | | | by mimicing boost::filesystem::weakly_canonical. | ||||
* | Generalize cycle detection. | chriseth | 2018-04-03 | 1 | -0/+76 |
| | |||||
* | Add interactive test tool isoltest. | Daniel Kirchner | 2018-03-15 | 2 | -0/+52 |
| | |||||
* | Add new JSON API for better abstraction and for supporting strict JSON parsing | Alexander Arlt | 2018-02-21 | 3 | -13/+131 |
| | |||||
* | Use one-dimensional vector. | chriseth | 2018-02-13 | 1 | -7/+8 |
| | |||||
* | Suggestion to improve readability. | chriseth | 2018-02-13 | 1 | -14/+21 |
| | |||||
* | Minor changes. | chriseth | 2018-02-13 | 1 | -4/+7 |
| | |||||
* | Restructure code for alternative identifier suggestions | Balajiganapathi S | 2018-02-13 | 2 | -31/+48 |
| | |||||
* | Move string distance function to utils and format error message | Balajiganapathi S | 2018-02-13 | 2 | -0/+112 |
| | |||||
* | Generic pretty-printed numbers.. | chriseth | 2018-02-10 | 1 | -0/+8 |
| | |||||
* | Move-append for vector. | chriseth | 2017-12-11 | 1 | -0/+17 |
| | |||||
* | Ensure that non-hex characters are caught in address checksumming | Alex Beregszaszi | 2017-11-17 | 2 | -2/+7 |
| | |||||
* | Improves address literal checksum error message | wadeAlexC | 2017-11-17 | 2 | -11/+18 |
| | |||||
* | Add readStandardInput helper | Alex Beregszaszi | 2017-10-18 | 2 | -0/+17 |
| | |||||
* | Rename contentsString to readFileAsString | Alex Beregszaszi | 2017-10-18 | 2 | -4/+4 |
| | |||||
* | Refactor Exception::what() | Paweł Bylica | 2017-10-02 | 1 | -5/+7 |
| | |||||
* | Always return a valid pointer in Exception::what() | Alex Beregszaszi | 2017-10-02 | 1 | -1/+3 |
| | |||||
* | Provide template for whiskers error. | chriseth | 2017-09-22 | 1 | -1/+7 |
| | |||||
* | Limit of scope of variables in SHA3 | Alex Beregszaszi | 2017-09-20 | 1 | -3/+2 |
| | |||||
* | Ensure parameter names match between headers and implementation | Alex Beregszaszi | 2017-09-20 | 1 | -2/+2 |
| | |||||
* | Remove escape function. | chriseth | 2017-08-29 | 1 | -28/+0 |
| | |||||
* | Move all file specific globals to anonymous namespace | Alex Beregszaszi | 2017-08-29 | 2 | -0/+9 |
| | |||||
* | Cleanup of vector_ref.h | chriseth | 2017-08-26 | 1 | -31/+8 |
| | |||||
* | Cleanup of FixedHash.h | chriseth | 2017-08-25 | 1 | -138/+4 |
| | |||||
* | Cleanup of Common.h | chriseth | 2017-08-25 | 3 | -55/+16 |
| | |||||
* | Merge pull request #2807 from ethereum/removeABIh | chriseth | 2017-08-25 | 1 | -100/+0 |
|\ | | | | | Cleanup: Remove ABI.h | ||||
| * | Cleanup: Remove ABI.h | chriseth | 2017-08-25 | 1 | -100/+0 |
| | | |||||
* | | Cleanup of SHA3.h | chriseth | 2017-08-25 | 1 | -7/+2 |
|/ | |||||
* | Merge pull request #2538 from ethereum/z3Conditions | Alex Beregszaszi | 2017-08-24 | 1 | -0/+11 |
|\ | | | | | z3 conditions | ||||
| * | Format numbers more nicely. | chriseth | 2017-08-23 | 1 | -0/+11 |
| | | |||||
* | | CMake: Add back compatibility with CMake 3.0 | Paweł Bylica | 2017-08-23 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2757 from ethereum/cmake | Alex Beregszaszi | 2017-08-23 | 1 | -14/+8 |
|\ | | | | | Static linking | ||||
| * | CMake: Cleanup "local" include path | Paweł Bylica | 2017-08-23 | 1 | -1/+1 |
| | | |||||
| * | CMake: Fix linking with pthread | Paweł Bylica | 2017-08-22 | 1 | -1/+1 |
| | | |||||
| * | Boost: Use static libs | Paweł Bylica | 2017-08-18 | 1 | -1/+1 |
| | | |||||
| * | CMake: Simplify libdevcore config | Paweł Bylica | 2017-08-17 | 1 | -14/+8 |
| | | |||||
* | | Switch stream properties back after temporary modification | Alex Beregszaszi | 2017-08-22 | 1 | -0/+2 |
| | | |||||
* | | Mark appropriate constructors explicit | Alex Beregszaszi | 2017-08-22 | 2 | -2/+2 |
| | | |||||
* | | Make vector+vector template more readable | Alex Beregszaszi | 2017-08-22 | 1 | -1/+2 |
| | | |||||
* | | Remove some unused includes | Alex Beregszaszi | 2017-08-21 | 1 | -1/+0 |
|/ | |||||
* | Helpers. | chriseth | 2017-08-14 | 2 | -1/+8 |
| | |||||
* | Introduce IndentedWriter | Alex Beregszaszi | 2017-08-11 | 2 | -0/+132 |
| | |||||
* | Add template for merging sets | Alex Beregszaszi | 2017-07-19 | 1 | -0/+6 |
| | |||||
* | Refactor exceptions and provide comment function. | chriseth | 2017-07-13 | 3 | -14/+58 |
| | |||||
* | Move UndefMacros from libdevcore to libsolidity/parsing | Alex Beregszaszi | 2017-07-02 | 1 | -46/+0 |
| | |||||
* | Rewrite validateUTF8 using if/else | Alex Beregszaszi | 2017-06-26 | 1 | -39/+38 |
| | |||||
* | Rewrite validateUTF8 to use char | Alex Beregszaszi | 2017-06-26 | 1 | -7/+11 |
| | |||||
* | Validate first byte properly for UTF8 | Alex Beregszaszi | 2017-06-26 | 1 | -5/+13 |
| | |||||
* | Implement strict UTF-8 validation | Alex Beregszaszi | 2017-06-26 | 1 | -1/+52 |
| | |||||
* | Whiskers template system | chriseth | 2017-06-22 | 2 | -0/+214 |
| | |||||
* | Remove unused errinfo types | Alex Beregszaszi | 2017-06-22 | 2 | -6/+0 |
| | |||||
* | Remove obscure DEV_IGNORE_EXCEPTIONS macro | Alex Beregszaszi | 2017-06-22 | 2 | -4/+14 |
| | |||||
* | Use assertThrow where possible | Alex Beregszaszi | 2017-06-22 | 1 | -4/+3 |
| | |||||
* | Remove debugbreak. | chriseth | 2017-06-21 | 2 | -160/+0 |
| | |||||
* | Fix UTF-8 validation for high codepoints (>10000) | Alex Beregszaszi | 2017-06-16 | 1 | -1/+1 |
| | |||||
* | Comment update SHA3-256 to Keccak-256 (title) | ethers | 2017-05-13 | 1 | -1/+1 |
| | |||||
* | Comment update SHA3-256 to Keccak-256 | ethers | 2017-05-09 | 1 | -7/+7 |
| | | | Could have been part of https://github.com/ethereum/solidity/commit/aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9 | ||||
* | Add line info to serious exceptions. | chriseth | 2017-02-25 | 1 | -0/+3 |
| | |||||
* | Replace cpp-ethereum with solidity in the license headers | Alex Beregszaszi | 2017-02-02 | 17 | -68/+68 |
| | |||||
* | Also check library addresses. | chriseth | 2017-01-25 | 2 | -2/+43 |
| | |||||
* | Do not evaluate strings if assertion succeeds. | chriseth | 2017-01-13 | 1 | -20/+12 |
| | |||||
* | Fix typos in comments | Federico Bond | 2016-12-11 | 1 | -2/+2 |
| | |||||
* | Fix emscripten build. | chriseth | 2016-12-01 | 1 | -2/+2 |
| | |||||
* | Metadata stamp. | chriseth | 2016-12-01 | 2 | -7/+10 |
| | |||||
* | Rename dev::validate to dev::validateUTF8 | Alex Beregszaszi | 2016-11-29 | 2 | -4/+4 |
| | |||||
* | Make position optional in dev::validate | Alex Beregszaszi | 2016-11-29 | 1 | -0/+6 |
| | |||||
* | ast: string literals that are not valid UTF are not convertible to strings | Yoichi Hirai | 2016-11-25 | 1 | -1/+1 |
| | |||||
* | convert individual numbers to hex | VoR0220 | 2016-11-22 | 1 | -0/+1 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | add ostream to bytes for ease of development | VoR0220 | 2016-11-18 | 1 | -0/+10 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> fix up Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Merge pull request #1379 from ethereum/swarmHashCorrection | chriseth | 2016-11-16 | 1 | -22/+16 |
|\ | | | | | Correct implementation of swarm hash. | ||||
| * | Correct implementation of swarm hash. | chriseth | 2016-11-15 | 1 | -22/+16 |
| | | |||||
* | | Move JSON helpers to libdevcore/json | Alex Beregszaszi | 2016-11-16 | 1 | -0/+44 |
|/ | |||||
* | Move swarmHash to its own file. | chriseth | 2016-11-15 | 4 | -44/+100 |
| | |||||
* | Multi-level swarm hash. | chriseth | 2016-11-15 | 2 | -8/+44 |
| | |||||
* | Swarm hash. | chriseth | 2016-11-15 | 1 | -0/+8 |
| | |||||
* | Windows build fix. | chriseth | 2016-11-09 | 1 | -3/+0 |
| | | | Thanks for the find, @slothbag | ||||
* | Merge pull request #1252 from ethereum/jsoncpp-from-source | chriseth | 2016-11-08 | 1 | -1/+0 |
|\ | | | | | Build jsoncpp from source using jsoncpp.cmake script | ||||
| * | Drop CryptoPP leftovers | Paweł Bylica | 2016-11-08 | 1 | -1/+0 |
| | | | | | | | | Especially, do not compile CryptoPP for Emscripten. | ||||
* | | Remove non-solidity exceptions | Thanabodee Charoenpiriyakij | 2016-10-23 | 1 | -26/+0 |
|/ | | | | | | Most exceptions and some errorinfos in 'libdevcore' are not be used. Close #781 | ||||
* | Removed 'vector_ref::cleanse' | Thanabodee Charoenpiriyakij | 2016-10-16 | 1 | -20/+0 |
| | | | | Close #785 | ||||
* | Merge pull request #1231 from ethereum/debugbreak | chriseth | 2016-10-16 | 1 | -4/+7 |
|\ | | | | | Properly define trap_instruction | ||||
| * | Properly define trap_instruction | Alex Beregszaszi | 2016-10-15 | 1 | -4/+7 |
| | | |||||
* | | Merge pull request #1232 from ethereum/devcore-unused-includes | chriseth | 2016-10-16 | 4 | -369/+1 |
|\ \ | | | | | | | Remove unused libdevcore includes | ||||
| * | | Remove unused picosha2 | Alex Beregszaszi | 2016-10-15 | 1 | -360/+0 |
| | | | |||||
| * | | Don't include random in CommonData | Alex Beregszaszi | 2016-10-15 | 1 | -7/+0 |
| | | | |||||
| * | | Remove unused SHA2 include in SHA3 | Alex Beregszaszi | 2016-10-15 | 2 | -2/+1 |
| |/ | |||||
* / | Removed 'secure_vector' | Thanabodee Charoenpiriyakij | 2016-10-15 | 1 | -41/+0 |
|/ | | | | Close #780 | ||||
* | sha3: actually support both FIPS SHA3 and Keccak | Alex Beregszaszi | 2016-10-06 | 1 | -1/+22 |
| | |||||
* | sha3: remove unused counter | Alex Beregszaszi | 2016-10-06 | 2 | -5/+0 |
| | |||||
* | Rename dev::sha3 to dev::keccak256 | Alex Beregszaszi | 2016-10-06 | 3 | -12/+12 |
| | |||||
* | Explicitly convert the assert condition using bool() | Yoichi Hirai | 2016-09-10 | 1 | -13/+1 |
| | | | | This allows a shared pointer as a condition because bool(std::shared_ptr<T>) is defined. | ||||
* | Fix a typo and whitespaces | Yoichi Hirai | 2016-09-07 | 2 | -2/+2 |
| | |||||
* | remove sha256 and rmd160 hash | Dimitry | 2016-08-24 | 2 | -478/+0 |
| | |||||
* | Remove dev::utf8 namespace | Alex Beregszaszi | 2016-08-09 | 2 | -10/+0 |
| | |||||
* | Use size_t in dev::utf8::validate() | Alex Beregszaszi | 2016-08-09 | 2 | -6/+6 |
| | |||||
* | Use consts in dev::utf8::validate() | Alex Beregszaszi | 2016-08-09 | 2 | -7/+7 |
| | |||||
* | Include UTF8 helpers in libdevcore | Alex Beregszaszi | 2016-08-09 | 2 | -0/+126 |
| | |||||
* | Merge pull request #834 from chriseth/devcorecleanup | chriseth | 2016-08-08 | 7 | -286/+1 |
|\ | | | | | Some cleanup regarding libdevcore. Also rename to avoid conflicts. | ||||
| * | Some cleanup regarding libdevcore. Also rename to avoid conflicts. | chriseth | 2016-08-06 | 7 | -287/+2 |
| | | |||||
* | | Merge pull request #800 from winsvega/fixbuild | chriseth | 2016-08-08 | 1 | -1/+1 |
|\ \ | | | | | | | fix build on windows | ||||
| * | | fix build on windows | Dmitry K | 2016-08-03 | 1 | -1/+1 |
| | | | |||||
* | | | Do not install headers. | chriseth | 2016-08-05 | 1 | -2/+0 |
| |/ |/| | |||||
* | | Add boost workaround for specific version. | chriseth | 2016-08-04 | 1 | -0/+520 |
|/ | |||||
* | Make the Solidity repository standalone. | Bob Summerwill | 2016-08-01 | 22 | -0/+2939 |
This commit is the culmination of several months of work to decouple Solidity from the webthree-umbrella so that it can be developed in parallel with cpp-ethereum (the Ethereum C++ runtime) and so that even for the Solidity unit-tests there is no hard-dependency onto the C++ runtime. The Tests-over-IPC refactoring was a major step in the same process which was already committed. This commit contains the following changes: - A subset of the CMake functionality in webthree-helpers was extracted and tailored for Solidity into ./cmake. Further cleanup is certainly possible. - A subset of the libdevcore functionality in libweb3core was extracted and tailored for Solidity into ./libdevcore. Further cleanup is certainly possible - The gas price constants in EVMSchedule were orphaned into libevmasm. - Some other refactorings and cleanups were made to sever unnecessary EVM dependencies in the Solidity unit-tests. - TravisCI and Appveyor support was added, covering builds and running of the unit-tests (Linux and macOS only for now) - A bug-fix was made to get the Tests-over-IPC running on macOS. - There are still reliability issues in the unit-tests, which need immediate attention. The Travis build has been flipped to run the unit-tests 5 times, to try to flush these out. - The Emscripten automation which was previously in webthree-umbrella was merged into the TravisCI automation here. - The development ZIP deployment step has been commented out, but we will want to read that ONLY for release branch. Further iteration on these changes will definitely be needed, but I feel these have got to sufficient maturity than holding them back further isn't winning us anything. It is go time :-) |