summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Thrusting spear into darkened alcove attempting...Paul Phillips2011-06-222-7/+11
| | | | | | Thrusting spear into darkened alcove attempting to slay java5 build failure. No review.
* New theory: fails running on java 1.5.Paul Phillips2011-06-223-3/+10
| | | | | truth of theory. No review.
* Everything builds for me, but apparently not fo...Paul Phillips2011-06-221-4/+7
| | | | | | | | | Everything builds for me, but apparently not for jenkins. First attempt to solve mystery: explicitly set return type of Any#getClass() to Class[_ <: Any] rather than allowing java's to be used. I'm guessing that somehow it materializes as Class[_ <: Any] sometimes and Class[_ <: AnyRef] other times. Review by moors.
* A total rewrite of "runtimeClass", discarding t...Paul Phillips2011-06-2215-24/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A total rewrite of "runtimeClass", discarding the user-space approach in favor of simply fixing getClass. def f1 = 5.getClass // Class[Int] def f2 = (5: AnyVal).getClass // Class[_ <: AnyVal] def f3 = (5: java.lang.Integer).getClass // Class[_ <: java.lang.Integer] class A class B extends A def f1 = (new B: Any).getClass().newInstance() // Any def f2 = (new B: AnyRef).getClass().newInstance() // AnyRef def f3 = (new B: A).getClass().newInstance() // A def f4 = (new B: B).getClass().newInstance() // B But that's not all! def f0[T >: B] = (new B: T).getClass().newInstance() def f5 = f0[Any] // Any def f6 = f0[AnyRef] // AnyRef def f7 = f0[A] // A def f8 = f0[B] // B Closes #490, #896, #4696. Review by moors. (Note: I think this is pretty good, but picky review requested.)
* Removing the package-private modifiers on Gen*L...Aleksandar Pokopec2011-06-228-18/+18
| | | | | | | Removing the package-private modifiers on Gen*Like traits. No review.
* Removed "isInterpreterWrapper" from the conditi...Paul Phillips2011-06-211-1/+1
| | | | | | | | Removed "isInterpreterWrapper" from the conditions which imply an effective root. This was an old hack from before my time which is no longer necessary and then recently became actively hostile. Closes #4710, no review.
* Relaxes a typer check which fails valid code wi...Paul Phillips2011-06-211-8/+14
| | | | | | | | Relaxes a typer check which fails valid code with NoCommonType. If the instantiated types or type bounds do not conform, it tries normalizing the type before throwing the exception. Closes #4553. I wrote this patch with adriaan already, but bonus review by moors.
* Documented what happened with the implementatio...Paul Phillips2011-06-211-9/+17
| | | | | | Documented what happened with the implementation of narrow for future performance detectives. No review.
* Routed Stream.+: through cons to avoid some tru...Paul Phillips2011-06-211-0/+4
| | | | | | Routed Stream.+: through cons to avoid some truly pathological performance. Closes #4697, no review.
* Putting in a fix for #4713.Martin Odersky2011-06-211-2/+8
|
* Fixes Zendesk ticket #1528. Review by prokopec.Martin Odersky2011-06-211-2/+3
|
* Fixes #4712. Review by moors.Martin Odersky2011-06-211-4/+15
|
* Performance-motivated work: going through Speci...Paul Phillips2011-06-212-563/+460
| | | | | | | | | | | Performance-motivated work: going through SpecializeTypes and eliminating unnecessary intermediate data structures and multiple traversals of lists. Also trying to get that code under control: it dwarfs all other phases in terms of debugging output, and a too-large percentage of the source is commented out debugging code which looks past its sell-by date. I realize the patch is a little big for a very thorough review, but review by dragos, prokopec.
* Quoted the windows runner path so "c:\program f...Paul Phillips2011-06-211-1/+1
| | | | | | Quoted the windows runner path so "c:\program files (x86)" has some chance of working. Closes #4636, no review.
* Removed an unused method.Paul Phillips2011-06-211-4/+0
|
* Deprecated BigInt#~ in favor of unary_~.Paul Phillips2011-06-211-2/+5
|
* Fix broken tool-windows.tmpl.Paul Phillips2011-06-201-1/+1
|
* Small changes to docs only. No review.Martin Odersky2011-06-203-11/+11
|
* Reverts r25085 ("Performance tweaks for Abstrac...Paul Phillips2011-06-201-28/+24
| | | | | | | | Reverts r25085 ("Performance tweaks for AbstractFile, no review.") which apparently is making the IDE refuse to overwrite classfiles. For the life of me I can't find why there should be any difference. Bowing to expedience, no review.
* When TypeVars were given higher-order abilities...Paul Phillips2011-06-201-33/+68
| | | | | | | When TypeVars were given higher-order abilities, so too should have been WildcardType, which acts as a plceholder for typevars. Always inflicting arguments upon it was the cause of #2308. Closes #2308, review by moors.
* Separete index.js to parallelize downloads.Kato Kazuyoshi2011-06-205-138/+165
|
* Fixed an overflow which occurs in hashtable siz...Aleksandar Pokopec2011-06-202-2/+4
| | | | | | | | Fixed an overflow which occurs in hashtable size computations. Fixes #4678. No review.
* Fixing a parallel sets issue with flatmap.Aleksandar Pokopec2011-06-202-3/+5
|
* Fixed an issue with higher kinded type inferenc...Paul Phillips2011-06-191-1/+1
| | | | | | | | Fixed an issue with higher kinded type inference on constructors without any help from adriaan. Provisionally notched belt. Wrapped up as many tickets as I added characters of code. Closes SI-3343, SI-4018. Review by moors.
* Formatting fixes for scala.collection.JavaConve...Kato Kazuyoshi2011-06-181-2/+2
| | | | | | Formatting fixes for scala.collection.JavaConverters. Contributed by Daniel Capo Sobral. Review by dubochet.
* Further ScalaDoc fixes.Kato Kazuyoshi2011-06-184-39/+39
|
* The usual unbreaking of broken builds, no review.Paul Phillips2011-06-181-1/+1
|
* Formatting fixes for scala.util.Kato Kazuyoshi2011-06-1837-481/+437
|
* Formatting fixes for Parsers.Kato Kazuyoshi2011-06-181-183/+313
|
* Fixes #4490 and #4467.Kato Kazuyoshi2011-06-18121-1092/+1033
|
* Fixes typo in ScalaDoc: IndexOutofBoundsExcepti...Kato Kazuyoshi2011-06-185-9/+9
| | | | | | | Fixes typo in ScalaDoc: IndexOutofBoundsException => IndexOutOfBoundsException. Contributed by Simon Ochsenreither. Review by dubochet.
* Took a hint from -Xcheckinit to make some patte...Paul Phillips2011-06-171-17/+16
| | | | | | Took a hint from -Xcheckinit to make some pattern matcher code init-order consistent. No review.
* Go back to printing the message that transcript...Paul Phillips2011-06-161-5/+1
| | | | | | Go back to printing the message that transcript pastes can be finished with ctrl-D. No review.
* Deprecated scala.reflect.generic, except for By...Paul Phillips2011-06-1617-30/+17
| | | | | | | | Deprecated scala.reflect.generic, except for ByteCodecs. After we move some non-internal things out of scala.reflect.internal we should go back and improve some deprecation messages (i.e. point somewhere useful.) No review.
* Suppressing the ability to suppress stack trace...Paul Phillips2011-06-161-1/+3
| | | | | | Suppressing the ability to suppress stack trace suppression in NonLocalReturnControl for performance reasons, no review.
* Fix for that slightly not compiling previous pa...Paul Phillips2011-06-161-1/+1
| | | | | Fix for that slightly not compiling previous patch, no review.
* Speeding up stack trace suppression.Paul Phillips2011-06-161-1/+5
|
* Eliminating accumulated dead ends from the patt...Paul Phillips2011-06-163-62/+41
| | | | | Eliminating accumulated dead ends from the pattern matcher. No review.
* Triumph over various unsolved mysteries of the ...Paul Phillips2011-06-163-30/+18
| | | | | | | Triumph over various unsolved mysteries of the pattern matcher. More elimination of redundant ways of doing things. More allowing the typer to do its typing thing. No review.
* Bytecode inspection reveals the pattern matcher...Paul Phillips2011-06-153-35/+42
| | | | | | | Bytecode inspection reveals the pattern matcher leaving a lot more redundancy in generated trees than is necessary. Added more inteligence to the process. Review by dragos.
* closes #4692: unification in type constructor i...Adriaan Moors2011-06-151-2/+3
| | | | | | | | | | | closes #4692: unification in type constructor inference now widens *and* dealiases when necessary in 2.8.1 implicit conversion search started with a widened type, so that combo never came up no review
* got rid of grotesque isCompat closure in exprTy...Adriaan Moors2011-06-152-7/+8
| | | | | | got rid of grotesque isCompat closure in exprTypeArgs and friends. no review
* A last little IO cleanup, no review.Paul Phillips2011-06-141-2/+3
|
* Update manually created tree which was calling ...Paul Phillips2011-06-143-3/+10
| | | | | | | | Update manually created tree which was calling Predef.error to call scala.sys.error instead. Created convenience functions in Definitions for getting package objects akin to those for getting classes and objects. No review.
* More batched performance improvements for io.{ ...Paul Phillips2011-06-148-48/+34
| | | | | | | | | More batched performance improvements for io.{ File, Classpath } and others in the neighborhood. Avoids calling the expensive getCanonicalPath in favor of getAbsolutePath: I note that because it has the potential to change compiler behavior at the borders. No review.
* closes #4547.Adriaan Moors2011-06-141-0/+3
| | | | | review by rompf -- odersky may want to take a quick look and update the spec
* Documented what I could figure out about late f...Paul Phillips2011-06-146-29/+84
| | | | | | | Documented what I could figure out about late flags and anti-flags. Eliminated some indirection in flag usage. Made -Xshow-phases print out more info about flags if -Ydebug is also given. No review.
* Performance tweaks for AbstractFile, no review.Paul Phillips2011-06-141-25/+29
|
* Views using methods implemented in terms of isE...Paul Phillips2011-06-131-0/+21
| | | | | | | | | | | | | | | Views using methods implemented in terms of isEmpty (in particular, headOption and lastOption) were traversing the collection twice up to the nonEmpty element, because "if (isEmpty) None else Some(head)" means calling isEmpty separately from head. I overrode those methods in TraversableViewLike to avoid the second traversal. This leaves at least init and tail still in that boat, but they were getting too involved. How do I say "review by pool of reviewers", who can help set that up? In the meantime no review.
* Marked some more by-name-argument-using methods...Paul Phillips2011-06-134-12/+14
| | | | | | | Marked some more by-name-argument-using methods with final @inline to make possible and then encourage their inlining. Knocked almost 300 more classfiles and 200K off the compiler jar. No review.