1. Aug 06, 2013
  2. Aug 05, 2013
  3. Aug 04, 2013
    • Fedor Indutny's avatar
      tls: fix handling of `SNICallback` server option · ea7b8172
      Fedor Indutny authored
      It shouldn't ignore it!
      
      There're two possibile cases, which should be handled properly:
      
      1. Having a default `SNICallback` which is using contexts, added with
        `server.addContext(...)` routine
      2. Having a custom `SNICallback`.
      
      In first case we may want to opt-out setting `.onsniselect` method (and
      thus save some CPU time), if there're no contexts added. But, if custom
      `SNICallback` is used, `.onsniselect` should always be set, because
      server contexts don't affect it.
      ea7b8172
    • Ben Noordhuis's avatar
      src: use static_cast for void-to-T casts · 5383e758
      Ben Noordhuis authored
      Code cleanup, replace a few uses of reinterpret_cast<T*>(void_ptr) with
      static_cast<T*>(void_ptr).
      5383e758
    • Ben Noordhuis's avatar
      src: use PersistentToLocal() in a few more places · d4cc30f1
      Ben Noordhuis authored
      Update a few more `Local<T>::New(isolate, persistent)` call sites to
      `PersistentToLocal(isolate, persistent)` - the latter has a fast path
      for non-weak persistent references.
      d4cc30f1
  4. Aug 03, 2013
  5. Aug 02, 2013
  6. Aug 01, 2013
  7. Jul 30, 2013
  8. Jul 31, 2013
    • Trevor Norris's avatar
      fs: write strings directly to disk · 7ca77eaf
      Trevor Norris authored
      Prior, strings would first be converted to a Buffer before being written
      to disk. Now the intermediary step has been removed.
      
      Other changes of note:
      
      * Class member "must_free" was added to req_wrap so to track if the
        memory needs to be manually cleaned up after use.
      * External String Resource support, so the memory will be used directly
        instead of copying out the data.
      * Docs have been updated to reflect that if position is not a number
        then it will assume null. Previously it specified the argument must be
        null, but that was not how the code worked. An attempt was made to
        only support == null, but there were too many tests that assumed !=
        number would be enough.
      * Docs update show some of the write/writeSync arguments are optional.
      7ca77eaf
    • Trevor Norris's avatar
      string_bytes: export GetExternalParts · 63fc6a63
      Trevor Norris authored
      The method is useful elsewhere when needing to check if external and
      grab data.
      63fc6a63
    • Ben Noordhuis's avatar
      deps: upgrade libuv to joyent/libuv@4bdb7d8 · 3ff2cbc8
      Ben Noordhuis authored
      Non-release upgrade so pending patches can land.
      3ff2cbc8
  9. Jul 30, 2013
    • Ben Noordhuis's avatar
      crypto: simplify DH modp group name matcher · 4cc57b4a
      Ben Noordhuis authored
      * Use ARRAY_SIZE() rather than scanning until we hit a NULL entry.
      * Fix `-fsigned-char -Wnarrowing` compiler warnings. Harmless but
        numerous and annoying.
      * Static-ify the modp_group and mod_groups arrays.
      * Const-ify the modp_groups array.
      4cc57b4a
  10. Jul 31, 2013
  11. Jul 30, 2013