diff --git a/.gitignore b/.gitignore index fa010609..098288e7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,23 +6,10 @@ # If it is the latter, you can augment this list with # entries in .git/info/excludes # -# see also test/files/.gitignore -# *.jar *~ -build.properties - -# target directories for ant build -/build/ -/dists/ - -# other -/out/ -/bin/ -/sandbox/ - # eclipse, intellij /.classpath /.project @@ -39,9 +26,6 @@ scala-swing.iml # bak files produced by ./cleanup-commit *.bak -# Standard symbolic link to build/quick/bin -qbin - # Mac specific, but that is common enough a dev platform to warrant inclusion. .DS_Store diff --git a/.travis.yml b/.travis.yml index 9619f93b..dde600ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ scala: jdk: - openjdk7 - oraclejdk7 - + notifications: email: - adriaan.moors@typesafe.com diff --git a/README.md b/README.md index a1f0a972..c7bdfd99 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ scala-swing (mostly-unsupported) ========= -[](https://travis-ci.org/scala/scala-swing?branch=java7) +[](https://travis-ci.org/scala/scala-swing) +[](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.scala-lang.modules%20a%3Ascala-swing_2.11) +[](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.scala-lang.modules%20a%3Ascala-swing_2.12*) [![Stories in Ready](https://badge.waffle.io/scala/scala-swing.svg?label=ready&title=Ready)](http://waffle.io/scala/scala-swing) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/scala/scala-swing) @@ -77,6 +79,22 @@ Versions _Reason for different versions can be found at [SI-3634](https://issues.scala-lang.org/browse/SI-3634)_ -Notes: -- Visual appearance of combo boxes using the GTK LaF is broken on JDKs < 1.7b30. This is a Java Swing problem. \ No newline at end of file +ScalaDocs +--- + +Documentation for scala-swing included in 2.11.1 is can be found [here](http://www.scala-lang.org/api/2.11.1/scala-swing/#scala.swing.package) + +Other version can be found at [http://www.scala-lang.org/documentation/api.html](http://www.scala-lang.org/documentation/api.html) + + +Current Work +--- + +Current changes are being made on the **java7** branch. This is to mainly because of the EOL of java6 and the generification that happened between jdk6 and jdk7 requiring a difference in the source code. This class files are targeted at java6 and will run with all versions upwards. + +
+ +_Notes:_ + +- Visual appearance of combo boxes using the GTK LaF is broken on JDKs < 1.7b30. This is a Java Swing problem. diff --git a/build.sbt b/build.sbt index 07d818d8..2741cfdf 100644 --- a/build.sbt +++ b/build.sbt @@ -2,44 +2,30 @@ import com.typesafe.tools.mima.plugin.{MimaPlugin, MimaKeys} scalaModuleSettings -organization := "org.scala-lang.modules" +name := "scala-swing" -name := "scala-swing" - -version := "2.0.0-SNAPSHOT" +version := "2.0.0-SNAPSHOT" scalaVersion := "2.11.1" scalacOptions ++= Seq("-deprecation", "-feature", "-target:jvm-1.6") -snapshotScalaBinaryVersion := "2.11" - // important!! must come here (why?) scalaModuleOsgiSettings -OsgiKeys.exportPackage := Seq(s"scala.swing.*;version=${version.value}") - -//MimaPlugin.mimaDefaultSettings -// -//MimaKeys.previousArtifact := Some(organization.value % s"${name.value}_2.11" % "1.0.1") -// -//// run mima during tests -//test in Test := { -// MimaKeys.reportBinaryIssues.value -// (test in Test).value -//} +OsgiKeys.exportPackage := Seq(s"scala.swing.*;version=${version.value}") +mimaPreviousVersion := None // set the prompt (for this build) to include the project id. shellPrompt in ThisBuild := { state => Project.extract(state).currentRef.project + "> " } - lazy val swing = project.in( file(".") ) lazy val examples = project.in( file("examples") ) .dependsOn(swing) .settings( - scalaVersion := "2.11.1", + scalaVersion := (scalaVersion in swing).value, fork in run := true, fork := true ) @@ -47,12 +33,7 @@ lazy val examples = project.in( file("examples") ) lazy val uitest = project.in( file("uitest") ) .dependsOn(swing) .settings( - scalaVersion := "2.11.1", + scalaVersion := (scalaVersion in swing).value, fork in run := true, fork := true ) - - - - - diff --git a/project/build.properties b/project/build.properties index 304ec924..a6e117b6 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=0.13.7 \ No newline at end of file +sbt.version=0.13.8 diff --git a/project/plugins.sbt b/project/plugins.sbt index 5f604e6f..25f33731 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1 @@ -addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.2") - -addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.6") +addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.3")