Граф коммитов

14014 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 5d970d5a49 add missing GL dependency for GLFW #3530 2015-06-10 14:05:41 -07:00
Alon Zakai 3cf4e7e4f6 Merge pull request #3529 from juj/no_relpath_in_emar
Remove unnecessary relpath in emar. Fixes #3525.
2015-06-10 13:05:52 -07:00
Alon Zakai 200e17e940 add fcmp constantexpr testcase 2015-06-10 11:54:48 -07:00
Jukka Jylänki 9de07c2bcc Remove unnecessary relpath in emar. Fixes #3525. 2015-06-10 11:38:17 +03:00
Alon Zakai 25f19cfdb8 Merge pull request #3527 from juj/test_sse1_full
test_sse1_full
2015-06-09 17:27:41 -07:00
Jukka Jylänki edd7ac14ff Add full test of SSE1 API, currently disabled due to same reasons as test_sse1. 2015-06-10 01:23:26 +03:00
Alon Zakai de5ed239bd 1.33.2 2015-06-08 18:01:07 -07:00
Alon Zakai c8696d4126 do not evaporate a necessary ; symbol when minifying after an if #3520 2015-06-08 17:59:56 -07:00
Alon Zakai 19f7e03f1a DEBUGGING option for native optimizer 2015-06-08 17:36:59 -07:00
Alon Zakai ffe928eb34 Merge pull request #3518 from weitjong/handle-dash-M-similar-to-dash-E
Handle '-M' and '-MM' compiler flags similar to '-E'.
2015-06-05 21:03:28 -07:00
Yao Wei Tjong 姚伟忠 b294035510 Handle '-M' and '-MM' compiler flags similar to '-E'. 2015-06-06 12:01:39 +08:00
juj 90fc015941 Merge pull request #3492 from Daft-Freak/AL_EXT_float32
add support for AL_EXT_float32
2015-06-05 14:02:56 +03:00
Alon Zakai da9c47b8b8 comment on node/nodejs #3517 2015-06-04 13:32:24 -07:00
Alon Zakai 55290308f7 Merge pull request #3510 from philippwiesemann/fix-site-typos
Fix typos in documentation
2015-06-04 10:16:32 -07:00
Alon Zakai 4816fceb22 Merge pull request #3514 from waywardmonkeys/fix-typos
Fix a couple of comment typos.
2015-06-04 10:11:42 -07:00
Bruce Mitchener e475bd2390 Fix a couple of comment typos. 2015-06-04 21:40:16 +07:00
Philipp Wiesemann e113a61897 Fix typos in documentation 2015-06-04 11:09:52 +02:00
Philipp Wiesemann fee08b9e03 Fix typos in documentation 2015-06-04 11:09:40 +02:00
Alon Zakai e12d23b06d make other.test_emterpreter profiling test more lenient 2015-06-03 10:07:10 -07:00
Charlie Birks bde00a3fcb add support for AL_EXT_float32 2015-06-03 12:36:12 +01:00
Jukka Jylänki 92094e41a6 Bump version to 1.33.1 after the pthreads merge. 2015-06-03 03:12:12 +03:00
juj 6dc579b94d Merge pull request #3266 from juj/pthreads
Pthreads
2015-06-03 03:09:26 +03:00
Alon Zakai f57b587eec Merge pull request #3485 from mosra/webgl-shader-info-log
Don't replace empty (non-null) shader compilation info log.
2015-06-01 12:20:59 -07:00
Vladimír Vondruš 10fa163106 Properly handle nulls instead of strings also in other shader functions. 2015-06-01 20:46:21 +02:00
Vladimír Vondruš 1075e43c17 Test that empty string is returned if shader compiles fine. 2015-06-01 20:12:06 +02:00
Vladimír Vondruš 58361191e2 Removed obsolete comments. 2015-06-01 20:10:50 +02:00
Vladimír Vondruš 2e9a5c5e01 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.
2015-06-01 18:54:02 +02:00
Jukka Jylänki 8c6d6f53fe 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. 2015-06-01 15:11:52 +03:00
Jukka Jylänki f87bd74eb4 Mark linker options for dynamic linking unsupported with -s USE_PTHREADS=1 (todo for later). 2015-06-01 15:11:51 +03:00
Jukka Jylänki 80c8aaea6a Comment long #if-#else-#endif chains in src/preamble.js for clarity. 2015-06-01 15:11:51 +03:00
Jukka Jylänki afe29000fc Restore missing test code in tests/test_browser.py that was removed in bad rebase. 2015-06-01 15:11:50 +03:00
Jukka Jylänki 03cf47e44d Apply coding conventions to pthreads: space after for(). 2015-06-01 15:11:50 +03:00
Jukka Jylänki e0cff8ccd6 Clean up -s USE_PTHREADS detection in emcc. 2015-06-01 15:11:49 +03:00
Jukka Jylänki 5399f2a318 Test that preprocessor define __EMSCRIPTEN_PTHREADS__ is actually present when building with pthreads enabled. 2015-06-01 15:11:49 +03:00
Jukka Jylänki fe15b39f30 Fix pthread_cleanup_push() to new API after rebase. 2015-06-01 15:11:48 +03:00
Jukka Jylänki 52072b4412 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. 2015-06-01 15:11:47 +03:00
Jukka Jylänki 914f0959a9 Fix test browser.test_pthread_create_pthread to close the test window once its done. 2015-06-01 15:11:47 +03:00
Jukka Jylänki c223827533 Abort compilation if PROXY_TO_WORKER=1 is attempted with USE_PTHREADS=1. 2015-06-01 15:11:46 +03:00
Jukka Jylänki ccafa0a39d Remove the -lpthread setting, and only use -s USE_PTHREADS=1 to have only one build and link flag for threads. 2015-06-01 15:11:46 +03:00
Jukka Jylänki 07213d713d Add support for asking the pthread warmup pool size at startup as well, useful for testing purposes. 2015-06-01 15:11:45 +03:00
Jukka Jylänki eba1d21540 Implement operator > for preprocessor. 2015-06-01 15:11:45 +03:00
Jukka Jylänki 204d37a705 Add a shallow test for emscripten_num_logical_cores(); functionality. 2015-06-01 15:11:44 +03:00
Jukka Jylänki f2c2340940 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. 2015-06-01 15:11:43 +03:00
Jukka Jylänki f11be16293 Add support for preprocessor #if < operation. 2015-06-01 15:11:43 +03:00
Jukka Jylänki 00c32b74d9 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. 2015-06-01 15:11:42 +03:00
Jukka Jylänki b3687b91fc Optimize emulated 64bit atomic ops by using a spinlock instead of pthread_mutex_lock. 2015-06-01 15:11:42 +03:00
Jukka Jylänki 29ecfadef1 Build pthread tests with -O3 to catch any potential optimizer interaction issues. 2015-06-01 15:11:41 +03:00
Jukka Jylänki c0304d5d01 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. 2015-06-01 15:11:41 +03:00
Jukka Jylänki 8ceb2b2474 Add testing of Emscripten intrinsics in the spinlock test. Fix test_pthread_mutex to pass the test params to compilation. 2015-06-01 15:11:40 +03:00
Jukka Jylänki a58c2fe0af Add emscripten_atomic_swap intrinsics. Add support for GCC __sync_lock_test_and_set() and __sync_lock_release(). 2015-06-01 15:11:40 +03:00