aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement uninitialized storage functions.chriseth2016-11-164-14/+19
|
* Tests for uninitialized storage functions.chriseth2016-11-161-1/+53
|
* test: add a test for storing an internal function in the constructor and ↵Yoichi Hirai2016-11-161-0/+46
| | | | then using the stored function in runtime
* Bugfix in code generator.chriseth2016-11-161-1/+1
|
* Documentation examples.chriseth2016-11-161-1/+73
|
* Tests.chriseth2016-11-163-26/+197
|
* Change alignment.chriseth2016-11-164-31/+43
|
* Part of the documentation.chriseth2016-11-161-1/+41
|
* Changelog entry and small fixes.chriseth2016-11-163-5/+9
|
* Add a test around storing functions in an arrayYoichi Hirai2016-11-161-0/+39
|
* Add a parser test for arrays containing functionsYoichi Hirai2016-11-161-0/+10
|
* Add tests around calling functions returning functions returning functionsYoichi Hirai2016-11-162-0/+45
|
* External functions in storage.chriseth2016-11-164-19/+76
|
* Fix some type checks and tests for internal / external function parameters.chriseth2016-11-163-11/+35
|
* Function type state variables.chriseth2016-11-164-33/+115
|
* Code generator for function types.chriseth2016-11-166-3/+127
|
* Function types.chriseth2016-11-1617-39/+359
|
* Merge pull request #1379 from ethereum/swarmHashCorrectionchriseth2016-11-162-29/+24
|\ | | | | Correct implementation of swarm hash.
| * Correct implementation of swarm hash.chriseth2016-11-152-29/+24
| |
* | Merge pull request #1377 from ethereum/keep-json-valueschriseth2016-11-1611-59/+107
|\ \ | |/ |/| Keep internal results in JSON
| * Change natspec/abi JSON expected message to be the sameAlex Beregszaszi2016-11-162-5/+6
| |
| * Move JSON helpers to libdevcore/jsonAlex Beregszaszi2016-11-164-29/+57
| |
| * Update tests to use JSONAlex Beregszaszi2016-11-162-9/+5
| |
| * Move InterfaceHandler from string to JSONAlex Beregszaszi2016-11-158-48/+71
|/
* Merge pull request #1327 from ethereum/inline-assembly-errortagAlex Beregszaszi2016-11-155-1/+30
|\ | | | | ErrorTag in inline assembly
| * Rename ErrorTag to invalidJumpLabel in inline assemblyAlex Beregszaszi2016-11-155-6/+6
| |
| * Document inline assembly ErrorTagAlex Beregszaszi2016-11-151-0/+4
| |
| * Add tests for the ErrorTagAlex Beregszaszi2016-11-152-0/+20
| |
| * Support ErrorTag as a jump label in inline assemblyAlex Beregszaszi2016-11-152-1/+6
| |
* | Merge pull request #1369 from ethereum/callcostschriseth2016-11-152-15/+28
|\ \ | | | | | | Report infinite gas for calls.
| * | Keep old code.chriseth2016-11-152-21/+30
| | |
| * | Report infinite gas for calls.chriseth2016-11-141-15/+19
| | |
* | | Merge pull request #1366 from ethereum/swarmhashchriseth2016-11-154-2/+159
|\ \ \ | |_|/ |/| | Swarm hash.
| * | Move swarmHash to its own file.chriseth2016-11-155-45/+101
| | |
| * | Multi-level swarm hash.chriseth2016-11-154-10/+103
| | |
| * | Swarm hash.chriseth2016-11-151-0/+8
| | |
* | | Merge pull request #1375 from ethereum/inline-assembly-stack-heightchriseth2016-11-153-12/+23
|\ \ \ | | | | | | | | Fix inline assembly stack warnings when using variables
| * | | Add testschriseth2016-11-151-5/+13
| | | |
| * | | Fix inline assembly stack warnings when using variablesAlex Beregszaszi2016-11-152-7/+10
| |/ /
* | | Merge pull request #760 from axic/fix/omit-newline-in-interfacechriseth2016-11-152-1/+5
|\ \ \ | | | | | | | | Do not include a trailing new line in the ABI JSON output
| * | | Do not include a trailing new line in the ABI JSON outputAlex Beregszaszi2016-11-152-1/+5
| |/ /
* | | Merge pull request #1317 from ethereum/timelockAlex Beregszaszi2016-11-156-2/+26
|\ \ \ | | | | | | | | Compile all contracts in the std directory
| * | | Update tests.shchriseth2016-11-151-0/+1
| | | |
| * | | Add tests for the std files.chriseth2016-11-126-2/+25
| | | |
* | | | Merge pull request #1373 from ethereum/debug-compiler-flagchriseth2016-11-151-1/+1
|\ \ \ \ | |_|/ / |/| | | Compile with -Og in debug mode (by @chfast)
| * | | Compile with -Og in debug mode (by @chfast)Alex Beregszaszi2016-11-151-1/+1
|/ / /
* | | Unimplemented features moved to their own exception (#1361)Rhett Aultman2016-11-159-17/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unimplemented features moved to their own exception InternalCompilerError is an exception that really should be reserved for actual internal errors of the compiler. Unimplemented features can now use either solUnimplemented( ) or, if it should be conditional, then solUnimplementedAssert( ). * Revert some unimplemented exceptions, add handlers The jsonCompiler and CommandLineInterface needed handlers for the new UnimplementedFeatureException, and some cases I had moved on to the new exception were better treated as real internal compiler errors. * Standardize on "Unimplemented feature" message
* | | Merge pull request #1371 from ethereum/invalid_enum_as_external_argchriseth2016-11-151-0/+27
|\ \ \ | | | | | | | | Throw exception on invalid enum value as external call argument
| * | | test: add a testcase about using an invalid enum value as an external call ↵Yoichi Hirai2016-11-151-0/+27
|/ / / | | | | | | | | | argument
* | | Merge pull request #1367 from asinyagin/developchriseth2016-11-151-2/+2
|\ \ \ | | | | | | | | Print canonical names of structs and enums in AST
| * | | Print canonical names of structs and enums in ASTAlex Sinyagin2016-11-141-2/+2
| | |/ | |/|
* | | Merge pull request #1372 from ethereum/invalid_enum_as_external_retchriseth2016-11-152-2/+36
|\ \ \ | | | | | | | | Invalid enum as external ret
| * | | codegen: overflow checking also during conversion from enumsYoichi Hirai2016-11-151-2/+2
| | | |
| * | | test: add tests about returning invalid enum values from interface functionsYoichi Hirai2016-11-141-0/+34
| |/ /
* | | Merge pull request #1370 from ethereum/missing_breakAlex Beregszaszi2016-11-151-0/+1
|\ \ \ | |/ / |/| | codegen: add a missing `break;`
| * | codegen: add a missing `break;`Yoichi Hirai2016-11-141-0/+1
|/ /
* | Merge pull request #1365 from walter-weinmann/developchriseth2016-11-141-1/+1
|\ \ | | | | | | #1362: As it stands currently, the >>> operator will not be implemented.
| * | #1362: As it stands currently, the >>> operator will not be implemented.Walter Weinmann2016-11-141-1/+1
| | |
* | | Merge pull request #1348 from ethereum/chriseth-patch-1chriseth2016-11-141-3/+0
|\ \ \ | | | | | | | | Windows build fix.
| * | | Windows build fix.chriseth2016-11-091-3/+0
| | | | | | | | | | | | Thanks for the find, @slothbag
* | | | Merge pull request #1334 from ethereum/enum_conversionchriseth2016-11-1411-22/+92
|\ \ \ \ | | | | | | | | | | check enum value range during conversion
| * | | | codegen: move the enum overflow checking closer to the conversion into enumsYoichi Hirai2016-11-141-8/+16
| | | | |
| * | | | ast, codegen: disallow conversion between different enum typesYoichi Hirai2016-11-123-2/+3
| | | | |
| * | | | test: add a test conerting an enum into another enum, which should failYoichi Hirai2016-11-121-0/+15
| | | | |
| * | | | codegen: shorten the overflow checking when converting into enumsYoichi Hirai2016-11-121-1/+2
| | | | |
| * | | | docs: udpate description of enums about #1334Yoichi Hirai2016-11-121-1/+2
| | | | |
| * | | | parsing: ban empty enum definition.Yoichi Hirai2016-11-124-15/+7
| | | | |
| * | | | test: add a test converting -1 as a literal into an enumYoichi Hirai2016-11-121-0/+6
| | | | | | | | | | | | | | | | | | | | This shows #1334 fixes #1344
| * | | | test: add a test case for #1343Yoichi Hirai2016-11-121-0/+6
| | | | | | | | | | | | | | | | | | | | The test witnesses that #1334 fixes #1343.
| * | | | docs: document the new overflow exception during conversion into enumYoichi Hirai2016-11-121-3/+4
| | | | |
| * | | | codegen: check the value range after converting something to an enum elementYoichi Hirai2016-11-122-0/+9
| | | | |
| * | | | test: add tests that witness issue #1311Yoichi Hirai2016-11-121-0/+24
| | | | |
| * | | | ast: add EnumType::numberOfMembers()Yoichi Hirai2016-11-122-1/+7
| | |/ / | |/| |
* | | | Merge pull request #1360 from ethers/patch-1chriseth2016-11-141-2/+2
|\ \ \ \ | |/ / / |/| | | docs: Remove named return
| * | | Remove named returnethers2016-11-131-2/+2
|/ / / | | | | | | Named returns are not explained in this introduction; they also provide little value in these examples.
* | | Merge pull request #1355 from ethereum/chriseth-patch-2chriseth2016-11-121-3/+3
|\ \ \ | | | | | | | | Fix semicolons
| * | | Fix semicolonschriseth2016-11-111-3/+3
| | |/ | |/|
* | | Merge pull request #1293 from ethereum/common_type_of_rational_typeYoichi Hirai2016-11-114-6/+21
|\ \ \ | |/ / |/| | tolerant type checking for inline arrays, by computing the common type in a more tolerant way
| * | Changelog: add a point about #1293Yoichi Hirai2016-11-111-0/+1
| | |
| * | Type checker: move the burden of computing mobile type to commonTypeYoichi Hirai2016-11-112-6/+6
| | | | | | | | | | | | This solves #621
| * | test: add a test for #621Yoichi Hirai2016-11-111-0/+14
|/ /
* | Merge pull request #768 from roadriverrail/do_while_loopschriseth2016-11-1111-11/+92
|\ \ | |/ |/| Add support for do/while loops
| * Add support for do/while loopsRhett Aultman2016-11-1011-11/+92
| | | | | | | | | | | | | | This commit adds support for a standard do <statement> while <expr>; form of statement. While loops were already being supported; supporting a do/while loop mostly involves reusing code from while loops but putting the conditional checking last.
* | Merge pull request #1339 from ethereum/typochriseth2016-11-091-3/+3
|\ \ | | | | | | test: fix a typo in calling_payable test
| * | Fail if parsing fails in type checker tests.chriseth2016-11-091-1/+1
| | |
| * | test: fix a typo in calling_payable testYoichi Hirai2016-11-091-2/+2
| | |
* | | Merge pull request #1333 from ethereum/compare_location_fileschriseth2016-11-094-6/+64
|\ \ \ | | | | | | | | Compare source files in source locations
| * | | libevmasm: fix comparison of SourceLocationsYoichi Hirai2016-11-082-6/+13
| | | |
| * | | test: add a test case about SourceLocationYoichi Hirai2016-11-072-0/+51
| | | |
* | | | Merge pull request #1338 from ethereum/updatereleasppachriseth2016-11-081-0/+4
|\ \ \ \ | | |_|/ | |/| | Fetch jsoncpp tarball during ppa release.
| * | | Fetch jsoncpp tarball during ppa release.chriseth2016-11-081-0/+4
|/ / /
* | | Merge pull request #1337 from ethereum/jsoncpp-from-sourcechriseth2016-11-081-0/+0
|\ \ \ | |_|/ |/| | JSONCPP: keep downloaded archive in source dir
| * | Update jsoncpp.cmake from cpp-dependencies repoPaweł Bylica2016-11-081-0/+0
|/ / | | | | | | This change will keep the downloaded jsoncpp archive in the source dir and allow PPA builds from tarballs.
* | Merge pull request #1252 from ethereum/jsoncpp-from-sourcechriseth2016-11-0813-129/+9
|\ \ | |/ |/| Build jsoncpp from source using jsoncpp.cmake script
| * Drop CryptoPP leftoversPaweł Bylica2016-11-085-18/+0
| | | | | | | | Especially, do not compile CryptoPP for Emscripten.
| * Update jsoncpp.cmake from cpp-dependencies repoPaweł Bylica2016-11-081-0/+0
| |
| * Build jsoncpp from source using jsoncpp.cmake scriptPaweł Bylica2016-10-2112-111/+9
| |
* | Merge pull request #1316 from federicobond/clarify-docchriseth2016-11-041-1/+1
|\ \ | | | | | | Add clarification for block.blockhash
| * | Add clarification for block.blockhashFederico Bond2016-11-021-1/+1
| | |
* | | Merge pull request #1325 from ethereum/addpayablechriseth2016-11-041-1/+2
|\ \ \ | | | | | | | | add payable to AST
| * | | add payable to ASTyann3002016-11-031-1/+2
| | | |
* | | | Merge pull request #1314 from ethereum/lll-versionchriseth2016-11-041-1/+8
|\ \ \ \ | | | | | | | | | | LLL: include version number in lllc (verbatim copy of solc)
| * | | | LLL: include version number in lllc (verbatim copy of solc)Alex Beregszaszi2016-11-011-1/+8
| | | | |
* | | | | Merge pull request #1323 from varunagarwal315/patch-1Yoichi Hirai2016-11-041-0/+9
|\ \ \ \ \ | | | | | | | | | | | | Update solidity-by-example.rst
| * | | | | Update solidity-by-example.rstvarunagarwal3152016-11-041-3/+3
| | | | | | | | | | | | | | | | | | added the space. Sorry, just slipped my mind.
| * | | | | Update solidity-by-example.rstvarunagarwal3152016-11-031-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made changes suggested to simplify code. Hope this is enough Thanks
| * | | | | Update solidity-by-example.rstvarunagarwal3152016-11-031-0/+16
| |/ / / / | | | | | | | | | | Might be trivial, but makes more sense to be able to directly return the name of the winner for the election. If the position of the winner on the proposal[] array is returned, then people still don't know the name of the person who won.
* | | | | Merge pull request #1315 from ethereum/lll-constructorchriseth2016-11-041-0/+4
|\ \ \ \ \ | |_|/ / / |/| | | | LLL: add bytecodesize keyword to push resulting bytecode size
| * | | | LLL: add bytecodesize keyword to push resulting bytecode sizeAlex Beregszaszi2016-11-021-0/+4
| |/ / /
* | | | Merge pull request #1324 from ethereum/appveyorreleasechriseth2016-11-031-3/+2
|\ \ \ \ | |/ / / |/| | | Trying to attach artifacts to tags only.
| * | | Trying to attach artifacts to tags only.chriseth2016-11-031-3/+2
|/ / /
* | | Merge pull request #1298 from ethereum/lll-error-reportingchriseth2016-11-014-14/+24
|\ \ \ | | | | | | | | LLL: further improve error reporting
| * | | LLL: properly support dashes (-) as part of variable namesAlex Beregszaszi2016-11-011-2/+2
| | | |
| * | | LLL: simplify integer parsingAlex Beregszaszi2016-11-011-2/+2
| | | |
| * | | LLL: catch and display spirit::qi errorsAlex Beregszaszi2016-11-011-2/+11
| | | |
| * | | LLL: update exception messageAlex Beregszaszi2016-11-011-4/+3
| | | |
| * | | LLL: remove unneeded includesAlex Beregszaszi2016-11-011-3/+0
| | | |
| * | | LLL: report back unsupported keywordsAlex Beregszaszi2016-11-011-1/+1
| | | |
| * | | LLL: support passing error reasonsAlex Beregszaszi2016-11-011-0/+5
| | | |
* | | | Merge pull request #1310 from ethereum/versionchriseth2016-11-013-3/+5
|\ \ \ \ | |/ / / |/| | | Version update in develop.
| * | | Version update in develop.chriseth2016-11-013-3/+5
|/ / /
* | | Update Changelog.mdchriseth2016-11-011-3/+1
| | |
* | | Merge pull request #1307 from ethereum/fixcleanchriseth2016-11-013-7/+22
|\ \ \ | | | | | | | | Fix cleanup of higher order bytes prior to store.
| * | | Updated changelog.chriseth2016-11-011-0/+1
| | | |
| * | | Clear all value types prior to storing.chriseth2016-10-311-7/+1
| | | |
| * | | Test case for overflow in storage.chriseth2016-10-311-0/+20
|/ / /
* | | Merge pull request #1302 from ethereum/lll-panicchriseth2016-10-281-0/+4
|\ \ \ | | | | | | | | LLL: introduce panic keyword
| * | | LLL: introduce panic keywordAlex Beregszaszi2016-10-271-0/+4
| | | |
* | | | Merge pull request #1301 from ethereum/emptystringreplaceAlex Beregszaszi2016-10-282-7/+7
|\ \ \ \ | | | | | | | | | | Fix cmake empty string replace.
| * | | | Fix cmake empty string replace.chriseth2016-10-272-7/+7
|/ / / /
* | | | Merge pull request #1297 from Thrillberg/patch-2chriseth2016-10-271-1/+1
|\ \ \ \ | | | | | | | | | | Update installing-solidity.rst
| * | | | Update installing-solidity.rstEric Tillberg2016-10-271-1/+1
| | | | |
* | | | | Merge pull request #1296 from Thrillberg/patch-1chriseth2016-10-271-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Update index.rst
| * | | | Update index.rstEric Tillberg2016-10-271-1/+1
|/ / / /
* | | | Merge pull request #1294 from zigguratt/lll-until-supportchriseth2016-10-261-2/+3
|\ \ \ \ | |/ / / |/| | | LLL: Add support for 'until', the inverse of 'while'.
| * | | Added support for `until`, the inverse of `while`.Daniel Ellison2016-10-261-2/+3
|/ / /
* | | Merge pull request #1285 from ethereum/lll-simplify-notchriseth2016-10-261-14/+26
|\ \ \ | | | | | | | | LLL: use NOT for ~
| * | | LLL: reorder arithmetic/binary instruction list for readabilityAlex Beregszaszi2016-10-261-3/+26
| | | |
| * | | LLL: use NOT for ~Alex Beregszaszi2016-10-261-10/+1
| | | |
| * | | LLL: replace (1 0 sub) with literal valueAlex Beregszaszi2016-10-261-3/+1
| |/ /
* | | Merge pull request #1274 from ethereum/signed-expchriseth2016-10-263-1/+21
|\ \ \ | |/ / |/| | Banning signed exp
| * | ast: ban signed EXP, fixing #1246Yoichi Hirai2016-10-252-1/+5
| | |
| * | Add tests for #1246Yoichi Hirai2016-10-251-0/+16
|/ /
* | Merge pull request #1276 from ethereum/lll-optimisechriseth2016-10-251-3/+4
|\ \ | | | | | | LLL: clean up the handling of the optimise flag
| * | LLL: change -o to be a flagAlex Beregszaszi2016-10-251-2/+2
| | |
| * | LLL: turn off optimiser by defaultAlex Beregszaszi2016-10-251-2/+2
| | |
| * | LLL: document optimise flagAlex Beregszaszi2016-10-251-0/+1
| | |
* | | Merge pull request #1281 from ethereum/bumpversionchriseth2016-10-253-3/+9
|\ \ \ | | | | | | | | Version bump for develop.
| * | | Version bump for develop.chriseth2016-10-253-3/+9
|/ / /
* | | Merge pull request #1280 from ethereum/updatechangelogchriseth2016-10-251-3/+3
|\ \ \ | | | | | | | | Update changelog for release.
| * | | Update changelog for release.chriseth2016-10-251-3/+3
|/ / /
* | | Merge pull request #1155 from ethereum/suggestcorrectversionchriseth2016-10-252-7/+28
|\ \ \ | |/ / |/| | Suggest correct version for pragma.
| * | Suggest correct version for pragma and complain about pre-release version.chriseth2016-10-252-7/+28
|/ /
* | Merge pull request #1279 from ethereum/semver-helperchriseth2016-10-251-0/+6
|\ \ | | | | | | Export major/minor/patch helpers on SemVerVersion
| * | Export major/minor/patch helpers on SemVerVersionAlex Beregszaszi2016-10-251-0/+6
| | |
* | | Merge pull request #1264 from ethereum/988chriseth2016-10-256-10/+150
|\ \ \ | | | | | | | | State variable under contract's name
| * | | analysis: determine if a member access on a contract is an l-valueYoichi Hirai2016-10-251-0/+5
| | | |
| * | | test: add more tests about state variable access under base contract namesYoichi Hirai2016-10-251-2/+35
| | | |
| * | | test: add tests from #988Yoichi Hirai2016-10-242-0/+79
| | | |
| * | | Changelog: add a point about fixing #988Yoichi Hirai2016-10-241-1/+2
| | | |
| * | | codegen: refactor common codeYoichi Hirai2016-10-242-20/+15
| | | |
| * | | codegen: if a member access has been resolved as a variable, follow thatYoichi Hirai2016-10-241-0/+12
| | | | | | | | | | | | | | | | This fixes at least the first example in #988
| * | | test: add a test case for accessing a state variable under the contract's nameYoichi Hirai2016-10-241-0/+15
| | | | | | | | | | | | | | | | The test comes from the description of #988
* | | | Merge pull request #1273 from ethereum/chriseth-patch-1chriseth2016-10-251-0/+1
|\ \ \ \ | |_|/ / |/| | | Re-added accidentally deleted changelog entry
| * | | Re-added accidentally deleted changelog entrychriseth2016-10-251-0/+1
|/ / /
* | | Merge pull request #1266 from ethereum/fixcrashchriseth2016-10-246-15/+62
|\ \ \ | |/ / |/| | Fix a crash related to invalid number literals.
| * | More checks for missing mobile type.chriseth2016-10-245-12/+46
| | |
| * | Test.chriseth2016-10-241-3/+16
|/ /
* | Merge pull request #1271 from wingyplus/iss-781chriseth2016-10-241-26/+0
|\ \ | | | | | | Remove non-solidity exceptions
| * | Remove non-solidity exceptionsThanabodee Charoenpiriyakij2016-10-231-26/+0
| | | | | | | | | | | | | | | | | | Most exceptions and some errorinfos in 'libdevcore' are not be used. Close #781
* | | Merge pull request #1263 from ethereum/1116chriseth2016-10-243-1/+49
|\ \ \ | | | | | | | | Do not push code for `L` in `L.Foo`, an enum Foo defined in a library L
| * | | Changelog: add a comment about fixing #1116Yoichi Hirai2016-10-241-0/+1
| | | |
| * | | codegen: skip contract L for L.Foo where Foo is a typeYoichi Hirai2016-10-241-1/+6
| | | | | | | | | | | | | | | | Fixes #1116
| * | | test: add a test about using an inherited enum definition as an expression,Yoichi Hirai2016-10-241-0/+42
| | | | | | | | | | | | | | | | with an explicit mention of the base contract. The test is about #1131.
* | | | Merge pull request #1270 from ethereum/optimise-eq0chriseth2016-10-241-0/+1
|\ \ \ \ | |/ / / |/| | | Optimise the PUSH 0, EQ case as ISZERO
| * | | Optimiser the PUSH 0, EQ case as ISZEROAlex Beregszaszi2016-10-231-0/+1
| |/ /
* | | Merge pull request #1251 from ethereum/fixthrowchriseth2016-10-243-7/+19
|\ \ \ | | | | | | | | Fix crash in throw.
| * | | Changelog entry.chriseth2016-10-241-6/+6
| | | |
| * | | Fix crash in throw.chriseth2016-10-242-1/+13
|/ / /
* | | Merge pull request #1240 from ethereum/1151chriseth2016-10-243-1/+23
|\ \ \ | | | | | | | | ast: super contract type does not contain native members
| * | | Changelog: add an entry about super.x lookupYoichi Hirai2016-10-201-0/+1
| | | |
| * | | ast: simplifications suggested by @chrisethYoichi Hirai2016-10-201-7/+4
| | | |
| * | | When a contract type is super, its members do not contain the functions of ↵Yoichi Hirai2016-10-201-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | itself Fixes #1151
| * | | Add a test for #1151Yoichi Hirai2016-10-201-0/+17
| | | |
* | | | Merge pull request #1267 from ethereum/optimizerchriseth2016-10-242-2/+5
|\ \ \ \ | |_|/ / |/| | | Optimizer: generate code starting with empty state
| * | | Optimizer: generate code starting with empty statechriseth2016-10-222-2/+5
|/ / /
* | | Merge pull request #1243 from ethereum/1131chriseth2016-10-214-0/+88
|\ \ \ | | | | | | | | Add enums as inheritable members
| * | | test: add a test about accessing an enum member without the name of the enumYoichi Hirai2016-10-211-0/+15
| | | |
| * | | ast: add a null checkYoichi Hirai2016-10-211-0/+1
| | | |
| * | | Changelog: add a point about #1243Yoichi Hirai2016-10-211-0/+1
| | | |
| * | | ast: ContractDefinition::inheritableMembers contains enums as well as structsYoichi Hirai2016-10-211-0/+3
| | | | | | | | | | | | | | | | This fixes #1131
| * | | test: add tests for #1131Yoichi Hirai2016-10-212-0/+68
|/ / / | | | | | | | | | The tests are about enum inheritance.
* | | Merge pull request #1261 from ethereum/inline-assembly-in-modifierschriseth2016-10-214-1/+75
|\ \ \ | |_|/ |/| | Fix inline assembly variable access within modifiers
| * | Add tests for inline assembly in modifiersAlex Beregszaszi2016-10-212-0/+73
| | |
| * | Add changelog entryAlex Beregszaszi2016-10-211-0/+1
| | |
| * | Support variable references within modifiers for inline assemblyAlex Beregszaszi2016-10-211-1/+1
|/ /
* | Merge pull request #1224 from ethereum/inline-assembly-stack-warningAlex Beregszaszi2016-10-216-9/+59
|\ \ | | | | | | Issue inline assembly stack warning if not balanced
| * | Add two test cases for unbalanced inline assemblyAlex Beregszaszi2016-10-201-0/+28
| | |
| * | Allow warnings for inline assembly blockAlex Beregszaszi2016-10-202-2/+2
| | |
| * | Issue warnings if stack is not balanced after inline assembly blockAlex Beregszaszi2016-10-201-2/+24
| | |
| * | Mention in changelogAlex Beregszaszi2016-10-201-0/+1
| | |
| * | Use warning function in TypeCheckerAlex Beregszaszi2016-10-201-5/+4
| |/
* | Merge pull request #1254 from ethereum/appveyorPaweł Bylica2016-10-201-0/+4
|\ \ | |/ |/| AppVeyor: build only pushes to master and develop branch
| * AppVeyor: build only pushes to master and develop branchPaweł Bylica2016-10-201-0/+4
|/ | | | This fixes the issue when PRs from a branch in main repo are built twice.
* Merge pull request #1034 from ethereum/shift-constantschriseth2016-10-204-0/+113
|\ | | | | Shift constants (<< and >>)
| * Add constant shift to the changelogAlex Beregszaszi2016-10-201-0/+1
| |
| * Use >> (SAR) to denote constant shiftsAlex Beregszaszi2016-10-201-1/+3
| |
| * Add tests for constant shiftsAlex Beregszaszi2016-10-202-0/+84
| |
| * Reject negative shifts within constantsAlex Beregszaszi2016-10-201-4/+8
| |
| * Support shifting constantsRJ2016-10-201-0/+22
|/
* Merge pull request #1182 from ethereum/inline-assembly-magic-variablesAlex Beregszaszi2016-10-203-6/+17
|\ | | | | Disallow magic variables in inline assembly
| * Update Changelog.mdchriseth2016-10-201-9/+8
| |
| * Disallow unsupported RValues in inline assemblyAlex Beregszaszi2016-10-201-4/+2
| |
| * Add tests for magic variables in inline assemblyAlex Beregszaszi2016-10-201-0/+7
| |
| * Disallow magic variables in inline assemblyAlex Beregszaszi2016-10-202-0/+7
|/
* Merge pull request #1220 from ethereum/doc-updateschriseth2016-10-198-195/+84
|\ | | | | Documentation updates
| * Mapping-in-mapping can have accessors tooAlex Beregszaszi2016-10-191-0/+3
| |
| * Explain accessors on arraysAlex Beregszaszi2016-10-191-0/+3
| |
| * FAQ: remove address(this) section (already explained elsewhere)Alex Beregszaszi2016-10-191-12/+0
| |
| * FAQ: remove event section (already explained elsewhere)Alex Beregszaszi2016-10-191-9/+0
| |
| * Merge the constructor sectionsAlex Beregszaszi2016-10-192-23/+3
| |
| * Mention why Homestead was different for librariesAlex Beregszaszi2016-10-191-1/+1
| |
| * FAQ: remove visibility section (already explained elsewhere)Alex Beregszaszi2016-10-191-23/+0
| |
| * FAQ: remove create example (already explained elsewhereAlex Beregszaszi2016-10-191-10/+0
| |
| * Merge the documentation about mappingsAlex Beregszaszi2016-10-192-46/+27
| |
| * Document constant functionsAlex Beregszaszi2016-10-192-17/+24
| |
| * FAQ: remove removal of external accountsAlex Beregszaszi2016-10-192-6/+2
| |
| * Improve the description of SolidityAlex Beregszaszi2016-10-192-11/+7
| |
| * FAQ: remove modifier sectionAlex Beregszaszi2016-10-191-8/+0
| |
| * FAQ: remove compilation sectionAlex Beregszaszi2016-10-191-13/+0
| |
| * Merge the selfdestruct sectionsAlex Beregszaszi2016-10-192-12/+9
| |
| * Update changelog linkAlex Beregszaszi2016-10-191-1/+1
| |
| * Minor documentation fixesAlex Beregszaszi2016-10-193-3/+4
|/
* Merge pull request #1194 from ethereum/bound-functionschriseth2016-10-194-3/+33
|\ | | | | Proper type checking for bound functions
| * Omit non-convertible bound functionsAlex Beregszaszi2016-10-191-1/+2
| |
| * Ensure that bound functions cannot be defined without self typeAlex Beregszaszi2016-10-193-2/+12
| |
| * Add test case for bound types without selfAlex Beregszaszi2016-10-191-0/+19
| |
* | Merge pull request #1225 from wincinderith/import-remap-docschriseth2016-10-191-1/+4
|\ \ | | | | | | Add import remapping documentation to `solc --help`
| * | Add import remapping documentation to `solc --help`Kevin Boxhoorn2016-10-151-1/+4
| | | | | | | | | | | | | | | Derived from the docs found [here](https://solidity.readthedocs.io/en/develop/miscellaneous.html#using-the-commandline-compiler). Fixes #1207.
* | | Merge pull request #1223 from ethereum/solc-bin-publishchriseth2016-10-191-3/+12
|\ \ \ | |_|/ |/| | Change solc-bin publish script to support npm
| * | Simplify publish scriptAlex Beregszaszi2016-10-151-2/+4
| | |
| * | Change solc-bin publish script to support npmAlex Beregszaszi2016-10-151-1/+8
| |/
* | Merge pull request #1244 from ethereum/1242chriseth2016-10-193-0/+11
|\ \ | | | | | | `super`'s size on stack is zero
| * | Changelog: Add a point about fixing #1242Yoichi Hirai2016-10-181-0/+1
| | |
| * | `super`'s size on stack is zero, because the expression compiler does not ↵Yoichi Hirai2016-10-181-0/+1
| | | | | | | | | | | | | | | | | | push an address. This is different from `this`, which is translated to `ADDRESS` instruction.
| * | Add a test for #1242Yoichi Hirai2016-10-181-0/+9
| | | | | | | | | | | | This is about `super` as an expression.
* | | Merge pull request #1228 from ethereum/lll-units-parserchriseth2016-10-192-7/+5
|\ \ \ | |/ / |/| | LLL: move broken parsing of Ethereum subunits to macros
| * | LLL: add Ethereum subunit macrosAlex Beregszaszi2016-10-151-0/+4
| | |
| * | LLL: remove Ethereum subunits from the parserAlex Beregszaszi2016-10-151-7/+1
| |/
* | Merge pull request #1239 from LefterisJP/contract_endowment_solidity_040chriseth2016-10-181-2/+4
|\ \ | | | | | | Docs: Change contract init with value section to be solc 0.4.0 compatible.