Commit Graph
100 Commits
Author SHA1 Message Date
chriseth a88835bbce Test for incorrect storage access. 2016-01-15 17:02:37 +01:00
chriseth d2f18c73f7 Merge pull request #346 from chriseth/importAliases
Allow aliases during import.
2016-01-13 17:29:34 +01:00
chriseth 02c1aacd25 Merge pull request #345 from VoR0220/develop
Inline Arrays
2016-01-12 19:01:35 +01:00
chriseth cff368fb7c Merge pull request #350 from ethereum/chriseth-patch-1
Docs: Refund actual deposit, and not bid value.
2016-01-12 18:59:05 +01:00
chriseth 3d66e5ad2e Refund actual deposit, and not bid value.
Thanks to @jonasnick for finding this.
Fixes #349
2016-01-12 00:47:23 +01:00
chriseth f20a604c5a Allow aliases during import. 2016-01-11 13:56:02 +01:00
chriseth aa645d1192 Merge pull request #342 from chriseth/fix_crash
Fixed a crash during type checking.
2016-01-11 08:25:52 +01:00
chriseth d3c8847726 Fixed a crash during type checking. 2016-01-08 15:20:54 +01:00
chriseth b158e48c1a Merge pull request #338 from guanqun/add_paren
support syntax "(x) = 3"
2016-01-05 13:15:29 +01:00
chriseth 252bd142b9 Merge pull request #331 from u2/doc_fix2
docs: code sytle
2016-01-04 11:50:22 +01:00
chriseth 306245113d Merge pull request #329 from guanqun/patch-2
[docs]: change unsupported underscore to star
2016-01-04 11:47:47 +01:00
chriseth cebd9bf232 Merge pull request #328 from guanqun/patch-1
[docs]: add an ending period
2016-01-04 11:47:32 +01:00
chriseth e27bfa023d Merge pull request #317 from chriseth/pathsEverywhere
Use paths instead of simple identifiers wherever possible.
2016-01-04 11:47:11 +01:00
chriseth 0e2fa39fad Use paths instead of simple identifiers wherever possible. 2015-12-21 18:44:21 +01:00
chriseth 6b711d0527 Merge pull request #316 from chriseth/docs
Fixes in the misc section.
2015-12-21 17:37:08 +01:00
chriseth 8fe89455b3 Fixes in the misc section. 2015-12-21 16:54:32 +01:00
chriseth eae71cee9d Merge pull request #312 from ethers/patch-4
sending value to an overloaded function
2015-12-21 15:38:35 +01:00
chriseth 2466fb68a0 Merge pull request #308 from chriseth/fixoverloadbug
Fix bug preventing overloads of different array types.
2015-12-21 15:37:51 +01:00
chriseth 6f78998aaf Merge pull request #309 from chriseth/fix_cross_contract_enum_access
Add structs and enums to contract types.
2015-12-21 15:37:24 +01:00
chriseth 6c6295b74e Merge pull request #311 from guanqun/correct-boolean-literal-position
correct true/false literal's source
2015-12-18 17:14:57 +01:00
chriseth 54e3637d23 Add structs and enums to contract types. 2015-12-18 16:50:14 +01:00
chriseth 79c5d032fe Fix bug preventing overloads of different array types. 2015-12-18 13:56:37 +01:00
chriseth 938ed70935 Merge pull request #304 from chriseth/imp
Simple aliasing during import
2015-12-18 13:02:01 +01:00
chriseth 603dc58040 Simple aliasing during import. 2015-12-18 12:46:56 +01:00
chriseth d3c459b5a9 Parse complex import directives. 2015-12-18 12:46:54 +01:00
chriseth fe23cc8226 Merge pull request #307 from VoR0220/develop
OS X specific doc changes for those with trouble building from source
2015-12-17 21:06:12 +01:00
chriseth 1cde6f9d16 Merge pull request #300 from ethereum/noevmjit
Add -EVMJIT=0
2015-12-17 02:14:27 +01:00
chriseth eb11c7f43f Merge pull request #305 from VoR0220/inlineArrays
Parsing for Inline Arrays is passing
2015-12-17 01:21:22 +01:00
chriseth 591a4f1ff4 Merge pull request #288 from chriseth/import_contexts
Do not clutter importee when importing.
2015-12-15 11:43:59 +01:00
chriseth 53da78e609 Style. 2015-12-15 09:57:05 +01:00
chriseth 01d3417d5f Add -EVMJIT=0 2015-12-14 18:09:50 +01:00
chriseth 98684cca90 Merge pull request #299 from chriseth/documentPrivate
Note about private note being invisible.
2015-12-14 17:53:15 +01:00
chriseth 5622011bc5 Note about private note being invisible. 2015-12-14 16:22:52 +01:00
chriseth e7098958d0 Merge pull request #296 from chriseth/solidityHighlighting
Pygments highlighting rules for Solidity.
2015-12-10 17:31:28 +01:00
chriseth c7ec85754a Pygments highlighting rules for Solidity. 2015-12-10 17:30:33 +01:00
chriseth 251e7aa462 Merge pull request #289 from chriseth/fix_base_constructor_params
Fix: Type checker crash for wrong number of base constructor arguments.
2015-12-10 15:48:48 +01:00
chriseth 08cb74a1de Merge pull request #290 from chriseth/fix_gas_iterator
Fix: Segfaults connected to paramater types.
2015-12-10 15:47:35 +01:00
chriseth ca10971291 Merge pull request #293 from chriseth/doc_index
Documentation index page and build instructions.
2015-12-10 15:47:18 +01:00
chriseth 19b10460d1 Merge pull request #294 from chriseth/newfaq
Overflow check.
2015-12-10 15:47:09 +01:00
chriseth 349c4247e8 Merge pull request #295 from chriseth/removedocker
Removed obsolete Dockerfile.
2015-12-10 15:47:01 +01:00
chriseth 7dccca5ca9 Removed obsolete dockerfile. 2015-12-10 13:03:08 +01:00
chriseth 9fd7200847 Overflow check. 2015-12-10 12:34:46 +01:00
chriseth 3ce73e0bd3 Added build guide. 2015-12-10 12:22:53 +01:00
chriseth b344bbac5d Improved index page. 2015-12-10 11:36:27 +01:00
chriseth f8228e8ab1 Relative paths in import directives. 2015-12-09 19:21:02 +01:00
chriseth 7cb7818cea Source units are independent scopes. 2015-12-09 19:09:24 +01:00
chriseth 39f57a9c71 Fix: Segfaults connected to paramater types.
parameterTypes does not return by const reference anymore.
2015-12-09 17:57:34 +01:00
chriseth f5b184323d Fix: Type checker crash for wrong number of base constructor arguments. 2015-12-09 17:37:19 +01:00
chriseth e510e7e792 Bugfix concerning pointers to moved data. 2015-12-08 12:41:24 +01:00
chriseth 15a1468c3f Merge pull request #286 from ethereum/readme
Change doc link.
2015-12-07 23:40:38 +01:00
chriseth 10504165ea Update README.md 2015-12-07 23:40:12 +01:00
chriseth b75b0a3739 Merge pull request #285 from chriseth/docs
PDFs and some lost changes.
2015-12-07 23:36:34 +01:00
chriseth 92c789a89c Added some lost changes. 2015-12-07 23:35:39 +01:00
chriseth 99bb8a9740 Add pdf config. 2015-12-07 23:35:39 +01:00
chriseth 401c694b85 Merge pull request #282 from chriseth/docs
Imported documentation.
2015-12-07 22:36:43 +01:00
chriseth 64fa9ca478 Imported documentation. 2015-12-07 22:35:51 +01:00
chriseth ba8bc4565a Merge pull request #279 from doublethinkco/develop
Fix a "Solidity::solidity" dependency edge in the CMake file for soltest
2015-12-06 12:40:37 +01:00
chriseth 4dc2445edd Merge pull request #265 from chriseth/version
Increment version to 0.2.0 (includes breaking changes).
2015-12-01 16:20:49 +01:00
chriseth 8342424815 Increment version to 0.2.0 (includes breaking changes). 2015-12-01 16:06:14 +01:00
chriseth d909f3a57b Merge pull request #262 from chriseth/bind_codegeneration
Code generation for bound methods
2015-12-01 14:07:33 +01:00
chriseth 7f415da886 Code generation for calling bound methods. 2015-12-01 12:35:34 +01:00
chriseth e853eb22fa Merge pull request #261 from chriseth/dataloc
Bugfix for explicit memory types in libraries.
2015-12-01 12:15:17 +01:00
chriseth 8cbe99fd1f Merge pull request #260 from chriseth/stackrotation
Simplify and optimise stack rotation.
2015-11-30 20:40:41 +01:00
chriseth 7e3bf833ae Bugfix for explicit memory types in libraries. 2015-11-30 19:46:26 +01:00
chriseth 35b310cfaf Simplify and optimise stack rotation. 2015-11-30 18:50:47 +01:00
chriseth e9c7837c15 Merge pull request #251 from chriseth/bind2
Bind library functions to types.
2015-11-30 16:06:44 +01:00
chriseth a8736b7b27 Merge pull request #256 from chriseth/selfdestruct
Introduce selfdestruct alias for suicide.
2015-11-30 16:06:18 +01:00
chriseth a3801be40c Merge pull request #257 from chriseth/fixConstructorFixedArray
Bugfix for constructor unpacking with fixed-size arrays.
2015-11-30 16:05:02 +01:00
chriseth 6796afc2f8 Bugfix for constructor unpacking with fixed-size arrays. 2015-11-29 01:03:39 +01:00
chriseth f9e52c9db1 Also check the object type for bound functions. 2015-11-29 00:16:07 +01:00
chriseth 93b3237c6a Add bound functions to types. 2015-11-29 00:16:07 +01:00
chriseth b97bb086de Introduce selfdestruct alias for suicide. 2015-11-29 00:10:07 +01:00
chriseth d71cd3aa2b Added the using x for y directive. 2015-11-26 17:49:39 +01:00
chriseth 09b2f9acb7 Resolve type names using regular AST visit. 2015-11-26 17:49:02 +01:00
chriseth c806b9bcdb Merge pull request #246 from chriseth/refactor
Refactoring - more flexible contracts.
2015-11-26 17:40:40 +01:00
chriseth 4aaa150674 Convert filter to template function. 2015-11-26 17:28:44 +01:00
chriseth cc2df5f9f2 Invalidate cached members if scope changes. 2015-11-26 15:37:55 +01:00
chriseth 2e4f4e3363 Fix smart pointer lifetime issue in tests. 2015-11-26 15:37:55 +01:00
chriseth b47d593252 Do not store elements of a contract by AST node type. 2015-11-26 15:37:55 +01:00
chriseth 86495dfc57 Make members context-sensitive. 2015-11-26 15:37:55 +01:00
chriseth c498dcce22 Merge pull request #222 from chriseth/newArrays
Dynamically create memory arrays.
2015-11-26 15:28:28 +01:00
chriseth e06768e8b5 Fix MSVC errors and warnings. 2015-11-26 14:47:28 +01:00
chriseth 6a2a946200 Make some functions const. 2015-11-26 13:44:09 +01:00
chriseth 879844dd0a Code generation for creating arrays. 2015-11-26 13:10:12 +01:00
chriseth bf55aa6ae2 Type checking for creating new arrays. 2015-11-26 13:10:12 +01:00
chriseth 30b325fdc1 Allow "new expressions" also for general type names.
Breaking change: If you want to send value with a contract creation, you
have to use parentheses now:

