Commit Graph

5113 Commits

Author SHA1 Message Date
RJ Catalano
2738f4066a changed 1 to 0 in invalid argument catch block 2016-03-11 17:49:32 +01:00
RJ Catalano
93114949a3 needed this one string of notation 2016-03-11 17:49:32 +01:00
RJ Catalano
953e92b6f5 added from identifier or keyword handling of fixed types 2016-03-11 17:49:32 +01:00
RJ Catalano
29b74be413 fixed keyword added in for token type 2016-03-11 17:49:32 +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
uberlaufer
770d509af6 Update contracts.rst 2016-03-10 20:55:53 +01:00
uberlaufer
ec3800b28e shortened lines to 79 2016-03-10 20:53:13 +01:00
uberlaufer
ac03a08bec Update contracts.rst
minor grammar and spelling corrections
2016-03-10 19:12:16 +01:00
chriseth
34d714f758 Merge pull request #421 from BrainArchitect/patch-1
Typo fix.
2016-03-10 15:21:08 +01:00
Georgios Paralykidis
858274cb19 Typo fix. 2016-03-08 23:13:34 +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
MrChico
3dbb8ad92a ecrecover takes uint8, not byte 2016-03-02 14:57:09 +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
Oleg Iakovlev
683f01fb22 [Minor]: typo fix 2016-03-01 13:15:20 +02: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
holgerd77
aec2f4879a Added in-depth links to function modifiers, structs and enums in structure section 2016-02-19 12:05:56 +01:00
holgerd77
448d1601ce Name-spacing the structure reference links for not being confused with the globally probably more used in-depth links 2016-02-19 11:47:16 +01:00
holgerd77
acee4b7040 Added in-depth links for further reading to the state variable, function and function modifier overview in the structure section 2016-02-19 11:30:00 +01:00
holgerd77
6640e9e918 Changed reference naming from understore to dash separation for consistency with existing naming 2016-02-19 11:03:30 +01:00
chriseth
565d71748b Merge pull request #401 from VoR0220/elementaryTypeToken
Elementary type token
2016-02-18 19:25:44 +01:00
RJ Catalano
9b67969fd6 further optimization, splitting function into pieces
generating strings on the fly, changed name, and added two tests
2016-02-18 11:23:00 -06:00
RJ Catalano
d2c0712f36 added const correctness to extract functions in Token
optimizations added in

more elegant solution created for m declaration

ubuntu wants to get rid of 0 <= first statement...so I will

change returnToken to token
2016-02-18 11:22:58 -06:00
RJ Catalano
84f2eb461b added two functions in Token to handle long identifiers, redid fromIdentifierOrKeyword, and made complementary changes in scanner and parser 2016-02-18 11:22:58 -06:00
RJ Catalano
f4da126018 tests added and changes made
fixed some silly problems in Token.cpp

windows error fix
2016-02-18 11:22:56 -06:00
RJ Catalano
7b918a7bc7 changes to redefine the token list, the scanner, and the parser and how they pass around variable types of different sizes
not ready for change to FixedPoint just yet

made this more const correct and added a switch statement for easier reading
2016-02-18 11:22:52 -06:00
chriseth
fca27b9ea0 Merge pull request #400 from LianaHus/sol_style_fixes
style fixes
2016-02-18 16:53:12 +01:00
LianaHus
5fb8953003 style fixes 2016-02-18 13:29:20 +01:00
holgerd77
2e52170d7a Added examples, references to structure section 2016-02-18 11:45:15 +01:00
holgerd77
688313cc51 Comment code examples 2016-02-18 11:08:20 +01:00
holgerd77
0e44481b0f Code blocks for compiler use section 2016-02-18 11:00:33 +01:00
holgerd77
9904dc386d Use code blocks for import syntax explanations for better readability 2016-02-18 10:34:23 +01:00
holgerd77
18997bf83a Added docs/utils/__pycache__ to .gitignore when building docs with Python 3 2016-02-18 10:27:14 +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
RJ
7b5d96c43b Update frequently-asked-questions.rst
Correcting inline array documentation
2016-02-10 10:53:08 -06:00
RJ
543cc33681 Update frequently-asked-questions.rst 2016-02-10 10:45:46 -06:00