Commit Graph

1935 Commits

Author SHA1 Message Date
chriseth
e3fe365488
Merge pull request #6312 from ethereum/wip/docs-populus-storage-costs
[DOCS] Add details to storage costs
2019-03-25 11:49:07 +01:00
Chris Ward
7f8957c9ea Change to US spelling 2019-03-25 10:59:49 +01:00
Constantin Kloecker
5936f52aa5
fixed code block display 2019-03-23 11:38:59 +01:00
Alex Beregszaszi
3bc2c35cc4 Support compiling Yul within StandardCompiler 2019-03-22 01:35:16 +00:00
Bhargava Shastry
f7b5a27581 Fixes bug in byte optimization rule and adds tests. 2019-03-21 14:29:06 +01:00
Chris Ward
7075f158e3 Instead update heading 2019-03-18 16:30:23 +01:00
Chris Ward
855555e941 Add mention of initialisation cost of storage 2019-03-18 14:37:47 +01:00
Chris Ward
61be78b42a Adding populus gotcha covering storage costs 2019-03-18 14:20:47 +01:00
chriseth
6d1ed93247 Use stack optimizations. 2019-03-14 15:34:23 +01:00
chriseth
4503180e8e
Merge pull request #6170 from ethereum/docs-table-format
[DOCS] Long table cell formatting fix
2019-03-14 15:25:29 +01:00
Taariq Levack
cacd271ba6
Update introduction-to-smart-contracts.rst
Looks like this was missed in the bump
2019-03-14 14:51:55 +02:00
chriseth
ba9b3d5e95
Merge pull request #6264 from System-Glitch/docs-resources
[DOCS] Add Solidity IDE to resources page
2019-03-13 19:56:46 +01:00
SystemGlitch
d05cb3662c Add Solidity IDE to resources page 2019-03-13 19:18:01 +01:00
Chris Ward
e76bcf25ea Change conditional operator precedence 2019-03-13 16:29:14 +01:00
Chris Ward
c3543b470f Change hyphen to non-breaking hyphen 2019-03-13 14:37:23 +01:00
Christian Parpart
b29bb6ccb1
Merge pull request #6258 from ethereum/prepare056
Prepare 0.5.6 release.
2019-03-13 13:12:17 +01:00
chriseth
9c9053dd49
Merge pull request #6257 from ethereum/docs-testing
Add mention of docs testing to contribution docs
2019-03-13 12:25:34 +01:00
chriseth
addb3603c7 Prepare 0.5.6 release. 2019-03-13 12:05:26 +01:00
chriseth
58a3f3cf68
Merge pull request #6248 from ethereum/shiftopt-fix-overflow
Fixes u256 overflow in logical shift optimization rule and adds tests.
2019-03-13 12:02:33 +01:00
Chris Ward
920f752fec Add mention of docs testing to contribution docs 2019-03-13 12:01:52 +01:00
chriseth
9ccd5dfec3
Merge pull request #6083 from ethereum/docs-shift-clarify
[DOCS] Clarify shift operator
2019-03-13 11:32:58 +01:00
Bhargava Shastry
515fa872c8 Fixes u256 overflow in logical shift optimization rule and adds tests. 2019-03-13 11:19:20 +01:00
Chris Ward
f0f9f5e2f3 Clarify shift operator
Further clarify shift operators

Return infinity

Changes from review

Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Formatting fix
2019-03-13 10:57:17 +01:00
Chris Ward
f11f6ab9d9 Add mention of high s
Mention OpenZeppelin library

Change wording
2019-03-08 15:11:27 +01:00
chriseth
9193fcb99f
Merge pull request #6130 from ethereum/docs-pragma
[DOCS] Updates to Pragma docs
2019-03-06 12:07:17 +01:00
Chris Ward
6dcc368183 Small polish to prgama docs
Fix issues

Reset non-typo
2019-03-06 12:01:50 +01:00
Chris Ward
3f5b5fdb8e Begin polish to import docs
Continue import polish
2019-03-06 11:06:46 +01:00
chriseth
8d401ba936 Update pragmas. 2019-03-05 18:10:09 +01:00
Erik Kundt
d778471ef0 Updates Changelog for 0.5.5 release. 2019-03-05 15:11:37 +01:00
chriseth
9a949c1bda Set default EVM version to Petersburg. 2019-03-04 14:53:00 +01:00
Alex Beregszaszi
cc4598a5ed
Merge pull request #6144 from ethereum/petersburg
Support petersburg in evmVersion
2019-03-04 13:50:50 +00:00
chriseth
0045950924 State that yul optimizer is experimental. 2019-03-04 14:27:52 +01:00
Alex Beregszaszi
ecd246aeb6 Support petersburg in evmVersion 2019-03-04 14:10:41 +01:00
Alex Beregszaszi
efe63d4264 Add type(C).name to the documentation 2019-03-04 12:59:14 +01:00
chriseth
4d10f4b4cf Process and validate standard-json optimizer settings. 2019-03-04 11:40:28 +01:00
Alex Beregszaszi
cf5c13f9c7 Introduce global optimiser settings. 2019-03-04 11:40:28 +01:00
chriseth
f9d1c283b7
Merge pull request #5919 from ethereum/docs-ecrecover
[DOCS] Clarify usage of ecrecover
2019-02-27 17:33:37 +01:00
Chris Ward
0c1affe43e Begin documentation style guide
Add pragma to documentation style guide

