Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 21fbbd579080
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: fe4fbc2a1e66
Choose a head ref
  • 9 commits
  • 60 files changed
  • 2 contributors

Commits on Oct 31, 2013

  1. node: add AsyncListener support

    AsyncListener is a JS API that works in tandem with the AsyncWrap class
    to allow the user to be alerted to key events in the life cycle of an
    asynchronous event. The AsyncWrap class has its own MakeCallback
    implementation that core will be migrated to use, and uses state sharing
    techniques to allow quicker communication between JS and C++ whether the
    async event callbacks need to be called.
    trevnorris committed Oct 31, 2013
    Copy the full SHA
    efa62fd View commit details
    Browse the repository at this point in the history
  2. async-wrap: integrate with WeakObject

    Making WeakObject inherit from AsyncWrap allows us to peak into almost
    all the MakeCallback calls in Node internals.
    trevnorris committed Oct 31, 2013
    Copy the full SHA
    8b8e3b6 View commit details
    Browse the repository at this point in the history
  3. async-wrap: add methods to udp/tcp/pipe/timers

    Now it's possible to add/remove an async listener to an individual
    handle created by UDP, TCP, Pipe or Timer.
    trevnorris committed Oct 31, 2013
    Copy the full SHA
    ccec14b View commit details
    Browse the repository at this point in the history
  4. crypto: convert RandomBytesRequest to a class

    Since RandomBytesRequest makes a call to MakeCallback, needed it to be
    a class so AsyncWrap could handle any async listeners.
    
    Also added a simple test for an issue had during implementation where
    the memory was being released and returned.
    trevnorris committed Oct 31, 2013
    Copy the full SHA
    66d908f View commit details
    Browse the repository at this point in the history
  5. crypto: convert pbkdf2_req to a class

    pbkdf2_req has been renamed to PBKDF2Request and converted to a class.
    It now uses AsyncWrap::MakeCallback.
    
    Also includes, using env()->ondone_string() instead of "ondone" and
    using malloc instead of new char[].
    trevnorris committed Oct 31, 2013
    Copy the full SHA
    95c3810 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    fbe7eec View commit details
    Browse the repository at this point in the history
  7. domain: use AsyncListener API

    The domain module has been switched over to use the domain module API as
    much as currently possible. There are still some hooks in the
    EventEmitter, but hopefully we can remove those in the future.
    trevnorris committed Oct 31, 2013
    2
    Copy the full SHA
    bc39bdd View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2013

  1. Copy the full SHA
    005cc05 View commit details
    Browse the repository at this point in the history
  2. doc: add docs for AsyncListeners

    Documentation has been added on how to use the AsyncListener API.
    trevnorris committed Nov 1, 2013
    2
    Copy the full SHA
    fe4fbc2 View commit details
    Browse the repository at this point in the history