Alon Zakai
3136112a00
proper fix for simplifying f32-int bitcasts
2014-02-03 23:38:50 -05:00
Alon Zakai
b6782ad900
handle fround in optimizing out of tempDoublePtr
2014-02-03 22:12:41 -05:00
Alon Zakai
9ce41213fd
fix wrapper coercions on floats in fastcomp
2014-02-03 19:20:20 -05:00
Alon Zakai
2d106105d1
support for floats in fastcomp
2014-02-03 16:33:20 -05:00
Alon Zakai
0e12ac57ce
disable tests/cases/funcptr.ll in fastcomp, as it is invalid ir (contains a load for a constnat address, which should segfault
2014-02-03 12:52:30 -05:00
Alon Zakai
9a79e796de
sscanf fix and test fix
2014-02-03 12:01:24 -05:00
Alon Zakai
3700ece5eb
comment
2014-02-02 22:55:26 -05:00
Alon Zakai
e9205ea395
enable postset counting code in fastcomp on asm1.test_cubescript
2014-02-02 18:08:43 -08:00
Alon Zakai
d9b630da89
enable test_intentional_fault in all fastcomp modes
2014-02-02 17:47:56 -08:00
Alon Zakai
21d1e49088
comments
2014-02-02 17:37:17 -08:00
Alon Zakai
1341770f17
parse exports from fastcomp, and enable test_llvm_used
2014-02-02 17:35:43 -08:00
Alon Zakai
60e3e4622a
enable test_segfault in fastcomp
2014-02-02 17:08:41 -08:00
Alon Zakai
a3632a129d
support EXCEPTION_CATCHING_WHITELIST in fastcomp
2014-02-02 17:07:37 -08:00
Alon Zakai
23892d2256
add some X11 headers
2014-02-02 15:10:56 -08:00
Alon Zakai
8ecf74ef02
enable tests/cases/uadd_overflow_ta2 in fastcomp
2014-02-02 14:48:46 -08:00
Anthony Pesch
e057f87907
fix for FS.utime parameters
2014-02-01 20:37:01 -08:00
Anthony Pesch
62ca84aced
move automatic OES_standard_derivatives enabling behind LEGACY_GL_EMULATION define
2014-02-01 20:28:15 -08:00
Alon Zakai
737de35442
make sure RAND_MAX is a proper value
2014-02-01 16:49:00 -08:00
Ryan Kelly
0dbab8bac7
Differentiate between file pointers and file descriptors.
2014-02-02 10:26:03 +11:00
Ryan Kelly
dd5c0f51c7
Use standard fds of 0,1,2 rather than 1,2,3
2014-02-02 10:26:03 +11:00
Ryan Kelly
fa4f485716
Simplify labelled-block handling so it works better with switch statements.
2014-02-02 08:50:09 +11:00
Ryan Kelly
47288a40ac
Handle non-breaking case bodies in switch statement.
...
These don't actually flow through to the next case, but we have to
make sure they're properly closed in order to keep our invariants
in order.
2014-02-02 08:49:42 +11:00
Jukka Jylänki
f5c957b289
Only skip emscripten_log test on SpiderMonkey in asm.js modes, since the test fails due to asm.js execution in SpiderMonkey not being able to retrieve callstacks. Add link to relevant bugzilla entry. Closes #1970 .
2014-02-01 10:30:45 +02:00
Alon Zakai
53af8ab2eb
comment
2014-01-31 16:21:10 -08:00
Alon Zakai
8a6bb8d78f
option to allow modifying code before executing it
2014-01-31 15:59:23 -08:00
Jukka Jylänki
6fef13ad3c
Fix indentation in the comments added in the previous commit.
2014-02-01 00:57:50 +02:00
Jukka Jylänki
6dba7fa0d7
Restrict touch events to not run deferred fullscreen+pointerlock requests due to security implications. Mark down related bugzilla entry.
2014-02-01 00:44:26 +02:00
Jukka Jylänki
506dcd83d6
Add support for detecting whether screen orientation lock succeeds or fails. Current testing suggests that Firefox Nightly on Android does not support orientation lock. See https://bugzilla.mozilla.org/show_bug.cgi?id=966480 .
2014-02-01 00:02:18 +02:00
Alon Zakai
f70fd0ef85
Merge pull request #2079 from inolen/fs_unmount
...
fs unmount support
2014-01-31 11:13:26 -08:00
Alon Zakai
c326a24f77
make sure rand() returns values only up to RAND_MAX; #1855
2014-01-31 11:06:14 -08:00
Alon Zakai
5c35062c00
further fix for #1407
2014-01-31 10:59:40 -08:00
Ryan Kelly
b175281cb1
Teach buildFlowGraph about functions that are known to always throw.
...
It can treat calls to these functions like a jump to function exit,
allowing for more accurate tracking of dead junctions.
2014-01-31 19:12:10 +11:00
Ryan Kelly
26900e3bd6
Don't let buildFlowGraph return to a junction if it's known to be unreachable.
2014-01-31 19:12:10 +11:00
Ryan Kelly
2ca9e8491f
Add return-type tracking to normalizeAsm/denormlizeAsm
2014-01-31 19:12:10 +11:00
Alon Zakai
35ef551f44
headless fix
2014-01-30 17:28:08 -08:00
Alon Zakai
5ce6395824
mark new testcase as ta2-only
2014-01-30 15:14:32 -08:00
Anthony Pesch
e431e3d0e7
added basic unmount support
...
don't emit syncfs callback multiple times
error when mounting to an existing mountpoint
2014-01-30 14:58:35 -08:00
Alon Zakai
4f531c5d19
Merge pull request #2080 from inolen/idbfs_updates
...
idbfs updates
2014-01-30 14:30:00 -08:00
Alon Zakai
2aa3348694
asmify rand
2014-01-30 14:20:58 -08:00
Alon Zakai
602d114eaa
asmify rand_r
2014-01-30 14:07:01 -08:00
Alon Zakai
c14cab62df
use Math.imul in rand_r
2014-01-30 14:02:14 -08:00
Alon Zakai
64d52bf363
use all 32 bits in rand_r
2014-01-30 14:01:54 -08:00
Alon Zakai
90e12f496f
misc cleanups
2014-01-30 13:53:16 -08:00
Alon Zakai
00ebebfd6c
Merge branch 'rand' of github.com:coolwanglu/emscripten into incoming
2014-01-30 13:46:31 -08:00
Alon Zakai
5cae031ff9
fix exceptions whitelist check on invoke using function pointer; fixes #2081
2014-01-30 12:23:27 -08:00
Alon Zakai
f7566449e9
add fuzz testcase
2014-01-30 11:28:59 -08:00
Alon Zakai
7b902a5a44
improve fuzzing setup
2014-01-30 11:21:59 -08:00
Anthony Pesch
65184b40ec
don't leak streams in readFile and writeFile
...
don't invoke multiple callbacks when idbfs sync errors
added canOwn option to writeFile
updated idbfs sync to specify canOwn when writing to the local fs
reworked idbfs sync to use an index with openKeyCursor to avoid deserializing all values when getting the set members
2014-01-30 09:47:21 -08:00
Alon Zakai
25252c1c65
make emlink.py executable
2014-01-29 18:18:14 -08:00
Alon Zakai
a01edb0254
Merge pull request #2077 from inolen/enable_udp
...
enable UDP tests in socket tests
2014-01-29 17:08:13 -08:00