summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Windows CI: don't hardcode Ant path quite so hardSeth Tisue2015-10-091-1/+5
| | | | |
| | * | | add note to readme about Windows buildSeth Tisue2015-10-081-0/+2
| | | | |
| | * | | add comment about Cygwin trouble to test/partestSeth Tisue2015-10-081-0/+8
| | | | |
| | * | | add experimental Windows script for testingSeth Tisue2015-10-081-0/+11
| | | | | | | | | | | | | | | | | | | | experimental for now. destined to be automated via scala-jenkins-infra
| | * | | Windows: make get-scala-commit-sha/date scripts work on CygwinSeth Tisue2015-10-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bash's -x flag was flowing down into these scripts, resulting in extra stuff was getting printed to stderr, resulting in a corrupted build\pack\META-INF\MANIFEST.MF
| | * | | fix t7634 to work on CygwinSeth Tisue2015-10-082-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was failing because the expected output was: res1: List[String] = List(shello, world.) but the actual output was: res1: List[String] = List(shello, world., Picked up _JAVA_OPTIONS: -Duser.home=y:\jenkins) but the "Picked up..." part caused partest's filters feature to ignore the entire line (it doesn't anchor matches to start of line.) This was a tough one to track down.
| * | | | Merge pull request #4800 from sjrd/remove-lingering-printlnLukas Rytz2015-10-212-4/+1
| |\ \ \ \ | | |_|/ / | |/| | | Remove two lingering `println`s in non-debug methods of the library.
| | * | | Remove two lingering `println`s in non-debug methods of the library.Sébastien Doeraene2015-10-132-4/+1
| | |/ /
| * | | Merge pull request #4792 from SethTisue/round-of-readme-updatesLukas Rytz2015-10-164-45/+36
| |\ \ \ | | | | | | | | | | misc upgrades to README
| | * | | more readme improvementsSeth Tisue2015-10-084-36/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * be clearer about required JDK versions * eliminate redundancy with existing src/eclipse and src/intellij readmes * give IntelliJ readme a .md extension
| | * | | misc upgrades to READMESeth Tisue2015-10-071-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * link to new scala/contributors room on Gitter * remove link to old disused CI * replace list of mailing lists with single link to community page * link to 2.12 nightlies too, not just 2.11 * update required JDK version info
* | | | | Merge pull request #4854 from triggerNZ/serializable-partial-functionsLukas Rytz2015-11-242-6/+43
|\ \ \ \ \ | |_|_|_|/ |/| | | | SI-9363 fix
| * | | | SI-9363 - Add empty serializabletriggerNZ2015-11-242-1/+3
| | | | |
| * | | | Fix for SI-9363triggerNZ2015-11-242-5/+40
|/ / / /
* | | | Merge pull request #4852 from soc/topic/misc-warning-fixesSeth Tisue2015-11-203-7/+7
|\ \ \ \ | | | | | | | | | | Fix some small warnings that pop up on every compile
| * | | | Fix some small warnings that pop up on every compileSimon Ochsenreither2015-11-193-7/+7
|/ / / /
* | | | Merge pull request #4842 from adriaanm/fields-prepAdriaan Moors2015-11-1917-428/+451
|\ \ \ \ | | | | | | | | | | Set the scene for phase 1 of the new trait encoding.
| * | | | Clean up a bit more in Constructors.Adriaan Moors2015-11-122-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comment about my poor naming choice in Types. NullaryMethodType sounds like the method has one empty argument list, whereas it really has no argument lists at all.
| * | | | Sbt-compatible implementation of `isPastXXXPhase`Adriaan Moors2015-11-122-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sbt's [API extraction phase](https://github.com/sbt/sbt/blob/0.13/compile/interface/src/main/scala/xsbt/API.scala#L25) extends `scala.reflect.internal.Phase`, which implements a bunch of methods, such as `erasedTypes` as `false`, which are then overridden by scalac in `GlobalPhase` (nested in scala.tools.nsc.Global). (`erasedTypes` in particular is again overridden in the back-end -- for performance?) However, since sbt's compiler phases extend `reflect.internal.Phase`, the logic for detecting the current phase does not work, as the default implementation is called (simply returning `false`), when chasing the `prev` pointers hits an sbt-injected phase, as its implementation is `reflect.internal`'s constant `false`.
| * | | | Annotation filtering & derivation in one place.Adriaan Moors2015-11-122-34/+47
| | | | | | | | | | | | | | | | | | | | | | | | | This logic was scattered all over the hierarchy, even though it's only needed in one spot, and is unlikely to evolve.
| * | | | Refactor AddInterfaces triage of impl v iface memberAdriaan Moors2015-11-121-13/+11
| | | | | | | | | | | | | | | | | | | | A tiny bit more duplicated code, but so much more intelligible.
| * | | | Also mutate module *class*'s owner in ChangeOwnerTraverserAdriaan Moors2015-11-122-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Keep owner for module (symbol of the tree) and module class (holds the members) in synch while moving trees between owners (e.g., while duplicating them in specialization)
| * | | | LazyVals looks for local vals in all term treesAdriaan Moors2015-11-111-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discovered while refactoring the way fields are emitted in traits. TODO: a lot more cleanup
| * | | | Revert suspicious widening of getter's result typeAdriaan Moors2015-11-111-4/+5
| | | | |
| * | | | Cleanups, debuglogs, small refactoringsAdriaan Moors2015-11-114-77/+88
| | | | |
| * | | | Replacement javap in AsmUtilsAdriaan Moors2015-11-111-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal is to reduce noise by sorting fields & methods, suppressing debug & frame info. This class can be used as a git textconf for classfiles with a script like: ``` scala scala.tools.nsc.backend.jvm.AsmUtils "$1" ```
| * | | | Review feedback from lrytz: better commentsAdriaan Moors2015-11-112-14/+13
| | | | |
| * | | | Constructors: encapsulate whether to memoize a valAdriaan Moors2015-11-111-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Triggered by sjrd's review, it turns out that we forgot to unlink the symbol for omittable ValDefs. I left the fix in a comment in the margin, since this commit is meant to be bytecode-compatible.
| * | | | Constructors: further clarify which defs are added & whenAdriaan Moors2015-11-113-37/+27
| | | | | | | | | | | | | | | | | | | | | | | | | Move conditions and template derivation back to the call sites of `staticConstructor` (formerly `addStaticInits`).
| * | | | Constructors: mutate lessAdriaan Moors2015-11-113-117/+103
| | | | | | | | | | | | | | | | | | | | | | | | | Codify the scope of mutability for various buffers, inline one-time methods, further reduce spooky action at a distance.
| * | | | Constructors: consolidate `ValDef` cases in `transformed`Adriaan Moors2015-11-111-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | When we change the encoding of fields in traits, this will come in handy...
| * | | | Constructors: narrow interfaces of its componentsAdriaan Moors2015-11-111-150/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Limit communication between traits using ConstructorTransformerBase interface. Make Constructors a bit less of a test case for itself, by making a bunch of fields local variables of the `transformed` method.
* | | | | Merge pull request #4822 from retronym/ticket/9178Lukas Rytz2015-11-1811-1/+63
|\ \ \ \ \ | | | | | | | | | | | | SI-9178 Don't eta expand to an Function0-like SAM expected type
| * | | | | SI-9178 Test for the status quo of eta-expansion to Func0Jason Zaugg2015-11-172-0/+14
| | | | | |
| * | | | | SI-9178 Don't eta expand param-less method types to SAMsJason Zaugg2015-10-279-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, we can end up with a subtle source incompatibility with the pre-SAM regime. Arguably we should phase out eta expansion to Function0 as well, but I'll leave that for another day.
* | | | | | Merge pull request #4827 from soc/SI-6162-publicSeth Tisue2015-11-172-2/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | SI-6162 Make @deprecated{Inheritance,Overriding} public
| * | | | | | SI-6162 Make @deprecated{Inheritance,Overriding} publicSimon Ochsenreither2015-10-282-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was kept private first with the expectation that further modifier changes might warrant a more extensible design. Until now, there doesn't seem to have appeared other interesting use-cases that warranted a design overhaul. This commit makes the existing annotations public to allow all Scala developers to benefit from it.
* | | | | | | Merge pull request #4825 from soc/topic/drop-threadpool-fallbackJason Zaugg2015-11-131-31/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Remove ThreadPoolExecutor fallback in ExecutionContextImpl
| * | | | | | | Remove ThreadPoolExecutor fallback in ExecutionContextImplSimon Ochsenreither2015-10-281-31/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method createDefaultExecutorService had a fallback if the creation of a ForkJoinPool didn't succeed. This was necessary, because Scala shipped its own version of FJP, and the dependency on sun.misc.Unsafe (which is not an "offical" official API) made portability slightly questionable. Now that we can assume that FJP is supplied by the JDK, this concern goes away.
* | | | | | | | Merge pull request #4834 from som-snytt/issue/9545-docJason Zaugg2015-11-131-23/+20
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | SI-9545 SyncVar doc and deboxing
| * | | | | | | | SI-9545 De-option SyncVarSom Snytt2015-11-011-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't store the wrapped value double-wrapped in Option. Also burnish some more docs.
| * | | | | | | | SI-9545 Correct doc for SyncVar.get(t)Som Snytt2015-11-011-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It used to have javish semantics, but now is what it is.
* | | | | | | | | Merge pull request #4823 from soc/SI-7566-actor-leftoversJason Zaugg2015-11-134-151/+0
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | SI-7566 Remove some private, deprecated remnants from scala-actors
| * | | | | | | | | SI-7566 Remove some private, deprecated remnants from scala-actorsSimon Ochsenreither2015-10-274-151/+0
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #4829 from etaty/patch-3Jason Zaugg2015-11-131-3/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | WrapAsScala: Fix documentation
| * | | | | | | | | WrapAsScala: Fix documentationValerian2015-10-291-3/+3
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #4844 from retronym/ticket/9555Jason Zaugg2015-11-131-17/+17
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | SI-9555 Refactor SystemProperties to avoid mutable map
| * | | | | | | | | SI-9555 Refactor SystemProperties to avoid mutable mapJason Zaugg2015-11-131-17/+17
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A mutable map with help text was lazy populated if and when lazy vals containing `BooleanProp` for a particular system was initialized. Reviewing this code, I noticed two problems: the class doesn't appear to be designed for multithreaded access (e.g. someone could call `help` while the map is being updated.), and the help method won't return anything until the vals below are accessed for the first time. We don't use the help method anywhere else, but kept it around in the unlikely event it was being used by some other tool. I've done away with the mutable map by just moving the help messages into a match in the help method itself.
* | | | | | | | | Merge pull request #4840 from SethTisue/bump-intellij-project-jdk-versionJason Zaugg2015-11-121-1/+1
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | for 2.12, bump JDK version (6 -> 8) in IntelliJ sample config
| * | | | | | | | for 2.12, bump JDK version (6 -> 8) in IntelliJ sample configSeth Tisue2015-11-091-1/+1
| | | | | | | | |