Skip to content

Commit 4986123

Browse files
committed
Merge branch 'ponyc-0.7.0' into release
2 parents 552011b + dfab9c1 commit 4986123

25 files changed

+704
-72
lines changed

.appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ branches:
99

1010
environment:
1111
matrix:
12+
- llvm: 3.9.0
1213
- llvm: 3.8.0
1314
- llvm: 3.7.1
1415

@@ -96,7 +97,7 @@ deploy:
9697
version: $(appveyor_build_version)
9798
on:
9899
branch: master
99-
llvm: 3.8.0
100+
llvm: 3.9.0
100101
configuration: Release
101102
publish: true
102103

@@ -110,7 +111,7 @@ deploy:
110111
version: $(appveyor_build_version)
111112
on:
112113
branch: release
113-
llvm: 3.8.0
114+
llvm: 3.9.0
114115
configuration: Release
115116
publish: true
116117

.travis.yml

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,32 @@ matrix:
8888
- config=release
8989
- CC1=gcc-5
9090
- CXX1=g++-5
91+
- os: linux
92+
addons:
93+
apt:
94+
sources:
95+
- ubuntu-toolchain-r-test
96+
packages:
97+
- g++-5
98+
env:
99+
- LLVM_VERSION="3.9.0"
100+
- LLVM_CONFIG="llvm-config-3.9"
101+
- config=debug
102+
- CC1=gcc-5
103+
- CXX1=g++-5
104+
- os: linux
105+
addons:
106+
apt:
107+
sources:
108+
- ubuntu-toolchain-r-test
109+
packages:
110+
- g++-5
111+
env:
112+
- LLVM_VERSION="3.9.0"
113+
- LLVM_CONFIG="llvm-config-3.9"
114+
- config=release
115+
- CC1=gcc-5
116+
- CXX1=g++-5
91117
- os: osx
92118
env:
93119
- LLVM_CONFIG="llvm-config-3.6"
@@ -127,6 +153,20 @@ matrix:
127153
- lto=no
128154
- CC1=clang-3.8
129155
- CXX1=clang++-3.8
156+
# LLVM 3.9 can be enabled for OSX once Homebrew supports it.
157+
#- os: osx
158+
# env:
159+
# - LLVM_CONFIG="llvm-config-3.9"
160+
# - config=debug
161+
# - CC1=clang-3.9
162+
# - CXX1=clang++-3.9
163+
#- os: osx
164+
# env:
165+
# - LLVM_CONFIG="llvm-config-3.9"
166+
# - config=release
167+
# - CC1=clang-3.9
168+
# - CXX1=clang++-3.9
169+
130170

131171
rvm:
132172
- 2.2.3
@@ -136,7 +176,7 @@ install:
136176
# prepare to deploy artifacts.
137177
- if [[
138178
"$TRAVIS_REPO_SLUG" == "ponylang/ponyc" &&
139-
"$LLVM_VERSION" == "3.8.0" &&
179+
"$LLVM_VERSION" == "3.9.0" &&
140180
"$config" == "release" &&
141181
"$TRAVIS_OS_NAME" == "linux" &&
142182
"$TRAVIS_PULL_REQUEST" == "false"
@@ -207,7 +247,7 @@ after_success:
207247
# For a master release build with the latest stable LLVM, upload docs.
208248
- if [[
209249
"$TRAVIS_REPO_SLUG" == "ponylang/ponyc" &&
210-
"$LLVM_VERSION" == "3.8.0" &&
250+
"$LLVM_VERSION" == "3.9.0" &&
211251
"$config" == "release" &&
212252
"$TRAVIS_OS_NAME" == "linux" &&
213253
"$TRAVIS_PULL_REQUEST" == "false" &&

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to the Pony compiler and standard library will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a CHANGELOG](http://keepachangelog.com/).
44

5+
## [0.7.0] - 2016-10-22
6+
7+
### Fixed
8+
9+
- Concatenate docstrings from case methods (issue #575).
10+
11+
### Added
12+
13+
- TCP read and write backpressure hooks in `TCPConnection` (issue #1311)
14+
- Allow TCP notifiers to cause connections to yield while receiving (issue #1343)
15+
16+
### Changed
17+
18+
- `break` without a value now generates its value from the `else` branch of a loop instead of being an implicit `break None`.
19+
- The `for` loop will now break out of the loop instead of continuing with the following iterations if `Iterator.next` errors.
20+
521
## [0.6.0] - 2016-10-20
622

723
### Fixed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ Pony requires one of the following versions of LLVM:
146146
- 3.6.2
147147
- 3.7.1
148148
- 3.8.1
149+
- 3.9.0 (unsupported on OSX at the moment)
149150

150151
Compiling Pony is only possible on x86 and ARM (either 32 or 64 bits).
151152

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.0
1+
0.7.0

examples/echo/echo.pony

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ class Server is TCPConnectionNotify
4141
fun ref accepted(conn: TCPConnection ref) =>
4242
_out.print("connection accepted")
4343

44-
fun ref received(conn: TCPConnection ref, data: Array[U8] iso) =>
44+
fun ref received(conn: TCPConnection ref, data: Array[U8] iso): Bool =>
4545
_out.print("data received, looping it back")
4646
conn.write("server says: ")
4747
conn.write(consume data)
48+
true
4849

4950
fun ref closed(conn: TCPConnection ref) =>
5051
_out.print("server closed")

examples/net/client.pony

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ class ClientSide is TCPConnectionNotify
2121
fun ref connect_failed(conn: TCPConnection ref) =>
2222
_env.out.print("connect failed")
2323

24-
fun ref received(conn: TCPConnection ref, data: Array[U8] iso) =>
24+
fun ref received(conn: TCPConnection ref, data: Array[U8] iso): Bool =>
2525
_env.out.print(consume data)
26+
true
2627

2728
fun ref closed(conn: TCPConnection ref) =>
2829
_env.out.print("client closed")

examples/net/server.pony

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ class ServerSide is TCPConnectionNotify
1313
conn.write("server says hi")
1414
end
1515

16-
fun ref received(conn: TCPConnection ref, data: Array[U8] iso) =>
16+
fun ref received(conn: TCPConnection ref, data: Array[U8] iso): Bool =>
1717
_env.out.print(consume data)
1818
conn.dispose()
19+
true
1920

2021
fun ref closed(conn: TCPConnection ref) =>
2122
_env.out.print("server closed")

0 commit comments

Comments
 (0)