summaryrefslogtreecommitdiff
path: root/lang/scala
AgeCommit message (Collapse)AuthorFilesLines
2016-03-13Update to 2.11.8ryoon3-13/+13
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.
2015-11-03Add SHA512 digests for distfiles for lang categoryagc1-1/+2
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-04-07Upgrade to 2.11.6 from 2.11.1.yyamano8-37/+38
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).
2014-06-12Update to 2.11.1.yyamano3-29/+29
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.
2013-10-02Upgrade to 2.10.3.yyamano2-7/+7
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-07-05Update to 2.10.2ryoon8-171/+98
Changelog: * Bug fixes. * New features. See http://www.scala-lang.org/2.10.2 etc in detail.
2013-04-08Revert pkglint-induced nonsense.asau1-4/+4
2013-04-07Edited DESCR in the case of:rodent1-4/+4
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.
2012-10-02Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-05-01Update to Scala 2.9.2.yyamano5-177/+23
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
2011-09-30Apply patches provided by ryoon@ with some modifications to upgrade toyyamano10-96/+151
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.
2010-11-12Update Scala to 2.8.1.yyamano2-6/+6
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-08-12Update to Scala 2.8.0asau9-249/+196
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-02-03Fix DESTDIRjoerg1-2/+2
2010-01-23Import Scala 2.7.7.final.yyamano10-0/+448
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.