Alon Zakai
c21b740250
fix default test runner mode, need to force ASM_JS to 2 now that emcc allows changing it as well
2014-12-10 17:57:55 -08:00
Alon Zakai
f9a12e9105
convert more of registerizeHarder
2014-12-10 17:42:42 -08:00
Alon Zakai
de0081733e
Merge pull request #3067 from usagi/fix-3066-glfwGetCursorPos
...
Fix 3066 glfw get cursor pos
2014-12-10 17:15:50 -08:00
Alon Zakai
56736de585
Merge pull request #3068 from waywardmonkeys/disable-warning-when-asm-js-validation-already-disabled
...
Disable warning when asm.js validation is already disabled.
2014-12-10 17:11:16 -08:00
Alon Zakai
22b10d3def
handle in html5.h the fact that document, like window, does not have getBoundingClientRect; fixes #3060
2014-12-10 17:05:44 -08:00
Alon Zakai
fc4ede0e20
Merge pull request #3069 from gogoprog/patch-2
...
Fixed wrong variable declaration in library_sdl.js
2014-12-10 16:52:30 -08:00
Alon Zakai
041f6b6751
continue on registerizeHarder
2014-12-10 15:50:28 -08:00
Alon Zakai
d1b2e1ea4f
add test for #3059
2014-12-10 15:26:15 -08:00
Alon Zakai
c2226b1afc
fix glfwEnable|Disable, fixes #3059
2014-12-10 15:22:28 -08:00
Alon Zakai
9be2154364
more registerizeHarder work
2014-12-10 14:56:08 -08:00
Alon Zakai
b015fb39dc
more work on registerizeHarder
2014-12-10 14:22:13 -08:00
Alon Zakai
5e32b716b0
refactoring in preparation for conversion of registerizeHarder
2014-12-10 13:34:21 -08:00
Chad Austin
aa220c4073
Merge pull request #3072 from pwnall/vector_resize_fix
...
Make resize in std::vector bindings not assume a default constructor.
2014-12-10 12:23:42 -08:00
Alon Zakai
a0b4d341ab
1.27.2
2014-12-10 11:14:59 -08:00
Alon Zakai
c72c8d8fd9
fix -disable-vectorize bug with -Os and -Oz
2014-12-10 10:14:54 -08:00
Victor Costan
5e7e1ae50e
Make resize in std::vector bindings not assume a default constructor.
...
This change uses the std::vector::resize variant that takes a value
argument and uses it if the vector needs to be extended. The previous
attempt of adding resize used the 1 argument version, which required
that the vector's element type has a default constructor.
2014-12-10 13:04:51 -05:00
Gauthier Billot
c59dab8d49
Fixed wrong variable name in library_sdl.js
2014-12-10 14:13:14 +01:00
Bruce Mitchener
c884a4be5f
Set ASM_JS default prior to processing command line.
...
This lets the user set ASM_JS to 2 and avoid a warning if they
also set ALLOW_MEMORY_GROWTH.
2014-12-10 15:06:04 +07:00
Bruce Mitchener
84bbf2a6e2
Disable warning when asm.js validation is already disabled.
...
When ASM_JS is already 2, no need to warn about allowing memory growth
as the user must have known about this and set ASM_JS to 2.
2014-12-10 14:50:31 +07:00
Usagi Ito
2a3e84086e
fix #3066 glfwGetCursorPos parameter typing bug
...
1. fix `glfwGetCursorPos`(GLFW3 API):
- parameter type from 'i32' to 'double'.
2. add `GLFW.getMousePos`:
- `i32` version for GLFW2.
3. fix `glfwGetMousePos`(GLFW2 API):
- from call `GLFW.getCursorPos` to call `GLFW.getMousePos`
2014-12-10 13:32:10 +09:00
Alon Zakai
8d0d87ff54
Merge pull request #3064 from juj/gl_tex_formats_simplification
...
Gl tex formats simplification
2014-12-09 20:12:26 -08:00
Alon Zakai
c5a381e21a
improve js optimizer compilation error handling, and add comprehensive sanity test
2014-12-09 17:30:16 -08:00
Jukka Jylänki
e8be727958
Skip test_sse1 for now, because of bugs #2840 , #3044 , #3045 , #3046 and #3048 (also see #3043 and #3049 )
2014-12-09 16:37:42 -08:00
Alon Zakai
ab6d2795d7
disable test_simd7 in emterpreter
2014-12-09 16:34:08 -08:00
Alon Zakai
d7f3090f0d
handle dot in traverseChildrenInExecutionOrder
2014-12-09 16:33:43 -08:00
Alon Zakai
ec2b1148f9
check for null statements in traverseChildrenInExecutionOrder
2014-12-09 15:36:12 -08:00
Alon Zakai
f51d2a6bc5
check carefully for existence of self; not present in all shells #3031
2014-12-09 12:56:14 -08:00
Chad Austin
39bab46945
Merge pull request #3062 from pwnall/vector_resize
...
Add resize to bindings generated by register_vector.
2014-12-09 11:59:18 -08:00
Alon Zakai
4f3ef9f298
Merge pull request #3057 from waywardmonkeys/skip-sanity-check
...
Provide a way to skip the sanity check.
2014-12-09 11:26:00 -08:00
Alon Zakai
40f03e71f2
Merge pull request #3061 from waywardmonkeys/fix-typos
...
Fix some typos.
2014-12-09 11:21:33 -08:00
Alon Zakai
3642f5c8a1
update cashew
2014-12-09 10:56:35 -08:00
Alon Zakai
6aa2006ad1
enable native optimizer only in fastcomp
2014-12-09 10:46:45 -08:00
Alon Zakai
28fca37357
assert on proper return code when running js or native optimizer
2014-12-09 10:45:04 -08:00
Bruce Mitchener
ed19562a35
Fix some typos.
2014-12-09 21:49:32 +07:00
Victor Costan
9e6a6e4942
Add resize to bindings generated by register_vector.
...
register_vector currently generates push_back, size, get, and set. This
is sufficient for growing vectors, but provides no way to delete
elements and shrink vectors. This change adds resize, which can be used
to shrink vectors.
2014-12-09 08:41:02 -05:00
Alon Zakai
4c0ee8607b
make test_webidl robust to stack start locations
2014-12-08 17:43:17 -08:00
Alon Zakai
c702b43fda
update cashew and stop building the no-longer-needed istring.cpp
2014-12-08 17:25:22 -08:00
Alon Zakai
5ce5d05031
update cashew
2014-12-08 17:04:57 -08:00
Alon Zakai
e802eefcb4
update cashew
2014-12-08 17:04:57 -08:00
Alon Zakai
cc64704eeb
Merge pull request #3038 from artillery/fix-webidl-domstring-leak
...
WebIDL: Do not allocate redundant storage for identical strings.
2014-12-08 16:27:40 -08:00
Alon Zakai
9f54b53ceb
Merge pull request #3054 from juj/always_performance_now
...
Always performance.now()
2014-12-08 16:07:04 -08:00
Alon Zakai
c2f6f7e6df
Merge pull request #3056 from waywardmonkeys/upstream-jshint-change
...
jshint
2014-12-08 16:02:17 -08:00
Dan Gohman
071128d419
Update the list of available SIMD functions
...
Add several more functions to the list of functions to import into
SIMD-using code.
2014-12-08 15:16:48 -08:00
Alon Zakai
ead96a4a8c
update cashew
2014-12-08 14:47:55 -08:00
Dan Gohman
8146b91980
Temporarily disable parts of test_sse1
...
Temporarily disable parts of test_sse1 which are broken by NaN
canonicalization in the polyfill.
2014-12-08 14:25:51 -08:00
Alon Zakai
a28d8d6f75
canonicalize some outliner generated nodes
2014-12-08 12:42:36 -08:00
Alon Zakai
90c35d2f59
fix some cases where js optimizer emits ['num', -string-]
2014-12-08 11:42:00 -08:00
Alon Zakai
56c658f2da
disable test_ccall in non-fastcomp, stack differences confuse the test
2014-12-08 11:26:57 -08:00
Alon Zakai
551d50938e
update cashew
2014-12-08 11:15:59 -08:00
Alon Zakai
11ee38e4af
support noop in native optimizer
2014-12-08 11:15:51 -08:00