-
Notifications
You must be signed in to change notification settings - Fork 47
Merge master to java7 #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reactions are PartialFunctions, so if events come through indiscriminately that the listener is not defined for, errors occur. Eg: -- Exception in thread "AWT-EventQueue-0" scala.MatchError: FocusGained(scala.swing wrapper scala.swing.TextField -- A Coursera thread with people affected by this issue: https://class.coursera.org/reactive-001/forum/thread?thread_id=1315
…pf-defined SI-8019 Make Publisher check PartialFunction is defined for Event
Switch to scala-module-plugin, sbt 0.13.1
- Update project version to 1.0.2-SNAPSHOT, give that 1.0.1 is
already released
- Use _2.11 as the snapshot binary version for 2.12.0-SNAPSHOT
PR validation.
- Use 1.0.1 as the MiMa baseline
- Use Scala 2.11.0 for Travis CI builds
Version bumps
Update to README to show location of scaladocs (and to promote java7 branch)
Modify travis build to derive the project version from TRAVIS_TAG (when set).
as well as to have sbt run the `publish-signed` task if the environment is right.
The tag must match the semver regex `^v[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)?`,
and the jdk we're running on must match PUBLISH_JDK (set in .travis.yml).
For every repo, you must create the following files (not included here)
according to the instructions in admin/gpg.sbt:
- admin/pubring.asc (commit)
- admin/secring.asc (DO NOT COMMIT)
- sensitive.sbt (DO NOT COMMIT)
- passphrase for secring.asc
- api token for staging to sonatype
Generate these using `admin/encryptAll.sh`:
- admin/secring.asc.enc (commit)
- sensitive.sbt.enc (commit)
Note that `encryptAll.sh` spits out a "- secure .... " line,
that you need to add to `.travis.yml`'s `env` section, so that
travis can supply the SECRET env variable, which is used to
decrypt the sensitive files above.
Support for tag-driven publishing on Travis.
|
Hi @andy1138 I think there's a few things that we can do for the Scala 2.12 release (there's still time!). In general, the In terms of workflow, I think we should continuously merge For Scala 2.11, we will continue using Once we switch make the Let me know if this all sounds good. I'm happy to do the changes (I'll @-mention you). |
|
Hi @lrytz You seem to be matching what I had in mind. The idea was to have As for what gets released with what, As your git-fu is probably better than mine then I'm happy to let you do the changes, if not then I'll do it over the weekend. I'm happy to tidy things up afterwards if you just want to get the basics working. Note: there is a binary compatible break in |
|
@lrytz :-) good timing, build has just failed, looks like |
|
Thanks @andy1138 for your answer! Indeed we have to disable MiMa until Using For cross-building: the 2.12.0-M1 release still uses scala-swing version 1.0.x, so for now I'll cross-build the 1.0.x branch with 2.10, 2.11 and 2.12. The 2.0.x branch we can cross-build with 2.11 and 2.12 - maybe some 2.11 users are also interested in using scala-swing 2.0.x. I'll move to jdk 8 for the 2.0.x branch - soon, the Scala 2.12 compiler will only run on this anyway. There's no drawback in running the 2.11 compiler on jdk 8: the resulting classes will work fine on jdk 7, so 2.11 users on jdk 7 ca use scala-swing 2.0.x. Lots of version numbers there :) |
|
@lrytz Thanks for all the work :-) I think you got the java/scala/scala-swing version numbering correct. I'm basically thinking that any changes will go into swing2.0 and backported to swing1.0 only if really asked for Thanks again :-) |
|
absolutely, we can keep 1.0.x in maintenance mode, and backport individual On Wednesday, May 13, 2015, Andy Hicks notifications@github.com wrote:
|
This merges the current master branch into java7.