Fix formatting and add link

Move docs style guide

Changes from review
2019-02-27 11:48:51 +01:00
chriseth
760e6cc321 More explanation about the "runs" parameter. 2019-02-26 13:14:41 +01:00
Chris Ward
7d7237e935 Start draft update to ecrecover
First draft of ecrecover clarifications

Further clarify

Correct byte error

Correct resurfaced typo

Small changes from further review
2019-02-25 11:59:52 +01:00
David Terry
3a452181a0 correct documentation around contract type conversion 2019-02-19 18:26:09 +01:00
Chris Ward
ef9854d31f Add BSD dependencies
Add BSD instructions

Remove z3 dependency from OpenBSD

Add disclaimer

Generalise build instructions

Update docs/installing-solidity.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Add extra version details
2019-02-18 17:34:17 -07:00
Chris Ward
31bc2ec3d5 Add basic modular contract example
Add link to libraries

Line breaks

Change send method to move

Update docs/examples/modular.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Update docs/examples/modular.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2019-02-15 13:55:38 -07:00
Daniel Kirchner
794e519af8 Update aleth version to 1.5.2. 2019-02-14 12:45:06 +01:00
chriseth
3c075fd740
Merge pull request #5977 from ethereum/enhance_docs
Enhance documentation about usage of `value` and `gas`
2019-02-13 16:03:17 +01:00
Mathias Baumann
8d3f0a16a3 Enhance documentation about usage of value and gas
People might look for information in the members section of the function types chapter.
2019-02-13 11:56:17 +01:00
chriseth
e5e3abf9a1 Fix link 2019-02-13 11:10:25 +01:00
Erik Kundt
1990d7034a Updates Changelog and buglist for the 0.5.4 release. 2019-02-12 12:21:46 +01:00
Chris Ward
b105497d1b Remove Frequently Asked Questions 2019-02-08 08:47:22 +00:00
Alex Beregszaszi
d44bf59192
Merge pull request #5862 from ethereum/packedEncoding
[DOC] Specify packed encoding and add warning.
2019-02-05 16:06:50 +00:00
Chris Ward
779b9986ee Clarify that public prefix only applies to state variables and explain strings. 2019-02-05 16:58:57 +01:00
chriseth
4eb48dd6b7 Specify packed encoding and add warning. 2019-02-05 16:49:24 +01:00
Daniel Kirchner
c4604c0e35 Fix ast in output selection in standard json doc. 2019-02-05 16:33:55 +01:00
Daniel Kirchner
b145934fdb Improve examples in standard json documentation. 2019-02-05 10:29:09 +01:00
Leonardo Alt
61810def3b Fix typo in creationCode docs 2019-01-30 12:54:05 +01:00
Chris Ward
e2642c4d9d Remove initialisation of contract with wei FAQ item 2019-01-30 12:18:38 +01:00
Chris Ward
230e27fd62 Remove FAQ Item 2019-01-28 14:49:21 +01:00
Chris Ward
c33fc2e114 Remove web3 return FAQ item 2019-01-28 14:12:16 +01:00
chriseth
aaf620621f
[DOCS] Fix mention of commandline parameter. 2019-01-22 18:36:26 +01:00
Chris Chinchilla
0a1ec5023a
Merge pull request #5799 from ethereum/faq-strings
[DOCS] Move string manipulation FAQ items to type docs
2019-01-22 16:49:45 +02:00
Chris Ward
9a8882c9fc Move string manipulation FAQ items to type docs
Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Fixed formatting

Re-add example

Clarify text

Rearrange string manipulation
2019-01-22 13:57:54 +02:00
Chris Ward
96fae0c220 Move FAQ item about truncation checks
Move warning

Updates from feedback

Link to security note and fix link rendering

