Commit Graph

799 Commits

Author SHA1 Message Date
chriseth
937397ed9c Merge pull request #2122 from nrchandan/patch-1
Update common-patterns.rst
2017-04-18 14:55:36 +02:00
chriseth
6ad7dcffce Merge pull request #2119 from ethereum/bugList
List of known bugs.
2017-04-18 13:48:53 +02:00
chriseth
82628a80cc Merge pull request #2125 from abrahamsangha/fix-typo-solidity-by-example
minor: fix formatting and grammar
2017-04-18 12:36:00 +02:00
chriseth
d093f42eb6 Merge pull request #2127 from morgansliman/patch-1
Update contracts.rst
2017-04-18 12:34:36 +02:00
chriseth
fd109bbe6f Update bugs.rst 2017-04-18 12:20:39 +02:00
chriseth
11d30ec04f Some changes after review. 2017-04-18 11:40:00 +02:00
Morgan
fb58809c20 Update contracts.rst 2017-04-17 21:41:28 -04:00
Andy Milenius
ab0a0ab05d Update index.rst 2017-04-14 19:01:57 -07:00
Abraham Sangha
98242f5409 minor: fix formatting and grammar 2017-04-14 19:05:53 -06:00
Chandan Kumar
66165ff753 Update common-patterns.rst 2017-04-14 09:27:14 +05:30
chriseth
10c32362ea Prefix all optimizer bug names by Optimizer. 2017-04-12 15:37:06 +02:00
chriseth
feacfcfd20 Typo and more explanation. 2017-04-12 15:35:25 +02:00
chriseth
a7e605a7a1 Create and update bugs by version list. 2017-04-12 15:20:07 +02:00
chriseth
291ece2bdb List of known bugs. 2017-04-12 12:23:34 +02:00
Alex Beregszaszi
92fd66e4b4 Document formattedMessage 2017-04-07 15:37:11 +01:00
Alex Beregszaszi
c22ba03417 Support selecting group of outputs 2017-04-07 15:34:38 +01:00
Alex Beregszaszi
fea26bc4ba Rename legacyAssemblyJSON to legacyAssembly 2017-04-07 15:33:13 +01:00
Alex Beregszaszi
b62a6949b5 Move the IR out of the EVM block in JSON IO 2017-04-07 15:32:59 +01:00
Alex Beregszaszi
594f207606 The metadata output is serialised 2017-04-07 15:32:58 +01:00
Alex Beregszaszi
b7368ce067 Fix input selector for evm 2017-04-07 15:32:55 +01:00
Alex Beregszaszi
ded7258b01 Swap key/value of methodIdentifiers 2017-03-30 11:12:14 +01:00
Alex Beregszaszi
f6828fc7c3 Reorder for readiability 2017-03-29 22:23:35 +01:00
Alex Beregszaszi
917175eedc Move opcodes into bytecode/deployedBytecode 2017-03-29 22:21:33 +01:00
Matt Searle
3d30294482 Fix typo in documentation
Spelling mistake
2017-03-28 21:18:35 +13:00
Matt Searle
ca3ceb4de2 Fix typo 2017-03-27 17:19:08 +13:00
Abraham Sangha
602ad1e605 small fixes 2017-03-22 12:57:42 -06:00
Alex Beregszaszi
d5102c1db7 Disallow constructor in interfaces 2017-03-17 17:06:52 +00:00
Alex Beregszaszi
2c4bce2d62 Disallow enums in interfaces 2017-03-17 17:06:52 +00:00
Alex Beregszaszi
3f1468142b Document interfaces 2017-03-17 17:06:51 +00:00
chriseth
58334cf4ac Merge pull request #1787 from ethereum/docs-gasvalue
Document the .value() and .gas() modifiers
2017-03-16 15:52:10 +01:00
Alex Beregszaszi
e7e22c703c Merge pull request #1785 from ethereum/docs-address
Document all address methods in the global variables section
2017-03-16 12:46:26 +00:00
Alex Beregszaszi
17443f458a Explain that .value() is only available if contract function is marked payable 2017-03-16 12:37:18 +00:00
Alex Beregszaszi
6ece0d6c2f Document the .value() and .gas() modifiers 2017-03-16 12:37:18 +00:00
Alex Beregszaszi
e34a9600f2 Merge pull request #1791 from ethereum/docs-fixes
Mostly typo fixes in the documentation
2017-03-16 12:22:10 +00:00
chriseth
6ecfcbb686 Merge pull request #1784 from ethereum/docs-remix
Replace references to browser-solidity with Remix
2017-03-16 12:21:32 +01:00
Alex Beregszaszi
b053b6164e Fix typo (recieve to receive) 2017-03-16 11:20:39 +00:00
Alex Beregszaszi
18a37ed799 Document all address methods in the global variables section 2017-03-16 11:17:17 +00:00
Alex Beregszaszi
42f2623cd3 Fix list indentation 2017-03-16 00:43:30 +00:00
Alex Beregszaszi
4c34adb799 Add link to version pragma 2017-03-16 00:43:30 +00:00
Alex Beregszaszi
2d8b0fdc39 Fix inconsistent use of single backticks 2017-03-15 23:41:02 +00:00
Alex Beregszaszi
a0d6ac63cc Replace references to browser-solidity with Remix 2017-03-15 22:58:14 +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
07d775294b Document scientific notation in integer literals 2017-03-15 13:16:16 +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
c65d506811 Documentation update. 2017-03-13 13:30:23 +01:00
chriseth
bdbd3b158e Extend documentation for constant state variables. 2017-03-13 13:30:23 +01:00
chriseth
592cec7e90 Disallow constants that are neither value types nor strings. 2017-03-13 13:30:23 +01:00
chriseth
4077e56a2f Documentation. 2017-03-13 13:30:23 +01:00
Remo Fürst
b5c17d7058 Fix delegation loop in Ballot example contract
fixes #1753
2017-03-08 22:45:27 +01:00
Yoichi Hirai
78f7dd2344 Merge pull request #1750 from ethereum/asmoctal
Disallow octal numbers in parser.
2017-03-08 12:24:22 +01:00
Yoichi Hirai
a1e350a4ae Merge pull request #1699 from ethereum/asmlabels
Assembly labels with stack information
2017-03-08 11:56:44 +01:00
chriseth
bb06569dc6 Disallow octal literals. 2017-03-07 12:34:32 +01:00
chriseth
14c1117098 Add keywords delete and for 2017-03-06 11:34:22 +01:00
Leonid Logvinov
0d8ae4a33a
Add IntelliJ plugin to Solidity integrations 2017-03-05 15:45:28 +01:00
Yoichi Hirai
cfbbd89daf Merge pull request #1702 from ethereum/assertError
Change effect of assert to invalid opcode.
2017-03-03 18:25:50 +01:00
chriseth
8c1d949d1a Remove stack annotations from documentation. 2017-03-03 15:41:02 +01:00
chriseth
c85f9257f8 Clarify stack height. 2017-03-03 15:41:02 +01:00
chriseth
f4f82615b1 Updated documentation. 2017-03-03 15:41:01 +01:00
Alex Beregszaszi
59514d8268 Remove obsolete .send() entry from FAQ 2017-02-24 00:18:18 +00:00
Alex Beregszaszi
c46c68dfd8 Prefer .transfer() over .send() in the documentation 2017-02-24 00:18:18 +00:00
Alex Beregszaszi
a36e2ce0cb Document transfer() 2017-02-24 00:18:18 +00:00
chriseth
4b1e8111cc Remove assert for now. 2017-02-23 19:43:40 +01:00
chriseth
0177d964b1 Merge pull request #1714 from dimorinny/develop
Add lost payable attribute to sample withdrawal pattern contract in docs
2017-02-22 12:05:40 +01:00
Mikko Ohtamaa
c9e4e1d7ca Downgrade instructions for Homebrew Solidity
Because 0.4.9+ causes a lot of havoc, breaking tools
2017-02-22 00:45:15 +02:00
Dmitriy Merkurev
a2f92033e7 add payable attribute 2017-02-21 22:44:18 +03:00
chriseth
811bb770c5 Change effect of assert to invalid opcode. 2017-02-16 15:54:17 +01:00
Alex Beregszaszi
d4da4ef35f Merge pull request #1684 from federicobond/sphinx-highlight
Update the sphinx highlighting rules
2017-02-13 18:38:13 +00:00
Federico Bond
75d59b1adb Update the sphinx highlighting rules 2017-02-13 12:05:03 -05:00
Alex Beregszaszi
28a7b1e019 Document revert() 2017-02-10 22:42:33 +00:00
Alex Beregszaszi
1fcad8b4ab Document revert() 2017-02-10 22:41:09 +00:00
Alex Beregszaszi
fd7ffedead Use different wording for assert 2017-02-10 21:41:40 +00:00
Alex Beregszaszi
39cd2214f2 Document user provided exceptions 2017-02-10 13:31:40 +00:00
Alex Beregszaszi
7f726de1cb Document assert() 2017-02-10 13:29:17 +00:00
Alex Beregszaszi
dc431fe1f6 Simplify the compiler API section (and remove pseudo code) 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
cd81e58e3b Drop the legacy assembly output 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
749db7608b Include language field in the JSON 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
10d3a591d4 Move file into sourceLocation 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
96677cd178 Update the AST output 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
9fa54db7bd Explain every contract output field 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
9fc017d10b Support linkReferences with length specified 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
a3340e210e Error list should have sourceLocation 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
c217bc2dca Updated EVM output 2017-02-08 23:41:48 +00:00
Alex Beregszaszi
4b19f560b8 Make contracts output two-level 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
627a2cec4d Update errors output 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
21a0228485 Include pseudo-code of compiler API 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
d46ec20f88 Change layout and include API, Input, Output sections 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
cbb668672f Add metadata.useLiteralContent option 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
4b5639bf63 Update output selection 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
82c0e4de1d Update settings section 2017-02-08 23:41:47 +00:00
Alex Beregszaszi
6e2cc081ec Update sources definition based on the metadata 2017-02-08 23:40:07 +00:00
Alex Beregszaszi
720cf20855 Place into a code block 2017-02-08 21:53:07 +00:00
Alex Beregszaszi
d9f14e7737 The metadata section has been moved, make only a reference to it 2017-02-08 21:53:07 +00:00
Alex Beregszaszi
559c4c7a45 Update the metadata JSON spec 2017-02-08 21:53:07 +00:00
Alex Beregszaszi
073871c248 Update the metadata JSON spec 2017-02-08 21:53:07 +00:00
Alex Beregszaszi
04089edc4e Add missing fields 2017-02-08 21:53:07 +00:00
Alex Beregszaszi
0b3f1a5378 Describe the ABI output field 2017-02-08 21:53:07 +00:00
Alex Beregszaszi
77b934c861 Update with https://pad.riseup.net/p/7x3G896a3NLA 2017-02-08 21:53:07 +00:00
chriseth
57662e1bf3 Add language and some minor corrections and clarifications. 2017-02-08 21:53:07 +00:00
chriseth
4fccb5fdac Document input description and metadata output. 2017-02-08 21:53:07 +00:00
chriseth
2ac766b18b Merge pull request #1643 from federicobond/patch-1
grammar.txt: Add rule for tuple destructuring
2017-02-08 19:53:23 +01:00
Federico Bond
1fc42d733d grammar.txt: Add rule for tuple destructuring 2017-02-08 12:00:30 -05:00
chriseth
94e5ab1e43 Merge branch 'develop' into docs-version 2017-02-07 12:26:02 +01:00
Alex Beregszaszi
82a512fb2f Add archlinux installation instructions 2017-02-06 18:23:49 +00:00
Alex Beregszaszi
e5e0eae057 Take documentation version numbers from CMake 2017-02-06 16:00:29 +00:00
Alex Beregszaszi
9f9807f95d Remove obsolete esoteric features section 2017-02-03 01:52:18 +00:00
RJ Catalano
60e884b0a3
clarified binaries installation
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-02 18:54:49 -06:00
RJ Catalano
f50caa967c
implement a build script
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-02 18:54:47 -06:00
Alex Beregszaszi
ace583d0a1 Rename accessor to getter 2017-02-03 00:17:21 +00:00
Will White
51a150e82a Other contracts can't write to a public variable
The removed words implied that other contracts can write to a public variable.
2017-02-02 15:19:27 +00:00
Alex Beregszaszi
821314aa27 Explain the difference between solc and solcjs 2017-02-02 11:04:38 +00:00
chriseth
c1a675da4f Merge pull request #1625 from ethereum/asmdocs
Integrate missed changes.
2017-02-01 09:05:20 +01:00
chriseth
a39adc44d4 Integrate missed changes. 2017-01-31 23:31:25 +01:00
chriseth
ffe4ce0891 Version update 2017-01-31 19:37:55 +01:00
Alex Beregszaszi
bfa3b4ca78 Mention invalid in docs 2017-01-27 13:26:40 +00:00
chriseth
bff8fc23e6 Changelog and review suggestions. 2017-01-27 10:18:53 +01:00
chriseth
7660736aa2 Document special case of zero-initialized internal function. 2017-01-26 16:40:24 +01:00
Valentin Wüstholz
5b7cc018f0 Address feedback from code review. 2017-01-26 16:39:07 +01:00
chriseth
f610ba77a4 Simplify length rule. 2017-01-26 13:58:24 +01:00
chriseth
d855eaab13 Documentation. 2017-01-24 23:37:48 +01:00
Yoichi Hirai
c382ce1f6b Merge pull request #1593 from ethereum/identifierRegex
Correct identifier regex
2017-01-23 14:27:53 +01:00
chriseth
7e2e1eb94f Merge pull request #1597 from sarbogast/patch-2
Fix the list of reasons for throwing automatically
2017-01-23 09:32:37 +01:00
Sebastien Arbogast
7ecc8e412d Fix the list of reasons for throwing automatically
Used aut-enumerated list syntax
2017-01-20 22:53:45 +01:00
Sebastien Arbogast
0897e7bcec Fixed typo on contract instance
Fixed the name of the variable referencing a contract instance
2017-01-20 21:52:36 +01:00
chriseth
0b01678bc3 Correct identifier regex 2017-01-20 19:29:43 +01:00
chriseth
ed12b97761 Merge pull request #1574 from ethereum/docs-version
Explain how version numbers are built
2017-01-17 15:34:41 +01:00
Alex Beregszaszi
2bf89776ae Update copyright date in docs 2017-01-17 13:08:22 +00:00
Alex Beregszaszi
592c692bce Mention how our version maps to Semver 2017-01-17 13:01:55 +00:00
Alex Beregszaszi
9f9b7fb6f0 Explain how version numbers are built 2017-01-17 12:39:30 +00:00
Rhett Aultman
6ecb4aa36f Add git submodule init to build instructions (#1569) 2017-01-17 08:14:53 +01:00
Nicola
79e5772b8a Update SolidityLexer.py (#1567)
Added number unit keywords
2017-01-16 10:26:09 +01:00
Nicola
fb5583857a Update SolidityLexer.py
'payable' added as a keyword
2017-01-13 15:40:46 +01:00
chriseth
10c2df8b33 Update version to 0.4.9. 2017-01-13 13:56:55 +01:00
chriseth
bde0b40634 Merge pull request #1479 from ethereum/function_variable_mixin
Disallow mixin of functions and attributes under the same name
2017-01-13 09:36:00 +01:00
Anders Brownworth
5e29b4cde2 Re-word somewhat bumpy sentence to be more clear. 2017-01-11 13:13:11 -05:00
Yoichi Hirai
bd6e65a89c
docs: document the resriction about a function and an event of the same name, and so on 2017-01-11 18:28:11 +01:00
Federico Bond
26eff0e0d8 grammar.txt: Replace Identifier for Typename in NewExpression 2017-01-11 01:35:29 -03:00
Federico Bond
c15b0fb596 grammar.txt: Add named function arguments 2017-01-11 01:33:55 -03:00
Federico Bond
d61b911a3a grammar.txt: Move StorageLocation? up to VariableDeclaration 2017-01-11 01:33:33 -03:00
chriseth
26a90af4d2 Merge pull request #1330 from ethereum/assemblyDef
Assembly definition.
2017-01-10 17:56:58 +01:00
chriseth
ceac5c5a0c Move explanatory sections and other small changes. 2017-01-09 15:15:30 +01:00
chriseth
e92af89ec8 Typos and clarifications. 2017-01-04 12:58:35 +01:00
chriseth
4bc934abce More information about switch, loops and functions. 2017-01-04 12:34:44 +01:00
Yoichi Hirai
9128e73b03
docs: clarify what are considered as absolute paths 2017-01-03 18:18:16 +01:00
chriseth
9683cfea6d Update to new assembly specification. 2017-01-03 15:19:14 +01:00
chriseth
0bd8c204f0 Assembly definition. 2017-01-03 14:13:49 +01:00
chriseth
50c1cfa348 Merge pull request #1527 from federicobond/elementarytypenameconversion
Add ElementaryTypeNameExpression to grammar.txt
2017-01-03 10:36:16 +01:00
chriseth
a45fdf4a0f Merge pull request #1538 from ethereum/multi-keys
doc: rephrase the case when two remapping keys are applicable
2017-01-03 10:30:00 +01:00
chriseth
43a5d11f9a Merge pull request #1526 from federicobond/docs-grammar
Add parsers and grammars to documentation
2017-01-03 09:46:39 +01:00
Yoichi Hirai
c014448397
doc: rephrase the case when two remapping keys are applicable
Fixes #1536
2017-01-02 16:55:29 +01:00