aboutsummaryrefslogtreecommitdiff
path: root/vendor/wasm/js
Commit message (Collapse)AuthorAgeFilesLines
* Move `vendor:wasm/js` to `core:sys/wasm/js`gingerBill2024-09-228-2728/+0
|
* Rename `runtime.js` to `odin.js`gingerBill2024-09-221-0/+0
|
* Remove unused importsgingerBill2024-09-222-4/+1
|
* Use `.shift()` insteadgingerBill2024-09-201-3/+2
|
* Update wasm's runtime.jsgingerBill2024-09-202-45/+124
|
* Fix 128-bit integer support for wasm targetsgingerBill2024-09-201-1/+5
|
* Add fmt tagsgingerBill2024-09-191-4/+4
|
* Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-147-7/+7
| | | | file tag syntax.
* Quality of life changes to wgpu/wasm stuffdaniel-andersen2024-08-021-0/+2
|
* Add `vendor:wgpu`Laytan Laats2024-06-121-7/+37
|
* wasm: fix runtime.js even more for wasm64p32Laytan Laats2024-05-311-29/+63
| | | | | | | | - make the int size configurable in the `runWasm` call, no more constants to hunt down and change - make storeU64 and storeI64 handle bigints, this is needed in the odin_dom library - fix alignment issues within init_event_raw
* wasm: fix the WheelEvent not storing data properlyLaytan Laats2024-05-301-6/+6
| | | | | A `WheelEvent` is also an instanceof `MouseEvent` so it was never hitting the if statement for the `WheelEvent`.
* correctly load/store uint&int in the runtime.js for wasm64p32Laytan Laats2024-05-171-13/+45
|
* fix wasm runtime.js storeString to support UnicodeLaytan Laats2024-04-131-2/+5
|
* fix `_end` being called before the actual end when using the step functionLaytan Laats2024-04-081-3/+11
|
* fix js_wasm `time.tick_now`, `performance.now()` returns a floatLaytan Laats2024-04-081-1/+1
|
* Merge pull request #2978 from thetarnav/patch-2gingerBill2024-01-313-30/+31
|\ | | | | Many small typos and fixes to wasm bindings
| * Correct wasm page_allocator switch casesDamian Tarnawski2024-01-181-2/+2
| |
| * Fix window_get_scroll proc not returning loaded valuesDamian Tarnawski2024-01-181-2/+2
| |
| * Add missing Resize_Non_Zeroed case to page allocatorDamian Tarnawski2024-01-181-1/+1
| |
| * Fix uniform matrix functions in WebGLInterfaceDamian Tarnawski2024-01-161-2/+2
| |
| * Hoist STRING_SIZE constantDamian Tarnawski2024-01-071-1/+2
| |
| * Fix typo in WebGLInterface classDamian Tarnawski2024-01-071-3/+3
| |
| * Fix copyTexSubImage2D and copyTexSubImage3D method callsDamian Tarnawski2024-01-071-3/+3
| |
| * Fix WebGLInterface function namesDamian Tarnawski2024-01-071-2/+2
| |
| * Pass `height` to `webgl.readPixels`Damian Tarnawski2024-01-061-1/+1
| |
| * Correct glIsEnabled in wasm.webglDamian Tarnawski2024-01-061-1/+1
| |
| * Correct spelling of FramebufferRenderbufferDamian Tarnawski2024-01-061-2/+2
| |
| * Fix scroll and visibilitychange event handlingDamian Tarnawski2023-11-251-5/+5
| |
| * Fix set_element_value_string parameter nameDamian Tarnawski2023-11-251-1/+1
| |
| * Fix alignmentDamian Tarnawski2023-11-251-2/+2
| |
| * Correct some typos in runtime.jsDamian Tarnawski2023-11-251-4/+4
| |
* | Replace `core:*` to `base:*` where appropriategingerBill2024-01-282-2/+2
|/
* Replace Math.random with crypto.getRandomValues for _system_numberDamian Tarnawski2023-10-271-1/+0
|
* Use wasmMemoryInterface for rand_bytesDamian Tarnawski2023-10-271-1/+1
|
* Add system_random and random_bytes for js targetDamian Tarnawski2023-10-271-0/+6
|
* Correct loadI64 and storeI64 methods in runtime.jsDamian Tarnawski2023-10-221-4/+2
|
* Fix calling time.now() in wasm js runtimeDamian Tarnawski2023-10-191-8/+3
|
* Merge pull request #2847 from thetarnav/js-runtime-patchgingerBill2023-10-141-18/+22
|\ | | | | Update wasm `runtime.js`
| * Correct stripNewline functionDamian Tarnawski2023-10-061-1/+1
| |
| * Define `stripNewline` functionDamian Tarnawski2023-10-061-0/+4
| |
| * Don't pass `true` for `littleEndian` where it's not needed.Damian Tarnawski2023-10-061-4/+4
| |
| * Fix typoDamian Tarnawski2023-10-061-1/+1
| |
| * Update wasm `runtime.js`Damian Tarnawski2023-10-061-13/+13
| | | | | | | | | | | | | | | | - polyfill `Math.ldexp` method - pass Math mathods streight through to exports object (they don't use `this`) - Don't pass `"utf-8"` encodings to `TextEncoder` and `TextDecoder` (encoder doesn't take params and decoder has utf-8 as default)
* | added webgl GetParameterRehkitzdev2023-10-081-1/+3
|/
* Merge pull request #2748 from Caedo/js-events-fixgingerBill2023-08-172-2/+27
|\ | | | | Fix issues with js events not being initialized properly
| * Remove pointer magic when creating stringsCaedo2023-08-162-14/+11
| |
| * Fix issues with js events not being initialized properlyCaedo2023-08-152-2/+30
| |
* | Require parentheses for `#align(N)`gingerBill2023-08-152-2/+2
|/
* Merge branch 'master' into separate-int-word-sizesgingerBill2023-06-061-2/+2
|\