From 284be822e8bac8e6d8308b0f430bcf94dc056a24 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Wed, 2 Oct 2024 17:03:46 +0000 Subject: [PATCH] scala package is retired on branch c10s for CS-2551 --- .gitignore | 32 -- README.md | 3 + dead.package | 1 + fsc.in | 45 -- generate-tarball.sh | 26 - get-source.sh | 22 - scala-2.10-jline.patch | 107 ---- scala-2.10.0-bnd.patch | 22 - scala-2.10.0-java7.patch | 237 --------- scala-2.10.0-tooltemplate.patch | 21 - scala-2.10.0-use_system_jline.patch | 135 ------ scala-2.10.1-bc.patch | 28 -- scala-2.10.2-java7.patch | 198 -------- scala-2.10.3-build_xml.patch | 635 ------------------------ scala-2.10.3-compiler-pom.patch | 15 - scala-2.10.3-use_system_jline.patch | 109 ----- scala-2.10.4-build_xml.patch | 675 -------------------------- scala-2.10.6-scaladoc-resources.patch | 25 - scala-bootstript.xml | 152 ------ scala-library-2.10.0-bnd.properties | 3 - scala-mime-info.xml | 8 - scala-tooltemplate.patch | 66 --- 22 files changed, 4 insertions(+), 2561 deletions(-) delete mode 100644 .gitignore create mode 100644 README.md create mode 100644 dead.package delete mode 100644 fsc.in delete mode 100755 generate-tarball.sh delete mode 100755 get-source.sh delete mode 100644 scala-2.10-jline.patch delete mode 100644 scala-2.10.0-bnd.patch delete mode 100644 scala-2.10.0-java7.patch delete mode 100644 scala-2.10.0-tooltemplate.patch delete mode 100644 scala-2.10.0-use_system_jline.patch delete mode 100644 scala-2.10.1-bc.patch delete mode 100644 scala-2.10.2-java7.patch delete mode 100644 scala-2.10.3-build_xml.patch delete mode 100644 scala-2.10.3-compiler-pom.patch delete mode 100644 scala-2.10.3-use_system_jline.patch delete mode 100644 scala-2.10.4-build_xml.patch delete mode 100644 scala-2.10.6-scaladoc-resources.patch delete mode 100644 scala-bootstript.xml delete mode 100644 scala-library-2.10.0-bnd.properties delete mode 100644 scala-mime-info.xml delete mode 100644 scala-tooltemplate.patch diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5622ce2..0000000 --- a/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -fjbg-r17392.tar.bz2 -msil-2.7.5.final.tar.bz2 -scala-2.7.5.final-sources.tgz -scala-2.7.7.final-sources.tgz -/scala-2.8.1.final-sources.tgz -/scala-2.9.1.final-sources.tgz -/scala-sources-2.9.2.tgz -/scala-2.10.0-RC3.tgz -/scala-sources-2.10.0-RC5.tgz -/scala-sources-2.10.0.tgz -/scala-sources-2.10.1.tgz -/scala-2.10.2.tgz -/scala-2.10.2.tar.gz -/scala-2.10.2-bootstrap.tgz -/scala-.tgz -/scala--bootstrap.tgz -/scala-2.10.3.tgz -/scala-2.10.3-bootstrap.tgz -/scala-2.10.4.tgz -/scala-2.10.4-bootstrap.tgz -/v2.10.4.tar.gz -/scala-2.10.4-build_xml.patch -/scala.ant.d -/scala-bootstript.xml -/scala.gitinfo -/scala.keys -/scala-library-2.10.0-bnd.properties.in -/scala.mime -/scala-mime-info.xml -/sources -/v2.10.6.tar.gz -/scala-2.10.6.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..24b9ea2 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Package Not Available +This package is not available on CentOS Stream 10. +It may be available on another branch. \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..4b2466d --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +scala package is retired on branch c10s for CS-2551 \ No newline at end of file diff --git a/fsc.in b/fsc.in deleted file mode 100644 index fd304cc..0000000 --- a/fsc.in +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -############################################################################## -# Fast Scala compiler 2.6.1-RC2 -############################################################################## -# (c) 2002-2007 LAMP/EPFL -# -# This is free software; see the distribution for copying conditions. -# There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. -############################################################################## - -[ -r @@JAVADIR@@-utils/java-functions ] \ - && . @@JAVADIR@@-utils/java-functions || exit 1 - -set_javacmd || exit 3 -check_java_env || exit 4 -set_jvm_dirs || exit 5 - -SCALA_HOME="@@DATADIR@@/scala" - -# Constructing the extension classpath -EXTENSION_CLASSPATH="" -if [ -z "$EXTENSION_CLASSPATH" ] ; then - for ext in `ls -d "$SCALA_HOME"/lib/*` ; do - if [ -z "$EXTENSION_CLASSPATH" ] ; then - EXTENSION_CLASSPATH="$ext" - else - EXTENSION_CLASSPATH="$EXTENSION_CLASSPATH:$ext" - fi - done -fi - -BOOT_CLASSPATH="`build-classpath scala/scala-library`" - -if [ $? != 0 ]; then - echo $"Could not find the scala library jar." >&2 - echo $"Please check that Java is configured properly." >&2 - exit 6 -fi - -# Reminder: substitution ${JAVA_OPTS:=-Xmx256M -Xms16M} DO NOT work on Solaris -[ -n "$JAVA_OPTS" ] || JAVA_OPTS="" - -$JAVACMD $JAVA_OPTS -Xbootclasspath/a:"$BOOT_CLASSPATH" -cp "$EXTENSION_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS" scala.tools.nsc.CompileClient "$@" diff --git a/generate-tarball.sh b/generate-tarball.sh deleted file mode 100755 index 06dd204..0000000 --- a/generate-tarball.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -set -e - -name=scala -version="$(sed -n 's/Version:\s*//p' *.spec)" - -# RETRIEVE -wget "https://github.com/scala/scala/archive/v${version}.tar.gz" -O "${name}-${version}.orig.tar.gz" - -rm -rf tarball-tmp -mkdir tarball-tmp -cd tarball-tmp -tar xf "../${name}-${version}.orig.tar.gz" - -# CLEAN TARBALL -find -name '*.jar' -delete -find -name '*.class' -delete -# Possibly proprietary code -find -name '*.dll' -delete -find -name '*.so' -delete -# Contains minified js of uncertain origin -rm -r */src/compiler/scala/tools/nsc/doc/html/resource/lib - -tar cf "../${name}-${version}.tar.gz" * -cd .. -rm -r tarball-tmp "${name}-${version}.orig.tar.gz" diff --git a/get-source.sh b/get-source.sh deleted file mode 100755 index 273f983..0000000 --- a/get-source.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -set -x - -VER=$(fedpkg verrel | sed -e 's/^scala\-\(.*\)\-.*$/\1/') - -FNS=scala-$VER - -rm -rf $FNS/ -git clone git://github.com/scala/scala.git $FNS -cd $FNS -git checkout v$VER -git log --pretty=format:"%H%n%ci" v$VER | head -n 2 | \ - sed -e 's/\-//g' -e 's/\s\+.*//g' >../scala.gitinfo -cd .. -tar -zcf $FNS.tgz --exclude $FNS/.git $FNS/ -cd $FNS -./pull-binary-libs.sh -rm -rf lib/jline.jar -tar -zcf ../$FNS-bootstrap.tgz --exclude .git lib/*.jar -cd .. -rm -rf $FNS/ -fedpkg new-sources $FNS.tgz $FNS-bootstrap.tgz diff --git a/scala-2.10-jline.patch b/scala-2.10-jline.patch deleted file mode 100644 index 59ec518..0000000 --- a/scala-2.10-jline.patch +++ /dev/null @@ -1,107 +0,0 @@ -diff --git a/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala b/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala -index 10f9724..2970276 100644 ---- a/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala -+++ b/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala -@@ -42,7 +42,7 @@ class JLineReader(_completion: => Completion) extends InteractiveReader { - def readOneKey(prompt: String) = { - this.print(prompt) - this.flush() -- this.readVirtualKey() -+ this.readCharacter() - } - def eraseLine() = consoleReader.resetPromptLine("", "", 0) - def redrawLineAndFlush(): Unit = { flush() ; drawLine() ; flush() } -diff --git a/src/compiler/scala/tools/nsc/interpreter/session/FileBackedHistory.scala b/src/compiler/scala/tools/nsc/interpreter/session/FileBackedHistory.scala -index dddfb1b..e598ac5 100644 ---- a/src/compiler/scala/tools/nsc/interpreter/session/FileBackedHistory.scala -+++ b/src/compiler/scala/tools/nsc/interpreter/session/FileBackedHistory.scala -@@ -13,7 +13,7 @@ import FileBackedHistory._ - /** TODO: file locking. - */ - trait FileBackedHistory extends JLineHistory with JPersistentHistory { -- def maxSize: Int -+ def maxSize: Int = 2500 - protected lazy val historyFile: File = defaultFile - private var isPersistent = true - -diff --git a/src/compiler/scala/tools/nsc/interpreter/session/JLineHistory.scala b/src/compiler/scala/tools/nsc/interpreter/session/JLineHistory.scala -index 18e0ee7..fc33192 100644 ---- a/src/compiler/scala/tools/nsc/interpreter/session/JLineHistory.scala -+++ b/src/compiler/scala/tools/nsc/interpreter/session/JLineHistory.scala -@@ -13,7 +13,6 @@ package session - trait JLineHistory extends JHistory with History { - def size: Int - def isEmpty: Boolean -- def index: Int - def clear(): Unit - def get(index: Int): CharSequence - def add(line: CharSequence): Unit -@@ -42,7 +41,8 @@ object JLineHistory { - addLineToFile(item) - } - } -- override def toString = "History(size = " + size + ", index = " + index + ")" -+ override def toString = "History(size = " + size + ", _index = " + index + ")" -+ override def maxSize: Int = 2500 - } - - def apply(): JLineHistory = try new JLineFileHistory catch { case x: Exception => new SimpleHistory() } -diff --git a/src/compiler/scala/tools/nsc/interpreter/session/SimpleHistory.scala b/src/compiler/scala/tools/nsc/interpreter/session/SimpleHistory.scala -index 9f4e2b9..8933849 100644 ---- a/src/compiler/scala/tools/nsc/interpreter/session/SimpleHistory.scala -+++ b/src/compiler/scala/tools/nsc/interpreter/session/SimpleHistory.scala -@@ -10,7 +10,7 @@ package session - import scala.collection.mutable.{ Buffer, ListBuffer } - import scala.collection.JavaConverters._ - --class SimpleHistory extends JLineHistory { -+class SimpleHistory extends JMemoryHistory with JLineHistory { - private var _index: Int = 0 - private val buf: Buffer[String] = new ListBuffer[String] - private def toEntries(): Seq[JEntry] = buf.zipWithIndex map { case (x, i) => Entry(i, x) } -@@ -32,27 +32,27 @@ class SimpleHistory extends JLineHistory { - def maxSize: Int = 2500 - def last = if (isEmpty) fail("last") else buf.last - -- def size = buf.size -- def index = _index -- def isEmpty = buf.isEmpty -- def clear() = buf.clear() -- def get(idx: Int): CharSequence = buf(idx) -- def add(item: CharSequence): Unit = buf += item -- def replace(item: CharSequence): Unit = { -+ override def size = buf.size -+ override def index = _index -+ override def isEmpty = buf.isEmpty -+ override def clear() = buf.clear() -+ override def get(idx: Int): CharSequence = buf(idx) -+ override def add(item: CharSequence): Unit = buf += item -+ override def replace(item: CharSequence): Unit = { - buf trimEnd 1 - add(item) - } -- def entries(idx: Int): JListIterator[JEntry] = toEntries().asJava.listIterator(idx) -- def entries(): JListIterator[JEntry] = toEntries().asJava.listIterator() -- def iterator: JIterator[JEntry] = toEntries().iterator.asJava -- -- def current() = if (index >= 0 && index < buf.size) buf(index) else fail("current()") -- def previous() = (index > 0) && minusOne -- def next() = (index <= lastIndex) && plusOne -- def moveToFirst() = (size > 0) && (index != 0) && setTo(0) -- def moveToLast() = (size > 0) && (index < lastIndex) && setTo(lastIndex) -- def moveTo(idx: Int) = (idx > 0) && (idx <= lastIndex) && setTo(idx) -- def moveToEnd(): Unit = setTo(size) -+ override def entries(idx: Int): JListIterator[JEntry] = toEntries().asJava.listIterator(idx) -+ override def entries(): JListIterator[JEntry] = toEntries().asJava.listIterator() -+ override def iterator: JIterator[JEntry] = toEntries().iterator.asJava -+ -+ override def current() = if (index >= 0 && index < buf.size) buf(index) else fail("current()") -+ override def previous() = (index > 0) && minusOne -+ override def next() = (index <= lastIndex) && plusOne -+ override def moveToFirst() = (size > 0) && (index != 0) && setTo(0) -+ override def moveToLast() = (size > 0) && (index < lastIndex) && setTo(lastIndex) -+ override def moveTo(idx: Int) = (idx > 0) && (idx <= lastIndex) && setTo(idx) -+ override def moveToEnd(): Unit = setTo(size) - - // scala legacy interface - def asList: List[JEntry] = toEntries().toList diff --git a/scala-2.10.0-bnd.patch b/scala-2.10.0-bnd.patch deleted file mode 100644 index cf06ee9..0000000 --- a/scala-2.10.0-bnd.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -up scala-2.10.0-sources/build.xml.bndx scala-2.10.0-sources/build.xml ---- scala-2.10.0-sources/build.xml.bndx 2013-01-07 22:47:24.862355735 +0100 -+++ scala-2.10.0-sources/build.xml 2013-01-07 22:55:35.930399829 +0100 -@@ -280,9 +280,6 @@ INITIALISATION - - - -- -- -- - - - -@@ -297,7 +294,7 @@ INITIALISATION - - - -- -+ - - - diff --git a/scala-2.10.0-java7.patch b/scala-2.10.0-java7.patch deleted file mode 100644 index 62ccde5..0000000 --- a/scala-2.10.0-java7.patch +++ /dev/null @@ -1,237 +0,0 @@ -diff -up scala-2.10.0-RC3-sources/build.xml.jdk7 scala-2.10.0-RC3-sources/build.xml ---- scala-2.10.0-RC3-sources/build.xml.jdk7 2012-12-08 16:10:10.948127863 +0100 -+++ scala-2.10.0-RC3-sources/build.xml 2012-12-08 16:16:20.267162236 +0100 -@@ -1087,7 +1087,7 @@ QUICK BUILD (QUICK) - - - -- -+ - - - -- -+ - - - -@@ -1726,7 +1726,7 @@ OSGi Artifacts - - - -- -+ - - - -@@ -1869,7 +1869,7 @@ BOOTSTRAPPING BUILD (STRAP) - - - -- -+ - s.toFloat, s => s.toString) - implicit def doubleEditor(c: ComboBox[Double]): Editor[Double] = new BuiltInEditor(c)(s => s.toDouble, s => s.toString) - -- def newConstantModel[A](items: Seq[A]): ComboBoxModel = { -- new AbstractListModel with ComboBoxModel { -+ def newConstantModel[A](items: Seq[A]): ComboBoxModel[A] = { -+ new AbstractListModel[A] with ComboBoxModel[A] { - private var selected: A = if (items.isEmpty) null.asInstanceOf[A] else items(0) -- def getSelectedItem: AnyRef = selected.asInstanceOf[AnyRef] -+ def getSelectedItem = selected.asInstanceOf[AnyRef] - def setSelectedItem(a: Any) { - if ((selected != null && selected != a) || - selected == null && a != null) { -@@ -129,7 +129,7 @@ object ComboBox { - fireContentsChanged(this, -1, -1) - } - } -- def getElementAt(n: Int) = items(n).asInstanceOf[AnyRef] -+ def getElementAt(n: Int) = items(n).asInstanceOf[A] - def getSize = items.size - } - } -@@ -157,7 +157,7 @@ object ComboBox { - * @see javax.swing.JComboBox - */ - class ComboBox[A](items: Seq[A]) extends Component with Publisher { -- override lazy val peer: JComboBox = new JComboBox(ComboBox.newConstantModel(items)) with SuperMixin -+ override lazy val peer: JComboBox[A] = new JComboBox(ComboBox.newConstantModel(items)) with SuperMixin - - object selection extends Publisher { - def index: Int = peer.getSelectedIndex -@@ -182,7 +182,8 @@ class ComboBox[A](items: Seq[A]) extends - * of the component to its own defaults _after_ the renderer has been - * configured. That's Swing's principle of most suprise. - */ -- def renderer: ListView.Renderer[A] = ListView.Renderer.wrap(peer.getRenderer) -+ def renderer: ListView.Renderer[A] = ListView.Renderer.wrap[A](peer.getRenderer.asInstanceOf[ListCellRenderer[A]]) -+ // def renderer: ListView.Renderer[A] = ListView.Renderer.wrap(peer.getRenderer) - def renderer_=(r: ListView.Renderer[A]) { peer.setRenderer(r.peer) } - - /* XXX: currently not safe to expose: -@@ -201,8 +202,8 @@ class ComboBox[A](items: Seq[A]) extends - peer.setEditor(editor(this).comboBoxPeer) - } - -- def prototypeDisplayValue: Option[A] = toOption[A](peer.getPrototypeDisplayValue) -+ def prototypeDisplayValue: Option[A] = Option(peer.getPrototypeDisplayValue) - def prototypeDisplayValue_=(v: Option[A]) { -- peer.setPrototypeDisplayValue((v map toAnyRef).orNull) -+ peer.setPrototypeDisplayValue((v map toAnyRef).orNull.asInstanceOf[A]) - } - } -diff -up scala-2.10.0-RC3-sources/src/swing/scala/swing/ListView.scala.jdk7 scala-2.10.0-RC3-sources/src/swing/scala/swing/ListView.scala ---- scala-2.10.0-RC3-sources/src/swing/scala/swing/ListView.scala.jdk7 2012-11-05 02:49:19.000000000 +0100 -+++ scala-2.10.0-RC3-sources/src/swing/scala/swing/ListView.scala 2012-12-07 22:58:13.267919851 +0100 -@@ -24,21 +24,21 @@ object ListView { - val MultiInterval = Value(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) - } - -- def wrap[A](c: JList) = new ListView[A] { -+ def wrap[A](c: JList[A]) = new ListView[A] { - override lazy val peer = c - } - - object Renderer { -- def wrap[A](r: ListCellRenderer): Renderer[A] = new Wrapped[A](r) -+ def wrap[A](r: ListCellRenderer[A]): Renderer[A] = new Wrapped[A](r) - - /** - * Wrapper for javax.swing.ListCellRenderers - */ -- class Wrapped[A](override val peer: ListCellRenderer) extends Renderer[A] { -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: A, index: Int) = { -+ class Wrapped[A](override val peer: ListCellRenderer[A]) extends Renderer[A] { -+ def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int) = { - Component.wrap(peer.getListCellRendererComponent(list.peer, a, index, isSelected, focused).asInstanceOf[JComponent]) -+ } - } -- } - - /** - * Returns a renderer for items of type A. The given function -@@ -55,8 +55,8 @@ object ListView { - * - */ - def apply[A,B](f: A => B)(implicit renderer: Renderer[B]): Renderer[A] = new Renderer[A] { -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component = -- renderer.componentFor(list, isSelected, focused, f(a), index) -+ def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component = -+ renderer.componentFor(list.asInstanceOf[ListView[_ <: B]], isSelected, focused, f(a), index) - } - } - -@@ -69,11 +69,11 @@ object ListView { - * @see javax.swing.ListCellRenderer - */ - abstract class Renderer[-A] { -- def peer: ListCellRenderer = new ListCellRenderer { -- def getListCellRendererComponent(list: JList, a: Any, index: Int, isSelected: Boolean, focused: Boolean) = -- componentFor(ListView.wrap[A](list), isSelected, focused, a.asInstanceOf[A], index).peer -+ def peer: ListCellRenderer[_ >: A] = new ListCellRenderer[A] { -+ def getListCellRendererComponent(list: JList[_ <: A], a: A, index: Int, isSelected: Boolean, focused: Boolean) = -+ componentFor(ListView.wrap[A](list.asInstanceOf[JList[A]]), isSelected, focused, a, index).peer - } -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component -+ def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component - } - - /** -@@ -110,7 +110,7 @@ object ListView { - /** - * Configures the component before returning it. - */ -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component = { -+ def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component = { - preConfigure(list, isSelected, focused, a, index) - configure(list, isSelected, focused, a, index) - component -@@ -123,10 +123,10 @@ object ListView { - * that renders the string returned from an item's toString. - */ - implicit object GenericRenderer extends Renderer[Any] { -- override lazy val peer: ListCellRenderer = new DefaultListCellRenderer -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: Any, index: Int): Component = { -- val c = peer.getListCellRendererComponent(list.peer, a, index, isSelected, focused).asInstanceOf[JComponent] -- Component.wrap(c) -+ override lazy val peer: ListCellRenderer[Any] = (new DefaultListCellRenderer).asInstanceOf[ListCellRenderer[Any]] -+ def componentFor(list: ListView[_ <: Any], isSelected: Boolean, focused: Boolean, a: Any, index: Int): Component = { -+ val c = peer.getListCellRendererComponent(list.peer, a, index, isSelected, focused) -+ Component.wrap(c.asInstanceOf[JComponent]) - } - } - } -@@ -142,34 +142,34 @@ object ListView { - */ - class ListView[A] extends Component { - import ListView._ -- override lazy val peer: JList = new JList with SuperMixin -+ override lazy val peer: JList[A] = new JList[A] with SuperMixin - - def this(items: Seq[A]) = { - this() - listData = items - } - -- protected class ModelWrapper(val items: Seq[A]) extends AbstractListModel { -- def getElementAt(n: Int) = items(n).asInstanceOf[AnyRef] -+ protected class ModelWrapper[A](val items: Seq[A]) extends AbstractListModel[A] { -+ def getElementAt(n: Int) = items(n) - def getSize = items.size - } - - def listData: Seq[A] = peer.getModel match { -- case model: ModelWrapper => model.items -- case model @ _ => new Seq[A] { selfSeq => -+ case model: ModelWrapper[a] => model.items -+ case model => new Seq[A] { selfSeq => - def length = model.getSize - def iterator = new Iterator[A] { - var idx = 0 - def next = { idx += 1; apply(idx-1) } - def hasNext = idx < selfSeq.length - } -- def apply(n: Int) = model.getElementAt(n).asInstanceOf[A] -+ def apply(n: Int): A = model.getElementAt(n) - } - } - - def listData_=(items: Seq[A]) { -- peer.setModel(new AbstractListModel { -- def getElementAt(n: Int) = items(n).asInstanceOf[AnyRef] -+ peer.setModel(new AbstractListModel[A] { -+ def getElementAt(n: Int) = items(n) - def getSize = items.size - }) - } -@@ -216,7 +216,7 @@ class ListView[A] extends Component { - def adjusting = peer.getSelectionModel.getValueIsAdjusting - } - -- def renderer: ListView.Renderer[A] = ListView.Renderer.wrap(peer.getCellRenderer) -+ def renderer: ListView.Renderer[A] = ListView.Renderer.wrap[A](peer.getCellRenderer.asInstanceOf[ListCellRenderer[A]]) - def renderer_=(r: ListView.Renderer[A]) { peer.setCellRenderer(r.peer) } - - def fixedCellWidth = peer.getFixedCellWidth diff --git a/scala-2.10.0-tooltemplate.patch b/scala-2.10.0-tooltemplate.patch deleted file mode 100644 index 81337a2..0000000 --- a/scala-2.10.0-tooltemplate.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -up scala-2.10.0-RC3/src/compiler/scala/tools/ant/templates/tool-unix.tmpl.tool scala-2.10.0-RC3/src/compiler/scala/tools/ant/templates/tool-unix.tmpl ---- scala-2.10.0-RC3/src/compiler/scala/tools/ant/templates/tool-unix.tmpl.tool 2012-11-21 17:01:54.000000000 +0100 -+++ scala-2.10.0-RC3/src/compiler/scala/tools/ant/templates/tool-unix.tmpl 2012-11-25 14:55:22.583111734 +0100 -@@ -68,7 +68,16 @@ if uname | grep -q ^MINGW; then - fi - - # Finding the root folder for this Scala distribution --SCALA_HOME="$(findScalaHome)" -+export JAVA_HOMe=/usr/share/jvm/java -+ -+[ -r @@JAVADIR@@-utils/java-functions ] && . @@JAVADIR@@-utils/java-functions || exit 1 -+ -+set_javacmd || exit 3 -+check_java_env || exit 4 -+set_jvm_dirs || exit 5 -+ -+export SCALA_HOME=@@DATADIR@@/scala -+ - SEP=":" - - # Possible additional command line options diff --git a/scala-2.10.0-use_system_jline.patch b/scala-2.10.0-use_system_jline.patch deleted file mode 100644 index bc68fc9..0000000 --- a/scala-2.10.0-use_system_jline.patch +++ /dev/null @@ -1,135 +0,0 @@ -diff -up scala-2.10.0-RC5/build.xml.sysjline scala-2.10.0-RC5/build.xml ---- scala-2.10.0-RC5/build.xml.sysjline 2012-12-07 19:39:49.000000000 +0100 -+++ scala-2.10.0-RC5/build.xml 2012-12-07 20:40:26.749580408 +0100 -@@ -206,7 +206,7 @@ PROPERTIES - - - -- -+ - - - -@@ -259,7 +259,6 @@ INITIALISATION - - - -- - - - -@@ -423,7 +422,7 @@ INITIALISATION - - - -- -+ - - - -@@ -1535,7 +1534,6 @@ PACKED QUICK BUILD (PACK) - - - -- - - - -diff -up scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/ConsoleReaderHelper.scala.sysjline scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/ConsoleReaderHelper.scala ---- scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/ConsoleReaderHelper.scala.sysjline 2012-12-07 19:39:50.000000000 +0100 -+++ scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/ConsoleReaderHelper.scala 2012-12-07 19:51:05.782792214 +0100 -@@ -6,8 +6,8 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline.console.{ ConsoleReader, CursorBuffer } --import scala.tools.jline.console.completer.CompletionHandler -+import jline.console.{ ConsoleReader, CursorBuffer } -+import jline.console.completer.CompletionHandler - import Completion._ - - trait ConsoleReaderHelper extends ConsoleReader { -diff -up scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/Delimited.scala.sysjline scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/Delimited.scala ---- scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/Delimited.scala.sysjline 2012-12-07 19:39:50.000000000 +0100 -+++ scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/Delimited.scala 2012-12-07 19:51:05.782792214 +0100 -@@ -6,7 +6,7 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline.console.completer.ArgumentCompleter.{ ArgumentDelimiter, ArgumentList } -+import jline.console.completer.ArgumentCompleter.{ ArgumentDelimiter, ArgumentList } - - class JLineDelimiter extends ArgumentDelimiter { - def toJLine(args: List[String], cursor: Int) = args match { -diff -up scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/JLineCompletion.scala.sysjline scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/JLineCompletion.scala ---- scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/JLineCompletion.scala.sysjline 2012-12-07 19:39:50.000000000 +0100 -+++ scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/JLineCompletion.scala 2012-12-07 19:51:05.783792215 +0100 -@@ -6,8 +6,8 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline._ --import scala.tools.jline.console.completer._ -+import jline._ -+import jline.console.completer._ - import Completion._ - import scala.collection.mutable.ListBuffer - -diff -up scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala.sysjline scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala ---- scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala.sysjline 2012-12-07 19:39:50.000000000 +0100 -+++ scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala 2012-12-07 19:51:05.783792215 +0100 -@@ -6,8 +6,8 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline.console.ConsoleReader --import scala.tools.jline.console.completer._ -+import jline.console.ConsoleReader -+import jline.console.completer._ - import session._ - import scala.collection.JavaConverters._ - import Completion._ -diff -up scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/Parsed.scala.sysjline scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/Parsed.scala ---- scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/Parsed.scala.sysjline 2012-12-07 19:39:50.000000000 +0100 -+++ scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/Parsed.scala 2012-12-07 19:51:05.783792215 +0100 -@@ -6,7 +6,7 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline.console.completer.ArgumentCompleter.{ ArgumentDelimiter, ArgumentList } -+import jline.console.completer.ArgumentCompleter.{ ArgumentDelimiter, ArgumentList } - import util.returning - - /** One instance of a command buffer. -diff -up scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/ReplProps.scala.sysjline scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/ReplProps.scala ---- scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/ReplProps.scala.sysjline 2012-12-07 19:39:50.000000000 +0100 -+++ scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/ReplProps.scala 2012-12-07 19:51:05.783792215 +0100 -@@ -13,8 +13,8 @@ class ReplProps { - private def bool(name: String) = BooleanProp.keyExists(name) - private def int(name: String) = IntProp(name) - -- val jlineDebug = bool("scala.tools.jline.internal.Log.debug") -- val jlineTrace = bool("scala.tools.jline.internal.Log.trace") -+ val jlineDebug = bool("jline.internal.Log.debug") -+ val jlineTrace = bool("jline.internal.Log.trace") - - val info = bool("scala.repl.info") - val debug = bool("scala.repl.debug") -diff -up scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/session/package.scala.sysjline scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/session/package.scala ---- scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/session/package.scala.sysjline 2012-12-07 19:39:49.000000000 +0100 -+++ scala-2.10.0-RC5/src/compiler/scala/tools/nsc/interpreter/session/package.scala 2012-12-07 19:51:05.784792216 +0100 -@@ -14,10 +14,10 @@ package object session { - type JIterator[T] = java.util.Iterator[T] - type JListIterator[T] = java.util.ListIterator[T] - -- type JEntry = scala.tools.jline.console.history.History.Entry -- type JHistory = scala.tools.jline.console.history.History -- type JMemoryHistory = scala.tools.jline.console.history.MemoryHistory -- type JPersistentHistory = scala.tools.jline.console.history.PersistentHistory -+ type JEntry = jline.console.history.History.Entry -+ type JHistory = jline.console.history.History -+ type JMemoryHistory = jline.console.history.MemoryHistory -+ type JPersistentHistory = jline.console.history.PersistentHistory - - private[interpreter] implicit def charSequenceFix(x: CharSequence): String = x.toString - } diff --git a/scala-2.10.1-bc.patch b/scala-2.10.1-bc.patch deleted file mode 100644 index 68227f6..0000000 --- a/scala-2.10.1-bc.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -u orig/bincompat-backward.whitelist.conf new/bincompat-backward.whitelist.conf ---- orig/bincompat-backward.whitelist.conf 2013-09-11 12:59:13.684010082 -0500 -+++ new/bincompat-backward.whitelist.conf 2013-09-11 12:59:08.751002599 -0500 -@@ -1,6 +1,10 @@ - filter { - problems=[ - # Scala library -+ { -+ matchName="scala.xml.dtd.ElementValidator.scala$xml$dtd$ElementValidator$$find$2" -+ problemName=IncompatibleMethTypeProblem -+ }, - { - # can only be called from Stream::distinct, which cannot itself be inlined, so distinct is the only feasible call-site - matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$4" -diff -u orig/bincompat-forward.whitelist.conf new/bincompat-forward.whitelist.conf ---- orig/bincompat-forward.whitelist.conf 2013-09-11 12:59:13.684010082 -0500 -+++ new/bincompat-forward.whitelist.conf 2013-09-11 12:59:08.751002599 -0500 -@@ -5,6 +5,10 @@ - # matchName="scala.collection.mutable.MutableList.tailImpl" - # problemName=MissingMethodProblem - # }, -+ { -+ matchName="scala.xml.dtd.ElementValidator.scala$xml$dtd$ElementValidator$$find$2" -+ problemName=IncompatibleMethTypeProblem -+ }, - { - # can only be called from Stream::distinct, which cannot itself be inlined, so distinct is the only feasible call-site - matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$6" diff --git a/scala-2.10.2-java7.patch b/scala-2.10.2-java7.patch deleted file mode 100644 index 323ca42..0000000 --- a/scala-2.10.2-java7.patch +++ /dev/null @@ -1,198 +0,0 @@ -diff -up scala-2.10.0-RC3-sources/src/swing/scala/swing/ComboBox.scala.jdk7 scala-2.10.0-RC3-sources/src/swing/scala/swing/ComboBox.scala ---- scala-2.10.0-RC3-sources/src/swing/scala/swing/ComboBox.scala.jdk7 2012-11-05 02:49:19.000000000 +0100 -+++ scala-2.10.0-RC3-sources/src/swing/scala/swing/ComboBox.scala 2012-12-07 23:29:32.821949227 +0100 -@@ -9,7 +9,7 @@ - package scala.swing - - import event._ --import javax.swing.{JList, JComponent, JComboBox, JTextField, ComboBoxModel, AbstractListModel, ListCellRenderer} -+import javax.swing.{ JComponent, JComboBox, JTextField, ComboBoxModel, AbstractListModel, ListCellRenderer } - import java.awt.event.ActionListener - - object ComboBox { -@@ -118,10 +118,10 @@ object ComboBox { - implicit def floatEditor(c: ComboBox[Float]): Editor[Float] = new BuiltInEditor(c)(s => s.toFloat, s => s.toString) - implicit def doubleEditor(c: ComboBox[Double]): Editor[Double] = new BuiltInEditor(c)(s => s.toDouble, s => s.toString) - -- def newConstantModel[A](items: Seq[A]): ComboBoxModel = { -- new AbstractListModel with ComboBoxModel { -+ def newConstantModel[A](items: Seq[A]): ComboBoxModel[A] = { -+ new AbstractListModel[A] with ComboBoxModel[A] { - private var selected: A = if (items.isEmpty) null.asInstanceOf[A] else items(0) -- def getSelectedItem: AnyRef = selected.asInstanceOf[AnyRef] -+ def getSelectedItem = selected.asInstanceOf[AnyRef] - def setSelectedItem(a: Any) { - if ((selected != null && selected != a) || - selected == null && a != null) { -@@ -129,7 +129,7 @@ object ComboBox { - fireContentsChanged(this, -1, -1) - } - } -- def getElementAt(n: Int) = items(n).asInstanceOf[AnyRef] -+ def getElementAt(n: Int) = items(n).asInstanceOf[A] - def getSize = items.size - } - } -@@ -157,7 +157,7 @@ object ComboBox { - * @see javax.swing.JComboBox - */ - class ComboBox[A](items: Seq[A]) extends Component with Publisher { -- override lazy val peer: JComboBox = new JComboBox(ComboBox.newConstantModel(items)) with SuperMixin -+ override lazy val peer: JComboBox[A] = new JComboBox(ComboBox.newConstantModel(items)) with SuperMixin - - object selection extends Publisher { - def index: Int = peer.getSelectedIndex -@@ -182,7 +182,8 @@ class ComboBox[A](items: Seq[A]) extends - * of the component to its own defaults _after_ the renderer has been - * configured. That's Swing's principle of most suprise. - */ -- def renderer: ListView.Renderer[A] = ListView.Renderer.wrap(peer.getRenderer) -+ def renderer: ListView.Renderer[A] = ListView.Renderer.wrap[A](peer.getRenderer.asInstanceOf[ListCellRenderer[A]]) -+ // def renderer: ListView.Renderer[A] = ListView.Renderer.wrap(peer.getRenderer) - def renderer_=(r: ListView.Renderer[A]) { peer.setRenderer(r.peer) } - - /* XXX: currently not safe to expose: -@@ -201,8 +202,8 @@ class ComboBox[A](items: Seq[A]) extends - peer.setEditor(editor(this).comboBoxPeer) - } - -- def prototypeDisplayValue: Option[A] = toOption[A](peer.getPrototypeDisplayValue) -+ def prototypeDisplayValue: Option[A] = Option(peer.getPrototypeDisplayValue) - def prototypeDisplayValue_=(v: Option[A]) { -- peer.setPrototypeDisplayValue((v map toAnyRef).orNull) -+ peer.setPrototypeDisplayValue((v map toAnyRef).orNull.asInstanceOf[A]) - } - } -diff -up scala-2.10.0-RC3-sources/src/swing/scala/swing/ListView.scala.jdk7 scala-2.10.0-RC3-sources/src/swing/scala/swing/ListView.scala ---- scala-2.10.0-RC3-sources/src/swing/scala/swing/ListView.scala.jdk7 2012-11-05 02:49:19.000000000 +0100 -+++ scala-2.10.0-RC3-sources/src/swing/scala/swing/ListView.scala 2012-12-07 22:58:13.267919851 +0100 -@@ -24,21 +24,21 @@ object ListView { - val MultiInterval = Value(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) - } - -- def wrap[A](c: JList) = new ListView[A] { -+ def wrap[A](c: JList[A]) = new ListView[A] { - override lazy val peer = c - } - - object Renderer { -- def wrap[A](r: ListCellRenderer): Renderer[A] = new Wrapped[A](r) -+ def wrap[A](r: ListCellRenderer[A]): Renderer[A] = new Wrapped[A](r) - - /** - * Wrapper for javax.swing.ListCellRenderers - */ -- class Wrapped[A](override val peer: ListCellRenderer) extends Renderer[A] { -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: A, index: Int) = { -+ class Wrapped[A](override val peer: ListCellRenderer[A]) extends Renderer[A] { -+ def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int) = { - Component.wrap(peer.getListCellRendererComponent(list.peer, a, index, isSelected, focused).asInstanceOf[JComponent]) -+ } - } -- } - - /** - * Returns a renderer for items of type A. The given function -@@ -55,8 +55,8 @@ object ListView { - * - */ - def apply[A,B](f: A => B)(implicit renderer: Renderer[B]): Renderer[A] = new Renderer[A] { -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component = -- renderer.componentFor(list, isSelected, focused, f(a), index) -+ def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component = -+ renderer.componentFor(list.asInstanceOf[ListView[_ <: B]], isSelected, focused, f(a), index) - } - } - -@@ -69,11 +69,11 @@ object ListView { - * @see javax.swing.ListCellRenderer - */ - abstract class Renderer[-A] { -- def peer: ListCellRenderer = new ListCellRenderer { -- def getListCellRendererComponent(list: JList, a: Any, index: Int, isSelected: Boolean, focused: Boolean) = -- componentFor(ListView.wrap[A](list), isSelected, focused, a.asInstanceOf[A], index).peer -+ def peer: ListCellRenderer[_ >: A] = new ListCellRenderer[A] { -+ def getListCellRendererComponent(list: JList[_ <: A], a: A, index: Int, isSelected: Boolean, focused: Boolean) = -+ componentFor(ListView.wrap[A](list.asInstanceOf[JList[A]]), isSelected, focused, a, index).peer - } -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component -+ def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component - } - - /** -@@ -110,7 +110,7 @@ object ListView { - /** - * Configures the component before returning it. - */ -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component = { -+ def componentFor(list: ListView[_ <: A], isSelected: Boolean, focused: Boolean, a: A, index: Int): Component = { - preConfigure(list, isSelected, focused, a, index) - configure(list, isSelected, focused, a, index) - component -@@ -123,10 +123,10 @@ object ListView { - * that renders the string returned from an item's toString. - */ - implicit object GenericRenderer extends Renderer[Any] { -- override lazy val peer: ListCellRenderer = new DefaultListCellRenderer -- def componentFor(list: ListView[_], isSelected: Boolean, focused: Boolean, a: Any, index: Int): Component = { -- val c = peer.getListCellRendererComponent(list.peer, a, index, isSelected, focused).asInstanceOf[JComponent] -- Component.wrap(c) -+ override lazy val peer: ListCellRenderer[Any] = (new DefaultListCellRenderer).asInstanceOf[ListCellRenderer[Any]] -+ def componentFor(list: ListView[_ <: Any], isSelected: Boolean, focused: Boolean, a: Any, index: Int): Component = { -+ val c = peer.getListCellRendererComponent(list.peer, a, index, isSelected, focused) -+ Component.wrap(c.asInstanceOf[JComponent]) - } - } - } -@@ -142,34 +142,34 @@ object ListView { - */ - class ListView[A] extends Component { - import ListView._ -- override lazy val peer: JList = new JList with SuperMixin -+ override lazy val peer: JList[A] = new JList[A] with SuperMixin - - def this(items: Seq[A]) = { - this() - listData = items - } - -- protected class ModelWrapper(val items: Seq[A]) extends AbstractListModel { -- def getElementAt(n: Int) = items(n).asInstanceOf[AnyRef] -+ protected class ModelWrapper[A](val items: Seq[A]) extends AbstractListModel[A] { -+ def getElementAt(n: Int) = items(n) - def getSize = items.size - } - - def listData: Seq[A] = peer.getModel match { -- case model: ModelWrapper => model.items -- case model @ _ => new Seq[A] { selfSeq => -+ case model: ModelWrapper[a] => model.items -+ case model => new Seq[A] { selfSeq => - def length = model.getSize - def iterator = new Iterator[A] { - var idx = 0 - def next = { idx += 1; apply(idx-1) } - def hasNext = idx < selfSeq.length - } -- def apply(n: Int) = model.getElementAt(n).asInstanceOf[A] -+ def apply(n: Int): A = model.getElementAt(n) - } - } - - def listData_=(items: Seq[A]) { -- peer.setModel(new AbstractListModel { -- def getElementAt(n: Int) = items(n).asInstanceOf[AnyRef] -+ peer.setModel(new AbstractListModel[A] { -+ def getElementAt(n: Int) = items(n) - def getSize = items.size - }) - } -@@ -216,7 +216,7 @@ class ListView[A] extends Component { - def adjusting = peer.getSelectionModel.getValueIsAdjusting - } - -- def renderer: ListView.Renderer[A] = ListView.Renderer.wrap(peer.getCellRenderer) -+ def renderer: ListView.Renderer[A] = ListView.Renderer.wrap[A](peer.getCellRenderer.asInstanceOf[ListCellRenderer[A]]) - def renderer_=(r: ListView.Renderer[A]) { peer.setCellRenderer(r.peer) } - - def fixedCellWidth = peer.getFixedCellWidth diff --git a/scala-2.10.3-build_xml.patch b/scala-2.10.3-build_xml.patch deleted file mode 100644 index 0d5995f..0000000 --- a/scala-2.10.3-build_xml.patch +++ /dev/null @@ -1,635 +0,0 @@ -diff -up scala-2.10.3/build.xml.bld scala-2.10.3/build.xml ---- scala-2.10.3/build.xml.bld 2013-10-15 19:53:47.000000000 +0200 -+++ scala-2.10.3/build.xml 2014-03-04 06:56:08.811763572 +0100 -@@ -1,6 +1,6 @@ - - -- -+ - - SuperSabbus for Scala core, builds the scala library and compiler. It can also package it as a simple distribution, tests it for stable bootstrapping and against the Scala test suite. - -@@ -44,8 +44,8 @@ TODO: - -- -- -+ -+ - - - -@@ -68,7 +68,7 @@ TODO: - - - -- -+ - - - -@@ -95,8 +95,6 @@ TODO: - - - -- -- - - - -@@ -122,8 +120,8 @@ TODO: - - - -- -- -+ -+ - - - -@@ -182,86 +180,62 @@ TODO: - - - -- -- -- -- -- -- -- - - - -- -- - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - -+ - - - -+ -+ -+ -+ -+ -+ -+ - - - -@@ -560,13 +541,6 @@ TODO: - - - -- -- -- -- -- -- -- - - - -@@ -589,12 +563,10 @@ TODO: - - - -- - - - - -- - - - -@@ -631,18 +603,6 @@ TODO: - - - -- -- -- -- -- -- -- -- -- -- -- -- - - - -@@ -717,10 +677,6 @@ TODO: - - - -- -- -- -- - - - -@@ -749,7 +705,7 @@ TODO: - - - -- -+ - - - -- -- -- - - -- -+ - - - -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -+ - - - -@@ -1315,7 +1250,7 @@ TODO: - -- -+ - - - -@@ -1362,7 +1297,6 @@ TODO: - - - -- - - - -@@ -1370,10 +1304,7 @@ TODO: - - - -- -- -- -- -+ - - - -@@ -1503,81 +1434,6 @@ TODO: - - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -@@ -1588,69 +1444,25 @@ TODO: - - - -- -- -- -- -- -- -- -- - - - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -+ - - - -- -- -- -- -- -+ - - - - -- -- -- - - - -- -+ - - - -@@ -1672,6 +1484,7 @@ TODO: - - - -+ - - - -@@ -1729,25 +1542,12 @@ TODO: - - - -- -- -- -- -- -- -- - - - - - - -- -- -- -- -- -- - - - -@@ -1791,13 +1591,13 @@ TODO: - - - -- -+ - - - -- -+ - - - -@@ -1820,19 +1620,11 @@ TODO: - - - -- - -- - - - - -- -- -- -- -- - - - -@@ -2018,10 +1810,9 @@ TODO: - - - -- -+ - - -- - - - -@@ -2038,7 +1829,6 @@ TODO: - - - -- - - - diff --git a/scala-2.10.3-compiler-pom.patch b/scala-2.10.3-compiler-pom.patch deleted file mode 100644 index fbc0cee..0000000 --- a/scala-2.10.3-compiler-pom.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -up scala-2.10.3/src/build/maven/scala-compiler-pom.xml.compiler-pom scala-2.10.3/src/build/maven/scala-compiler-pom.xml ---- scala-2.10.3/src/build/maven/scala-compiler-pom.xml.compiler-pom 2013-12-09 18:00:10.765090809 +0100 -+++ scala-2.10.3/src/build/maven/scala-compiler-pom.xml 2013-12-09 18:02:31.251138135 +0100 -@@ -43,9 +43,9 @@ - @VERSION@ - - -- org.scala-lang -+ jline - jline -- @VERSION@ -+ 2.10 - true - - diff --git a/scala-2.10.3-use_system_jline.patch b/scala-2.10.3-use_system_jline.patch deleted file mode 100644 index c8a43eb..0000000 --- a/scala-2.10.3-use_system_jline.patch +++ /dev/null @@ -1,109 +0,0 @@ -diff -up scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/ConsoleReaderHelper.scala.sysjline scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/ConsoleReaderHelper.scala ---- scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/ConsoleReaderHelper.scala.sysjline 2013-10-10 21:03:24.000000000 +0200 -+++ scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/ConsoleReaderHelper.scala 2013-10-13 15:28:24.478283303 +0200 -@@ -6,8 +6,8 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline.console.{ ConsoleReader, CursorBuffer } --import scala.tools.jline.console.completer.CompletionHandler -+import jline.console.{ ConsoleReader, CursorBuffer } -+import jline.console.completer.CompletionHandler - import Completion._ - - trait ConsoleReaderHelper extends ConsoleReader { -diff -up scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/Delimited.scala.sysjline scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/Delimited.scala ---- scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/Delimited.scala.sysjline 2013-10-10 21:03:24.000000000 +0200 -+++ scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/Delimited.scala 2013-10-13 15:28:24.483282990 +0200 -@@ -6,7 +6,7 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline.console.completer.ArgumentCompleter.{ ArgumentDelimiter, ArgumentList } -+import jline.console.completer.ArgumentCompleter.{ ArgumentDelimiter, ArgumentList } - - class JLineDelimiter extends ArgumentDelimiter { - def toJLine(args: List[String], cursor: Int) = args match { -diff -up scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/JLineCompletion.scala.sysjline scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/JLineCompletion.scala ---- scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/JLineCompletion.scala.sysjline 2013-10-10 21:03:24.000000000 +0200 -+++ scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/JLineCompletion.scala 2013-10-13 15:28:24.487282739 +0200 -@@ -6,8 +6,8 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline._ --import scala.tools.jline.console.completer._ -+import jline._ -+import jline.console.completer._ - import Completion._ - import scala.collection.mutable.ListBuffer - -diff -up scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala.sysjline scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala ---- scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala.sysjline 2013-10-10 21:03:24.000000000 +0200 -+++ scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/JLineReader.scala 2013-10-13 15:30:16.619034744 +0200 -@@ -6,8 +6,8 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline.console.ConsoleReader --import scala.tools.jline.console.completer._ -+import jline.console.ConsoleReader -+import jline.console.completer._ - import session._ - import scala.collection.JavaConverters._ - import Completion._ -@@ -71,6 +71,9 @@ class JLineReader(_completion: => Comple - def eraseLine() = consoleReader.eraseLine() - // Alternate implementation, not sure if/when I need this. - // def eraseLine() = while (consoleReader.delete()) { } -- def readOneLine(prompt: String) = consoleReader readLine prompt -+ def readOneLine(prompt: String) = { -+ consoleReader.setExpandEvents(false) -+ consoleReader readLine prompt -+ } - def readOneKey(prompt: String) = consoleReader readOneKey prompt - } -diff -up scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/Parsed.scala.sysjline scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/Parsed.scala ---- scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/Parsed.scala.sysjline 2013-10-10 21:03:24.000000000 +0200 -+++ scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/Parsed.scala 2013-10-13 15:28:24.496282176 +0200 -@@ -6,7 +6,7 @@ - package scala.tools.nsc - package interpreter - --import scala.tools.jline.console.completer.ArgumentCompleter.{ ArgumentDelimiter, ArgumentList } -+import jline.console.completer.ArgumentCompleter.{ ArgumentDelimiter, ArgumentList } - import util.returning - - /** One instance of a command buffer. -diff -up scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/ReplProps.scala.sysjline scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/ReplProps.scala ---- scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/ReplProps.scala.sysjline 2013-10-10 21:03:24.000000000 +0200 -+++ scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/ReplProps.scala 2013-10-13 15:28:24.500281925 +0200 -@@ -13,8 +13,8 @@ class ReplProps { - private def bool(name: String) = BooleanProp.keyExists(name) - private def int(name: String) = IntProp(name) - -- val jlineDebug = bool("scala.tools.jline.internal.Log.debug") -- val jlineTrace = bool("scala.tools.jline.internal.Log.trace") -+ val jlineDebug = bool("jline.internal.Log.debug") -+ val jlineTrace = bool("jline.internal.Log.trace") - - val info = bool("scala.repl.info") - val debug = bool("scala.repl.debug") -diff -up scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/session/package.scala.sysjline scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/session/package.scala ---- scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/session/package.scala.sysjline 2013-10-10 21:03:24.000000000 +0200 -+++ scala-2.10.3/src/compiler/scala/tools/nsc/interpreter/session/package.scala 2013-10-13 15:28:24.504281675 +0200 -@@ -14,10 +14,10 @@ package object session { - type JIterator[T] = java.util.Iterator[T] - type JListIterator[T] = java.util.ListIterator[T] - -- type JEntry = scala.tools.jline.console.history.History.Entry -- type JHistory = scala.tools.jline.console.history.History -- type JMemoryHistory = scala.tools.jline.console.history.MemoryHistory -- type JPersistentHistory = scala.tools.jline.console.history.PersistentHistory -+ type JEntry = jline.console.history.History.Entry -+ type JHistory = jline.console.history.History -+ type JMemoryHistory = jline.console.history.MemoryHistory -+ type JPersistentHistory = jline.console.history.PersistentHistory - - private[interpreter] implicit def charSequenceFix(x: CharSequence): String = x.toString - } diff --git a/scala-2.10.4-build_xml.patch b/scala-2.10.4-build_xml.patch deleted file mode 100644 index 4d9a04b..0000000 --- a/scala-2.10.4-build_xml.patch +++ /dev/null @@ -1,675 +0,0 @@ ---- a/build.xml 2014-09-15 16:38:35.523938086 -0500 -+++ b/build.xml 2014-09-18 14:37:16.648133327 -0500 -@@ -1,6 +1,6 @@ - - -- -+ - - SuperSabbus for Scala core, builds the scala library and compiler. It can also package it as a simple distribution, tests it for stable bootstrapping and against the Scala test suite. - -@@ -44,8 +44,8 @@ - -- -- -+ -+ - - - -@@ -68,7 +68,7 @@ - - - -- -+ - - - -@@ -89,14 +89,13 @@ - - - -+ - - - - -- -- - - - -@@ -122,8 +121,8 @@ - - - -- -- -+ -+ - - - -@@ -181,91 +180,57 @@ - - - -- -- -- -- -- -- -- -- - - - - -- -- -- -- -- -+ - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -+ -+ -+ -+ -+ -+ -+ -+ -+ - -- -- -- -- -- -- -- -+ -+ -+ -+ -+ -+ -+ - -- -- -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - -@@ -337,7 +302,7 @@ - - - -- -+ - - - -@@ -466,6 +431,13 @@ - - There must be a variable of the shape @{stage}.compiler.path for all @{stage} in starr, locker, quick, strap. - --> -+ -+ -+ -+ -+ -+ -+ - - - -@@ -576,13 +548,6 @@ - - - -- -- -- -- -- -- -- - - - -@@ -605,12 +570,10 @@ - - - -- - - - - -- - - - -@@ -647,18 +610,6 @@ - - - -- -- -- -- -- -- -- -- -- -- -- -- - - - -@@ -733,10 +684,6 @@ - - - -- -- -- -- - - - -@@ -765,7 +712,8 @@ - - - -- -+ -+ - - - -- -- -- - - -- -+ - - - -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -+ - - - -@@ -1331,7 +1258,7 @@ - -- -+ - - - -@@ -1378,7 +1305,6 @@ - - - -- - - - -@@ -1386,10 +1312,7 @@ - - - -- -- -- -- -+ - - - -@@ -1519,81 +1442,6 @@ - - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -@@ -1604,71 +1452,37 @@ - - - -- -- -- -- -- -- -- -- - - - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -+ - - - -- -- -- -- -- -+ - - - - -- -- -- - - - -- -+ - - -+ -+ -+ pack.bin.tool.path is ${packBinToolPath} -+ -+ -+ -+ -+ -+ -+ - - - -@@ -1688,6 +1502,7 @@ - - - -+ - - - -@@ -1740,15 +1555,14 @@ - - - -- -- -- -- -+ -+ -+ -+ -+ - -- -- -+ - -- - - - -@@ -1758,12 +1572,6 @@ - - - -- -- -- -- -- -- - - - -@@ -1771,10 +1579,12 @@ - - - -+ - - - - -+ - - - -- -+ - - - -- -+ - - - -@@ -1836,7 +1646,6 @@ - - - -- - - - -@@ -2027,10 +1836,9 @@ - - - -- -+ - - -- - - - -@@ -2047,7 +1855,6 @@ - - - -- - - - diff --git a/scala-2.10.6-scaladoc-resources.patch b/scala-2.10.6-scaladoc-resources.patch deleted file mode 100644 index 86a7da6..0000000 --- a/scala-2.10.6-scaladoc-resources.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f9b8176c668d3dff01da73fe65308bc50e355226 Mon Sep 17 00:00:00 2001 -From: Mikolaj Izdebski -Date: Fri, 12 Oct 2018 16:43:59 +0000 -Subject: [PATCH] Stop scaladoc from bundling web assets in generated docs - ---- - src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala b/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala -index 4630c3d..648a588 100644 ---- a/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala -+++ b/src/compiler/scala/tools/nsc/doc/html/HtmlFactory.scala -@@ -121,8 +121,6 @@ class HtmlFactory(val universe: doc.Universe, index: doc.Index) { - - DiagramGenerator.initialize(universe.settings) - -- libResources foreach (s => copyResource("lib/" + s)) -- - new page.Index(universe, index) writeFor this - new page.IndexScript(universe, index) writeFor this - --- -2.17.2 - diff --git a/scala-bootstript.xml b/scala-bootstript.xml deleted file mode 100644 index 282d412..0000000 --- a/scala-bootstript.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/scala-library-2.10.0-bnd.properties b/scala-library-2.10.0-bnd.properties deleted file mode 100644 index eacc122..0000000 --- a/scala-library-2.10.0-bnd.properties +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-Name: Scala Distribution -Bundle-SymbolicName: org.scala-ide.scala.library -Export-Package: scala.* diff --git a/scala-mime-info.xml b/scala-mime-info.xml deleted file mode 100644 index 914f6cc..0000000 --- a/scala-mime-info.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - Scala source code - - - diff --git a/scala-tooltemplate.patch b/scala-tooltemplate.patch deleted file mode 100644 index 0390a1e..0000000 --- a/scala-tooltemplate.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -ur ../scala-2.7.4.final-sources.orig/src/compiler/scala/tools/ant/templates/tool-unix.tmpl ./src/compiler/scala/tools/ant/templates/tool-unix.tmpl ---- ../scala-2.7.4.final-sources.orig/src/compiler/scala/tools/ant/templates/tool-unix.tmpl 2009-03-16 05:55:45.000000000 -0600 -+++ ./src/compiler/scala/tools/ant/templates/tool-unix.tmpl 2009-05-18 21:34:52.000000000 -0600 -@@ -8,31 +8,14 @@ - # PARTICULAR PURPOSE. - ############################################################################## - --cygwin=false; --case "`uname`" in -- CYGWIN*) cygwin=true ;; --esac -- --# Finding the root folder for this Scala distribution --SOURCE=$0; --SCRIPT=`basename "$SOURCE"`; --while [ -h "$SOURCE" ]; do -- SCRIPT=`basename "$SOURCE"`; -- LOOKUP=`ls -ld "$SOURCE"`; -- TARGET=`expr "$LOOKUP" : '.*-> \(.*\)$'`; -- if expr "${TARGET:-.}/" : '/.*/$' > /dev/null; then -- SOURCE=${TARGET:-.}; -- else -- SOURCE=`dirname "$SOURCE"`/${TARGET:-.}; -- fi; --done; --SCALA_HOME=`dirname "$SOURCE"`/..; --SCALA_HOME=`cd "$SCALA_HOME"; pwd`; --# Remove spaces from SCALA_HOME on windows --if $cygwin; then -- SCALA_HOME=`cygpath --windows --short-name "$SCALA_HOME"` -- SCALA_HOME=`cygpath --unix "$SCALA_HOME"` --fi -+[ -r @@JAVADIR@@-utils/java-functions ] \ -+ && . @@JAVADIR@@-utils/java-functions || exit 1 -+ -+set_javacmd || exit 3 -+check_java_env || exit 4 -+set_jvm_dirs || exit 5 -+ -+SCALA_HOME="@@DATADIR@@/scala" - - # Constructing the extension classpath - TOOL_CLASSPATH="@classpath@" -@@ -46,21 +29,8 @@ - done - fi - --if $cygwin; then -- if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then -- format=mixed -- else -- format=windows -- fi -- SCALA_HOME=`cygpath --$format "$SCALA_HOME"` -- TOOL_CLASSPATH=`cygpath --path --$format "$TOOL_CLASSPATH"` --fi - - # Reminder: substitution ${JAVA_OPTS:=-Xmx256M -Xms16M} DO NOT work on Solaris - [ -n "$JAVA_OPTS" ] || JAVA_OPTS="@javaflags@" - --if [ -z "$JAVACMD" -a -n "$JAVA_HOME" -a -x "$JAVA_HOME/bin/java" ]; then -- JAVACMD="$JAVA_HOME/bin/java" --fi -- --exec "${JAVACMD:=java}" $JAVA_OPTS -cp "$TOOL_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS" @properties@ @class@ @toolflags@ "$@@" -+exec "${JAVACMD}" $JAVA_OPTS -cp "$TOOL_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS" @properties@ @class@ @toolflags@ "$@@"