Alon Zakai
d2a5ea9e13
read_auto_optimize utility
2011-09-13 10:24:49 -07:00
Alon Zakai
4a29c4fa7d
fix autodebugger bug
2011-09-11 16:15:51 -07:00
Alon Zakai
9517204029
autodebugger support for loads
2011-09-11 14:13:00 -07:00
Alon Zakai
b3bcc62d15
better autodebugger support for floats
2011-09-10 14:30:17 -07:00
Alon Zakai
534cc7f058
bindings generator fix +fixes for use of |this| instead of Module
2011-09-08 21:03:07 -07:00
Alon Zakai
a286d7cfc8
Merge branch 'master' into llvm-svn
2011-09-08 17:44:10 -07:00
Alon Zakai
a70b811afc
vtable customization in bindings generator, +misc infra improvements to help test it
2011-09-06 20:40:20 -07:00
Alon Zakai
a085c0e4a9
fix for bindings generator to use enclosing classes in return values
2011-09-05 12:38:23 -07:00
Alon Zakai
40a3f51f3c
disable -indvars on q1
2011-09-04 15:24:45 -07:00
Alon Zakai
391fb94d3f
fix llvm opts for 3.0
2011-09-04 10:52:59 -07:00
Alon Zakai
6c259a53dd
optional pointer printing in autodebugger
2011-09-03 22:35:16 -07:00
Alon Zakai
3f89bd84dc
simplify emmaken with EMMAKEN_JUST_CONFIGURE, and use llvm-ld instead of llvm-link for better compatibility
2011-09-03 18:26:55 -07:00
Alon Zakai
b2508f4d42
fix some wrapping issues and add getClass to wrapping API
2011-09-01 17:41:07 -07:00
max99x
feee402bb4
Updated eliminator test output.
2011-08-30 22:50:29 +03:00
max99x
c746d20052
Made sure uglify's code generator re-parenthesizes anonymous functions.
2011-08-30 12:18:00 +03:00
max99x
36a03b4ea0
Eliminator: prevent inlining into loops & fix for circular dependencies.
2011-08-28 13:11:17 +03:00
max99x
42e4d9cb7e
Updated the eliminator, mainly to support use-before-declaration cases.
2011-08-27 20:27:59 +03:00
max99x
96a5349290
Merge remote-tracking branch 'upstream/master'
2011-08-25 04:49:10 +03:00
Alon Zakai
a2ec0b906f
autodebugger_c tool
2011-08-24 17:13:55 -07:00
max99x
35d870ab1e
Cosmetic changes to eliminator script. No change in functionality.
2011-08-24 17:01:12 +03:00
max99x
6c6fbdebae
Merge branch 'master' of github.com:max99x/emscripten
2011-08-24 04:32:38 +03:00
max99x
cfcf669f7d
Added eliminator test to the runner.
2011-08-24 04:25:31 +03:00
max99x
1e84d2e65a
Fixed v8/d8 path edge case (Issue #64 ).
2011-08-23 11:38:17 +03:00
max99x
0e2cbf1497
Merge remote-tracking branch 'upstream/master'
2011-08-23 06:10:22 +03:00
max99x
536bad16ce
Updated UglifyJS to preserve object key quotedness (Closure Compiler compatibility).
2011-08-23 06:08:19 +03:00
max99x
4d12c91bfb
Added a redundant-variable eliminator script and its dependencies.
2011-08-23 05:23:55 +03:00
Alon Zakai
af67804695
tweak pick_llvm_opts
2011-08-21 18:54:58 -07:00
Alon Zakai
5997ffdcab
experimental support for operators in bindings generator
2011-08-19 17:00:48 -07:00
Alon Zakai
880efeba08
support for binding overloaded functions with differing types
2011-08-17 22:56:48 -07:00
Alon Zakai
efe09785c3
restructure wrapping in bindings
2011-08-17 20:23:52 -07:00
Alon Zakai
7258f46b91
add destroy() in bindings generation
2011-08-17 14:07:38 -07:00
Alon Zakai
c2d71f807a
generate getters and setters for properties in bindings generator
2011-08-16 17:04:04 -07:00
Alon Zakai
0b5ee13f38
bindings fix
2011-08-15 18:15:40 -07:00
Alon Zakai
644c765180
handle templated classes in bindings generator
2011-08-15 14:57:07 -07:00
Alon Zakai
80e978c04c
bindings generator improvements
2011-08-14 21:54:13 -07:00
Alon Zakai
c8074452da
comment on running .bc files
2011-08-13 18:23:04 -07:00
Alon Zakai
7406f7ecac
caching for wrapped bindings objects
2011-08-13 17:34:45 -07:00
Alon Zakai
e281a8d74b
optimize bindings argument fixing
2011-08-13 14:37:07 -07:00
Alon Zakai
405d1fcab4
bindings support for returning copies of structures, via internal statics
2011-08-09 21:23:03 -07:00
Alon Zakai
19d18fbffd
export option for bindings generator to play nicely with closure compiler advanced opts
2011-08-07 15:53:18 -07:00
Alon Zakai
c2e46ff055
allow type modification in bindings generator
2011-08-07 11:00:12 -07:00
Alon Zakai
4166d57ca7
generalize parents to classes in bindings generator
2011-08-06 21:57:51 -07:00
Alon Zakai
b2d49aa9a7
better handling of abstract base classes in bindings generator
2011-08-06 21:46:55 -07:00
Alon Zakai
ef023c234b
bindings support for inner classes
2011-08-06 18:46:05 -07:00
Alon Zakai
ecfa7004be
bindings generator fixes for latest CppHeaderParser
2011-08-06 16:13:23 -07:00
Alon Zakai
b37f0ce622
new CppHeaderParser
2011-08-05 20:47:30 -07:00
Alon Zakai
45cb24500f
improve file2json
2011-08-02 11:11:01 -07:00
Alon Zakai
44055881b1
file2json utility
2011-08-02 11:01:20 -07:00
Alon Zakai
f6e02c614a
workarounds for js engine bugs
2011-07-30 10:26:30 -07:00
Alon Zakai
c293e8c5a6
temporily disable strict mode
2011-07-29 20:08:14 -07:00
kripken
d49f169b48
Merge pull request #57 from max99x/master
...
Filesystem, unistd, and others
2011-07-29 18:03:37 -07:00
Alon Zakai
dece1080e8
js engine and emmaken fixes
2011-07-29 15:16:50 -07:00
Alon Zakai
df145aa4b2
updates for latest spidermonkey trunk
2011-07-29 13:07:57 -07:00
Alon Zakai
71bf54cab6
implement C++ function hiding in bindings generator
2011-07-27 20:09:45 -07:00
Alon Zakai
dfb34c4ddf
fix bug with destructor arguments in bindings generator
2011-07-26 21:55:09 -07:00
Alon Zakai
84df27af24
optimize bindings generator a little more
2011-07-26 21:44:26 -07:00
Alon Zakai
c06c077203
optimize bindings generator a little
2011-07-26 21:40:15 -07:00
Alon Zakai
f8c8b9af20
improve function overloading in bindings generator
2011-07-25 22:03:18 -07:00
Alon Zakai
cebc0da5f6
improve bindings processor support to modify multi-line patterns
2011-07-24 15:34:30 -07:00
Alon Zakai
8897795d33
fix for binding static functions
2011-07-24 10:34:59 -07:00
Alon Zakai
78241b0617
support for binding static functions
2011-07-23 23:43:01 -07:00
Alon Zakai
cbd2894946
fixes for binding constructors with default arguments
2011-07-23 20:36:35 -07:00
Alon Zakai
18acbda893
support for default arguments in bindings
2011-07-23 18:25:36 -07:00
max99x
d90e1795ec
Removed some leftover unnecessary code from the struct layout parser;
...
Removed an extra define in emmaken.py, previously added by mistake.
2011-07-23 06:11:59 +03:00
Alon Zakai
aa43ba0566
add basic support for binding functions with default values
2011-07-20 20:37:15 -07:00
max99x
08a7f5d20f
Fixed various metadata parsing error and activated -g by default in settings and emmaken.
2011-07-20 04:39:44 +03:00
Alon Zakai
51505880de
better support for abstract base classes and constructorless classes in bindings generator
2011-07-14 21:25:40 -07:00
Alon Zakai
8672034800
bindings fixes
2011-07-13 20:54:37 -07:00
Alon Zakai
dc24fffc94
bindings generator improvements
2011-07-12 20:46:34 -07:00
Alon Zakai
f367fe79e3
ignore destructors in bindings generator
2011-07-11 18:50:04 -07:00
Alon Zakai
d1dc23eff7
bindings generator fixes
2011-07-10 19:33:03 -07:00
Alon Zakai
9d870c216a
import re in bindings generator so processors can use it
2011-07-10 11:20:50 -07:00
Alon Zakai
1a0f57dd70
allow a lambda to process headers in bindings generator
2011-07-09 22:29:27 -07:00
Alon Zakai
6c101f3ad8
bindings generator cleanup
2011-07-09 19:24:20 -07:00
kripken
c79828f6b8
Merge pull request #47 from max99x/master
...
Emscripten.py rewrite
2011-07-09 10:28:19 -07:00
max99x
f0bb154229
* Moved pick_llvm_opts() to tools/shared.py.
...
* Using pick_llvm_opts() instead of hardcoding -O3 in emscripten.py.
* Reassembling only when needed in emscripten.py.
2011-07-08 07:04:38 +03:00
max99x
7dcdb044d3
Rewrite of emscripten.py:
...
* Uses option arguments instead of positional ones.
* Allows linking to dlmalloc.
* Accepts both .bc and .ll files and takes care of annotations.
* Allows running the LLVM optimization pass automatically.
* Updated test runner to use the new emscripten.py interface.
Refactoring:
* Moved settings.py to root folder. It no longer applies just to tests.
* Updated references to settings.py.
* Added an __init__.py to tools, so we don't have to hack around imports.
2011-07-07 12:24:09 +03:00
Alon Zakai
8e4dc2caa6
improved bindings generator
2011-07-06 20:50:04 -07:00
Alon Zakai
1aeee076cf
ensure binding functions are not DFE'd away
2011-07-04 12:17:06 -07:00
Alon Zakai
7653c3b900
initial work on bindings generator, using CppHeaderParser and ply. llvm-gcc only for now
2011-07-03 23:51:38 -07:00
Alon Zakai
44904acd1d
additional undefines for emmaken
2011-07-03 08:26:39 -07:00
Alon Zakai
bc1a69c5ec
minor emmaken fixes
2011-06-12 14:27:36 -07:00
Alon Zakai
c9006752a0
autodebugger improvements for floats
2011-06-09 21:11:21 -07:00
Alon Zakai
fb83700d54
remove stackQuota for spidermonkey since no longer needed
2011-06-04 10:11:25 -07:00
Alon Zakai
c8e6d4c1c3
namespacer tweaks
2011-05-28 23:15:03 -07:00
Alon Zakai
2ad8eb7761
make autodebugger output smaller
2011-05-22 10:31:47 -07:00
Alon Zakai
588060bcb3
use gcparam() with spidermonkey
2011-05-21 21:19:32 -07:00
Alon Zakai
f5b1b079b7
emmaken fix
2011-05-21 21:19:10 -07:00
Alon Zakai
0641c3f9d7
fixes for dfe
2011-05-18 21:44:03 -07:00
Alon Zakai
f66293c6af
library stuff
2011-05-14 21:09:37 -07:00
Alon Zakai
df7285ed9e
misc emmaken improvements
2011-05-09 17:23:26 -07:00
Alon Zakai
1b2b60f55a
handle ar arguments properly in emmaken
2011-04-27 17:21:18 -07:00
Alon Zakai
85cba40ddc
emmakenxx.py to handle .c files in projects that are really c++
2011-04-27 16:58:13 -07:00
Alon Zakai
6345f59ce8
emmaken support for cmake c++ builds
2011-04-26 17:07:29 -07:00
Alon Zakai
0a2001bf4f
dead function elimination tool
2011-04-24 17:57:01 -07:00
Alon Zakai
5128461279
autodebugger support for i16 and i64
2011-04-19 14:21:38 -07:00
Alon Zakai
b956a15fb4
poppler-related tweaks
2011-03-21 19:50:03 -07:00
Alon Zakai
ee9393ae04
support for llvm 2.9
2011-03-19 10:00:57 -07:00
Alon Zakai
5524f8bf30
stop using lots of memory to manage strings at the end of compilation
2011-03-15 20:13:57 -07:00
Alon Zakai
6c22a66671
misc compiler tweaks
2011-03-13 12:13:21 -07:00
Alon Zakai
f534adece7
test runner improvements
2011-03-12 13:37:44 -08:00
Alon Zakai
749e2d5031
openjpeg demo
2011-03-05 18:41:15 -08:00
Alon Zakai
4d51d0b276
autodebug improvements
2011-03-03 07:39:33 -08:00
Alon Zakai
c3408af269
autodebugger tool
2011-03-02 19:12:13 -08:00
Alon Zakai
6b7f4ffa84
openjpeg test
2011-02-27 16:55:53 -08:00
Alon Zakai
40ab3e2847
debugging info and test runner fixes
2011-02-27 16:54:21 -08:00
Alon Zakai
acbb1e6a0b
generate strict mode javascript
2011-02-20 19:03:14 -08:00
Alon Zakai
4c884d8526
debugging fixes
2011-02-13 09:50:08 -08:00
Alon Zakai
f509bad6cf
use clang in emmaken and in freetype&zlib tests
2011-02-10 20:03:01 -08:00
Alon Zakai
9c584561a8
misc cleanups and fixes
2011-01-31 07:43:01 -08:00
Alon Zakai
df10a98f50
minor fixes and optimizations
2011-01-23 18:23:44 -08:00
Alon Zakai
9d209878f9
refactor shared components of python tools, and add emmaken.py
2011-01-14 22:44:52 -08:00
Alon Zakai
6ce73a0bd1
differentiate llvm variables from functions in niceIdents
2010-11-16 23:04:47 -08:00
Alon Zakai
54b3d3ec05
fix bugs in namespacer for bullet
2010-11-06 16:07:53 -07:00
Alon Zakai
7c94d4d98c
__new__ instead of __alloc__ in integration
2010-11-06 14:59:41 -07:00
Alon Zakai
38cf88b360
working integration test
2010-11-06 11:48:23 -07:00
Alon Zakai
906a8745c2
framework for integration tests
2010-11-05 20:48:19 -07:00
alon@honor
ce5008630e
namespace generator tool
2010-10-21 17:13:12 -07:00