chriseth
e6b6e27bd7
Some more tests.
2016-05-03 22:48:53 +02:00
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
chriseth
652bc583c0
Remove non-determinism in missing code queue.
2016-05-03 01:14:26 +02: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
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
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
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
chriseth
6f54b13d7a
Remove log.h from solidity.
2016-04-12 01:03:46 +02: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
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
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
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
chriseth
c67926cf2b
Merge pull request #469 from chriseth/version
...
Set version to 0.3.1.
2016-03-31 18:47:56 +02:00
chriseth
33b9545995
Set version to 0.3.1.
2016-03-31 18:45:14 +02:00
chriseth
4d200e3ee6
Merge pull request #461 from ethereum/mappingStructDocumentation
...
Inner struct mapping copy into a mapping question
2016-03-31 13:08:51 +02:00
chriseth
e31ecc8f77
Do not use source reference if it is empty.
2016-03-31 13:05:41 +02:00
chriseth
2c29492227
Correctly clean higher order bits for index access.
2016-03-31 10:33:45 +02:00
chriseth
98b686c672
Test to check we correctly clean higher order bits for index access.
2016-03-31 01:25:45 +02:00
chriseth
2acdfc527e
Merge pull request #464 from chriseth/doctypo
...
Typos in inline assembly documentation.
2016-03-30 18:59:43 +02:00
chriseth
bbfc580423
Typos in inline assembly documentation.
2016-03-30 18:32:39 +02:00
chriseth
9ca29aa508
Merge pull request #430 from chriseth/assembly
...
Inline Assembly
2016-03-30 14:42:05 +02:00
chriseth
b336f6261c
Documentation.
2016-03-30 10:08:09 +02:00
chriseth
f049430723
Code generation (missing external access and source locations).
2016-03-30 02:37:00 +02:00
chriseth
949b00ed59
Parsing for inline assembly.
2016-03-30 02:37:00 +02:00
chriseth
8236732e9a
Merge pull request #458 from ethereum/MappingOfMappingExample
...
Update frequently-asked-questions.rst
2016-03-30 01:45:15 +02:00
chriseth
5dd81360a9
Merge pull request #453 from michaltrzesimiech/patch-1
...
Update structure-of-a-contract.rst
2016-03-29 12:48:40 +02:00
chriseth
dc536004a4
Merge pull request #448 from chriseth/movesol
...
Move evmasm and lll.
2016-03-29 12:09:01 +02:00
chriseth
14d6b0b2d6
Merge pull request #447 from ethereum/Initialize_Contract_with_Wei_call
...
Update frequently-asked-questions.rst
2016-03-26 00:05:54 +01:00
chriseth
79167aa897
Move libevmasm and lll.
2016-03-23 23:10:10 +01:00
chriseth
2c5641a1db
Merge pull request #445 from ssonicblue/patch-1
...
Update style-guide.rst
2016-03-23 12:02:23 +01:00
chriseth
e759a24816
Merge pull request #433 from bobsummerwill/develop
...
Fixed Windows warnings
2016-03-18 11:47:23 +01:00
chriseth
e8bef6fc01
Merge pull request #432 from chriseth/alloc
...
Allocating arrays.
2016-03-18 11:46:08 +01:00
chriseth
a81173be10
Extend example
2016-03-14 15:54:12 +01:00
chriseth
d34b59453a
Clarification
2016-03-14 15:46:55 +01:00
chriseth
c38797fbff
Fix examples.
2016-03-14 15:45:38 +01:00
chriseth
a762694f1d
Allocating arrays.
2016-03-14 15:43:38 +01:00
chriseth
1f9578cea3
Merge pull request #429 from chriseth/keywords
...
Breaking changes for version 0.3.0
2016-03-11 17:53:33 +01:00
chriseth
1bf87c6c2b
Set version to 0.3.0
2016-03-11 17:52:24 +01:00
chriseth
9b00290d74
Remove timestamp again and some fixes for ufixed parsing.
2016-03-11 17:50:09 +01:00
chriseth
299fef0c79
Do not allow value for delegatecall functions.
2016-03-11 17:50:09 +01:00
chriseth
d0bb87ae88
Documentation for delegatecall.
2016-03-11 17:49:59 +01:00
chriseth
e5514becb8
BREAKING: Implement delegatecall and make default for library calls.
2016-03-11 17:49:32 +01:00
chriseth
60a21c6487
Merge pull request #427 from chriseth/intlit
...
Warning about using integer literals in division.
2016-03-11 17:27:16 +01:00
chriseth
62d8be9e21
Warning about using integer literals in division.
2016-03-11 16:44:24 +01:00
chriseth
172beaec5e
Merge pull request #426 from chriseth/optfix
...
Test for optimizer bug caused by not incrementing the sequence counter.
2016-03-11 16:27:15 +01:00
chriseth
3b9969baaa
Test for optimizer bug caused by not incrementing the sequence counter.
2016-03-11 16:14:48 +01:00
chriseth
2fe6037b9b
Increment sequence number for opcodes that can write to memory or storage.
2016-03-11 16:12:34 +01:00
chriseth
ee0ba31c2b
Merge pull request #425 from uberlaufer/patch-1
...
Update contracts.rst
2016-03-11 10:51:45 +01:00
chriseth
34d714f758
Merge pull request #421 from BrainArchitect/patch-1
...
Typo fix.
2016-03-10 15:21:08 +01:00
chriseth
05d30fc7cf
Add delegatecall to the optimizer.
2016-03-03 16:57:23 +01:00
chriseth
32f3a653b6
Merge pull request #407 from MrChico/MrChico-ecrecoverdoc
...
ecrecover takes uint8, not byte
2016-03-02 15:17:13 +01:00
chriseth
02bb315d94
Merge pull request #406 from OlegIakovlev/structure-of-a-contract-visibility-typo-fix
...
[Minor]: typo fix in visibility word
2016-03-01 12:31:55 +01:00
chriseth
8339330ba3
Merge pull request #405 from chriseth/refactorParser
...
Move reusable parser components into base class.
2016-02-22 18:27:05 +01:00
chriseth
94cbf15cfc
Buildfix.
2016-02-22 18:12:58 +01:00
chriseth
968934c05d
Move reusable parser components into base class.
2016-02-22 18:02:29 +01:00
chriseth
37381072de
Merge pull request #399 from holgerd77/develop
...
Readability improvements and additional code examples for the Solidity docs
2016-02-19 13:16:12 +01:00
chriseth
565d71748b
Merge pull request #401 from VoR0220/elementaryTypeToken
...
Elementary type token
2016-02-18 19:25:44 +01:00
chriseth
fca27b9ea0
Merge pull request #400 from LianaHus/sol_style_fixes
...
style fixes
2016-02-18 16:53:12 +01:00
chriseth
ef92f5661b
Merge pull request #398 from chriseth/version
...
Update version to 0.2.2
2016-02-17 17:33:20 +01:00
chriseth
d3bb5d01da
Update version to 0.2.2
2016-02-17 17:32:41 +01:00
chriseth
a14185a5cb
Merge pull request #392 from chriseth/fixsegfault
...
Fixsegfault
2016-02-13 01:24:40 +01:00
chriseth
4a837169c5
Fix segfault when using wrong number of constructor arguments.
2016-02-11 17:12:30 +01:00
chriseth
23074150f4
Test for segfault when using wrong number of constructor arguments.
2016-02-11 17:12:28 +01:00
chriseth
c6c3c78327
Merge pull request #382 from chriseth/bytesIndex
...
Index access for bytesXX.
2016-02-11 14:09:53 +01:00
chriseth
13732aed12
Documentation.
2016-02-09 17:07:04 +01:00
chriseth
29faf1b298
Index access for bytesXX.
2016-02-09 17:07:04 +01:00
chriseth
fad2d4df22
Merge pull request #380 from 4tXJ7f/patch-1
...
[Documentation] Include correct dev package
2016-02-03 22:34:44 +01:00
chriseth
91a6b35f18
Merge pull request #378 from chriseth/version
...
Increment version to 0.2.1
2016-01-30 16:40:13 +01:00
chriseth
d4bb71afee
Increment version to 0.2.1
2016-01-30 16:05:51 +01:00
chriseth
b5489de1f0
Merge pull request #376 from chriseth/nobreakout
...
Only allow including from allowed directories.
2016-01-30 15:37:28 +01:00
chriseth
02161b29b8
documentation
2016-01-29 23:17:43 +01:00
chriseth
0c5d892dba
Only allow including from allowed directories.
2016-01-29 23:11:16 +01:00
chriseth
bdbb7d8a40
Merge pull request #370 from chriseth/redirects
...
Path remappings for solc.
2016-01-28 17:05:12 +01:00
chriseth
06cf19515c
Merge pull request #372 from chriseth/readcallback
...
Read files via callback.
2016-01-28 17:04:12 +01:00
chriseth
a5e815f8d4
Merge pull request #374 from ethereum/chriseth-patch-2
...
Add a link to the ethereum stackexchange.
2016-01-28 15:33:52 +01:00
chriseth
bdfd8a6e07
Update index.rst
2016-01-27 18:06:41 +01:00
chriseth
873f961bf4
Add a link to the ethereum stackexchange.
2016-01-27 18:04:30 +01:00
chriseth
ebc1dce073
Read files via callback.
2016-01-26 23:25:07 +01:00
chriseth
9b9d10b4a8
Merge pull request #369 from chriseth/fixuint176
...
Fix uint176 problem.
2016-01-26 12:24:56 +01:00
chriseth
33b02a0d1b
Fix uint178 problem.
2016-01-25 21:05:13 +01:00
chriseth
92e8c9aec9
Document remappings
2016-01-25 21:02:06 +01:00
chriseth
db2f3c5714
Provide remappings for solc.
2016-01-25 21:01:55 +01:00
chriseth
194679f77a
Merge pull request #326 from guanqun/cond-expr
...
support conditional expression _ ? _ : _
2016-01-24 21:43:48 +01:00
chriseth
67c855c583
Merge pull request #356 from guanqun/break-not-in-loop
...
check whether break/continue is in the loop
2016-01-20 19:23:23 +01:00
chriseth
d21c4276b3
Merge pull request #351 from chriseth/autoload
...
Automatically load imported files in solc.
2016-01-19 13:14:25 +01:00
chriseth
02340e8464
Merge pull request #358 from chriseth/fix_storage
...
Test for incorrect storage access.
2016-01-18 14:16:44 +01:00
chriseth
96ea3c63f3
Fix: Copy empty state.
2016-01-18 10:57:03 +01:00
chriseth
0099513cd4
Merge pull request #347 from chriseth/libraryNameClashes
...
Detect library name clashes
2016-01-18 09:24:11 +01:00
chriseth
2c5d045729
Merge pull request #359 from LianaHus/sol_only_one_array_as_state_var
...
fixed ICError when creating EI for structs containing only mapping or arrays
2016-01-18 09:23:21 +01:00
chriseth
a88835bbce
Test for incorrect storage access.
2016-01-15 17:02:37 +01:00
chriseth
1b1b6651cd
Fix sequence number bug.
...
This bug resulted in incorrect storage access in some situations.
The reason was that when intersecting states, the sequence numbers
were not handled and thus some operations with too low
sequence numbers were used during code generation.
2016-01-15 16:34:56 +01:00