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

WASM Browser support for all the libraries including korgw and korge (retake) #1628

Merged
merged 55 commits into from
Jun 3, 2023

Commits on May 24, 2023

  1. Revert "Temporarily go back to Kotlin 1.8.21 and disable libraries de…

    …pending on kotlinx-coroutines"
    
    This reverts commit dc04a50.
    soywiz committed May 24, 2023
    Configuration menu
    Copy the full SHA
    9662195 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Configuration menu
    Copy the full SHA
    8816fd7 View commit details
    Browse the repository at this point in the history
  2. Fix korinject suspendTest

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    a0991d4 View commit details
    Browse the repository at this point in the history
  3. Added Platform.isWasm

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    5c00695 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cfa20f9 View commit details
    Browse the repository at this point in the history
  5. Deprecate Promise extensions

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    c88bf54 View commit details
    Browse the repository at this point in the history
  6. Small test

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    95ea61e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    405a30f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a446141 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e36cfda View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cab5fc7 View commit details
    Browse the repository at this point in the history
  11. Circumvent implementation details in wasm in korio where 1.dyn !== 1.…

    …dyn and in other targets those values are boxed with the same instance as an optimization
    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    bd30cfa View commit details
    Browse the repository at this point in the history
  12. Temporarily disable some kds tests to figure out which one is causing…

    … the tests to hang without displaying errors or reporting anything
    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    94b56c5 View commit details
    Browse the repository at this point in the history
  13. Restored some kds tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    a71240a View commit details
    Browse the repository at this point in the history
  14. Restored some kds tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    2416b04 View commit details
    Browse the repository at this point in the history
  15. Restored some kds tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    07c30aa View commit details
    Browse the repository at this point in the history
  16. Restored some kds tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    557cf1c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b06ddba View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    100679d View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    81d9345 View commit details
    Browse the repository at this point in the history
  20. Restore remaining KDS tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    51c7ff7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ab9fed5 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    75da8ce View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    68a59a3 View commit details
    Browse the repository at this point in the history
  24. Restored some korgw tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    1c21cab View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ec99e33 View commit details
    Browse the repository at this point in the history
  26. But only if it runs

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    1c84939 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    2a0d87d View commit details
    Browse the repository at this point in the history
  28. Add more non-hanging tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    c40d73f View commit details
    Browse the repository at this point in the history
  29. Add more non-hanging tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    a7c453e View commit details
    Browse the repository at this point in the history
  30. Seems that having a main hangs the tests? Is it executing the main me…

    …thod without knowing?
    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    a146fcd View commit details
    Browse the repository at this point in the history
  31. Adds remaining korgw tests

    soywiz committed May 26, 2023
    Configuration menu
    Copy the full SHA
    8e2efa3 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Try to simplify KmlGl and AGOpengl and bump kotlin to 1.9.20-dev-2914…

    … to see if we can circumvent the error:
    
    ~ Uncaught (in promise) CompileError: WebAssembly. instantiateStreaming() : Compiling function
    async module:63
    #41285 :"korlibs.graphics.gl.AGOpenglssget-gla$ref.Invoke" failed: call|el expected type (ref null 11168), found local.get of type (ref null 7114) @+6179170
    soywiz committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    83889da View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2023

  1. Configuration menu
    Copy the full SHA
    e87fac4 View commit details
    Browse the repository at this point in the history
  2. Ignore e2e test folders

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    3b04b59 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    443636c View commit details
    Browse the repository at this point in the history
  4. Circumvent WASM issue with `xhr.responseType = XMLHttpRequestResponse…

    …Type.ARRAYBUFFER // @todo: Error calling this accessor`
    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    d5a691f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    794e371 View commit details
    Browse the repository at this point in the history
  6. Further WASM circumventions

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    568051b View commit details
    Browse the repository at this point in the history
  7. Some fixes

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    3bcf98d View commit details
    Browse the repository at this point in the history
  8. Some fixes

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    1d533d7 View commit details
    Browse the repository at this point in the history
  9. Fixes remaining tests

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    94cad59 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    011efa5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c775f95 View commit details
    Browse the repository at this point in the history
  12. Add runWasm task

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    8082515 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    354f9e2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1728263 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5a3e86a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    423199e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    996b681 View commit details
    Browse the repository at this point in the history
  18. Update yarn.lock

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    e53caff View commit details
    Browse the repository at this point in the history
  19. Try to fix wasm?

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    df77e7d View commit details
    Browse the repository at this point in the history
  20. Revert "Try to fix wasm?"

    This reverts commit df77e7d.
    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    824d097 View commit details
    Browse the repository at this point in the history
  21. Update yarn.lock

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    548f105 View commit details
    Browse the repository at this point in the history
  22. Fixes wasmCreateIndex

    soywiz committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    03f34cd View commit details
    Browse the repository at this point in the history