Permalink
Commits on Jul 9, 2012
  1. Add tests for when and rejection.

    MattiSG authored and domenic committed Jul 2, 2012
Commits on Jul 4, 2012
  1. Fix the #73 regression test.

    domenic committed Jul 4, 2012
    It wasn't prepared for cross-origin restrictions (which happen on the local file system with Chrome), and seems to have had a logic error in the Node case that was masked by the problem fixed in the previous commit.
  2. Do not choke on non-*object* rejection reasons.

    domenic committed Jul 4, 2012
    See #73 and 73ee9d3 for earlier work in this area.
  3. Small fixes to the tests.

    domenic committed Jul 4, 2012
    Includes a typo that strict mode would have helped with, so I strict-ified the tests.
Commits on Jul 3, 2012
  1. Actually use jasmine-promise in Node!

    domenic committed Jul 3, 2012
    It turns out all the asynchronous promise tests were just passing automatically. Now they are actually run.
    
    This brought to light a small but mysterious issue with jasmine-promise, which had to be fixed.
    
    In the process of debugging I strict-ified it because I wanted to make sure I wasn't doing something stupid. Let's keep that.
Commits on Jun 25, 2012
  1. Add a .mailmap to fix commiter names in git shortlog.

    domenic committed Jun 25, 2012
    This consolidates domenic, DomenicDenicola, and Domenic Denicola, plus kriskowal, Kris Kowal, and Kristopher Kowal.
  2. Build on Node 0.6 and 0.8.

    domenic committed Jun 25, 2012
  3. Prevent memory leaks

    dfilatov authored and domenic committed Jun 7, 2012
Commits on May 26, 2012
  1. Remove CommonJS testing scaffold.

    domenic committed May 26, 2012
    Fixes #79.
  2. Ignore npm-debug.log.

    domenic committed May 26, 2012
  3. Update JSHint usage.

    domenic committed May 26, 2012
    * 0.7.1 includes `MessageChannel`
    * All global variables except `Q` should be set to non-writable (e.g. `msSetImmediate: false` instead of `msSetImmediate: true`).
    * Use comments to opt out of certain JSHint warnings in certain places, so that the lint script can remain noise-free.
  4. Update npm scripts. Now have test, lint, and cover.

    domenic committed May 26, 2012
    This might solve #78?
  5. Add tests for fin.

    domenic committed May 26, 2012
  6. Making specs actually Node-compatible.

    domenic committed May 26, 2012
    Previously they were failing because setting this.Q didn't work great, and there was a test explicitly involving `window`.
  7. Pass correct thisp along in npost and napply.

    domenic committed May 26, 2012
    Fixes #74, with tests.
  8. Add warnings for deprecated methods.

    Forbes Lindesay authored and domenic committed May 24, 2012
Commits on May 21, 2012
  1. Adding .npmignore. Fixes #72.

    domenic committed May 21, 2012
Commits on May 20, 2012
Commits on May 18, 2012
  1. Adding code coverage for both specs and tests, in Node.

    domenic committed May 16, 2012
    Uses itay/node-cover. Run with:
    
        npm run-script test-cover
        npm run-script spec-cover
    
    Both will generate cover_html folders with an index.html containing the coverage report. There unfortunately doesn't seem to be a cross-platform way of automatically launching that index.html in your default browser [1].
    
    This reveals a few missing spots, in addition to large swathes of untested-but-that's-OK code (like shims and long stack trace code).
    
    Ideally we would be able to run this in different browser environments (e.g. to make sure the shims are covered), but that would require a decent bit more work, I believe.
    
    NB some small additions were necessary to make the Jasmine specs run in Node.
    
    [1]: http://superuser.com/questions/38984/linux-equivalent-command-for-open-command-on-mac-windows
Commits on May 16, 2012
  1. Version 0.8.5

    kriskowal committed May 16, 2012
  2. Updated examples

    kriskowal committed May 16, 2012
    Many were obsolete and I opted to just delete them.
    
    Fixes #70
  3. Add "exception" property to rejected promises

    kriskowal committed May 16, 2012
    Rejected promises now have an "exception" property.  If an object
    isRejected(object), then object.valueOf().exception will synchronously
    observe the wrapped error.
  4. This commit is brought to you by the semicolon wars.

    domenic committed May 16, 2012
    Also by SublimeLinter.
  5. So it turns out `msSetImmediate` must be bound to `window`.

    domenic committed May 16, 2012
    This seems bizarre.
  6. HTML5-izing the spec runner.

    domenic committed May 16, 2012