Commit Graph

10814 Commits

Author SHA1 Message Date
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
Alex Beregszaszi
4aa2f036ce
Merge pull request #4154 from juliusHuelsmann/fix-warnings-and-arch-install
Fix 3 warnings for gcc8.1, altered `install_deps.sh` for Arch Linux
2018-05-17 16:24:27 +02:00
Julius Huelsmann
1d3a37faff Avoid "unneccesary parentheses in declaration of" warning with keeping a temporary variable. 2018-05-17 14:48:15 +02:00
Paweł Bylica
7db058074b
CMake: Fix libdir for jsoncpp external project in special case
When building on Debian/Ubuntu with install prefix /usr (e.g. in PPA builds) the CMAKE_INSTALL_LIBDIR is resolved to lib/x86_64-linux-gnu. For jsoncpp external project this is never the case because the install prefix is not /usr. Remove multiarch part from libdir if there.
2018-05-17 14:44:09 +02:00
Julius Huelsmann
9e26f5fa0a Do not catch exceptions by value in StandardCompiler 2018-05-17 14:44:01 +02:00
Julius Huelsmann
4690f837e0 Fix install_deps.sh script for Arch Linux.
Also added cvc4 as dependency.
2018-05-17 14:39:12 +02:00
chriseth
87a8385832 Remove merge blocker. 2018-05-16 18:33:30 +02:00
chriseth
22ff3b736a Merge pull request #4129 from ethereum/doWhileContinue
[BREAKING] Fix continue inside do-while.
2018-05-16 18:32:48 +02:00
Daniel Kirchner
1cbc037a45 Update control flow graph. 2018-05-16 18:32:48 +02:00
Daniel Kirchner
f627dc77d0 Fix continue inside do-while. 2018-05-16 18:32:48 +02:00
chriseth
90528a2867 Merge pull request #4130 from ethereum/missedChangelog
Missed changelog entry.
2018-05-16 18:32:47 +02:00
chriseth
0f5b6f0f6a Merge pull request #4091 from ethereum/bytesXuintYconversion
[BREAKING] Disallow conversions between bytesX and uintY of different size.
2018-05-16 18:32:47 +02:00
chriseth
c911e08283 Missed changelog entry. 2018-05-16 18:32:47 +02:00
chriseth
76fc4f8e00 Merge pull request #4043 from ethereum/bool_vars_comparison
Bool vars comparison
2018-05-16 18:32:47 +02:00
Daniel Kirchner
f5a49f679a Adjust tests. 2018-05-16 18:32:47 +02:00
Leonardo Alt
a19b516b2b Add syntax tests and Changelog entry 2018-05-16 18:32:47 +02:00
Daniel Kirchner
5c59d56335 Disallow conversions between bytesX and uintY of different size. 2018-05-16 18:32:47 +02:00