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

Separate test runner and other imrovements #57

Open
wants to merge 31 commits into
base: main
Choose a base branch
from

Commits on Jul 20, 2024

  1. Configuration menu
    Copy the full SHA
    07d518b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd5be0f View commit details
    Browse the repository at this point in the history
  3. Separate test runner from test cases

    - Separate the test runner script to a new test.js file so that the developers of other projects can import and run the test cases on their own.
    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    8eff206 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5c36fd1 View commit details
    Browse the repository at this point in the history
  5. Use UTF-8 for test pages

    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    da9ea5e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f536db6 View commit details
    Browse the repository at this point in the history
  7. Add tests

    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    45dc254 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7dd9cfe View commit details
    Browse the repository at this point in the history
  9. Fix undefined token

    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    3e80e59 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9e99a6b View commit details
    Browse the repository at this point in the history
  11. Use codepoint 0x0 for EOF

    - This prevents the parseerror message show "0x-1".
    - There is no \x00, which has been replaced during preprocessing, in the input codepoints.
    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    256a730 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e2a84e0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    29a9f14 View commit details
    Browse the repository at this point in the history
  14. Optimize tokenize()

    - Wrap internal variables in a closure to prevent repeated instantiation when called.
    - Define every internal function using a direct function expression rather than an anonymous function.
    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    7aff364 View commit details
    Browse the repository at this point in the history
  15. Rename str to codepoints

    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    51ca7e2 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1a0374c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a0c72de View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f6b962b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ff83c26 View commit details
    Browse the repository at this point in the history
  20. Add tests for toSource()

    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    7c57574 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    067d807 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    220c458 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    0be23fd View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f983e3b View commit details
    Browse the repository at this point in the history
  25. Fix formatNumber() for "-0"

    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    1272126 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    11947f0 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    c89b991 View commit details
    Browse the repository at this point in the history
  28. Improve AtRule.toSource()

    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    cd6a22a View commit details
    Browse the repository at this point in the history
  29. Fix "-0" for toString()

    danny0838 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    f2d9800 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    ae32413 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    ea0c6a9 View commit details
    Browse the repository at this point in the history