Commit Graph

966 Commits

Author SHA1 Message Date
Alex Beregszaszi
9e8d2a561f Update grammar with view 2017-08-22 18:24:22 +01:00
Alex Beregszaszi
efe4d68a7b Introduce view (and keep constant as an alias) 2017-08-22 18:24:22 +01:00
Alex Beregszaszi
8025ac180f Add missing keywords to documentation lexer 2017-08-16 21:24:20 +01:00
Alex Beregszaszi
d5f01460f9 Allow constant modifier on state variables in grammar 2017-08-16 21:22:59 +01:00
Alex Beregszaszi
47b6aa1f5b Update grammar to reflect state mutability 2017-08-16 21:19:09 +01:00
Alex Beregszaszi
247ed0de30 Merge pull request #2654 from ethereum/docs-fixed
Update grammar/docs for current fixed point types
2017-08-16 19:51:37 +01:00
Alex Beregszaszi
09ef3d8e72 Add proper warning for fixed point types 2017-08-16 16:47:49 +01:00
Alex Beregszaszi
4acc552e66 Fix the grammar for fixed point types 2017-08-16 16:47:49 +01:00
Alex Beregszaszi
80ee7c2b36 Fix ABI for fixed types 2017-08-16 16:47:11 +01:00
chriseth
2021508653 Update contracts.rst 2017-08-16 11:31:50 +02:00
Isaac Ibiapina
2dc9e53a49 Specify address as string on events documentation 2017-08-15 14:57:10 -04:00
chriseth
80f83169b1 Merge pull request #2659 from jamesray1/patch-25
Link: members-of-addresses in docs/types.rst
2017-08-15 17:46:21 +02:00
chriseth
2fa59489b6 Merge pull request #2664 from joshuahannan/develop
added while loop description
2017-08-15 17:45:44 +02:00
chriseth
8ee973f316 Merge pull request #2660 from jamesray1/patch-26
Constructor index in docs/contracts.rst
2017-08-15 17:43:29 +02:00
chriseth
29cf3d9c58 Merge pull request #2732 from ethereum/statemutability-abi
Add statemutability field to ABI
2017-08-15 17:39:20 +02:00
Alex Beregszaszi
12f3257e7d Add statemutability field to the ABI 2017-08-15 11:35:50 +01:00
feliam
ed77f706a0 Update installing-solidity.rst 2017-08-14 16:47:16 -03:00
Stu West
fdeb94a105 docs typo: remove duplicate period and unnecessary spaces in intro 2017-08-12 15:43:41 -07:00
chriseth
5b26e2bcee Merge pull request #2486 from jamesray1/patch-22
Ref to getter function in docs/miscellaneous.rst
2017-08-11 18:26:46 +02:00
chriseth
a0f9e8e778 Merge pull request #2485 from jamesray1/patch-21
Update frequently-asked-questions.rst with a ref to getter functions
2017-08-11 18:26:14 +02:00
chriseth
0fab0ed427 Merge pull request #2487 from jamesray1/patch-23
Ref to getter function in docs/introduction-to-smart-contracts.rst
2017-08-11 18:25:23 +02:00
Alex Beregszaszi
ecec557d2b Merge pull request #2634 from ethereum/chriseth-patch-1
Clarify internal function types
2017-08-11 16:59:22 +01:00
Alex Beregszaszi
9358001ba4 Use temporary variable for sum example 2017-08-10 17:47:35 +01:00
Alex Beregszaszi
34503d98d7 Move init/cond into the for loop 2017-08-10 17:30:57 +01:00
Alex Beregszaszi
a323486a9b Add pure assembly example for summing 2017-08-10 17:30:57 +01:00
vladislav-ankudinov
79137e4703 fix typo 'onte' -> 'onto' 2017-08-09 14:46:51 +03:00
chriseth
3aef36b1cf Update changelog. 2017-08-08 15:56:52 +02:00
SaadSurya
8a9f62842d Update installing-solidity.rst 2017-08-07 16:53:56 +05:00
chriseth
dc0f85c4fb Merge pull request #2685 from elopio/patch-1
Add the command to install the stable solc snap
2017-08-04 14:51:31 +02:00
Adrián Calvo
8d832c7cd3 Removes reference to stack depth attack
Changed the old stack depth attack reference to a generic execution of an untrusted contract to keep the suggestion of the withdrawal pattern.
2017-08-04 14:08:37 +02:00
Leo Arias
f5fc808875 Add the tag for the command 2017-08-02 01:53:07 -06:00
Leo Arias
af128b6c97 Add the command to install the stable solc snap
Now that v0.4.14 was released, all the changes in the snapcraft.yaml landed, the continuous delivery is configured both for edge and candidate snaps, and we have been testing the snap for a while, I have pushed it to the stable channel in the Ubuntu store.
2017-08-02 01:51:43 -06:00
Alex Beregszaszi
d1b13c0624 Add warning that low-level call/callcode/delegatecall don't check for existence 2017-08-01 20:51:52 +01:00
Alex Beregszaszi
a46552540e Add bug.json entry for delegatecall 2017-08-01 20:51:45 +01:00
James Ray
0da46f259f :ref:getter function<getter-functions> 2017-07-31 20:35:29 +10:00
James Ray
5678a08d58 :ref:getter function<getter-functions> 2017-07-31 20:32:34 +10:00
James Ray
8a19b2f24e :ref:getter function<getter-functions> 2017-07-31 20:26:26 +10:00
chriseth
91e7fcaa59 Release date for version 0.4.14. 2017-07-31 12:05:59 +02:00
chriseth
a73fb4d529 Wording. 2017-07-31 11:44:35 +02:00
chriseth
223261893a Merge pull request #2658 from jamesray1/patch-8
Updated link for getter-functions for consistency in docs/contracts.rst
2017-07-31 11:41:23 +02:00
Joshua Hannan
5f9c02c6b6 added while loop description 2017-07-29 18:15:54 -05:00
James Ray
0c63f271a2 Updated getter-functions ref 2017-07-29 12:05:49 +10:00
chriseth
2cdb5c9e83 Changelog and bug list entry. 2017-07-28 15:33:00 +02:00
James Ray
064918c94a Constructor is not a solidity keyword
Removed backticks
2017-07-28 15:31:03 +10:00
James Ray
c5b82f7d50 Constructor index
For referencing, especially when it hasn't been mentioned but not discussed in detail previously e.g. here and here.
2017-07-28 15:24:19 +10:00
James Ray
84e71f061c Link: members-of-addresses 2017-07-28 15:07:18 +10:00
James Ray
3c3060dd87 :ref:getter-functions 2017-07-28 11:54:59 +10:00
James Ray
c03a85aa7b ref getter-functions 2017-07-28 11:50:20 +10:00
James Ray
89551d9968 Updated reference to getter-functions 2017-07-28 11:34:22 +10:00
James Ray
bc8d7d4a5d Updated link for getter-functions 2017-07-28 11:30:53 +10:00
chriseth
f18b26cf14 Merge pull request #2640 from elopio/patch-2
Add the install instructions from the edge snap
2017-07-27 12:32:58 +02:00
chriseth
5cbf5f216f Merge pull request #2629 from hcaw/patch-1
Link to Ethereum Studio removed - project has been discontinued
2017-07-27 12:30:01 +02:00
chriseth
07e0a7e090 Merge pull request #2649 from nathanph/patch-1
Fix typo in contracts.rst
2017-07-27 11:48:38 +02:00
Yoichi Hirai
a20e5fc048 Merge pull request #2636 from ethereum/docs-random
Random documentation fixes
2017-07-27 11:30:12 +02:00
chriseth
31449c9834 Closing parenthesis 2017-07-27 11:03:06 +02:00
Nathan Hernandez
99b6411853 Fix typo in contracts.rst
Changed `internall` to `internally`.
2017-07-27 01:46:53 -04:00
Skiral Inc
7f7927fd1d fix misspell 2017-07-26 16:17:43 -07:00
Alex Beregszaszi
318e52c77d Avoid using .send in the examples 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
48a15ea19d Use the storage keyword in examples 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
6eaf17db38 Avoid using var if not required 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
bf10cd6c95 Mention all global aliases 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
04582dd2cb Mention that callcode is deprecated 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
15689506c5 Remove interface keyword from reserved list 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
106763d08e Remove reference to Why3 2017-07-26 23:05:09 +01:00
Leo Arias
558fa46442 Add the install instructions from the edge snap 2017-07-26 10:28:27 -06:00
Yoichi Hirai
927f01c6d9
Fix grammar 2017-07-26 17:02:06 +02:00
Yoichi Hirai
092c2815e5 Merge pull request #2631 from maurelian/maurelian_patch1
Clarify require and assert usage
2017-07-26 16:45:37 +02:00
chriseth
887823dca6 Merge pull request #2627 from atfornes/patch-2
Change Mapping example to valid (executable) code
2017-07-26 14:45:00 +02:00
chriseth
f74e40598f Clarify internal function types
Fixes https://github.com/ethereum/solidity/issues/2617
2017-07-26 14:30:32 +02:00
maurelian
9c676e796c Clarify require and assert usage 2017-07-25 20:02:27 -04:00
Harry Wright
d34e2690c9 Moved Ethereum Studio to Discontinued section as suggested 2017-07-25 16:56:18 +01:00
Harry Wright
a23c4cae9b Link to Ethereum Studio removed - project has been discontinued
see https://www.reddit.com/r/ethereum/comments/6c23ua/is_hack_ethercamp_dead/dhrf0aa/
2017-07-25 15:54:43 +01:00
chriseth
3c2b710b5e Merge pull request #2484 from jamesray1/patch-8
Added links for the getter function.
2017-07-25 15:51:09 +02:00
Antonio Tenorio-Fornés
db739dff69 Change Mapping example to valid (executable) code
Current example will not compile and would need to be compiled in separate files, unlike how it is shown (see https://github.com/ethereum/solidity/pull/2618).

The proposed changes provide both a source code that compiles and a easier to understand Contract creation (using new instead of a contract address).
2017-07-24 18:30:54 +02:00
NIC619
3dcbe68aea minor fix on assembly example 2017-07-21 00:25:36 -04:00
Alex Beregszaszi
cffe52d6d9 Enable more examples in the documentation for testing 2017-07-19 00:05:05 +01:00
Juraj Bednar
5e0f5ee627 Keep the terminology about the exceptions the same
Don't call exception revert-style when the rest of the document uses require-style
2017-07-18 14:25:17 +02:00
Luke Schoen
56b65cf846 Update solidity-by-example.rst. Fixes accepted bids
Only accept bid values higher than highest bid. Since returns early from `placeBid` function if `value <= highestBid`
2017-07-17 19:58:41 +10:00
Alex Beregszaszi
41e5b2c3c2 Fix bugs in example contracts 2017-07-13 21:47:29 +02:00
Alex Beregszaszi
b2fcd59ee6 Add version pragma to docs examples 2017-07-13 17:10:37 +02:00
Alex Beregszaszi
b65601bb3d Add changelog and documentation 2017-07-13 15:18:40 +02:00
chriseth
91f17a3662 Merge pull request #2560 from ethereum/abi-spec-nitpick
Nitpicking abi-spec.rst
2017-07-12 15:16:23 +02:00
Yoichi Hirai
6307a12651
Borrow a sentence from @axic
and edit the phrase "following its type", which sounded like the data follows the type in the call data.
2017-07-12 14:37:12 +02:00
Yoichi Hirai
d5c3ef4605
Nitpicking abi-spec.rst 2017-07-12 13:27:47 +02:00
chriseth
b981ef2055 Merge pull request #1477 from ethereum/doc-remove-fixed
[WIP] docs: ``var x = 1/4`` is not working, so remove description about it
2017-07-12 12:11:13 +02:00
hh3755
d01b02f8cf typo of bitween for between 2017-07-08 17:23:48 +08:00
James Ray
221a013042 Fixed reference to getter function 2017-07-07 12:07:25 +10:00
James Ray
ba0d277e10 Fixed reference to getter function 2017-07-07 12:07:16 +10:00
James Ray
e257a6c89a Fixed reference to getter function 2017-07-07 12:07:10 +10:00
chriseth
f09c55f89c Release date for 0.4.13 2017-07-06 11:06:13 +02:00
Patrick Walters
b166228a39 Update contributing.rst 2017-07-04 23:46:07 -05:00
chriseth
d1e4e03807 Set release date. 2017-07-03 13:45:36 +02:00
chriseth
0446893bce Merge pull request #2496 from jamesray1/patch-24
Added ref for Getter functions
2017-07-01 16:43:03 +02:00
James Ray
3594f973df Update types.rst 2017-07-01 13:31:31 +10:00
James Ray
7471220cb4 Added ref for Getter functions 2017-07-01 13:29:20 +10:00
Alex Beregszaszi
a46b3479bb Remove parsing of why3 doc strings 2017-06-30 22:34:03 +01:00
Ben Che
3df637baec Update types.srt
Fix minor grammatical/spelling errors.
2017-06-30 10:48:59 -04:00
James Ray
eb84acbbcb Ref to getter function 2017-06-30 19:51:10 +10:00
James Ray
433039f105 Ref to getter function 2017-06-30 19:47:35 +10:00
James Ray
d2c0c5f462 Getter function ref 2017-06-30 19:42:53 +10:00