Skip to content

Commits on Jan 15, 2021

  1. Meta: default branch rename

    Helps with whatwg/meta#174.
    annevk committed Jan 15, 2021

Commits on Dec 24, 2020

  1. Review Draft Publication: December 2020

    annevk authored and foolip committed Dec 24, 2020

Commits on Nov 2, 2020

  1. Editorial: rename internal run algorithm

    "Run" is now "process a queue" and "process" is now "process an item".
    Also tidy up the error mode note and shorten the "process an item" algorithm.
    Closes #245.
    annevk committed Nov 2, 2020

Commits on Oct 27, 2020

  1. Clarify prepend and convert and make UTF-8 decode not use prepend

    Closes #239 and closes #243.
    andreubotella committed Oct 27, 2020

Commits on Oct 26, 2020

  1. Clarify instance language around decoders and encoders

    And also stop defaulting error mode in "run" and "process".
    Fixes #240.
    annevk committed Oct 26, 2020

Commits on Oct 23, 2020

  1. Add get an encoder and encode or fail for URLs

    Since the ISO-2022-JP encoder is stateful (no other encoding is) the existing hooks were not adequately supporting the needs of URL percent-encoding which needs to handle output bytes differently from errors.
    Fixes #235.
    annevk committed Oct 23, 2020

Commits on Oct 22, 2020

  1. Reorganize hooks for standards

    And make some small editorial changes to the "run" and "process" algorithms.
    annevk committed Oct 22, 2020

Commits on Oct 21, 2020

  1. Editorial: make ISO-2022-JP encoder perform error state switch

    This avoids the need for "prepend" in the "process" algorithm as is needed to fix #235. 
    Additionally, this commit adds two clarifying asserts to the "process" algorithm documenting what error modes can be in effect when.
    Related tests: web-platform-tests/wpt#26158.
    annevk committed Oct 21, 2020

Commits on Oct 5, 2020

  1. Meta: raise does not work like print

    harjitmoe committed Oct 5, 2020

Commits on Sep 29, 2020

  1. Meta: link Review Draft

    annevk committed Sep 29, 2020

Commits on Sep 21, 2020

  1. Clarify the usage the output I/O queues in the hooks

    An "output" parameter was added to the hooks for standards in #215, but no explanation was given as to why it was needed. This change adds that clarification.
    andreubotella committed Sep 21, 2020

Commits on Sep 15, 2020

  1. Use new Streams algorithm and mixins

    Follows whatwg/streams#1073.
    Co-authored-by: Andreu Botella <>
    Co-authored-by: Anne van Kesteren <>
    3 people committed Sep 15, 2020

Commits on Sep 10, 2020

Commits on Sep 9, 2020

  1. Editorial: add a common term for UTF-16BE and UTF-16LE

    annevk committed Sep 9, 2020

Commits on Sep 8, 2020

  1. Rename streams to I/O queues

    This change renames the Encoding-specific concept of "streams", which
    had been causing confusion with readable/writable streams for years, to
    "I/O queues". It also refactors the I/O queue operations and exports the
    corresponding definitions.
    As part of this refactoring, "end-of-queue" (formerly "end-of-stream")
    becomes an optional item in the queue, indicating that the end of the
    streaming data has been reached and that no more data is expected. As a
    result, the "read" operation explicitly blocks when trying to read from
    an empty queue – a behavior that was previously left unstated.
    Closes #180.
    andreubotella committed Sep 8, 2020

Commits on Sep 7, 2020

  1. Meta: cleanup

    annevk committed Sep 7, 2020

Commits on Sep 1, 2020

  1. Meta: “UTF-8 or death”

    annevk committed Sep 1, 2020

Commits on Jun 29, 2020

  1. Meta: update repository files

    foolip authored and annevk committed Jun 29, 2020

Commits on Jun 15, 2020

  1. Review Draft Publication: June 2020

    foolip committed Jun 15, 2020

Commits on Jun 14, 2020

  1. Meta: update repository files

    foolip authored and annevk committed Jun 14, 2020

Commits on May 29, 2020

  1. Editorial: remove a lone close parenthesis

    This was left over from #175.
    andreubotella authored and annevk committed May 29, 2020

Commits on May 14, 2020

  1. Editorial: consolidate shared state

    Fixes #212.
    annevk committed May 14, 2020
  2. Editorial: introduce continue to serialize stream

    Closes #154.
    annevk committed May 14, 2020

Commits on May 13, 2020

  1. Editorial: use IDL's this and adopt more Infra

    And cleanup various other editorial patterns.
    Closes #167.
    annevk committed May 13, 2020

Commits on May 7, 2020

  1. Add a non-normative note about how the set of encodings was selected

    Closes #207.
    hsivonen committed May 7, 2020

Commits on May 6, 2020

  1. Add more UTF-8, UTF-16BE, and UTF-16LE labels

    Blink and WebKit have supported these for a long time.
    Tests: web-platform-tests/wpt#23427.
    Fixes #168.
    annevk committed May 6, 2020
  2. Meta: adopt Python 3

    annevk committed May 6, 2020

Commits on Apr 23, 2020

  1. Meta: update repository files

    annevk committed Apr 23, 2020

Commits on Apr 6, 2020

  1. Meta: update repository files

    annevk committed Apr 6, 2020

Commits on Apr 1, 2020

  1. Meta: update repository files

    annevk committed Apr 1, 2020

Commits on Mar 24, 2020

  1. Add a BOM sniffing hook for better integration with HTML

    This change moves the BOM splitting part of the decode hook into a separate hook which does not consume any bytes of the token stream.
    This will allow fixing a long-standing issue in the HTML encoding sniffing algorithm with the document's character encoding being set to the wrong result when there is a BOM: whatwg/html#1077.
    Closes #128.
    andreubotella committed Mar 24, 2020

Commits on Mar 11, 2020

  1. Editorial: align with Infra string changes

    annevk committed Mar 11, 2020

Commits on Mar 3, 2020

  1. Editorial: change the remaining flags to booleans

    Fixes #176.
    andreubotella committed Mar 3, 2020

Commits on Feb 26, 2020

  1. Label single-byte visualization rows by byte value

    hsivonen authored and annevk committed Feb 26, 2020

Commits on Jan 20, 2020

  1. Clarify that encoding tokens are scalar values

    This replaces some occurrences of "code point" with "scalar value", since it might not be clear to passing readers that output streams from decoding and input streams to encoding cannot contain tokens which are surrogates.
    Fixes #195.
    andreubotella authored and annevk committed Jan 20, 2020
You can’t perform that action at this time.