Skip to content
Permalink
main
Switch branches/tags

Commits on Jul 20, 2022

Commits on May 6, 2022

Commits on May 2, 2022

  1. Editorial: reduce statement complexity of prefix algorithms

    As suggested in passing in #446.
    annevk committed May 2, 2022
  2. Add code unit suffix (ends with for strings)

    Closes #414.
    annevk committed May 2, 2022

Commits on Jan 17, 2022

Commits on Jan 3, 2022

Commits on Oct 25, 2021

  1. Remove pairs

    Overall this syntax was somewhat confusing as the slash is used for many other purposes.
    
    Fetch was using this syntax, but that is being addressed in whatwg/fetch#1339.
    
    Fixes #127.
    annevk committed Oct 25, 2021

Commits on Oct 21, 2021

  1. Add tuple indexing

    See whatwg/html#7251 for context.
    annevk committed Oct 21, 2021

Commits on Sep 28, 2021

  1. Add "start with" as link text for byte sequence's "starts with"

    Also fix some fallout from switching to positions rather than indices.
    jakearchibald committed Sep 28, 2021

Commits on Sep 22, 2021

  1. Change substring semantics to be about positions, not indices

    Previously, the spec attempted to use code unit/point indices in the substring definitions. However, this mismatched how most programming languages do substring operations, and was buggy, as noted in #402.
    
    This changes the definitions to operate on "positions" between code units/points, instead of indices, with a note explaining the difference. The resulting prose then matches most programming languages, as well as the JavaScript specification's less-formal "substring" definition.
    
    Closes #402.
    domenic committed Sep 22, 2021

Commits on Sep 10, 2021

Commits on Aug 16, 2021

  1. Allow zero index/length when substringing

    Followup to cd60f9e.
    domenic committed Aug 16, 2021
  2. Add code unit/point substring definitions

    Closes #152.
    domenic committed Aug 16, 2021

Commits on Jul 19, 2021

  1. Define exclusive ranges and list indices

    Also add "keys" and "values" as linking aliases for "get the keys"/"get the values" on maps.
    domenic committed Jul 19, 2021

Commits on May 4, 2021

  1. Editorial: avoid saying isolated surrogates

    Fixes #341.
    annevk committed May 4, 2021

Commits on Mar 23, 2021

  1. Meta: update repository files

    annevk authored and foolip committed Mar 23, 2021

Commits on Feb 2, 2021

  1. Editorial: correct ismorphic typo

    Missing a character in this example.
    martinthomson committed Feb 2, 2021

Commits on Jan 18, 2021

Commits on Jan 15, 2021

  1. Meta: default branch rename

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

Commits on Dec 17, 2020

  1. Meta: make #tracking-vector a permanent anchor

    Closes #349.
    domenic authored and annevk committed Dec 17, 2020

Commits on Oct 8, 2020

  1. Specify optional and named parameters

    Closes #320.
    domenic committed Oct 8, 2020

Commits on Oct 5, 2020

  1. Uniformize and expand JSON algorithms

    * Adds "Parse a JSON string into a JavaScript value" as a thin wrapper
      around %JSON.parse%.
    
    * Adds "serialize a JavaScript value to a JSON string", allowing
      standards to avoid the unexpected behavior of %JSON.stringify% when
      used on non-JSON-serializable JavaScript objects.
    
    * Renames "parse JSON from bytes" to "parse JSON bytes to a JavaScript
      value", and "serialize JSON to bytes" to "serialize a JavaScript value
      to JSON bytes". (lt="" values for the old names are kept, so as not
      to break links.)
    
    * Renames "parse JSON into Infra values" to "parse a JSON string to an
      Infra value" (again keeping the old lt="" value).
    
    * Adds "parse JSON bytes to an Infra value".
    
    * Minor tweaks to source syntax to uniformize on [$$] and ||.
    
    * Minor tweaks to variable names to uniformize on "string", "bytes",
      "jsValue", and "value".
    
    * Ensures that all exported terms in this section also have their gerund
      forms exported.
    domenic committed Oct 5, 2020
  2. Add Infra → JSON conversion algorithms

    Closes #336.
    domenic committed Oct 5, 2020

Commits on Sep 29, 2020

  1. Meta: link Review Draft

    annevk committed Sep 29, 2020

Commits on Aug 6, 2020

  1. Specify algorithm declarations

    Closes #92.
    domenic committed Aug 6, 2020

Commits on Jul 21, 2020

Commits on Jun 29, 2020

  1. Meta: update repository files

    foolip authored and annevk committed Jun 29, 2020

Commits on Jun 18, 2020

  1. Editorial: use dotted JavaScript intrinsics form

    Follows tc39/ecma262#1376, and prevents problems
    in the future when the non-dotted forms are deleted.
    ljharb committed Jun 18, 2020

Commits on Jun 14, 2020

  1. Meta: update repository files

    foolip authored and annevk committed Jun 14, 2020

Commits on Jun 3, 2020

  1. Fix and symmetrize "less than" and "prefix"

    We had a definition of (code unit) "prefix" for strings, but "starts
    with" for byte sequences, which led to usage errors within the
    corresponding "less than" algorithms.
    
    This makes "prefix" the primary operation for both strings and byte
    sequences, with dedicated <dfn>s for "starts with" for both. Then, it
    fixes "less than" for byte sequences to use "prefix" instead of "starts
    with", which makes the algorithm correct and closes #309.
    
    Additionally, this fixes the code unit prefix algorithm to be correct
    instead of backward, and updates the variable names from "a" and "b" to
    "potentialPrefix" and "input" for clarity.
    domenic committed Jun 3, 2020

Commits on May 29, 2020

  1. Define clear for an ordered map

    Useful for whatwg/html#5560.
    annevk committed May 29, 2020

Commits on May 20, 2020

Commits on May 18, 2020

  1. Give a name to byte and code point's underlying number

    This would be useful for whatwg/url#518, the Encoding Standard, and also clarifies isomorphic decode/encode a bit.
    
    This also requires all code points to be denoted in the same way, using "U+".
    annevk committed May 18, 2020
Older