Commit Graph

17077 Commits

Author SHA1 Message Date
chriseth
7ea3d950d7 Allow calling internal functions of libraries.
Internal functions of libraries can be called as if the library were a
base contract of the calling contract. As the calling convention for
internal functions is to not create a new call context, the code of
these functions will be pulled into the context of the caller,
duplicating their code. This might pull in code of further internal or
even private functions.

The use case for such functions is to allow libraries which can operate
on memory types such that these types can also be modified in place.
2016-05-03 22:41:18 +02:00
Liana Husikyan
aa4dcbb88c Merge pull request #536 from chriseth/determinism
Remove non-determinism in missing code queue.
2016-05-03 15:36:01 +02:00
chriseth
652bc583c0 Remove non-determinism in missing code queue. 2016-05-03 01:14:26 +02:00
ssonicblue
943e27a1c3 Minor grammatical edit 2016-05-01 11:41:49 +08:00
Bob Summerwill
bee80f1d81 Merge pull request #528 from rainbeam/use-add_exe-wrapper
Use add exe wrapper for solc, soltest, lllc
2016-04-30 21:21:03 -04:00
rainbeam
1940c9a362 wrap soltest add_executable
Allows static linking.
2016-05-01 01:29:38 +01:00
rainbeam
eb20841740 wrap solc add_executable
Allows static linking.
2016-05-01 00:43:16 +01:00
rainbeam
76473808b4 wrap lllc add_executable
Allows static linking.
2016-05-01 00:43:03 +01:00
chriseth
dd4300d5b8 Merge pull request #514 from chriseth/sourceLoc
Source location for inline assembly.
2016-04-22 19:28:28 +02:00
chriseth
8704dd0f7f Windows fix. 2016-04-21 16:13:39 +02:00
ssonicblue
5a1f892361 Update natspec summary in layout-of-source-files.rst
Update the summary on natspec comments for clarity in what they do and how they should be used.
2016-04-20 19:53:36 +08:00
chriseth
ed9da5171b Source location for inline assembly. 2016-04-19 18:35:21 +02:00
chriseth
81ae2a7832 Version change. 2016-04-18 17:33:11 +02:00
Bob Summerwill
7ba6c98e5f Merge pull request #507 from chriseth/sealEngine
Explicitly init seal engine.
2016-04-15 15:06:32 -04:00
Bob Summerwill
c9ed7facba Merge pull request #506 from chriseth/fixconstructor
Bugfix for static arrays in constructor parameter list.
2016-04-15 14:26:46 -04:00
chriseth
d77a13878a Explicitly init seal engine. 2016-04-15 20:16:07 +02:00
chriseth
b125090208 Bugfix: static arrays in constructor arguments 2016-04-15 18:42:44 +02:00
chriseth
c126ec84a3 Test for bug in static array constructor argument decoder. 2016-04-15 18:42:44 +02:00
Bob Summerwill
5c3b41afb0 Merge pull request #505 from chriseth/fixdelete
Fix for bug about deleting dynamic array of structs
2016-04-15 11:48:09 -04:00
chriseth
35ffcac35b Fix for bug about deleting dynamic array of structs. 2016-04-15 16:49:59 +02:00
chriseth
82175fbd2b Test for bug when deleting dynamic array of structs. 2016-04-15 16:49:26 +02:00
chriseth
9137506a15 Merge pull request #497 from redsquirrel/doc-tiny-fixes
Doc tiny fixes
2016-04-13 13:23:49 +02:00
Bob Summerwill
3ad5e821f2 Merge pull request #491 from winsvega/sealengines
sealengines throught init function
2016-04-12 10:33:59 -07:00
Bob Summerwill
539b392a6d Merge pull request #496 from chriseth/removelog
Remove log.h from solidity.
2016-04-11 21:50:05 -07:00
Dave Hoover
9af44f457c Typo fix 2016-04-11 22:53:26 -05:00
Dave Hoover
66c8c15a7f Tiny fix 2016-04-11 22:53:05 -05:00
chriseth
6f54b13d7a Remove log.h from solidity. 2016-04-12 01:03:46 +02:00
Dimitry
24120a726c sealengines throught init function 2016-04-11 14:24:11 +04:00
chriseth
054bc2a6ac Merge pull request #483 from bobsummerwill/conditional_tests
Added missing CMake conditional around the Solidity tests.
2016-04-07 07:38:50 +02:00
Bob Summerwill
debf9ff5b8 Added missing CMake conditional around the Solidity tests. 2016-04-06 14:47:38 -07:00
Bob Summerwill
aa5ac41dff Merge pull request #482 from chriseth/rmethcore
Make solidity independent from ethcore.
2016-04-06 16:29:51 -03:00
chriseth
f227050c20 Make solidity independent from ethcore. 2016-04-06 20:56:00 +02:00
chriseth
193b1c940c Merge pull request #475 from chriseth/byteasm
Allow "byte" in inline assembly.
2016-04-06 16:40:20 +02:00
winsvega
737623cd0c Merge pull request #471 from winsvega/libevmcore
move libevmcore to solidity
2016-04-06 14:54:18 +04:00
chriseth
26a91109a7 Allow "byte" in inline assembly. 2016-04-06 12:31:31 +02:00
chriseth
12797ed6c9 Merge pull request #473 from AlwaysBCoding/patch-2
Update installing-solidity.rst
2016-04-05 14:11:46 +02:00
Dimitry
d2cee6f9c6 reduce unnecessary solidity:: namespace 2016-04-04 15:41:35 +04:00
Dimitry
d43d4347bf return instructionInfo style 2016-04-04 15:27:09 +04:00
Dimitry
9816510065 enable solidity test 2016-04-04 15:18:24 +04:00
Jordan Leigh
4b709f1bdd Update installing-solidity.rst
The brew install boost --c++11 command failed for me due to an outdated version of Node.js.

`brew upgrade` fixed this. I think it should be in the documentation to reduce the number of errors on install
2016-04-02 18:07:25 -07:00
Dimitry
858c41260d rename namespace for instruction.h/cpp in libevmasm 2016-04-02 15:56:43 +03:00
Dimitry
ccbd3ff63f move libevmcore to solidity 2016-04-01 23:11:01 +03:00
Bob Summerwill
c492d9be00 Merge pull request #470 from chriseth/redundancy
Remove code duplication in source references formatter.
2016-03-31 20:31:15 -03:00
chriseth
285fdf3b0a Merge pull request #457 from VoR0220/tokenNameAndStringFix
Fix for Token::name and token::toString
2016-04-01 01:08:59 +02:00
chriseth
ea7325d2d2 Remove code duplication in source references formatter. 2016-04-01 00:54:12 +02:00
VoR0220
3fc67245bf readding conditionals but with slight changes 2016-03-31 12:15:49 -05:00
chriseth
c67926cf2b Merge pull request #469 from chriseth/version
Set version to 0.3.1.
2016-03-31 18:47:56 +02:00
Bob Summerwill
15a4f4d322 Merge pull request #465 from chriseth/fixindexaccess
Clean higher order bits before array index access.
2016-03-31 13:46:35 -03:00
chriseth
33b9545995 Set version to 0.3.1. 2016-03-31 18:45:14 +02:00
Bob Summerwill
9fbd5c3215 Merge pull request #467 from chriseth/fixerrors
Do not use source reference if it is empty.
2016-03-31 13:29:30 -03:00