Commit Graph

351 Commits

Author SHA1 Message Date
ethers
70f7df6430 mixedCase for modifiers 2016-07-14 03:29:15 -07:00
Denton Liu
5d113600aa Fix typos 2016-07-12 17:06:49 -04:00
Denton Liu
f8aec4d89e Update copyright 2016-07-11 17:04:44 -04:00
chriseth
efad1e05ac Merge pull request #680 from Denton-L/fix-679
Add section about default values of variables
2016-07-08 20:15:28 +02:00
chriseth
e5061615ce Merge pull request #689 from redsquirrel/patch-1
Removing "easy" language
2016-07-08 20:12:42 +02:00
Denton Liu
cf0579a86e Incorporate changes 2016-07-08 14:07:58 -04:00
chriseth
f8d67a8ea6 Merge pull request #700 from Denton-L/sec
Minor Changes to #693
2016-07-08 19:54:01 +02:00
Denton Liu
d94d2fc901 Repharse sentence 2016-07-08 12:27:04 -04:00
chriseth
8df9d49c44 Merge pull request #703 from raineorshine/patch-2
Documentation: Add Solidity Tools
2016-07-08 17:55:27 +02:00
Denton Liu
06fa66b2e6 Mention dangers of polymorphism 2016-07-07 16:34:05 -04:00
Denton Liu
ab3531ffc3 Incorporate corrections 2016-07-07 13:53:57 -04:00
chriseth
b71144dd53 Expanded malleability risks. 2016-07-06 18:33:38 +02:00
Raine Revere
f737aa9a1b Documentation: Add Solidity Tools 2016-07-06 09:39:32 -06:00
svantetobias
d45f241069 Fixed mix-up of variable names in Sent event
event Sent(address from, address to, uint amount) defines "amount" variable but it is two times referred to as "value", which can be a bit confusing for the reader.
2016-07-06 10:53:08 +02:00
Denton Liu
811980afe6 Reformat code 2016-07-05 11:55:09 -04:00
Denton Liu
70e5af11ef Correct grammar and language 2016-07-05 11:55:09 -04:00
Denton Liu
14f57568dc Apply fixes 2016-07-05 11:44:39 -04:00
Denton Liu
d4d7d9854a Add reference to default values in mapping section 2016-07-04 10:52:08 -04:00
Denton Liu
cb5fc23014 Fix incorrect directives 2016-07-04 10:51:02 -04:00
chriseth
3b494348ea Fixes. 2016-07-04 15:39:31 +02:00
chriseth
2df142c496 Security Considerations 2016-07-04 15:27:53 +02:00
Dave Hoover
20c02594ed Removing "easy" language
I'm trying to steer us away from language that over-simplifies the complexity of writing secure smart contracts.
2016-06-27 08:51:07 -04:00
chriseth
2ccfea8b54 Merge pull request #672 from pjdelport/patch-1
Update link to atom-ethereum-interface package
2016-06-27 10:41:43 +02:00
Dave Hoover
b31bd4a2e4 Fixing library examples that don't compile.
Addressing https://github.com/ethereum/solidity/issues/684
2016-06-25 07:11:45 -05:00
Denton Liu
0db67b8895 Add section about default values of variables 2016-06-22 13:35:15 -04:00
chriseth
b23c300792 Merge pull request #658 from graup/graup-patch-1
Fix typo in Libraries section
2016-06-21 17:52:35 +02:00
chriseth
00c89cdb49 Merge pull request #555 from Denton-L/single-line-functions
Added a Clause in Style Guide about Single Line Function Declarations
2016-06-21 17:16:56 +02:00
chriseth
957da9803e Merge pull request #669 from fabioberger/patch-2
Fix two documentation typos
2016-06-21 17:12:19 +02:00
chriseth
263676a259 Merge pull request #673 from pjdelport/patch-2
Restore correct inline code sample
2016-06-21 17:10:37 +02:00
Pi Delport
d9ee41f4a8 Add missing inline code tag 2016-06-20 16:16:10 +02:00
Pi Delport
d88956e864 Restore correct inline code sample
(This appears to have been accidentally broken in a73428b4.)
2016-06-20 15:37:56 +02:00
Pi Delport
04544c25a6 Update link to atom-ethereum-interface package 2016-06-20 12:44:26 +02:00
Fabio Berger
9272c8ab32 Fix two documentation typos 2016-06-20 01:41:46 +01:00
Fabio Berger
4139eddb1d Fix mis-typed word. The recipient will run out of gas, not go out of gas 2016-06-19 02:19:57 +01:00
Fabio Berger
38b1c3d492 Added missing word in sentence 2016-06-18 05:05:38 +01:00
Paul Grau
6aa069403a Fix typo in Libraries section 2016-06-17 23:13:03 +02:00
chriseth
31aa67f1ca Merge pull request #640 from chriseth/globalPaths
Allow remappings to change depending on the context.
2016-06-10 17:58:25 +02:00
chriseth
dc7ba37925 Merge pull request #616 from chriseth/docs
Removed some problems in documentation examples.
2016-06-10 12:50:42 +02:00
chriseth
39c031bfca Typo. 2016-06-09 00:36:31 +02:00
chriseth
3150ab2bcf Allow remappings to change depending on the context. 2016-06-08 18:16:46 +02:00
chriseth
63b6305689 Merge pull request #618 from chriseth/inlineArrays
Document inline arrays.
2016-06-08 18:09:18 +02:00
chriseth
e97ac4fb49 Merge pull request #612 from Denton-L/global-variables
Cleaned up and modified global variables documentation
2016-06-06 22:27:58 +02:00
Giacomo Tazzari
07837e0abb Up-to-date build instructions for Ubuntu 14.04 2016-06-05 17:40:03 +02:00
Giacomo Tazzari
f3c4543099 I forgot to finish typing a paragraph 2016-06-04 21:36:10 +02:00
Giacomo Tazzari
840351982d Instructions to build Solidity on Ubuntu 16.04
Minimal dependencies for Solidity on Ubuntu 16.04, removed those for older Ubuntu versions for now (they were a bit confusing).
Removed --all and added -DETHASHCL=0 to ethbuild.sh when building Solidity only.
2016-06-04 21:33:53 +02:00
Denton Liu
ccd54ed87e Added back 'For more information...' statement 2016-06-03 09:20:18 -04:00
chriseth
4df0765934 Fixed typo. 2016-06-03 11:42:48 +02:00
Denton Liu
bb83fd5adb Changed reference name 2016-06-02 09:29:53 -04:00
Denton Liu
a7b5e21e66 Fixed a bad reference 2016-06-02 09:27:55 -04:00
Denton Liu
c2bb2d2a72 Added newlines to fix build error 2016-06-02 09:22:24 -04:00
Denton Liu
fc121b9ba7 Documented max stack depth at 1024 2016-06-02 09:14:53 -04:00
Denton Liu
0b4b5e1046 Make address link look better 2016-06-02 09:13:27 -04:00
chriseth
ed9cc5476e style 2016-06-01 23:40:38 +02:00
Denton Liu
4a2c8fa9b7 uint20 is not a type 2016-06-01 13:59:45 -04:00
Denton Liu
1f19b93836 Copied warning message from cherry-picked commit 2016-06-01 13:59:16 -04:00
Denton Liu
f03d315bad Updated incorrect list number 2016-06-01 13:25:36 -04:00
chriseth
84a8c0c008 Document some pitfalls in connection with "send". 2016-06-01 13:22:15 -04:00
Denton Liu
9da7a4c17c Link address-type and address-global methods 2016-06-01 13:18:43 -04:00
Denton Liu
cb2a4df6e5 Corrected typo 2016-06-01 13:15:17 -04:00
chriseth
d8bf98598b Document inline arrays. 2016-05-31 15:55:58 +02:00
chriseth
f9c8a9b5ca Removed some problems in documentation examples. 2016-05-31 13:56:16 +02:00
Denton Liu
2d32041552 Named the global function parameters 2016-05-30 13:18:30 -04:00
Denton Liu
a29aaa3776 Added section on address-related constants 2016-05-30 13:18:30 -04:00
Denton Liu
e72f819111 Corrected descriptions of hashes 2016-05-30 13:18:30 -04:00
Denton Liu
0c03577ade Removed leading space 2016-05-30 13:18:29 -04:00
Denton Liu
aafc65a275 Made explicit that we use KECCAK-256 2016-05-30 13:18:29 -04:00
Denton Liu
2667874587 Removed ending periods for consistency 2016-05-30 13:18:29 -04:00
Denton Liu
c0e10b1cf0 Added the type of .balance 2016-05-30 13:18:29 -04:00
Denton Liu
a6785113b5 Sorted block attributes alphabetically 2016-05-30 13:18:28 -04:00
Denton Liu
bc3e17192f Made it apparent that block.blockhash is function 2016-05-30 13:18:28 -04:00
Denton Liu
91459ffc76 Corrected underline length 2016-05-30 13:18:28 -04:00
Denton Liu
a011ffdd48 Corrected capitalisation on index.rst 2016-05-30 13:18:14 -04:00
Denton Liu
d0a0e4f3d2 Added a section about .send() returning false 2016-05-30 09:44:33 -04:00
Denton Liu
17f23629f1 Added @Arachnid's string library 2016-05-30 09:44:33 -04:00
Denton Liu
9862d61a5a Removed inline code formatting for one title 2016-05-30 09:44:33 -04:00
Denton Liu
2112f6239c Corrected underline lengths 2016-05-30 09:44:33 -04:00
Denton Liu
49f5bc7ce9 Changed inline code syntax
Changed from :code:`<inline>` to ``<inline>``
2016-05-30 09:44:33 -04:00
Denton Liu
652bb0e8c1 Modified units-and-global-variables.rst
Corrected syntax for inline code
2016-05-30 09:44:33 -04:00
Denton Liu
a73428b4ef Modified types.rst
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
09a7fb7f6b Modified style-guide.rst
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
b3669e6394 Corrected solidity-by-example.rst
Fixed inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
d87627e6ee Modified miscellaneous.rst
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
3fc4e2c14a Modified layout-of-source-files.rst
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
506191b06c Modified introduction-to-smart-contracts.rst
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
981c38b8b0 Modified installing-solidity.rst
Corrected inline code syntax
2016-05-30 09:44:33 -04:00
Denton Liu
5d084afa81 Fixed whitespacing issues 2016-05-30 09:44:33 -04:00
Denton Liu
a67317928a Corrected FAQ titles 2016-05-30 09:42:30 -04:00
Denton Liu
ef6dc52801 Modified frequently-asked-questions.rst
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Denton Liu
80600a5a42 Modified control-structures.rst
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Denton Liu
c8e4ba4b52 Modified contracts.rst
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Denton Liu
d57efc06c4 Modified common-patterns.rst
Now it uses proper inline code syntax
2016-05-30 09:42:30 -04:00
Jacob Payne
0b56c5d0d8 Added Atom Solidity Linter to Docs 2016-05-27 20:44:19 -07:00
chriseth
064c3e84bb Merge pull request #601 from mathvdh/patch-1
Typo correction in solidity-by-example.rst
2016-05-27 16:50:41 +02:00
chriseth
ddc633f175 Use original vim-solidity repository 2016-05-26 19:14:25 +02:00
Mathieu Van der Haegen
0a9c95c53d Typo correction in solidity-by-example.rst
Just correcting a simple typo in the comments of the code
2016-05-26 14:43:00 +02:00
chriseth
fef7473e31 Add vim and emacs plugins. 2016-05-26 13:37:10 +02:00
Denton Liu
d7666d9eda Fixed errors introduced by previous commit
#565 introduced some errors in the documentation
2016-05-24 11:08:54 -04:00
chriseth
fad2d4ac01 Update links to browser-solidity. 2016-05-20 16:51:26 +02:00
chriseth
e3c5418543 Merge pull request #578 from winsvega/develop
More Solidity IDE links
2016-05-20 16:50:11 +02:00
chriseth
2f37356c58 Merge pull request #565 from VoR0220/fixedDataType
Fixed data typename fixes and documentation
2016-05-20 16:48:50 +02:00
Dave Hoover
ae677c1e31 Typo fix 2016-05-20 09:18:03 -05:00
Dimitry
65c8ddaa14 More links to solidity implementations 2016-05-20 16:10:50 +03:00
Denton Liu
27269181b3 Corrected capitalisation 2016-05-19 13:32:54 -04:00
Denton Liu
6eeb7ffb3c Changed link to point to solc-js repo 2016-05-19 12:00:21 -04:00
Denton Liu
8bd1115255 Corrected typo 2016-05-18 18:04:15 -04:00
VoR0220
9192357452 updated docs
types

