1. Mar 05, 2014
    • Ben Noordhuis's avatar
      src: add default visibility to NODE_MODULE · bd8a5755
      Ben Noordhuis authored
      It's currently not really possible to compile native add-ons with
      -fvisibility=hidden because that also hides the struct containing
      the module definition.
      
      The NODE_MODULE() and NODE_MODULE_DECL() macros are structured in
      a way that makes it impossible to add a visibility attribute manually
      so there is no escape hatch there.
      
      That's why this commit adds an explicit visibility attribute to
      the module definition.  It doesn't help with node.js releases that
      are already out there but at least it improves the situation going
      forward.
      bd8a5755
  2. Mar 04, 2014
    • Greg Brail's avatar
      timer: don't reschedule timer bucket in a domain · 6eb4d1d1
      Greg Brail authored
      If two timers run on the same tick, and the first timer uses a domain,
      and then catches an exception and disposes of the domain, then the
      second timer never runs. (And even if the first timer does not dispose
      of the domain, the second timer could run under the wrong domain.)
      
      This happens because timer.js uses "process.nextTick()" to schedule
      continued processing of the timers for that tick. However, there was
      an exception inside a domain, then "process.nextTick()" runs under
      the domain of the first timer function, and will do nothing if
      the domain has been disposed.
      
      To avoid this, we temporarily save the value of "process.domain"
      before calling nextTick so that it does not run inside any domain.
      6eb4d1d1
    • Timothy J Fontaine's avatar
      src: domain should not replace nextTick function · 06453a94
      Timothy J Fontaine authored
      Previously if you cached process.nextTick and then require('domain')
      subsequent nextTick() calls would not be caught because enqueued
      functions were taking the wrong path. This keeps nextTick to a single
      function reference and changes the implementation details after domain
      has been required.
      06453a94
  3. Feb 27, 2014
  4. Feb 26, 2014
  5. Feb 24, 2014
  6. Feb 23, 2014
  7. Feb 21, 2014
  8. Feb 19, 2014
  9. Feb 18, 2014
  10. Feb 15, 2014
  11. Feb 14, 2014
  12. Feb 13, 2014
  13. Feb 11, 2014
  14. Feb 09, 2014
  15. Feb 08, 2014
  16. Feb 06, 2014
  17. Feb 04, 2014