summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | SBT build now works with SBT 0.12.Josh Suereth2012-08-315-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixed partest explosion that happened after partest redesign.
* | | | | | | | Merge pull request #1225 from jsuereth/fix/si-6290Josh Suereth2012-09-013-7/+18
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fixes SI-6290 by creating real instnaces of language features.
| * | | | | | | | Fixes SI-6290 by creating real instnaces of language features.Josh Suereth2012-08-313-7/+18
| |/ / / / / / /
* | | | | | | | Merge pull request #1228 from retronym/ticket/4270-xlogimplicitsPaul Phillips2012-09-014-4/+29
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | More useful -Xlog-implicits output.
| * | | | | | | More useful -Xlog-implicits output.Jason Zaugg2012-09-014-4/+29
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test exercises the most important case, when implicits are invalidated through shadowing. (See SI-4270)
* | | | | | | Merge pull request #1213 from paulp/topic/anyvalJosh Suereth2012-08-3027-130/+140
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | Expanded the reach of value classes.
| * | | | | | Two more value classes.Paul Phillips2012-08-292-53/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tuple2Zipped and Tuple3Zipped.
| * | | | | | Expanded the reach of value classes.Paul Phillips2012-08-2925-77/+90
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now extending AnyVal: - RichInt, RichDouble, etc. - ArrayOps.ofRef, ofBoolean, etc - StringAdd - StringFormat The rest of it is the changes necessary to enable those.
* | | | | | Merge pull request #1212 from dragos/topic/worksheet-instrumenterJosh Suereth2012-08-302-5/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | Two fixes for the worksheet instrumenter
| * | | | | | Two fixes for the worksheet instrumenterMartin Odersky2012-08-292-5/+12
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) Handle empty worksheets (2) Handle for expressions Review by @dragos (cherry picked from commit 20dc9cd7848863097b07d1cb84ae3f729f7e94da)
* | | | | | Merge pull request #1160 from rklaehn/SI-6220Josh Suereth2012-08-302-10/+121
|\ \ \ \ \ \ | | | | | | | | | | | | | | Si 6220
| * | | | | | Added test that should cover all code paths of the changes done in SI-6220Ruediger Klaehn2012-08-181-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This test will pass even with an older version of the scala library, since as mentioned this is just a performance improvement.
| * | | | | | Improve efficiency of updatedRuediger Klaehn2012-08-181-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added utility method to create a HashTrieSet with two leaf HashSets with different hash Used said utility method instead of creating a temorary HashTrieSet with an empty elems array Added assertions to HashTrieSet to validate tree
* | | | | | | Merge pull request #1169 from rklaehn/SI-6261Josh Suereth2012-08-303-40/+182
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Si 6261
| * | | | | | | Commented out assertionsRuediger Klaehn2012-08-281-3/+3
| | | | | | | |
| * | | | | | | Added test to ensure that ListMap.tail is O(1)Ruediger Klaehn2012-08-251-0/+7
| | | | | | | |
| * | | | | | | Made ListMap.tail O(1) instead of O(N)Ruediger Klaehn2012-08-251-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That way it is possible to check if a ListMap has one element by checking x.tail.isEmpty. Size is O(1), so size==1 won't do!
| * | | | | | | Extended test to also check proper handling of collisionsRuediger Klaehn2012-08-211-0/+91
| | | | | | | |
| * | | | | | | Added test that tests that correct classes are being created when removing ↵Ruediger Klaehn2012-08-211-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | elements
| * | | | | | | Added assertions for tree consistencyRuediger Klaehn2012-08-201-0/+4
| | | | | | | |
| * | | | | | | Rewrote makeHashTrieMap so that objects are created in a consistent stateRuediger Klaehn2012-08-201-22/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old approach first created a broken HashTrieSet (with elems(0) == null) and then fixed it afterwards by assigning elems(0) from the outside. But that won't work with the assertion. The new method is recursive, but the maximum recursion depth is 7, and on average the method won't recurse at all.
| * | | | | | | Check if subNew is the only child and if it is a leaf.Ruediger Klaehn2012-08-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If this is the case we must return subNew because a HashTrieMap with one leaf element is not allowed by the assertions
| * | | | | | | Move code to create two-element HashTrieMap into utility method and make use ↵Ruediger Klaehn2012-08-201-27/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of it from HashMapCollision1.updated0 as well
| * | | | | | | Remove unnecessary check for merger eq nullRuediger Klaehn2012-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While we still have to check for merger eq null in updated0 because updated0 gets called with a nu
| * | | | | | | Prevent creation of a HashTrieMap with one child unless the child is a ↵Ruediger Klaehn2012-08-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HashTrieMap itself
| * | | | | | | Prevent creation of a HashMapCollision1 with one elementRuediger Klaehn2012-08-201-3/+6
| | | | | | | |
* | | | | | | | Merge pull request #1209 from odersky/ticket/6227Josh Suereth2012-08-304-2/+23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Closes SI-6227
| * | | | | | | | Added/fixed test files for SI-6227Martin Odersky2012-08-292-2/+4
| | | | | | | | |
| * | | | | | | | Closes SI-6227Martin Odersky2012-08-292-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I added some general hook where one can add validation code before a name conflict involving at least one implicit symbol is reported.
* | | | | | | | | Merge pull request #1210 from jsuereth/fix/SI-6233Josh Suereth2012-08-301-0/+2
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | Fix crasher from bug in maven ant tasks. Yippie.
| * | | | | | | | Fix crasher from bug in maven ant tasks. Yippie.Josh Suereth2012-08-291-0/+2
| | |_|_|/ / / / | |/| | | | | |
* | | | | | | | Merge pull request #1215 from dgruntz/reflection/tuningEugene Burmako2012-08-304-11/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Reflection tuning
| * | | | | | | | Reflection tuningDominik Gruntz2012-08-304-11/+11
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pull request applies some tuning changes to the reflection library: 1) the traits scala.reflect.api.FlagSets, scala.reflect.api.Mirrors and scala.reflect.internal.Importers extend their corresponding trait in the base layer of the cake. 2) method isType and asType in trait TypeSymbolBase is declared final 3) small changes in the docs.
* | | | | | | | Merge pull request #1214 from jsuereth/fix/SI-6292Josh Suereth2012-08-292-0/+25
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Fixed cloning a double-linked list.
| * | | | | | | Fixed cloning a double-linked list.Josh Suereth2012-08-292-0/+25
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Still need to determine if this is a systemic issue and needs to be addressed higher in the linked list hierarchy. For now, just fixing the reported bug, with a note here for other maintainers.
* | | | | | | Merge pull request #1197 from scalamacros/topic/kindEugene Burmako2012-08-297-18/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | removes Symbol.kind and Type.kind
| * | | | | | | removes Symbol.kind and Type.kindEugene Burmako2012-08-267-18/+11
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use Universe.showRaw instead: scala> import scala.reflect.runtime.{universe => ru} import scala.reflect.runtime.{universe=>ru} scala> ru.showRaw(typeOf[Int]) res0: String = TypeRef(ThisType(scala), scala.Int, List()) scala> ru.showRaw(typeOf[Int].typeSymbol, printKinds = true) res1: String = scala.Int#CLS
* | | | | | | Merge pull request #1184 from pavelpavlov/partialfunGrzegorz Kossakowski2012-08-295-77/+194
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | PartialFunction polishing
| * | | | | | | pull request feedbackpavelpavlov2012-08-231-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added note about role of `fallback_pf` in the implementation
| * | | | | | | PartialFunction polishingPavel Pavlov2012-08-235-77/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ScalaDocs added - TODOs fixed - controversive method `run` deleted - not used class runtime.AbstractTotalFunction removed - small corrections & fixes - tests for `orElse` & `runWith`
* | | | | | | | Merge pull request #1206 from paulp/issue/6283Grzegorz Kossakowski2012-08-293-0/+7
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix for SI-6283, no abstract value classes.
| * | | | | | | | Fix for SI-6283, no abstract value classes.Paul Phillips2012-08-283-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The needless abstraction penalty was in full flower in Namers. I managed to find somewhere else to issue this error, where I can still just write an error message without tracking down an enumeration in a separate file and inventing an intermediate name for the enum member.
* | | | | | | | | Merge pull request #1195 from Blaisorblade/topic/test-tryGrzegorz Kossakowski2012-08-291-1/+13
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add missing tests for SI-6190
| * | | | | | | | | Add missing tests for SI-6190Paolo Giarrusso2012-08-251-1/+13
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was silently fixed in commit 3cb0e784a05db7d0b542cec9bf4c5fbf3772a6cf but no test was added.
* | | | | | | | | Merge pull request #1193 from VladUreche/issue/scaladoc-anchorGrzegorz Kossakowski2012-08-291-1/+5
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | SI-6280 Scaladoc: Reloading preserves anchors
| * | | | | | | | SI-6280 Scaladoc: Reloading preserves anchorsVlad Ureche2012-08-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scaladoc redirects from */package.html pages to index.html with the qualified package name as the anchor. This is done to pop up the left navigation panel whenever someone links directly to the page. (so users may navigate the rest of the scaladoc pages) When linking members directly, one can use */package.html#<signature>, which translates to index.html#*.package@<signature>. The problem was that the redirection javascript did not take the <signature> into account, so it would redirect to the top of the package page instead of scrolling to the member. Note: this is a layout change, so there's no test for it.
* | | | | | | | | Merge pull request #1207 from scalamacros/topic/scaladocVlad Ureche2012-08-281-1/+1
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | hotfix for SI-6293
| * | | | | | | | hotfix for SI-6293Eugene Burmako2012-08-281-1/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to hide scala.reflect.macros.internal from scaladoc, not the entire scala.reflect.macros.
* | | | | | | | Merge pull request #1188 from retronym/ticket/6272Josh Suereth2012-08-283-1/+73
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | SI-6272 Support lazy vals defined in try in template.
| * | | | | | | | SI-6272 Support lazy vals defined in try in template.Jason Zaugg2012-08-243-1/+73
| | |/ / / / / / | |/| | | | | |