reference
2016-05-18 16:36:05 -05:00
Denton Liu
d29b9b986e Changed link from markdown to rst
Added labels for the links to point to
2016-05-18 17:17:05 -04:00
Denton Liu
c851cd0481 Corrected capitalisation of symbol names 2016-05-18 17:17:05 -04:00
Denton Liu
a8164eb5d7 Corrected documentation for ecrecover 2016-05-18 17:17:05 -04:00
Denton Liu
5903ca451f Corrected "who's" to "whose" 2016-05-18 17:17:05 -04:00
Denton Liu
f8fcd1bc26 Changed do_something to doSomething
This is in accordance to the style guide
2016-05-18 17:17:05 -04:00
chriseth
798775fa1b Corrected errors. 2016-05-18 21:59:41 +02:00
Denton Liu
d152923548 Fixed a badly resolved merge conflict 2016-05-18 15:53:14 -04:00
Denton Liu
7c22a387f3 Changed whitespace formatting 2016-05-18 11:35:32 -04:00
Denton Liu
ff26ea6c08 Added space to example code 2016-05-18 11:35:32 -04:00
Denton Liu
d4ad3231a2 Removed trailing whitespace 2016-05-18 11:35:32 -04:00
Denton Liu
4b9e9cad56 Added an extra necessary linebreak 2016-05-18 11:35:32 -04:00
Denton Liu
18fb63167b Removed trailing whitespace 2016-05-18 11:35:28 -04:00
Denton Liu
d70ae38e92 Fixed table formatting 2016-05-18 11:23:48 -04:00
Denton Liu
51fe1bd9c2 Replaced tabs with spaces 2016-05-18 11:23:48 -04:00
Denton Liu
d6f05a6d36 Increased clarity of assembly statement 2016-05-18 11:23:48 -04:00
Denton Liu
14bd009eb6 Corrected spacing to four spaces 2016-05-18 11:23:47 -04:00
Denton Liu
bdb48b8567 Removed trailing space 2016-05-18 11:23:47 -04:00
Denton Liu
bb62a8b3fd Replaced all tabs with spaces 2016-05-18 11:23:47 -04:00
Denton Liu
8bbe99ad11 More code-style corrections 2016-05-18 11:23:47 -04:00
chriseth
0a37072e4c Merge pull request #572 from Melvillian/fix-example-contract-abi
fix example solidity contract code by adding argument to constructor
2016-05-18 00:39:47 +02:00
chriseth
775b757d0e Merge pull request #545 from chriseth/accessFunLabels
Allow access to functions in inline assembly.
2016-05-17 23:59:13 +02:00
chriseth
e28604f0b0 Typo 2016-05-17 17:05:03 +02:00
Alex Melville
38940ddfa5 fix example solidity contract code by adding argument to constructor 2016-05-15 17:16:44 -07:00
chriseth
4b445b898e Merge pull request #546 from chriseth/fixiszero
Correctly use not/bnot/iszero.
2016-05-14 00:58:55 +02:00
chriseth
902f1458c6 Merge pull request #543 from raineorshine/patch-1
Add this.balance and this.send to units-and-global-variables.rst
2016-05-13 19:31:44 +02:00
chriseth
c06051d38d Merge pull request #557 from Denton-L/scoping
Added Section about Scoping Behaviours
2016-05-12 23:07:52 +02:00
Denton Liu
20cec07b46 Removed unnecessary period 2016-05-12 13:25:00 -04:00
Denton Liu
7b6fd013a4 Added origin of scoping rules 2016-05-12 09:59:29 -04:00
Denton Liu
50eb3b8f8f Moved comment to more logical place 2016-05-12 09:49:49 -04:00
Denton Liu
e60a17379e Removed trailing spaces 2016-05-12 09:48:56 -04:00
chriseth
67ca3bb4b9 Allow access to functions in inline assembly. 2016-05-12 12:30:48 +02:00
Denton Liu
52a8d7b3f5 Added content 2016-05-11 17:07:25 -04:00
Denton Liu
08b7d4aebe Changed the title 2016-05-11 17:02:28 -04:00
Denton Liu
ef56723060 Created scoping section 2016-05-11 15:47:05 -04:00
Denton Liu
b6fd6ddc99 Change whitespace section to include exception
For single-line functions, some whitespace padding
makes the functions slightly more readable.
2016-05-11 15:16:18 -04:00
Denton Liu
d4125c4f07 Changed do_something to doSomething
This is in accordance to the style guide
2016-05-11 15:16:18 -04:00
mario02423
873c54106c Update style-guide.rst
Removed extraneous comma from line 366
2016-05-09 15:42:57 -05:00
Raine Revere
4bfec4efa9 Update units-and-global-variables.rst with link to address ref 2016-05-09 10:15:58 -06:00
chriseth
a927efb151 Correctly use not/bnot/iszero.
A long time ago, some opcodes were renamed. Now we should only have
not (bitwise negation) and iszero (logical negation).
2016-05-09 10:52:23 +02:00
Raine Revere
5e6e9df7dd Add this.balance and this.send to units-and-global-variables.rst
I looked here for this information and didn't initially find it. Hoping to help out others who think the same way as me and look here.
2016-05-08 13:27:30 -06:00
chriseth
9e36bdda8a Merge pull request #541 from Denton-L/develop
Minor Documentation Changes
2016-05-06 19:03:28 +02:00
Denton Liu
7e94a1d84d Added a clause about short functions 2016-05-06 10:19:28 -04:00
Denton Liu
7f940e498e Removed trailing whitespace 2016-05-06 09:53:06 -04:00
Denton Liu
7bc9777b70 Removed bulleted list 2016-05-06 09:42:05 -04:00