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

Support WebAssembly version of Olm #7385

Merged
merged 6 commits into from
Oct 25, 2018
Merged

Support WebAssembly version of Olm #7385

merged 6 commits into from
Oct 25, 2018

Commits on Sep 25, 2018

  1. Support WebAssembly version of Olm.

     * Olm no longer supports setting the stack/memory size at runtime,
       so don't (they're now set to be that in the Olm build).
     * Copy the wasm file from the Olm library (see multiple comments
       about it being in the wrong place and webpack being awful).
    dbkr committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    c511902 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. Kill off olm-loader

    Now that Olm needs to be inited asynchronously anyway, we can just
    pass the options to Olm.init(), and as long as we do that before we
    start the js-sdk, we're all good.
    
    This will means the olm js is now part of the main bundle but since
    it's now just a wrapper around the wasm, this is probably faster.
    
    Also add the directwatch flag to olm.wasm because otherwise it
    doesn't seem to copy the file in watch mode...
    dbkr committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    1f34d2d View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2018

  1. Configuration menu
    Copy the full SHA
    30f0a79 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2018

  1. Fall back to legacy asm.js Olm

    dbkr committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    c5ee92f View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2018

  1. Configuration menu
    Copy the full SHA
    e277d02 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2018

  1. Update to Olm 3

    dbkr committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    bc93501 View commit details
    Browse the repository at this point in the history