| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
It turned up in play profiling.
|
|\
| |
| | |
SI-9632 don't keep JarFile open in ZipArchive
|
| | |
|
|\ \
| | |
| | | |
Bump up sbt-jmh to 0.2.21
|
| | |
| | |
| | |
| | | |
With this change, we'll use JMH 1.17.4.
|
|\ \ \
| | | |
| | | | |
Fix and improve Regex doc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As reported by @djvulee, there was an error in
the example explaining the confusing behavior
of `MatchIterator`. It's really confusing.
|
|\ \ \ \
| | | | |
| | | | | |
SD-317 Fix package & compiler/package
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes scala/scala-dev#317.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
remove a bunch of old cruft
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
it will all stay right there in the Git history to be consulted
anytime we want...
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
keeping this stuff, somewhere, forever and ever and ever is what
version control is for.
who dares disturb the ancient and accursed tomb of all this code...?
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
thank you tools/rm-orphan-checkfiles script
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
noticed by the sharp-eyed @smarter
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
cleanups and clarifications in versions.properties
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Fix table formatting
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Use a single repository in the bootstrap job
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Recently, I changed the bootstap script to publish the "locker" build to scala-release-temp
and only the bootstrapped "quick" build to scala-integration. This commit reverts back to the
previous mechanism where "locker" is published to the same repo (scala-integration) and later
overwritten.
The reason is that we want to use scala-release-temp for publishing integration builds of commits
that are not (yet) merged to scala/scala. Such builds are useful for preliminary testing /
benchmarking of PRs / development revisions. This means that we want to add scala-release-temp
as a resolver in the community build and the benchmark job. If we have same-named releases in
both repos (one "locker", one "quick", so they are not the same), we would not know which one
is being picked up.
If we want to avoid the overwriting in the future, we could work on a solution that sets a different
version number for "locker", but we have to be careful when building the modules; maybe setting the
scalaBinaryVersion would be enough.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
SI-10226 REPL handles paste when colorized
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Colorization or Colourisation tripped up REPL
on paste. Prompt detection should use the plain
text prompt, not the ansified prompt.
Manual test since .flags doesn't like it:
```
$ ./build/pack/bin/scala -Dscala.repl.prompt="%nhello > "
Welcome to Scala 2.12.2-20170314-033334-d0c2620 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_111).
Type in expressions for evaluation. Or try :help.
hello > 42
res0: Int = 42
hello > hello > 42
// Detected repl transcript. Paste more, or ctrl-D to finish.
hello > "wtf?"
// Replaying 2 commands from transcript.
hello > 42
res1: Int = 42
hello > "wtf?"
res2: String = wtf?
hello >
```
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Reduce boxing of scala.reflect.internal.Depth
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Improve the performance of Map4 to HashMap and Set4 to HashSet transitions
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
Add tests for ConsoleReporter.
|
| | |_|/ / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Don't use `equals` for comparing java.lang.Double/Float
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes https://github.com/scala/scala-dev/issues/329
The `equals` method for java.lang.Double/Float behaves differently than comparing
the `doubleValue`s / `floatValues` for `-0.0`/`0.0`/`NaN`.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
SI-10187 Support mutation of mutable.HashMap in getOrElseUpdate
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Scala 2.12.1 included optimizations to `HashMape.getOrElseUpdate`
to avoid recomputing the index in the hash table when adding an
the element.
However, this index could be stale if the callback added elements
to the map and triggered a resize.
This commit checks that the table is unchanged before reusing
the index, restoring the 2.12.0 behaviour.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
SI-5621 Missing implicits are supplied by defaults
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Make a note in the examples for default args.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
SI-8969 Accept poly+implicit for assignment syntax
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Follow-up to fb061f22d4c35df626d9651e017820a11f8fe56e
which allowed the type param only.
Reported:
```
scala> object Test {
| def a[R](implicit s: List[R]):Int = 0
| def a_=[R](v: Int)(implicit s: List[R]) = ()
| }
```
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
Adapt README to new version numbers
|
| |/ / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
Fix for repositories file in bootstrap scripts
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
When building quick and modules, the `scala-integrate` repo needs to be there
in order to find other modules. For example, partest needs xml. This should fix
the 2.13 build, it didn't fail in 2.12 because modules are not built.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
new version numbers for snapshot and integration builds, new repository
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Integration builds now have version number like `2.12.2-bin-sha7` or `2.13.0-pre-sha7`
and are published to scala-integration (no longer scala-release-temp).
scala-release-temp is still used in the bootstrap script for publishing intermediate
artifacts (starr, locker).
Various cleanups in the scripts.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Get commit SHA and date with JGit
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
In order to get the SHA and date we used to run shell scripts and parse
the output of `git` commands. On Windows we even ran a batch file that
looked for `bash.exe` and then ran the shell script in bash.
Using JGit should be more robust than the old Rube Goldberg
implementation. The values produced are the same, except for the time
zone. Previously the timestamp was formatted with the local timezone,
now we use UTC.
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
Further small HashTable optimizations
|
| | |/ / / / /
| |/| | | | | |
|