aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| |
| * Test case for await in an Assign node.Jason Zaugg2013-07-241-0/+11
| | | | | | | | This case already works.
| * Support await in Typed nodes.Jason Zaugg2013-07-242-0/+12
| |
| * Support await in throws.Jason Zaugg2013-07-243-2/+18
| | | | | | | | | | Also support AsyncId.async[Nothing], which was triggering a NPE in the generated `null.asInstanceOf[Nothing]`.
| * Comply with range position checking.Jason Zaugg2013-07-116-14/+23
| | | | | | | | | | | | | | | | | | - Make sure all trees are positioned - Mark range positions for synthetic code as transparent to allow some wiggle room for overlapping ranges. Enables -Yrangepos for our test suite. We can't add it for the entire build until the fix for SI-7649 lands in the compiler.
| * Fix "BoxedUnit cannot be cast to String" error.Jason Zaugg2013-07-092-3/+24
| | | | | | | | | | When convering If and Match nodes to ANF, set the type to Unit. Otherwise, erasure might end up casting BoxedUnit to a real type.
| * Move implementation details to scala.async.internal._.Jason Zaugg2013-07-0727-140/+166
| | | | | | | | | | If we intend to keep CPS fallback around for any length of time it should probably move there too.
| * Fix another interation with existentials and a name clash.Jason Zaugg2013-07-075-8/+61
| |
| * An overdue overhaul of macro internals.Jason Zaugg2013-07-0318-998/+1021
| | | | | | | | | | | | | | | | | | | | | | | | - Avoid reset + retypecheck, instead hang onto the original types/symbols - Eliminated duplication between AsyncDefinitionUseAnalyzer and ExprBuilder - Instead, decide what do lift *after* running ExprBuilder - Account for transitive references local classes/objects and lift them as needed. - Make the execution context an regular implicit parameter of the macro - Fixes interaction with existential skolems and singleton types Fixes #6, #13, #16, #17, #19, #21.
| * Avoid hardcoded "2.10" in tests.Jason Zaugg2013-07-022-4/+19
| | | | | | | | This allows us to cross build against 2.10.x and 2.11.x.
| * Build maintainenceJason Zaugg2013-07-023-4/+8
|/ | | | | | | | | | | - Update to SBT 0.12.4 - Update to Scala 2.10.2 - Provide a means to disable test compilation (other then TreeInterrogation) This is handy when doing major renovations to the macro implementation. - Explicitly depend on scala-compiler (we'll need that in the next commit) - Declare the dependencies on scala-{reflect, compiler} as "provided" to avoid adding them the runtime classpath of upstream projects. They are only needed at compile time.
* Merge pull request #18 from lrytz/typoJason Zaugg2013-04-291-1/+1
|\ | | | | call setSymbol only on outermost Apply for multi-arg-list applications