Skip to content

Commit 394b0c5

Browse files
committed
Merge pull request #4 from scala/2.11.x
2.11.x
2 parents c5164d8 + 90706b0 commit 394b0c5

File tree

272 files changed

+3713
-1295
lines changed

Some content is hidden

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

272 files changed

+3713
-1295
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
/build.properties
2727
/buildcharacter.properties
2828

29+
# might get generated when testing Jenkins scripts locally
30+
/jenkins.properties
31+
2932
# target directories for ant build
33+
/build
3034
/build/
3135
/dists/
3236

@@ -52,5 +56,6 @@
5256
# Sbt's target directories
5357
/target/
5458
/project/target/
55-
/project/project/target
59+
/project/project/target/
60+
/project/project/project/target/
5661
/build-sbt/

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ We follow the standard GitHub [fork & pull](https://help.github.com/articles/usi
44
You're always welcome to submit your PR straight away and start the discussion (without reading the rest of this wonderful doc, or the `READMEnot^H^H^H.md`). The goal of these notes is to make your experience contributing to Scala as smooth and pleasant as possible. We're happy to guide you through the process once you've submitted your PR.
55

66
## The Scala Community
7-
In 2014, you -- the Scala community -- matched the core team at EPFL in number of commits contributed to Scala 2.11, doubling the percentage of commits from outside EPFL/Typesafe since 2.10. Excellent work! (The split was roughly 25/25/50 for you/EPFL/Typesafe.)
7+
In 2014, you -- the Scala community -- matched the core team at EPFL in number of commits contributed to Scala 2.11, doubling the percentage of commits from outside EPFL/Lightbend since 2.10. Excellent work! (The split was roughly 25/25/50 for you/EPFL/Lightbend.)
88

99
We are super happy about this, and are eager to make your experience contributing to Scala productive and satisfying, so that we can keep up this growth. We can't do this alone (nor do we want to)!
1010

1111
This is why we're collecting these notes on how to contribute, and we hope you'll share your experience to improve the process for the next contributor! (Feel free to send a PR for this note, send your thoughts to scala-internals, or tweet about it to @adriaanm.)
1212

13-
By the way, the team at Typesafe is: @adriaanm, @lrytz, @retronym, and @SethTisue.
13+
By the way, the team at Lightbend is: @adriaanm, @lrytz, @retronym, @SethTisue, and @szeiger.
1414

1515
## What kind of PR are you submitting?
1616

17-
Regardless of the nature of your Pull Request, we have to ask you to digitally sign the [Scala CLA](http://typesafe.com/contribute/cla/scala), to protect the OSS nature of the code base.
17+
Regardless of the nature of your Pull Request, we have to ask you to digitally sign the [Scala CLA](http://www.lightbend.com/contribute/cla/scala), to protect the OSS nature of the code base.
1818

1919
You don't need to submit separate PRs for 2.11.x, 2.12.x, and 2.13.x. Any changes accepted on one of these branches will, in time, be merged into the later branches.
2020

README.md

Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the official repository for the [Scala Programming Language](http://www.
33

44
# How to contribute
55

6-
To contribute to the Scala Standard Library, Scala Compiler and Scala Language Specification, please send us a [pull request](https://help.github.com/articles/using-pull-requests/#fork--pull) from your fork of this repository! We do have to ask you to sign the [Scala CLA](http://typesafe.com/contribute/cla/scala) before we can merge any of your work into our code base, to protect its open source nature.
6+
To contribute to the Scala Standard Library, Scala Compiler and Scala Language Specification, please send us a [pull request](https://help.github.com/articles/using-pull-requests/#fork--pull) from your fork of this repository! We do have to ask you to sign the [Scala CLA](http://www.lightbend.com/contribute/cla/scala) before we can merge any of your work into our code base, to protect its open source nature.
77

88
For more information on building and developing the core of Scala, read on!
99

@@ -23,7 +23,7 @@ If you need some help with your PR at any time, please feel free to @-mention an
2323
| username | talk to me about... |
2424
--------------------------------------------------------------------------------------------------|----------------------------------------------------------------|---------------------------------------------------|
2525
<img src="https://avatars.githubusercontent.com/adriaanm" height="50px" title="Adriaan Moors"/> | [`@adriaanm`](https://github.com/adriaanm) | type checker, pattern matcher, infrastructure, language spec |
26-
<img src="https://avatars.githubusercontent.com/SethTisue" height="50px" title="Seth Tisue"/> | [`@SethTisue`](https://github.com/SethTisue) | back-end, library, the welcome-to-Scala experience, build |
26+
<img src="https://avatars.githubusercontent.com/SethTisue" height="50px" title="Seth Tisue"/> | [`@SethTisue`](https://github.com/SethTisue) | build, developer docs, community build, Jenkins, library, the welcome-to-Scala experience |
2727
<img src="https://avatars.githubusercontent.com/retronym" height="50px" title="Jason Zaugg"/> | [`@retronym`](https://github.com/retronym) | compiler performance, weird compiler bugs, Java 8 lambdas, REPL |
2828
<img src="https://avatars.githubusercontent.com/Ichoran" height="50px" title="Rex Kerr"/> | [`@Ichoran`](https://github.com/Ichoran) | collections library, performance |
2929
<img src="https://avatars.githubusercontent.com/lrytz" height="50px" title="Lukas Rytz"/> | [`@lrytz`](https://github.com/lrytz) | optimizer, named & default arguments |
@@ -40,16 +40,12 @@ P.S.: If you have some spare time to help out around here, we would be delighted
4040

4141
# Handy Links
4242
- [A wealth of documentation](http://docs.scala-lang.org)
43+
- [mailing lists](http://www.scala-lang.org/community/)
44+
- [Gitter room for Scala contributors](https://gitter.im/scala/contributors)
4345
- [Scala CI](https://scala-ci.typesafe.com/)
44-
- [Download the latest nightly](http://www.scala-lang.org/files/archive/nightly/2.11.x/)
45-
- [(Deprecated) Scala CI at EPFL](https://scala-webapps.epfl.ch/jenkins/)
46-
- Scala mailing lists:
47-
- [Compiler and standard library development](https://groups.google.com/group/scala-internals)
48-
- [Users of Scala](https://groups.google.com/group/scala-user)
49-
- [Scala language discussion](https://groups.google.com/group/scala-language)
50-
- [Scala Improvement Process](https://groups.google.com/group/scala-sips)
51-
- [Debate](https://groups.google.com/group/scala-debate)
52-
- [Announcements](https://groups.google.com/group/scala-announce)
46+
- download the latest nightlies:
47+
- [2.11.x](http://www.scala-lang.org/files/archive/nightly/2.11.x/)
48+
- [2.12.x](http://www.scala-lang.org/files/archive/nightly/2.12.x/)
5349

5450
# Repository structure
5551

@@ -74,7 +70,13 @@ scala/
7470

7571
## Requirements
7672

77-
You'll need a Java SDK (6 or newer), Apache Ant (version 1.9.0 or above), and curl (for `./pull-binary-libs.sh`).
73+
You'll need a Java SDK. The baseline version is 6 for 2.11.x, 8 for
74+
2.12.x. (It's also possible to use a later SDK for local development,
75+
but the CI will verify against the baseline version.)
76+
77+
You'll also need Apache Ant (version 1.9.0 or above) and curl (for `./pull-binary-libs.sh`).
78+
79+
Mac OS X and Linux work. Windows may work if you use Cygwin. (Community help with keeping the build working on Windows is appreciated.)
7880

7981
## Git Hygiene
8082

@@ -129,25 +131,10 @@ Here, `<milestone>` is the milestone targeted by the PR (e.g., 2.11.6), and `<sh
129131

130132
## IDE Setup
131133
### Eclipse
132-
Download the [Scala IDE bundle](http://scala-ide.org/download/sdk.html). It comes preconfigured for optimal performance.
133-
134-
- Run `ant init` to download some necessary jars.
135-
- Import the project (in `src/eclipse`) via `File``Import Existing Projects into Workspace`. Check all projects and click ok.
136-
137-
For important details on building, debugging and file encodings, please see [the excellent tutorial on scala-ide.org](http://scala-ide.org/docs/tutorials/scalac-trunk/index.html) and the included README.md in src/eclipse.
138-
139-
### IntelliJ 14
140-
Use the latest IntelliJ IDEA release and install the Scala plugin from within the IDE.
141-
142-
The following steps are required to use IntelliJ IDEA on Scala trunk
143-
- Run `ant init`. This will download some JARs to `./build/deps`, which are included in IntelliJ's classpath.
144-
- Run `./src/intellij/setup.sh`.
145-
- Open `./src/intellij/scala.ipr` in IntelliJ.
146-
- `File``Project Structure``Project``Project SDK`. Create an SDK entry named "1.6" containing the Java 1.6 SDK.
147-
(You may use a later SDK for local development, but the CI will verify against Java 6.)
134+
See [src/eclipse/README.md](src/eclipse/README.md).
148135

149-
Compilation within IDEA is performed in `-Dlocker.skip=1` mode: the sources are built
150-
directly using the STARR compiler (which is downloaded from [the Central Repository](http://central.sonatype.org/), according to `starr.version` in `versions.properties`).
136+
### IntelliJ 15
137+
See [src/intellij/README.md](src/intellij/README.md).
151138

152139
## Building with sbt (EXPERIMENTAL)
153140

bincompat-backward.whitelist.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,12 @@ filter {
217217
{
218218
matchName="scala.concurrent.impl.Promise$DefaultPromise"
219219
problemName=MissingTypesProblem
220+
},
221+
// SI-9488: Due to SI-8362 above, toString was silently changed to the AtomicReference toString implementation,
222+
// This is fixed by SI-9488, and this should be safe since the class in question is stdlib internal.
223+
{
224+
matchName="scala.concurrent.impl.Promise.toString"
225+
problemName=MissingMethodProblem
220226
}
221227
]
222228
}

bincompat-forward.whitelist.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,12 @@ filter {
381381
{
382382
matchName="scala.concurrent.impl.Promise$DefaultPromise"
383383
problemName=MissingTypesProblem
384+
},
385+
// SI-9488: Due to SI-8362 above, toString was silently changed to the AtomicReference toString implementation,
386+
// This is fixed by SI-9488, and this should be safe since the class in question is stdlib internal.
387+
{
388+
matchName="scala.concurrent.impl.Promise.toString"
389+
problemName=MissingMethodProblem
384390
}
385391
]
386392
}

build.number

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
version.major=2
66
version.minor=11
7-
version.patch=8
7+
version.patch=9
88

99
# This is the -N part of a version (2.9.1-1). If it's 0, it's dropped from maven versions. It should not be used again.
1010
version.bnum=0

0 commit comments

Comments
 (0)