summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | | | * | | | Fixes SI-4478.Simon Ochsenreither2012-05-02119-180/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replaced/simplified usages of "wrt". - Added backticks to $Coll definitions, so stuff like "immutable.Stack" hopefully stops being interpreted as the end of a sentence and shown like that in the summary line of ScalaDoc's method description. See collection.immutable.Stack's sortBy. Additionally, it looks nicer this way. - Fixes the typo mentioned in SI-5666.
| | | | | | * | | | | No one define sh_highlightDocumentKato Kazuyoshi2012-05-031-2/+1
| | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This line was added on 2621ee63285808785159a3c24c9e5a5a723b8b9c but no one define sh_highlightDocument and syntax highlighting is done on Scala-side.
| | | | | * / / / / Changes scaladoc of trait DynamicDominik Gruntz2012-05-021-5/+18
| | | | | |/ / / /
| | | | * | | | | Test cases for si-4536.Aleksandar Prokopec2012-05-022-0/+54
| | | | | | | | |
| | | | * | | | | Pending test for si-4683.Aleksandar Prokopec2012-05-021-0/+11
| | | | | | | | |
| | | | * | | | | Test case for si-5198.Aleksandar Prokopec2012-05-021-0/+15
| | | | | | | | |
| | | | * | | | | Pending test for si-5240.Aleksandar Prokopec2012-05-021-0/+11
| | | | | | | | |
| | | | * | | | | Pending test for si-5514Aleksandar Prokopec2012-05-021-0/+35
| | | | | | | | |
| | | | * | | | | Test case for si-5559.Aleksandar Prokopec2012-05-021-0/+23
| | | | | | | | |
| | | | * | | | | Test case for si-5606.Aleksandar Prokopec2012-05-021-0/+9
| | | | | | | | |
| | | | * | | | | Test case for si-5618.Aleksandar Prokopec2012-05-022-0/+34
| | | | | | | | |
| | | * | | | | | remove -Xoldpatmat where test no longer needs itAdriaan Moors2012-05-029-9/+1
| | | | | | | | |
| | | * | | | | | cleaned up partialfun synth in uncurryAdriaan Moors2012-05-021-186/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed dead code due to new-style matches getting their partialfun treatment during typers
| | | | | | | | |
| | | \ \ \ \ \ \
| | | \ \ \ \ \ \
| | | \ \ \ \ \ \
| | | \ \ \ \ \ \
| | | \ \ \ \ \ \
| | | \ \ \ \ \ \
| | | \ \ \ \ \ \
| | *-------. \ \ \ \ \ \ Merge commit 'refs/pull/457/head'; commit 'refs/pull/458/head'; commit ↵Paul Phillips2012-05-0235-262/+404
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | |_|_|/ / / / / / | | | | |/| | | / / / / / | | | | | | |_|/ / / / / | | | | | |/| | | | | | 'refs/pull/459/head'; commit 'refs/pull/460/head'; commit 'refs/pull/461/head'; commit 'refs/pull/462/head' into develop
| | | | | | | * | | | | Add a link to "z" in ScaladocKato Kazuyoshi2012-05-031-1/+1
| | | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have index/index-z.html but there is no link in HTML.
| | | | | | * / / / / fix SI-5682Lukas Rytz2012-05-022-6/+7
| | | | | | |/ / / /
| | | | | * | | | | Pending test for si-5676.Aleksandar Prokopec2012-05-022-0/+26
| | | | | | | | | |
| | | | | * | | | | Add pending test for si-5698.Aleksandar Prokopec2012-05-023-0/+36
| | | | | | | | | |
| | | | | * | | | | Add pending test for SI-5018.Aleksandar Prokopec2012-05-021-0/+34
| | | | | |/ / / /
| | | | * | | | | SI-5542 closed by test caseAdriaan Moors2012-05-022-0/+4
| | | | | | | | |
| | | | * | | | | un-cps expected type in translateMatchAdriaan Moors2012-05-021-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... where it belongs, instead of in MatchTransformer
| | | | * | | | | partial fun synth typing under correct ptAdriaan Moors2012-05-021-3/+3
| | | | | | | | |
| | | | * | | | | moving patmat to its own phaseAdriaan Moors2012-05-0219-182/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sort field accessors, necessary after typers -- apparently... don't throw TypeError, use issueTypeError don't run patmat phase when -Xoldpatmat only virtualize matches when -Xexperimental recycle cps type of match for re-typechecking: when one of the internal cps-type-state annotations is present, strip all CPS annotations a cps-type-state-annotated type makes no sense as an expected type (matchX.tpe is used as pt in translateMatch) don't synth FunctionN impls during typer, only do this for PartialFunction updated check now function synth for match is deferred until uncurry patmat-transform try/catch with match in cps cleanup in selective anf remove TODO: can there be cases that are not CaseDefs -- nope
| | | | * | | | | move more of match translation out of typersAdriaan Moors2012-05-023-79/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reduce duplication in [typed/translated]Match & co in preparation of moving match translation out of the type checker, setting everything up so that we can simply type Match nodes first, then translate them separately using DefaultOverrideMatchAttachment to remember the default override for a match that defines a PartialFunction only strip annotations when translating match or cps in matches fails widen selector type when translating match-derived partialfunction slightly less cps-specific
| | | | * | | | | small tree attachment refactoring: firstAttachmentAdriaan Moors2012-05-022-7/+7
| | | | |/ / / /
| | | * / / / / SI-5729: TypeVar experimentals iff -XexperimentalAdriaan Moors2012-05-024-5/+10
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it used to also be enabled by -Yvirtpatmat, which is now on by default, but this type hackery is no longer necessary to bootstrap under the new pattern matching scheme, so let's only turn it on when people are feeling -Xexperimental
| | * / / / / fixed typo in documentation of @cpsParamDominik Gruntz2012-05-021-1/+1
| | |/ / / /
| * | | | | SI-5720: Qual block doesn't update sym ownerSom Snytt2012-05-023-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A one-line change to blockWithQualifier. The symptom is undefined tmp var symbols in the backend; lamba lift thinks the tmp var is free and adds it to anonfun ctors.
* | | | | | Remove newPromise methodphaller2012-05-032-6/+0
| | | | | |
* | | | | | Resolve merge conflictsphaller2012-05-0332-470/+6833
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Fixs for reflection and getSimpleName.Paul Phillips2012-05-023-2/+79
| |/ / / / | | | | | | | | | | | | | | | | | | | | Since getSimpleName will be crashing us indefinitely, took the expedient route and wrapped the call.
| * | | | tpe -> tpeHK here and there.Paul Phillips2012-05-013-10/+10
| | | | | | | | | | | | | | | | | | | | Review by @moors.
| * | | | Workaround for scaladoc failure.Paul Phillips2012-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addressing this little fellow: 21:40:22 [scaladoc] src/library/scala/collection/TraversableOnce.scala:382: error: missing parameter type for expanded function 21:40:22 [scaladoc] The argument types of an anonymous function must be fully known. (SLS 8.5) 21:40:22 [scaladoc] Expected type was: _[?] => Coll[A] 21:40:22 [scaladoc] case xs: generic.GenericTraversableTemplate[_, _] => xs.genericBuilder mapResult { 21:40:22 [scaladoc] ^
| * | | | Look at all the Strings which no longer are.Paul Phillips2012-05-013-108/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | // and a few dozen along the same lines lazy val SeqModule = requiredModule[scala.collection.Seq.type] With fewer Strings, all things are possible.
| * | | | Hackaround for people who like to instantiate the uninstantiable.Paul Phillips2012-05-012-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes SI-5666 again. (I don't have the least clue how I'm supposed to issue the error.)
| * | | | Fixes #SI-5578.Paul Phillips2012-05-013-8/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ResetAttrs shouldn't be side-effecting on the original tree, since it can lead to NPEs in erroneous trees (or maybe even for valid ones?). Review by @odersky (Patch by plocinic, applied without his complicity by extempore)
| * | | | A little clarity for AddInterfaces.Paul Phillips2012-05-013-43/+52
| | | | | | | | | | | | | | | | | | | | And a couple conveniences elsewhere.
| * | | | Merge commit 'refs/pull/456/head' into developPaul Phillips2012-05-012-160/+5440
| |\ \ \ \
| | * | | | Upgrade jQuery from 1.4.2 to 1.7.2Kato Kazuyoshi2012-05-022-160/+5440
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jQuery 1.4.2 uses event.layerX and event.layerY but these are deprecated and WebKit logs a lot of warnings. Additionally jquery.layout 1.3.0 RC 29.3 doesn't work correctly with jQuery 1.7.2, then we have to upgrade it to 1.3.0 RC 30.5. http://bugs.jquery.com/ticket/10531
| * | | | | Refactor Unsafe related stuff in scala.concurrent.Aleksandar Prokopec2012-05-013-20/+32
| | | | | |
| * | | | | Refactor OnceCanBuildFrom to check the collection type.Aleksandar Prokopec2012-05-012-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The builder is now instantiated as an iterator builder only if a generic builder cannot be found on the collection that requested the builder. Reason - we want this behaviour: scala> scala.util.Random.shuffle(List(1, 2, 3): collection.TraversableOnce[Int]) res0: scala.collection.TraversableOnce[Int] = List(3, 1, 2) instead of this one: scala> scala.util.Random.shuffle(List(1, 2, 3): collection.TraversableOnce[Int]) res0: scala.collection.TraversableOnce[Int] = non-empty iterator which may lead to nasty surprises. Alternately, to avoid pattern-matching in OnceCanBuildFrom.apply, we could mix in GenericTraversableTemplate-related functionaly into TraversableOnce, but this may become too complicated.
| * | | | | Widen types in signatures of Future companion methods, refactor ↵Aleksandar Prokopec2012-05-016-277/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OnceCanBuildFrom. Removed the implicit modifier on the OnceCanBuildFrom, as we don't support implicit classes with zero arguments. Added an implicit OnceCanBuildFrom method. The idea behind OnceCanBuildFrom is for it to be used by methods which construct collections, but are defined outside of collection classes. OnceCanBuildFrom so far worked only for objects of type TraversableOnce: shuffle(List(1, 2, 3).iterator: TraversableOnce[Int]) but this used to result in an implicit resolution error: shuffle(List(1, 2, 3).iterator) because after the type parameter M for `shuffle` was inferred to Iterator, no implicit of type CanBuildFrom[Iterator[_], A, Iterator[A]] could be found. Introduced another CanBuildFrom to the Iterator companion object. Modified Future tests appropriately.
| * | | | | Merge branch 'master' into feature/future-compatAleksandar Prokopec2012-05-0125-972/+1066
| |\| | | |
| * | | | | Merge branch 'master' into feature/future-compatAleksandar Prokopec2012-04-30156-969/+1735
| |\ \ \ \ \
| * | | | | | Add promises tests.Aleksandar Prokopec2012-04-302-0/+227
| | | | | | |
| * | | | | | Fixed a bug with setting execution contexts.Aleksandar Prokopec2012-04-307-57/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported most of the future tests.
| * | | | | | Porting akka future tests.Aleksandar Prokopec2012-04-273-9/+480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a bug in Future.zip.
* | | | | | | Merge branch 'master' into wip-sip14-fixesphaller2012-05-01739-9728/+13528
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge branch 'apr30-checkin' of /scala/trunk into developPaul Phillips2012-04-3013-536/+376
| |\ \ \ \ \ \
| | * | | | | | De-duplication in Contexts.Paul Phillips2012-04-301-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Friends don't let friends cut and paste.