Move solution to security docs and turn warning to a warning
2019-01-22 13:54:58 +02:00
chriseth
43fb38a84e Update changelog for release. 2019-01-22 09:04:18 +01:00
chriseth
8f694d5119
Merge pull request #5796 from ethereum/faq-send-payable
[DOCS] Merge payable FAQ item
2019-01-21 14:56:50 +01:00
Alex Beregszaszi
ad20e14c8e
Merge pull request #5827 from ethereum/idio-memory-array
[DOCS] Further clarify in-memory arrays
2019-01-21 12:29:19 +00:00
Chris Chinchilla
da73e25398
Merge pull request #5797 from ethereum/faq-array-pass
[DOCS] Remove copy between contracts FAQ item
2019-01-21 12:57:01 +02:00
Chris Ward
a1df27ae3d Merge payable FAQ item 2019-01-21 12:37:08 +02:00
Chris Ward
f39993ced6 Readd example 2019-01-21 12:33:11 +02:00
Chris Ward
f4130d7910 Further clarify in-memory arrays 2019-01-20 19:11:24 +02:00
Evan Saulpaugh
bda0bc8f08
improve packed encoding test vector
packed byte length of ints now unambiguously shown to be type-dependent, not value dependent e.g. uint16(0x03) is 0x0003 not 0x03
2019-01-18 02:30:15 -06:00
chriseth
2ec997e697
Merge pull request #5775 from ethereum/codeAccess
Provide access to code of contract types.
2019-01-18 00:16:06 +01:00
Tomek Kopczynski
369a368a3f Remove unnecessary word 2019-01-17 21:59:31 +01:00
chriseth
01ad4bffe7 Documentation. 2019-01-17 20:36:48 +01:00
Chris Chinchilla
72c2100164
Merge pull request #5800 from ethereum/wip/faq-call
[DOCS] Add call warning into main docs and remove FAQ item
2019-01-17 11:31:46 +02:00
Erik Kundt
5279f9f03b
Update docs/units-and-global-variables.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2019-01-17 10:19:16 +02:00
Chris Chinchilla
6841d78896
Merge pull request #5801 from ethereum/idio-contract
[DOCS] Mention that there is no Cron in Ethereum
2019-01-17 10:15:48 +02:00
Chris Ward
131e23100c Mention that there is no Cron in Ethereum 2019-01-16 17:39:29 +02:00
Chris Ward
eab9e58e7e Add call warning into main docs and remove FAQ item 2019-01-16 17:11:23 +02:00
Chris Ward
816e23c7f6 Remove FAQ Item 2019-01-16 14:57:31 +02:00
Chris Ward
b58a6a4a04 Remove FAQ item 2019-01-16 14:50:50 +02:00
Daniel Kirchner
4c8f8e9491 Disallow mismatching types in switch cases and detect duplicates by value for number literals. 2019-01-15 16:32:21 +01:00
Chris Ward
0010371a93 Split micropayments example into seperate file 2019-01-14 23:55:17 +01:00
chriseth
af12697dda
Merge pull request #5785 from ethereum/docs-split-safe-remote
[DOCS] Split safe remote example into new file
2019-01-14 23:51:55 +01:00
chriseth
7911efb24c
Merge pull request #5784 from ethereum/docs-split-blind-auction
[DOCS] Split blind auction example into seperate doc
2019-01-14 23:50:43 +01:00
Chris Ward
18cceba81f Split functions docs 2019-01-14 16:34:35 +01:00
chriseth
2d4951edf7
Merge pull request #5790 from ethereum/faq-explicit-conversion
[DOCS] Remove explicit conversion FAQ item, covered elsewhere
2019-01-14 14:13:07 +01:00
chriseth
185d221909
Merge pull request #5788 from ethereum/remove-rnd-faq
[DOCS] Remove FAQ item on random number generation
2019-01-14 14:12:35 +01:00
chriseth
d5d90850b4
Merge pull request #5789 from ethereum/waq-multid-array
[DOCS] Remove Multi-dimensional array FAQ
2019-01-14 14:12:10 +01:00
Chris Ward
f4ee72494f Remove explicit conversion FAQ item, covered elsewhere 2019-01-14 14:29:07 +02:00
Chris Ward
b49f6781ef Remove Multi-dimensional array FAQ 2019-01-14 14:25:03 +02:00
Chris Ward
dbe88755af Remove random FAQ item 2019-01-14 14:14:39 +02:00
Chris Chinchilla
dea9999f47
Merge pull request #5770 from ethereum/docs-split-mapping-types
[DOCS] Split mapping types into new file
2019-01-14 11:55:48 +02:00
Chris Ward
620cbdc800 Split conversion sections into new doc 2019-01-14 11:00:53 +02:00
Chris Ward
29088c4f48 Split mapping types into new file 2019-01-14 10:58:10 +02:00
Chris Ward
ea47e382ba Split safe remote example into new file 2019-01-14 10:45:08 +02:00
Chris Ward
7bc1f1a4a3 Split blind auction example into seperate doc 2019-01-14 10:36:47 +02:00
Chris Ward
06ca903b37 Split voting example into seperate file 2019-01-14 09:41:10 +02:00
William Entriken
52fd20e98c Use latest version in code snippets. 2019-01-10 11:34:58 +01:00
Chris Chinchilla
a414e13b7a
Merge pull request #5771 from ethereum/docs-split-operators
[DOCS] Split operators involving LValues into new doc
2019-01-10 10:44:33 +01:00
Chris Chinchilla
31033fb473
Merge pull request #5769 from ethereum/docs-split-reference-types
[DOCS] Split Reference types doc into new file
2019-01-10 10:41:43 +01:00