Alex Beregszaszi
|
754d79edfa
|
Disallow explicit conversion of bytesXX to contract
|
2018-04-19 15:58:14 +02:00 |
|
Erik Kundt
|
33fbf88707
|
Limits rational numbers to 4096 bits.
|
2018-04-16 11:45:55 +02:00 |
|
Erik Kundt
|
8935c0dd2f
|
Uses short string representation of TypePointer
|
2018-04-12 21:14:50 +02:00 |
|
chriseth
|
7054defdd6
|
Merge pull request #3364 from ethereum/revertWithReason
Revert with reason
|
2018-04-12 21:01:08 +02:00 |
|
chriseth
|
44416d1ac6
|
Merge pull request #2980 from ethereum/abi-api
Add abi.encode and abi.encodePacked
|
2018-04-12 20:55:03 +02:00 |
|
chriseth
|
f00bb43593
|
Allow function overloads involving MagicVariableDeclarations.
|
2018-04-12 13:09:37 +02:00 |
|
chriseth
|
17fc0f54b5
|
Use FunctionTypePointer (adds `const `).
|
2018-04-12 13:09:37 +02:00 |
|
Alex Beregszaszi
|
d56acb68ab
|
Add abi.encode, abi.encodePacked, abi.encodeWithSelector and abi.encodeWithSignature.
|
2018-04-11 22:32:10 +02:00 |
|
Daniel Kirchner
|
daa69df447
|
Error on invalid arithmetic with constant expressions.
|
2018-04-11 21:17:10 +02:00 |
|
Jason Cobb
|
3b7b962b66
|
Fix bug in typechecking when comparing rational literals
|
2018-04-11 12:03:08 +02:00 |
|
Daniel Kirchner
|
3eedbc6a9c
|
Error when using no parentheses in modifier-style constructor calls.
|
2018-04-10 12:09:34 +02:00 |
|
chriseth
|
b52614116e
|
Merge pull request #3821 from ethereum/warn-constructor-override
Warn constructor override
|
2018-04-10 11:39:31 +02:00 |
|
hydai
|
aaa8edc36d
|
Fixed typos
|
2018-04-10 13:41:35 +08:00 |
|
Daniel Kirchner
|
b918a105a4
|
Move constructor argument override check to TypeChecker and reuse annotations in ContractCompiler.
|
2018-04-09 15:26:08 +02:00 |
|
chriseth
|
5b1c0506fa
|
Allow `memory ` suffix for internal elementary type parsing.
|
2018-04-05 16:06:04 +02:00 |
|
Daniel Kirchner
|
037eba20fc
|
Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis
Error when using empty parentheses for base class constructors that r…
|
2018-04-05 14:43:28 +02:00 |
|
Alex Beregszaszi
|
36d6c27e68
|
Merge pull request #3745 from ethereum/fixRecursion
Fix invalid recursion errors for structs
|
2018-04-05 12:04:54 +02:00 |
|
Daniel Kirchner
|
96eff0ff6a
|
Error when using empty parenthesis for base class constructors that require arguments.
|
2018-04-05 11:52:22 +02:00 |
|
Daniel Kirchner
|
d664a599e6
|
Constructors are defined using the `constructor ` keyword.
|
2018-04-03 18:21:55 +02:00 |
|
chriseth
|
eb5b18e814
|
Generalize cycle detection.
|
2018-04-03 16:29:18 +02:00 |
|
chriseth
|
5bdadff0d8
|
Fix detection of recursive structs.
|
2018-04-03 16:27:28 +02:00 |
|
chriseth
|
6777f7a57f
|
Optimize across MLOAD if MSIZE is not used.
|
2018-04-03 14:34:32 +02:00 |
|
Jason Cobb
|
e37b619593
|
Set default fixed point decimal places to 18
|
2018-03-31 00:56:36 +01:00 |
|
chriseth
|
5c8a6aac69
|
Prevent encoding of weird types and support packed encoding of external function types.
|
2018-03-29 09:57:11 +01:00 |
|
chriseth
|
3bb54e8bd5
|
Merge pull request #3775 from federicobond/improve-error-fractional-shift
Improve error message when attempting to shift by fractional number
|
2018-03-28 11:16:44 +02:00 |
|
Alex Beregszaszi
|
8bae2dba7c
|
Introduce inContractKind helper on FunctionDefinition
|
2018-03-26 11:37:38 +01:00 |
|
Federico Bond
|
b79531bebf
|
Improve error message when trying to shift by fractional number
|
2018-03-22 10:05:49 -03:00 |
|
chriseth
|
cc2f71e4ac
|
Move dynamic type removal out of the type system.
|
2018-03-21 14:53:29 +00:00 |
|
chriseth
|
eecc26deec
|
Make external library functions accessible.
|
2018-03-13 17:18:46 +01:00 |
|
chriseth
|
95ca829750
|
Merge pull request #3663 from ethereum/gasleftEmscripten
Add gasleft to FunctionType::richIdentifier().
|
2018-03-06 18:06:30 +01:00 |
|
Daniel Kirchner
|
fb4d01e2cd
|
Add gasleft to FunctionType::richIdentifier().
|
2018-03-06 17:29:04 +01:00 |
|
Alex Beregszaszi
|
14b12ae745
|
Merge pull request #2966 from ethereum/useStaticCall
Use STATICCALL for pure function calls.
|
2018-03-06 17:07:03 +01:00 |
|
Alex Beregszaszi
|
83dacbf669
|
Merge pull request #3549 from ethereum/fixmultidim
Properly detect which array and struct types are unsupported by the old ABI encoder.
|
2018-03-06 15:51:17 +01:00 |
|
chriseth
|
b467116ea8
|
Use STATICCALL for pure function calls if EVM version supports it and 0.5.0 is activated.
|
2018-03-06 15:30:18 +01:00 |
|
chriseth
|
f6c0daec14
|
Merge pull request #3652 from ethereum/gasleft_v2
Use StaticAnalyzer to deprecate msg.gas instead of conditionally remo…
|
2018-03-06 09:26:14 +01:00 |
|
Daniel Kirchner
|
91b13b734d
|
Use StaticAnalyzer to deprecate msg.gas instead of conditionally removing it in MagicType.
|
2018-03-05 23:16:26 +01:00 |
|
chriseth
|
3793aa405b
|
Merge pull request #3643 from ethereum/gasleft
Move msg.gas to global function gasleft(). Closes #2971.
|
2018-03-05 20:11:37 +01:00 |
|
Daniel Kirchner
|
3340053fd9
|
Style improvements.
|
2018-03-05 17:00:37 +01:00 |
|
chriseth
|
477571e190
|
Do not warn about 0.5.0 experimental pragma.
|
2018-03-05 12:14:44 +01:00 |
|
Daniel Kirchner
|
c633c0eacb
|
Move msg.gas to global function gasleft(). Closes #2971.
|
2018-03-05 11:18:04 +01:00 |
|
chriseth
|
08b6a72d37
|
Fix multi-dimensional arrays in the ABI.
|
2018-03-01 14:28:27 +01:00 |
|
chriseth
|
6b9dda06f3
|
Enable C99-scoping with the 0.5.0-experimental pragma.
|
2018-02-27 12:17:25 +01:00 |
|
chriseth
|
e6d48bb72a
|
Blocks and for loops can be scopes.
|
2018-02-27 12:17:25 +01:00 |
|
chriseth
|
5f20129e65
|
Scopes do not have to be declarations.
|
2018-02-27 12:17:25 +01:00 |
|
Alex Beregszaszi
|
b62d43912b
|
Merge pull request #3589 from ethereum/identifiers
Clean up type identifiers
|
2018-02-26 20:27:26 +01:00 |
|
Alex Beregszaszi
|
b471983e3c
|
Use new escaping helpers for type identifiers
|
2018-02-26 19:09:43 +01:00 |
|
Alex Beregszaszi
|
2e7067fbe4
|
Rename Types::identifier to Types::richIdentifier
|
2018-02-26 19:09:43 +01:00 |
|
Alex Beregszaszi
|
751705978e
|
Add helpers escapeIdentifier to Types
|
2018-02-26 19:09:39 +01:00 |
|
chriseth
|
4da20bdf01
|
Fix: Function types for getters should not have storage pointers.
|
2018-02-26 11:17:40 +01:00 |
|
chriseth
|
917dd28eef
|
Simplify FunctionType constructors.
|
2018-02-26 10:45:41 +01:00 |
|
chriseth
|
388718b59f
|
Introduce emit statement.
|
2018-02-22 15:17:30 +01:00 |
|
Emilio Almansi
|
ca6957da37
|
Added property _documentation_ to Function, Event, and Modifier definition classes.
|
2018-02-19 16:45:38 +01:00 |
|
chriseth
|
560fbd0df1
|
Always use shortened literal number representation.
|
2018-02-13 11:43:47 +01:00 |
|
Federico Bond
|
a320ffeafd
|
Avoid output messages size blow-up using huge bignums literals
|
2018-02-12 22:53:33 +00:00 |
|
Alex Beregszaszi
|
5226d54ed1
|
Improve error message for constant evaluator
|
2017-12-12 09:39:26 +00:00 |
|
Alex Beregszaszi
|
8d26894841
|
Show checksummed address always (prepend with 0)
|
2017-11-17 00:46:45 +00:00 |
|
Alex Beregszaszi
|
1d5dd909b4
|
Do not try to display checksummed address for too-short/long address literals
|
2017-11-17 00:46:45 +00:00 |
|
wadeAlexC
|
8a6692b2cf
|
Improves address literal checksum error message
|
2017-11-17 00:46:44 +00:00 |
|
Kwang Yul Seo
|
02db1ad584
|
Print using for directive in ASTPrinter
|
2017-11-16 01:36:57 +09:00 |
|
Alex Beregszaszi
|
ed3ce43d6d
|
Merge pull request #3189 from kseo/unused
Remove unused method
|
2017-11-15 16:31:22 +00:00 |
|
Kwang Yul Seo
|
d70ff5f8c3
|
Remove a redundant check
m_type can't be FunctionType::Kind::DelegateCall.
|
2017-11-13 09:54:55 +09:00 |
|
Kwang Yul Seo
|
486647fd38
|
Remove unused method
The body of Function::functionIdentifier is missing and is not used.
|
2017-11-12 22:27:05 +09:00 |
|
chriseth
|
114983e079
|
Missing forward declaration.
|
2017-10-17 18:30:04 +01:00 |
|
Alex Beregszaszi
|
475b818801
|
Remove obsolete createTypeError in AST
|
2017-10-05 20:18:46 +01:00 |
|
Alex Beregszaszi
|
09276cb9d3
|
Do not add members of address to contracts in experimental 0.5.0
|
2017-10-05 11:42:34 +01:00 |
|
Alex Beregszaszi
|
a9847c9551
|
Use solAssert and not assert
|
2017-10-04 13:05:55 +01:00 |
|
Alex Beregszaszi
|
d5d1a08b09
|
Pull out helper to apply address member to contract members
|
2017-09-28 14:54:15 +01:00 |
|
Alex Beregszaszi
|
aa6de49457
|
Simplify address overloading
|
2017-09-28 14:53:41 +01:00 |
|
Alex Beregszaszi
|
ee65ecfb3b
|
Ensure that address types are always declared as 160bit
|
2017-09-26 22:46:33 +01:00 |
|
Alex Beregszaszi
|
efa4598c23
|
Mark functions static
|
2017-09-20 01:23:21 +01:00 |
|
chriseth
|
0696545808
|
Check for interface types of members and cache recursion check.
|
2017-09-16 12:31:13 +01:00 |
|
chriseth
|
70d70e7816
|
Implement struct encoder.
|
2017-09-16 12:31:12 +01:00 |
|
chriseth
|
6385641f6e
|
Fix tests.
|
2017-09-16 12:31:12 +01:00 |
|
chriseth
|
36a90289e6
|
Fix interface type conversion internal to structs.
|
2017-09-16 12:12:43 +01:00 |
|
chriseth
|
080be885f8
|
Function signatures containing structs.
|
2017-09-16 12:12:43 +01:00 |
|
chriseth
|
59ea19b3b9
|
Check for recursive structs.
|
2017-09-16 12:12:43 +01:00 |
|
chriseth
|
2e72bd163a
|
Allow structs as part of function interfaces.
|
2017-09-16 12:12:43 +01:00 |
|
Alex Beregszaszi
|
5b5367dc12
|
Warn if no visibility is specified on contract functions.
|
2017-09-14 15:58:04 +01:00 |
|
Alex Beregszaszi
|
06c2ddfd50
|
Add experimental feature 'v0.5.0'
|
2017-09-13 19:22:03 +01:00 |
|
Alex Beregszaszi
|
5c9dbd5083
|
Merge pull request #2473 from ethereum/functiontype-sig
Add .selector member on function types
|
2017-09-13 17:35:48 +01:00 |
|
Alex Beregszaszi
|
fd1f8ab38b
|
Rename .sig to .selector on function types
|
2017-09-13 11:40:57 +01:00 |
|
Alex Beregszaszi
|
58f7a27ee0
|
Add sig member on function type
|
2017-09-13 11:40:57 +01:00 |
|
chriseth
|
342367d5dc
|
Store super function.
|
2017-09-06 13:50:49 +02:00 |
|
chriseth
|
5470da4d9a
|
View-pure checker.
|
2017-09-06 13:50:49 +02:00 |
|
Alex Beregszaszi
|
eb33e76416
|
Use Json::valueToQuotedString directly
|
2017-08-29 15:51:37 +01:00 |
|
chriseth
|
cd22da1d9e
|
Remove escape function.
|
2017-08-29 15:50:28 +01:00 |
|
chriseth
|
93b1cc9702
|
Merge pull request #2833 from ethereum/statemutability-builtins
Mark all built in functions with appropriate statemutability
|
2017-08-29 15:24:51 +02:00 |
|
Alex Beregszaszi
|
7fb4a64136
|
Move all file specific globals to anonymous namespace
|
2017-08-29 11:09:18 +01:00 |
|
Alex Beregszaszi
|
0e11e5af10
|
Include all overloaded events in ABI
|
2017-08-28 20:07:43 +01:00 |
|
Alex Beregszaszi
|
79e84a8fa4
|
Swap declaration/statemutability in FunctionType constructor
|
2017-08-28 19:43:35 +01:00 |
|
Alex Beregszaszi
|
aa94000a91
|
Mark all built in functions with appropriate statemutability
|
2017-08-28 19:43:35 +01:00 |
|
Alex Beregszaszi
|
c7cb00d49a
|
Mark event non-payable and not view
|
2017-08-28 16:37:45 +01:00 |
|
Alex Beregszaszi
|
8e5f9c5981
|
Removed unused natspec members of ContractDefinition
|
2017-08-25 20:29:43 +01:00 |
|
chriseth
|
4b0e30d259
|
Cleanup of Common.h
|
2017-08-25 14:54:23 +02:00 |
|
Alex Beregszaszi
|
deeac7e2e0
|
Rename statemutability to stateMutability in ABI/AST
|
2017-08-24 15:23:00 +01:00 |
|
Alex Beregszaszi
|
f646247dfb
|
Consider pure as constant for the AST JSON (to aid static analyzers)
|
2017-08-24 14:13:34 +01:00 |
|
Alex Beregszaszi
|
5668377c72
|
Introduce pure specifier on functions
|
2017-08-24 13:46:18 +01:00 |
|
chriseth
|
c93f0434cd
|
Use experimental feature pragma for SMT checker.
|
2017-08-23 17:37:35 +02:00 |
|
chriseth
|
1ece7bf443
|
z3 conditions
|
2017-08-23 14:24:04 +02:00 |
|
chriseth
|
c5f11d938f
|
Merge pull request #2656 from ethereum/performance1
Avoid some Json copy operations.
|
2017-08-23 13:26:43 +02:00 |
|
Alex Beregszaszi
|
efe4d68a7b
|
Introduce view (and keep constant as an alias)
|
2017-08-22 18:24:22 +01:00 |
|
chriseth
|
210b4870a8
|
Merge pull request #2775 from ethereum/coverity
Fix some issues found by Coverity
|
2017-08-22 15:39:50 +02:00 |
|
Alex Beregszaszi
|
badb269502
|
Merge pull request #2776 from ethereum/removeVisitsToAbstractASTNode
Remove visits to abstract AST class TypeName.
|
2017-08-22 14:34:55 +01:00 |
|
chriseth
|
9b6caa3fc4
|
Remove visits to abstract AST class TypeName.
|
2017-08-22 15:12:38 +02:00 |
|
Alex Beregszaszi
|
f2d6226718
|
Some smaller issues found by Covertiy Scan
|
2017-08-22 13:55:28 +01:00 |
|
Alex Beregszaszi
|
97169e58ae
|
Merge pull request #2734 from ethereum/reject-create-interface
Reject the creation of interface with the new statement
|
2017-08-22 12:11:37 +01:00 |
|
Alex Beregszaszi
|
9897c56b2c
|
Mark a lot of functions static (where possible)
|
2017-08-22 10:51:46 +01:00 |
|
Alex Beregszaszi
|
e2cfc9ee92
|
Mark a lot of functions const (where possible)
|
2017-08-22 10:51:46 +01:00 |
|
Alex Beregszaszi
|
b25f0c52ac
|
Reject the creation of interface with the new statement
|
2017-08-21 23:02:18 +01:00 |
|
Alex Beregszaszi
|
c94b1f8173
|
Set variable to nullptr in ASTPrinter
|
2017-08-21 22:05:35 +01:00 |
|
Alex Beregszaszi
|
4b56829ac3
|
Create children node in ASTJsonConverter when neccesary
|
2017-08-21 16:28:30 +01:00 |
|
chriseth
|
e3f90565d8
|
Avoid some Json copy operations.
|
2017-08-21 16:28:30 +01:00 |
|
Alex Beregszaszi
|
7700f4033e
|
Remove isDeclaredConst() from functions
|
2017-08-16 17:23:09 +01:00 |
|
Alex Beregszaszi
|
33ea314a24
|
Add statemutability to AST JSON
|
2017-08-16 17:23:09 +01:00 |
|
Alex Beregszaszi
|
93be0dd923
|
FunctionType comparison/identifer to support all statemutability levels
|
2017-08-16 17:23:08 +01:00 |
|
chriseth
|
2411f5d839
|
Merge pull request #2704 from ethereum/newEncoder
New ABI encoder
|
2017-08-14 17:04:00 +02:00 |
|
Alex Beregszaszi
|
a26a5f20ce
|
Remove constant/payable in all function types
|
2017-08-14 14:21:47 +01:00 |
|
Alex Beregszaszi
|
2a9ba937ba
|
Replace constant/payable with StateMutability in AST
|
2017-08-14 14:21:47 +01:00 |
|
chriseth
|
d1ad62fccc
|
Experimental feature switch for ABI encoder.
|
2017-08-14 13:11:41 +01:00 |
|
chriseth
|
77b26552b1
|
Allow multi-dimensional arrays in interfaces.
|
2017-08-14 12:44:25 +02:00 |
|
Federico Bond
|
ff5bb54e3c
|
Use fully qualified name of super in message
|
2017-08-11 22:45:25 +01:00 |
|
Alex Beregszaszi
|
53a497b4d8
|
Add analysis-only experimental features
|
2017-08-11 16:38:37 +01:00 |
|
Alex Beregszaszi
|
644c91fc2d
|
Add __test experimental mode for testing
|
2017-08-11 16:38:02 +01:00 |
|
chriseth
|
a7a9ed4718
|
Merge pull request #2727 from ethereum/simplify-types
Simplify if/else statements in Types
|
2017-08-11 11:46:16 +02:00 |
|
Alex Beregszaszi
|
3dcf089c3f
|
Simplify if/else statements in Types
|
2017-08-10 19:14:33 +01:00 |
|
gubatron
|
ad7a63f890
|
FunctionType operator== boolean refactor
|
2017-08-10 17:04:40 +01:00 |
|
Alex Beregszaszi
|
1b32cdcf21
|
Check for payable when comparing function types
|
2017-08-10 17:03:45 +01:00 |
|
chriseth
|
41e3cbe084
|
Merge pull request #2690 from ethereum/experimental-pragma
Support experimental feature pragma
|
2017-08-10 15:23:34 +02:00 |
|
Alex Beregszaszi
|
57c2451130
|
Introduce ExperimentalFeatures header
|
2017-08-10 00:15:25 +01:00 |
|
Alex Beregszaszi
|
fbcc5f4ee5
|
Support experimental feature pragma
|
2017-08-09 23:41:46 +01:00 |
|
chriseth
|
b38f31617e
|
Add isDynamicallyEncoded member function to types.
|
2017-08-09 23:18:42 +01:00 |
|
Alex Beregszaszi
|
b210db8058
|
Make toString(visibility) a helper
|
2017-08-09 14:58:59 +01:00 |
|
Alex Beregszaszi
|
bb0eb57c2f
|
Constructors must be implemented if declared.
|
2017-08-04 20:38:45 +01:00 |
|
Alex Beregszaszi
|
c835bcec62
|
Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations
|
2017-08-04 14:03:37 +01:00 |
|
Alex Beregszaszi
|
b7642dc8a7
|
Disallow gas modifier on sha255/ripemd160/ecrecover
|
2017-08-01 20:55:01 +01:00 |
|
Alex Beregszaszi
|
6d37f30d76
|
Rename Bare to Barecall
|
2017-08-01 10:47:10 +01:00 |
|
Alex Beregszaszi
|
d4e44ecb46
|
Disallow externalSignature for fallback functions
|
2017-07-27 21:52:58 +01:00 |
|
Alex Beregszaszi
|
9fc6eccc26
|
Add isFallback() helper
|
2017-07-27 21:52:57 +01:00 |
|
Alex Beregszaszi
|
89fadd6935
|
Merge pull request #2645 from ethereum/asserts
Use solAssert where possible
|
2017-07-27 11:12:30 +01:00 |
|
chriseth
|
1298a8df14
|
Merge pull request #2566 from ethereum/metadata-only-relevant
Metadata: only include relevant files in the source list
|
2017-07-27 11:07:15 +02:00 |
|
Alex Beregszaszi
|
8098030986
|
Use solAssert instead of boost throw where possible
|
2017-07-26 22:23:21 +01:00 |
|
chriseth
|
72917c4f35
|
Cleanup fixed point type changes
|
2017-07-19 22:13:42 +01:00 |
|
VoR0220
|
78769f3b39
|
Change fixed point types to have digit count
Signed-off-by: VoR0220 <rj@erisindustries.com>
|
2017-07-19 21:49:01 +01:00 |
|
Alex Beregszaszi
|
f3e591eedd
|
Add template for merging sets
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
89a1e97e7d
|
Avoid cyclic imports in referencedSourceUnits
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
ed592d6ccb
|
Add option to recurse referencedSourceUnits
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
a9bddf71aa
|
Add referencedSourceUnits() helper
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
1b0ef0b785
|
Add sourceUnit() helper to Declaration
|
2017-07-19 14:56:40 +01:00 |
|
Alex Beregszaszi
|
644de755dc
|
Mark modifiers as internal
|
2017-07-18 23:00:17 +01:00 |
|
Alex Beregszaszi
|
cb4875a28b
|
Issue error properly for oversized arrays for calldata
|
2017-07-13 22:33:46 +02:00 |
|
chriseth
|
d1c3ecc94a
|
Merge pull request #2567 from ethereum/refactorExceptions
Refactor exceptions and provide comment function.
|
2017-07-13 16:56:03 +02:00 |
|
chriseth
|
09e821619e
|
Refactor exceptions and provide comment function.
|
2017-07-13 11:34:03 +02:00 |
|
Federico Bond
|
f20b150f38
|
Add type error when attempting value transfer to a non-payable contract
|
2017-07-12 23:57:53 -03:00 |
|
chriseth
|
b7a59652f1
|
Merge pull request #2501 from ethereum/undef-macros
Move UndefMacros from libdevcore to libsolidity/parsing
|
2017-07-12 15:07:20 +02:00 |
|
chriseth
|
01a1296e90
|
Helper functions.
|
2017-07-11 11:24:41 +02:00 |
|
Alex Beregszaszi
|
b615b01449
|
Move UndefMacros from libdevcore to libsolidity/parsing
|
2017-07-02 00:09:46 +01:00 |
|
Alex Beregszaszi
|
c70d73809a
|
Use boost::starts_with
|
2017-06-28 17:01:55 +01:00 |
|
Alex Beregszaszi
|
06fe61f89b
|
Rename to isHexNumber()
|
2017-06-28 17:01:55 +01:00 |
|
Alex Beregszaszi
|
8b0c866f02
|
Add hasHexPrefix() to AST::Literal
|
2017-06-28 16:57:32 +01:00 |
|
chriseth
|
4407a13c17
|
Only allow equality checks for internal function types.
|
2017-06-26 16:30:37 +02:00 |
|
chriseth
|
f47e6e90fb
|
Disallow comparisons between some types.
|
2017-06-26 16:30:36 +02:00 |
|
chriseth
|
f340ff8764
|
Fix strings interpreted as addresses.
|
2017-06-22 16:48:44 +02:00 |
|
Alex Beregszaszi
|
d5f8ce90c7
|
Merge interface/Exceptions and interface/Utils
|
2017-06-22 11:25:07 +01:00 |
|
chriseth
|
21aafaa704
|
Merge pull request #2331 from ethereum/ASTDocumentationEntry
documentation field added to ContractDefinition-Node
|
2017-06-14 14:32:27 +02:00 |
|
djudjuu
|
62eafdd010
|
adjusted testcase and renaming
|
2017-06-06 13:26:23 +02:00 |
|
djudjuu
|
597bf8a43d
|
fix Literalprint
|
2017-05-30 19:53:32 +02:00 |
|
djudjuu
|
2e7190534b
|
documentation field added to ContractDefinition-Node
|
2017-05-30 18:52:43 +02:00 |
|
chriseth
|
451acd4c9f
|
Merge pull request #2301 from ethereum/ASTFunctionTypeFix
insert ParameterList-node in FunctionType-json
|
2017-05-24 14:28:07 +02:00 |
|
djudjuu
|
26abd61d9b
|
insert ParameterList-node in FunctionType-json
|
2017-05-24 13:52:16 +02:00 |
|
Alex Beregszaszi
|
604d254e8c
|
Fix AST JSON converter type lookup
|
2017-05-23 23:12:40 +01:00 |
|
djudjuu
|
e82df073d1
|
minor fixes and changelog update
|
2017-05-22 12:25:50 +02:00 |
|
djudjuu
|
1d22233a43
|
refactoring functionCallAnnotation
|
2017-05-19 15:48:07 +02:00 |
|
djudjuu
|
6316a76ab9
|
testsuite adjustment
|
2017-05-19 09:51:23 +02:00 |
|
djudjuu
|
e3583d04f7
|
include new InlineAssemblyInformation into JSON
|
2017-05-17 15:58:28 +02:00 |
|
djuju
|
a4ba5ace8a
|
prefixChanges and contractKind-field
|
2017-05-17 11:14:33 +02:00 |
|
djuju
|
2fa7646944
|
fixed styletypos, renaming and added helperfunction
|
2017-05-17 11:14:33 +02:00 |
|
Alex Beregszaszi
|
487eef18cc
|
Use different AST node names in legacy and new format
|
2017-05-17 11:14:33 +02:00 |
|
chriseth
|
dea7b864e6
|
Compact format for AST-Json with backwards compatibility
|
2017-05-17 11:14:33 +02:00 |
|
chriseth
|
f3ec2ba39e
|
Refactor to combined scope and stack height info.
|
2017-04-26 17:12:04 +02:00 |
|
chriseth
|
478f2997ea
|
Storage access from inline assembly.
|
2017-04-25 16:49:04 +02:00 |
|
chriseth
|
dfb7d5ebd9
|
Move analysis out of code generator.
|
2017-04-25 16:49:04 +02:00 |
|
chriseth
|
e0849f2f3b
|
Split external identifier access into resolving and code generation.
|
2017-04-25 16:49:03 +02:00 |
|
Alex Beregszaszi
|
6d4628ace4
|
Add ContractKind to ContractDefinition
|
2017-03-17 16:27:04 +00:00 |
|
chriseth
|
c37397c178
|
Merge pull request #1773 from ethereum/ASTEntry
Ast entry
|
2017-03-17 17:24:58 +01:00 |
|
chriseth
|
44a0329921
|
Comment.
|
2017-03-17 14:44:44 +01:00 |
|
djudjuu
|
616a9854e9
|
AST entry for VariableDeclaration
|
2017-03-16 16:56:44 +01:00 |
|
Alex Beregszaszi
|
3ae88377d6
|
Change references to FunctionType::Location
|
2017-03-16 12:49:52 +00:00 |
|
Alex Beregszaszi
|
7123f25210
|
Rename FunctionType::Location to FunctionType::Kind
|
2017-03-16 12:49:17 +00:00 |
|
chriseth
|
0c8a766146
|
Merge pull request #1698 from ethereum/exp-notation
Fix scientific notation in number literals
|
2017-03-15 14:55:45 +01:00 |
|
Alex Beregszaszi
|
e923f27ea8
|
Split out parseRational from isValidLiteral
|
2017-03-15 13:06:27 +00:00 |
|
Alex Beregszaszi
|
dde87de4cf
|
Rename x to value
|
2017-03-15 13:06:27 +00:00 |
|
Alex Beregszaszi
|
a2b9f52ca4
|
Disallow radix points in hex literals
|
2017-03-15 13:06:27 +00:00 |
|
Alex Beregszaszi
|
07045d492f
|
Do not try parsing hex numbers as scientific notation
|
2017-03-15 13:06:27 +00:00 |
|
Alex Beregszaszi
|
dfc8f890bf
|
Support older version of boost
|
2017-03-15 13:06:27 +00:00 |
|
Alex Beregszaszi
|
1083e6da68
|
Support negative exponent
|
2017-03-15 13:06:26 +00:00 |
|
Alex Beregszaszi
|
924a8fff6b
|
Fix exponentional notation in number literals
|
2017-03-15 13:06:24 +00:00 |
|
Yoichi Hirai
|
d134fda0c0
|
Merge pull request #1729 from ethereum/constantvariables
Only allow pure expressions for constant state variables.
|
2017-03-15 10:03:35 +01:00 |
|
chriseth
|
47cd8964b8
|
Require and Assert.
|
2017-03-14 14:21:33 +01:00 |
|
chriseth
|
f39763e91c
|
Type checking for pure expressions.
|
2017-03-13 13:30:21 +01:00 |
|
Ryan Casey
|
fe8d09a3c1
|
Fix 'ambiguous overload for operator==' Boost error.
|
2017-03-09 17:04:26 -08:00 |
|