Skip to content

Merge incoming into modular-pthread #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
faeaf97
Fix bad test_egl.c: It is not allowed to call GL functions after eglM…
juj Aug 16, 2017
474dbba
Gracefully fail when em_queued_call_malloc() fails, and prepare for d…
juj Aug 16, 2017
2ddb880
Improve browser.test_emrun to not use the default emrun port, so that…
juj Aug 16, 2017
63d4b61
Refactor "int result; REPORT_RESULT();" to form "REPORT_RESULT(result…
juj Aug 16, 2017
57c18dd
Fix emrun to be dual python2/python3 callable. Closes #5211 and #5482.
juj Aug 16, 2017
d51ff74
Fix Emscripten multiprocess operations when path to Emscripten contai…
juj Aug 16, 2017
38003e3
Fix parsing of -s settings when one refers to a value that has an equ…
juj Aug 16, 2017
5647355
Fix more locations in code that want to split a thing into two based …
juj Aug 16, 2017
2c76d9c
Add contact info to AUTHORS
Squareys Aug 16, 2017
0fecba8
Merge pull request #5470 from Squareys/master
juj Aug 16, 2017
11b79f9
Merge pull request #5478 from juj/refactor_report_result
juj Aug 17, 2017
e53a863
Make loop less confusing (#5486)
nazar-pc Aug 17, 2017
57e7444
implement pthread_equal when threading disabled, as in single-threade…
kripken Aug 17, 2017
00f279b
Merge pull request #5487 from kripken/pthread_compare
juj Aug 18, 2017
aa4605e
removing new Function calls
Aug 18, 2017
415f6cd
merging upstream changes
Aug 18, 2017
df62122
Fix preprocessing of quotes (#5459)
kripken Aug 21, 2017
c5b7baa
As per https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHa…
juj Aug 21, 2017
35a937a
Improve cache debugging prints to show which directory is being used …
juj Aug 21, 2017
5743cff
Merge branch 'redundant-functions-reassignment' of https://github.com…
kripken Aug 21, 2017
b91b304
add comment
kripken Aug 21, 2017
9bb8c0b
Deprecate emscripten_set/get_canvas_size() in favor of emscripten_set…
juj Aug 16, 2017
c61f726
Add singlethreaded test for emscripten_set_canvas_element_size.
juj Aug 22, 2017
e0f76f7
Merge pull request #5481 from juj/deprecate_emscripten_set_get_canvas…
juj Aug 22, 2017
7fdabf6
Fix crash on closing thread when --threadprofiler is used.
juj Jun 18, 2017
2c5c6b0
A fix for issues in getdents64 and getcwd related to non-ascii file n…
ImplOfAnImpl Aug 22, 2017
56a2dbc
review comments were applied
ImplOfAnImpl Aug 22, 2017
92ba963
update binaryen to version_35
kripken Aug 22, 2017
26606be
warn when async wasm compilation is disabled (#5497)
kripken Aug 22, 2017
0229a90
Fix the creation of stack integrity cookie (if used in the build) in …
juj Aug 23, 2017
f9622c2
Implement aligned_alloc. Closes #5502.
juj Aug 23, 2017
7405c21
Merge pull request #5512 from juj/aligned_alloc
juj Aug 24, 2017
f55c518
Bump version to 1.37.20 to pick up new aligned_alloc() to build.
juj Aug 24, 2017
897bc98
Fix js lib exports (#5506)
kripken Aug 24, 2017
7c1a2ab
Update LLVM Version for wasm backend to 6.0 (#5517)
dschuff Aug 24, 2017
9b74601
Move setting of GL_TESTING=1 flag for the test suite from Browser.cre…
juj Aug 26, 2017
94d18b1
Remove 'return 0;' in emscripten_run_preload_plugins_data(), since it…
juj Aug 26, 2017
56aa544
Fix glgetattachedshaders.c test usage of EGL: one must activate an EG…
juj Aug 26, 2017
ecd1c97
Clean up build warning in tests/pthread/test_pthread_printf.cpp.
juj Aug 26, 2017
47201c2
Make test tests/pthread/test_pthread_spawns.cpp faster to execute, so…
juj Aug 26, 2017
a7b04f8
Run REPORT_RESULT() synchronously on the main thread, because Module[…
juj Aug 26, 2017
f510b68
Do not use up all memory when poking amount of memory available, beca…
juj Aug 26, 2017
8e6e71e
Mark emscripten_async_load_script not available in pthreads. Define .…
juj Aug 26, 2017
51e5534
Remove a few 'return 0;' where the function is of type void.
juj Aug 26, 2017
2ca4bd8
Add a more descriptive name to the main browser thread profiling block.
juj Aug 26, 2017
3b2cd86
Improve testing of EM_ASM code blocks, and handling of inputs that wo…
juj Aug 26, 2017
0ebd65b
Add support for double quotes inside EM_ASM.
juj Aug 27, 2017
cf8cf13
Improve testing of EM_ASM code blocks, and handling of inputs that wo…
juj Aug 27, 2017
86b7553
Remove uses of the old EM_ASM_ forms
juj Aug 27, 2017
d1edecf
Update EM_ASM documentation
juj Aug 27, 2017
b31b2aa
Add an example of how to marshal strings between EM_ASM blocks.
juj Aug 27, 2017
cb40319
Clean up uses of EM_ASM_INT() to EM_ASM() when return value is not ne…
juj Aug 27, 2017
f8843a3
Fix typo in glWaitSync() and glClientWaitSync() processing of input. …
juj Aug 28, 2017
cd0fefe
Accept -O4 and larger values, clamping to -O3 and warning. (#5520)
etienne02 Aug 28, 2017
01d023b
Wasm safe heap (#5521)
kripken Aug 28, 2017
c8f6013
update binaryen to version_37
kripken Aug 29, 2017
254aae2
Resolve symlinks in em* wrapper scripts (#5534)
zmwangx Aug 29, 2017
d08bf13
Remove '-DREPORT_RESULT=int dummy' hack in sockets test suite.
juj Aug 30, 2017
d7c0b5a
Add new headers #include <emscripten/key_codes.h> and #include <emscr…
juj Aug 25, 2017
bb2d166
Merge pull request #5492 from juj/key_codes
juj Aug 30, 2017
fcf8d12
Significant overhaul of the OpenAL implementation
jpernst Jul 7, 2017
6f9e230
Add -Os flag to al.c
jpernst Jul 7, 2017
3261ce3
Minor fix to AL panner initialization when source has leading zero-bu…
jpernst Jul 7, 2017
8acf8c0
Change docs w.r.t juj's review
yoanlcq Jul 10, 2017
3f5de3b
First style fix pass
yoanlcq Jul 10, 2017
10762ad
Second style fix pass
yoanlcq Jul 10, 2017
31d5dc8
Rename helpers according to PR discussion
yoanlcq Jul 10, 2017
6f8946f
Remove slice on listener orientation to reduce garbage
jpernst Jul 10, 2017
2497a75
capture: Optimize hot loop in onaudioprocess
yoanlcq Jul 10, 2017
48ebe7c
Reuse an array to pass args to AL param calls, further reducing garbage
jpernst Jul 10, 2017
892deb4
capture: Fix regression in onaudioprocess from previous 'optimization'
yoanlcq Jul 10, 2017
fddea91
HRTF panning model should be uppercase
jpernst Jul 11, 2017
9d0b322
Fix HRTF status query
jpernst Jul 11, 2017
ee36b39
OpenAL review fixes
jpernst Aug 13, 2017
8b97706
Fix possibility of non-orthonormal basis in source relative transform
jpernst Aug 19, 2017
f719de9
Fix source position/orientation compatibility fallbacks
jpernst Aug 19, 2017
cf5117e
Enforce non-zero AL buffer freq
jpernst Aug 24, 2017
450f184
Fix `AL.buffer` typo
jpernst Aug 30, 2017
0d1a3e0
Merge pull request #5525 from juj/em_asm
juj Aug 30, 2017
be90379
In GL_DEBUG mode, print out shader compilation errors to web page con…
juj Aug 30, 2017
c6b5a50
a bit of cleanup and optimization, as well as making sure all embind …
Aug 30, 2017
1eb5b22
Merge pull request #5543 from juj/gl_errors_in_debug_builds
juj Aug 30, 2017
189003c
Fixup wasm backend handling of em_asm (#5545)
jgravelle-google Aug 30, 2017
e027c75
Implement -s PROXY_TO_PTHREAD=1 option which allows one to easily pro…
juj Aug 26, 2017
9576ca9
Deprecate -s PROXY_TO_WORKER=1 option when -s USE_PTHREADS=1 is used.…
juj Aug 26, 2017
d301b71
Merge pull request #5527 from juj/proxy_to_pthread
juj Aug 31, 2017
4c9efc6
Bump version to 1.37.21 to rebuild library_pthread.c for PROXY_TO_PTH…
juj Aug 31, 2017
e5338ac
Add missing test file tests/pthread/test_pthread_proxy_to_pthread.c.
juj Aug 31, 2017
d84eee9
Merge pull request #5528 from juj/thread_safe_test_harness
juj Sep 4, 2017
4bc1920
Make sure that if user specifies multiple -o output directives, that …
juj Sep 5, 2017
2bc2052
Fix driver to use sourcemaps with wasm backend (#5538)
dschuff Sep 5, 2017
a2443e5
Re-enable dylink tests with V8 (#5558)
dschuff Sep 5, 2017
ba2e01e
review comments were applied
ImplOfAnImpl Sep 6, 2017
d609f2a
Merge pull request #5556 from juj/precedence_with_multiple_o_directives
juj Sep 7, 2017
38de8ec
Merge pull request #5530 from juj/no_emscripten_async_load_script_in_…
juj Sep 7, 2017
46fbabf
Replace old GL_DEBUG GL function call tracing mechanism with a newer …
juj Aug 26, 2017
13bb686
Merge pull request #5504 from ImplOfAnImpl/non_ascii_issues_in_getden…
juj Sep 7, 2017
da9e8a9
Merge pull request #5529 from juj/trace_webgl
juj Sep 7, 2017
d758422
Add minimal C example for a pthread enabled application.
juj Aug 16, 2017
3be2e96
Implement support and add a test that pthreads can be used from main …
juj Aug 16, 2017
b14e95d
Add benchmark for matrix multiplication.
juj Jul 21, 2017
ca72914
fixing tests using NO_DYNAMIC_EXECUTION
Sep 8, 2017
cf877ab
Merge pull request #5526 from juj/multithreading_from_blob_url
juj Sep 11, 2017
b60efbb
clarify why NO_DYNAMIC_EXECUTION is set on Module in a comment.
Sep 11, 2017
57f8377
avoid odd whitespace dependency in other.test_llvm_nativizer
kripken Sep 11, 2017
d11d23a
adding IN_TEST_HARNESS flag check in addition to NO_DYNAMIC_EXECUTION
Sep 12, 2017
5644562
Improve error reporting in pthreads.
juj Aug 26, 2017
0e8b637
Fix getdents64() syscall on ASMFS to write proper number of elements …
juj Sep 13, 2017
d4d76b5
Fix pthread-main.js to not get confused when using ASMFS where 'FS' o…
juj Sep 13, 2017
f2991ec
Fix declaration of alGetError() function in al.h to alGetError(void) …
juj Sep 13, 2017
19d6527
Fix #include <emscripten/fetch.h> to work in C code, and add a test.
juj Sep 13, 2017
117b7a3
Fix for repeated `require()` when `MODULARIZE=1` is used (#5569)
nazar-pc Sep 13, 2017
204a31d
emit modularize export comment only in modularize mode (otherwise it …
kripken Sep 13, 2017
51bd99d
add missing glIsVertexArray lookup in GetProcAddress
kripken Sep 13, 2017
98c41c4
In pthread_create test, ensure the desired number of threads are created
dschuff Sep 13, 2017
d1a85e5
Merge pull request #5588 from kripken/keep_threads
juj Sep 14, 2017
f7dfc4c
allow memory growth in shared wasm modules (#5589)
kripken Sep 14, 2017
dfa999c
Add test for tabs in EM_ASM strings.
juj Sep 18, 2017
c722782
Merge pull request #5489 from walkingeyerobot/incoming
juj Sep 18, 2017
50cac28
Copy param array elements instead of array reference; fixes tons of bugs
jpernst Sep 18, 2017
2c26aa5
remove the unnecessary legacy Module parameter to integrateWasmJS. th…
kripken Sep 19, 2017
0df9f9f
Refactor source time update loop for clarity
jpernst Sep 19, 2017
b1f07c5
`fetch()` can be present in some environments like Electron's rendere…
nazar-pc Sep 20, 2017
713ea00
Fix OpenAL capture missing variables, and tests
yoanlcq Sep 20, 2017
dac16c6
Merge pull request #5594 from juj/tabs_in_em_asm
juj Sep 22, 2017
573910a
Merge pull request #5407 from juj/benchmark_matrix_multiply
juj Sep 22, 2017
865e19a
Implement a model for synchronously or asynchronously proxying JS fun…
juj Aug 26, 2017
198b2c6
Add test for synchronously proxying a call to main thread and getting…
juj Aug 26, 2017
0bf4a88
Add a test for asynchronously proxying calls from a pthread to the ma…
juj Aug 26, 2017
244d10d
Improve handling of proxied function returning double, and contract '…
juj Sep 22, 2017
88abbe8
Fix tests/benchmark_sse1.py to not get confused about emrun issued wa…
juj Sep 22, 2017
8559efe
Apply style cleanup to switch-case in jsifier.js
juj Sep 22, 2017
5bcb75e
Merge pull request #5531 from juj/proxy_to_main_thread
juj Sep 22, 2017
46bbba8
Initial upgrade to WebVR 1.1 (#5508)
Squareys Sep 25, 2017
93b11ec
update struct_info.json
kripken Sep 25, 2017
8aea22d
Merge EXTRA_EXPORTED_RUNTIME_METHODS (#5023)
AlexPerrot Sep 25, 2017
82e9691
docs: update embind code sample comment (#5604)
rebornix Sep 27, 2017
24ea1a9
Use WebAssembly.compileStreaming API if available (#5606)
dschuff Sep 28, 2017
afbade4
add GL to maybeExport (#5609)
irov Sep 28, 2017
13f6a32
Merge pull request #5367 from jpernst/incoming
juj Sep 29, 2017
ddb06bd
Update tests/openal_error.c to use REPORT_RESULT(int result) macro
juj Sep 29, 2017
fb0b671
Fix syntax of EM_ASM() blocks in tests browser.test_fs_workerfs_packa…
juj Oct 2, 2017
fa96872
onAbort regression fix
buu700 Oct 3, 2017
1063564
Update emrun.py to latest version (brings python 3 compatibility)
juj Oct 3, 2017
6803b56
Support --trap-mode argument in s2wasm (#5620)
jgravelle-google Oct 3, 2017
5d18b58
Fix emscripten/vector.h to build in C89 mode, and update the test to …
juj Oct 3, 2017
74c1c5c
fix test_time failure in non-DST time zones (#5624)
hujiajie Oct 5, 2017
619841d
avoid extra timezone checks if TZ is already set in the env
kripken Oct 5, 2017
8273315
Merge branch 'wasmabortfix' of https://github.com/buu700/emscripten i…
kripken Oct 5, 2017
3eff959
add test for onAbort when no binaryen method works
kripken Oct 5, 2017
7ac95fa
if LZ4 but no FS, warn about it having no effect instead of hitting a…
kripken Oct 6, 2017
37b3124
1.37.22
kripken Oct 8, 2017
80022b2
Add missing library targets to embuilder (#5641)
dschuff Oct 9, 2017
d5ffeba
Handle exceptions in getRemoteSet (#5635)
kklimek Oct 10, 2017
e680fc8
fix undefined variable "size" in glNormalPointer in GL_FFP_ONLY (#5644)
josecpujol Oct 10, 2017
8827bb2
update locateFile docs to mention wasm (#5646)
kripken Oct 10, 2017
313f0d0
Change an assertion to an error when the emterpreter data is missing …
curiousdannii Oct 11, 2017
1ff7294
Make currentScriptUrl node.js aware (see thread 'PThreads and Configu…
juj Oct 11, 2017
cf50894
Add travis CI (#5614)
saschanaz Oct 11, 2017
18c8d1f
add link to building-projects on porting page in docs
kripken Oct 12, 2017
559ac73
Remove defunct hasInlineJS check (#5649)
erikdubbelboer Oct 12, 2017
331bf95
update cocos2d version (#5669)
caiiiycuk Oct 16, 2017
f043f19
use print function (#5610)
saschanaz Oct 16, 2017
9b32d3e
Add SINGLE_FILE option to embed all subresources into emitted JS (#5296)
buu700 Oct 16, 2017
d151522
Make -lrt linker command line directive not issue a warning, the rt s…
juj Oct 17, 2017
a024473
remove legacy asm2nn test mode (#5658)
kripken Oct 17, 2017
7593a60
Less dependency installations on Travis (#5681)
saschanaz Oct 17, 2017
a2a2285
Python 3 compatibility: Use except-as syntax (#5679)
saschanaz Oct 18, 2017
b584530
Python 3 compatibility: Convert maps/filters to lists (#5686)
saschanaz Oct 18, 2017
63f446f
Use eval and setattr instead of exec (#5685)
jgravelle-google Oct 18, 2017
c2c1199
Fix build error in libcxx with recent clang (#5687)
sbc100 Oct 19, 2017
b1a11db
Python 3 compatibility: Convert keys()/values()/items() to list (#5688)
saschanaz Oct 20, 2017
8c5aee7
Merge pull request #5683 from juj/librt_is_implicit
juj Oct 22, 2017
d9064f7
Make WEBKIT_WEBGL_compressed_texture_pvrtc default enabled if present…
juj Oct 22, 2017
0309cf4
Python 3 compatibility: Convert ranges to lists (#5697)
saschanaz Oct 23, 2017
078ea51
Fix CMake compiler version detection regex and test other.test_cmake …
juj Oct 24, 2017
d29fcc9
Reset minimum required CMake version to CMake 3.0.0, because the orig…
juj Oct 24, 2017
52eb895
Python 3 compatibility: Use relative imports (#5690)
saschanaz Oct 24, 2017
3c453cb
Python 3 compatibility: Use bytearray (#5702)
saschanaz Oct 24, 2017
cf4d935
Python 3 compatibility: use explicit byte literals (#5703)
saschanaz Oct 24, 2017
5924de1
Fix typo in text of call to getValue abort (#5674)
dasa Oct 24, 2017
7cc3ed8
Fix browser.test_binaryen_async for use of instantiateStreaming (#5707)
dschuff Oct 24, 2017
21ea73f
SINGLE_FILE + ASSERTIONS fix (#5680)
buu700 Oct 24, 2017
8aa9c56
Python 3 compatibility for test runners (#5708)
saschanaz Oct 25, 2017
fb2810c
Smaller timer value for Python 3 on Windows (#5701)
saschanaz Oct 25, 2017
ab01a70
support wast format in find_bigfuncs
kripken Oct 24, 2017
03863ec
check the output wasm file for deterministic output in test_iostream_…
kripken Oct 24, 2017
994da11
Fix webidl binder regression + add test_w* testing (#5712)
kripken Oct 26, 2017
1b406da
Add docs on how to use emscripten in Travis [ci skip] (#5689)
curiousdannii Oct 26, 2017
0f0f1a7
Python 3 compatibility: Use bytearray on write() + use octal prefix '…
saschanaz Oct 26, 2017
4a4fcba
Python 3 compatibility: Remove metaclass (#5691)
saschanaz Oct 26, 2017
d2a28be
Disable test (#5717)
sbc100 Oct 26, 2017
e35e866
Add MSVC flag /bigobj to the CMAKE_BUILD_TYPE=Debug build of asm.js o…
juj Oct 27, 2017
f476e10
fix openal parameter name (#5715)
hpohl Oct 27, 2017
ce54c34
Merge pull request #5723 from juj/msvc_bigobj_debug
juj Oct 27, 2017
1fcac47
handle handwritten x.y double constants in interpreter, even without …
kripken Oct 30, 2017
740284e
update other.test_legalize_js_ffi for wasm text format now having com…
kripken Oct 30, 2017
7f89560
Update more precise info in ChangeLog.markdown about which tool versi…
juj Oct 31, 2017
742e877
fix script imports by adding proper path (#5735)
saschanaz Nov 2, 2017
d4bbb5b
Python 3 compatibility: Avoid string type check (#5734)
saschanaz Nov 3, 2017
c98ebb5
removes the final use of the Function constructor when NO_DYNAMIC_EXE…
walkingeyerobot Nov 6, 2017
c23ee7a
use argparse instead of deprecated optparse (#5741)
saschanaz Nov 6, 2017
3f1aef5
reorder tests (#5740)
saschanaz Nov 6, 2017
716a645
remove unused post_module (#5739)
saschanaz Nov 6, 2017
68fb8ae
remove old also_proxied debug helper code, that saved the non-proxied…
kripken Nov 6, 2017
7802705
SINGLE_FILE html and worker fixes + tests (#5736)
buu700 Nov 7, 2017
93479ec
Google Closure Compiler Java update (#5720)
nazar-pc Nov 7, 2017
2ef80b1
Make options.llvm_opts always be a list (#5719)
saschanaz Nov 7, 2017
e4addbe
Update docs to require python 2.7 (#5677)
kripken Nov 7, 2017
8aa0ce8
update other.test_binaryen_debug expected outputs after closure update
kripken Nov 8, 2017
cee57b6
Added AMD externs so that Binaryen builds fine (#5748)
nazar-pc Nov 8, 2017
1446ec5
update comment to mention define() is an AMD thing
kripken Nov 8, 2017
ea67ec1
Fix for undefined `ASSERTIONS` variable in html output of emcc (#5749)
nazar-pc Nov 9, 2017
c3c9b6e
Fix inlining of SIMD vector header and add a test. Fixes #5676.
juj Nov 9, 2017
7b57a06
Python 3 compatibility: Use bytearray (#5758)
saschanaz Nov 9, 2017
ba7a0b1
Merge pull request #5760 from juj/fix_vector_h_inlining
juj Nov 9, 2017
2b98b47
Python 3 compatibility: Use key for sort() (#5756)
saschanaz Nov 9, 2017
c1220cd
update binaryen to version_39 (#5761)
kripken Nov 10, 2017
e82ba65
Make SOCKFS aware of SharedArrayBuffer. Fixes #5706. Make PIPEFS also…
juj Nov 9, 2017
e94c820
Fix emar -M to take input from stdin. Closes #5733.
juj Nov 6, 2017
5fa9c63
Add support for calling SDL API from pthreads.
juj Aug 26, 2017
dafb738
Add support for calling OpenAL API from pthreads.
juj Oct 23, 2017
9920de2
Merge pull request #5532 from juj/sdl_in_pthreads
juj Nov 10, 2017
1a13249
Merge pull request #5533 from juj/openal_in_pthreads
juj Nov 10, 2017
9193ca5
Enable script run functions emscripten_run_script(), emscripten_run_s…
juj Aug 26, 2017
47abaa4
Merge pull request #5759 from juj/sockfs_with_pthreads
juj Nov 10, 2017
2784958
Enable calling dynamic linking dl* and networking gethost* functions …
juj Aug 26, 2017
6aeea7a
Replace uses of old EM_PROXIED_foo with the new proxying mechanism in…
juj Sep 8, 2017
fb28418
Merge pull request #5564 from juj/emscripten_browser_api_in_pthread
juj Nov 10, 2017
8a5a8ed
Enable Emscripten Browser APIs emscripten_async_wget*, emsripten prel…
juj Aug 26, 2017
fec60ff
Merge pull request #5578 from juj/library_js_in_pthreads
juj Nov 10, 2017
ff680cd
Merge pull request #5579 from juj/async_browser_api_in_pthread
juj Nov 10, 2017
3e70fb9
Don't use assert() in browser.test_modularize test, which is not visi…
juj Oct 13, 2017
3e014e2
Change initial startup value of LANG environment variable from "C" to…
juj Aug 22, 2017
85b5b27
Merge pull request #5664 from juj/cleanup_test_modularize_noise
juj Nov 10, 2017
5ef2753
Python 3 compatibility: Use os.walk() (#5757)
saschanaz Nov 10, 2017
42d8c85
Require --no-heap-copy mode when Wasm with allow memory growth is use…
juj Nov 6, 2017
1de3c5c
Merge pull request #5500 from juj/default_lang_is_utf8
juj Nov 10, 2017
df1d9d7
Add new test for signed vector SIToFP type conversion operator.
juj Nov 10, 2017
8fd1135
Merge pull request #5744 from juj/emar_M
juj Nov 10, 2017
20dacf3
Merge pull request #5766 from juj/sitofp
juj Nov 10, 2017
e4672c9
Take `randomBytes` in quotes, otherwise Closure Compiler will mangle it
nazar-pc Nov 11, 2017
47fd4a1
Fix function signature typo in src/library_gl.js on glTexSubImage2D()…
juj Nov 11, 2017
5a7b1ec
Update test result expectations for C.UTF-8 in test_env and test_environ
juj Nov 11, 2017
0616408
Remove gamepad init workaround for https://bugzilla.mozilla.org/show_…
juj Nov 11, 2017
94a758b
Merge pull request #5768 from nazar-pc/fix-randombytes
juj Nov 11, 2017
a9c8c4d
Closure compiler fixes (#5765)
nazar-pc Nov 13, 2017
425c472
Merge pull request #5769 from juj/no_sdl_gamepadconnected
juj Nov 13, 2017
40a5c5c
Merge pull request #5742 from juj/no_heap_copy_with_wasm_heap_resizing
juj Nov 13, 2017
714ea72
merge incoming
TannerRogalsky Nov 13, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
sudo: required

language: python

env:
- TEST_TARGET=other
- TEST_TARGET="ALL.test_a* ALL.test_b*"
- TEST_TARGET=ALL.test_c*
- TEST_TARGET="default.test_d* asm1.test_d* asm2.test_d* asm2f.test_d* asm2g.test_d* asm3.test_d*"
- TEST_TARGET=asm2i.test_d*
- TEST_TARGET=ALL.test_e*
- TEST_TARGET=ALL.test_f*
- TEST_TARGET="ALL.test_g* ALL.test_h* ALL.test_i*"
- TEST_TARGET="ALL.test_j* ALL.test_k* ALL.test_l* ALL.test_m* ALL.test_n* ALL.test_o*"
- TEST_TARGET="default.test_p* asm1.test_p* asm2.test_p* asm2f.test_p* asm2g.test_p* asm3.test_p*"
- TEST_TARGET=asm2i.test_p*
- TEST_TARGET="ALL.test_q* ALL.test_r* ALL.test_s* ALL.test_t*"
- TEST_TARGET="ALL.test_u* ALL.test_v* ALL.test_w* ALL.test_x* ALL.test_y* ALL.test_z*"

services:
- docker

before_install:
- docker pull ubuntu:16.04

script:
- echo $TEST_TARGET
- docker build --build-arg TEST_TARGET="$TEST_TARGET" .

notifications:
email: false
28 changes: 25 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ a license to everyone to use it as detailed in LICENSE.)
* Anthony J. Thibault <[email protected]>
* John Allwine <[email protected]>
* Martin Gerhardy <[email protected]>
* James Gregory <[email protected]> (copyright owned by Zynga, Inc)
* James Gregory <[email protected]> (copyright owned by Zynga, Inc.)
* Dan Gohman <[email protected]> (copyright owned by Google, Inc.)
* Jeff Gilbert <[email protected]> (copyright owned by Mozilla Foundation)
* Frits Talbot <[email protected]>
Expand All @@ -87,7 +87,7 @@ a license to everyone to use it as detailed in LICENSE.)
* Manfred Manik Nerurkar <nerurkar*at*made-apps.biz> (copyright owned by MADE, GmbH)
* Joseph Gentle <[email protected]>
* Douglas T. Crosher <[email protected]> (copyright owned by Mozilla Foundation)
* Douglas T. Crosher <[email protected]> (copyright owned by Scieneer Pty Ltd)
* Douglas T. Crosher <[email protected]> (copyright owned by Scieneer Pty Ltd.)
* Soeren Balko <[email protected]>
* Ryan Kelly ([email protected])
* Michael Lelli <[email protected]>
Expand Down Expand Up @@ -269,6 +269,7 @@ a license to everyone to use it as detailed in LICENSE.)
* Vilibald Wanča <[email protected]>
* Alex Hixon <[email protected]>
* Vladimir Davidovich <[email protected]>
* Yuriy Levchenko <[email protected]>
* Dmitry Tolmachov <[email protected]>
* Dylan McKay <[email protected]>
* Christophe Gragnic <[email protected]>
Expand All @@ -283,7 +284,7 @@ a license to everyone to use it as detailed in LICENSE.)
* Evan Wallace <[email protected]>
* Henning Pohl <[email protected]>
* Tim Neumann <[email protected]>
* Ondrej Stava <[email protected]> (copyright owned by Google, Inc.
* Ondrej Stava <[email protected]> (copyright owned by Google, Inc.)
* Jakub Jirutka <[email protected]>
* Loo Rong Jie <[email protected]>
* Jean-François Geyelin <[email protected]>
Expand All @@ -296,3 +297,24 @@ a license to everyone to use it as detailed in LICENSE.)
* Yair Levinson (copyright owned by Autodesk, Inc.)
* Matjaž Drolc <[email protected]>
* James Swift <[email protected]> (copyright owned by PSPDFKit GmbH)
* Ryan Lester <[email protected]> (copyright owned by Cyph, Inc.)
* Nikolay Zapolnov <[email protected]>
* Nazar Mokrynskyi <[email protected]>
* Yury Delendik <[email protected]> (copyright owned by Mozilla Foundation)
* Kenneth Perry <[email protected]>
* Jim Mussared <[email protected]>
* Dirk Vanden Boer <[email protected]>
* Mitchell Foley <[email protected]> (copyright owned by Google, Inc.)
* Oleksandr Chekhovskyi <[email protected]>
* Michael Siebert <[email protected]>
* Jonathan Hale <[email protected]>
* Etienne Brateau <[email protected]>
* Zhiming Wang <[email protected]>
* Jameson Ernst <[email protected]>
* Yoan Lecoq <[email protected]>
* Jiajie Hu <[email protected]> (copyright owned by Intel Corporation)
* Kamil Klimek <[email protected]>
* José Carlos Pujol <josecpujol(at)gmail.com>
* Dannii Willis <[email protected]>
* Erik Dubbelboer <[email protected]>

357 changes: 349 additions & 8 deletions ChangeLog.markdown

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# For travis
FROM buildpack-deps:xenial
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND noninteractive
RUN mkdir -p /root/emscripten/
COPY . /root/emscripten/

RUN cd /root/ \
&& apt-get update \
&& apt-get install -y python python-pip cmake build-essential openjdk-9-jre-headless \
&& pip install --upgrade pip \
&& pip install lit \
&& wget https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz \
&& tar -xf emsdk-portable.tar.gz \
&& pushd emsdk-portable \
&& ./emsdk update \
&& ./emsdk install latest \
&& ./emsdk activate latest \
&& popd \
&& echo EMSCRIPTEN_ROOT="'/root/emscripten/'" >> .emscripten

ARG TEST_TARGET
RUN python /root/emscripten/tests/runner.py $TEST_TARGET skip:ALL.test_sse1_full skip:ALL.test_sse2_full skip:ALL.test_sse3_full skip:ALL.test_ssse3_full skip:ALL.test_sse4_1_full skip:other.test_native_link_error_message skip:other.test_bad_triple skip:ALL.test_binaryen skip:other.test_binaryen* skip:other.test_on_abort skip:other.test_sysconf_phys_pages skip:other.test_wasm_targets skip:other.test_symbol_map skip:other.test_legalize_js_ffi
40 changes: 26 additions & 14 deletions cmake/Modules/Platform/Emscripten.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# It teaches CMake about the Emscripten compiler, so that CMake can generate makefiles
# from CMakeLists.txt that invoke emcc.

# Since updating to LLVM 3.9, its build system requires CMake 3.4.3 or newer, so use this as a
# baseline requirement for Emscripten toolchain as well, as developers will have this version or
# they would have been unable to build LLVM in the first place.
cmake_minimum_required(VERSION 3.4.3)
# At the moment this required minimum version is not exact (i.e. we do not know of a feature that needs CMake 3.0.0 specifically)
# It is possible that CMake 3.0.0 is too old and will not actually work. If you do find such a case, please report it at Emscripten
# bug tracker to revise the minimum requirement. See also https://github.com/juj/emsdk/issues/108
cmake_minimum_required(VERSION 3.0.0)

# To use this toolchain file with CMake, invoke CMake with the following command line parameters
# cmake -DCMAKE_TOOLCHAIN_FILE=<EmscriptenRoot>/cmake/Modules/Platform/Emscripten.cmake
Expand Down Expand Up @@ -110,7 +110,7 @@ if (EMSCRIPTEN_FORCE_COMPILERS)
if (NOT "${_cmake_compiler_output}" MATCHES "[Ee]mscripten")
message(FATAL_ERROR "System LLVM compiler cannot be used to build with Emscripten! Check Emscripten's LLVM toolchain location in .emscripten configuration file, and make sure to point CMAKE_C_COMPILER to where emcc is located. (was pointing to \"${CMAKE_C_COMPILER}\")")
endif()
string(REGEX MATCH "clang version ([0-9\.]+)" _dummy_unused "${_cmake_compiler_output}")
string(REGEX MATCH "clang version ([0-9\\.]+)" _dummy_unused "${_cmake_compiler_output}")
if (NOT CMAKE_MATCH_1)
message(FATAL_ERROR "Failed to regex parse Clang compiler version from version string: ${_cmake_compiler_output}")
endif()
Expand All @@ -137,15 +137,27 @@ if (EMSCRIPTEN_FORCE_COMPILERS)
set(CMAKE_C_PLATFORM_ID "emscripten")
set(CMAKE_CXX_PLATFORM_ID "emscripten")

set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_static_assert")

set(CMAKE_CXX_COMPILE_FEATURES "cxx_template_template_parameters;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
if ("${CMAKE_VERSION}" VERSION_LESS "3.8")
set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_static_assert")

set(CMAKE_CXX_COMPILE_FEATURES "cxx_template_template_parameters;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
else()
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")

set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
endif()
endif()

# To find programs to execute during CMake run time with find_program(), e.g. 'git' or so, we allow looking
Expand Down
2 changes: 1 addition & 1 deletion em++
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ if sys.version_info.major == 2:
else:
import os, subprocess
if __name__ == '__main__':
sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(__file__), 'emcc.py')] + sys.argv[1:]))
sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(os.path.realpath(__file__)), 'emcc.py')] + sys.argv[1:]))
2 changes: 1 addition & 1 deletion em++.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
else:
import os, subprocess
if __name__ == '__main__':
sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(__file__), 'emcc.py')] + sys.argv[1:]))
sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(os.path.realpath(__file__)), 'emcc.py')] + sys.argv[1:]))
5 changes: 3 additions & 2 deletions em-config
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ This tool prints the value of the variable to stdout if one
is found, or exits with 1 if the variable does not exist.
'''

from __future__ import print_function
import os, sys, re
from tools import shared

if len(sys.argv) != 2 or \
not re.match(r"^[\w\W_][\w\W_\d]*$", sys.argv[1]) or \
not (sys.argv[1] in dir(shared)):
print 'Usage: em-config VAR_NAME'
print('Usage: em-config VAR_NAME')
exit(1)

print eval('shared.' + sys.argv[1])
print(eval('shared.' + sys.argv[1]))

2 changes: 1 addition & 1 deletion emar
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ if sys.version_info.major == 2:
else:
import os, subprocess
if __name__ == '__main__':
sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(__file__), 'emar.py')] + sys.argv[1:]))
sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(os.path.realpath(__file__)), 'emar.py')] + sys.argv[1:]))
14 changes: 9 additions & 5 deletions emar.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
This script acts as a frontend replacement for ar. See emcc.
'''

from __future__ import print_function
from tools.toolchain_profiler import ToolchainProfiler
if __name__ == '__main__':
ToolchainProfiler.record_process_start()
Expand All @@ -25,10 +26,10 @@ def run():
newargs = [shared.LLVM_AR] + sys.argv[1:]

if DEBUG:
print >> sys.stderr, 'emar:', sys.argv, ' ==> ', newargs
print('emar:', sys.argv, ' ==> ', newargs, file=sys.stderr)

to_delete = []
if len(newargs) > 2:
to_delete = []
if 'r' in newargs[1]:
# we are adding files to the archive.
# find the .a; everything after it is an input file.
Expand Down Expand Up @@ -58,9 +59,12 @@ def run():
pass
break
i += 1
subprocess.call(newargs)
for d in to_delete:
shared.try_delete(d)

if DEBUG:
print('Invoking ' + str(newargs))
subprocess.call(newargs, stdin=sys.stdin)
for d in to_delete:
shared.try_delete(d)

if __name__ == '__main__':
run()
Expand Down
Loading