summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New starr with implicit classes and macros.Paul Phillips2012-04-123-3/+3
|
* Merge commit 'refs/pull/375/head' into developPaul Phillips2012-04-121111-4834/+14576
|\
| * GroundTypeTag => ConcreteTypeTagEugene Burmako2012-04-1258-310/+320
| |
| * Next generation of macrosEugene Burmako2012-04-121111-4838/+14570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements SIP 16: Self-cleaning macros: http://bit.ly/wjjXTZ Features: * Macro defs * Reification * Type tags * Manifests aliased to type tags * Extended reflection API * Several hundred tests * 1111 changed files Not yet implemented: * Reification of refined types * Expr.value splicing * Named and default macro expansions * Intricacies of interaction between macros and implicits * Emission of debug information for macros (compliant with JSR-45) Dedicated to Yuri Alekseyevich Gagarin
* | Disabling failing tests.Paul Phillips2012-04-125-0/+0
| | | | | | | | | | | | | | | | | | | | I turn them over to the responsible parties. Iulian knows about the deadlock test; for philipp I presume, 07:10:29 [partest] concurrent-future.scala:97: error: not found: type FutureTimeoutException 07:10:29 [partest] throw new FutureTimeoutException(null) 07:10:29 [partest] ^ 07:10:29 [partest] one error found
| |
| \
*-. \ Merge commit 'refs/pull/373/head'; commit 'refs/pull/374/head' into developPaul Phillips2012-04-1214-136/+228
|\ \ \
| | * | Fixes and clean ups for futures based on review by @viktorklangphaller2012-04-124-29/+15
| | |/
| * | Fixed duplicate method problem for implicit wrappers.Martin Odersky2012-04-111-0/+1
| | |
| * | Implementation of SIP 13 take 2.Martin Odersky2012-04-114-28/+33
| | |
| * | Implementation of SIP 13 - implicit classesMartin Odersky2012-04-116-83/+133
| | |
| * | new annotation targets for companion classes/objects/factory methods.Martin Odersky2012-04-115-5/+55
| | |
| | |
| \ \
*-. \ \ Merge commit 'refs/pull/367/head'; commit 'refs/pull/369/head'; commit ↵Paul Phillips2012-04-125-55/+32
|\ \ \ \ | | | | | | | | | | | | | | | 'refs/pull/370/head'; commit 'refs/pull/371/head'
| | * | | This change enables the alphanumeric method to be called from SecureRandomgakuzzzz2012-04-121-9/+11
| | |/ /
| * | | Merge branch 'master' of https://github.com/scala/scalaDominik Gruntz2012-04-123-45/+20
| |\ \ \ | | | |/ | | |/|
| | * | Merge pull request #369 from scalamacros/topic/fixwinscriptsJosh Suereth2012-04-113-45/+20
| | |\ \ | | | |/ | | |/| fix for get-scala-commit-* on Windows (tested with Windows 7)
| | | * fix for get-scala-commit-* on Windows (tested with Windows 7)Eugene Burmako2012-04-113-45/+20
| | |/
| * / changed applyDynamic explanation in trait DynamicDominik Gruntz2012-04-111-1/+1
| |/
* / Fix memory leak related to default arguments in presentation compiler.Lukas Rytz2012-04-103-6/+7
|/ | | | | | | | | | | This bug exists for a long time, but was triggered / discovered only lately by the default argument of mkParams in 118aef558f. This reverts the workaroud commit 19b6ad5ee4. The fix is tested by test/files/presentation/memory-leaks which runs the presentation compiler several times on Typers.scala. I could not reproduce the memory leak in a smaller test case.
*-. Merge commit 'refs/pull/365/head'; commit 'refs/pull/366/head' into developPaul Phillips2012-04-102-2/+6
|\ \
| | * SI-5571: adds @volatile to field Enumeration.vsetDefinedDominik Gruntz2012-04-101-1/+1
| | |
| * | fix field init problem in NoStackTraceAdriaan Moors2012-04-101-1/+5
| |/
* / Fix for SI-5648.Paul Phillips2012-04-104-2/+24
|/ | | | More care in warning about bad comparisons.
* Cleaning up some repl mechanisms.Paul Phillips2012-04-097-34/+79
|
* Less laborious type application.Paul Phillips2012-04-0920-116/+99
| | | | | And eliminating redundancy. Reduced gratuitous usage of typeConstructor on symbols which don't have type parameters.
* Merge commit 'refs/pull/364/head' into developPaul Phillips2012-04-092-10/+51
|\
| * Bumped the number of samples of the memory leaks test to 50. This should ↵Iulian Dragos2012-04-092-10/+51
| | | | | | | | make it much more resilient against spikes. Also removed usedmem file dumps.
* | Make specialize check cheaper and consistent.Paul Phillips2012-04-093-21/+26
|/ | | | | | | | | | | Profiler said checking hasAnnotation thousands of times is expensive. I always wondered why some things used the SPECIALIZED flag and others looked for the annotation. No reason emerges which is apparent from the tests. So: - mark an annotated symbol specialized at a convenient time - always look for the flag - create Symbol#isSpecialized to be consistent with all others
* SI-4540 Fix [RichDouble|RichFloat|RichLong].isValid[Byte|Short|Char|Int].Dmitry Nadezhin2012-04-084-58/+305
| | | | | | | | | | This commit fixes test cases mentioned in comment 03/Apr/12 to SI-4540. Methods are fixed in leaf classes RichDouble|RichFloat|RichLong. Their superclasses are not modified. File is-valid-num.scala contains commented tests of isValidLong|isValidFloat|isValidLong, but they are not added anywhere now.
*-. Merge commit 'refs/pull/361/head'; commit 'refs/pull/362/head' into developPaul Phillips2012-04-082-11/+4
|\ \
| | * Small simplification of commit 87c9fc0df0f0e74d3a07f95634356d6425877091.Dmitry Nadezhin2012-04-071-11/+3
| | | | | | | | | | | | | | | eqTypeCode(Number) is equivalent to typeCode(Number). CHAR code is impossible because java.lang.Character is not subclass of java.lang.Number.
| * | make PresentationCompilerThread a daemontkong2012-04-071-0/+1
| |/
* / More Symbols and Flags.Paul Phillips2012-04-0710-187/+257
|/ | | | | Another "three yards and a cloud of dust" in my ongoing battle against flag uncertainty.
* Flag performance and Name management.Paul Phillips2012-04-0612-84/+139
| | | | | | | | One leads to the other. Easing some more specific typing into Symbols. Getting a handle on when where and how people rename symbols to suit their fancies.
* Merge branch 'apr6-flags' of leaf:/scala/trunk into developPaul Phillips2012-04-0612-191/+216
|\
| * Moving flags around for performance.Paul Phillips2012-04-0611-173/+198
| | | | | | | | Also trimmed some cruft which had accrued in recent work.
* | Merge commit 'pull/358/head' into developPaul Phillips2012-04-064-4/+96
|\ \
| * \ Merge branch 'master' into topic/reflectMartin Odersky2012-04-0553-250/+1216
| |\ \
| | * | Test case for overloading resolution during reflection.Martin Odersky2012-04-051-0/+16
| | | |
| * | | Added overloading resolution to reflect.api.SymbolMartin Odersky2012-04-053-8/+84
| | | |
* | | | Style tweaks to b28ece2f4b .Paul Phillips2012-04-061-4/+8
| | | | | | | | | | | | | | | | We don't use Option[Symbol].
* | | | SI-4134: abstract override crasher if lacking super implSom Snytt2012-04-065-10/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The example from the ticket is committed as a neg test. The problem is that a super.m on an abstract override member m has no concrete implementation, that is, the trait T is not mixed in after a class C with a concrete m. The error is noticed at phase mixin when the super accessor is added to the concrete mixer. (Pun alert?) When super.m is rebound, no concrete matching symbol is found up the linearization. Previously, it was asserted that such a symbol should be found, but since this is our first opportunity to detect that there is none, an error should be emitted instead. The new message is of the form: Member method f of mixin trait T2 is missing a concrete super implementation. Additionally, a couple of flag tests were changed to use isAbstractOverride.
* | | | fix memory leak in Iterator.++David Andrzejewski2012-04-061-1/+3
| | | |
* | | | Make NumericRange# O(1) instead of O(n).Simon Ochsenreither2012-04-063-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It makes me a bit nervous that NumericRange[Int] will get different wrong values in overflow situations compared to Range due to the missing toLong though. It could probably need some investigation if reordering the operations can rule out wrong values, e. g. only fail when the fold also fails. Apart from that, it might make sense to just throw an exception if an overflow happens instead of silent overflow.
* | | | Fix for SI-5591.Geoff Reedy2012-04-063-1/+12
| |_|/ |/| | | | | | | | And test case for SI-5591.
* | | Fix for SI-5644.Paul Phillips2012-04-069-22/+898
| | | | | | | | | | | | | | | | | | | | | Don't let OverloadedTypes reach the backend. When you want a method from a particular symbol, avoid getMember, which may inflict upon you an OverloadedType if an inherited member has the same name. Instead, use the (just now appearing) definitions.getDecl.
* | | A little BoxesRunTime fix.Paul Phillips2012-04-061-2/+2
| | | | | | | | | | | | That's why we have those nice test cases.
* | | Disable dysfunctional inline annotation.Paul Phillips2012-04-061-1/+4
| | |
* | | Giving HotSpot a better chance at BoxesRunTime.Paul Phillips2012-04-061-202/+163
| | | | | | | | | | | | Reusing small, simple methods rather than lots of cut and paste.
* | | Merge commit 'refs/pull/355/head^'Paul Phillips2012-04-053-3/+3
|\ \ \
| * | | avoid field init prob: make NoTreeAnnotation a defAdriaan Moors2012-04-053-3/+3
| | | |