https://github.com/kripken/emscripten

sort by:
Revision Author Date Message Commit Date
3cf218e remove undefined behavior from fuzz/2.c 24 June 2015, 18:20:39 UTC
c0c560b use memory alignment data from backend 24 June 2015, 18:20:19 UTC
28bcb53 apply mem init file to Runtime.GLOBAL_BASE, same as the non-mem init code path 24 June 2015, 18:20:19 UTC
ba9fd7b Embind: Skip over preset values when extracting first outstanding emval get_first_emval should ignore the preset elements of the handle array. 24 June 2015, 18:20:19 UTC
e5c251e Improve test_biggerswitch to test what it outputs is valid. 18 June 2015, 20:58:11 UTC
fa342b4 Merge branch 'expand-big-switches' into incoming 18 June 2015, 20:38:43 UTC
23a6fc1 ignore dangerous env vars when bootstrapping struct_info 18 June 2015, 18:24:52 UTC
729c75f 1.34.1 18 June 2015, 17:30:20 UTC
1f24a9d Merge branch 'incoming' of https://github.com/jmeseguerdepaz/emscripten into incoming Conflicts: AUTHORS 17 June 2015, 21:57:52 UTC
31864ad handle empty else blocks, and refactor the handling of empty blocks in if, do and whiles 17 June 2015, 20:17:38 UTC
876392f Fixed problem with "Resize Canvas" not working on GLFW. 17 June 2015, 19:58:07 UTC
0f387c5 add test of default usage in a big switch 16 June 2015, 22:47:33 UTC
2469ce6 enable test_bigswitch* on larger cases, but disable emterpreter due to compilation slowness 16 June 2015, 22:47:15 UTC
52ea3e5 Merge pull request #3548 from beakbeak/local_filedata file_packager: make fileData* variables local 16 June 2015, 22:33:18 UTC
78f3cc9 file_packager: make fileData* variables local 16 June 2015, 22:04:20 UTC
667dcd2 1.34.0 16 June 2015, 19:44:26 UTC
549953a add fuzzing for assertions and MEM_INIT_METHOD == 2 16 June 2015, 19:44:06 UTC
4e9da10 refactor string memory initializer into tools/shared.py 16 June 2015, 00:25:25 UTC
4c46de3 comment 16 June 2015, 00:25:20 UTC
4725554 Merge branch 'strMemInit' of https://github.com/gagern/emscripten into incoming 16 June 2015, 00:25:11 UTC
f0ed1b6 fix browser.test_emrun after pthreads merge broke it in 7cff83670de4c021633473d4ce539daff930195f 16 June 2015, 00:23:24 UTC
9a1e23e fix interactive.test_freealut 15 June 2015, 23:33:39 UTC
f5bc422 Incorporate suggestions from code review * MEM_INIT_METHOD != 1 with --with-memory-file 1 now triggers an assertion * Consistently return '' instead of m.group(0) if there is no initializer * Strip trailing zeros for emterpreter as well * Include crc32 in literal only if it gets verified * Enable assertions for the asm2m test run in general * Disable assertions for one test case, fnmatch, to cover that as well * Include the asm2m run name in two lists of run modes * Add browser test to verify all pairs of bytes get encoded correctly * Add browser test to verify that a >32M initializer works without chunking * Omit duplicate var declaration for the memoryInitializer variable * Minor comments and syntax improvements * Capture the memory_init_file setting by its MEM_INIT_METHOD value. * Drop special handling for emterpreter, which shouldn't be needed any more. 15 June 2015, 20:46:10 UTC
e2d59af Use hex escapes for non-ASCII bytes This makes the resulting literals more independent from the character encoding the environment assumes for the resulting file. It requires slightly more memory, but large bytes are far less common than small bytes (zero in particular), so the cost should not be too much. If we want to, we can still make this optional later on. 15 June 2015, 20:46:10 UTC
6d3b9ff Verify integrity of memory initializer using CRC-32 This is almost the standard CRC-32 algorithm, except that we omit the final XOR with -1 so that we can easily compare the result against zero. The length of the initializer is included in the data so that we don't have to worry about leading zeros (after XOR with the init value of -1). Useful read: http://www.ross.net/crc/download/crc_v3.txt 15 June 2015, 20:46:10 UTC
c388aee Avoid octal escapes, use raw bytes instead There was a bug where the hex-to-oct conversion would match \\x01. But support for octal escape sequences is optional in any case, and forbidden in strict mode, so we should avoid using these. As per the ECMAScript 5.1 spec, any source character (which may be any unicode code point) can be used inside a string literal, with the exception of backslash, line terminator or the quoting character. So we do just that: dump a lot of raw bytes into the string literal and escape only what needs to be escaped. There is one catch, though: sources are usually encoded in UTF-8, in which case we can't exactly plug in raw bytes, but have to use UTF-8 sequences for the range \x80 through \xff. This may cause problems if the source file is NOT interpreted as UTF-8. 15 June 2015, 20:46:10 UTC
8f44c9f Store memory initialization in string literal if requested With “--memory-init-file 0 -s MEM_INIT_METHOD=2” on the command line, the generated JavaScript file will contain a string literal representing the initial content of the memory buffer. The MEM_INIT_METHOD defaults to 0 but gets set to 1 if --memory-init-file is being used. Setting it to 1 without --memory-init-file will cause an error. That way, we can use the setting in the postamble, without too many changes in other places. Since memory is initialized to all zero, trailing zeros can be omitted. This change affects the file-based initialization as well. 15 June 2015, 20:46:09 UTC
4b77826 Merge branch 'linux-shared-fix' of https://github.com/brion/emscripten into incoming 15 June 2015, 20:05:52 UTC
b424dc0 Fix shared libraries in autoconf projects on Linux host Partial revert of commit 53a969d, plus addition of comment explaining why the verbiage about ld compatibility is there. Added a check for the 'GNU' token in 'emcc -v' output to tests. 15 June 2015, 19:25:05 UTC
61febe4 Merge pull request #3539 from philippwiesemann/fix-site-sphinx-warnings Fix warnings from sphinx in documentation 15 June 2015, 17:47:26 UTC
72e6cc3 Add testing for SSE1 int cvt instructions. 14 June 2015, 20:30:04 UTC
ead260c Add testing for SSE2 Shift and Swizzle instructions. 14 June 2015, 20:30:04 UTC
8ea6d43 Add testing of last SSE2 convert instructions. 14 June 2015, 20:30:04 UTC
79d83cf Add testing of SSE1 and SSE2 store instructions. 14 June 2015, 20:30:04 UTC
ca704b7 Add testing of SSE1 and SSE2 load instructions. 14 June 2015, 20:30:04 UTC
e68e2c8 Improve SSE1 test with more cases, fix it to build. 14 June 2015, 20:30:04 UTC
70fa0ab Add SSE2 test, and revise the SSE1 test to share implementation. 14 June 2015, 20:30:03 UTC
8d0e9a8 Fix warnings from sphinx in documentation This also fixed broken links. 13 June 2015, 19:15:35 UTC
55ee0f6 disallow malloc/free calls when runtime is not available 12 June 2015, 18:15:18 UTC
3ddc9f2 remove free() hack in browser.test_runtime_misuse 12 June 2015, 18:15:18 UTC
5c256ed Merge pull request #3536 from juj/fix_emscripten_log fix_emscripten_log 12 June 2015, 17:03:34 UTC
9ff7da7 Merge pull request #3533 from juj/test_biggerswitch test_biggerswitch 12 June 2015, 16:56:47 UTC
887cb52 Add a new test case to emscripten_log.cpp to fix a logging crash, and fix it by removing a unnecessarily strict assertion in formatString (code in formatString only needs 4 byte alignment, but asserts 8 bytes) 12 June 2015, 11:53:11 UTC
320d637 if the runtime is not initialized, do not call malloc in getMemory 12 June 2015, 00:41:20 UTC
73c5b88 use getMemory in file packager - we may allocate before startup is done 12 June 2015, 00:38:06 UTC
66755c1 allow memory growth before the runtime is ready 12 June 2015, 00:22:36 UTC
e025cce Add new test test_biggerswitch that aims to check we are able to compile switch-cases of unbounded length. 11 June 2015, 14:57:59 UTC
fe87592 remove emterpreter YIELDLIST - it complicates the mental model and is not worth it for the rather slim amount of benefit it provides 10 June 2015, 22:50:06 UTC
5d970d5 add missing GL dependency for GLFW #3530 10 June 2015, 21:05:41 UTC
3cf4e7e Merge pull request #3529 from juj/no_relpath_in_emar Remove unnecessary relpath in emar. Fixes #3525. 10 June 2015, 20:05:52 UTC
200e17e add fcmp constantexpr testcase 10 June 2015, 18:54:48 UTC
9de07c2 Remove unnecessary relpath in emar. Fixes #3525. 10 June 2015, 08:38:17 UTC
25f19cf Merge pull request #3527 from juj/test_sse1_full test_sse1_full 10 June 2015, 00:27:41 UTC
edd7ac1 Add full test of SSE1 API, currently disabled due to same reasons as test_sse1. 09 June 2015, 22:23:26 UTC
de5ed23 1.33.2 09 June 2015, 01:01:07 UTC
c8696d4 do not evaporate a necessary ; symbol when minifying after an if #3520 09 June 2015, 00:59:56 UTC
19f7e03 DEBUGGING option for native optimizer 09 June 2015, 00:36:59 UTC
ffe928e Merge pull request #3518 from weitjong/handle-dash-M-similar-to-dash-E Handle '-M' and '-MM' compiler flags similar to '-E'. 06 June 2015, 04:03:28 UTC
b294035 Handle '-M' and '-MM' compiler flags similar to '-E'. 06 June 2015, 04:01:39 UTC
90fc015 Merge pull request #3492 from Daft-Freak/AL_EXT_float32 add support for AL_EXT_float32 05 June 2015, 11:02:56 UTC
da9c47b comment on node/nodejs #3517 04 June 2015, 20:32:24 UTC
5529030 Merge pull request #3510 from philippwiesemann/fix-site-typos Fix typos in documentation 04 June 2015, 17:16:32 UTC
4816fce Merge pull request #3514 from waywardmonkeys/fix-typos Fix a couple of comment typos. 04 June 2015, 17:11:42 UTC
e475bd2 Fix a couple of comment typos. 04 June 2015, 14:40:16 UTC
e113a61 Fix typos in documentation 04 June 2015, 09:09:52 UTC
fee08b9 Fix typos in documentation 04 June 2015, 09:09:40 UTC
e12d23b make other.test_emterpreter profiling test more lenient 03 June 2015, 17:07:10 UTC
bde00a3 add support for AL_EXT_float32 03 June 2015, 11:36:12 UTC
92094e4 Bump version to 1.33.1 after the pthreads merge. 03 June 2015, 00:12:12 UTC
6dc579b Merge pull request #3266 from juj/pthreads Pthreads 03 June 2015, 00:09:26 UTC
f57b587 Merge pull request #3485 from mosra/webgl-shader-info-log Don't replace empty (non-null) shader compilation info log. 01 June 2015, 19:20:59 UTC
10fa163 Properly handle nulls instead of strings also in other shader functions. 01 June 2015, 18:46:21 UTC
1075e43 Test that empty string is returned if shader compiles fine. 01 June 2015, 18:12:06 UTC
5836119 Removed obsolete comments. 01 June 2015, 18:10:50 UTC
2e9a5c5 Don't replace empty (non-null) shader compilation info log. The workaround was meant to fix only the case when the returned object is null. 01 June 2015, 16:54:02 UTC
8c6d6f5 When SharedArrayBuffer is not supported, give browser test runner a small delay to report test being skipped before the test window is closed so that the XHR request can reach the test harness. 01 June 2015, 12:11:52 UTC
f87bd74 Mark linker options for dynamic linking unsupported with -s USE_PTHREADS=1 (todo for later). 01 June 2015, 12:11:51 UTC
80c8aae Comment long #if-#else-#endif chains in src/preamble.js for clarity. 01 June 2015, 12:11:51 UTC
afe2900 Restore missing test code in tests/test_browser.py that was removed in bad rebase. 01 June 2015, 12:11:50 UTC
03cf47e Apply coding conventions to pthreads: space after for(). 01 June 2015, 12:11:50 UTC
e0cff8c Clean up -s USE_PTHREADS detection in emcc. 01 June 2015, 12:11:49 UTC
5399f2a Test that preprocessor define __EMSCRIPTEN_PTHREADS__ is actually present when building with pthreads enabled. 01 June 2015, 12:11:49 UTC
fe15b39 Fix pthread_cleanup_push() to new API after rebase. 01 June 2015, 12:11:48 UTC
52072b4 Abort execution on a warning if pthreads is not supported in the browser. Add new option -s IN_TEST_HARNESS=1 and have the test harness skip the pthread tests if run on a browser that doesn't support them. 01 June 2015, 12:11:47 UTC
914f095 Fix test browser.test_pthread_create_pthread to close the test window once its done. 01 June 2015, 12:11:47 UTC
c223827 Abort compilation if PROXY_TO_WORKER=1 is attempted with USE_PTHREADS=1. 01 June 2015, 12:11:46 UTC
ccafa0a Remove the -lpthread setting, and only use -s USE_PTHREADS=1 to have only one build and link flag for threads. 01 June 2015, 12:11:46 UTC
07213d7 Add support for asking the pthread warmup pool size at startup as well, useful for testing purposes. 01 June 2015, 12:11:45 UTC
eba1d21 Implement operator > for preprocessor. 01 June 2015, 12:11:45 UTC
204d37a Add a shallow test for emscripten_num_logical_cores(); functionality. 01 June 2015, 12:11:44 UTC
f2c2340 Add new functions emscripten_num_logical_cores() which returns the number of detected logical cores on the system and emscripten_force_num_logical_cores() which allows overriding the value returned by this function. Add a new command line variable -s PTHREAD_HINT_NUM_CORES=x to allow choosing the default value when navigator.hardwareConcurrency is not supported. 01 June 2015, 12:11:43 UTC
f11be16 Add support for preprocessor #if < operation. 01 June 2015, 12:11:43 UTC
00c32b7 Polyfill SharedArrayBuffer.slice() operation which doesn't exist currently so that JS code that interacts with Emscripten HEAP when it is a SAB can operate normally. 01 June 2015, 12:11:42 UTC
b3687b9 Optimize emulated 64bit atomic ops by using a spinlock instead of pthread_mutex_lock. 01 June 2015, 12:11:42 UTC
29ecfad Build pthread tests with -O3 to catch any potential optimizer interaction issues. 01 June 2015, 12:11:41 UTC
c0304d5 HACK: Atomics.exchange() is not yet implemented, so as a temp workaround, do it as u32 version with a CAS loop. TODO: revert this commit once https://bugzilla.mozilla.org/show_bug.cgi?id=1141986 lands. 01 June 2015, 12:11:41 UTC
8ceb2b2 Add testing of Emscripten intrinsics in the spinlock test. Fix test_pthread_mutex to pass the test params to compilation. 01 June 2015, 12:11:40 UTC
a58c2fe Add emscripten_atomic_swap intrinsics. Add support for GCC __sync_lock_test_and_set() and __sync_lock_release(). 01 June 2015, 12:11:40 UTC
ec4edf3 Fix emscripten_main_thread_process_queued_calls() to not process same calls again and again if the call flow leads to multiple nested operations. 01 June 2015, 12:11:39 UTC
824450b Fix an issue where multiple threads allocating lots of memory (enough to call to sbrk()), while main thread is also doing memory management, would cause a deadlock where pthread and main thread would wait on each others' mutexes. Add a test. 01 June 2015, 12:11:39 UTC
back to top