Skip to content
Permalink
Branch: master
Commits on Jan 22, 2016
  1. doc: add buf.indexOf encoding param with example

    skomski authored and trevnorris committed Jan 21, 2016
    PR-URL: #3373
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Commits on Oct 10, 2015
  1. src: convert BE-utf16-string to LE before search

    skomski authored and jasnell committed Oct 9, 2015
    On Big Endian platforms v8 strings are need to converted
    to Little Endian before searching in utf16le buffer
    
    Fixes: #3283
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Michael Dawson <mhdawson@ca.ibm.com>
    PR-URL: #3295
Commits on Oct 8, 2015
  1. src: fix u-a-free if uv returns err in ASYNC_CALL

    skomski authored and bnoordhuis committed Sep 24, 2015
    PR-URL: #3049
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  2. src: replace naive search in Buffer::IndexOf

    skomski authored and jasnell committed Sep 3, 2015
    Adds the string search implementation from v8
    which uses naive search if pattern length < 8
    or to a specific badness then uses Boyer-Moore-Horspool
    
    Added benchmark shows the expected improvements
    Added option to use ucs2 encoding with Buffer::IndexOf
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    PR-URL: #2539
Commits on Oct 7, 2015
  1. test: report timeout in TapReporter

    skomski authored and jbergstroem committed Sep 2, 2015
    Be slightly more verbose in cases where tests time out.
    
    PR-URL: #2647
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Commits on Sep 15, 2015
  1. src: use subarray() in Buffer#slice() for speedup

    skomski authored and trevnorris committed Sep 9, 2015
    Use the built-in Typed Array method subarray() to improve performance of
    Buffer#slice().
    
    Benchmark improvements:
    
        benchmark/buffer-slice: 40%
        benchmark/buffer-creation (pool): 25%
    
    Additional tests also added.
    
    PR-URL: #2777
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Commits on Sep 8, 2015
  1. build: fix v8_enable_handle_zapping override

    skomski authored and rvagg committed Sep 7, 2015
    It was previously ignored by features.gypi and therefore
    enabled by default for release builds.
    
    See https://code.google.com/p/chromium/issues/detail?id=318206
    
    PR-URL: #2731
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Commits on Sep 6, 2015
  1. src: use standard conform snprintf on windows

    skomski authored and rvagg committed Sep 3, 2015
    The version used before returned -1 on truncation which does not conform
    to the standard.
    
    PR-URL: #2404
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  2. src: fix buffer overflow for long exception lines

    skomski authored and rvagg committed Sep 3, 2015
    Long exception lines resulted in a stack buffer overflow or assertion
    because it was assumed snprintf not counts discarded chars
    or the assertion itself was incorrect: `(off) >= sizeof(arrow)`
    
    PR-URL: #2404
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  3. build: add --enable-asan with builtin leakcheck

    skomski authored and rvagg committed Aug 14, 2015
    PR-URL: #2376
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  4. src: fix memory leak in ExternString

    skomski authored and rvagg committed Aug 16, 2015
    v8 will silently return an empty handle
    which doesn't delete our data if string length is
    above String::kMaxLength
    
    Fixes: #1374
    PR-URL: #2402
    Reviewed-By: trevnorris - Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
    
    Amended by @rvagg to change author date from
      "1970-08-16 16:09:02 +0200"
    to
      "2015-08-16 16:09:02 +0200"
    as per discussion @ #2713
Commits on Sep 1, 2015
  1. src: only memcmp if length > 0 in Buffer::Compare

    skomski authored and orangemocha committed Aug 21, 2015
    Both pointer arguments to memcmp are defined as non-null
    and compiler optimizes upon that.
    
    PR-URL: #2544
    Reviewed-By: trevnorris - Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: thefourtheye - Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Commits on Aug 21, 2015
  1. crypto: fix mem {de}allocation in ExportChallenge

    skomski authored and indutny committed Aug 12, 2015
    Use correct deallocator for returned buffera.
    Don't free internal structure via ASN1_STRING_data.
    Deallocate NETSCAPE_SPKI.
    
    PR-URL: #2359
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Aug 18, 2015
  1. src: better error message on failed Buffer malloc

    skomski authored and bnoordhuis committed Aug 17, 2015
    PR-URL: #2422
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Commits on Aug 17, 2015
  1. crypto: fix memory leak in PBKDF2Request

    skomski authored and bnoordhuis committed Aug 14, 2015
    PR-URL: #2375
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  2. crypto: fix memory leak in ECDH::SetPrivateKey

    skomski authored and bnoordhuis committed Aug 14, 2015
    PR-URL: #2375
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  3. crypto: fix memory leak in PublicKeyCipher::Cipher

    skomski authored and bnoordhuis committed Aug 14, 2015
    PR-URL: #2375
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  4. crypto: fix memory leak in SafeX509ExtPrint

    skomski authored and bnoordhuis committed Aug 14, 2015
    PR-URL: #2375
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  5. crypto: fix memory leak in SetDHParam

    skomski authored and bnoordhuis committed Aug 14, 2015
    PR-URL: #2375
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  6. src: fix memory leak in DLOpen

    skomski authored and bnoordhuis committed Aug 14, 2015
    PR-URL: #2375
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Commits on Jun 20, 2012
  1. Use parent SlowBuffer, if any, when Buffer is sliced

    skomski authored and piscisaureus committed Jun 18, 2012
    Closes #3416
    Closes #3477
Commits on Jun 16, 2012
  1. Check if a stream has a valid fd before read_start

    skomski authored and isaacs committed Jun 15, 2012
    Closes #3118
Commits on Feb 13, 2012
  1. build: detect host_arch better

    skomski authored and bnoordhuis committed Feb 13, 2012
Commits on Oct 12, 2011
  1. New win32 platform function: GetCPUInfo

    skomski authored and ry committed Sep 6, 2011
    Fixes #1644
Commits on Sep 1, 2011
  1. Added some win32 platform functions

    skomski authored and ry committed Aug 31, 2011
    Fixes #1617
You can’t perform that action at this time.