summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* migrates stdlib and compiler to tagsEugene Burmako2012-04-23153-837/+833
| | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
* rethinks tagsEugene Burmako2012-04-2382-1178/+1394
| | | | | * introduces ArrayTag and ErasureTag * all type tags now feature erasure
*---. Merge commit 'refs/pull/419/head'; commit 'refs/pull/420/head'; commit ↵Paul Phillips2012-04-22139-4556/+1069
|\ \ \ | | | | | | | | | | | | 'refs/pull/421/head'; commit 'refs/pull/422/head' into develop
| | | * Fix a documentation comment of Product(n)#productElementKato Kazuyoshi2012-04-2323-23/+23
| | | | | | | | | | | | | | | | Fix SI-5168.
| | * | Scaladoc's tests should work with test/partestKato Kazuyoshi2012-04-231-1/+6
| | |/ | | | | | | | | | Fix SI-5083.
| | * Reflection and reification: Names and Symbols.Paul Phillips2012-04-2228-874/+985
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Consolidating many islands of name organization. Folds NameManglers into StdNames. Brings more of the string constants together with similar constants. Move name manipulation methods which produce TypeNames into object tpnme rather than nme. - Starting on MethodSymbolApi, ClassSymbolApi, etc so we can put sensible methods on sensible entities. This pushed into Definitions, where I pulled a whole bunch out of the api side (or at least marked my intention to do so -- too many tests use them to make them easy to remove) and on the compiler side, returned something more specific than Symbol a bunch of places. - Added a number of conveniences to Definitions to make it easier to get properly typed symbols. Note: one way in which you might notice having better typed Symbols is with Sets, which have the annoying property of inferring a type based on what they've been constructed with and then hard failing when you test for the presence of a more general type. So this: val mySet = Set(a, b) println(mySet(c)) ..goes from compiling to not compiling if a and b receive more specific types (e.g. they are MethodSymbols) and c is a Symbol or ClassSymbol or whatever. This is easily remedied on a site-by-site basis - create Set[Symbol](...) not Set(...) - but is an interesting and unfortunate consequence of type inference married to invariance. The changes to DummyMirror where things became ??? were driven by the need to lower its tax; type "Nothing" is a lot more forgiving about changes than is any specific symbol type.
| * | fixes SI-5689Eugene Burmako2012-04-214-1/+15
| |/
| *-------. Merge commit 'refs/pull/414/head'; commit 'refs/pull/415/head'; commit ↵Paul Phillips2012-04-2010-22/+30
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 'refs/pull/416/head'; commit 'refs/pull/417/head'; commit 'refs/pull/418/head' into develop
| | | | | | * a deprecated method that I forgot to restoreEugene Burmako2012-04-201-0/+3
| | | | | | |
| | | | | * | fixes SI-5680Eugene Burmako2012-04-207-15/+20
| | | | | |/
| | | | * / minor fix to macro tracingEugene Burmako2012-04-201-1/+1
| | | | |/
| | | * / SI-5677, Tiny typo. Fixed.Heather Miller2012-04-191-3/+3
| | | |/
| | * / suppresses warnings introduced in a2115b2352Eugene Burmako2012-04-191-3/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | locker.lib: [javac] Compiling 1 source file to C:\Projects\Kepler\build\locker\classes\library [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:17: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] public final static sun.misc.Unsafe instance; [javac] ^ [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:20: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] sun.misc.Unsafe found = null; [javac] ^ [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:21: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] for(Field field : sun.misc.Unsafe.class.getDeclaredFields()) { [javac] ^ [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:22: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] if (field.getType() == sun.misc.Unsafe.class) { [javac] ^ [javac] C:\Projects\Kepler\src\library\scala\concurrent\impl\Unsafe.java:24: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release [javac] found = (sun.misc.Unsafe) field.get(null); [javac] ^ [javac] 5 warnings [propertyfile] Updating property file: C:\Projects\Kepler\build\locker\classes\library\library.properties [stopwatch] [locker.lib.timer: 0.908 sec]
| * | Good-bye, scala.dbc.Paul Phillips2012-04-2074-3631/+6
| | | | | | | | | | | | Another deprecated soul passes on to ether world.
| * | change com.typesafe.config dep to version 0.4.0Havoc Pennington2012-04-192-4/+4
| |/
* / scala.reflect.api: Reporters => FrontEndsEugene Burmako2012-04-2020-154/+146
|/
* Minor optimizations with nested list operations.Paul Phillips2012-04-188-26/+42
| | | | | | I also tried transforming a comment into an assertion and to my shock and happy surprise everything still worked. Let's express those preconditions in code when we can, mmm?
* Sigh, sbt needs this one too.Paul Phillips2012-04-182-3/+4
|
* Merge commit 'refs/pull/412/head'; commit 'refs/pull/413/head' into developPaul Phillips2012-04-1855-1075/+2087
|\
| * fixes testsEugene Burmako2012-04-173-12/+11
| |
| * reintroduces prematurely removed manifest factoriesEugene Burmako2012-04-172-46/+134
| |
| * assorted stability fixesEugene Burmako2012-04-1716-371/+510
| |
| * adds a dummy mirrorEugene Burmako2012-04-173-13/+760
| |
| * adds erasures to concrete type tagsEugene Burmako2012-04-1740-593/+669
| |
| * big fat error message, reloadedEugene Burmako2012-04-171-45/+3
| |
| * Try to fix sbt.Paul Phillips2012-04-172-3/+8
| | | | | | | | It depended on the signature of uncheckedWarnings.
* | Fix an potentially-disturbing error (typo?) in Either doc.Étienne Vallette d'Osia2012-04-171-1/+1
|/
* Another checkfile update.Paul Phillips2012-04-161-5/+5
| | | | For mr. optimizer and his band of merry privates.
* One more checkfile update.Paul Phillips2012-04-161-1/+1
|
* Merge commit 'refs/pull/408/head'Paul Phillips2012-04-1616-125/+168
|\
| * Inliner won't touch private/protected fields anymoreVlad Ureche2012-04-164-8/+17
| | | | | | | | And we'll need a separate mechanism for making internal fields public.
| * don't emit tiny switches: optimizer chokes on themAdriaan Moors2012-04-145-54/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | workaround for inliner bug in run/t3835 see SI-5672 for the optimizer bug tiny switches (2 cases or less) don't make sense anyway, so this is not a big deal the annotDepMethType.flags contained -Xexperimental, which causes Any* to be considered as a valid return type, before we weren't exposed to this, because the product methods used (tiny) switches; with this change, they went back to pattern matches in any case, the -Xexperimental was intended to turn on dependent method types, not Any* as valid type (I can only assume), and they are now on by default the other tests were affected by our refusal to emit tiny switches
| * restore typedMatchAnonFun in all its gloryAdriaan Moors2012-04-148-63/+91
| | | | | | | | | | | | | | | | | | detect partialfunction in cpsannotationchecker emit apply/isDefinedAt if PF has @cps targs (applyOrElse can't be typed) further hacky improvements to selective anf better try/catch support in selective cps using freshly minted anonfun match make virtpatmat resilient to scaladoc (after uncurry, don't translate matches TODO: factor out translation all together so presentation compiler/scaladoc can skip it)
| * work around optimizer bug SI-5672Adriaan Moors2012-04-141-2/+7
| | | | | | | | | | | | the optimizer generates wrong bytecode for switches in arguments virtpatmat happily emits a switch for a one-case switch, whereas -Xoldpatmat did not this is not the focus of this test, hence the temporary workaround
| |
| \
*-. \ Merge commit 'refs/pull/406/head'; commit 'refs/pull/407/head'; branch ↵Paul Phillips2012-04-1643-634/+1568
|\ \ \ | | | | | | | | | | | | 'type-destructure' into develop
| | * | New facility: TypeDestructurers.Paul Phillips2012-04-1629-193/+1067
| | | | | | | | | | | | | | | | | | | | | | | | Would prefer to bake a little longer, but, scala days. More elaboration to come.
| * | | Updates forkjoin.jar sha1Heather Miller2012-04-151-1/+1
| | | |
| * | | Resolve feature and deprecation warnings in scala.concurrentphaller2012-04-153-6/+6
| | | |
| * | | Clean ups in futures based on review by @heathermiller and review by ↵phaller2012-04-154-32/+29
| | | | | | | | | | | | | | | | @viktorklang
| * | | Merge branch 'master' of https://github.com/scala/scala into wip-sip14-fixesHeather Miller2012-04-151420-6533/+20138
| |\| |
| * | | Fix issues with exception handling in futures. Review by @heathermillerphaller2012-04-144-8/+19
| | | |
| * | | Changes to access modifiers on Unsafe and NonFatal, adds/fixes doc commentsHeather Miller2012-04-144-9/+10
| | | |
| * | | Merge pull request #14 from viktorklang/wip-sip14-fixesHeather Miller2012-04-146-116/+134
| |\ \ \ | | | | | | | | | | Wip sip14 fixes
| | * | | Adding FIXME about putting mixed beans in the EC-basketViktor Klang2012-04-131-1/+1
| | | | |
| | * | | Adding NonFatal matching as to not catch anything that should terminate the ↵Viktor Klang2012-04-133-14/+11
| | | | | | | | | | | | | | | | | | | | JVM, also adding EX.reportFailure where it makes sense
| | * | | Replacing all ⇒ with => in Promise.scala and harmonized def value to use ↵Viktor Klang2012-04-131-18/+18
| | | | | | | | | | | | | | | | | | | | same match approach as def isCompleted
| | * | | Making sure that the ScalaDoc for Future.apply has the right namesViktor Klang2012-04-131-1/+1
| | | | |
| | * | | Adding NonFatal and Unsafe to scala.concurrent.implViktor Klang2012-04-132-0/+68
| | | | |
| | * | | Updating to latest version of Akka's DefaultPromiseViktor Klang2012-04-134-105/+58
| | | | |
| * | | | Adds most recent iteration of the ForkJoinPool, and updates it to now run on ↵Heather Miller2012-04-132-288/+321
| |/ / / | | | | | | | | | | | | JDK 1.6