aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Don't aggressively null out captured varsJason Zaugg2013-11-125-18/+205
|/ / | | | | | | | | Once they escape, we leave the references in the state machines fields untouched.
* | 0.9.0-SNAPSHOTJason Zaugg2013-11-071-1/+1
| |
* | Merge pull request #38 from phaller/topic/cleanup-cps-fallbackv0.9.0-M2Jason Zaugg2013-11-072-5/+3
|\ \ | | | | | | Remove left-overs of CPS fallback logic
| * | Remove left-overs of CPS fallback logicPhilipp Haller2013-11-072-5/+3
| | | | | | | | | | | | Completes removal performed in #37.
* | | Remove unneeded level from the group id.Jason Zaugg2013-11-072-2/+2
| | |
* | | v0.9.0-M2Jason Zaugg2013-11-071-1/+1
|/ /
* | Update documentationJason Zaugg2013-11-072-7/+7
| |
* | Update and split the READMEJason Zaugg2013-11-072-189/+194
| |
* | Merge pull request #37 from retronym/topic/cleanup-cps-and-awaitJason Zaugg2013-11-0719-438/+81
|\ \ | | | | | | Minimize the public API
| * | Remove scala.async.StateMachineJason Zaugg2013-11-073-20/+9
| | | | | | | | | | | | | | | | | | The generated code can simply extends Function1 and Function0. This class was a hacky means to get the macro working a long time ago.
| * | Minimize the public APIJason Zaugg2013-11-0718-420/+74
|/ / | | | | | | | | | | | | | | | | | | - Remove the CPS fallback version of async. That was not intended to be part of 1.0. - Lookup the await method beside the macro, rather than requiring all calls to go to AsyncBase.await. - Create a minimal version of Async that just contains await/async and delegates to the macro implementation in internal._ - Add scaladoc.
* | Use publishSigned in the release process.Jason Zaugg2013-11-071-2/+7
| |
* | Merge pull request #36 from retronym/release/0.9.0-M1Jason Zaugg2013-11-072-0/+37
|\ \ | | | | | | Release/0.9.0 m1
| * | document release scriptJason Zaugg2013-11-071-1/+8
| | |
| * | 0.9.0-SNAPSHOTJason Zaugg2013-11-071-1/+1
| | |
| * | 0.9.0-M1v0.9.0-M1Jason Zaugg2013-11-071-1/+1
| | |
| * | Release scriptJason Zaugg2013-11-071-0/+28
| | |
| * | Scala 2.11 compatibilityJason Zaugg2013-11-072-1/+17
| | | | | | | | | | | | | | | | | | We were relying on an internal API that no longer exists. We also need to tweak the way our tests infer scalaBinaryVersion.
* | | Scala 2.11 compatibilityJason Zaugg2013-11-071-1/+15
|/ / | | | | | | We were relying on an internal API that no longer exists.
* | Build changes before the first binary release.Jason Zaugg2013-11-071-1/+4
| |
* | Build changes before the first binary release.Jason Zaugg2013-11-072-3/+22
| |
* | Merge pull request #35 from phaller/issue/memory-retentionJason Zaugg2013-10-268-25/+444
|\ \ | | | | | | Liveness analysis to avoid memory retention issues
| * | Add more doc commentsPhilipp Haller2013-10-221-1/+8
| | |
| * | Avoid zero-ing out dead fields of primitive value class typePhilipp Haller2013-10-223-14/+126
| | | | | | | | | | | | | | | - Zero out fields of type Any - Zero out fields of value class type
| * | Enables testing the resetting of lifted local variablesPhilipp Haller2013-10-226-8/+81
| | | | | | | | | | | | | | | | | | | | | - Adds a hook that lets a derived macro insert additional code when zero-ing out a lifted field. - Adds a variant of the `AsyncId` macro that logs zeroed-out fields. - Adds a test using this mechanism
| * | Fix looping issue when computing last usages of fieldsPhilipp Haller2013-10-222-23/+20
| | | | | | | | | | | | | | | - A missing condition could cause an infinite loop - Various clean-ups
| * | Liveness analysis to avoid memory retention issuesPhilipp Haller2013-10-224-18/+248
|/ / | | | | | | | | | | | | | | - Iterative, backwards data-flow analysis - Make sure fields captured by nested defs are never zeroed out. This is done elegantly by declaring such fields a being live at the exit of the final state; thus, they will never be zeroed out.
* | Merge pull request #34 from phaller/topic/docs-cleanupsJason Zaugg2013-10-185-34/+49
|\ \ | | | | | | Various clean-ups and docs
| * | More complete doc commentsPhilipp Haller2013-10-181-19/+33
| | |
| * | Simplify a generated CaseDef tree in resume methodPhilipp Haller2013-10-181-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OLD: case (throwable @ _) if NonFatal.apply(throwable) => { { stateMachine$1.this.result.complete(Failure.apply[Nothing](throwable)); () }; () } NEW: case (throwable @ _) if NonFatal.apply(throwable) => { stateMachine$1.this.result.complete(Failure.apply[Nothing](throwable)); () }
| * | Minor clean-upsPhilipp Haller2013-10-183-10/+12
| | |
| * | Update Scala and sbt versionsPhilipp Haller2013-10-182-2/+2
|/ /
* | Merge pull request #33 from retronym/topic/while-exprJason Zaugg2013-10-152-2/+20
|\ \ | | | | | | Handle while loops as expressions in ANF transform.
| * | Handle while loops as expressions in ANF transform.Jason Zaugg2013-10-142-2/+20
|/ / | | | | | | | | | | | | Append a `()`, as we do for `Unit` returning `if`-s and `try-s` We don't currently support `await` in try/catch, otherwise I'd write tests for that case, too.
* | Standard 3-clause BSD license. Attribution for Typesafe.Adriaan Moors2013-10-071-32/+25
| | | | | | Also set the start date at that of oldest commit.
* | Polishing the buildJason Zaugg2013-08-231-3/+36
| | | | | | | | | | | | - move to maven group org.scala-lang.modules / scala-async - add config to publish to sonatype OSS - generate a scala-async.properties files (ala the scala-parser-combinators build)
* | Merge pull request #30 from retronym/topic/unchecked-boundsJason Zaugg2013-08-2329-83/+115
|\ \ | | | | | | Use @uncheckedBounds to avoid introducing refchecks errors …
| * | Use @uncheckedBounds to avoid introducing refchecks errorsJason Zaugg2013-08-228-16/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | ... in code that would otherwise have smuggled through these slack LUBs in the types of trees but never in a TypeTree. More details in SI-7694. Fixes #29
| * | Better support for testing with a local instance of Scala.Jason Zaugg2013-08-151-4/+19
| | | | | | | | | | | | | | | SBT's scalaHome handling doesn't pick up the local continuations plugin.
| * | Update to SBT 0.13.0-M5Jason Zaugg2013-08-152-2/+2
| | | | | | | | | | | | | | | | | | | | | Which correctly substitutes scala-reflect.jar when using scalaHome to test out the plugin with a local version of Scala. Also updates to a released version of the junit-interface SBT TestFramework.
| * | Remove @RunWith annotations from test cases.Jason Zaugg2013-08-1521-63/+0
| | | | | | | | | | | | | | | These are are at odds with the junit-interface SBT test framework under SBT 0.13.+, and appear to be superfluous.
* | | Merge pull request #28 from scala/topic/cleanupsPhilipp Haller2013-08-146-40/+30
|\ \ \ | | | | | | | | Collection of clean-ups
| * | | Collection of clean-upsPhilipp Haller2013-08-146-40/+30
|/ / / | | | | | | | | | | | | | | | - removed outdated comments in ANF transform - added a few comments - removed some unnecessary imports
* | / Merge pull request #27 from retronym/topic/typed-transform-2Philipp Haller2013-08-1438-1391/+1629
|\| | | |/ |/| Typeful transformations
| * Don't set the body of If to the original type.Jason Zaugg2013-08-071-3/+3
| | | | | | | | Tweak the way we set tpe = Unit in matches.
| * Remove unneeded special case in ANF transform.Jason Zaugg2013-08-071-2/+0
| | | | | | | | Obsolete now that we carry all the types around.
| * Remove obsolete TODO comment.Jason Zaugg2013-08-071-2/+1
| |
| * Set the type of case bodies to Unit after ANF.Jason Zaugg2013-08-072-1/+15
| | | | | | | | Avoids runtime errors like: "java.lang.Double cannot be cast to scala.runtime.BoxedUnit"
| * Disallow await in pattern guards (for now)Jason Zaugg2013-07-252-0/+13
| |
| * Preserve ApplyImplicitView / ApplyImplicitArgs in AnfTransform.Jason Zaugg2013-07-254-13/+37
| |