Commit graph

21 commits

Author SHA1 Message Date
mef
51e30f1a2d (lang/scala) Fix install stage, ${TAR} was not defined 2020-04-04 04:19:36 +00:00
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
ryoon
98fd337f96 Update to 2.13.0
Changelog:
The 2.13.0 release improves Scala in the following areas:

    Collections: Standard library collections have been overhauled
    for simplicity, performance, and safety. This is the centerpiece
    of the release.

    Standard library: Future is faster and more robust. Elsewhere,
    useful classes and methods have been added.

    Language: Literal types, partial unification, by-name implicits,
    more.

    Compiler: 5-10% faster, deterministic output, improved optimizer.
2019-07-04 13:41:56 +00:00
rillig
c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00
ryoon
4d31bfa7ce Update to 2.12.8
Changelog:
Most notable changes:
* Change the license from modified-bsd to apache-2.0.
* Require Java 8 or later.
* Support Java 9 or later.
* Fix a security bug, CVE-2017-15288,
2018-12-16 10:07:11 +00:00
ryoon
e7ae53d047 Remove trailing whitespaces 2018-12-16 10:01:17 +00:00
ryoon
0c895029ed Update to 2.11.8
Changelog:
Scala 2.11.8 is now available!
March 8, 2016

We are pleased to announce the availability of Scala 2.11.8!

Significant changes since 2.11.7 include:

    The Scala REPL now has robust and flexible tab-completion (details below)
    An assortment of bugs have been fixed

Compared to 2.11.7, this release resolves 44 issues. We merged 175 pull requests.

As usual for minor releases, Scala 2.11.8 is binary compatible with other releases in the Scala 2.11 series.

The last planned 2.11.x release will be 2.11.9 in late 2016.
New tab-completion in the Scala REPL

The implementation of tab-completion in the Scala REPL has been rewritten and now uses the same infrastructure as for example Scala IDE and ENSIME.

