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

13686 Коммитов

Автор SHA1 Сообщение Дата
Bruce Mitchener 8c0cba09e1 Remove apply_* functions for building system libs.
These all returned True now instead of doing anything, so we can
remove them.
2015-04-26 16:38:29 +07:00
Yao Wei Tjong 姚伟忠 609f72cabe Fix indentation width. 2015-04-26 17:18:10 +08:00
Yao Wei Tjong 姚伟忠 e79f3e94a7 If '-o' is specified then pass it on when only preprocessing. 2015-04-26 15:54:24 +08:00
Alon Zakai ea33122082 enable more passing dlfcn tests 2015-04-25 22:12:55 -07:00
Alon Zakai a7401df02f remove DLOPEN_SUPPORT option; it works without it now, when build with RELOCATABLE and MAIN|SIDE_MODULE 2015-04-25 22:10:48 -07:00
Alon Zakai 174c88175d fix self-dlopen and enable test_dlfcn_self 2015-04-25 22:06:49 -07:00
Alon Zakai 18aef0e531 handle named globals in dlsym; enable test_dlfcn_data_and_fptr 2015-04-25 21:45:13 -07:00
Alon Zakai cdac9c30d7 Merge pull request #3407 from waywardmonkeys/power-of-goodbye
Freedom comes when you learn to let go
2015-04-25 15:56:43 -07:00
Alon Zakai b757e8bea0 use SIDE_FUNCTION_TABLE for side function tables, so that side module dynCall etcs can just override the parent's, and it will work since FUNCTION_TABLE is still the only important one, i.e. the one from the parent 2015-04-25 15:48:23 -07:00
Alon Zakai 8f66d84a38 fix side module memory initializer 2015-04-25 13:49:29 -07:00
Alon Zakai d7bbc8f4d5 register function tables from side modules, enable test_dlfcn_qsort 2015-04-25 13:15:44 -07:00
Bruce Mitchener 60e3b93af4 Remove some checks against QUANTUM_SIZE.
Learn to say good-bye
    I yearn to say good-bye
2015-04-25 13:24:56 +07:00
Bruce Mitchener 7d2d3f3199 Remove some unused stuff from Types in src/modules.js
There's nothing left to lose
    There's no more heart to bruise
2015-04-25 13:15:37 +07:00
Bruce Mitchener 2778deb902 Remove EXECUTION_TIMEOUT.
There's nothing left to try
    There's nowhere left to hide
    There's no greater power
    Than the power of good-bye
2015-04-25 10:56:55 +07:00
Bruce Mitchener 67ed98700d Remove RUNTIME_TYPE_INFO.
There's nothing left to try
    There's nowhere left to hide
    There's no greater power
    Than the power of good-bye
2015-04-25 10:54:33 +07:00
Bruce Mitchener c7f0be9702 Remove LABEL_DEBUG.
There's nothing left to try
        There's nowhere left to hide
        There's no greater power
        Than the power of good-bye
2015-04-25 10:42:06 +07:00
Bruce Mitchener bde96b8862 Remove SAFE_DYNCALLS.
There's nothing left to try
    There's nowhere left to hide
    There's no greater power
    Than the power of good-bye
2015-04-25 10:39:57 +07:00
Bruce Mitchener 39522e4a4a Remove ASM_HEAP_LOG.
There's nothing left to try
    There's nowhere left to hide
    There's no greater power
    Than the power of good-bye
2015-04-25 10:36:13 +07:00
Bruce Mitchener c31041676b Remove SAFE_HEAP_LINES and SAFE_HEAP >= 2.
You were my lesson I had to learn
    I was your fortress you had to burn
    Pain is a warning that something's wrong
    I pray to God that it wont be long
    Do ya wanna go higher?
2015-04-25 10:33:07 +07:00
Bruce Mitchener acfcd51571 Remove CHEAP_HEAP_ALIGN and friends.
Your heart is not open so I must go
    The spell has been broken, I loved you so
    Freedom comes when you learn to let go
    Creation comes when you learn to say no
