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
James Ray
c94c77d2d1
Update frequently-asked-questions.rst
2017-06-30 19:35:00 +10:00
James Ray
77e4f9c8fc
Changed URL for getter to a ref
2017-06-30 19:24:39 +10:00
James Ray
355d69b4ba
Used a ref for getter instead of a URL.
2017-06-30 19:19:06 +10:00
James Ray
2ac51a1a90
Added links for the getter function.
2017-06-30 19:11:21 +10:00
chriseth
708d17d13f
Merge pull request #2464 from federicobond/deprecate-function-type-names
...
Warn deprecated usage of parameter names in function types
2017-06-27 16:32:48 +02:00
Federico Bond
70fd5c1770
Warn deprecated usage of parameter names in function types
2017-06-26 15:39:01 -03:00
Alex Beregszaszi
784b72bb72
Clarify exception documentation
2017-06-23 19:29:11 +02:00
chriseth
64067975e4
Review suggestions.
2017-06-23 19:29:11 +02:00
chriseth
7f05ef8aca
Clarify exceptions.
2017-06-23 19:29:11 +02:00
chriseth
b00d7a6911
Merge pull request #2401 from federicobond/update-grammar
...
grammar.txt: Fix grammar for f.gas(p).value(q)() style calls
2017-06-23 11:33:03 +02:00
gregg dourgarian
12d020e890
Update installing-solidity.rst
...
correct spelling of 'release'
2017-06-22 23:37:28 -05:00
Alex Beregszaszi
79ed529b3f
Merge pull request #2452 from ethereum/fixPassingEmptyString
...
Fix passing empty string
2017-06-22 22:33:06 +01:00
Alex Beregszaszi
08a5d144ac
Merge pull request #2426 from ethereum/miniMoustache
...
Whiskers template system
2017-06-22 22:17:26 +01:00
Federico Bond
9fc4c877d3
Fix and improve grammar.txt
2017-06-22 13:55:08 -03:00
Federico Bond
f0f1e5abfa
grammar.txt: Fix grammar for f.gas(p).value(q)() style calls
2017-06-22 13:54:05 -03:00
chriseth
ce069e9c1e
Merge pull request #2423 from federicobond/tuple-grammar
...
Fix grammar for tuple expressions
2017-06-22 18:43:39 +02:00
chriseth
7ec9b70457
Bug list entry.
2017-06-22 18:33:41 +02:00
Alex Beregszaszi
1d4f40e3a2
Document Whiskers.
2017-06-22 16:56:57 +02:00
Dillon Arevalo
552f2e5303
Add weight == 0 condition to giveRightToVote function
...
This will make it so votes can't be deleted accidentally by giving someone with weight > 1 the right to vote again
2017-06-20 20:48:49 -07:00
Federico Bond
1e3b45d61e
Fix grammar for tuple expressions
2017-06-19 17:16:45 -03:00
chriseth
26ea9ce07c
Merge pull request #2407 from jamesray1/patch-7
...
Link for the semantic versioner for npm
2017-06-19 12:02:21 +02:00
chriseth
2d1d07c3a7
Update layout-of-source-files.rst
2017-06-19 12:02:03 +02:00
chriseth
0c75afb2c1
Merge pull request #2225 from ethereum/julia-for
...
Implement for statement in assembly parser / printer / code generator
2017-06-19 11:53:22 +02:00
chriseth
e0b9589e5a
Merge pull request #2373 from jamesray1/patch-14
...
Changed to "is compiled" rather than "maps" to the DVM op code to avoid ambiguity
2017-06-16 16:52:46 +02:00
chriseth
71d39755fe
Changelog and documentation.
2017-06-16 10:56:21 +01:00
James Ray
0d9970de1d
Link for the semantic versioner for npm
2017-06-15 22:01:17 +10:00
James Ray
c1e0a6557d
Create types.rst
...
"is compiled" avoids ambiguity compared with "maps", especially for those who may not understand what maps may mean and may confuse it with the "mapping" code keyword
2017-06-15 19:37:37 +10:00
Alex Beregszaszi
eb73015fd2
Support dialect of assembly in grammar
2017-06-15 00:43:19 +01:00
Alex Beregszaszi
9e1d24a7eb
Support interface contracts
2017-06-15 00:41:00 +01:00
Alex Beregszaszi
4970d89f3b
Support AssemblyLabel in grammar
2017-06-15 00:40:01 +01:00
Alex Beregszaszi
1ceb735fe1
Fix AssemblyAssignment in grammar
2017-06-15 00:39:46 +01:00
Alex Beregszaszi
42b61171d9
Merge pull request #2192 from winsvega/develop
...
add STATICCALL instruction
2017-06-14 21:03:32 +01:00
chriseth
fd5bf16101
Merge pull request #2384 from ethereum/parseFunctionalInstructions
...
Enforce function arguments when parsing functional instructions.
2017-06-14 18:35:16 +02:00
Dimitry
c20cdd0a05
add new opcode instructions to the parser
...
STATICCALL 0xfa 6 inputs (gas address mem1 mem2 mem3 mem4)
2017-06-14 18:18:12 +02:00
chriseth
bab470086c
Merge pull request #2364 from VoR0220/abiSpec
...
Bring ABI Spec Into Solidity Documentation
2017-06-14 17:25:31 +02:00
chriseth
98139ead42
Clarify functional style.
2017-06-14 15:46:16 +02:00
RJ Catalano
1d644bed31
try to get rid of warning
...
Signed-off-by: RJ Catalano <rj@monax.io>
2017-06-14 08:06:03 -05:00
Travis Jacobs
9191f8af5f
Add linter-solium
2017-06-13 21:03:58 -02:30
chriseth
d47fcbb612
Clarify statement about receiving ether
...
Fixes #2377
2017-06-13 19:08:13 +02:00
Yoichi Hirai
0b22154a75
libevmasm: add RETURNDATACOPY and RETURNDATASIZE
2017-06-13 16:57:02 +02:00
chriseth
ca70d82b96
Include abi specs in index and fix styling.
2017-06-12 18:33:23 +02:00
chriseth
3170fd9a93
Formatting of heading.
2017-06-12 17:50:03 +02:00
chriseth
c66c5d4a21
Change fixed number example.
2017-06-12 17:49:11 +02:00
chriseth
a0777a7ffb
Include structs.
2017-06-12 17:43:48 +02:00
chriseth
3699d27cc9
Merge pull request #2368 from jamesray1/patch-5
...
Doxygen
2017-06-12 17:23:55 +02:00
chriseth
e48a1a3851
Merge pull request #2372 from jamesray1/patch-13
...
Create types.rst
2017-06-12 17:21:28 +02:00
chriseth
39a7b63897
Added linebreak.
2017-06-12 17:21:19 +02:00
chriseth
43d3d4eba4
Merge pull request #2366 from sandakersmann/patch-1
...
Fixed "building-from-source" link
2017-06-12 17:19:05 +02:00
chriseth
78c892aafa
Undo changes to building from source.
2017-06-12 17:18:55 +02:00
James Ray
0423278a31
Create types.rst
...
hash table link
2017-06-12 18:12:09 +10:00
James Ray
09a77de8ab
Create types.rst
...
Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings )`_
2017-06-12 18:02:30 +10:00
James Ray
2dd23cec7a
Create types.rst
...
Note that the following is not a pair of dynamic arrays but a dynamic array of pairs (i.e. of fixed size arrays of length two).
2017-06-12 17:36:51 +10:00
James Ray
997151c734
Doxygen
...
Link for more information about Doxygen.
2017-06-11 15:41:15 +10:00
Marius Kjærstad
320bc15431
Fixed "building-from-source" link
...
Fixed building-from-source link in contributing.rst
2017-06-10 14:33:02 +02:00
RJ Catalano
3525280a72
some small fixes to the names and underlining; still need to fix the fixed point bytecode representation
...
Signed-off-by: RJ Catalano <rj@monax.io>
2017-06-09 14:49:59 -05:00
RJ Catalano
548ae18dfd
begin abi spec translation into solidity docs
...
Signed-off-by: RJ Catalano <rj@monax.io>
2017-06-09 13:58:55 -05:00
AndreMiras
997eb68956
Update installing-solidity.rst on Gentoo Linux
...
Gentoo Linux solidity install instructions.
2017-06-08 00:20:15 +02:00
chriseth
243e389fd7
Merge pull request #2341 from ethernomad/patch-3
...
for free => automatically
2017-06-06 15:02:34 +02:00
Alex Beregszaszi
766df192b9
Include logo in intro
2017-06-05 11:25:48 +01:00
Alex Beregszaszi
5f4df5651b
Import logo from browser-solidity#16e74469
2017-06-05 11:20:35 +01:00
Jonathan Brown
8595bc7122
for free => automatically
...
Getters still use gas when called from another contract, so they are not free.
2017-06-03 14:12:33 +07:00
Alex Beregszaszi
524a52660d
Document keccak256 in assembly
2017-05-30 12:33:04 +01:00
chriseth
002df12d13
Merge pull request #2287 from ethereum/legacyAstCLI
...
add legacy/compact AST-format options to CLI
2017-05-29 14:24:55 +02:00
Yoichi Hirai
2f3aaa46e9
Merge pull request #2315 from pjstadig/patch-1
...
Fix typo
2017-05-26 13:16:14 +02:00
Paul Stadig
2e46383b29
Fix typo
2017-05-25 17:17:47 -04:00
Alexey Alexeyeff
f4ee578b9a
Rename events in purchase example
...
Rename events in purchase example according to style guide
2017-05-25 19:41:40 +03:00
djudjuu
0f7a9e8149
add legacy/compact AST-format options to CL
2017-05-24 14:48:32 +02:00
Ron Gross
f80fc0f636
Fix space
2017-05-22 15:30:46 +03:00
Ron Gross
459a4a911b
Fix link format
2017-05-22 15:25:08 +03:00
chriseth
b923196a85
Merge pull request #2277 from ethereum/chriseth-patch-1
...
Fix typo.
2017-05-17 14:28:55 +02:00
chriseth
2d8b866b59
Merge pull request #2278 from ethereum/chriseth-patch-2
...
Fix bug in example contract.
2017-05-17 14:26:02 +02:00
chriseth
cc9a99a63f
Merge pull request #2221 from greggdourgarian/develop
...
minor punctuation, typo and clarity changes
2017-05-17 12:06:37 +02:00
chriseth
b4c6877a94
Merge pull request #2247 from jamesray1/develop
...
Wikipedia links for some terminology and grammar
2017-05-17 11:58:19 +02:00
chriseth
2c3eea7e42
Fix bug in example contract.
2017-05-17 11:30:45 +02:00
chriseth
a0d0776bbc
Fix typo.
...
Fixes #2273
2017-05-17 11:20:46 +02:00
Micah Zoltu
071efc553b
Improves clarity of block.timestamp
2017-05-12 22:13:45 -07:00
jamesray1
139fdb36c7
Update introduction-to-smart-contracts.rst
2017-05-10 15:26:17 +10:00
jamesray1
1d5c0ce9f4
Update introduction-to-smart-contracts.rst
...
Updated link for pragma.
2017-05-10 15:20:12 +10:00
jamesray1
347a4040e6
Update introduction-to-smart-contracts.rst
...
Grammar
This sentence was a bit confusing due to changing from it to they: "Contracts cannot access log data after it has been created, but they can be efficiently accessed from outside the blockchain.", however changing it to the following may sound awkward "Contracts cannot access log data after log data has been created, but log data can be efficiently accessed from outside the blockchain."
Also added links to terminology that may not be understood by lay readers.
2017-05-06 20:20:36 +10:00
chriseth
0582fcb93b
Merge pull request #2194 from ethereum/removeerrorlabel
...
Remove error label / invalid jump label.
2017-05-05 14:25:43 +02:00
greggdourgarian
2ed1b3d6d2
remove extraneous 's'
2017-05-03 14:07:14 -05:00
greggdourgarian
d13a1f4f7b
minor punctuation, typo and clarity changes
2017-05-03 12:24:00 -05:00
chriseth
9df7a6fa29
Update permalink for optimizer bug and fix release date.
2017-05-03 12:39:54 +02:00
chriseth
9fd34bf5c0
Update bug list.
2017-05-03 12:31:45 +02:00
chriseth
e9458be7bd
Parentheses.
2017-05-03 11:07:15 +01:00
chriseth
d58a4e08da
Corrections and some style.
2017-05-03 11:07:15 +01:00
chriseth
7e838fd4a8
Cleanup to make the docs more consistent.
2017-05-03 12:03:02 +02:00
Matt Wisniewski
2b4b86aa7f
Update common-patterns.rst
2017-05-03 12:03:02 +02:00
chriseth
00933b99cc
Merge pull request #2206 from ethereum/fixoptimizer
...
Constant optimizer fix
2017-05-03 11:54:11 +02:00