1. Sep 10, 2014
    • Trevor Norris's avatar
      v8: Upgrade 3.26.33 with 14 patches · f9ce9708
      Trevor Norris authored
      V8 3.26.31 has received 14 patches since the upgrade to 3.26.33. Since
      3.26.33 is technically a tag on the 3.27 branch, reverting back to
      3.26.31 would remove now default functionality like WeakMaps. Because of
      that the patches have simply been cherry-picked and squashed.
      
      Here is a summary of all patches:
      
      * Fix index register assignment in LoadFieldByIndex for arm, arm64, and
        mips.
      * Fix invalid attributes when generalizing because of incompatible map
        change.
      * Skip write barriers when updating the weak hash table.
      * MIPS: Avoid HeapObject check in HStoreNamedField.
      * Do GC if CodeRange fails to allocate a block.
      * Array.concat: properly go to dictionary mode when required.
      * Keep CodeRange::current_allocation_block_index_ in range.
      * Grow heap slower if GC freed many global handles.
      * Do not eliminate bounds checks for "<const> - x".
      * Add missing map check to optimized f.apply(...).
      * In GrowMode, force the value to the right representation to avoid
        deopts between storing the length and storing the value.
      * Reduce max executable size limit.
      * Fix invalid condition in check elimination effects.
      * Fix off-by-one error in Array.concat slow mode check.
      
      For more information see: https://github.com/v8/v8/commits/3.26
      
      
      
      Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
      f9ce9708
    • Trevor Livingston's avatar
      tls: `checkServerIdentity` option · bf5e2f24
      Trevor Livingston authored
      
      
      Allow overriding `checkServerIdentity` function, when connecting to a
      TLS server.
      
      Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
      bf5e2f24
  2. Sep 06, 2014
  3. Sep 05, 2014
  4. Sep 04, 2014
  5. Sep 03, 2014
    • Fedor Indutny's avatar
      tls: support multiple keys/certs · 73631bbc
      Fedor Indutny authored
      Required to serve website with both ECDSA/RSA certificates.
      73631bbc
    • Fedor Indutny's avatar
      tls_wrap: fix use after free · 7343c77c
      Fedor Indutny authored
      Do not free TLSCallbacks from StreamWrap. TLSCallbacks is bound to a V8
      object and should be collected by V8's GC.
      7343c77c
    • Fedor Indutny's avatar
      crypto: use less memory for storing keys · 68c14d69
      Fedor Indutny authored
      Use `BIO_new_mem_buf` where possible to reduce memory usage and
      initialization costs.
      68c14d69
    • Jackson Tian's avatar
      4bd396a9
    • Trevor Norris's avatar
      stream_wrap: Add support to write binary strings · a054f8eb
      Trevor Norris authored
      
      
      node::StringBytes::Write() has appropriate support to write strings with
      'binary' encoding. So expose that API through StreamWrap and allow
      inheriting classes to use it.
      
      Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
      a054f8eb
    • Trevor Norris's avatar
      node,async-wrap: verify domain enter/exit are set · 81a97391
      Trevor Norris authored
      
      
      The REPL global object lazy loads modules by placing getters for each.
      This causes MakeDomainCallback() to be run if a native module is loaded
      from the REPL, but if the domain module hasn't been loaded then there
      are no enter/exit callbacks to be called. Causing an assert() to fail.
      
      Fix the issue by conditionally running the callback instead of asserting
      it is available. Also add "addon" test to verify the fix.
      
      Fixes: #8231
      Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
      81a97391
    • Jesús Leganés Combarro "piranna's avatar
      configure: generate a fully statically linked exec · cdc01fae
      Jesús Leganés Combarro "piranna authored
      
      
      Allow to create an executable with no external dynamic libraries, also the
      ones from the system. This is somewhat dependent of the used C lib, for
      example glibc has some internal dynamic libraries loaded by itself, but for
      other ones like eglibc or dietlib, this would produce a true static linked
      executable. This can be of interest for embebers or resource constraints
      platforms, but the main reason for this is to allow to use a Javascript
      file as Linux kernel 'init' on NodeOS.
      
      Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
      cdc01fae
    • Julien Gilli's avatar
      cluster: centralize removal from workers list. · 90d1147b
      Julien Gilli authored
      
      
      Currently, cluster workers can be removed from the workers list in three
      different places:
      - In the exit event handler for the worker process.
      - In the disconnect event handler of the worker process.
      - In the disconnect event handler of the cluster master.
      
      However, handles for a given worker are cleaned up only in one of these
      places: in the cluster master's disconnect event handler.
      
      Because these events happen asynchronously, it is possible that the
      workers list is empty before we even clean up one handle. This makes
      the assert that makes sure that no handle is left when the workers
      list is empty fail.
      
      This commit removes the worker from the cluster.workers list only when
      the worker is dead _and_ disconnected, at which point we're sure that
      its associated handles are cleaned up.
      
      Fixes #8191 and #8192.
      
      Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
      90d1147b
  6. Sep 02, 2014
  7. Sep 01, 2014
  8. Aug 29, 2014
  9. Aug 27, 2014
  10. Aug 24, 2014
  11. Aug 22, 2014
  12. Aug 21, 2014
  13. Aug 20, 2014
  14. Aug 19, 2014
  15. Aug 17, 2014
  16. Aug 14, 2014