Skip to content

Commit 9ed1989

Browse files
committed
Merge pull request #44 from lrytz/merge-master-to-java7
Merge master to java7
2 parents d6e2287 + 49b29fb commit 9ed1989

File tree

6 files changed

+30
-49
lines changed

6 files changed

+30
-49
lines changed

.gitignore

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,10 @@
66
# If it is the latter, you can augment this list with
77
# entries in .git/info/excludes
88
#
9-
# see also test/files/.gitignore
10-
#
119

1210
*.jar
1311
*~
1412

15-
build.properties
16-
17-
# target directories for ant build
18-
/build/
19-
/dists/
20-
21-
# other
22-
/out/
23-
/bin/
24-
/sandbox/
25-
2613
# eclipse, intellij
2714
/.classpath
2815
/.project
@@ -39,9 +26,6 @@ scala-swing.iml
3926
# bak files produced by ./cleanup-commit
4027
*.bak
4128

42-
# Standard symbolic link to build/quick/bin
43-
qbin
44-
4529
# Mac specific, but that is common enough a dev platform to warrant inclusion.
4630
.DS_Store
4731

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ scala:
1616
jdk:
1717
- openjdk7
1818
- oraclejdk7
19-
19+
2020
notifications:
2121
email:
2222

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
scala-swing (mostly-unsupported)
22
=========
33

4-
[<img src="https://api.travis-ci.org/scala/scala-swing.png?branch=java7"/>](https://travis-ci.org/scala/scala-swing?branch=java7)
4+
[<img src="https://img.shields.io/travis/scala/scala-swing/java7.svg"/>](https://travis-ci.org/scala/scala-swing)
5+
[<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)
6+
[<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*)
57
[![Stories in Ready](https://badge.waffle.io/scala/scala-swing.svg?label=ready&title=Ready)](http://waffle.io/scala/scala-swing)
68
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/scala/scala-swing)
79

@@ -77,6 +79,22 @@ Versions
7779
_Reason for different versions can be found at [SI-3634](https://issues.scala-lang.org/browse/SI-3634)_
7880

7981

80-
Notes:
8182

82-
- Visual appearance of combo boxes using the GTK LaF is broken on JDKs < 1.7b30. This is a Java Swing problem.
83+
ScalaDocs
84+
---
85+
86+
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)
87+
88+
Other version can be found at [http://www.scala-lang.org/documentation/api.html](http://www.scala-lang.org/documentation/api.html)
89+
90+
91+
Current Work
92+
---
93+
94+
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.
95+
96+
<br>
97+
98+
_Notes:_
99+
100+
- Visual appearance of combo boxes using the GTK LaF is broken on JDKs < 1.7b30. This is a Java Swing problem.

build.sbt

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,38 @@ import com.typesafe.tools.mima.plugin.{MimaPlugin, MimaKeys}
22

33
scalaModuleSettings
44

5-
organization := "org.scala-lang.modules"
5+
name := "scala-swing"
66

7-
name := "scala-swing"
8-
9-
version := "2.0.0-SNAPSHOT"
7+
version := "2.0.0-SNAPSHOT"
108

119
scalaVersion := "2.11.1"
1210

1311
scalacOptions ++= Seq("-deprecation", "-feature", "-target:jvm-1.6")
1412

15-
snapshotScalaBinaryVersion := "2.11"
16-
1713
// important!! must come here (why?)
1814
scalaModuleOsgiSettings
1915

20-
OsgiKeys.exportPackage := Seq(s"scala.swing.*;version=${version.value}")
21-
22-
//MimaPlugin.mimaDefaultSettings
23-
//
24-
//MimaKeys.previousArtifact := Some(organization.value % s"${name.value}_2.11" % "1.0.1")
25-
//
26-
//// run mima during tests
27-
//test in Test := {
28-
// MimaKeys.reportBinaryIssues.value
29-
// (test in Test).value
30-
//}
16+
OsgiKeys.exportPackage := Seq(s"scala.swing.*;version=${version.value}")
3117

18+
mimaPreviousVersion := None
3219

3320
// set the prompt (for this build) to include the project id.
3421
shellPrompt in ThisBuild := { state => Project.extract(state).currentRef.project + "> " }
3522

36-
3723
lazy val swing = project.in( file(".") )
3824

3925
lazy val examples = project.in( file("examples") )
4026
.dependsOn(swing)
4127
.settings(
42-
scalaVersion := "2.11.1",
28+
scalaVersion := (scalaVersion in swing).value,
4329
fork in run := true,
4430
fork := true
4531
)
4632

4733
lazy val uitest = project.in( file("uitest") )
4834
.dependsOn(swing)
4935
.settings(
50-
scalaVersion := "2.11.1",
36+
scalaVersion := (scalaVersion in swing).value,
5137
fork in run := true,
5238
fork := true
5339
)
54-
55-
56-
57-
58-

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.7
1+
sbt.version=0.13.8

project/plugins.sbt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.2")
2-
3-
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.6")
1+
addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.3")

0 commit comments

Comments
 (0)