summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Removed unnecessary DebugSetting, folding the s...Paul Phillips2010-03-075-36/+11
| | | | | | Removed unnecessary DebugSetting, folding the small extra functionality back into ChoiceSetting. No review.
* Still working my way through all the classpath ...Paul Phillips2010-03-074-84/+56
| | | | | | Still working my way through all the classpath manipulations in partest. No review.
* One minute too many trying to figure out where ...Paul Phillips2010-03-0710-960/+1019
| | | | | | | | | One minute too many trying to figure out where some partest classpath mutation was disappearing on me, and I snapped and started the process of creating an immutable Settings. This commit is for the most part infrastructure to enable its smooth and uneventful entrance. Review by community.
* Modification to the last patch to return None/f...Paul Phillips2010-03-062-3/+4
| | | | | | Modification to the last patch to return None/false rather than throwing the MatchError. No review.
* Fixes for #3126.Paul Phillips2010-03-064-7/+19
| | | | | | null, and thrown MatchErrors don't NPE trying to stringify null. No review.
* escape source file path with space charsdcaoyuan2010-03-061-1/+1
|
* Fix for #3136 by reverting the line in r18184 w...Paul Phillips2010-03-053-5/+27
| | | | | | | | | Fix for #3136 by reverting the line in r18184 which caused this and other regressions. The downside is that the #1697 test case no longer passes, but protracted shrug because it wasn't entirely fixed anyway. Review by moors. (Can you triangulate your way to a patch where both work simultaneously? It's today's bonus challenge!)
* Test case for case class equality.Paul Phillips2010-03-051-0/+36
|
* ScalaRunTime method to perform sameElements as ...Paul Phillips2010-03-055-18/+31
| | | | | | ScalaRunTime method to perform sameElements as fix for #2867. Review by odersky.
* Cleaning up some redundancy martin noticed.Paul Phillips2010-03-053-24/+18
|
* Closes #3015. Review by moors (it's his patch).Martin Odersky2010-03-051-1/+1
|
* Mixing test case. No review.Martin Odersky2010-03-051-0/+8
|
* Closes #3026. Review by extempore.Martin Odersky2010-03-052-8/+2
|
* Closes #3037. Review by extempore.Martin Odersky2010-03-053-8/+36
|
* Removed quotes from quoted tokens in command li...Paul Phillips2010-03-051-2/+3
| | | | | | Removed quotes from quoted tokens in command line parser to soothe Windows. Review by community.
* Added -Xmigration option and @migration annotat...Paul Phillips2010-03-0512-25/+104
| | | | | | | | | | | | Added -Xmigration option and @migration annotation. At present it will warn about the following changes from 2.7 to 2.8: Stack iterator order reversed mutable.Set.map returns a Set and thus discards duplicates A case 'x @ Pattern' matches differently than 'Pattern' Review by odersky.
* Making sure the interpreter always uses the des...Paul Phillips2010-03-042-19/+24
| | | | | | Making sure the interpreter always uses the designated output stream rather than unwittingly falling back on predef. No review.
* Renamed the linkedFooOfBar methods in Symbol to...Paul Phillips2010-03-0417-73/+59
| | | | | | Renamed the linkedFooOfBar methods in Symbol to be internally consistent and in line with modern nomenclature. No review.
* Added a comment to Symbols after one too many t...Paul Phillips2010-03-041-1/+32
| | | | | | | | Added a comment to Symbols after one too many times forgetting what I was in that file for while I traced which of the linked* functions I wanted. Review by odersky (only because there's also a renaming proposal in there for which I solicit your yea or nay.)
* Removed obsolete SimpleExecutorScheduler, Threa...Philipp Haller2010-03-047-254/+13
| | | | | | | Removed obsolete SimpleExecutorScheduler, ThreadPoolScheduler, DefaultThreadPoolScheduler, and SchedulerService. Made ThreadPoolConfig private. No review necessary.
* Closes #3118. review by extemporeMartin Odersky2010-03-043-1/+16
|
* Fixed actors.enableForkJoin property.Philipp Haller2010-03-042-9/+10
|
* fixed while loop performance.Tiark Rompf2010-03-041-21/+20
|
* Clean-ups in scheduler hierarchy.Philipp Haller2010-03-0418-28/+416
|
* Obeyed source comment to make some classes priv...Paul Phillips2010-03-041-8/+2
| | | | | | Obeyed source comment to make some classes private, since the problem described seems to be gone. No review.
* A few yards short of the goal posts attempt at ...Paul Phillips2010-03-0467-259/+252
| | | | | | | | | | | A few yards short of the goal posts attempt at making our usage of Throwable subclasses more consistent. This patch eliminates a lot of ad hoc Exception/Error/etc. creation and various arbitrary choices are rendered slightly less arbitrary. From now on let's try not to use the word "Exception" or "Error" in the names of Throwable subclasses unless they actually derive (and make sense to derive) from Exception or Error. Review by community.
* Attempt to fix the typing-a-whileloop problem.Martin Odersky2010-03-031-20/+28
|
* Closes #3130. No review necessary.Martin Odersky2010-03-031-0/+3
|
* Added --grep command line option to partest.Paul Phillips2010-03-025-34/+66
| | | | | | | | | test with the string "Manifest" in the source file, you may now do: ./partest --grep Manifest No review.
* Removed the symlinks between scalacheck jars to...Paul Phillips2010-03-026-27/+36
| | | | | | Removed the symlinks between scalacheck jars to satisfy windows. Tweaked partest to accomodate. No review.
* Improved equality for Manifests.Paul Phillips2010-03-022-5/+23
| | | | | | | | | | | | | | | | | | canEquals, and has ClassManifests compare according to erasure but full manifests also compare type arguments. Preserving symmetry means that some things you might expect to be equal are not: val m1 = scala.reflect.ClassManifest.fromClass(classOf[List[String]]) val m2 = manifest[List[String]] (m1 == m2) // false However you can always compare the erasures. (m1.erasure == m2.erasure) // true Review by dpp.
* #3128 fixedilyas2010-03-023-4/+38
|
* Whipped ShowPickled until it would print out pr...Paul Phillips2010-03-012-15/+108
| | | | | | | | | | Whipped ShowPickled until it would print out private[scope] from the signature, and infrastructure created along the way. Only now at this late hour do I realize that this work would be a lot better aimed at creating a fake Universe and then adapting UnPickler.Scan so you can reuse the real logic. My advice to the next guy: do that instead. No review.
* trailing spaces in decompiled annotations are t...ilyas2010-03-012-4/+6
| | | | | trailing spaces in decompiled annotations are trimmed
* scalap tests fixedilyas2010-03-017-12/+11
|
* Undeprecated Function.tupled based on the type ...Paul Phillips2010-03-011-4/+7
| | | | | | | | | Undeprecated Function.tupled based on the type inference issues documented at: http://stackoverflow.com/questions/2354277/function-tupled-and-placehold er-syntax We should revisit if anon function inference improves. Review by community.
* typo in test fixedilyas2010-03-011-1/+1
|
* #2885 fixedilyas2010-03-013-0/+7
|
* Added missing file that broke the build.Martin Odersky2010-03-011-0/+53
|
* #3060 fixedilyas2010-03-014-80/+123
|
* Closes #3076. Review by community.Martin Odersky2010-03-013-2/+8
|
* Following a suggestion of jrudolph, made filter...Martin Odersky2010-03-014-26/+57
| | | | | | | | Following a suggestion of jrudolph, made filterKeys and mapValues transform abstract maps, and duplicated functionality for immutable maps. Moved transform and filterNot from immutable to general maps. Review by phaller.
* closed #3101. Review by community.Martin Odersky2010-03-012-8/+24
|
* Added one previously overlooked case for comput...Martin Odersky2010-03-011-4/+3
| | | | | | Added one previously overlooked case for computing the right tparams of glbs of polytypes. This is a postscript to the fix of #3082.
* Minor printer fix for singleton typesilyas2010-03-011-4/+5
|
* Enabled scalacheck tests.Paul Phillips2010-03-0114-63/+82
| | | | | | | | what must be legacy scalatest.* properties to partest.*, boldly assuming that the fact that partest is pretty much unusable outside of scalac means there are no users outside of scalac who might be disrupted by eliminating old property names. Review by community.
* Fixed specialized pattern matches.Iulian Dragos2010-02-285-2/+93
| | | | | specialized implementations.
* Modification to r21009 to preserve that classic...Paul Phillips2010-02-282-12/+7
| | | | | | Modification to r21009 to preserve that classic invariant, (x || !x) && !(x && !x). No review.
* Added ## method to Any as our scala hashCode me...Paul Phillips2010-02-2811-9/+64
| | | | | | | | | | | | | | Added ## method to Any as our scala hashCode method which provides consistent answers for primitive types. And I'm sure we're all tired of new starrs, but it's hard to add a method to Any without one. This patch only brings ## into existence, but nothing calls it yet. // some true assertions scala> assert(5.5f.## == 5.5f.hashCode) scala> assert(5.0f.## != 5.0f.hashCode && 5.0f.## == 5L.##) No review. (Already reviewed by odersky.)
* While working on Any.## I ran across some inter...Paul Phillips2010-02-282-19/+28
| | | | | | | | | | | | | | | | | While working on Any.## I ran across some interesting tests being made in TreeBuilder: val buf = new ListBuffer[(Name, Tree, Position)] [...] if (buf.iterator forall (name !=)) ... This is always true because a Name will never equal a Tuple3. Oh universal equality, will you never tire of toying with us? Given that this bug has existed since r12886 one might reasonably question the necessity of the conditionals falling prey to this, but leaving that for another day, it should at least check what it's trying to check. No review.