Commit Graph

10530 Commits

Author SHA1 Message Date
chriseth
3f3d6df2a5
Merge pull request #4178 from ethereum/name-and-type-tests-split
Split up NameAndTypeResolution test cases
2018-05-30 12:35:26 +02:00
chriseth
b1aa283122
Merge pull request #4202 from wjmelements/ordered-list
consistency: use unordered lists for restrictions
2018-05-30 12:33:43 +02:00
mingchuan
b7cafcbdf9
Allow using calldata keyword to specify data location 2018-05-30 18:05:55 +08:00
Alex Beregszaszi
ddc4492d5e Split up NameAndTypeResolution test cases 2018-05-30 06:19:05 +01:00
Alex Beregszaszi
6eedc6e797 Extend function type comparison test 2018-05-30 06:16:35 +01:00
William Morriss
648bb484ac consistency: unordered list for restrictions 2018-05-29 16:56:45 -07:00
William Morriss
7bc36204d3 move bytes and string to complex types section 2018-05-29 16:31:26 -07:00
Erik Kundt
7156a01acc Implements pop() for byte arrays. 2018-05-29 12:53:02 +02:00
bitshift
e9dcfb0b62 Implements pop() for value type arrays. 2018-05-29 12:53:02 +02:00
Timofey Solonin
32443f5705 #3961 - added an example of abi encoding of a function with two-dimensional dynamic arrays 2018-05-29 13:18:23 +03:00
chriseth
8f04c59046
Merge pull request #4169 from Arindam-Mondal/Arindam-Mondal-patch-1
Corrected typo
2018-05-28 23:38:48 +02:00
Arindam Mondal
5187c66a25 Fix bug in documentation. 2018-05-28 23:37:47 +02:00
chriseth
9d5064d04d
Merge pull request #4173 from sifmelcara/add/allow-storage-calldata-suffix
Allow data location suffix for internal elementary type parsing
2018-05-28 22:52:45 +02:00
chriseth
8de26058c4
Merge pull request #4192 from vutsalsinghal/patch-1
CapsCase instead of camelCase
2018-05-28 22:07:07 +02:00
chriseth
7778eaf03a
Merge pull request #4073 from alibabe/fix-jsoncpp-install
Install a different jsoncpp version on cirleci to ensure compilation never clashes with the internal one
2018-05-28 22:06:14 +02:00
chriseth
b686fbbb32
Merge pull request #4180 from veox/use-pip-solidity-lexer
docs: Use Solidity lexer from PyPI, instead of a local module
2018-05-28 17:41:35 +02:00
chriseth
8701669386
Merge pull request #4183 from ethereum/types-test
Move and simplify fromElementaryTypeName tests to SolidityTypes
2018-05-28 17:23:22 +02:00
chriseth
d2fb7a2a44
Merge pull request #4195 from jvmaia/patch-2
clarify warnings in contracts.rst
2018-05-28 16:13:25 +02:00
chriseth
c71e5f8e94
Merge pull request #4196 from dilatebrave/issue1210
doc: making the index appear on the left pane
2018-05-28 12:54:54 +02:00
chriseth
0c223b037f
Merge pull request #4194 from ritzdorf/patch-1
Array Length mistankingly taken as Offset
2018-05-28 09:15:03 +02:00
taitt
08342f6d83 doc: making the index appear on the left pane 2018-05-28 10:54:34 +07:00
João Vítor
899bd5f39a
clarify warnings in contracts.rst
closes #4117
2018-05-27 21:58:58 -03:00
ritzdorf
fb08030a07
Array Length mistankingly taken as Offset
The array length was directly taken as an offset without the necessary multiplication with `0x20`.
2018-05-28 02:25:13 +02:00
Vutsal Singhal
2fa692a70a
CapsCase instead of camelCase 2018-05-26 15:37:52 -04:00
Noel Maersk
ad975a6f8c docs: bump Solidity lexer package to v0.3.1.
That release includes stricter matching of "nested" globals, i.e.
it highlights `msg.sender` but not `sender`.
2018-05-24 14:58:30 +03:00
Noel Maersk
3678450549 docs: change default theme to RTD's.
RTD probably has their `default` theme set to their own `rtd` theme,
while CircleCI has some regular default Sphinx theme.

