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

Compile html5lib with Cython #524

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from
Draft

Commits on Sep 27, 2020

  1. Get rid of getPhases

    This added a fair bit of complexity, and notable made the Phase classes
    dynamically generated.
    
    However, by doing this, we no longer include "process the
    token using the rules for" phases in the debug log.
    gsnedders committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    c52e731 View commit details
    Browse the repository at this point in the history
  2. fixup! Get rid of getPhases

    gsnedders committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    8cff6aa View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2020

  1. Move tests

    gsnedders committed Oct 18, 2020
    Configuration menu
    Copy the full SHA
    6eb4d2d View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. Make InputStream.readChunk default an int

    This allows us to define the argument as an int in Cython
    gsnedders committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    d2474af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0904df3 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

  1. Move Tokenizer.state to Tokenizer._state

    This is in preparation for Cython using C function pointers for _state
    gsnedders committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    8ebff2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a8e28a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ae13cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c22d069 View commit details
    Browse the repository at this point in the history
  5. Reduce list/tuple access

    gsnedders committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    81b3aaf View commit details
    Browse the repository at this point in the history
  6. Move lowercasing to _ascii module

    The current _ascii module is a placeholder, because I accidentally
    deleted the original implementation of it (but I needed to rewrite it
    to be even quicker anyway!)
    gsnedders committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    47df02b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7d7a079 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1acb5dd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b6a6484 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4822712 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f06451e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9e9ff5f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2036738 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2c8e0ec View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    84cbc20 View commit details
    Browse the repository at this point in the history
  16. Change attributes to be created as dicts from day one

    This makes duplicate checking much quicker, and avoids the
    conversion to a dict at the end
    gsnedders committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    8b89668 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e65c433 View commit details
    Browse the repository at this point in the history