`(new ContractName).value(2 ether)(arg1, arg2)`
2015-11-26 13:10:12 +01:00
chriseth cd94aa978a Merge pull request #249 from chriseth/fixemscripten
Fix solidity dependencies.
2015-11-26 13:09:44 +01:00
chriseth f86451cd68 Fix solidity dependencies. 2015-11-26 12:40:15 +01:00
chriseth b49b268600 Merge pull request #239 from chriseth/why3Fix
Again some why3 fixes with regards to separators in blocks.
2015-11-26 11:52:57 +01:00
chriseth 20542d1623 Style. 2015-11-25 14:24:00 +01:00
chriseth 36ba7d11ca Again some why3 fixes with regards to separators in blocks. 2015-11-25 14:24:00 +01:00
chriseth ce1e73a734 Merge pull request #245 from chriseth/buildfixes
Build dependency fixes.
2015-11-25 14:03:29 +01:00
chriseth aa8e9e66ed Merge pull request #244 from chriseth/fix_stringAlloc
Fix for memory allocation bug.
2015-11-24 16:18:41 +01:00
chriseth 46bc70e709 Build dependency fixes. 2015-11-24 16:12:42 +01:00
chriseth 68f1da1e3a Fixed string inside struct allocation bug. 2015-11-24 14:54:37 +01:00
chriseth 588e4232eb Test for allocation bug. 2015-11-24 14:54:18 +01:00
chriseth e59b9b445a Merge pull request #241 from chriseth/why3VariablesInConditions
Why3 variables in conditions
2015-11-24 11:33:35 +01:00
chriseth 10fe0a2434 Style. 2015-11-23 16:30:51 +01:00
chriseth 806507d5c0 addmod and mulmod for why3. 2015-11-23 00:58:17 +01:00
chriseth 82a6ab486d Why3: Direct references to variables using #. 2015-11-23 00:58:17 +01:00