summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Second half of fix and tests for #1518.Philipp Haller2009-10-2613-12/+136
|
* Modifications to the five accumulated ant-paras...Paul Phillips2009-10-265-1/+7
| | | | | | | | | | Modifications to the five accumulated ant-parasite files which are slowly driving me mad by being recompiled on every single run. One file renamed, one moved to the right directory, two given dummy implementations since they're completely commented out, and the actors package object changed to apply to scala.actors rather than _root_.actors.
* The arrival of scala.Zero.Paul Phillips2009-10-262-0/+81
| | | | | | existing codebase. What is it good for then? It's good for nothing. Thank you, I'll be here all night.
* First half of fix for #1518.Philipp Haller2009-10-264-15/+47
|
* Fix for #2528.Paul Phillips2009-10-261-0/+1
|
* Fix for #2529.Paul Phillips2009-10-261-1/+2
|
* new classpaths.Lukas Rytz2009-10-2655-1002/+781
|
* Attempting to unbreak fsc (can't reproduce the ...Paul Phillips2009-10-251-7/+9
| | | | | | Attempting to unbreak fsc (can't reproduce the problem so can't be entirely sure.)
* Suppression of a possible NPE which is almost c...Miles Sabin2009-10-251-1/+7
| | | | | | | Suppression of a possible NPE which is almost certainly a side-effect of an earlier error. This change is better than the status quo, but clearly there's work to be done here.
* Export scala.tools.nsc.transform so that variou...Miles Sabin2009-10-251-0/+1
| | | | | | Export scala.tools.nsc.transform so that various useful things (eg. OverridingPairs) are accessible.
* Add positions to AnnotationInfo for use by IDEs...Miles Sabin2009-10-2516-41/+49
| | | | | Add positions to AnnotationInfo for use by IDEs and other tools.
* Fix and test for #2515.Philipp Haller2009-10-253-2/+57
|
* Deprecation patrol.Paul Phillips2009-10-2527-101/+82
| | | | | | | compile scalac with -deprecation and not cause any machines to catch fire. Most of the remaining warnings are glancing furtively at Tuple2, waiting for the moment to pounce.
* Fix and test case for #2512, plus lots of time ...Paul Phillips2009-10-259-16/+43
| | | | | | | | Fix and test case for #2512, plus lots of time expended tuning HashSet starting sizes and growth rate, with almost nothing to show for it (but I did determine that "shadowed" is constructed identically something like 10,000 times, so there is probably a cache to be had there.)
* Fixed isCoDefinedWith by undoing previous changes.Iulian Dragos2009-10-241-1/+2
|
* Added scalac.args.quickonly to build.xml, becau...Paul Phillips2009-10-231-9/+14
| | | | | | | Added scalac.args.quickonly to build.xml, because otherwise the only way to fully test new command line options either involves rebuilding starr every time or manually editing build.xml between locker and quick.
* Reorg of number parsing to use more direct logic.Paul Phillips2009-10-232-41/+51
|
* Parser fix involving backquoted identifiers (#2...Paul Phillips2009-10-232-7/+30
| | | | | Parser fix involving backquoted identifiers (#2514) plus test case.
* fixed #2428 for good.Martin Odersky2009-10-238-22/+37
|
* The last patch to work around #1909 caught one ...Paul Phillips2009-10-225-4/+20
| | | | | | The last patch to work around #1909 caught one brand of lifts but not another. Better now and another test case.
* Made sortBy unexperimental.Paul Phillips2009-10-222-9/+7
|
* Tickets #1909 and #2508 involve code which comp...Paul Phillips2009-10-224-0/+19
| | | | | | | Tickets #1909 and #2508 involve code which compiles but then fails at runtime due to invalid bytecode. This commit turns those into compile time errors. Includes negative test case.
* new starr that does type constructor inferenceAdriaan Moors2009-10-223-3/+3
|
* the essence of tcpoly inference + test casesAdriaan Moors2009-10-2214-100/+273
| | | | | | fixes to check files and removed nonapplicable test case Tuple2 impl, but commented out so that we can bootstrap whitespace...
* Added (a variation on) jorge ortiz's sortBy to ...Paul Phillips2009-10-223-4/+33
| | | | | | Added (a variation on) jorge ortiz's sortBy to SeqLike, added docs and test case. Added map to Ordering.
* Specialized works with Unit and handles correct...Iulian Dragos2009-10-224-45/+95
| | | | | | Specialized works with Unit and handles correctly uncheckedVariance annotations.
* A pending test for #2087, and a script test whichPaul Phillips2009-10-229-0/+16
| | | | | | | | is supposed to exercise r19165, except that I discovered that no script tests have been run since July 2008: r15658 says "remove script tests for now - they seem to block in certain configurations."
* fixed breakage caused by r19219 -- sorry!Adriaan Moors2009-10-221-1/+1
| | | | | (thanks for alerting me, Toni)
* Revert "added CanBuild type alias in package ob...Adriaan Moors2009-10-222-7/+1
| | | | | | | Revert "added CanBuild type alias in package object scala.collection.generic" because it broke scaladoc (I consider that a bug -- filing ticket) This reverts commit 5b3ba1c27cdce76d8aef2bfb9aa5a836237521a9.
* Removed erroneous return type comment in scalad...Donna Malayeri2009-10-221-1/+0
| | | | | Removed erroneous return type comment in scaladoc for remove(Int, Int)
* removed some of the code duplication that Marti...Adriaan Moors2009-10-2225-102/+28
| | | | | removed some of the code duplication that Martin pointed out in my addition of def apply() to GenericCanBuildFrom
* Another warning for -Xstrict-warnings.Paul Phillips2009-10-224-7/+30
| | | | | | | beloved try/catch blocks which swallow all comers. Realized that two warnings are already one too many to combine under a single option, and broke them out into individual options.
* Added -Ytailrecommend option.Paul Phillips2009-10-212-6/+25
| | | | | | | much tail recursion you're missing out on, if only you knew where to sprinkle the finals and privates. If the option is given it will report on all methods it could have transformed.
* built new starr and fixed test casesTiark Rompf2009-10-2110-17/+18
|
* renamed Vector to IndexedSeqTiark Rompf2009-10-2148-218/+225
|
* added methods updated +: :+ to SeqLikeTiark Rompf2009-10-211-172/+0
|
* added methods updated +: :+ to SeqLikeTiark Rompf2009-10-212-8/+20
|
* scala.collection.Vector defaults to immutableTiark Rompf2009-10-211-1/+161
|
* A selection of cleanups stemming from recent in...Paul Phillips2009-10-218-55/+68
| | | | | A selection of cleanups stemming from recent investigations.
* Made Cursor.next tail recursive by making it fi...Paul Phillips2009-10-211-1/+3
| | | | | Made Cursor.next tail recursive by making it final.
* refactoring of TypeVar to set the stage for tcp...Adriaan Moors2009-10-218-149/+256
| | | | | | | | | | | | | | | | | | | | | | | | refactoring of TypeVar to set the stage for tcpoly inference (also touched UndoLog, isHigherKinded logic in TypeRef) added <:< implicit, should bootstrap selection from squashed commit messages: commented out stuff so that this can be used to bootstrap and build a new starr merged/cherry picked refactorings unrelated to #2261 (undoLog, cloneInternal, NoImplicitInfo) made conforms implicit, identity explicit replaced the implicit `identity` coercion by `conforms`, which can be used to encode generalised constraints the introduction of `conforms` revealed a bug in adaptToMember, which was inferring views while already inferring one, which gave rise to diverging implicits. Predef.identity is no longer special as far as the compiler is concerned. cleaned up isHigherKinded logic in TypeRef, and implemented it in TypeVar along with normalize added <:< to Predef: use as evidence for encoding generalized constraints (BTW: extractUndetparams clears undetparams: don't use in debug output -- I learned the hard way...) added todo about ticket 2066 -- branching from master to explicitkinds for fix refactoring: moved bounds tracking logic to TypeVar introduced typeConstructor in Type because we can't use appliedType(tp, List())) to strip a type's type arguments (appliedType is a no-op for empty args) -- don't want to pattern match on type either removed unused overrides in TypeVar (TODO double check) making appliedType more robust since it is now used more liberally -- neg/t0226 should no longer fail now merged in appliedType refactoring and added TypeVar logic to appliedType
* added CanBuild type alias in package object sca...Adriaan Moors2009-10-212-1/+7
| | | | | added CanBuild type alias in package object scala.collection.generic
* Fixed #2429.Martin Odersky2009-10-215-6/+35
|
* Added some info to a tripping assertion.Paul Phillips2009-10-211-2/+2
|
* fixed failing testcases due to previous commit ...Adriaan Moors2009-10-214-7/+10
| | | | | | fixed failing testcases due to previous commit (renaming of BuilderFactory)
* renamed BuilderFactory[El, To, From] -> CanBuil...Adriaan Moors2009-10-2181-167/+304
| | | | | | | | | | | | | | | | | | | | | renamed BuilderFactory[El, To, From] -> CanBuildFrom[From, El, To] and added apply() overload to create collections from scratch generically added def apply() overload to BuilderFactory so that we can also create collections from scratch generically (see test test/files/pos/collectGenericCC.scala) renaming: - BuilderFactory[El, To, From] -> CanBuildFrom[From, El, To] bulk type-param reordering using: s/CanBuildFrom\[\s*([^,()\s]*)\s*,(\s+[^\s,()]*)\s*,\s+([^\s,()]*)\s*\]/CanBuildFrom[$3, $1,$2]/ some argument lists got mixed up because they contained 4 comma's... - builderFactory -> canBuildFrom removed explicit implicit value in DocDriver that was renamed renamed collection/generic/BuilderFactory.scala -> collection/generic/CanBuildFrom.scala tested with clean build using ant strap.done -- everything went well on my machine
* Made Platform methods inlineable and allow the ...Iulian Dragos2009-10-212-1/+9
| | | | | | Made Platform methods inlineable and allow the optimiser to load code for methods that have the @inline attribute
* Fix and test for #2446.Philipp Haller2009-10-213-15/+21
|
* Implementation of martin's suggested fix for #1...Paul Phillips2009-10-203-6/+28
| | | | | Implementation of martin's suggested fix for #1503.
* Updated remaining test case to reflect the slig...Paul Phillips2009-10-204-22/+26
| | | | | | Updated remaining test case to reflect the slightly differing semantics of the Ordering fix.