Permalink
Switch branches/tags
Nothing to show
Commits on Sep 2, 2018
  1. ISO-2022-JP encoder: document an oddity

    annevk committed Sep 2, 2018
    At this point it does not seem worth it to require further implementation changes and risk compatibility issues, so instead document the quirk.
    
    Closes #115.
Commits on Aug 30, 2018
  1. gb18030 decoder: unset state before returning

    annevk committed Aug 30, 2018
    Due to an oversight in #111 the gb18030 decoder didn't always reset state before returning after a four-byte sequence.
    
    Fixes #146.
  2. Give clearer advice on hooks for standards

    annevk committed Apr 25, 2018
    Fixes #125.
Commits on Aug 29, 2018
  1. Add TextEncoderStream and TextDecoderStream transform streams

    ricea authored and annevk committed Aug 29, 2018
    Integrate with the streams standard by adding TextEncoderStream and
    TextDecoderStream transform streams to the standard. These enable
    byte<>string conversions on a ReadableStream using the pipeThrough()
    method (see https://streams.spec.whatwg.org/#rs-pipe-through).
    
    A TextEncoderStream object can be used to transform a stream of strings
    to a stream of bytes in UTF-8 encoding. A TextDecoderStream object can
    be used to transform a stream of bytes in the encoding passed to the
    constructor to strings.
    
    Tests: web-platform-tests/wpt#12430.
    
    There is a prollyfill and tests for the new functionality at
    https://github.com/GoogleChromeLabs/text-encode-transform-prollyfill.
    
    Closes #72.
Commits on Aug 23, 2018
Commits on Jun 21, 2018
  1. Review Draft Publication: June 2018

    annevk authored and domenic committed Jun 21, 2018
Commits on May 29, 2018
  1. Meta: Review Draft infrastructure

    annevk authored and domenic committed May 29, 2018
    See whatwg/whatwg.org#197 and whatwg/meta#92 for details.
    
    This also updates the web-platform-tests and IRC URLs.
Commits on May 15, 2018
Commits on May 13, 2018
  1. Include characters whose pointer is zero in BMP coverage visualizations

    hsivonen authored and annevk committed May 13, 2018
    And also compare code_point to None for completeness.
Commits on Apr 25, 2018
  1. Meta: UTF-8 decode without BOM or fail is used

    annevk committed Apr 25, 2018
    (Though not always referenced.)
Commits on Jan 9, 2018
  1. Meta: use new WHATWG boilerplate and license

    domenic authored and annevk committed Jan 9, 2018
    Helps with whatwg/meta#65 too.
Commits on Dec 20, 2017
  1. Meta: update .travis.yml

    foolip authored and annevk committed Dec 19, 2017
Commits on Oct 31, 2017
  1. Meta: use the common deploy.sh

    foolip committed Oct 31, 2017
    This uses the new CHECKER_FILTER support.
Commits on Oct 2, 2017
Commits on Aug 17, 2017
  1. Editorial: add a comma

    annevk committed Aug 17, 2017
  2. Editorial: wording nits

    annevk committed Aug 10, 2017
    Whether something is simple or obvious is for the reader to determine.
Commits on Jul 17, 2017
Commits on Jun 15, 2017
Commits on May 24, 2017
  1. Meta: HTML check only if needed, suppress warnings

    sideshowbarker committed May 7, 2017
    This restores 9ce8d47 to run the HTML checker by the network API using
    curl but refines it such that:
    
    * the checker is only run on index.html output if encoding.bs has changed
    
    * the checker is only run on all other HTML output if the visualize.py
      file has changed or if any .txt sources have been changed or added
    
    * if curl hits a timeout, it will retry each request up to 5 times.
    
    From the curl(1) man page:
    
    > --retry <num>
    >    If  a  transient  error is returned when curl tries to perform a
    >    transfer, it will retry this number of times before  giving  up.
    >    Setting  the  number to 0 makes curl do no retries (which is the
    >    default). Transient error means either: a timeout,  an  FTP  4xx
    >    response code or an HTTP 5xx response code.
    >
    >    When  curl  is about to retry a transfer, it will first wait one
    >    second and then for all forthcoming retries it will  double  the
    >    waiting  time until it reaches 10 minutes which then will be the
    >    delay between the rest of the retries.
    
    Addresses #97
Commits on May 15, 2017
  1. gb18030 decoder: unwind from fourth byte when it's not a digit

    annevk committed May 15, 2017
    Instead of always unwinding if there’s no code point when consuming the
    fourth byte, only unwind when the fourth byte is not an ASCII digit.
    This does mean that ASCII digits can be masked, but since ASCII digits
    are not used as delimiter in any format this is highly unlikely to be
    used in any attacks (and also matches existing implementations better).
    
    Fixes #110.
Commits on May 11, 2017
Commits on May 9, 2017
Commits on May 8, 2017
Commits on May 5, 2017
  1. Editorial: check non-null before null

    annevk committed May 5, 2017
    In particular in all places with two null checks in a row and for
    EUC-JP as it would stand out otherwise.
  2. EUC-JP decoder: only unwind ASCII bytes

    annevk committed May 5, 2017
    See #59 (comment)
    for context.
  3. Revert "Meta: use HTML checker network API & suppress warnings"

    annevk committed May 5, 2017
    This reverts commit 9ce8d47.
    
    Way too many timeouts in the build process.
Commits on Apr 10, 2017
  1. Meta: use HTML checker network API & suppress warnings

    sideshowbarker authored and annevk committed Apr 10, 2017
    Since we don't make regular changes having a long built time seems acceptable. We might want to consider tweaking this once we start actively working on JavaScript transform streams.
    
    Fixes #97.
Commits on Mar 20, 2017
  1. Document minimal implementation requirements

    annevk committed Mar 20, 2017
    This makes it clearer that alternative implementation strategies are possible.
    
    Fixes #44.