1. Dec 15, 2014
  2. Dec 14, 2014
    • Ben Noordhuis's avatar
      src: move BE/LE buffer conversion to StringSlice() · 52fc4063
      Ben Noordhuis authored
      Move the big endian to little endian conversion logic for UCS2 input
      from src/string_bytes.cc to src/node_buffer.cc; StringSlice() is the
      only function that actually needs it and with this commit, a second
      copy is avoided on big endian architectures.
      52fc4063
    • Ben Noordhuis's avatar
      src: redo unaligned access workaround · 56fde66c
      Ben Noordhuis authored
      Introduce two-byte overloads of node::Encode() and StringBytes::Encode()
      that ensure that the input is suitably aligned.
      
      Revisits commit 535fec83 from yesterday.
      56fde66c
    • Ben Noordhuis's avatar
      src: fix addon loader regression · a60056df
      Ben Noordhuis authored
      Fix a regression that was introduced in commit a38b9178 by removing the
      bad check.  Also rearrange the addon loading logic to ensure that the
      list of pending addons remains in a consistent state when the shared
      object fails to load; in particular, when an addon self-registers first,
      then hits a dynamic linker error in a later constructor.
      
      Fixes the following asserting when loading a .node shared object:
      
          node: ../src/node.cc:1944: void node::node_module_register(void*):
          Assertion `(modpending) != (nullptr)' failed.
      
      Fixes strongloop/strongops#233.
      
      PR-URL: https://github.com/iojs/io.js/pull/154
      
      
      Reviewed-By: default avatarRyan Graham <ryan@strongloop.com>
      a60056df
  3. Dec 13, 2014
  4. Dec 11, 2014
  5. Dec 12, 2014
  6. Dec 11, 2014
  7. Dec 12, 2014
  8. Dec 11, 2014
  9. Dec 10, 2014