This changes the Sphinx project configuration to use `rtd` as the
theme.
2018-05-24 14:21:19 +03:00
Noel Maersk
4004fa8c98 docs: bump required Solidity lexer package version.
pygments-lexer-solidity 0.3.0 highlights NatSpec specials like
@author, @title, etc..
2018-05-24 14:18:07 +03:00
Alex Beregszaszi
f5f1bec759
Merge pull request #4181 from th0114nd/develop
Supply git as a dependency for building in docker
2018-05-23 21:10:59 +02:00
Alex Beregszaszi
885b08df40 Simplify fromElementaryTypeName tests 2018-05-23 17:41:27 +01:00
Alex Beregszaszi
536b3202a6 Move fromElementaryTypeName tests to SolidityTypes 2018-05-23 17:39:52 +01:00
chriseth
5ee2ce353e
Merge pull request #4067 from ethereum/050
[BREAKING] Version 0.5.0
2018-05-23 18:11:20 +02:00
Tim Holland
27adb6d6ad Supply git as an alpine linux dependency
Otherwise, the docker build will fail complaining about not knowing a
commit hash to label the version with.
2018-05-23 11:53:11 -04:00
chriseth
6d08341942
Merge pull request #4177 from ethereum/name-and-type-comments
Move comments into test sources in SolidityNameAndTypeResolution
2018-05-23 16:41:14 +02:00
Noel Maersk
7bf43f02d8 circleci: install python-pip as part of doc build dependency.
Required to install the lexer package.
2018-05-23 17:16:59 +03:00
Noel Maersk
9f9bae7ce1 docs: install requirements as part of doc-build script. 2018-05-23 17:10:29 +03:00
Noel Maersk
6b64dc0110 docs: remove utils/SolidityLexer.py
Note that some features present in this local module have not been
included in the upstream package yet!..
2018-05-23 16:56:51 +03:00
Noel Maersk
7acf5d5244 docs: use SolidityLexer from pygments_lexer_solidity package. 2018-05-23 16:56:51 +03:00
Alex Beregszaszi
8f3c119531 Move comments into test sources in SolidityNameAndTypeResolution 2018-05-23 15:18:36 +02:00
chriseth
230bca37c3
Merge pull request #4157 from ethereum/parser-tests
Move more parser tests to syntax tests
2018-05-23 15:15:34 +02:00
chriseth
18c651b7d3
Merge pull request #4175 from FlashSheridan/patch-1
Minor changes to make the English more idiomatic
2018-05-23 10:06:13 +02:00
Flash Sheridan
ef1464a13c
Minor changes to make the English more idiomatic 2018-05-22 17:31:05 -04:00
chriseth
849b1bd59c
Merge pull request #4171 from LefterisJP/fix_typo_buildinfo_cmake
Fix a typo in Buildinfo.cmake
2018-05-22 20:17:32 +02:00
Lefteris Karapetsas
7ca98d4a19
Fix a typo in Buildinfo.cmake
The file should be prelease.txt and not preleases.txt
2018-05-22 17:28:17 +02:00
mingchuan
9865012f7b
Allow data location suffix for internal elementary type parsing 2018-05-22 23:28:12 +08:00
Alex Beregszaszi
31fa6a24df Move more parser tests to syntax tests 2018-05-22 13:25:04 +02:00
chriseth
e97f9b6ba8
Merge pull request #4163 from sifmelcara/fix-visibility-assert
Fix assert message about function visibility
2018-05-21 10:12:50 +02:00
alibabe
54f83acee9 Install a different jsoncpp version on cirleci to ensure compilation never clashes with the internal one
by progamatically installing jsoncpp to ensure the verison is alway 1.7.4
2018-05-21 03:04:54 +00:00
mingchuan
3cd57866a9
Fix assert message about function visibility 2018-05-20 22:29:11 +08:00
chriseth
5157c1058c
Merge pull request #4160 from ethereum/jsoncpp-libdir
CMake: Fix libdir for jsoncpp external project in special case
2018-05-18 17:18:03 +02:00
chriseth
4d7b092cb4
Merge pull request #4150 from ethereum/isoltest
Tidy up tests to always have closing braces on the proper line
2018-05-18 11:57:15 +02:00