2015-04-25 10:24:44 +07:00
Thibaut Despoulain e425c0afd0 FIXUP proposed fix for duplicate error. 2015-04-24 18:12:27 -07:00
Alon Zakai a83a67be1e enable test_dlfcn_i64 2015-04-24 17:20:17 -07:00
Alon Zakai 43141c88e8 Merge pull request #3404 from waywardmonkeys/let-them-have-cake
Remove corrections
2015-04-24 17:14:54 -07:00
Bruce Mitchener 15f4cf1d0f Adieu, adieu, adieu, CORRECT_SIGNS! 2015-04-25 07:12:53 +07:00
Alon Zakai 93a1864ad3 make dlsym use Runtime.addFunction 2015-04-24 17:10:25 -07:00
Alon Zakai 5d2cc06f14 support unlimited adding to function tables when EMULATED_FUNCTION_POINTERS 2015-04-24 17:09:59 -07:00
Alon Zakai 9833addc6d export function tables on Module when EMULATED_FUNCTION_POINTERS, so they can be accessed dynamically 2015-04-24 17:09:23 -07:00
Alon Zakai e9f9170c01 add test for complex quoting in EM_ASM 2015-04-24 16:33:12 -07:00
Thibaut Despoulain 5f0e68b8c6 Add thorough type checking and fastpath modes for webidl_binder.py.
Add IDL_CHECKS=ALL|FAST|DEFAULT.
Also add IDL_VERBOSE=1 mode to print debug info during render_function.
2015-04-24 15:59:58 -07:00
Alon Zakai 5f1ed7a501 disable dlfcn tests in emterpreter for now 2015-04-24 15:56:20 -07:00
Alon Zakai 2a31279d8b start to implement extremely-dynamic linking by having main module emit dynamic thunks 2015-04-24 15:13:19 -07:00
Alon Zakai cdb610546b leave only test_dlfcn_basic as enabled 2015-04-24 14:35:04 -07:00
Alon Zakai a115500246 ensure exported_implemented_functions elements are unique 2015-04-24 14:33:06 -07:00
Alon Zakai e940dff933 start to clean up dlopen code 2015-04-24 13:44:57 -07:00
Bruce Mitchener 58c516e9c0 And thee, CORRECT_OVERFLOWS? Adieu! 2015-04-24 20:17:48 +07:00
Bruce Mitchener 075ae5f4be CORRECT_ROUNDINGS: I bid thee adieu! 2015-04-24 19:58:38 +07:00
Alon Zakai a3599c462b accept synchronous resume() calls in Emterpreter-Async handle(); make them asynchronous #3398 2015-04-23 15:00:54 -07:00
Alon Zakai df158048ee Merge pull request #3399 from philippwiesemann/fix-utility-implicit-globals
Fix utility functions creating global variables
2015-04-23 14:14:26 -07:00
Alon Zakai 15bd4c0c49 add testing for relocation on test_pystruct 2015-04-23 13:43:15 -07:00
Alon Zakai f3e6e8d07e cleanup test_pystruct 2015-04-23 13:39:09 -07:00
Philipp Wiesemann 33a2035315 Fix utility functions creating global variables
The four functions mergeInto(), setSub(), setIntersect() and setUnion()
implicitly created global variables because their loop variables were
not explicitly declared to be local variables.

Found by JSLint.
2015-04-23 21:17:54 +02:00
Alon Zakai bb9617cc29 Merge branch 'simplify-compiler.js' of https://github.com/waywardmonkeys/emscripten into incoming 2015-04-23 11:26:45 -07:00
Jukka Jylänki afa5e793ff Match url encoding with emrun url decoding in src/emrun_postjs.js. Fixes #3394. Add test. 2015-04-23 11:41:52 +03:00
Bruce Mitchener f3af6406bf Remove more dead code from parseTools.js. 2015-04-23 13:22:16 +07:00
Bruce Mitchener 5f48ab883f Remove forceAsm from getHeapOffset.
This parameter was no longer used.
2015-04-23 11:07:26 +07:00
Bruce Mitchener f60332d716 Remove oldcomp's function indexing.
This is now handled in fastcomp.
2015-04-23 11:03:17 +07:00
Bruce Mitchener dbab9fcf48 Remove ll_file parameter from compiler.js.
This wasn't used and removing it simplifies things a little bit.
2015-04-23 10:47:16 +07:00
Bruce Mitchener 0f64e5cf74 Remove 'phase' from compiler.js and friends.
This was always just 'glue' now, so we can remove and simplify.
2015-04-23 10:43:07 +07:00
Alon Zakai 197fe0c525 do not raise DYNAMICTOP when an allocation fails #3253 2015-04-22 20:29:27 -07:00
Alon Zakai 388849a6ae show better error when metadata parsing fails in emscripten.py 2015-04-22 17:47:13 -07:00