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