summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* update api docs for @elidable to match the behaviour more closely.Szabolcs Berecz2012-02-231-4/+7
|
* One more to derive trees.Paul Phillips2012-02-231-4/+38
| | | | | | ClassDefs, CaseDefs, and LabelDefs. Dotting eyes, crossing tees. Point of diminishing returns is reached, declare victory and withdraw.
* Methods to derive ValDefs and Templates.Paul Phillips2012-02-231-0/+29
| | | | | | It's a lot like the last one. I also found trees being duplicated before being sent to the tree copier. Looks like xerox has gotten a mole in here. Trust no one.
* Methods to derive new DefDefs.Paul Phillips2012-02-231-1/+28
| | | | | | | | | | | I guess I'd seen DefDef(mods, name, tparams, vparamss, tpt, rhs) one too many times and went a little crazy. What do you prefer: - val DefDef(mods, name, tparams, vparamss, tpt, rhs) = tree1 - treeCopy.DefDef(tree1, mods, name, tparams, vparamss, tpt, transform(rhs)) + deriveDefDef(tree1)(transform) Me too.
* Specialize Tuple2 on more types.Paul Phillips2012-02-191-1/+1
| | | | This one is a no-brainer now.
* Cleanup in aisle New.Paul Phillips2012-02-181-3/+2
| | | | More trees created more uniformly.
* Fix for "type _$1 defined twice".Paul Phillips2012-02-175-143/+127
| | | | | | | | | | | Actually not a fix, only a workaround. Package objects strike again: you don't want to have existentials in there, like this: private val resolverFunction: PartialFunction[Throwable, Try[_]] = ... There are a few irrelevant-to-that-bug changes included which I did while debugging and figured I'd keep them. With this patch I can merge/am merging the scala.concurrent work.
* Merge remote-tracking branch 'phaller/execution-context' into feb17-alexPaul Phillips2012-02-1728-115/+2582
|\
| * Disable execution context and futures implementation in the default package.Aleksandar Prokopec2012-02-168-9/+10
| | | | | | | | | | | | | | Fixed some tests so that they work now. The Transactions.scala test was failing when defined in scala.concurrent package, reporting that type `_$1` is defined twice. Until we figure out the reason for this, the package name in that test is renamed.
| * Merge branch 'master' into execution-contextAleksandar Prokopec2012-02-16135-1152/+3891
| |\ | | | | | | | | | | | | Conflicts: src/library/scala/package.scala
| * | Change the default reportFailure implementation.Aleksandar Prokopec2012-02-031-2/+3
| | |
| * | Fix typo in Future trait. Simplify recoverWith.Philipp Haller2012-02-031-5/+2
| | |
| * | Rename to recoverWith and fallbackTo in Future.aleksandar2012-02-011-2/+2
| | |
| * | Replaced Either with Try throughout scala.concurrent.Heather Miller2012-01-319-115/+122
| | |
| * | Add some missing methods, remove obsolete methods in futures.aleksandar2012-01-306-36/+41
| | | | | | | | | | | | | | | | | | Remove `ensure`. Add `reportFailure` to execution contexts. Add `zip` to futures.
| * | Refactor the Try monad a bit.aleksandar2012-01-301-45/+37
| | |
| * | Changed the comments a bit, removed on* methods on Try.aleksandar2012-01-301-55/+32
| | |
| * | Added first cut of Try type, refactored from twitter util.Heather Miller2012-01-301-0/+196
| | |
| * | Merge branch 'execution-context' of https://github.com/phaller/scala into ↵Vojin Jovanovic2012-01-271-20/+66
| |\ \ | | | | | | | | | | | | execution-context
| | * | Implement the ensure and andThen methods on futures.aleksandar2012-01-271-1/+56
| | | |
| | * | Change the implementation of the future failed projection.aleksandar2012-01-271-20/+11
| | | |
| * | | Merge branch 'master' into execution-contextVojin Jovanovic2012-01-2533-61/+837
| |\ \ \ | | |/ / | |/| |
| * | | Removed the nondeterministic implicit. Added rescue.aleksandar2012-01-246-54/+74
| | | |
| * | | Fixed the way callbacks are handled. Removed executor from base future trait.aleksandar2012-01-234-14/+13
| | | |
| * | | Add implicit for duration.aleksandar2012-01-201-0/+7
| | | |
| * | | Add NonDeterministic evidence needed to call nondeterministic methods.aleksandar2012-01-196-54/+91
| | | |
| * | | Add implicit conversion for futures that enables calling nondeterministic ↵aleksandar2012-01-194-100/+113
| | | | | | | | | | | | | | | | methods.
| * | | Deprecating some traits in scala.concurrent.aleksandar2012-01-1910-5/+23
| | | |
| * | | Fix `all` combinator on futures, refactor execution context, remove disabled ↵aleksandar2012-01-197-1262/+88
| | | | | | | | | | | | | | | | files.
| * | | Added implementations for any and find on collections of futures.Heather Miller2012-01-193-7/+55
| | | |
| * | | Refactor concurrent package and execution contexts.aleksandar2012-01-167-55/+101
| | | |
| * | | Work in progress.brijest2012-01-166-19/+48
| | | |
| * | | Add execution context implementation to akka futures.aleksandar2012-01-163-32/+163
| | | |
| * | | Migrate akka promises. Changes to some of the interfaces.aleksandar2012-01-139-44/+245
| | | |
| * | | Work in progress on porting akka promises and futures.aleksandar2012-01-137-184/+231
| | | |
| * | | Port of akka Future implementation in progress.aleksandar2012-01-124-16/+269
| | | |
| * | | Refactor await calls for awaitable objects to ready and result calls.aleksandar2012-01-123-80/+74
| | | |
| * | | Refactor blockable to awaitable on several places.aleksandar2012-01-124-6/+8
| | | |
| * | | Merge branch 'execution-context' of github.com:phaller/scala into ↵aleksandar2012-01-1249-317/+684
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution-context Conflicts: .gitignore
| | * | | Update Future.onSuccess to take a PartialFunction.Philipp Haller2012-01-121-7/+9
| | | | | | | | | | | | | | | | | | | | It has now the same signature as in Akka.
| | * | | Merge branch 'master' into execution-contextVojin Jovanovic2012-01-0948-310/+675
| | |\ \ \
| * | | | | Changing trait CanBlock name to CanAwait.aleksandar2012-01-123-3/+5
| |/ / / /
| * | | | Change promise method signature.aleksandar2011-12-131-1/+1
| | | | |
| * | | | Add test cases for blocking. Fix in the failed projection.aleksandar2011-12-132-6/+10
| | | | |
| * | | | Rename block->await. Add more tck test cases.aleksandar2011-12-135-20/+21
| | | | |
| * | | | Fix default.ExecutionContextImpl.promise. Add promise test.Philipp Haller2011-12-131-3/+3
| | | | |
| * | | | Change promise fulfill and break to success and failure.aleksandar2011-12-124-17/+20
| | | | |
| * | | | Merge branch 'execution-context' of github.com:phaller/scala into ↵aleksandar2011-12-123-3/+109
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution-context Conflicts: test/files/jvm/concurrent-future.scala
| | * | | | Add global scheduler with default implementationPhilipp Haller2011-12-093-3/+109
| | | | | |
| * | | | | Syntax changes for the scala.concurrent package and some cleanup.aleksandar2011-12-124-44/+45
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | block on { } is now changed to: block(timeout) { }