Alon Zakai
e22e4a8192
optimize redundant frounds in -O3
2014-02-11 15:24:42 -08:00
juj
1ba4722cda
Merge pull request #2117 from juj/scriptprocessornode
...
Implement SDL audio buffer queueing to use Web Audio ScriptProcessorNode.
2014-02-12 00:59:09 +02:00
Jukka Jylänki
75f82f6157
Implement SDL audio buffer queueing to use Web Audio ScriptProcessorNode in the special case when the requested SDL_OpenAudio sampling rate matches the Web Audio graph native sampling rate. Using ScriptProcessorNode should have the benefit that it pulls audio buffer updates with better granularity/precision than using setTimeout, which suffers from too much jitter (even spikes as long as 230msecs seen).
2014-02-12 00:58:28 +02:00
Sami Vaarala
881246b902
update authors
2014-02-11 23:06:05 +02:00
Alon Zakai
64ce336884
Merge branch 'incoming' of github.com:mgerhardy/emscripten into incoming
...
Conflicts:
src/library_sdl.js
2014-02-11 11:56:35 -08:00
Alon Zakai
8a5ba3478c
refactor mouse wheel handling code to be shared across SDL, glfw, glut
2014-02-11 11:27:19 -08:00
Alon Zakai
5c53a8fe91
update test_safe_dyncalls
2014-02-11 10:06:13 -08:00
Sami Vaarala
2e3310f64e
escape curly braces in regexps for more portability (unescaped curly braces are technically a SyntaxError in Ecmascript E5/E5.1)
2014-02-11 17:14:59 +02:00
Alon Zakai
f1bba83e5e
Merge pull request #2091 from sunfishcode/incoming
...
Use -mllvm -disable-llvm-optzns.
2014-02-10 21:11:01 -08:00
Alon Zakai
99634e2340
NO_EXIT_RUNTIME option, to set Module.noExitRuntime during compilation
2014-02-10 18:22:14 -08:00
Alon Zakai
6e77a01fab
keep runtime alive if workers are called
2014-02-10 18:20:54 -08:00
Alon Zakai
0ddbe59d2a
keep runtime alive if we call async_prepare*
2014-02-10 17:55:32 -08:00
Alon Zakai
e6296aec6e
don't forget to set ai_next in getaddrinfo, and use emcc in test_getaddrinfo as it now needs libc
2014-02-10 16:53:59 -08:00
Dan Gohman
bf2ff7290a
Handle while statements with empty bodies.
...
When a while statement body is empty, it contains an empty block with no
statement list.
2014-02-10 16:40:31 -08:00
Dan Gohman
5afcd4860e
Suppress useless warnings in the tests.
...
The tests are intentionally adding absolute include paths, so add
-Wno-warn-absolute-paths to suppress warnings about them.
2014-02-10 16:40:31 -08:00
Dan Gohman
6342cd7fbc
Use -mllvm -disable-llvm-optzns.
...
The -O options affect the clang front-end in a variety of ways, so allow
them to be passed through to clang. To disable just the optimization passes,
use -mllvm -disable-llvm-optzns.
2014-02-10 16:40:31 -08:00
Alon Zakai
72c1b9a2f9
add stub for mkport in non-webrtc
2014-02-10 16:22:33 -08:00
Alon Zakai
9f5bf4f46f
fix typo in exceptions code
2014-02-10 16:18:43 -08:00
Alon Zakai
8ecdd98e50
fix fake _ZTISt9exception
2014-02-10 16:15:33 -08:00
Alon Zakai
dea258716e
add aborting stubs in main modules, and replace them with functions from side modules
2014-02-10 15:48:47 -08:00
Alon Zakai
b5f9734ee9
Merge pull request #2071 from rfk/rfk/fix-test-longjmp-throw-asm3
...
Fix asm3.test_longjmp_throw
2014-02-10 15:16:53 -08:00
Alon Zakai
ed896c9c00
Merge pull request #2099 from waywardmonkeys/upstream-from-imvu
...
Upstream from imvu
2014-02-10 15:16:14 -08:00
Alon Zakai
8eb52e34be
Merge pull request #1408 from rfk/move-std-fds
...
Make stdin/stdout/stderr be 0/1/2 per standard posix convention
2014-02-10 15:16:03 -08:00
Alon Zakai
4fa378ac9f
add more slack to test_sdl_canvas_alpha
2014-02-10 13:53:51 -08:00
Alon Zakai
f094c985b3
fix glGetTexParameter; fixes #2112
2014-02-10 13:52:15 -08:00
Alon Zakai
39278a5af2
comment on test suite debugging
2014-02-10 13:35:55 -08:00
Alon Zakai
4bdc1c2d1d
validate as asm.js in fastcomp -O1 and above, not -O0 output which is very unoptimized
2014-02-10 10:15:05 -08:00
Alon Zakai
9bd809a49c
make ALL work properly on fastcomp
2014-02-10 10:11:38 -08:00
Alon Zakai
079f019c35
detect .C as c; fixes #2109
2014-02-09 20:26:35 -08:00
Alon Zakai
dae556e5aa
Merge pull request #2084 from amatus/push-upstream
...
Remove _-prefix from in6addr_*
2014-02-09 20:19:01 -08:00
Alon Zakai
35b3ab1920
add missing multibyte/internal.c in musl
2014-02-09 19:25:22 -08:00
Alon Zakai
d7b706c3e2
manually define typeinfo for std::exception
2014-02-09 19:20:59 -08:00
Alon Zakai
3ab1e6e8b3
emit aborting stubs for all missing functions, not just in asm mode
2014-02-09 16:38:19 -08:00
Alon Zakai
b5f3e7a670
improve gl function copying code
2014-02-09 16:36:28 -08:00
Alon Zakai
97a464a654
override emscripten_ versions of gl funcs when gl emulation kicks in
2014-02-09 15:34:11 -08:00
Alon Zakai
ab1ea19af2
deprecate --split option and disable browser tests using it in fastcomp
2014-02-09 14:50:42 -08:00
Alon Zakai
72c0b9e5c7
map gl functions to emscripten_ versions to avoid collisions, and to work in fastcomp
2014-02-09 14:48:01 -08:00
Alon Zakai
9faadeb8a4
enable legacy gl emulation in fastcomp
2014-02-09 11:52:02 -08:00
Alon Zakai
6cdd740537
resolve gl aliases directly, simpler for fastcomp
2014-02-09 11:51:45 -08:00
Alon Zakai
95a8957ce7
enable test_sdl_audio_beeps in fastcomp
2014-02-09 11:48:00 -08:00
Alon Zakai
4729a9bf98
handle unknown shader compilation bugs a little better
2014-02-09 11:34:24 -08:00
Alon Zakai
b5044fc04c
add -O1 testing to browser.test_cubegeom_proc
2014-02-09 10:29:13 -08:00
Alon Zakai
475548d8c3
move emscripten_GetProcAddress to a C library, so that it is less hackish and can work in fastcomp
2014-02-09 10:22:26 -08:00
Alon Zakai
b3ab733682
system libs fixes
2014-02-08 20:31:56 -08:00
Alon Zakai
2ab9b016dc
add test for getProcAddress that requires we allow collisions in the main namespace with gl* functions
2014-02-08 19:44:38 -08:00
Alon Zakai
157f3151a4
move system libs calculation to its own file
2014-02-08 12:14:56 -08:00
Alon Zakai
7ec33d39d7
test for eglGetProcAddress
2014-02-07 19:00:11 -05:00
Alon Zakai
2c1fbefac1
TODO
2014-02-07 16:45:33 -05:00
Alon Zakai
4a2e11d8d4
move deps info to file
2014-02-07 16:43:18 -05:00
Alon Zakai
94c4724ebf
make sdl malloc hack nicer, and improve back deps trick
2014-02-07 13:45:15 -05:00