Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(decode): Add EntityDecoder class #1136

Merged
merged 30 commits into from
Apr 12, 2023
Merged

feat(decode): Add EntityDecoder class #1136

merged 30 commits into from
Apr 12, 2023

Commits on Mar 27, 2023

  1. feat: Add EntityDecoder class

    fb55 committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    d90eade View commit details
    Browse the repository at this point in the history
  2. Add comments

    fb55 committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    f82785d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac1ebf7 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Update indices

    fb55 committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    6fb8f25 View commit details
    Browse the repository at this point in the history
  2. Update decode.ts

    fb55 committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    832bf9d View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. Add EntityDecoderMode

    fb55 committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    02af4c8 View commit details
    Browse the repository at this point in the history
  2. Fix numeric entities

    fb55 committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    cfb8239 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71b6867 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2023

  1. Add this.treeCurrent

    fb55 committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    1c69162 View commit details
    Browse the repository at this point in the history
  2. Merge codepoint and resultIdx

    fb55 committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    f19a8a4 View commit details
    Browse the repository at this point in the history
  3. Add consumed to callback

    fb55 committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    7dac658 View commit details
    Browse the repository at this point in the history
  4. Add tests from htmlparser2

    fb55 committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    3593b3b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    96f320b View commit details
    Browse the repository at this point in the history
  6. Support attribute decoding mode

    Will only allow endings as specific in the HTML spec
    fb55 committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    0731486 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3d9c577 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. s/treeIdx/treeIndex

    fb55 committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    bd1af64 View commit details
    Browse the repository at this point in the history
  2. s/strIdx/offset

    fb55 committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    1a1b373 View commit details
    Browse the repository at this point in the history
  3. s/lastIdx/lastIndex

    fb55 committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    de6b9f5 View commit details
    Browse the repository at this point in the history
  4. Remove TODO

    fb55 committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    b93c7af View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Add entity error handling

    fb55 committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    7b3a210 View commit details
    Browse the repository at this point in the history
  2. Add more tests, docs

    fb55 committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    ac06454 View commit details
    Browse the repository at this point in the history
  3. Keep the DecodingMode enum

    fb55 committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    36f8645 View commit details
    Browse the repository at this point in the history
  4. Simplify level & mode handling

    fb55 committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    b49cf05 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Configuration menu
    Copy the full SHA
    9c3ed1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    726e9f9 View commit details
    Browse the repository at this point in the history
  3. Change order of errors

    fb55 committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    308e84c View commit details
    Browse the repository at this point in the history
  4. Revert "Emit second code points with consumed=0"

    This reverts commit 726e9f9.
    fb55 committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    ec5e9c6 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2023

  1. Add consumed count to absenceOfDigitsInNumericCharacterReference

    We don't emit an entity, so we need a location for the error.
    fb55 committed Apr 8, 2023
    Configuration menu
    Copy the full SHA
    aef3927 View commit details
    Browse the repository at this point in the history
  2. Improve test coverage

    fb55 committed Apr 8, 2023
    Configuration menu
    Copy the full SHA
    39bf309 View commit details
    Browse the repository at this point in the history
  3. Document functions

    fb55 committed Apr 8, 2023
    Configuration menu
    Copy the full SHA
    f1bf302 View commit details
    Browse the repository at this point in the history