Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
23e1796
Only test on Java 6. See java7 branch.
adriaanm Dec 4, 2013
276ccde
Remove redundant mappings setting.
adriaanm Dec 5, 2013
d18f424
OSGify.
adriaanm Dec 5, 2013
2f06f61
Merge pull request #1 from scala/osgify
adriaanm Dec 5, 2013
2d358e1
add build.properties, remove from .gitignore
adriaanm Dec 5, 2013
dbcc00e
SI-8019 Make Publisher check PartialFunction is defined for Event
rtyley Nov 29, 2013
f0246d3
Merge pull request #2 from rtyley/si-8019-swing-publisher-check-pf-de…
adriaanm Dec 9, 2013
3689632
Switch to scala-module-plugin, sbt 0.13.1
adriaanm Jan 25, 2014
e8f69af
Merge pull request #3 from adriaanm/master
adriaanm Jan 27, 2014
312cfce
Check binary compatibility with MiMa
adriaanm Mar 17, 2014
f2a13d6
Bump versions.
adriaanm Mar 17, 2014
42b475c
Version bumps
retronym May 7, 2014
440d2eb
Merge pull request #8 from retronym/topic/bump
gkossakowski May 8, 2014
8a32fc9
Adds scaladoc notes to read me
andy1138 Jul 21, 2014
e90328c
adds 'current work'
andy1138 Jul 22, 2014
64b40bf
Corrects path to demos
andy1138 Jul 22, 2014
4552a5e
bit of readme.md layout cleanup
andy1138 Jul 22, 2014
57b9b72
Merge pull request #14 from andy1138/master
andy1138 Aug 6, 2014
a6a8e1d
Support for tag-driven publishing on Travis.
adriaanm Dec 4, 2014
2b61b76
Secure config for publishing to sonatype
adriaanm Dec 4, 2014
8da0e7b
Merge pull request #33 from adriaanm/autopublish
adriaanm Dec 4, 2014
38bba36
Update the scala-modules plugin to 1.0.3
lrytz Apr 30, 2015
485d728
update version number for v1.0.2
lrytz Apr 30, 2015
0fc44e2
Update README.md
lrytz May 5, 2015
deabbbb
Merge remote-tracking branch 'upstream/master' into merge-master-to-j…
lrytz May 11, 2015
49b29fb
Disable MiMa, minor cleanups in build.sbt
lrytz May 12, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ scala:
jdk:
- openjdk7
- oraclejdk7

notifications:
email:
- adriaan.moors@typesafe.com
Expand Down
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
scala-swing (mostly-unsupported)
=========

[<img src="https://api.travis-ci.org/scala/scala-swing.png?branch=java7"/>](https://travis-ci.org/scala/scala-swing?branch=java7)
[<img src="https://img.shields.io/travis/scala/scala-swing/java7.svg"/>](https://travis-ci.org/scala/scala-swing)
[<img src="https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-swing_2.11.svg?label=latest%20release%20for%202.11"/>](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.scala-lang.modules%20a%3Ascala-swing_2.11)
[<img src="https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-swing_2.12*.svg?label=latest%20release%20for%202.12"/>](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)

Expand Down Expand Up @@ -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.
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.

<br>

_Notes:_

- Visual appearance of combo boxes using the GTK LaF is broken on JDKs < 1.7b30. This is a Java Swing problem.
31 changes: 6 additions & 25 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,38 @@ 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
)

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
)





2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.7
sbt.version=0.13.8
4 changes: 1 addition & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -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")