Commit graph

10 commits

Author SHA1 Message Date
iddev5
7a0d39c274 mach: Rename `js-runtime subproject to sysjs` 2022-07-13 01:30:10 -07:00
iddev5
0ff8edebd9 mach: Add js-runtime as a dependency for wasm applications
This is a workaround for a limitation right now. The html-generator has
no way to dynamically add JS sources (and that can't be done without
using a preprocessor library) so we hardcode js-runtime in it.

In the future, I think the correct behavior would be to move tools/
inside js-runtime along with a wasm application building SDK and get rid
of any direct JS access we have today (which is just
src/platform/wasm.zig and src/platform/mach.js).
2022-07-07 04:35:19 -07:00
iddev5
47286508e3 mach: wasm: Implement fullscreen support for browser platform 2022-06-11 16:00:02 -07:00
David Vanderson
ade26b24b1 ditch setTimeout 2022-06-10 12:57:31 -07:00
David Vanderson
4eb872944a wait event stuff for wasm backend 2022-06-10 12:57:31 -07:00
iddev5
772a821ce1 mach: wasm: Implement setShouldClose for wasm 2022-06-08 07:31:53 -07:00
iddev5
40c0659cc9 mach: App.update will now return !void instead of !bool
In order to close the application, there is already
Engine.setShouldClose() which would roughly do the same thing.
2022-06-08 07:31:53 -07:00
iddev5
19fb2e8ebd tools: add html-generator tools to automatically generate
application.html
2022-05-27 21:08:10 -07:00
Ali Chraghi
e13e1d5a46 www: use console.error for logging wasm loader error 2022-05-24 11:55:26 -07:00
iddev5
c8c6dab65b mach: wasm: initial implementation of Core, added js polyfill and
application html
2022-05-22 11:44:21 -07:00