There are a number of improvements:

    Reliable completion, also in partial expressions and syntactically incorrect programs: try class C { def f(l: List[Int]) = l.<TAB>
    CamelCase completion: try (l: List[Int]).rro<TAB>, it expands to (l: List[Int]).reduceRightOption
    Show desugarings performed by the compiler by adding //print: try for (x <- 1 to 10) println(x) //print<TAB>
    Complete bean getters without typing get: try (d: java.util.Date).day<TAB>
    Find members by typing any CamelCased part of the name: try classOf[String].typ<TAB> to get getAnnotationsByType, getComponentType and others
    Complete non-qualified names, including types: try def f(s: Str<TAB>
    Press tab twice to see the method signature: try List(1,2,3).part<TAB>, which completes to List(1,2,3).partition; press tab again to display def partition(p: Int => Boolean): (List[Int], List[Int])

Thanks to @retronym and @som-snytt for their fruitful collaboration on this work!


Scala 2.11.7 is now available!
June 23, 2015

We are very pleased to announce the availability of Scala 2.11.7!

We would like to highlight the following changes:

    Exhaustivity checking for pattern matching is now much snappier — thank you @gbasler! (SI-9181)
    A 300x more embeddable Scala REPL, brought to you by a team effort with Apache Spark. Thank you @ScrapCodes, @retronym & co! (#4548, #4563)
    Scala also <3 INDYs – experiment with all our favorite new Java 8 features as follows and get an exclusive sneak preview of 2.12.0-M2!
    Oh, and the spec is now much spiffier! Thanks, @soc!

Compared to 2.11.6, this release resolves 53 issues. We merged 124 pull requests (out of 157). Before upgrading, please also check the known issues for this release.

As usual for minor releases, Scala 2.11.7 is binary compatible with other releases in the Scala 2.11 series.
2016-03-13 03:16:41 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +00:00
yyamano
cf35e7989e Upgrade to 2.11.6 from 2.11.1.
http://www.scala-lang.org/news/2.11.6

Scala 2.11.6 is a bugfix release that is binary compatible with
previous releases in the Scala 2.11 series. We would like to highlight
the following changes:

* We fixed a cross-site scripting vulnerability in Scaladoc's
  JavaScript. Many thanks to @todesking for discovering this,
  suggesting a fix, and for delaying disclosure until this release!
  This bug could be used to access sensitive information on sites
  hosted on the same domain as Scaladoc-generated documentation. All
  previous versions of Scaladoc are affected (Scala 2.10.5 includes
  the fix as well). We do recommend, as a general precaution, to host
  Scaladoc documentation on its own domain.
* SI-9089 repl is now much less crash-and-burny when calling a
  function (which turns out to be a common thing people do in a
  REPL). Also, apologies to the author of SI-9022, who reported this
  before the bug was discovered and you had to wait in line for like
  three hours on a Tuesday afternoon. Or, maybe, that honor should go
  to the enigmatic dk14.
* SI-8759 no need to enter almost half the konami code to enter a
  right square bracket in the REPL (via jline 2.12.1). Thank you for
  implementing the jline fix, @michael72, and kudos to @jdillon and
  @trptcolin for cutting a new jline release just for us!

http://www.scala-lang.org/news/2.11.5

Scala 2.11.5 is a bugfix release that is binary compatible with
previous releases in the Scala 2.11 series. We would like to highlight
the following changes:

* heathermiller's SI-6502 Reenables loading jars into the running REPL
* mpociecha's The alternative, flat representation of classpath elements
* gbasler's Avoid the ¡CNF budget exceeded¢ exception via smarter
  translation into CNF
* adriaanm's SAMmy: eta-expansion, overloading, existentials
* A great number of documentation improvements - thank you (and, to
  those appearing for the first time in our release notes, welcome!):
  @kanielc, @lymia, @stevegury, @vigdorchik, @gourlaysama, @ichoran,
  @retronym, @xuwei-k, @dickwall, @phaller.

http://www.scala-lang.org/news/2.11.4

Scala 2.11.4 is a bugfix release that is binary compatible with
previous releases in the Scala 2.11 series. The changes include:

* Scala shell (REPL) is more friendly to Ctrl+D. It leaves your
  terminal in a clean state and suggests using :quit the next time
  (see #3902). Kudos to @gourlaysama!
* REPL uses different colors when printing references to vals and
  types. Pass -Dscala.color to enable that behavior (see
  #3993). Thanks to @puffnfresh!
* The Scala specification received a fair amount of love and became
  much more beautiful. It has got syntax highlighting (#3984),
  linkable headers, and a side bar with TOC (#3996). A few final
  touches has been merged that fix typos and mistakes stemming from
  automatic Latex to Markdown conversion we've done a while
  ago. Thanks for attention to details @gourlaysama, @som-snytt and
  roberthoedicke!
* Non-deterministic pattern matching warnings has been fixed
  (SI-7746). Many thanks to @gbasler for diving deep (#3954) into
  logical formulas constructed by our pattern matcher implementation!

https://groups.google.com/forum/#!msg/scala-internals/SSD9BNJaFbU/rACBkHrs2JEJ

> I've got an important information to share. I'd like to announce the
> Scala 2.11.3 artifacts as being dead on arrival. The 2.11.3
> artifacts that got released to Maven Central have a critical bug
> related to binary compatibility. Please stick to using Scala 2.11.2
> until 2.11.4 is released which is planned to happen as soon as we
> fix all critical bugs found in Scala 2.11.3. The rest of my email
> will discuss the events that led to a broken Scala release, next
> steps we're planning to take.

http://www.scala-lang.org/news/2.11.2

Scala 2.11.2 is a bugfix release that is binary compatible with
previous releases in the Scala 2.11 series. The changes include:

* Several issues in the collections library were resolved, most
  notably equality on ranges (SI-8738).
* The optimizer no longer eliminates division instructions that may
  throw an ArithmeticException (SI-7607).
* The -Xlint compiler flag is now parameterized by individual
  warnings. This is intended to replace the -Ywarn-... options, for
  instance, -Xlint:nullary-unit is equivalent to
  -Ywarn-nullary-unit. Run scalac -Xlint:help to see all available
  options. Kudos to @som-snytt!x
* TypeTags and Exprs are now serializable (SI-5919).
2015-04-07 14:21:43 +00:00
yyamano
92cd77d35e Update to 2.11.1.
See http://www.scala-lang.org/news/2014/04/21/release-notes-2.11.0.html
and http://www.scala-lang.org/news/2.11.1 for changes from 2.10.3.
2014-06-12 17:35:46 +00:00
yyamano
339127aa6e Upgrade to 2.10.3.
2.10.3 is strictly a bug-fix release. 50 issues are fixed since 2.10.2.
You can see the the fixed issues at http://www.scala-lang.org/news/2013/10/01/release-notes-v2.10.3.html
2013-10-02 06:59:08 +00:00
ryoon
77b99cc145 Update to 2.10.2
Changelog:
* Bug fixes.
* New features.
See http://www.scala-lang.org/2.10.2 etc in detail.
2013-07-05 14:40:33 +00:00
asau
6929b96ca2 Revert pkglint-induced nonsense. 2013-04-08 18:29:37 +00:00
rodent
6b46c62d2e Edited DESCR in the case of:
File too long (should be no more than 24 lines).
 Line too long (should be no more than 80 characters).
 Trailing empty lines.
 Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.
2013-04-07 20:49:31 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
yyamano
216bc68687 Update to Scala 2.9.2.
Scala 2.9.2 addresses several bugs, and introduces additional improvements. Here's a list of the issues that have been fixed since 2.9.1-1:

c9e254ec27 	Backport fix for SI-4545, SI-5633.
11cb359863 	Document regex replacement strings behavior.
125b5037c8 	Fix for a bug in CharArrayReader which made tri...
a26dd939b8 	Revert attempt to limit private types in lubs.
3cfbfa3d0e 	Fixes SI-5380: non-local return of try expression (cherry picked from commit 02e260a8e67e2b2b6f876aafe76cd61248a89374)
1864e6d1c1 	Add test case for SI-4835 (https://issues.scala-lang.org/browse/SI-4835)
841f074e2b 	Fixed SI-4835 (https://issues.scala-lang.org/browse/SI-4835).
da794bb4ee 	Fixes NPE using iterator with an XML attribute ...
b783e17319 	Fix various InnerClasses bugs.
28be69e263 	Close file descriptor leak in sys.process.
2e66a13e26 	fixes SI-5506. better cps type propagation for polymorphic and multi-argument list methods.
9c3cbde0fd 	Fix for error printing regression.
e1810d1e88 	Migration message and version cleanup
b57f68f34e 	Improve description of flatten, flatMap
0fcc5ce9c5 	Explain Function1 vs PartialFunction
634382969a 	Fixes SI-4507.
d1870c2162 	Fixes to javascript in Scaladoc, contributed by...
f4dec8a8af 	Scaladoc now hides members with @bridge annotat...
4f6cd102de 	Improves the usability of Scaladoc when images ...
1fb3760f96 	Minor changes to the Scaladoc stylesheets, as s...
be067ac8de 	Scaladoc shouldn't drop type arguments to alias...
e54aa8c7bf 	Fixes SI-4641 again.
2701d7fa47 	Backported commit 7a99c03da1d31ac5950eecb30f422f43c5e3d04e from master

Scala 2.9.1-1 fixes a critical Java-Scala interoperability issue that arose in 2.9.1. Here is the change list:

Don't mark mixed-in methods as bridges.
Add SYNTHETIC flag for BRIDGE methods.
Update build for publishing to sonatype OSSRH
2012-05-01 22:22:01 +00:00
yyamano
15bcd633e2 Apply patches provided by ryoon@ with some modifications to upgrade to
Scala 2.9.1 from 2.8.1. PR pkg/45379

Scala 2.9.0 final

The Scala 2.9.0 codebase includes several additions, notably the new
Parallel Collections, but it also introduces improvements on many
existing features, and contains many bug fixes:

  * Parallel Collections
  * The App Trait
  * The DelayedInit Trait
  * Repl Improvements
  * Scala Runner
  * Java Interop
  * Generalized try-catch-finally
  * New packages: scala.sys and scala.sys.process, which are imported
    from sbt.Process.
  * New methods in collections: collectFirst, maxBy, minBy, span, inits,
    tails, permutations, combinations, subsets
  * AnyRef specialization:

See http://www.scala-lang.org/node/9483 for more details.

Scala 2.9.1 final

The 2.9.1 release of Scala includes many bug fixes and improvements,
in particular to the interpreter: most of the interpreter changes
available in the development mainline have been ported to the 2.9.x
release branch.

See http://www.scala-lang.org/node/10780 for more details.

Note: the interpreter option '-i' may behave incorrectly in this
version. In case you require it, please just add the option
'-Yrepl-sync' to your command line as well.
2011-09-30 07:56:13 +00:00
yyamano
c1862172dc Update Scala to 2.8.1.
Scala 2.8.1 has been designed to be fully binary compatible with
the previous version 2.8.0. It includes many bug fixes and contains
many small improvements and fixes, particularly concerning Scaladoc.
See http://www.scala-lang.org/node/8102 for more details.
2010-11-12 20:20:33 +00:00
asau
09e410afa3 Update to Scala 2.8.0
Changes in Version 2.8.0 (14-Jul-2010)

Scala 2.8.0 is a significantly innovative release, which
contains a large amount of fixes and introduces many new
features:

  * Redesigned collection library
  * New array implementation, manifests for polymorphic arrays
  * Type specialization
  * Named and default arguments
  * Package objects
  * Beefed up Scala Swing libraries, better documentation
  * Revamped REPL
  * Implicits changes
  * Improved equality
  * Packrat parser combinators
  * Improved XML library
  * Type constructor inference
  * Improved Annotations
  * Enhanced actors
  * Support for continuations

Internal improvements

  * New presentation compiler
  * New build manager
  * Speed improvements

Additional tools

  * Scaladoc 2
  * Sbaz 2
  * Scalap
  * Scala IDE for Eclipse
2010-08-12 12:31:46 +00:00
joerg
5190cac468 Fix DESTDIR 2010-02-03 13:01:04 +00:00
yyamano
2a9839635d Import Scala 2.7.7.final.
Scala is a general purpose programming language designed to express
common programming patterns in a concise, elegant, and type-safe way.
It smoothly integrates features of object-oriented and functional
languages, enabling Java and other programmers to be more productive.
2010-01-23 10:50:45 +00:00