3cf218e | Alon Zakai | 22 June 2015, 23:32:30 UTC | remove undefined behavior from fuzz/2.c | 24 June 2015, 18:20:39 UTC |
c0c560b | Alon Zakai | 19 June 2015, 22:29:01 UTC | use memory alignment data from backend | 24 June 2015, 18:20:19 UTC |
28bcb53 | Alon Zakai | 24 June 2015, 18:18:04 UTC | apply mem init file to Runtime.GLOBAL_BASE, same as the non-mem init code path | 24 June 2015, 18:20:19 UTC |
ba9fd7b | Joe Lee | 28 May 2015, 17:54:37 UTC | 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 | Jukka Jylänki | 18 June 2015, 20:58:11 UTC | Improve test_biggerswitch to test what it outputs is valid. | 18 June 2015, 20:58:11 UTC |
fa342b4 | Alon Zakai | 18 June 2015, 20:38:43 UTC | Merge branch 'expand-big-switches' into incoming | 18 June 2015, 20:38:43 UTC |
23a6fc1 | Alon Zakai | 18 June 2015, 18:24:52 UTC | ignore dangerous env vars when bootstrapping struct_info | 18 June 2015, 18:24:52 UTC |
729c75f | Alon Zakai | 18 June 2015, 17:30:20 UTC | 1.34.1 | 18 June 2015, 17:30:20 UTC |
1f24a9d | Alon Zakai | 17 June 2015, 21:57:52 UTC | Merge branch 'incoming' of https://github.com/jmeseguerdepaz/emscripten into incoming Conflicts: AUTHORS | 17 June 2015, 21:57:52 UTC |
31864ad | Alon Zakai | 17 June 2015, 20:17:38 UTC | handle empty else blocks, and refactor the handling of empty blocks in if, do and whiles | 17 June 2015, 20:17:38 UTC |
876392f | Javier Meseguer de Paz | 10 June 2015, 01:15:37 UTC | Fixed problem with "Resize Canvas" not working on GLFW. | 17 June 2015, 19:58:07 UTC |
0f387c5 | Alon Zakai | 16 June 2015, 22:47:33 UTC | add test of default usage in a big switch | 16 June 2015, 22:47:33 UTC |
2469ce6 | Alon Zakai | 16 June 2015, 22:47:15 UTC | enable test_bigswitch* on larger cases, but disable emterpreter due to compilation slowness | 16 June 2015, 22:47:15 UTC |
52ea3e5 | Alon Zakai | 16 June 2015, 22:33:18 UTC | Merge pull request #3548 from beakbeak/local_filedata file_packager: make fileData* variables local | 16 June 2015, 22:33:18 UTC |
78f3cc9 | beakbeak | 16 June 2015, 18:30:43 UTC | file_packager: make fileData* variables local | 16 June 2015, 22:04:20 UTC |
667dcd2 | Alon Zakai | 16 June 2015, 19:44:26 UTC | 1.34.0 | 16 June 2015, 19:44:26 UTC |
549953a | Alon Zakai | 16 June 2015, 19:44:06 UTC | add fuzzing for assertions and MEM_INIT_METHOD == 2 | 16 June 2015, 19:44:06 UTC |
4e9da10 | Alon Zakai | 15 June 2015, 22:27:37 UTC | refactor string memory initializer into tools/shared.py | 16 June 2015, 00:25:25 UTC |
4c46de3 | Alon Zakai | 15 June 2015, 22:27:16 UTC | comment | 16 June 2015, 00:25:20 UTC |
4725554 | Alon Zakai | 16 June 2015, 00:25:11 UTC | Merge branch 'strMemInit' of https://github.com/gagern/emscripten into incoming | 16 June 2015, 00:25:11 UTC |
f0ed1b6 | Alon Zakai | 16 June 2015, 00:23:24 UTC | fix browser.test_emrun after pthreads merge broke it in 7cff83670de4c021633473d4ce539daff930195f | 16 June 2015, 00:23:24 UTC |
9a1e23e | Alon Zakai | 15 June 2015, 23:33:39 UTC | fix interactive.test_freealut | 15 June 2015, 23:33:39 UTC |
f5bc422 | Martin von Gagern | 10 June 2015, 22:27:55 UTC | 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 | Martin von Gagern | 08 June 2015, 21:02:23 UTC | 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 | Martin von Gagern | 08 June 2015, 20:48:02 UTC | 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 | Martin von Gagern | 29 May 2015, 08:11:45 UTC | 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 | Martin von Gagern | 28 May 2015, 18:51:34 UTC | 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 | Alon Zakai | 15 June 2015, 20:05:52 UTC | Merge branch 'linux-shared-fix' of https://github.com/brion/emscripten into incoming | 15 June 2015, 20:05:52 UTC |
b424dc0 | Brion Vibber | 14 June 2015, 17:57:09 UTC | 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 | Alon Zakai | 15 June 2015, 17:47:26 UTC | Merge pull request #3539 from philippwiesemann/fix-site-sphinx-warnings Fix warnings from sphinx in documentation | 15 June 2015, 17:47:26 UTC |
72e6cc3 | Jukka Jylänki | 14 June 2015, 20:22:04 UTC | Add testing for SSE1 int cvt instructions. | 14 June 2015, 20:30:04 UTC |
ead260c | Jukka Jylänki | 14 June 2015, 20:18:48 UTC | Add testing for SSE2 Shift and Swizzle instructions. | 14 June 2015, 20:30:04 UTC |
8ea6d43 | Jukka Jylänki | 14 June 2015, 19:35:11 UTC | Add testing of last SSE2 convert instructions. | 14 June 2015, 20:30:04 UTC |
79d83cf | Jukka Jylänki | 14 June 2015, 19:26:16 UTC | Add testing of SSE1 and SSE2 store instructions. | 14 June 2015, 20:30:04 UTC |
ca704b7 | Jukka Jylänki | 14 June 2015, 18:40:00 UTC | Add testing of SSE1 and SSE2 load instructions. | 14 June 2015, 20:30:04 UTC |
e68e2c8 | Jukka Jylänki | 14 June 2015, 15:04:41 UTC | Improve SSE1 test with more cases, fix it to build. | 14 June 2015, 20:30:04 UTC |
70fa0ab | Jukka Jylänki | 14 June 2015, 14:48:13 UTC | Add SSE2 test, and revise the SSE1 test to share implementation. | 14 June 2015, 20:30:03 UTC |
8d0e9a8 | Philipp Wiesemann | 13 June 2015, 19:15:35 UTC | Fix warnings from sphinx in documentation This also fixed broken links. | 13 June 2015, 19:15:35 UTC |
55ee0f6 | Alon Zakai | 12 June 2015, 18:15:06 UTC | disallow malloc/free calls when runtime is not available | 12 June 2015, 18:15:18 UTC |
3ddc9f2 | Alon Zakai | 12 June 2015, 18:14:37 UTC | remove free() hack in browser.test_runtime_misuse | 12 June 2015, 18:15:18 UTC |
5c256ed | Alon Zakai | 12 June 2015, 17:03:34 UTC | Merge pull request #3536 from juj/fix_emscripten_log fix_emscripten_log | 12 June 2015, 17:03:34 UTC |
9ff7da7 | Alon Zakai | 12 June 2015, 16:56:47 UTC | Merge pull request #3533 from juj/test_biggerswitch test_biggerswitch | 12 June 2015, 16:56:47 UTC |
887cb52 | Jukka Jylänki | 12 June 2015, 11:53:11 UTC | 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 | Alon Zakai | 12 June 2015, 00:41:20 UTC | if the runtime is not initialized, do not call malloc in getMemory | 12 June 2015, 00:41:20 UTC |
73c5b88 | Alon Zakai | 12 June 2015, 00:38:06 UTC | use getMemory in file packager - we may allocate before startup is done | 12 June 2015, 00:38:06 UTC |
66755c1 | Alon Zakai | 12 June 2015, 00:22:36 UTC | allow memory growth before the runtime is ready | 12 June 2015, 00:22:36 UTC |
e025cce | Jukka Jylänki | 11 June 2015, 14:57:15 UTC | 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 | Alon Zakai | 10 June 2015, 22:50:06 UTC | 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 | Alon Zakai | 10 June 2015, 21:05:41 UTC | add missing GL dependency for GLFW #3530 | 10 June 2015, 21:05:41 UTC |
3cf4e7e | Alon Zakai | 10 June 2015, 20:05:52 UTC | 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 | Alon Zakai | 10 June 2015, 18:54:48 UTC | add fcmp constantexpr testcase | 10 June 2015, 18:54:48 UTC |
9de07c2 | Jukka Jylänki | 10 June 2015, 08:38:17 UTC | Remove unnecessary relpath in emar. Fixes #3525. | 10 June 2015, 08:38:17 UTC |
25f19cf | Alon Zakai | 10 June 2015, 00:27:41 UTC | Merge pull request #3527 from juj/test_sse1_full test_sse1_full | 10 June 2015, 00:27:41 UTC |
edd7ac1 | Jukka Jylänki | 09 June 2015, 21:58:58 UTC | Add full test of SSE1 API, currently disabled due to same reasons as test_sse1. | 09 June 2015, 22:23:26 UTC |
de5ed23 | Alon Zakai | 09 June 2015, 01:01:07 UTC | 1.33.2 | 09 June 2015, 01:01:07 UTC |
c8696d4 | Alon Zakai | 09 June 2015, 00:59:56 UTC | do not evaporate a necessary ; symbol when minifying after an if #3520 | 09 June 2015, 00:59:56 UTC |
19f7e03 | Alon Zakai | 09 June 2015, 00:36:59 UTC | DEBUGGING option for native optimizer | 09 June 2015, 00:36:59 UTC |
ffe928e | Alon Zakai | 06 June 2015, 04:03:28 UTC | 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 | Yao Wei Tjong 姚伟忠 | 05 June 2015, 11:31:22 UTC | Handle '-M' and '-MM' compiler flags similar to '-E'. | 06 June 2015, 04:01:39 UTC |
90fc015 | juj | 05 June 2015, 11:02:56 UTC | Merge pull request #3492 from Daft-Freak/AL_EXT_float32 add support for AL_EXT_float32 | 05 June 2015, 11:02:56 UTC |
da9c47b | Alon Zakai | 04 June 2015, 20:32:24 UTC | comment on node/nodejs #3517 | 04 June 2015, 20:32:24 UTC |
5529030 | Alon Zakai | 04 June 2015, 17:16:32 UTC | Merge pull request #3510 from philippwiesemann/fix-site-typos Fix typos in documentation | 04 June 2015, 17:16:32 UTC |
4816fce | Alon Zakai | 04 June 2015, 17:11:42 UTC | Merge pull request #3514 from waywardmonkeys/fix-typos Fix a couple of comment typos. | 04 June 2015, 17:11:42 UTC |
e475bd2 | Bruce Mitchener | 04 June 2015, 14:40:16 UTC | Fix a couple of comment typos. | 04 June 2015, 14:40:16 UTC |
e113a61 | Philipp Wiesemann | 03 June 2015, 19:35:07 UTC | Fix typos in documentation | 04 June 2015, 09:09:52 UTC |
fee08b9 | Philipp Wiesemann | 03 June 2015, 19:34:28 UTC | Fix typos in documentation | 04 June 2015, 09:09:40 UTC |
e12d23b | Alon Zakai | 03 June 2015, 17:07:10 UTC | make other.test_emterpreter profiling test more lenient | 03 June 2015, 17:07:10 UTC |
bde00a3 | Charlie Birks | 03 June 2015, 11:36:12 UTC | add support for AL_EXT_float32 | 03 June 2015, 11:36:12 UTC |
92094e4 | Jukka Jylänki | 03 June 2015, 00:12:12 UTC | Bump version to 1.33.1 after the pthreads merge. | 03 June 2015, 00:12:12 UTC |
6dc579b | juj | 03 June 2015, 00:09:26 UTC | Merge pull request #3266 from juj/pthreads Pthreads | 03 June 2015, 00:09:26 UTC |
f57b587 | Alon Zakai | 01 June 2015, 19:20:59 UTC | 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 | Vladimír Vondruš | 01 June 2015, 18:43:53 UTC | Properly handle nulls instead of strings also in other shader functions. | 01 June 2015, 18:46:21 UTC |
1075e43 | Vladimír Vondruš | 01 June 2015, 18:12:06 UTC | Test that empty string is returned if shader compiles fine. | 01 June 2015, 18:12:06 UTC |
5836119 | Vladimír Vondruš | 01 June 2015, 18:10:50 UTC | Removed obsolete comments. | 01 June 2015, 18:10:50 UTC |
2e9a5c5 | Vladimír Vondruš | 01 June 2015, 16:45:06 UTC | 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 | Jukka Jylänki | 01 June 2015, 12:05:33 UTC | 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 | Jukka Jylänki | 28 May 2015, 12:21:26 UTC | Mark linker options for dynamic linking unsupported with -s USE_PTHREADS=1 (todo for later). | 01 June 2015, 12:11:51 UTC |
80c8aae | Jukka Jylänki | 28 May 2015, 12:14:07 UTC | Comment long #if-#else-#endif chains in src/preamble.js for clarity. | 01 June 2015, 12:11:51 UTC |
afe2900 | Jukka Jylänki | 28 May 2015, 12:11:45 UTC | Restore missing test code in tests/test_browser.py that was removed in bad rebase. | 01 June 2015, 12:11:50 UTC |
03cf47e | Jukka Jylänki | 28 May 2015, 12:01:18 UTC | Apply coding conventions to pthreads: space after for(). | 01 June 2015, 12:11:50 UTC |
e0cff8c | Jukka Jylänki | 28 May 2015, 11:59:34 UTC | Clean up -s USE_PTHREADS detection in emcc. | 01 June 2015, 12:11:49 UTC |
5399f2a | Jukka Jylänki | 28 May 2015, 11:58:57 UTC | Test that preprocessor define __EMSCRIPTEN_PTHREADS__ is actually present when building with pthreads enabled. | 01 June 2015, 12:11:49 UTC |
fe15b39 | Jukka Jylänki | 27 May 2015, 12:38:14 UTC | Fix pthread_cleanup_push() to new API after rebase. | 01 June 2015, 12:11:48 UTC |
52072b4 | Jukka Jylänki | 27 May 2015, 11:21:27 UTC | 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 | Jukka Jylänki | 27 May 2015, 11:20:29 UTC | Fix test browser.test_pthread_create_pthread to close the test window once its done. | 01 June 2015, 12:11:47 UTC |
c223827 | Jukka Jylänki | 27 May 2015, 10:42:52 UTC | Abort compilation if PROXY_TO_WORKER=1 is attempted with USE_PTHREADS=1. | 01 June 2015, 12:11:46 UTC |
ccafa0a | Jukka Jylänki | 27 May 2015, 10:38:34 UTC | 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 | Jukka Jylänki | 21 May 2015, 20:06:02 UTC | 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 | Jukka Jylänki | 21 May 2015, 19:53:50 UTC | Implement operator > for preprocessor. | 01 June 2015, 12:11:45 UTC |
204d37a | Jukka Jylänki | 21 May 2015, 17:10:39 UTC | Add a shallow test for emscripten_num_logical_cores(); functionality. | 01 June 2015, 12:11:44 UTC |
f2c2340 | Jukka Jylänki | 21 May 2015, 17:10:09 UTC | 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 | Jukka Jylänki | 21 May 2015, 16:57:13 UTC | Add support for preprocessor #if < operation. | 01 June 2015, 12:11:43 UTC |
00c32b7 | Jukka Jylänki | 21 May 2015, 09:54:53 UTC | 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 | Jukka Jylänki | 20 May 2015, 08:18:17 UTC | Optimize emulated 64bit atomic ops by using a spinlock instead of pthread_mutex_lock. | 01 June 2015, 12:11:42 UTC |
29ecfad | Jukka Jylänki | 20 May 2015, 08:09:18 UTC | Build pthread tests with -O3 to catch any potential optimizer interaction issues. | 01 June 2015, 12:11:41 UTC |
c0304d5 | Jukka Jylänki | 14 May 2015, 23:24:01 UTC | 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 | Jukka Jylänki | 14 May 2015, 10:23:44 UTC | 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 | Jukka Jylänki | 13 May 2015, 23:22:15 UTC | 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 | Jukka Jylänki | 12 May 2015, 13:02:34 UTC | 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 | Jukka Jylänki | 06 May 2015, 13:41:32 UTC | 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 |