Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 27, 2013
  1. @othiym23 @isaacs

    domains: deprecate domain.dispose().

    othiym23 authored isaacs committed
    Follows @isaacs's recommendations in joyent/node#5018. Includes some
    updates to documentation but not examples.
    
    Conflicts:
    	lib/domain.js
Commits on Aug 5, 2013
  1. @othiym23 @bnoordhuis

    doc: document domain.enter() and domain.exit()

    othiym23 authored bnoordhuis committed
    Adds the documentation requested in #5017.
Commits on Apr 1, 2013
  1. @mhart @isaacs

    Ensure BAD domain example actually uses domain

    mhart authored isaacs committed
Commits on Mar 28, 2013
  1. @isaacs

    doc: Add 'don't ignore errors' section to domain

    isaacs authored
    Also, an example program of using cluster and domain to handle errors
    safely, with zero downtime, using process isolation.
Commits on Mar 5, 2013
  1. @hij1nx @isaacs

    Update domain.markdown

    hij1nx authored isaacs committed
Commits on Dec 29, 2012
  1. @isaacs

    domain: use camelCase instead of snake_case

    isaacs authored
    While it's true that error objects have a history of getting snake_case
    properties attached by the host system, it's a point of confusion to
    Node users that comes up a lot.  It's still 'experimental', so best to
    change this sooner rather than later.
Commits on Oct 8, 2012
  1. @AndreasMadsen @bnoordhuis

    doc: consistent use of the callback argument

    AndreasMadsen authored bnoordhuis committed
Commits on Jul 30, 2012
  1. @shigeki @bnoordhuis

    doc: fix domains example

    shigeki authored bnoordhuis committed
    Need `utf8` encoding for JSON.parse and fix to avoid JSON.parse error when only
    one argument is passed in domain.bind
Commits on Jun 15, 2012
  1. @wanderview @isaacs

    doc: Improve cross-linking in API docs markdown

    wanderview authored isaacs committed
    Cross-link EventEmitter references in API docs to events.html
    
    Fix broken cross-reference links with wrong anchor names in API docs.
Commits on Jun 9, 2012
  1. @AndreasMadsen @bnoordhuis

    domain: document and test dispose event

    AndreasMadsen authored bnoordhuis committed
  2. @wavded @isaacs

    Fix #3379 prevent domain.intercept passing 1st arg to cb

    wavded authored isaacs committed
Commits on Apr 21, 2012
  1. @isaacs
Commits on Apr 17, 2012
  1. @isaacs

    Domain feature

    isaacs authored
    This is a squashed commit of the main work done on the domains-wip branch.
    
    The original commit messages are preserved for posterity:
    
    * Implicitly add EventEmitters to active domain
    * Implicitly add timers to active domain
    * domain: add members, remove ctor cb
    * Don't hijack bound callbacks for Domain error events
    * Add dispose method
    * Add domain.remove(ee) method
    * A test of multiple domains in process at once
    * Put the active domain on the process object
    * Only intercept error arg if explicitly requested
    * Typo
    * Don't auto-add new domains to the current domain
    
        While an automatic parent/child relationship is sort of neat,
        and leads to some nice error-bubbling characteristics, it also
        results in keeping a reference to every EE and timer created,
        unless domains are explicitly disposed of.
    
    * Explicitly adding one domain to another is still fine, of course.
    * Don't allow circular domain->domain memberships
    * Disposing of a domain removes it from its parent
    * Domain disposal turns functions into no-ops
    * More documentation of domains
    * More thorough dispose() semantics
    * An example using domains in an HTTP server
    * Don't handle errors on a disposed domain
    * Need to push, even if the same domain is entered multiple times
    * Array.push is too slow for the EE Ctor
    * lint domain
    * domain: docs
    * Also call abort and destroySoon to clean up event emitters
    * domain: Wrap destroy methods in a try/catch
    * Attach tick callbacks to active domain
    * domain: Only implicitly bind timers, not explicitly
    * domain: Don't fire timers when disposed.
    * domain: Simplify naming so that MakeCallback works on Timers
    * Add setInterval and nextTick to domain test
    * domain: Make stack private
Something went wrong with that request. Please try again.