Skip to content

Commit b318366

Browse files
committed
Merge remote-tracking branch 'origin/develop' into release
2 parents 4633f3d + 5ebd31c commit b318366

File tree

102 files changed

+3087
-659
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+3087
-659
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,8 @@ git:
135135
cache:
136136
ccache: true
137137
directories:
138-
- cryptopp
139138
- boost_1_57_0
140139
- build
141-
- jsoncpp
142140

143141
install:
144142
- test $TRAVIS_INSTALL_DEPS != On || ./scripts/install_deps.sh
@@ -164,7 +162,7 @@ script:
164162
# in Solidity's RPC setup and some will be in 'eth'. It seems unlikely that Solidity
165163
# itself is broken from the failure messages which we are seeing.
166164
#
167-
# More details on known issues at https://github.com/ethereum/solidity/issues/769
165+
# More details on known issues at https://github.com/ethereum/solidity/issues/769
168166
- test $TRAVIS_TESTS != On || (cd $TRAVIS_BUILD_DIR && (./scripts/tests.sh || ./scripts/tests.sh || ./scripts/tests.sh) )
169167
env:
170168
global:

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ include(EthPolicy)
88
eth_policy()
99

1010
# project name and version should be set after cmake_policy CMP0048
11-
set(PROJECT_VERSION "0.4.4")
11+
set(PROJECT_VERSION "0.4.5")
1212
project(solidity VERSION ${PROJECT_VERSION})
1313

1414
# Let's find our dependencies
1515
include(EthDependencies)
16+
include(deps/jsoncpp.cmake)
1617

1718
# Figure out what compiler and system are we using
1819
include(EthCompilerSettings)

Changelog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
### 0.4.5 (2016-11-21)
2+
3+
Features:
4+
* Function types
5+
* Do-while loops: support for a ``do <block> while (<expr>);`` control structure
6+
* Inline assembly: support ``invalidJumpLabel`` as a jump label.
7+
* Type checker: now more eagerly searches for a common type of an inline array with mixed types
8+
* Code generator: generates a runtime error when an out-of-range value is converted into an enum type.
9+
10+
Bugfixes:
11+
12+
* Inline assembly: calculate stack height warning correctly even when local variables are used.
13+
* Code generator: check for value transfer in non-payable constructors.
14+
* Parser: disallow empty enum definitions.
15+
* Type checker: disallow conversion between different enum types.
16+
* Interface JSON: do not include trailing new line.
17+
118
### 0.4.4 (2016-10-31)
219

320
Bugfixes:

appveyor.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
branches:
3131
only:
32-
- master
32+
- release
3333
- develop
3434
os: Visual Studio 2015
3535
configuration:
@@ -83,14 +83,13 @@ artifacts:
8383
# below.
8484

8585
deploy:
86-
description: 'Development build of solidity at commit $(APPVEYOR_REPO_COMMIT).\n\n$(APPVEYOR_REPO_COMMIT_MESSAGE)\n\nCommitted by $(APPVEYOR_REPO_COMMIT_AUTHOR), $(APPVEYOR_REPO_COMMIT_TIMESTAMP).'
87-
prerelease: true
8886
provider: GitHub
8987
auth_token:
9088
secure: HPjiugbDSCsEFTphj/qwHuSw80/BV1xWoSvj95CPmtb16Ukh2VQbLVB7iFtZSans
9189
artifact: solidity-windows-zip
9290
on:
9391
branch: release
92+
appveyor_repo_tag: true
9493

9594
notifications:
9695
- provider: GitHubPullRequest

cmake/EthCompilerSettings.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
7171
add_compile_options(-fPIC)
7272

7373
# Configuration-specific compiler settings.
74-
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -DETH_DEBUG")
74+
set(CMAKE_CXX_FLAGS_DEBUG "-Og -g -DETH_DEBUG")
7575
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -DNDEBUG")
7676
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
7777
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")

cmake/FindJsoncpp.cmake

Lines changed: 0 additions & 50 deletions
This file was deleted.

cmake/UseJsoncpp.cmake

Lines changed: 0 additions & 10 deletions
This file was deleted.

cmake/UseSolidity.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ function(eth_apply TARGET REQUIRED SUBMODULE)
1515
target_include_directories(${TARGET} PUBLIC ${Solidity_INCLUDE_DIRS})
1616

1717
if (${SUBMODULE} STREQUAL "solevmasm")
18-
eth_use(${TARGET} ${REQUIRED} Jsoncpp)
19-
target_link_libraries(${TARGET} ${Solidity_SOLEVMASM_LIBRARIES})
18+
target_link_libraries(${TARGET} ${Solidity_SOLEVMASM_LIBRARIES} jsoncpp)
2019
endif()
2120

2221
if (${SUBMODULE} STREQUAL "lll")

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def setup(sphinx):
5656
# built documents.
5757
#
5858
# The short X.Y version.
59-
version = '0.4.4'
59+
version = '0.4.5'
6060
# The full version, including alpha/beta/rc tags.
61-
release = '0.4.4-develop'
61+
release = '0.4.5-develop'
6262

6363
# The language for content autogenerated by Sphinx. Refer to documentation
6464
# for a list of supported languages.

0 commit comments

Comments
 (0)