mey
681ea9fc51
Fixing some tabs and removing some duplication in smart ptr embind.
2013-04-12 14:21:17 +03:00
Chad Austin
60bae3faed
Some simplifications and optimizations to smart pointer support
2013-04-12 14:21:15 +03:00
mey
db4baa7a70
Exposing std::shared_ptr<T> to javascript.
2013-04-12 14:21:14 +03:00
mey
a20c654c1f
Supporting returning std::unique_ptr from C++ to javascript.
2013-04-12 14:21:12 +03:00
Alon Zakai
f54d0e6ccb
avoid unnecessary array creation in cxa_find_matching_catch calls
2013-04-11 21:22:49 -07:00
Alon Zakai
9e7a712c6b
infrastructure for supporting exceptions in asm.js, by going through invoke_* calls
2013-04-11 21:18:37 -07:00
Alon Zakai
fd301b1057
Merge pull request #1051 from waywardmonkeys/fix-zero-chunks
...
Don't trigger 1-core assert when there are no chunks to work on.
2013-04-11 20:31:13 -07:00
Bruce Mitchener
de4f21890f
Add Joe Lee to AUTHORS.
2013-04-12 10:24:58 +07:00
Joe Lee
1bea45e1d7
Don't trigger 1-core assert when there are no chunks to work on.
2013-04-12 10:24:58 +07:00
Alon Zakai
5ba4497c3b
implement contents of invoke_*
2013-04-11 20:14:19 -07:00
Alon Zakai
c259c46543
autogenerate invoke_* functions for asm
2013-04-11 20:03:13 -07:00
Alon Zakai
f97347ec11
add test for addFunction
2013-04-11 17:33:01 -07:00
Alon Zakai
76e2f101c8
refactor emscripten.py ll splitting
2013-04-11 16:48:57 -07:00
Alon Zakai
74e74ba242
remove unneeded variable
2013-04-11 15:55:21 -07:00
Alon Zakai
0d844ed7a7
clarify INVOKE_RUN
2013-04-11 14:59:38 -07:00
Alon Zakai
010747cad6
Merge pull request #1050 from arlolra/setgroups
...
Implements setgroups
2013-04-11 10:00:33 -07:00
Alon Zakai
bc234c204c
do not use memory init file without ta2, since we lay out memory in ta2 format in binary files
2013-04-10 17:30:40 -07:00
Alon Zakai
f57081e7f1
finish box2d benchmark
2013-04-10 16:12:18 -07:00
Alon Zakai
82fd5dba17
box2d benchmark fixes
2013-04-10 16:02:03 -07:00
Alon Zakai
f84537c333
more work towards box2d benchmark
2013-04-10 15:53:50 -07:00
Alon Zakai
a4a20535e7
work towards box2d benchmark
2013-04-10 15:45:53 -07:00
Alon Zakai
0c1958f51d
box2d v2.2.1 (from box2d.js)
2013-04-10 15:29:31 -07:00
Alon Zakai
37ea1bd02c
fix sanity.test_emcc
2013-04-10 15:28:01 -07:00
Alon Zakai
89cb346773
fix test_sscanf_skip
2013-04-10 14:31:35 -07:00
Alon Zakai
3f96c03f4d
emcc note about .mem files
2013-04-10 14:29:07 -07:00
Alon Zakai
884dada673
fix test_poppler
2013-04-10 12:48:49 -07:00
Alon Zakai
f58e77da33
make noInitialRun and INVOKE_RUN refer to main(), not run(). run() need not call main(), and is necessary to set things up even if you call main() manually
2013-04-09 20:34:37 -07:00
Alon Zakai
064206f86c
remove ATMAIN hack, use a designated runPostSets function for postSets
2013-04-09 20:17:50 -07:00
Arlo Breault
b2a132cd66
consistent
2013-04-09 17:58:40 -07:00
Arlo Breault
294bdda3b3
implement setgroups
2013-04-09 17:53:10 -07:00
Alon Zakai
6d67e17176
only emit postsets in pre and when they actually exist
2013-04-09 17:26:57 -07:00
Alon Zakai
7b2d1583a1
run postsets right before main, and after the memory initializer has been set up
2013-04-09 17:26:57 -07:00
Alon Zakai
bba3cd9cf5
split out dynamic cast tests
2013-04-09 17:26:56 -07:00
Alon Zakai
0d08f9d8a2
do not use memory init file in relooper itself
2013-04-09 17:26:56 -07:00
Alon Zakai
f643819fc1
always load memory initializer asynchronously, to keep shell and web as similar as possible
2013-04-09 17:26:56 -07:00
Alon Zakai
c44aaae800
restore memory initialization and testing
2013-04-09 17:26:56 -07:00
Alon Zakai
8bd0457ad4
try to make WindowsPopen errors a little more explicit
2013-04-09 17:26:39 -07:00
Alon Zakai
c5425d7d8c
fix handling of blockaddresses > 255 in the new unified memory initializer world; fixes #1048
2013-04-09 11:31:53 -07:00
Alon Zakai
62c67168ae
add another setjmp/phi testcase
2013-04-09 08:57:26 -07:00
Alon Zakai
6388ba8a57
add new setjmp label into labelsDict, so it can be found by phis; fixes #1046
2013-04-08 21:09:12 -07:00
Alon Zakai
c5b4f5f2b8
Merge branch 'sscanf' of github.com:artdent/emscripten into artdent-sscanf
2013-04-08 20:26:47 -07:00
Alon Zakai
11f19e615c
Merge pull request #1039 from juj/no_emcc_exe
...
No emcc exe
2013-04-08 20:16:44 -07:00
Alon Zakai
eb50cbdde5
Merge pull request #1036 from arlolra/eai
...
Error codes
2013-04-08 19:25:38 -07:00
Alon Zakai
36e497b1db
Merge pull request #1035 from azmeuk/glfw
...
GLFW mouse bug.
2013-04-08 17:58:19 -07:00
Alon Zakai
229cb256da
fix test_799
2013-04-08 17:33:49 -07:00
Alon Zakai
d79758ed52
Merge pull request #1045 from arlolra/combine
...
Combine 1028 & 1034
2013-04-08 17:26:29 -07:00
Arlo Breault
8e9e1f279b
include arpa/inet.h in netinet/in.h
2013-04-08 17:21:42 -07:00
Arlo Breault
ecaaf7a499
combine netdb.h
2013-04-08 17:20:08 -07:00
Alon Zakai
94ef129de4
Merge pull request #1040 from juj/fix_test_chunking_windows
...
Remove '.' print in tools/js_optimizer.py. Fixes other.test_chunking on Windows.
2013-04-08 17:07:11 -07:00
Jukka Jylänki
69ac92ea4f
Remove '.' print in tools/js_optimizer.py on Windows. Fixes other.test_chunking on Windows.
...
On Windows, prints to stdout/stderr do not appear coherently synchronized per-line if multiple threads print data simultaneously to console. This caused other.test_chunking tests to fail when they receive output like
emcc: step took 5.09 seconds
emcc: running pre-closure post-opts
emcc: running post-closure post-opts
emcc: applying js optimization passes: ['eliminate', 'simplifyExpressionsPre', 'simplifyExpressionsPost', 'last']
splitting up js o.
ptimization into 2 chunks of size 1048576, using 2 cores (total: 1.42 MB)
emcc: step took 2.37 seconds
emcc: total time: 11.75 seconds
where the test looks for the string 'splitting up js optimization into' from the output. Note that the chunk processor thread has printed a single '.' in between the critical line, creating a race condition that randomly makes the test pass or fail, depending on where in the output the '.' lands in.
2013-04-08 22:38:51 +03:00