-
Notifications
You must be signed in to change notification settings - Fork 5
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
Merge upstream 3.1.56 #64
Merge upstream 3.1.56 #64
Commits on Jan 22, 2024
-
embind: Ensure embind works under c++11. (emscripten-core#21100)
We no longer need to test c++17 since that is the default used, but we should ensure we maintain compatibility with c++11.
Configuration menu - View commit details
-
Copy full SHA for 8d4e172 - Browse repository at this point
Copy the full SHA 8d4e172View commit details -
Fix C++ function signatures in mimalloc (emscripten-core#21127)
The C++ functions that take `std::nothrow_t` all take a reference. Without this change I'm seeing function signature mismatches because the final argument is not pointer-width. I'm guessing this simply went unnoticed because most platforms don't do signature checking in the linker and this just happens to work. e.g. `_ZnwjRKSt9nothrow_t` which demangles to `operator new(unsigned int, std::nothrow_t const&)` See upstream bug at microsoft/mimalloc#840.
Configuration menu - View commit details
-
Copy full SHA for dcdbc8a - Browse repository at this point
Copy the full SHA dcdbc8aView commit details -
Bump github/codeql-action from 2.22.5 to 3.23.1 (emscripten-core#21134)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.5 to 3.23.1. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@74483a3...0b21cf2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 638edfa - Browse repository at this point
Copy the full SHA 638edfaView commit details -
[test] Pass filename explicitly to
compile_btest
helper. NFC (emscr……ipten-core#21103) This allows us to use `compiler_for` to determine whether to run `EMCC` or `EMXX` appropriately.
Configuration menu - View commit details
-
Copy full SHA for c701ee3 - Browse repository at this point
Copy the full SHA c701ee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61ad49f - Browse repository at this point
Copy the full SHA 61ad49fView commit details -
Configuration menu - View commit details
-
Copy full SHA for da25bce - Browse repository at this point
Copy the full SHA da25bceView commit details
Commits on Jan 23, 2024
-
Use single quotes in JS code where possible. NFC (emscripten-core#21133)
For some reason this actually saves on code size too.
Configuration menu - View commit details
-
Copy full SHA for 7e6366d - Browse repository at this point
Copy the full SHA 7e6366dView commit details -
WebGPU: Fill out webgpu-externs.js (emscripten-core#21144)
Fixes test browser.test_webgpu_basic_rendering_closure by fixing wgpuShaderModuleGetCompilationInfo (compilationInfo.messages.length). Fixes: emscripten-core#20415
Configuration menu - View commit details
-
Copy full SHA for 3e0d3ae - Browse repository at this point
Copy the full SHA 3e0d3aeView commit details -
Remove second argument to
ErrnoError
. NFC (emscripten-core#21136)There was only one single place (out of hundreds) where this was set and one single place in `doStat` where it was read. I removed the `doStat` workaround by updating `mayLookup` instead.
Configuration menu - View commit details
-
Copy full SHA for b25e4c1 - Browse repository at this point
Copy the full SHA b25e4c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a7531 - Browse repository at this point
Copy the full SHA 50a7531View commit details
Commits on Jan 24, 2024
-
Convert test_stat_fail_alongtheway to a file based test (emscripten-c…
…ore#21138) Also remove the special logging and just use assert which fails fast and gives a backtrace.
Configuration menu - View commit details
-
Copy full SHA for fb4bdc7 - Browse repository at this point
Copy the full SHA fb4bdc7View commit details -
Minor webidl binder fixes (emscripten-core#21152)
Split out from emscripten-core#21151. The only semantic change here is the fix the type of second argument to to the array member getter function (previously it was using `m.type` which is the array type itself, but that second argument to the setter function is actually the inner type `m.type.inner`. This enables the type of this argument to be checked correctly, which in turn required a minor fix to the test case. This only effects `IDL_CHECKS=all` builds.
Configuration menu - View commit details
-
Copy full SHA for cf909d3 - Browse repository at this point
Copy the full SHA cf909d3View commit details -
[ci] Pin firefix to dev-edition until the threading issue is resolved…
…. NFC (emscripten-core#21164) See emscripten-core#21163
Configuration menu - View commit details
-
Copy full SHA for 0eb6567 - Browse repository at this point
Copy the full SHA 0eb6567View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5973e9 - Browse repository at this point
Copy the full SHA d5973e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89111ea - Browse repository at this point
Copy the full SHA 89111eaView commit details -
Remove use of
demangleAll
helper function (emscripten-core#21156)This was used to demangle C++ symbols JS stacktraces. However for a long time now native symbols in JS backtraces are already demanged because names in the name section are in demangled form. So this function has not done anything for a very long time. As a followup I think we can probably completely remove the `DEMANGLE_SUPPORT` settings.
Configuration menu - View commit details
-
Copy full SHA for 373b22d - Browse repository at this point
Copy the full SHA 373b22dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dae7467 - Browse repository at this point
Copy the full SHA dae7467View commit details -
Configuration menu - View commit details
-
Copy full SHA for c365580 - Browse repository at this point
Copy the full SHA c365580View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3958a80 - Browse repository at this point
Copy the full SHA 3958a80View commit details
Commits on Jan 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 80fb9d4 - Browse repository at this point
Copy the full SHA 80fb9d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4d76b8 - Browse repository at this point
Copy the full SHA c4d76b8View commit details -
Acorn optimizer: Allow top-level await expressions (emscripten-core#2…
Configuration menu - View commit details
-
Copy full SHA for ddd6176 - Browse repository at this point
Copy the full SHA ddd6176View commit details -
fix wgpu get dimension bug (emscripten-core#21173)
Co-authored-by: Jerry.Zhuang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8b8775 - Browse repository at this point
Copy the full SHA b8b8775View commit details -
Avoid unnecessary dependency on
SYSCALLS
object. NFC (emscripten-co……re#21170) I noticed that `proc_exit` was depending on `SYSCALLS` even though it wasn't actually using `SYSCALLS`.
Configuration menu - View commit details
-
Copy full SHA for 8635504 - Browse repository at this point
Copy the full SHA 8635504View commit details
Commits on Jan 26, 2024
-
embind: Fix method pointers for AOT JS generation. (emscripten-core#2…
…1168) Previously, AOT JS glue code for method pointers used the address of the method pointer as a unique ID to match JS glue with the binding. However, sometimes static initializers malloc different sizes when running the AOT generation code versus when the code is run normally. This caused the method pointer address to be different and the binding didn't match up. Instead of using the function pointer or the method pointer address we now use a generated signature for the invoker to match up the glue code. This works for both types of pointers and also has the advantage that many of the glue code functions are nearly identical and can be reusued (closure arguments make them behave differently). Fixes emscripten-core#20994
Configuration menu - View commit details
-
Copy full SHA for 6ae900e - Browse repository at this point
Copy the full SHA 6ae900eView commit details -
[wasm64] Error on
-fsanitize=address
+ wasm64 (emscripten-core#21180)This chance also includes a couple of minor fixes to asan + memory64 that helped me to confirm that it really doesn't work yet. See emscripten-core#21177
Configuration menu - View commit details
-
Copy full SHA for 70e698d - Browse repository at this point
Copy the full SHA 70e698dView commit details -
[wasm64] Enable freetype test. NFC (emscripten-core#21179)
The poppler test also seesm to work fine under wasm64, just not the >4Gb mode.
Configuration menu - View commit details
-
Copy full SHA for a50cb95 - Browse repository at this point
Copy the full SHA a50cb95View commit details -
[ci] Split browser64_4gb into its own runner (emscripten-core#21182)
Also add test_TextDecoder to the list of test.
Configuration menu - View commit details
-
Copy full SHA for a23fdef - Browse repository at this point
Copy the full SHA a23fdefView commit details
Commits on Jan 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 72c3be3 - Browse repository at this point
Copy the full SHA 72c3be3View commit details
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f1ff06a - Browse repository at this point
Copy the full SHA f1ff06aView commit details -
Remove unused arguments from test_emmalloc_trim. NFC (emscripten-core…
…#21181) This test was originally added with these unused args. Perhaps while it was being developed in was parameterized, but is not anymore.
Configuration menu - View commit details
-
Copy full SHA for 8b90561 - Browse repository at this point
Copy the full SHA 8b90561View commit details
Commits on Jan 29, 2024
-
Fix GL.getSource bug introduced in emscripten-core#21184 (emscripten-…
…core#21197) This only seems to show up in `browser.test_sdl_ogl_regal`.
Configuration menu - View commit details
-
Copy full SHA for 4eb71a2 - Browse repository at this point
Copy the full SHA 4eb71a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfdc30e - Browse repository at this point
Copy the full SHA cfdc30eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce5114b - Browse repository at this point
Copy the full SHA ce5114bView commit details -
Allow-list 7 more WebGL extensions (emscripten-core#21185)
These 6 extensions don't add any entry points, so shouldn't require any Emscripten support (aside from having any enums present in gl2ext.h, which they do): - EXT_conservative_depth - NV_shader_noperspective_interpolation - EXT_depth_clamp - WEBGL_blend_func_extended - WEBGL_compressed_texture_etc - WEBGL_compressed_texture_etc1 Finally: - WEBGL_compressed_texture_astc does add an entry point getSupportedProfiles() in WebGL. This is a WEBGL_ extension, so it is still safe to allow-list without implementing a C version of that function. There is no corresponding GLES entry point for this; instead, profile support is indicated by the presence of KHR_texture_compression_astc_{ldr,hdr}. Emscripten should emulate those extensions by checking getSupportedProfiles(), but I haven't implemented this. Applications can still use the WEBGL_ version directly. WEBGL_compressed_texture_astc guarantees support for the LDR profile (since HDR is a superset of LDR, and there are only two profiles), so applications that only need LDR don't need to call this function. It can also be easily called using EM_ASM in applications that do use the HDR profile. Fixes emscripten-core#21183
Configuration menu - View commit details
-
Copy full SHA for 0e5b3a8 - Browse repository at this point
Copy the full SHA 0e5b3a8View commit details -
Run unsafe_optimizations.js again after closure (emscripten-core#21196)
This allows `unsafe_optimizations.js` to cleanup some thing that closure compiler was able to remove usages of. Split out from emscripten-core#21195
Configuration menu - View commit details
-
Copy full SHA for 1cd1031 - Browse repository at this point
Copy the full SHA 1cd1031View commit details -
Mark test_itimer_proxy_to_pthread as flaky. NFC (emscripten-core#21175)
This test recently flaked on window too.
Configuration menu - View commit details
-
Copy full SHA for 93a23bc - Browse repository at this point
Copy the full SHA 93a23bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 312db46 - Browse repository at this point
Copy the full SHA 312db46View commit details
Commits on Jan 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ef3189 - Browse repository at this point
Copy the full SHA 9ef3189View commit details -
Don't force the use of imported memory under WASM2JS (emscripten-core…
…#21195) Setting `IMPORTED_MEMORY` can have other implications and don't want t by default just because we chose WASM2JS. The there is a very minor code size regression here that only effects WASM2JS, but when combined with emscripten-core#21196 the overall effect is still a win. See emscripten-core#21071
Configuration menu - View commit details
-
Copy full SHA for 4aefde3 - Browse repository at this point
Copy the full SHA 4aefde3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75892b3 - Browse repository at this point
Copy the full SHA 75892b3View commit details -
Handle
-Wl,--stack-first
being passed explicitly (emscripten-core#2……1216) Fixes: emscripten-core#21215
Configuration menu - View commit details
-
Copy full SHA for d660cca - Browse repository at this point
Copy the full SHA d660ccaView commit details -
[debug] Use two digits for the temporary file counter. NFC (emscripte…
…n-core#21207) This means that filenames will sort correctly under normal sorting rules.
Configuration menu - View commit details
-
Copy full SHA for 450602a - Browse repository at this point
Copy the full SHA 450602aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 329aa7f - Browse repository at this point
Copy the full SHA 329aa7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7651be - Browse repository at this point
Copy the full SHA f7651beView commit details
Commits on Jan 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b64f144 - Browse repository at this point
Copy the full SHA b64f144View commit details -
Use JS naming convention for JS-only symbol. NFC (emscripten-core#21188)
The `emscripten_` naming convention is something we use for native function and this symbol is not visible to native code.
Configuration menu - View commit details
-
Copy full SHA for 7983522 - Browse repository at this point
Copy the full SHA 7983522View commit details -
Run more of out tests with
-sNO_DEFAULT_TO_CXX
(emscripten-core#21096)We were previously only applying this flag to tests that use `self.build` (i.e. most test). Now we apply it to and even larger set. The code size changes here only occur in debug builds where we enumerate all known JS symbols, and there are come JS symbols are the C++ only.
Configuration menu - View commit details
-
Copy full SHA for 659988f - Browse repository at this point
Copy the full SHA 659988fView commit details -
Some fixes for library_webgl.js in CAN_ADDRESS_GB mode (emscripten-co…
…re#21220) This is an overall size win too after compression.
Configuration menu - View commit details
-
Copy full SHA for 876ae7c - Browse repository at this point
Copy the full SHA 876ae7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e46ec0 - Browse repository at this point
Copy the full SHA 9e46ec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 449c94f - Browse repository at this point
Copy the full SHA 449c94fView commit details
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2e77af2 - Browse repository at this point
Copy the full SHA 2e77af2View commit details -
Fix emscripten_webgl_make_context_current under wasm64/CAN_ADDRESS_2GB (
emscripten-core#21228) The first problem here was that emscripten_webgl_make_context_current_calling_thread had the wrong signature. The second issue was use of `>> 2` on a pointer in `emscripten_webgl_do_create_context` which doesn't work under wasm64 or CAN_ADDRESS_2GB.
Configuration menu - View commit details
-
Copy full SHA for ec2ce4c - Browse repository at this point
Copy the full SHA ec2ce4cView commit details -
[embuilder] Add support for '*' wildcard for matching library names (e…
…mscripten-core#21236) This is very useful for doing things like `./embuild build libGL*` to `./embuilder clean libc*`.
Configuration menu - View commit details
-
Copy full SHA for a9ebfb7 - Browse repository at this point
Copy the full SHA a9ebfb7View commit details -
[test] Remove also_wasm2js btest argument. NFC (emscripten-core#21232)
This only have one user, and we have a cleaner mechanism for doing this these days in terms of the decorator.
Configuration menu - View commit details
-
Copy full SHA for 013f742 - Browse repository at this point
Copy the full SHA 013f742View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d452a - Browse repository at this point
Copy the full SHA 71d452aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6a7e5f - Browse repository at this point
Copy the full SHA f6a7e5fView commit details -
embind - Fix reading various bindings types from val on wasm64. (emsc…
…ripten-core#21225) - The function simpleReadValueFromPointer was always reading pointers as i32 numbers which was incorrect on wasm64. - Decoding of std::wstring was using a right shift to read pointers. Right shift was truncating numbers larger than i32 and causing misreads. - Added tests to execute readValueFromPointer on all the binding types to ensure these don't break on wasm64.
Configuration menu - View commit details
-
Copy full SHA for 1fc7d9d - Browse repository at this point
Copy the full SHA 1fc7d9dView commit details -
Move internal webgl signatures to a separate file. NFC (emscripten-co…
…re#21239) This is in preparation for enabling these functions under wasm64.
Configuration menu - View commit details
-
Copy full SHA for 384ab3c - Browse repository at this point
Copy the full SHA 384ab3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe8421d - Browse repository at this point
Copy the full SHA fe8421dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81fe157 - Browse repository at this point
Copy the full SHA 81fe157View commit details
Commits on Feb 2, 2024
-
embind: Use optional return type for vector and maps. (emscripten-cor…
…e#21102) This helps create better TypeScript definitions for what is actually returned.
Configuration menu - View commit details
-
Copy full SHA for 8418fbe - Browse repository at this point
Copy the full SHA 8418fbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01be75a - Browse repository at this point
Copy the full SHA 01be75aView commit details -
Support WGPUPrimitiveDepthClipControl / unclippedDepth (emscripten-co…
…re#21231) Co-authored-by: Kai Ninomiya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b9870c - Browse repository at this point
Copy the full SHA 2b9870cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8747ab0 - Browse repository at this point
Copy the full SHA 8747ab0View commit details -
Fix test_cubegeom_pre_relocatable (emscripten-core#21240)
This test was broken by emscripten-core#21103 but when unnoticed because we run our browser tests with swiftshader enabled, which skips this test.
Configuration menu - View commit details
-
Copy full SHA for 380a9dd - Browse repository at this point
Copy the full SHA 380a9ddView commit details -
Consistent use of ValueError when parsing settings. NFC (emscripten-c…
…ore#21245) This is in preparation for a change to avoid using json parsing for settings by default. It also adds more context to the errors since when the ValueError is caught higher up we print nice error messages.
Configuration menu - View commit details
-
Copy full SHA for 28707b1 - Browse repository at this point
Copy the full SHA 28707b1View commit details -
[wasm64] Fix wasm64 memory read in Fetch.js (emscripten-core#21246)
This bug only showed up under wasm64 when the address of the fetch object was between 2Gb and 4Gb. This causes the JS ">> 2" operation to generate a negative number becuase the high bit is set: ``` $ node > a = 2**31 + 10 2147483658 > a >> 2 -536870910 > ``` In `browser64_4gb` mode this bug resulted in a read from the first 4gb of memory somewhere, which results a in 0 whereas read from a negative address yields `undefined`.
Configuration menu - View commit details
-
Copy full SHA for f065b75 - Browse repository at this point
Copy the full SHA f065b75View commit details -
Fix broken compilation of regal tests (emscripten-core#21248)
This should have been part of emscripten-core#21096. These failures don't show up in CI because they are disabled under swiftshader.
Configuration menu - View commit details
-
Copy full SHA for 7514cc2 - Browse repository at this point
Copy the full SHA 7514cc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bca209 - Browse repository at this point
Copy the full SHA 3bca209View commit details -
Configuration menu - View commit details
-
Copy full SHA for e279a10 - Browse repository at this point
Copy the full SHA e279a10View commit details
Commits on Feb 3, 2024
-
Re-enable preprocessing of pre/post JS file. NFC (emscripten-core#21227)
This change got reverted in emscripten-core#19006 so this time we make the preprocessing optional. This is useful as it allows things like `{{{ POINTER_SIZE }}}` and `{{{ makeGetValue(..) }}}` to be used in pre/post JS files, just like they can be in JS library files. This change allows threadprofiler.js to be fixed such that it works under wasm64. Fixes: emscripten-core#21226
Configuration menu - View commit details
-
Copy full SHA for d73ad54 - Browse repository at this point
Copy the full SHA d73ad54View commit details -
Fix glDrawElements under CAN_ADDRESS_2GB (emscripten-core#21251)
This is partially a workround for emscripten-core#21250
Configuration menu - View commit details
-
Copy full SHA for aef8142 - Browse repository at this point
Copy the full SHA aef8142View commit details
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bcba080 - Browse repository at this point
Copy the full SHA bcba080View commit details -
docs: Remove discussion of using Travis CI. (emscripten-core#21256)
These are outdated and the docker images mentioned here haven't been updated in 4 years.
Configuration menu - View commit details
-
Copy full SHA for 4b3988d - Browse repository at this point
Copy the full SHA 4b3988dView commit details -
[test] Simplify post_manual_reftest. NFC (emscripten-core#21243)
Rather than embedding `reftest.js` directly in the html, simply include it via script src attribute.
Configuration menu - View commit details
-
Copy full SHA for 50d2d32 - Browse repository at this point
Copy the full SHA 50d2d32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e79d01 - Browse repository at this point
Copy the full SHA 1e79d01View commit details -
Simplify get_subresource_location. NFC (emscripten-core#21260)
This function only ever gets called with no arguments. I also confirmed that when we use a memory init file, that file always exists.
Configuration menu - View commit details
-
Copy full SHA for 00e107f - Browse repository at this point
Copy the full SHA 00e107fView commit details -
Improve manual_wasm_instantiate.html (emscripten-core#21258)
Modernize this test a little by using fetch API and JS spread operator.
Configuration menu - View commit details
-
Copy full SHA for 89c2a83 - Browse repository at this point
Copy the full SHA 89c2a83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cdb695 - Browse repository at this point
Copy the full SHA 6cdb695View commit details
Commits on Feb 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 58a03c7 - Browse repository at this point
Copy the full SHA 58a03c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97053db - Browse repository at this point
Copy the full SHA 97053dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c735ea - Browse repository at this point
Copy the full SHA 0c735eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3495d9a - Browse repository at this point
Copy the full SHA 3495d9aView commit details -
Use rest and spread operators in multi-threaded code. NFC (emscripten…
…-core#21270) These operators are available everywhere that we can run mutli-threaded code.
Configuration menu - View commit details
-
Copy full SHA for 31e823d - Browse repository at this point
Copy the full SHA 31e823dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b2a2ab - Browse repository at this point
Copy the full SHA 1b2a2abView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4ddcf0 - Browse repository at this point
Copy the full SHA d4ddcf0View commit details -
Cleanup generate_traditional_runtime_html. NFC (emscripten-core#21267)
- Use fetch() over XHR. - No need for tryParseAsDataURI. This code is already in a `not settings.SINGLE_FILE` block which means URL for the wasm binary will never be data URI. See `get_subresource_location`.
Configuration menu - View commit details
-
Copy full SHA for 288d475 - Browse repository at this point
Copy the full SHA 288d475View commit details -
WebGPU: Swapchain getCurrentTexture (emscripten-core#21271)
* WebGPU: added GetCurrentTexture method to swapchain. * WebGPU: fix for GetCurrentTexture signature.
Configuration menu - View commit details
-
Copy full SHA for c47d060 - Browse repository at this point
Copy the full SHA c47d060View commit details
Commits on Feb 7, 2024
-
Revert "[ci] Pin firefix to dev-edition until the threading issue is …
…resolved. NFC (emscripten-core#21164)" (emscripten-core#21282) This reverts commit 0eb6567. The upstream has been fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1876355#c3
Configuration menu - View commit details
-
Copy full SHA for bbbbdb1 - Browse repository at this point
Copy the full SHA bbbbdb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5516dd - Browse repository at this point
Copy the full SHA e5516ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21f2533 - Browse repository at this point
Copy the full SHA 21f2533View commit details -
Update EMSCRIPTEN_WEBGL_CONTEXT_HANDLE to handle full pointer range (e…
…mscripten-core#21281) In particular this changes the return type of `emscripten_webgl_create_context` such that negative values can no longer be returned. This allows pointers (specifically 32-bit pointers over 2gb) to be returned which is needed for pthread builds. The only valid failure return code for `emscripten_webgl_create_context` is now 0/NULL. As it happens this function never fails with anything except 0 so this should not be an impactful change. Split out from emscripten-core#21268 Fixes: emscripten-core#21278
Configuration menu - View commit details
-
Copy full SHA for 38f9ad8 - Browse repository at this point
Copy the full SHA 38f9ad8View commit details -
[Docs] Document EXPORT_ES6 implicit behavior (emscripten-core#21274)
* It is implicitly enabled for .mjs output. * MODULARIZE is implicitly enabled when EXPORT_ES6 is set.
Configuration menu - View commit details
-
Copy full SHA for b166f25 - Browse repository at this point
Copy the full SHA b166f25View commit details -
Remove redundant step in promise change. NFC (emscripten-core#21285)
This stop in the chain is only need if the offset converter is needed.
Configuration menu - View commit details
-
Copy full SHA for c02cc3d - Browse repository at this point
Copy the full SHA c02cc3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b037fd3 - Browse repository at this point
Copy the full SHA b037fd3View commit details -
Make use of JS rest and spread operators throughout the codebase. NFC (…
…emscripten-core#21283) Following up on emscripten-core#21270. These operators were introduced way before our current default set of browser versions. Anyone targeting an browser so old as to not support these will already be on the transpilation path.
Configuration menu - View commit details
-
Copy full SHA for 7bba399 - Browse repository at this point
Copy the full SHA 7bba399View commit details
Commits on Feb 8, 2024
-
[NFC] Assert we do not use --low-memory-unused when STACK_FIRST (emsc…
…ripten-core#21291) Assuming low memory was unused when the stack was first - which is where low memory is - would be wrong. We never did that wrong thing as we only use that optimization when not optimizing. Add an assertion + tests to prevent regressions.
Configuration menu - View commit details
-
Copy full SHA for 7080012 - Browse repository at this point
Copy the full SHA 7080012View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdc2ea7 - Browse repository at this point
Copy the full SHA fdc2ea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3144a - Browse repository at this point
Copy the full SHA 8a3144aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 746fb02 - Browse repository at this point
Copy the full SHA 746fb02View commit details -
Fix deadlock in test_pthread_run_on_main_thread (emscripten-core#21296)
Fixes: emscripten-core#18210
Configuration menu - View commit details
-
Copy full SHA for 3bb85de - Browse repository at this point
Copy the full SHA 3bb85deView commit details -
[test] Remove some unneeded
-sINITIAL_MEMORY
settings. NFC (emscrip……ten-core#21295) I think the reason a lot of these are no longer needed is because the default pthread stack size is less that it used to be.
Configuration menu - View commit details
-
Copy full SHA for 9c93641 - Browse repository at this point
Copy the full SHA 9c93641View commit details -
Fix broken JS glue for AUDIO_WORKLETS with EXPORT_ES6 (emscripten-cor…
…e#21192) WASM Audio Worklets with EXPORT_ES6 may break at runtime: test.js:989 Uncaught (in promise) TypeError: Cannot set property wasmTable of #<Object> which has only a getter at receiveInstance (test.js:989:25) at receiveInstantiationResult (test.js:1011:5) The read-only getter at issue is created in ASSERTIONS-enabled builds, and conflicts with the current way of exporting wasmTable on the Module object. Exporting wasmTable via EXPORTED_RUNTIME_METHODS prevents the getter from being created in normal builds. In MINIMAL_RUNTIME builds, we make sure to delete the getter before manually exporting as before. We also prevent an ES6 Audio Worklet from loading the .wasm binary via `new URL()`, as `URL` is unavailable in AudioWorkletGlobalScope.
Configuration menu - View commit details
-
Copy full SHA for 2a00e26 - Browse repository at this point
Copy the full SHA 2a00e26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 690df83 - Browse repository at this point
Copy the full SHA 690df83View commit details -
Configuration menu - View commit details
-
Copy full SHA for fffb5f6 - Browse repository at this point
Copy the full SHA fffb5f6View commit details -
Fix MAIN_THREAD_EM_ASM_INT + CAN_ADDRESS_2GB (emscripten-core#21292)
We were using the sign bit of an integer to distinguish between data pointers and fixed JS function indexes, but that doesn't work once that data address can be larger than 2^31. Technically this is very unlikely in practice since in order to get an EM_ASM address over 2^31 you would either need 2Gb of static data to be using `-sGLOBAL_BASE=2gb` like we do in the tests. An alternative approach here would be assume we have fewer than `GLOBAL_BASE` (1024 is most cases) proxied JS library functions and then we could assume that small integers we JS library functions and larger ones were data pointers (EM_ASM functions). However that seems fragile too. Passing an extra argument around seems like a small cost here.
Configuration menu - View commit details
-
Copy full SHA for e96d976 - Browse repository at this point
Copy the full SHA e96d976View commit details -
WebGPU: Remove unused signalValue argument (emscripten-core#21299)
This was never implemented and was removed from Dawn and upstream webgpu.h a long time ago (and the JS API even longer ago). (This will be a tiny breaking change for a few apps but we're not stable and still need to do many more breaking changes.)
Configuration menu - View commit details
-
Copy full SHA for 6daa18b - Browse repository at this point
Copy the full SHA 6daa18bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01d0fc4 - Browse repository at this point
Copy the full SHA 01d0fc4View commit details -
Move __glGenObject to GL.genObject. NFC (emscripten-core#21302)
This function logically belongs alongside getNewId. Split out from emscripten-core#18874
Configuration menu - View commit details
-
Copy full SHA for f89e972 - Browse repository at this point
Copy the full SHA f89e972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c8073d - Browse repository at this point
Copy the full SHA 9c8073dView commit details -
[test] Fix test_pthread_run_on_main_thread under asan. NFC (emscripte…
…n-core#21301) The output of this test is racey without this change and has been failing on the emscripten-releases waterfall in the asan configuration. We only just started caring about the precise output in emscripten-core#21296.
Configuration menu - View commit details
-
Copy full SHA for 833448b - Browse repository at this point
Copy the full SHA 833448bView commit details
Commits on Feb 9, 2024
-
[test] Remove some unnecessary usage of TOTAL_MEMORY and INITIAL_MEMO…
…RY. NFC (emscripten-core#21303)
Configuration menu - View commit details
-
Copy full SHA for c06a2b0 - Browse repository at this point
Copy the full SHA c06a2b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ee4350 - Browse repository at this point
Copy the full SHA 8ee4350View commit details -
Add --quiet option to file_packager (emscripten-core#21307)
This suppressed the `Remember to build the main file with ..` message that is otherwise printed to stderr. This also allows the tests to assert that no stderr is produced in successful cases.
Configuration menu - View commit details
-
Copy full SHA for 7a5d1d8 - Browse repository at this point
Copy the full SHA 7a5d1d8View commit details -
[wasm64] Fix emscripten_get_preloaded_image_data (emscripten-core#21308)
Here we extract an inner JS function that take a JS string so that the externally facing once can assume its being passed a pointer.
Configuration menu - View commit details
-
Copy full SHA for b67eb49 - Browse repository at this point
Copy the full SHA b67eb49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7459cab - Browse repository at this point
Copy the full SHA 7459cabView commit details
Commits on Feb 12, 2024
-
Add option to emit TypeScript definitions for Wasm module exports. (e…
…mscripten-core#21279) The new flag `--emit-tsd <filename>` will generate a TypeScript defintion file for any Wasm module exports. If embind is also used the definitions for those types will also be included in the same file. This still doesn't give the full picture of Wasm module e.g. missing HEAP<N> and the various helper functions defined in JS.
Configuration menu - View commit details
-
Copy full SHA for 57ba793 - Browse repository at this point
Copy the full SHA 57ba793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bde14c - Browse repository at this point
Copy the full SHA 1bde14cView commit details -
Don't define JS versions of abort or __assert_fail in standalone mode (…
…emscripten-core#21317) In STANDALONE_WASM mode these functions are defined in libstandalonewasm and not in JS. The JS definitions meant they were not able to be added to EXPORTED_FUNCTIONS. Fixes: emscripten-core#21312
Configuration menu - View commit details
-
Copy full SHA for 52e5687 - Browse repository at this point
Copy the full SHA 52e5687View commit details -
embind- Fix tsgen failure from merge. (emscripten-core#21320)
Forgot to pull in the upstream branch before updating this test.
Configuration menu - View commit details
-
Copy full SHA for 75b82ae - Browse repository at this point
Copy the full SHA 75b82aeView commit details
Commits on Feb 13, 2024
-
Don't include
main.c
in libSDL_mixer (emscripten-core#21322)This was broken when sdl2_mixer was updated recently in in emscripten-core#21013. Fixes: emscripten-core#21321
Configuration menu - View commit details
-
Copy full SHA for 0cb21d5 - Browse repository at this point
Copy the full SHA 0cb21d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa57899 - Browse repository at this point
Copy the full SHA fa57899View commit details -
Update emsymbolizer and emsize tests (emscripten-core#21305)
LLVM rev 8b0f47bfa updated section addresses to use binary offsets in linked wasm files, which is reflected in the llvm-size (and thus emsize) tool. It also made llvm-objdump display file offsets rather than section offsets when disassembling binaries. Update the emsize and emsymbolizer tests accordingly (expect section addresses in emsize, and use file rather than section offsets in the emsymbolizer test, since the offsets are read from objdump output).
Configuration menu - View commit details
-
Copy full SHA for 0671dfc - Browse repository at this point
Copy the full SHA 0671dfcView commit details -
[wasm64] Fix makeHEAPView for addresses over 4gb (emscripten-core#21324)
This enables all the cubegeom tests to pass
Configuration menu - View commit details
-
Copy full SHA for d666035 - Browse repository at this point
Copy the full SHA d666035View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41e471e - Browse repository at this point
Copy the full SHA 41e471eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b9a5f7 - Browse repository at this point
Copy the full SHA 4b9a5f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e0b62f - Browse repository at this point
Copy the full SHA 0e0b62fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81bf014 - Browse repository at this point
Copy the full SHA 81bf014View commit details -
Refactor
makeHEAPView
to usegetHeapOffset
. NFC (emscripten-core#……21332) The code for calculating the offsets was being duplicated here. Also, optimize getHeapOffset to avoid any shifting when size is 1.
Configuration menu - View commit details
-
Copy full SHA for 24697df - Browse repository at this point
Copy the full SHA 24697dfView commit details
Commits on Feb 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eddd4f9 - Browse repository at this point
Copy the full SHA eddd4f9View commit details -
[test] Improve test_sdl2_key and test_sdl2_mouse. NFC (emscripten-cor…
…e#21336) The TEST_EMSCRIPTEN_SDL_SETEVENTHANDLER macro is copied over from `test_sdl_key.c` (the SDL1 version) but its not applicable with SDL2. Remove the 3 second delay from test_sdl_mouse/test_sdl2_mouse. I ran these tests many times without any issues. We can perhaps revive with something less long but I can't really see how a delay here could be useful in practice.
Configuration menu - View commit details
-
Copy full SHA for 2185f45 - Browse repository at this point
Copy the full SHA 2185f45View commit details -
library_idbfs.js: Handle
transaction.onabort
inreconcile()
(emsc……ripten-core#21326) If the transaction aborts (which can happen due to, for example, a QuotaExceededError), `onabort` must be handled to ensure that the `callback` actually gets called.
Configuration menu - View commit details
-
Copy full SHA for ff35d3f - Browse repository at this point
Copy the full SHA ff35d3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 145b146 - Browse repository at this point
Copy the full SHA 145b146View commit details -
Allow comments in response files. (emscripten-core#21330)
It can be useful to have comments in a response file for exported symbols to explain what some stuff might be in there for.
Configuration menu - View commit details
-
Copy full SHA for 7baa690 - Browse repository at this point
Copy the full SHA 7baa690View commit details -
Site: Remove old, unused copy of theme layout (emscripten-core#21338)
This was added in 2014, not used.
Configuration menu - View commit details
-
Copy full SHA for 4aab0cc - Browse repository at this point
Copy the full SHA 4aab0ccView commit details -
Fix asan.test_main_thread_em_asm_pthread (emscripten-core#21339)
Without this change this tests fails to compile with `em++: error: -pthread + ALLOW_MEMORY_GROWTH may run non-wasm code slowly`. This test was recently added in emscripten-core#21292 and this wasn't caught immediately because we don't run the `asan` suite during CI.
Configuration menu - View commit details
-
Copy full SHA for 5ace027 - Browse repository at this point
Copy the full SHA 5ace027View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9710247 - Browse repository at this point
Copy the full SHA 9710247View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f4a1fa - Browse repository at this point
Copy the full SHA 0f4a1faView commit details -
Configuration menu - View commit details
-
Copy full SHA for a94e43a - Browse repository at this point
Copy the full SHA a94e43aView commit details -
Move
demangle
helper to library_legacy.js (emscripten-core#21346)Followup to emscripten-core#21156 We no longer use this function anywhere in emscripten.
Configuration menu - View commit details
-
Copy full SHA for 971e903 - Browse repository at this point
Copy the full SHA 971e903View commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a95c44e - Browse repository at this point
Copy the full SHA a95c44eView commit details -
Unify handling of deprecated settings (emscripten-core#21355)
Unlike `LEGACY_SETTINGS`, deprecated settings can continue to be used and the values passed in will continue to be honored. Once folks have stopped using them we can move them to `LEGACY_SETTINGS`.
Configuration menu - View commit details
-
Copy full SHA for ed336f5 - Browse repository at this point
Copy the full SHA ed336f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58bd6d9 - Browse repository at this point
Copy the full SHA 58bd6d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf8ea7 - Browse repository at this point
Copy the full SHA cbf8ea7View commit details -
Remove unused src/library_cyberdwarf.js (emscripten-core#21356)
The rest of the cyberdwarf support was removed back in emscripten-core#12195
Configuration menu - View commit details
-
Copy full SHA for 14b27ec - Browse repository at this point
Copy the full SHA 14b27ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee97739 - Browse repository at this point
Copy the full SHA ee97739View commit details -
[test] Simplify new KeyboardEvent calls in test_browser.py. NFC (emsc…
…ripten-core#21351) Closure knows about these property bags so there is no need to quote the keys.
Configuration menu - View commit details
-
Copy full SHA for 59e6b8f - Browse repository at this point
Copy the full SHA 59e6b8fView commit details
Commits on Feb 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7cdfa8d - Browse repository at this point
Copy the full SHA 7cdfa8dView commit details -
Always free allocaed memory in mmunmap. (emscripten-core#21363)
Without this change we were returning early from `__syscall_munmap` if `_munmap_js` failed. This could happen if `fd` was no longer a valid open file descriptor. However, even in this case we still want to go ahead and free any allocated memory. Fixes: emscripten-core#21360
Configuration menu - View commit details
-
Copy full SHA for 71c3d00 - Browse repository at this point
Copy the full SHA 71c3d00View commit details
Commits on Feb 17, 2024
-
Use
isfile
rather thanexists
when checking for config files (ems……cripten-core#21361) This avoids trying parse non-files. Also, explicitly log when we are not using a config file at all.
Configuration menu - View commit details
-
Copy full SHA for e0c3ce6 - Browse repository at this point
Copy the full SHA e0c3ce6View commit details
Commits on Feb 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d67fa99 - Browse repository at this point
Copy the full SHA d67fa99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4856d55 - Browse repository at this point
Copy the full SHA 4856d55View commit details -
Update glfw port to 1.0.5 (emscripten-core#21369)
This update includes a fix for a memory corruption bug.
Configuration menu - View commit details
-
Copy full SHA for 23d8972 - Browse repository at this point
Copy the full SHA 23d8972View commit details -
[test] Add EMTEST_SKIP_NETWORK_TESTS (emscripten-core#21380)
I was doing some work on an airplane over the weekend and I found this useful.
Configuration menu - View commit details
-
Copy full SHA for b5eca2f - Browse repository at this point
Copy the full SHA b5eca2fView commit details -
Feedback from emscripten-core#21380
I accidentally hit submit before applying this change.
Configuration menu - View commit details
-
Copy full SHA for fe92a1b - Browse repository at this point
Copy the full SHA fe92a1bView commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3319a31 - Browse repository at this point
Copy the full SHA 3319a31View commit details -
Fix python error when building with audio worklets enabled (emscripte…
…n-core#21340) MIN_EDGE_VERSION was removed (emscripten-core#20881), so we do not need it in the feature matrix.
Configuration menu - View commit details
-
Copy full SHA for 5355b8d - Browse repository at this point
Copy the full SHA 5355b8dView commit details -
Cleanup cpuprofiler.js. NFC (emscripten-core#21387)
- Use mathod syntax - Cleanup long line
Configuration menu - View commit details
-
Copy full SHA for dc4e54a - Browse repository at this point
Copy the full SHA dc4e54aView commit details -
Fix typo in embind.js (emscripten-core#21384)
nonexistant ==> nonexistent Fixes: emscripten-core#21372
Configuration menu - View commit details
-
Copy full SHA for 919afc5 - Browse repository at this point
Copy the full SHA 919afc5View commit details
Commits on Feb 22, 2024
-
Avoid calling addCxaCatch when not linking as C++ (emscripten-core#21386
) For the test I was unable to figure out a way to generate a call to `__cxa_find_matching_catch` withing hand coding it like this. This doesn't fix emscripten-core#21381 but it makes the error message way less confusing.
Configuration menu - View commit details
-
Copy full SHA for 52d401b - Browse repository at this point
Copy the full SHA 52d401bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9df292 - Browse repository at this point
Copy the full SHA f9df292View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad6cfa2 - Browse repository at this point
Copy the full SHA ad6cfa2View commit details -
[test] Remove redundante/broken call to glTexImage2D. NFC (emscripten…
…-core#21394) This line was fixed/patched in 2736a26 but I think the old line was mistakenly left in.
Configuration menu - View commit details
-
Copy full SHA for bf76ba4 - Browse repository at this point
Copy the full SHA bf76ba4View commit details -
Simplify test_gl_subdata and test_float_tex. NFC (emscripten-core#21393)
Also, remove test_std_cout_new.cpp completely. This test seems to be based on the code from these other two tests but doesn't seem to server any useful purpose anymore. Its was first added in ad285f6.
Configuration menu - View commit details
-
Copy full SHA for b4f224e - Browse repository at this point
Copy the full SHA b4f224eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 587c9b6 - Browse repository at this point
Copy the full SHA 587c9b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e8f698 - Browse repository at this point
Copy the full SHA 9e8f698View commit details -
Run test_subdata in webgl2 mode. (emscripten-core#21398)
This involved improving the emulation in glTexSubImage2D. Sadly I needed to disable this new tests in 4gb+ mode since it runs into a chromium bug.
Configuration menu - View commit details
-
Copy full SHA for 34c83d8 - Browse repository at this point
Copy the full SHA 34c83d8View commit details -
file_packager.py: Handle failure to get cached package (emscripten-co…
…re#21328) In certain scenarios (such as when quota is exceeded), it's possible for a metadata entry to exist, but the package data to be missing - and `event.target.result` will be undefined. Check for and properly handle this by calling `errback`, so that the `preloadFallback` gets triggered.
Configuration menu - View commit details
-
Copy full SHA for 0059aae - Browse repository at this point
Copy the full SHA 0059aaeView commit details
Commits on Feb 23, 2024
-
[test] Simplify test_openjpeg. NFC (emscripten-core#21401)
This change simplifies the test in 2 ways: 1. Remove the "extra testing" part of the test that tries to run the test again if `ALLOW_MEMORY_GROWTH` is set. The only test modes that have `ALLOW_MEMORY_GROWTH` are the santizier modes and it seems odd for an individual test to decide to disable this. 2. Remove the alternate `is_sanitizing` method of running the test. I believe this was only needed becuase of (1), and so can be safely removed. By removing this complexity this test now has less nesting and is more directly readable and more similar to other tests.
Configuration menu - View commit details
-
Copy full SHA for 6b93444 - Browse repository at this point
Copy the full SHA 6b93444View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab9aa4c - Browse repository at this point
Copy the full SHA ab9aa4cView commit details -
Fix webgl tracing issues (emscripten-core#21389)
The webgl tracing mechanism was assuming a fixed number of arguments for a given function whereas some webgl function can take variable number of arguments. Fix this by using the rest operator. This is not as slow as using `arguments`. Also, performance is not really an issue here since we are about to serialize all the arguments to string and send to the console which will vastly out weight the cost of using spread here. I believe the comments here about hot and cold functions as well as the comment at about the cost of using `arguments` were copied from the cpuprofiler.js but they don't apply here. Also, avoid serializing the entire heap, which can cause chrome to hang.
Configuration menu - View commit details
-
Copy full SHA for 7f75c75 - Browse repository at this point
Copy the full SHA 7f75c75View commit details -
[test] Add
reftest
helper method for browser tests. NFC (emscripten……-core#21392) This makes it easy distinguish reference tests from other btests.
Configuration menu - View commit details
-
Copy full SHA for a71c02c - Browse repository at this point
Copy the full SHA a71c02cView commit details -
Fix EM_JS macro in the face of recent llvm change (emscripten-core#21403
) A recent change to llvm (llvm/llvm-project#81539) means that the `used` attribute on data forces the segment to be present in the output file, even if it's not used. The usage here in `em_js.h` was assuming that the data was not incldued in the final output. This change makes the symbol non-static instead of used, which is enough to force clang to keep the data around but not the linker (which is exactly the effect we want).
Configuration menu - View commit details
-
Copy full SHA for b69e44c - Browse repository at this point
Copy the full SHA b69e44cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 135baa3 - Browse repository at this point
Copy the full SHA 135baa3View commit details -
Mark test_itimer_pthread as flaky. NFC (emscripten-core#21404)
This should have been marked as such when the other itimer tests were.
Configuration menu - View commit details
-
Copy full SHA for 38d185e - Browse repository at this point
Copy the full SHA 38d185eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d980b - Browse repository at this point
Copy the full SHA 72d980bView commit details -
Use JS class for FSStream, FSNode and LazyUint8Array. NFC (emscripte…
…n-core#21406) Converting each of these to classes led to code size savings.
Configuration menu - View commit details
-
Copy full SHA for 0c070c4 - Browse repository at this point
Copy the full SHA 0c070c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6797625 - Browse repository at this point
Copy the full SHA 6797625View commit details -
Fix test_openjpeg under wasm64. NFC (emscripten-core#21408)
openjpeg was assuming a different signature for getopt_long which was not problem under wasm32.
Configuration menu - View commit details
-
Copy full SHA for dab2412 - Browse repository at this point
Copy the full SHA dab2412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 643959b - Browse repository at this point
Copy the full SHA 643959bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6eacb9 - Browse repository at this point
Copy the full SHA c6eacb9View commit details -
Fix for resize events when building with ASSERTIONS (emscripten-core#…
…21362) Building with ASSERTIONS is failing the safe heap checks when e.detail is undefined.
Configuration menu - View commit details
-
Copy full SHA for 56fc942 - Browse repository at this point
Copy the full SHA 56fc942View commit details -
[emval] Reduce C++ -> JS calls in emscripten::val lifetime management (…
…emscripten-core#21366) Related to emscripten-core#21300, but some obviously good incremental wins to reduce the cost of ref counting: 1. Have C++ consistently avoid inc/dec for the special reserved values that don't need to be counted, this saves decref calls every time such a `val` object goes out of scope. 2. Add an rvalue reference version of toWireType for `emscripten::val` that can transfer ownership to JS. This saves one call to incref and one call to decref for the case of a c++ function with return type `emscripten::val` The cost seems to be single-digit bytes to the WASM.
Configuration menu - View commit details
-
Copy full SHA for e37f83b - Browse repository at this point
Copy the full SHA e37f83bView commit details -
[test] Make use of
is_wasm2js
helper (emscripten-core#21413)Also, don't check for `WASM2JS` settings. That is a private setting that cannot be set on the command line.
Configuration menu - View commit details
-
Copy full SHA for f302d4c - Browse repository at this point
Copy the full SHA f302d4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96124ff - Browse repository at this point
Copy the full SHA 96124ffView commit details
Commits on Feb 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e6be4f5 - Browse repository at this point
Copy the full SHA e6be4f5View commit details
Commits on Feb 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b5b7fed - Browse repository at this point
Copy the full SHA b5b7fedView commit details -
embind - Remove node exception handling flag for node 17+. (emscripte…
…n-core#21411) Fixes: emscripten-core#21405
Configuration menu - View commit details
-
Copy full SHA for 018e16f - Browse repository at this point
Copy the full SHA 018e16fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e875ed - Browse repository at this point
Copy the full SHA 1e875edView commit details -
Revert "Proxy webgpu calls back to the main thread. NFC (emscripten-c…
…ore#20124)" (emscripten-core#21388) This is a partial revert of 992d1e9
Configuration menu - View commit details
-
Copy full SHA for 3efadf4 - Browse repository at this point
Copy the full SHA 3efadf4View commit details -
[emrun] Use GNU command line flag names (emscripten-core#21424)
For example `--no-browser` vs `--no_browser`. Continue to support the old style but don't advertise these.
Configuration menu - View commit details
-
Copy full SHA for aedf661 - Browse repository at this point
Copy the full SHA aedf661View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30263b4 - Browse repository at this point
Copy the full SHA 30263b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccad71b - Browse repository at this point
Copy the full SHA ccad71bView commit details -
Round down any canvas-relative mouse event coordinates (fixes SAFE_HE…
…AP asserts) (emscripten-core#21429) When using a custom target the coordinates may be doubles, which causes SAFE_HEAP to assert. These are truncated to avoid this (which is what happens anyway, only now it's explicit).
Configuration menu - View commit details
-
Copy full SHA for 4ecb306 - Browse repository at this point
Copy the full SHA 4ecb306View commit details -
Cleanup src/library_sdl.js. NFC (emscripten-core#21416)
- Wrap long lines - Format comments - Use method syntax - Remove unnecessary `SDL_audio`/`SDL_unicode`/`SDL_ttfContext` accessor functions.
Configuration menu - View commit details
-
Copy full SHA for 92eebb5 - Browse repository at this point
Copy the full SHA 92eebb5View commit details -
Remove remaining uses of
eval
in the JS compiler (emscripten-core#2……1423) Use `vm.runInCurrentContext` instead. We already use this in the preprocessor, but not we also use it for macro expansion and loading of the compiler code itself. This change should facilitate future changes to the JS compiler, such as changing the compiler itself to use JS modules.
Configuration menu - View commit details
-
Copy full SHA for dba8ca0 - Browse repository at this point
Copy the full SHA dba8ca0View commit details
Commits on Feb 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 97e3525 - Browse repository at this point
Copy the full SHA 97e3525View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3b9509 - Browse repository at this point
Copy the full SHA a3b9509View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dbbbaa - Browse repository at this point
Copy the full SHA 7dbbbaaView commit details -
Allow HEAPX symbols in EXPORT_RUNTIME_METHODS (emscripten-core#21439)
- Factor out updateMemoryViews. - Enable HEAPXX exports to be specified in EXPORT_RUNTIME_METHODS. - Add all HEAP symbosl to EXPORT_RUNTIME_METHODS unless in STRICT mode. Replaces emscripten-core#21407
Configuration menu - View commit details
-
Copy full SHA for 40252f5 - Browse repository at this point
Copy the full SHA 40252f5View commit details -
Add name section and object symbol table support to emsymbolizer (ems…
…cripten-core#21367) With llvm/llvm-project#82083, llvm-symbolizer works correctly with name sections, so emsymbolizer can use it. Also do the same for object files with symbol tables. Object files do not currently work correctly in llvm-symbolizer where code addresses overlap with data addresses; when that is fixed, emsymbolizer will start working, but we should add a test for it.
Configuration menu - View commit details
-
Copy full SHA for c0cda71 - Browse repository at this point
Copy the full SHA c0cda71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b3950d - Browse repository at this point
Copy the full SHA 1b3950dView commit details -
[wasm2js] Remove all handling for external memory file (emscripten-co…
…re#21217) We have a lot of support code and complexity in emscripten for handling of external memory files. However, its only ever used in wasm2js mode which is a legacy mode. The only reason we continue to support it here IIUC is because its slightly more space efficient than embedding the data as base64. For small programs like hello_world this is an over codesize win. For larger programs there is a regression in overall size in proportion to the amount of static data in the program.
Configuration menu - View commit details
-
Copy full SHA for 07010b9 - Browse repository at this point
Copy the full SHA 07010b9View commit details
Commits on Feb 28, 2024
-
Limit
isCurrentContextWebGL2
usage. NFC (emscripten-core#21444)I observed that this helper macro is only needed when webgl2 is supported. In fact, it would be a bug if it was used when webgl2 was not supported.
Configuration menu - View commit details
-
Copy full SHA for c3d33aa - Browse repository at this point
Copy the full SHA c3d33aaView commit details -
Update expected binaryen version to 116 (emscripten-core#21446)
After WebAssembly/binaryen#6358, we need to update this to pass the tests.
Configuration menu - View commit details
-
Copy full SHA for 6105e76 - Browse repository at this point
Copy the full SHA 6105e76View commit details -
Update val.h.rst (emscripten-core#21449)
Update typo in EM_ASYNC_JS code sample
Configuration menu - View commit details
-
Copy full SHA for e1b138a - Browse repository at this point
Copy the full SHA e1b138aView commit details -
Update Binaryen version to 117 (emscripten-core#21451)
After WebAssembly/binaryen#6358, I tried to update this to 117, but it looks due to some unfinished builds I ended up updating it to 116 (emscripten-core#21446 (comment)). This brings it up to 117.
Configuration menu - View commit details
-
Copy full SHA for e25fa53 - Browse repository at this point
Copy the full SHA e25fa53View commit details
Commits on Feb 29, 2024
-
[circleci] Create
run-tests-firefox
task. NFC (emscripten-core#21452)This allows use to create different firefox test runs, just like we already can for chrome.
Configuration menu - View commit details
-
Copy full SHA for e55ea43 - Browse repository at this point
Copy the full SHA e55ea43View commit details -
Update test_sdl_canvas (emscripten-core#21453)
When I run this test locally in firefox I was getting 2785 as the sum value. I believe this is because the test includes SDL1 font rendering which can depend on the system fonts you have installed.
Configuration menu - View commit details
-
Copy full SHA for cbb7a11 - Browse repository at this point
Copy the full SHA cbb7a11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 165133b - Browse repository at this point
Copy the full SHA 165133bView commit details
Commits on Mar 1, 2024
-
Another library_webgl.js cleanup. NFC (emscripten-core#21458)
Similar to emscripten-core#21457 but this one actually as a code size saving
Configuration menu - View commit details
-
Copy full SHA for bb77856 - Browse repository at this point
Copy the full SHA bb77856View commit details -
Avoid garbage-free WebGL APIs when memory size is over 2gb. (emscript…
…en-core#21445) Both chrome and firefox see have some issues with passing 2gb+ and 4gb+ offsets to these APIs. Once the browser issues are addressed we can lift these restrictions over time. Fixes: emscripten-core#20533
Configuration menu - View commit details
-
Copy full SHA for 4de9bbb - Browse repository at this point
Copy the full SHA 4de9bbbView commit details -
Update GLFW contrib port to v1.1.0 (GLFW 3.4.0) (emscripten-core#21455)
On Feb 23rd 2024, GLFW released a new version 3.4.0. This is the changes in contrib.glfw3 (https://github.com/pongasoft/emscripten-glfw) to implement the new apis/features added to 3.4 Release notes for the port: https://github.com/pongasoft/emscripten-glfw/releases/tag/v1.1.0
Configuration menu - View commit details
-
Copy full SHA for e8262f6 - Browse repository at this point
Copy the full SHA e8262f6View commit details -
Initial new
INITIAL_HEAP
setting (emscripten-core#21071)Changes in default behavior: 1) INITIAL_HEAP is the new default for most builds. This means that there is an increase in the effective initial memory used by "sizeof(stack) + sizeof(static data)". In typical small applications this should be on the order of half a megabyte. 2) Because we cannot precisely calculate the amount of initial memory now, ASAN support will use the conservative upper estimate of MAXIMUM_MEMORY. This only affects ALLOW_MEMORY_GROWTH=0 builds. This change does not yet enable INITIAL_HEAP for builds that instantiate the memory in JS, e. g. with threading.
Configuration menu - View commit details
-
Copy full SHA for 22a1c04 - Browse repository at this point
Copy the full SHA 22a1c04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5198d44 - Browse repository at this point
Copy the full SHA 5198d44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53f661c - Browse repository at this point
Copy the full SHA 53f661cView commit details
Commits on Mar 5, 2024
-
Improve ES6 support in TypeScript definitions generation (emscripten-…
…core#21460) Users building with --emit-tsd and the EXPORT_ES6 setting should get TypeScript definitions accounting for the fact that ES6 modules include a default export that is a functor to instantiate and access the wasm module in question When generating TS definitions, query the EXPORT_ES6 setting and, if present, add the appropriate exports to the output Include options param in default functor export for `--emit-tsd`. This serves as a starting point for incluing all options such as `locateFile` (and the slew of others), without requiring manually iterating through them Update tests to include factory function
Configuration menu - View commit details
-
Copy full SHA for c8a1890 - Browse repository at this point
Copy the full SHA c8a1890View commit details -
Fix Getting WebGPU Context in pthread (emscripten-core#21467)
Failed to run compiled WGPU code clips: wgpu::SurfaceDescriptor surfDesc{}; surfDesc.nextInChain = &canvasDesc; wgpu::Surface surface = instance.CreateSurface(&surfDesc); The reason is that it cannot call getContext from correct canvas object. This PR fixed the problem and add correct build flags for webgpu_basic_rendering test in pthread.
Configuration menu - View commit details
-
Copy full SHA for 2a9af50 - Browse repository at this point
Copy the full SHA 2a9af50View commit details -
Honor WEBGL_USE_GARBAGE_FREE_APIS (emscripten-core#21462)
Followup to emscripten-core#21445. I overlooked some of the webgl2-only paths.
Configuration menu - View commit details
-
Copy full SHA for e0bd10a - Browse repository at this point
Copy the full SHA e0bd10aView commit details
Commits on Mar 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d278e2d - Browse repository at this point
Copy the full SHA d278e2dView commit details -
[test] Disable asan.test_externref_emjs_dynlink. NFC (emscripten-core…
…#21490) This test is failing due to a crash in LLVM that was introduced in llvm/llvm-project#83196.
Configuration menu - View commit details
-
Copy full SHA for d9a8f7f - Browse repository at this point
Copy the full SHA d9a8f7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf81dbe - Browse repository at this point
Copy the full SHA cf81dbeView commit details
Commits on Mar 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 34d8a98 - Browse repository at this point
Copy the full SHA 34d8a98View commit details -
Configuration menu - View commit details
-
Copy full SHA for d35f425 - Browse repository at this point
Copy the full SHA d35f425View commit details -
[wasm64] Enable SDL2 tests under wasm64 (emscripten-core#21489)
I think the recent SDL2 version bump must have fixed the issues we were previously seeing. See emscripten-core#21337 and emscripten-core#20417.
Configuration menu - View commit details
-
Copy full SHA for bc53e33 - Browse repository at this point
Copy the full SHA bc53e33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 086c84a - Browse repository at this point
Copy the full SHA 086c84aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71cee0e - Browse repository at this point
Copy the full SHA 71cee0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74a368a - Browse repository at this point
Copy the full SHA 74a368aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d725b3 - Browse repository at this point
Copy the full SHA 1d725b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 112f487 - Browse repository at this point
Copy the full SHA 112f487View commit details
Commits on Mar 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 696b4f2 - Browse repository at this point
Copy the full SHA 696b4f2View commit details -
[test] Remove EMTEST_LACKS_THREAD_SUPPORT (emscripten-core#21496)
All the browsers we test against these days support threads
Configuration menu - View commit details
-
Copy full SHA for 2ba2078 - Browse repository at this point
Copy the full SHA 2ba2078View commit details
Commits on Mar 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8b94b9e - Browse repository at this point
Copy the full SHA 8b94b9eView commit details -
[test] Disable asan.test_externref_emjs. NFC (emscripten-core#21508)
Should have been part of emscripten-core#21490.
Configuration menu - View commit details
-
Copy full SHA for a0e41b1 - Browse repository at this point
Copy the full SHA a0e41b1View commit details -
Re-enable test_dlfcn_em_asm. NFC (emscripten-core#21500)
This test was disabled due to EM_ASM not working in side modules but that was fixed in emscripten-core#18228.
Configuration menu - View commit details
-
Copy full SHA for 67bb39d - Browse repository at this point
Copy the full SHA 67bb39dView commit details -
Remove unused genArgSequence and needsQuoting. NFC (emscripten-core#2…
…1505) The usage of genArgSequence removed in emscripten-core#17420. The usage of needsQuoting was removed in emscripten-core#17462
Configuration menu - View commit details
-
Copy full SHA for 0b8b752 - Browse repository at this point
Copy the full SHA 0b8b752View commit details -
Avoid generating empty statement in receiveI64ParamAsI53 (emscripten-…
…core#21487) Fixes a few Closure lint warnings. (Though of course there are very many other Closure warnings.)
Configuration menu - View commit details
-
Copy full SHA for 44b3031 - Browse repository at this point
Copy the full SHA 44b3031View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa0079f - Browse repository at this point
Copy the full SHA aa0079fView commit details -
Fix acorn-optimizer error when destructuring array with empty elements (
emscripten-core#21501) This fixes cases like this: function ([, a]) { } In such arrays it is possible to have empty elements, which must be skipped.
Configuration menu - View commit details
-
Copy full SHA for 25125ce - Browse repository at this point
Copy the full SHA 25125ceView commit details -
Run JS linter on src/*.mjs files. NFC (emscripten-core#21510)
As of today all `.mjs` files are part of the compiler itself and don't contains preproccess macros, so that are safe to be run through linter tools.
Configuration menu - View commit details
-
Copy full SHA for 64feaf1 - Browse repository at this point
Copy the full SHA 64feaf1View commit details -
[test] Add
skipExecIf
which just skips the running of the test (ems……cripten-core#21499) This means that even in CI when we might skip certain tests for graphics or sounds we still get some assurance that the test code compiles.
Configuration menu - View commit details
-
Copy full SHA for a589a22 - Browse repository at this point
Copy the full SHA a589a22View commit details -
Avoid use of port 8088 in socket tests. NFC (emscripten-core#21512)
This port is used by the goma compiler webserver which causes these tests to fail on machines that are running the goma compiler.
Configuration menu - View commit details
-
Copy full SHA for 92cb07a - Browse repository at this point
Copy the full SHA 92cb07aView commit details
Commits on Mar 12, 2024
-
Remove check for file type of
.a
files. NFC (emscripten-core#21513)Instead just pass them through the linker like other inputs. See emscripten-core#21128
Configuration menu - View commit details
-
Copy full SHA for dd53c6c - Browse repository at this point
Copy the full SHA dd53c6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b55292 - Browse repository at this point
Copy the full SHA 0b55292View commit details
Commits on Mar 13, 2024
-
Only check for WebAssembly support in debug builds. NFC (emscripten-c…
…ore#21511) Also, avoid the use of `abort` in this case since abort itself depends on `WebAssembly.RuntimeError`. Fixes: emscripten-core#21484
Configuration menu - View commit details
-
Copy full SHA for 5f9ee69 - Browse repository at this point
Copy the full SHA 5f9ee69View commit details -
Fix unconditional usage of
requests
import (emscripten-core#21523)On systems that don't have the requests python we cannot catch this exception.
Configuration menu - View commit details
-
Copy full SHA for 18ff548 - Browse repository at this point
Copy the full SHA 18ff548View commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5d1c39d - Browse repository at this point
Copy the full SHA 5d1c39dView commit details -
Use DEPRECATED_SETTINGS for RUNTIME_LINKED_LIBS (emscripten-core#21522)
And also for CLOSURE_WARNINGS
Configuration menu - View commit details
-
Copy full SHA for cf90417 - Browse repository at this point
Copy the full SHA cf90417View commit details
Commits on Apr 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d04dfba - Browse repository at this point
Copy the full SHA d04dfbaView commit details