Skip to content
Permalink
Branch: master
Commits on Jun 13, 2019
  1. Setting version to 1.4.1-SNAPSHOT

    gslowikowski committed Jun 13, 2019
  2. Setting version to 1.4.0

    gslowikowski committed Jun 13, 2019
  3. Travis build - replace oraclejdk8 with openjdk8

    gslowikowski committed Jun 13, 2019
    Recent builds (e.g. https://travis-ci.org/scoverage/scalac-scoverage-plugin/builds/545010217) failed with error:
    
    Installing oraclejdk8
    $ export JAVA_HOME=~/oraclejdk8
    $ export PATH="$JAVA_HOME/bin:$PATH"
    $ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"
    install-jdk.sh 2019-05-02
    Expected feature release number in range of 9 to 13, but got: 8
    The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .
  4. Remove redundant "[info] " log prefixes

    gslowikowski committed Jun 13, 2019
    Logs looked like this:
    [info] [info] Cleaning datadir [.../scoverage-data]
    [info] [info] Beginning coverage instrumentation
    [info] [info] Instrumentation completed [7 statements]
    [info] Saved scoverage.coverage: 5ms
    [info] [info] Wrote instrumentation file [.../scoverage.coverage]
    [info] [info] Will write measurement data to [.../scoverage-data]
    
    Now will look like this:
    [info] Cleaning datadir [.../scoverage-data]
    [info] Beginning coverage instrumentation
    [info] Instrumentation completed [7 statements]
    [info] Saved scoverage.coverage: 5ms
    [info] Wrote instrumentation file [.../scoverage.coverage]
    [info] Will write measurement data to [.../scoverage-data]
  5. Merge pull request #260 from pjfanning/scala-2.13.0

    gslowikowski committed Jun 13, 2019
    scala 2.13.0 build
Commits on Jun 10, 2019
  1. scala 2.13.0 build

    pjfanning committed Jun 10, 2019
Commits on Jun 1, 2019
  1. Setting version to 1.4.0-SNAPSHOT

    gslowikowski committed Jun 1, 2019
  2. Setting version to 1.4.0-RC3

    gslowikowski committed Jun 1, 2019
Commits on May 31, 2019
  1. Merge pull request #258 from Philippus/update/scala-2.13.0-RC3

    gslowikowski committed May 31, 2019
    Update scala 2.13.0-RC2 to 2.13.0-RC3
  2. Update scala 2.13.0-RC2 to 2.13.0-RC3

    Philippus committed May 31, 2019
Commits on May 20, 2019
  1. Setting version to 1.4.0-SNAPSHOT

    gslowikowski committed May 20, 2019
  2. Setting version to 1.4.0-RC2

    gslowikowski committed May 20, 2019
Commits on May 19, 2019
  1. Merge pull request #257 from scoverage/scala-2-13-0-RC2

    gslowikowski committed May 19, 2019
    Add Scala 2.13.0-RC2 support
  2. Add Scala 2.13.0-RC2 support

    gslowikowski committed May 19, 2019
    - upgrade Scala version from 2.13.0-RC1 to 2.13.0-RC2 in `build.sbt` and `.travis.yml`
    - upgrade ScalaTest version from 3.0.8-RC2 to 3.1.0-SNAP11
Commits on Apr 30, 2019
  1. Merge pull request #245 from huonw/patch-1

    gslowikowski committed Apr 30, 2019
    Avoid markdown formatting of * and \ in regexes
Commits on Apr 28, 2019
  1. Setting version to 1.4.0-SNAPSHOT

    gslowikowski committed Apr 28, 2019
  2. Setting version to 1.4.0-RC1

    gslowikowski committed Apr 28, 2019
  3. Temporary fix for #255 - concurrency problems when running 'runtime' …

    gslowikowski committed Apr 28, 2019
    …subproject tests on Windows
  4. Merge pull request #254 from scoverage/scala-2-13-0-RC1

    gslowikowski committed Apr 28, 2019
    Add Scala 2.13.0-RC1 support
  5. Fix new warnings reported by Scala 2.13.0-RC1

    gslowikowski committed Apr 28, 2019
    There are two kinds of warnings:
    
    1.
    [warn] .../scalac-scoverage-plugin/src/test/scala/scoverage/ScoverageCompiler.scala:102:26: method assert in class SymbolTable is deprecated (since 2.12.5): consider supplying an explanatory message
    [warn]   def assertNoErrors() = assert(!reporter.hasErrors)
    [warn]                          ^
    
    2.
    code_snippet3799296259402470632.scala:2: warning: symbol literal is deprecated; use Symbol("boo") instead
    object Bammy { def foo = 'boo }
                             ^
  6. Add Scala 2.13.0-RC1 support

    gslowikowski committed Apr 28, 2019
    - upgrade Scala version from 2.13.0-M5 to 2.13.0-RC1 in `build.sbt` and `.travis.yml`
    
    - upgrade scalatest version from 3.0.6-SNAP4 to 3.0.8-RC2
    - upgrade stala-xml version from 1.1.1 to 1.2.0
    
    Some fixes in tests were required:
    
    - 's' and 'raw' string interpolators are now implemented as macros and macros are not instrumented; 's"Hello, $name"' expression was changed to explicit strings concatenation '"Hello, " + name' so the number of instrumented statements is the same in all Scala versions
    see:
    scala/scala@0cebcdf#diff-648e8f7f409d844c3c99b2d5a0d0dfe5R94
    scala/scala#7779
    
    - special symbol for all compilation phases was changed from "all" to "_"
    see:
    scala/scala@4d29431#diff-d686e8e67add4d42682f22193d20494bR1246
    scala/scala#7908
  7. Merge pull request #253 from scoverage/fix-compilation-warnings

    gslowikowski committed Apr 28, 2019
    Fix different compilation warnings
  8. Remove unneeded 'println' statements

    gslowikowski committed Apr 28, 2019
  9. Add '-deprecation' option to ScoverageCompiler and fix reported depre…

    gslowikowski committed Apr 28, 2019
    …cation warnings
    
    All warning are macro-related and reported when Scala version is >= 2.11. There were three kinds:
    
    1.
    scoverage_snippet6266375223143133247.scala:5: warning: macro defs must have explicitly specified return types (inference of Unit from macro impl's c.Expr[Unit] is deprecated and is going to stop working in 2.12)
      def test = macro testImpl
          ^
    
    2.
    scoverage_snippet6266375223143133247.scala:6: warning: type Context in package macros is deprecated: Use blackbox.Context or whitebox.Context instead
      def testImpl(c: Context): c.Expr[Unit] = {
                      ^
    
    3.
    scoverage_snippet6689360552943102771.scala:6: warning: method literal in trait ExprUtils is deprecated: Use quasiquotes instead
                    def poly[T: c.WeakTypeTag] = c.literal(c.weakTypeOf[T].toString)
                                                   ^
  10. Fix some of the warnings reported by compilation with Scala 2.13.x

    gslowikowski committed Apr 28, 2019
    There are two remaining kinds of warnings, which cannot be fixed simply:
    
    1.
    [warn] .../scalac-scoverage-plugin/src/main/scala/scoverage/coverage.scala:39:80: object DeprecatedDoubleOrdering in object Ordering is deprecated (since 2.13.0): There are multiple ways to order Doubles (Ordering.Double.TotalOrdering, Ordering.Double.IeeeOrdering). Specify one by using a local import, assigning an implicit val, or passing it explicitly. See the documentation for details.
    [warn]   def risks(limit: Int) = classes.toSeq.sortBy(_.statementCount).reverse.sortBy(_.statementCoverage).take(limit)
    [warn]                                                                                ^
    
    There are no Ordering.Double.TotalOrdering and Ordering.Double.IeeeOrdering classes in previous Scala versions.
    
    2.
    [warn] .../scalac-scoverage-plugin/src/test/scala/scoverage/ScoverageCompiler.scala:71:97: class Reporter in package reporters is deprecated (since 2.13.0): Use reflect.internal.Reporter
    [warn] class ScoverageCompiler(settings: scala.tools.nsc.Settings, reporter: scala.tools.nsc.reporters.Reporter)
    
    'reflect.internal.Reporter' class cannot be used because 'scoverage.ScoverageCompiler' class extends 'scala.tools.nsc.Global' class, and it requires 'scala.tools.nsc.reporters.Reporter' as a constructor parameter.
  11. Remove 'com.typesafe.scala-logging:scala-logging' dependency

    gslowikowski committed Apr 20, 2019
    Add macros directly to plugin's test sources. `test-classes` directory will be added to the class path instead of `scala-logging` dependencies.
    
    Maybe it's not an elegant solution, but it is simple and does not require any external dependencies.
Commits on Apr 27, 2019
  1. Update dependencies

    xuwei-k authored and gslowikowski committed Apr 25, 2019
Commits on Apr 12, 2019
  1. Remove 'org.mockito:mockito-core' dependency

    gslowikowski committed Apr 12, 2019
    It was needed only in one place. 'scala.reflect.io.VirtualFile' can be used instead of mocking 'scala.reflect.io.AbstractFile'.
Commits on Mar 22, 2019
  1. Merge pull request #238 from rumaxr/master

    gslowikowski committed Mar 22, 2019
    Added monospace font-family to pre in highlighted CodeGrid
Commits on Mar 1, 2019
  1. Avoid markdown formatting of * and \ in regexes

    huonw committed Mar 1, 2019
    The `*`s were turning into italicised text, and the `\`s were disappearing, which is misleading and seemingly contradicted the "must match the entire string" description.
Commits on Nov 12, 2018
  1. Merge pull request #241 from scoverage/aggregate-raw-data-not-xml-rep…

    gslowikowski committed Nov 12, 2018
    …orts
    
    Aggregate raw coverage data, not XML reports
Commits on Nov 11, 2018
  1. Aggregate raw coverage data, not XML reports

    gslowikowski committed Nov 11, 2018
  2. Merge pull request #240 from scoverage/dont-use-deprecated-rhinojsenv…

    gslowikowski committed Nov 11, 2018
    …-class
    
    Don't use deprecated 'RhinoJSEnv' class in the build
Older
You can’t perform that action at this time.