Tags: pandening/emscripten
Tags
Make read, readAsync, readBinary, setWindowTitle normal JS variables (e… …mscripten-core#9047) This replaces Module['readBinary'] with readBinary etc., that is, moves them from Module to be just normal JS variables. This change allows better JS minification: the names read, readAsync etc. can be minified now, and even better if the variables are not used then they can be removed entirely. On hello world this saves 4% of JS size in -O3 --closure 1 with the wasm backend. This is an internal API change. However, it's possible some users depend on it, so I added a mention in the changelog, and in builds with ASSERTIONS an error message is shown if the old APIs are used. Note that read is also renamed to read_ (since "read" is an API call in the SpiderMonkey shell).
Fix browser harness logging (emscripten-core#8980) Turns out at least some of the duplicate logging we have is because if a python web request hander doesn't return any headers, it just calls it again. Odd that this doesn't recurse infinitely... anyhow, just send some empty headers for the logging code to avoid that. Also fix the logging in python3, where urllib is structured differently.
Add extended Node feature check to fix issue emscripten-core#8816 (em… …scripten-core#8832)
Handle a tiny {} function body in modifyFunction, which can happen wh… …en bysyncify adds extra assertion checks (emscripten-core#8855)
Added parameterized test support and use it for metadce (emscripten-c… …ore#8653) This converts a single tests that do the same thing with different parameters into multiple tests. The advantages of doing this is that the tests can now run in parallel, and you can get feedback for all the subtests at the same time, instead of stopping the test after the first failure. You can also run the just one subtest, instead of running all or nothing. This commit also adds `@functools.wraps` to decorators in `runner.py` to preserve function attributes after decorating them.
Change ino_t/off_t to 64-bits (emscripten-core#8467) Related to emscripten-core#7649 (point 5) and subset of emscripten-core#7799 * Update python.bc * Update output wasm sizes * Update wasm backend tests
PreviousNext