diff --git a/CHANGELOG.md b/CHANGELOG.md index db1bcd3..eac78fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ #Change Log +## 0.1.6 + +2015-3-25 + +* Fix more `this` binding issues. +* Fix module searching bugs. +* Fix `continue` in `for in`. + +## 0.1.5 + +2015-3-6 + +* Fix `this` binding issues. + ## 0.1.4 2013-10-4 diff --git a/README.md b/README.md index 4ad8b45..69e2512 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Install Continuation.js with [npm](https://npmjs.org/package/continuation): npm install -g continuation -Latest version: 0.1.4 (2013-10-04) +Latest version: 0.1.6 (2015-03-25) [Change log](https://github.com/BYVoid/continuation/blob/master/CHANGELOG.md) @@ -524,3 +524,12 @@ Below is a comparison among projects related to synchronous to asynchronous tran JavaScript + +## Contributers + +* [Carbo Kuo](https://github.com/BYVoid) +* [curimit](https://github.com/curimit) +* [Tomi Belan](https://github.com/TomiBelan) +* [Reynir Björnsson](https://github.com/reynir) +* [summivox](https://github.com/summivox) +* [shankerwangmiao](https://github.com/shankerwangmiao) diff --git a/package.json b/package.json index 3a7d990..d6e3472 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "continuation", - "version": "0.1.5", + "version": "0.1.6", "description": "Continuation.js is a compiler for asynchronous JavaScript Continuation-Passing style transformation", "author": "BYVoid", "license": "BSD", diff --git a/test/results/continue.js b/test/results/continue.js index 347c868..def7dde 100644 --- a/test/results/continue.js +++ b/test/results/continue.js @@ -17,4 +17,4 @@ function _$loop_0(_$loop_0__$cont) { _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { }); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/defer.js b/test/results/defer.js index 225fd19..e118a4f 100644 --- a/test/results/defer.js +++ b/test/results/defer.js @@ -22,4 +22,4 @@ fs = require('fs'); console.log(e); } })); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/diskusage.js b/test/results/diskusage.js index 01cc86e..f32d3cc 100644 --- a/test/results/diskusage.js +++ b/test/results/diskusage.js @@ -65,4 +65,4 @@ calcDirSize(path, function (arguments, _$param7, _$param8, _$param9) { console.log('Size:', Math.round(totalSize / 1024), 'KB'); console.log('Actual Size on Disk:', Math.round(totalBlockSize / 1024), 'KB'); }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/factor.js b/test/results/factor.js index 7770153..57823ac 100644 --- a/test/results/factor.js +++ b/test/results/factor.js @@ -14,4 +14,4 @@ factor = function (n, callback) { }; factor(6, function (arguments) { }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/fib.js b/test/results/fib.js index bc282d6..4e67842 100644 --- a/test/results/fib.js +++ b/test/results/fib.js @@ -24,4 +24,4 @@ fib = function () { }); }; fib(); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/for.js b/test/results/for.js index 8bafd3b..7c8d3e4 100644 --- a/test/results/for.js +++ b/test/results/for.js @@ -20,4 +20,4 @@ function _$loop_0(_$loop_0__$cont) { _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { }); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/forin.js b/test/results/forin.js index 66535c4..c8fd73a 100644 --- a/test/results/forin.js +++ b/test/results/forin.js @@ -25,4 +25,4 @@ function _$loop_0(_$loop_0__$cont) { _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { }); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/if.js b/test/results/if.js index da0b0ce..2a37349 100644 --- a/test/results/if.js +++ b/test/results/if.js @@ -33,4 +33,4 @@ var err, text, a; return _$cont(_$err); a = err; }.bind(this))); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/ifvar.js b/test/results/ifvar.js index 2bb329e..8a77744 100644 --- a/test/results/ifvar.js +++ b/test/results/ifvar.js @@ -27,4 +27,4 @@ var b, c, i, j, k, p; return _$cont(_$err); console.log(b); }.bind(this))); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/list.js b/test/results/list.js index 73721e8..92173d2 100644 --- a/test/results/list.js +++ b/test/results/list.js @@ -27,4 +27,4 @@ _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { console.log(list); }); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/loop.js b/test/results/loop.js index 021b800..4b335e8 100644 --- a/test/results/loop.js +++ b/test/results/loop.js @@ -15,4 +15,4 @@ _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { console.log('Done'); }); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/multiple_parallel.js b/test/results/multiple_parallel.js index 77475a0..f24b941 100644 --- a/test/results/multiple_parallel.js +++ b/test/results/multiple_parallel.js @@ -63,4 +63,4 @@ var _$errors_0 = []; console.log(d, e, f); })); })); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/nested_block.js b/test/results/nested_block.js index 2edc80f..a54d13d 100644 --- a/test/results/nested_block.js +++ b/test/results/nested_block.js @@ -2,4 +2,4 @@ var x; x = 1; console.log(function (arguments) { }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/parallel.js b/test/results/parallel.js index fc27c53..09c951b 100644 --- a/test/results/parallel.js +++ b/test/results/parallel.js @@ -41,4 +41,4 @@ var _$errors_0 = []; _$errors_0 = undefined; console.log('Done', r); })); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/parallel_exception.js b/test/results/parallel_exception.js index bbcecf5..4efb6c6 100644 --- a/test/results/parallel_exception.js +++ b/test/results/parallel_exception.js @@ -91,4 +91,4 @@ r = []; } console.log('Done'); })); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/pi.js b/test/results/pi.js index 80b8e33..ab63a98 100644 --- a/test/results/pi.js +++ b/test/results/pi.js @@ -17,4 +17,4 @@ calcPi(function (arguments, _$param1) { pi = _$param1; console.log(pi); }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/switch.js b/test/results/switch.js index 53a4ebc..ef5b6f2 100644 --- a/test/results/switch.js +++ b/test/results/switch.js @@ -59,4 +59,4 @@ var err, text, end; }.bind(this)(function (_$err) { end = 'a'; }.bind(this))); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/switchbreak.js b/test/results/switchbreak.js index d42bbe0..d53ecf3 100644 --- a/test/results/switchbreak.js +++ b/test/results/switchbreak.js @@ -24,4 +24,4 @@ num = 1; } }.bind(this)(function (_$err) { }.bind(this))); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/this_argument.js b/test/results/this_argument.js index 266d46a..077e65f 100644 --- a/test/results/this_argument.js +++ b/test/results/this_argument.js @@ -21,4 +21,4 @@ obj.showWithDelay(10, function (arguments) { obj.showWithDelay('a', 'b', 10, function (arguments) { }.bind(this, arguments)); }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/this_argument_if.js b/test/results/this_argument_if.js index 4926e97..19ff189 100644 --- a/test/results/this_argument_if.js +++ b/test/results/this_argument_if.js @@ -21,4 +21,4 @@ o = { }; o.inner(); console.log(this.name); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/try_body.js b/test/results/try_body.js index 376061a..03cd0cb 100644 --- a/test/results/try_body.js +++ b/test/results/try_body.js @@ -24,4 +24,4 @@ var a, err; } console.log('Done'); })); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/try_both.js b/test/results/try_both.js index 545fb86..7209284 100644 --- a/test/results/try_both.js +++ b/test/results/try_both.js @@ -26,4 +26,4 @@ console.log('Finally'); console.log('Done'); })); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/try_catch.js b/test/results/try_catch.js index 9403c12..db3c0a1 100644 --- a/test/results/try_catch.js +++ b/test/results/try_catch.js @@ -12,4 +12,4 @@ }(function () { console.log('Done'); })); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/try_if.js b/test/results/try_if.js index 299d4c5..3c76be6 100644 --- a/test/results/try_if.js +++ b/test/results/try_if.js @@ -38,4 +38,4 @@ } console.log('Done'); })); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/try_nested_function.js b/test/results/try_nested_function.js index 87327b8..3372b01 100644 --- a/test/results/try_nested_function.js +++ b/test/results/try_nested_function.js @@ -35,4 +35,4 @@ main(function (arguments, _$param0, _$param1) { res = _$param1; console.log('main() finished with', err, res); }.bind(this, arguments)); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/try_sync.js b/test/results/try_sync.js index 2b9eb28..c913fee 100644 --- a/test/results/try_sync.js +++ b/test/results/try_sync.js @@ -7,4 +7,4 @@ try { x = 3; setTimeout(function (arguments) { }.bind(this, arguments), 10); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file diff --git a/test/results/whilebreak.js b/test/results/whilebreak.js index 7bd90a3..6e59269 100644 --- a/test/results/whilebreak.js +++ b/test/results/whilebreak.js @@ -17,4 +17,4 @@ function _$loop_0(_$loop_0__$cont) { _$loop_0 = _$loop_0.bind(this); _$loop_0(function () { }); -/* Generated by Continuation.js v0.1.5 */ \ No newline at end of file +/* Generated by Continuation.js v0.1.6 */ \ No newline at end of file