Alon Zakai
a4fe86d808
fix js optimizer bug
2012-12-07 14:23:23 -08:00
Alon Zakai
335b2dafc6
registerizeAsm assertion
2012-12-07 14:23:23 -08:00
Alon Zakai
794db52e31
fix loop register replenishing
2012-12-07 14:23:23 -08:00
Alon Zakai
28fbac595b
registerizeAsm
2012-12-07 14:23:23 -08:00
Alon Zakai
01abee3ccd
add registerizeAsm testcase
2012-12-07 14:23:22 -08:00
Alon Zakai
93873761b2
fix typo
2012-12-07 14:23:22 -08:00
Alon Zakai
caac7d8c96
do not emit empty vars in denormalizeAsm
2012-12-07 14:23:22 -08:00
Alon Zakai
3a56e5d5cf
make eliminateAsm test be correct asm.js
2012-12-07 14:23:22 -08:00
Alon Zakai
bd9c3093f9
add normalize/denormalizeAsm to js optimizer, fix eliminator for asm
2012-12-07 14:23:22 -08:00
Alon Zakai
61a8933a8d
add asmEliminator testcase
2012-12-07 14:23:22 -08:00
Alon Zakai
e6b1e5e6a6
typo
2012-12-07 14:23:20 -08:00
Alon Zakai
3c642441a9
do registerize in asm.js+reloop mode, as an alternative to closure
2012-12-07 14:23:20 -08:00
Alon Zakai
1b591a0b0c
add eliminator mode for asm
2012-12-07 14:23:19 -08:00
Alon Zakai
ffe92eb41e
add asm.js eliminator testing
2012-12-07 14:23:19 -08:00
Alon Zakai
887ef685cd
notice function indentation in js_optimizer.py so that we properly scan indented code in asm.js
2012-12-07 14:23:18 -08:00
Alon Zakai
eac1c0b2bf
fix suffix in js optimizer
2012-12-07 14:23:18 -08:00
Alon Zakai
b0b611c9f7
add parts of system bitcode libraries when necessary, and refactor library inclusion decision code
2012-12-07 12:32:49 -08:00
Alon Zakai
4d7c5e7039
recursively traverse .a files until we have all we need
2012-12-04 14:54:52 -08:00
Alon Zakai
2817d5ac55
only add in .o inside .a that are needed
2012-12-04 11:54:07 -08:00
Alon Zakai
3aa07e9f4e
use hashlib instead of md5
2012-11-26 18:23:01 -08:00
Alon Zakai
65adacd99c
notice generated functions with $ in them
2012-11-22 19:34:22 +01:00
Alon Zakai
5574093577
fix test_js_optimizer
2012-11-22 19:17:22 +01:00
Alon Zakai
f827c32ce7
fix bug in js optimizer on closured data
2012-11-22 17:48:10 +01:00
Alon Zakai
09c376afee
fix ll func identifying for chunking purposes, and add testing of jcache on a large program
2012-11-22 15:15:00 +01:00
Alon Zakai
bafab997bd
more carefully split out functions in js optimizer
2012-11-22 12:40:03 +01:00
Alon Zakai
bb463d84a9
assert on generatedFunctions being there when we need it
2012-11-22 10:39:31 +01:00
Alon Zakai
be73e8c91f
more jcache testing, and add newlines to ensure chunk separation
2012-11-21 21:58:34 +01:00
Alon Zakai
e385931c50
finish js optimizer caching and add tests
2012-11-21 21:27:05 +01:00
Alon Zakai
9ec292c78a
basic logic of jcache in js optimizer
2012-11-21 20:47:02 +01:00
Alon Zakai
e89eecc6cd
use chunkify in js optimizer, in preparation for jcaching
2012-11-21 20:47:02 +01:00
Alon Zakai
3a048d9e58
cache emscript function chunks
2012-11-21 20:47:02 +01:00
Alon Zakai
6f679ca7e7
return chunks of text in chunkify to simplify the ap-iy
2012-11-21 20:47:02 +01:00
Alon Zakai
b263a4003a
fix chunking logic to generate >1 chunk
2012-11-21 20:47:02 +01:00
Alon Zakai
60a11cfaec
improve chunkify to consider previous chunkings when caching
2012-11-21 20:47:02 +01:00
Alon Zakai
a2b241e70b
refactor chunking code and add function ident information
2012-11-21 20:47:02 +01:00
Alon Zakai
e4aa21f08a
fix and test pre caching
2012-11-21 20:47:01 +01:00
Alon Zakai
8fce64dd18
basic jcache on pre with files+cPickle
2012-11-21 20:47:01 +01:00
Alon Zakai
6af60b7137
add more caching logic including short vs full keys
2012-11-21 20:47:01 +01:00
Alon Zakai
58e00ebddf
basic logic and stubs for caching pre phase
2012-11-21 20:47:01 +01:00
Alon Zakai
f199880bb1
set up parameter passing for jcache
2012-11-21 20:47:01 +01:00
Alon Zakai
d54af79b81
prevent annoying warnings during relooper bootstrapping
2012-11-15 11:56:04 -08:00
Alon Zakai
2d96055336
clean up test.ll
2012-11-14 18:50:57 -08:00
Jukka Jylänki
f5dd729eb2
Fix typo in WindowsPopen.kill(). Avoid using returncode variable manually, but just route through poll() instead.
2012-11-14 13:16:33 +02:00
Jukka Jylänki
5ec613c59d
Refactor Windows replacement for Popen to allow passing stdin to Popen process, and poll() and kill(). Fixes tests other.test_fix_closure and other.test_warn_undefined on Windows.
2012-11-14 13:00:36 +02:00
Jukka Jylänki
e20dbc1074
Implement missing used functions on MockPopen to pass Windows tests utilizing timeout_run().
2012-11-14 08:50:11 +02:00
Alon Zakai
f1b8f8f1b4
only save temp files in EMCC_DEBUG_SAVE mode
2012-11-13 17:49:57 -08:00
Alon Zakai
7453def33e
Merge pull request #703 from juj/cmake
...
Cmake support.
2012-11-13 13:32:41 -08:00
Alon Zakai
8263e2377f
headless option
2012-11-13 11:27:22 -08:00
Jukka Jylänki
075317782e
Rename CallProcess to call_process.
2012-11-13 08:00:32 +02:00
Jukka Jylänki
098a94a578
On Windows, depending on the version of make, these calls have been observed to fail with a "WindowsError: [Error 6] The handle is invalid", so be loud about it when this occurs. For more information, see http://bugs.python.org/issue3905 . Implement a workaround to Popen to avoid this issue.
2012-11-12 22:28:22 +02:00
Jukka Jylänki
b8b117d434
Don't silently suppress received exceptions inside shared.building.is_ar and shared.building.is_bitcode functions, but print information about them before returning False. On Windows, depending on the version of make, these calls have been observed to fail with a "WindowsError: [Error 6] The handle is invalid", so be loud about it when this occurs. For more information, see http://bugs.python.org/issue3905 .
2012-11-12 21:14:38 +02:00
Alon Zakai
1bc86fdeb8
alter version to bootstrap relooper
2012-11-11 12:26:16 -08:00
Alon Zakai
72e1ce8b4b
use internal relooper sources
2012-11-11 10:18:20 -08:00
Alon Zakai
795bcc6e76
clear cache and run sanity checks on version bumps, this will help with relooper updates etc.
2012-11-10 20:05:19 -08:00
Alon Zakai
0a8dc20dfa
disable closure on relooper - no noticeable speedup, but inlining causes some stack overflows on large projects
2012-11-10 16:08:33 -08:00
Alon Zakai
1d3c282353
make sure to fail if relooper bootstrap failed
2012-11-10 15:12:52 -08:00
Alon Zakai
acbf809a3c
bootstrap relooperautomatically
2012-11-10 14:37:15 -08:00
Alon Zakai
ca34054b84
fix crash in js optimizer
2012-11-08 18:31:06 -08:00
Alon Zakai
1b0215b9bd
rename __label__ => label
2012-11-08 18:26:19 -08:00
Alon Zakai
4adbd50104
notice NODE env var in .emscripten by default
2012-11-08 11:08:39 -08:00
Alon Zakai
1ce3d883f1
Merge pull request #676 from Blechhirn/SplitFix
...
Fix splitting on case-insensitive file systems
2012-11-08 10:01:04 -08:00
Alon Zakai
404eed6c23
less debug output in js optimizer
2012-11-06 18:01:37 -08:00
Alon Zakai
c5da6d2ed4
save temp files in EMCC_DEBUG mode
2012-11-06 11:12:12 -08:00
Manuel Wellmann
89c12e9da6
Fix splitting on case-insensitive file systems
2012-11-06 10:23:15 +01:00
Jukka Jylänki
cae69c43a7
Add another loud error message containing the actual command line when calling make in shared.py.
2012-11-06 00:20:10 +02:00
Jukka Jylänki
1263a59438
If configure in shared.py fails with an exception, print out the command line that was attempted.
2012-11-05 23:57:27 +02:00
Alon Zakai
3af6cf7980
simplify default settings
2012-11-04 10:31:25 -08:00
Alon Zakai
345f0b4022
handle windows line endings in js optimizer splitting
2012-11-04 07:53:35 -08:00
Alon Zakai
b2052b1f3a
log out js optimizer split sizes
2012-11-03 22:15:29 -07:00
Alon Zakai
b5b211ebbb
fix exit code on sanity fails
2012-11-03 12:35:54 -07:00
Alon Zakai
0a8eb75c78
tell closure its input is ECMASCRIPT5
2012-10-30 17:19:43 -07:00
Alon Zakai
3e34ab9ba6
define LDSHARED, useful in zlib configure
2012-10-29 17:24:36 -07:00
Alon Zakai
fd223726a4
eliminate variables that have no uses but their definition has side effects
2012-10-29 16:49:42 -07:00
Alon Zakai
9025c62412
re-enable parallelization of js optimizer on windows
2012-10-29 11:01:16 -07:00
Alon Zakai
f89de127b6
do not use process pool for js optimizer when not enough cores or on windows (issue 663)
2012-10-29 10:55:26 -07:00
Alon Zakai
3e8911fb22
make js optimizer detection of generated functions marker more robust
2012-10-28 21:24:30 -07:00
Alon Zakai
d20e28258f
remove unneeded import
2012-10-28 18:27:27 -07:00
Alon Zakai
2c05adf815
split out js_optimizer python portion into an independent module
2012-10-28 18:25:35 -07:00
Alon Zakai
557b00a6f0
refactor js optimizer caller a little
2012-10-28 14:00:39 -07:00
Alon Zakai
b1989519a9
add memory-growth safe eliminator mode
2012-10-27 19:41:38 -07:00
Alon Zakai
9d24510224
flip associative binaries when safe to do so for elimination purposes
2012-10-27 17:44:52 -07:00
Alon Zakai
bdeaabb263
eliminate into returns
2012-10-27 17:15:51 -07:00
Alon Zakai
a4e8b5f5fc
update eliminator test to latest optimizations
2012-10-27 16:32:54 -07:00
Alon Zakai
d235a6aefe
eliminator docs
2012-10-27 16:24:02 -07:00
Alon Zakai
a4b7fbc550
eliminate into one-time do-while loops
2012-10-27 14:54:51 -07:00
Alon Zakai
8b0dd45451
add eliminator testcase
2012-10-27 14:30:01 -07:00
Alon Zakai
00497b25cb
note function arguments as locals
2012-10-27 13:00:56 -07:00
Alon Zakai
9538f033ec
add more aborting nodes in eliminator
2012-10-27 10:14:48 -07:00
Alon Zakai
becd49dbe7
abort scanning on unfamiliar eliminator nodes
2012-10-27 10:08:09 -07:00
Alon Zakai
62df681398
do not scan into while
2012-10-27 10:05:01 -07:00
Alon Zakai
cb9b1db479
handle more nodes in eliminator scanning
2012-10-27 09:54:09 -07:00
Alon Zakai
cc915c2b9f
ignore return in eliminator
2012-10-27 09:44:42 -07:00
Alon Zakai
931ef13779
support seq in eliminator
2012-10-27 09:39:55 -07:00
Alon Zakai
2f51caf9b6
fix eliminator test, now passes
2012-10-27 09:34:34 -07:00
Alon Zakai
1800e63021
only invalidate calls when reading a global
2012-10-27 09:29:05 -07:00
Alon Zakai
4d4114dc43
invalidate by dep in vars
2012-10-26 21:28:20 -07:00
Alon Zakai
3057c5b50e
partial rewrite for v3 of eliminator aka expressionizer
2012-10-26 21:21:57 -07:00
Alon Zakai
c99f5607a3
ignore previously-generated empty toplevels in eliminator, which happens when we bundle passes together
2012-10-26 18:29:23 -07:00
Alon Zakai
3a10137718
add failing eliminator testcase
2012-10-26 17:37:40 -07:00
Alon Zakai
9361664409
remove unGlobalize tests and update others
2012-10-26 17:30:48 -07:00
Alon Zakai
3ed62c97c6
do not emit multiple EMSCRIPTEN_GENERATED_FUNCTION markers in split js files
2012-10-26 16:52:12 -07:00
Alon Zakai
1123478a26
parallelize inside js optimizer passes, using all cpu cores
2012-10-26 16:45:30 -07:00
Alon Zakai
818520b1f0
fail on trying to split up js optimizer on unGlobalize
2012-10-26 14:55:09 -07:00
Alon Zakai
ff52d17836
eliminator todo
2012-10-26 11:24:05 -07:00
Alon Zakai
842b975052
be careful about tracking when there is a var multiple with a call
2012-10-26 10:43:09 -07:00
Alon Zakai
bf584e263c
invalidate call elimination when we see something it might modify (a global or memory, reads and not just writes
2012-10-26 10:00:50 -07:00
Alon Zakai
8057526b5b
add failing eliminator testcase
2012-10-25 21:26:16 -07:00
Alon Zakai
74fcbe26d5
add no-unsigned malloc test for eliminator
2012-10-25 18:18:28 -07:00
Alon Zakai
17c89bcff9
eliminate (carefully) into and through ifs
2012-10-25 17:56:07 -07:00
Alon Zakai
5f7e38826d
move dep invalidations clearing to correct position
2012-10-25 17:34:00 -07:00
Alon Zakai
99fb78d95d
fix eliminator test output to current optimizations
2012-10-25 16:14:08 -07:00
Alon Zakai
cd1bdf1621
restore limit_size
2012-10-25 16:00:23 -07:00
Alon Zakai
194a43696e
deoptimize test
2012-10-25 15:58:07 -07:00
Alon Zakai
757853dce3
invalidate elimination by dependencies after the current line
2012-10-25 15:56:04 -07:00
Alon Zakai
7990bd5316
track dependencies of variables we might eliminate
2012-10-25 15:50:56 -07:00
Alon Zakai
8973fc4a47
do not eliminate into the body/else of if - this is rarely important, and requires much more time and complexity to handle
2012-10-25 15:29:29 -07:00
Alon Zakai
c5d2ef67e1
fix handling of unremovable unused vars
2012-10-25 14:42:25 -07:00
Alon Zakai
0b7976a191
variables with no uses cannot be removed if their definition has side effects
2012-10-25 14:28:50 -07:00
Alon Zakai
b1eeb1ccda
eliminate in if nodes
2012-10-25 14:12:00 -07:00
Alon Zakai
056d7563e2
test fixes
2012-10-25 14:09:39 -07:00
Alon Zakai
3832d865fa
test fix
2012-10-25 14:07:11 -07:00
Alon Zakai
285e3b69a4
remove var x; of completely unused vars, and restore previous test cases
2012-10-25 14:05:54 -07:00
Alon Zakai
d66af7bc18
rewrite of eliminator to better approach
2012-10-25 13:55:24 -07:00
Alon Zakai
4ca8aa815f
note 'seq' (x,y,z) nodes as modifying control flow and invalidating elimination
2012-10-24 16:31:37 -07:00
Alon Zakai
e7e425b05f
fix eliminator bug where X[y] would take X into account for variable effects, preventing optimization
2012-10-23 19:46:40 -07:00
Alon Zakai
a79d6118ba
remove no longer needed coffeescript
2012-10-23 17:36:26 -07:00
Alon Zakai
94ee68349b
integrate eliminator as js optimizer pass
2012-10-23 17:35:37 -07:00
Alon Zakai
e3d2f0cced
include eliminator as js optimizer pass
2012-10-23 17:13:34 -07:00
Alon Zakai
49f0a1c935
remove unneeded js optimizer re-parse
2012-10-23 17:04:05 -07:00
Alon Zakai
e0e97a0f09
optimize newline removal in eliminator
2012-10-23 16:53:00 -07:00
Alon Zakai
260c7477bc
more misc eliminator optimizations
2012-10-23 16:35:44 -07:00
Alon Zakai
cdbbbac7b5
misc eliminator optimizations
2012-10-23 16:28:18 -07:00
Alon Zakai
84a4cd4557
tiny eliminator optimization
2012-10-23 16:18:40 -07:00
Alon Zakai
6ed650c5ed
simplify eliminator
2012-10-23 16:08:17 -07:00
Alon Zakai
6241ed9520
rewrite eliminator in js
2012-10-23 15:05:20 -07:00
Alon Zakai
ca0510b73a
add eliminator test
2012-10-22 17:26:24 -07:00
Alon Zakai
25c6032a58
check node version is at least 0.6.8, which is the first to not have v8 bug 1895; enable crankshaft in js optimizer for additional speed
2012-10-20 18:36:30 -07:00
Alon Zakai
67dcc1c8be
implement simplifyZeroComp js optimizer pass, not yet executed
2012-10-20 12:48:05 -07:00
Alon Zakai
6aa94b4052
restore workaround for v8 bug 1895
2012-10-20 09:11:07 -07:00
Alon Zakai
b71b928f16
fix closure error in file packager
2012-10-17 20:34:08 -07:00
Alon Zakai
a2b4acbd95
split up very large js files when passing them into js-optimizer and eliminator, to allow optimizing very large files without node hitting out-of-memory
2012-10-17 12:44:21 -07:00
Alon Zakai
255ffd7faa
remove unneeded node checks
2012-10-17 12:44:21 -07:00
Alon Zakai
30dd27f916
stop working around v8 bug 1985 which was fixed a while ago
2012-10-17 12:44:21 -07:00
Alon Zakai
768cdc3b91
allow changing java heap size for closure via JAVA_HEAP_SIZE env var
2012-10-17 12:44:21 -07:00
Alon Zakai
e5c06731b7
improve node autodetection
2012-10-17 12:43:59 -07:00
Riccardo Magliocchetti
3d14ede526
Don't explode in emconfigure if no args are passed
2012-10-17 12:43:59 -07:00
Alon Zakai
860cf61943
handle .a with identically named .o ; fixes #637
2012-10-14 12:39:24 -07:00
Alon Zakai
86c90950a8
update coffeescript to d8905e2f8799931013e227b869b1c6f6c85122f0
2012-10-13 18:44:15 -07:00
Alon Zakai
5a7de50f00
fix file paths with --embed, fixes #597
2012-10-01 11:02:01 -07:00
Alon Zakai
be253460d4
Merge pull request #594 from larsxschneider/lars/add-split-option
...
Add emcc option "--split <size>" to split javascript file.
2012-09-29 17:27:56 -07:00
Alon Zakai
c68516a808
note on file packager
2012-09-28 16:48:14 -07:00
Alon Zakai
8e6b210dcb
workaround for libcxx --std=c++11 issue
2012-09-28 13:53:54 -07:00
Alon Zakai
e546b42883
autoguess ~/.emscripten values on first run, possibly fixes #593
2012-09-26 12:30:46 -07:00
Alon Zakai
a7fdd2c63c
remove misleading top line in settings when copying it to ~/.emscripten
2012-09-26 11:55:23 -07:00
Alon Zakai
a11ff3b3ab
Merge pull request #581 from LCID-Fire/debian_clang_check
...
Extract check_clang_version into an own function and correct checking so...
2012-09-26 10:51:45 -07:00
Lars Schneider
0c33345f22
Add emcc option "--split <size>" to split javascript file.
...
Splits the resulting javascript file into pieces to ease debugging.
This option only works if Javascript is generated (target -o <name>.js).
Files with function declarations must be loaded before main file upon execution.
Without "-g" option:
Creates files with function declarations up to the given size with the suffix "_functions.partxxx.js" and a main file with the suffix ".js".
With "-g" option:
Recreates the directory structure of the C source files and stores function declarations in their respective C files with the suffix ".js". If such a file exceeds the given size, files with the suffix ".partxxx.js" are created. The main file resides in the base directory and has the suffix ".js".
2012-09-26 19:30:19 +02:00
Alon Zakai
c74da50989
add workaround for older node versions
2012-09-25 17:45:00 -07:00
Chad Austin
0bd9bff496
Support loading emscripten argument filenames with relative paths
2012-09-25 16:30:42 -07:00
LCID Fire
acd2e79863
Make check_clang_version return a bool value.
2012-09-26 00:51:41 +02:00
Alon Zakai
ac36f1a723
improve av workaround in file packager
2012-09-24 16:13:20 -07:00
Alon Zakai
a345373110
make with statement in shared.py work in python 2.6
2012-09-24 14:32:55 -07:00
Alon Zakai
b138f0d293
commented option to add verbose logging to make
2012-09-24 14:16:48 -07:00
Alon Zakai
0f67eac88b
fix python conventions
2012-09-24 12:59:03 -07:00
Alon Zakai
8447be68d8
Merge pull request #582 from LCID-Fire/build_error_output
...
Reworked `build_library`:
2012-09-24 12:58:07 -07:00
Alon Zakai
f8390d9665
better progress reporting with multiple datafile downloads
2012-09-24 12:27:57 -07:00
LCID Fire
f80aaf3f44
Reworked `build_library`:
...
- Prevent file handle leaking
- Print first error log when second build attempt fails (way easier to debug/analyze)
2012-09-23 18:59:28 +02:00
Alon Zakai
5c1d87ef5e
move settings.py to a less conspicuous place and rename it, to avoid confusion
2012-09-22 12:12:25 -07:00
LCID Fire
de2436e3d6
Extract check_clang_version into an own function and correct checking so it works with Debian, too.
...
Version string in Debian is: "Debian clang version"!
2012-09-22 18:00:20 +02:00
Alon Zakai
2fa04dc3af
add libcxxabi headers to include path
2012-09-21 18:23:58 -07:00
Alon Zakai
48fa032218
file packager docs
2012-09-21 17:15:32 -07:00
Alon Zakai
d54d63731d
Merge pull request #577 from LCID-Fire/scons_environment_path
...
Make EMSCRIPTEN_ROOT path available in Environment
2012-09-21 17:11:36 -07:00
Alon Zakai
be07a2e913
workaround in file packager for silly antivirus programs
2012-09-21 16:41:28 -07:00
Alon Zakai
04f0434322
use createPath in file packager to allow separate asset bundles to play nicely with shared folders
2012-09-21 16:00:01 -07:00
Alon Zakai
bee6e63d8d
allow loading multiple asset bundles / outputs of file packager
2012-09-21 15:40:08 -07:00
Alon Zakai
d265c70f48
closurize file packager output
2012-09-21 15:29:57 -07:00
LCID Fire
c76751c51f
Make EMSCRIPTEN_ROOT path available in Environment
2012-09-21 21:35:52 +02:00
Alon Zakai
8f019e3ef0
indentation fix
2012-09-18 10:47:47 -07:00
Alon Zakai
cf8941cf07
Merge pull request #569 from xrmx/llvmversion
...
Add ability to use versioned llvm binaries
2012-09-18 10:45:58 -07:00
Alon Zakai
9809b5ee76
fix pnow replay bug
2012-09-18 10:07:12 -07:00
Riccardo Magliocchetti
feb4433e07
Add ability to use versioned llvm binaries
...
Some distributions in order to have multiple version of the same
tool add the version to the binary. Teach emscripten about
an environment variable called LLVM_ADD_VERSION that add the version
to the binary when building its path.
This let me use emscripten on debian sid.
2012-09-18 19:06:55 +02:00
Alon Zakai
272887dc32
note on browser replay
2012-09-18 10:00:25 -07:00
Alon Zakai
4231ee1aec
add lineWidth to shell replay
2012-09-17 14:12:37 -07:00
Alon Zakai
5edb805b80
fix fullscreen/pointer lock events in shell replay
2012-09-17 14:01:21 -07:00
Alon Zakai
83c05137e9
adjust fake shell screen sizes
2012-09-17 13:16:39 -07:00
Alon Zakai
547a94ddf5
add some shell replay shims
2012-09-17 13:16:39 -07:00
Alon Zakai
c15aae947c
reproduceriter is now 'stable'
2012-09-15 11:15:35 -07:00
Alon Zakai
874289a99a
reproduceriter docs
2012-09-15 11:14:47 -07:00
Alon Zakai
7667ffacc9
implement performance.now more carefully in the shell replay
2012-09-14 16:22:49 -07:00
Alon Zakai
089cdbee64
refactor reproduceriter
2012-09-14 16:20:48 -07:00
Alon Zakai
fcad40c708
split out reproducerwriter shell
2012-09-14 15:48:16 -07:00
Alon Zakai
b661025312
navigator typo
2012-09-14 15:02:41 -07:00
Alon Zakai
0466a60b5b
remove some shell replay debug output
2012-09-14 14:59:48 -07:00
Alon Zakai
95bbfff0b1
split out reproduceriter js
2012-09-14 14:54:54 -07:00
Alon Zakai
b93ab85844
misc shell replay work; bananabread replay runs to completion
2012-09-14 14:45:36 -07:00
Alon Zakai
ee11601382
misc shell replay work; bananabread replay runs until main loop is idle
2012-09-14 12:28:22 -07:00
Alon Zakai
3420f5b44f
texture and imageData shims for shell replay
2012-09-14 12:01:23 -07:00
Alon Zakai
6dd517fb22
more webgl shims for shell replay
2012-09-14 11:54:28 -07:00
Alon Zakai
09baeebf0b
webgl shims for shell replay
2012-09-14 11:15:33 -07:00
Alon Zakai
711c1b7914
add some canvas shims for shell replay
2012-09-14 10:45:00 -07:00
Alon Zakai
53e90e915c
improve shell replay worker sandboxing
2012-09-14 10:37:53 -07:00
Alon Zakai
e8244f9491
do not consume randoms, dnows or pnows in 'workers' in shell replay
2012-09-13 18:06:56 -07:00
Alon Zakai
c6d27b59bd
magic jsoning for typed arrays in shell replay
2012-09-13 17:53:43 -07:00
Alon Zakai
5f140f2ce2
more debug in shell replay
2012-09-13 17:26:19 -07:00
Alon Zakai
1c993f99f1
clearer error message when a crucial llvm tool is missing, and force sanity checks in EMCC_DEBUG mode
2012-09-13 17:24:50 -07:00
Alon Zakai
62e2462acc
fix worker message passing in shell replay
2012-09-13 15:13:20 -07:00
Alon Zakai
c10c47d9cb
Image and URL support in shell replay
2012-09-13 14:59:13 -07:00
Alon Zakai
64a4241e29
basic BlobBuilder support in shell replay
2012-09-13 14:23:33 -07:00
Alon Zakai
46b2bbfd17
fix handling of multiple worker modules in shell replay
2012-09-13 13:56:32 -07:00
Alon Zakai
103314ffaf
make all temp files be in TEMP_DIR from ~/.emscripten
2012-09-12 18:59:58 -07:00
Alon Zakai
892cadaef4
debug prints in shell replay
2012-09-12 17:41:25 -07:00
Alon Zakai
abeb6e3752
shell replay fixes
2012-09-12 16:55:38 -07:00
Alon Zakai
de0baf2d2c
idle handling and other fixes for shell replay
2012-09-12 16:33:30 -07:00
Alon Zakai
3c45d72c1a
script loading in shell replay
2012-09-12 15:33:38 -07:00
Alon Zakai
c351a4faf3
Worker and misc fixes in shell replay
2012-09-12 15:24:56 -07:00
Alon Zakai
341ea63b6f
events and audio in shell replay
2012-09-12 14:31:52 -07:00
Alon Zakai
97bee9986d
fake timeouts in shell replay
2012-09-12 14:18:53 -07:00
Alon Zakai
29776fb77b
initial xhr support in reproduceriter shell
2012-09-12 12:32:48 -07:00
Alon Zakai
0e3266a04b
more dom in reproduceriter
2012-09-11 18:16:55 -07:00
Alon Zakai
9309a720c9
start to add dom shims for shell in reproduceriter
2012-09-11 17:13:55 -07:00
Alon Zakai
2c815155ae
use abspath in link() because we might chdir in the middle
2012-09-10 16:34:27 -07:00
Alon Zakai
f65c21c40a
show frame std dev in benchmarking
2012-09-10 14:25:52 -07:00
Alon Zakai
30c2b0e291
typo
2012-09-10 14:15:32 -07:00
Alon Zakai
3aff4a8198
reproduceriter fixes
2012-09-10 14:08:39 -07:00
Alon Zakai
5af206545f
improve infrastructure in reproduceriter
2012-09-10 12:54:41 -07:00
Alon Zakai
1a66b2dffd
save Date.now and performance.now in reproduceriter
2012-09-10 10:12:29 -07:00
Alon Zakai
5ec60ca0ee
call onFinish in reproduceriter
2012-09-07 17:48:23 -07:00
Alon Zakai
676de1e2be
make reproduceriter work on closured builds
2012-09-07 17:01:11 -07:00
Alon Zakai
05594a58bb
get replay working in reproduceriter
2012-09-07 14:51:30 -07:00
Alon Zakai
6c7346935e
fix reproduceriter event saving
2012-09-07 12:31:41 -07:00
Alon Zakai
a0dcbd89e8
fix recorderwriter recording bugs
2012-09-07 12:06:30 -07:00
Alon Zakai
050fd5e05b
fix reproduceriter regexping
2012-09-07 11:23:31 -07:00
Alon Zakai
25c6c44caf
reproduceriter fixes
2012-09-07 11:13:25 -07:00
Alon Zakai
35d03167db
complete initial writing of reproduceriter
2012-09-07 10:48:37 -07:00
Alon Zakai
ce5523f896
initial work on reproducer-rewriter
2012-09-06 18:23:41 -07:00
Benjamin Stover
00338e07d6
Bitshift optimizer anticipates fns with switches
...
Conflicts:
AUTHORS
2012-09-05 11:18:40 -07:00
Alon Zakai
f35fa61a20
disable precise i32 multiplication even in -O0: too slow
2012-08-25 14:10:09 -07:00
Alon Zakai
c14a675125
PRECISE_I32_MUL option for full precision in 32-bit multiply
2012-08-25 11:26:47 -07:00
Alon Zakai
7d0bcc0fbb
change download message
2012-08-09 17:34:14 -07:00
Alon Zakai
609fa65577
show progress on datafile download
2012-08-09 17:32:10 -07:00
Alon Zakai
ace6f0a30c
only create new Uint8Arrays during preloading when actually necessary
2012-08-08 18:18:34 -07:00
Alon Zakai
48d4dfdbd9
fix file preloading with -o subdir/..
2012-07-30 14:26:22 -07:00
Justin Kerk
5831375b15
Add LD to the variables replaced by emmake
2012-07-25 22:10:47 -07:00
Alon Zakai
80a58685b5
always look for main in .a files
2012-07-23 16:47:02 -07:00
Alon Zakai
35811b1c50
optional plugins for file packager
2012-07-22 20:10:08 -07:00
Alon Zakai
a148e63c4c
workaround for chromium bug 124926 in another necessary place
2012-07-18 18:40:23 -07:00
Alon Zakai
076a9d247b
add runDependency tracking and fix detected bugs
2012-07-18 18:14:21 -07:00
Alon Zakai
188d808114
fix getAudioMimetype
2012-07-18 16:43:57 -07:00
Alon Zakai
d656b39dcd
use createPreloadedFile in file packager
2012-07-18 16:37:23 -07:00
Alon Zakai
a97aab0522
refactor file preloading to happen in FS.createPreloadedFile, so that not only file_packager preloading gets preloaded Images and Audios
2012-07-18 16:24:37 -07:00
Alon Zakai
83593bc18d
check llvm version only when actually checking sanity - not on every call to emcc
2012-07-17 18:02:49 -07:00