Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

[[ emscripten ]] Add WebAssembly build target and standalone builder options #7330

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Commits on Apr 15, 2020

  1. [[ emscripten ]] Add emscripten-wasm target to configuration scripts

    This patch adds the targets 'emscripten-wasm' and 'emscripten-js' to the build
    system so that either architectures can be specified when compiling the
    emscripten engine
    Ian Macphail committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    a4a3222 View commit details
    Browse the repository at this point in the history
  2. [[ emscripten ]] prebuilt lib folders and packages for emscripten arc…

    …hitectures
    
    This patch modifies prebuilts so that each emscripten arch target has its own
    lib folder and set of prebuilt packages.
    Ian Macphail committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    97219a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. [[ emscripten ]] Add code stubs for missing symbols in emscripten build

    This patch adds source code stubs to resolve reported missing symbols while
    compiling & linking the emscripten standalone engine.
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    e8ffba7 View commit details
    Browse the repository at this point in the history
  2. [[ emscripten ]] Reconfigure build environment for emscripten llvm/wa…

    …sm build
    
    This patch modifies the build configuration files & tools in order to support
    upgrading the emscripten sdk to a version which produces wasm output using
    LLVM.
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    9f6678d View commit details
    Browse the repository at this point in the history
  3. [[ emscripten ]] Switch to asyncify API in emscripten engine

    This patch updates the emscripten engine source to use the Asyncify API instead
    of the current Emterpreter API to suspend engine execution.
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    3ff08ff View commit details
    Browse the repository at this point in the history
  4. [[ emscripten ]] Allow recursive wait in emscripten engine

    This patch removes the recursion block in the emscripten implementation of
    'MCScreenDC::wait()', allowing wait to be called from script within the event
    loop.
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    007196f View commit details
    Browse the repository at this point in the history
  5. [[ emscripten ]] Fix type cast error in MCEmscriptenFileHandle::Seek

    This patch fixes a compiler error due to an unnecessary cast from int to off_t
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    39c4d74 View commit details
    Browse the repository at this point in the history
  6. [[ libskia ]] Update prebuilt libskia defines to match those used to …

    …compile
    
    This patch updates the C define options added by using the prebuilt libskia
    library to match the values defined when the library is compiled
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    2722322 View commit details
    Browse the repository at this point in the history
  7. [[ emscripten ]] Update ide deploy scripts to support emscripten wasm…

    … version
    
    This patch updates the IDE standalone building & deploy scripts for emscripten
    to work with the new wasm version which involves changes to the name of files
    bundled with the standalone.
    
    in addition, the wasm file portion needs a 'Content-Type' header when accessed
    via HTTP for testing.
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    5203492 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    39bec40 View commit details
    Browse the repository at this point in the history
  9. [[ emscripten ]] Update developer docs for building emscripten engines

    This patch updates the development documentation for building the
    emscripten engine. The instructions for building emscripten-js have been
    modified to describe how to install the deprecated tools needed, and a
    new section for building emscripten-wasm has been added.
    livecodeian authored and Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    d05e591 View commit details
    Browse the repository at this point in the history
  10. [[ emscripten ]] Add wasm files to installer package file list

    This patch updates 'Installer/package.txt' to account for the switch to wasm
    object files in the emscripten standalone engine.
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    392a936 View commit details
    Browse the repository at this point in the history
  11. [[ emscripten ]] Add release note for addition of emscripten WebAssem…

    …bly arch
    
    This patch adds a release note for the addition of WebAssembly as a target
    architecture when building HTML5 standalones
    Ian Macphail committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    11dd134 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. [[ emscripten ]] Reduce size of emscripten standalone engine

    This patch significantly reduces the size of the javascript portion of the
    emscripten-wasm standalone engine by removing unnecessary JavaScript bindings
    to exported functions in the engine.
    Ian Macphail committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    15d0ec5 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. [[ emscripten ]] Optimize emscripten standalone engines for performance

    This patch modifies the build configuration of emscripten engines to optimize
    them for performance over filesize
    Ian Macphail committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    747c964 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. [[ emscripten ]] Alias emscripten buildbot target to emscripten-js

    This patch modifies 'buildbot.py' so that a BUILD_PLATFORM of 'emscripten'
    will produce compiled binaries for the 'emscripten-js' target
    Ian Macphail committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    24a4cce View commit details
    Browse the repository at this point in the history