Todd Lee
|
ab18c1107d
|
there were some incorrect handling of memory alloc/dealloc when passing around vector of smart pointer (or whatever type that needs manual deletion)
|
2013-04-12 14:22:07 +03:00 |
Bill Welden
|
50c29dc01e
|
Commit hook fix.
|
2013-04-12 14:22:05 +03:00 |
Bill Welden
|
ae311d2e8d
|
Allow raw pointer return values (requires allow_raw_pointer<ret_val>)
|
2013-04-12 14:22:04 +03:00 |
Todd Lee
|
87b760c334
|
Add support for std::vector.
|
2013-04-12 14:22:03 +03:00 |
mey
|
d0de75a622
|
Exposing std::function to javascript.
|
2013-04-12 14:22:01 +03:00 |
Todd Lee
|
ad45b65333
|
Add support for std::vector.
|
2013-04-12 14:22:00 +03:00 |
Chad Austin
|
8b7abef9db
|
Returning an empty shared_ptr returns null to JavaScript. Similarly, passing null into a shared_ptr creates an empty shared_ptr.
|
2013-04-12 14:21:58 +03:00 |
Bill Welden
|
338d59e81e
|
More files for upcast/downcast commit.
|
2013-04-12 14:21:57 +03:00 |
mey
|
61b2ff66ff
|
JSHint corrections.
|
2013-04-12 14:21:55 +03:00 |
mey
|
e237bfd79d
|
Removing Functor as a specific type; folding operator call into the class definition.
|
2013-04-12 14:21:54 +03:00 |
jinsuck
|
0d745fa116
|
1) add a method to run global javascript function on val 2) fix a bug to
return val from interface wrapper
|
2013-04-12 14:21:53 +03:00 |
jinsuck
|
778b8eb983
|
add a syntactic sugar to for cloning to a shared pointer of interface
wrapper
|
2013-04-12 14:21:51 +03:00 |
jinsuck
|
2c34b6dc6c
|
Allow constructing interface wrapper from existing interface object
|
2013-04-12 14:21:50 +03:00 |
mey
|
69f2f335d3
|
Fleshing out functors and expanding them.
|
2013-04-12 14:21:49 +03:00 |
mey
|
8ff84649ad
|
Merging.
|
2013-04-12 14:21:47 +03:00 |
mey
|
01212260c2
|
Merging.
|
2013-04-12 14:21:46 +03:00 |
mey
|
d622aa9cab
|
Exposing std::function to javascript.
|
2013-04-12 14:21:45 +03:00 |
Todd Lee
|
6326240227
|
This enables passing smart ptr as an element of val.
|
2013-04-12 14:21:43 +03:00 |
Llorens Marti Garcia
|
d90ef85c03
|
Fix on EnumBindingType
|
2013-04-12 14:21:42 +03:00 |
Todd Lee
|
3c5dead674
|
Add support for std::vector.
|
2013-04-12 14:21:41 +03:00 |
Chad Austin
|
565823a14a
|
Returning an empty shared_ptr returns null to JavaScript. Similarly, passing null into a shared_ptr creates an empty shared_ptr.
|
2013-04-12 14:21:39 +03:00 |
Chad Austin
|
848bdefa4e
|
std::string's WireType::destroy should be free(), not delete.
|
2013-04-12 14:21:38 +03:00 |
jinsuck
|
ebbe879255
|
to get string from emval
|
2013-04-12 14:21:36 +03:00 |
Chad Austin
|
8691fb1726
|
Allow multiple pointer arguments and allow multiple functions taking the same raw pointer type
|
2013-04-12 14:21:35 +03:00 |
Chad Austin
|
6014feed71
|
Add support for raw pointers to embind
|
2013-04-12 14:21:34 +03:00 |
Chad Austin
|
3f20ded152
|
jshint
|
2013-04-12 14:21:32 +03:00 |
Chad Austin
|
8a4997cf16
|
Kill some duplication
|
2013-04-12 14:21:31 +03:00 |
Chad Austin
|
eb5226e16c
|
Class static methods were downright broken.
|
2013-04-12 14:21:29 +03:00 |
Chad Austin
|
3703d2b5cd
|
Checkpoint work towards exposing call policies for raw pointers.
|
2013-04-12 14:21:28 +03:00 |
Todd Lee
|
db7397e72e
|
There can be an empty shared ptr. It is totally valid.
|
2013-04-12 14:21:27 +03:00 |
Chad Austin
|
e71c512ef8
|
Add validation that prevents registering the same type multiple times (either by name or type ID)
|
2013-04-12 14:21:25 +03:00 |
Chad Austin
|
6e2ce5357f
|
Add the ability to extend the prototype of native classes from JavaScript.
|
2013-04-12 14:21:24 +03:00 |
Chad Austin
|
df6ba03eed
|
Fix several ownership/lifetime bugs in argument wire types
|
2013-04-12 14:21:22 +03:00 |
Chad Austin
|
1c0c7be7aa
|
Some minor generated code size reductions.
|
2013-04-12 14:21:21 +03:00 |
Todd Lee
|
f91f1ddf37
|
removed duplicate code / unnecessary code
|
2013-04-12 14:21:20 +03:00 |
Todd Lee
|
d0bf1b0aea
|
Handle shared_ptr correctly.(keep underlying pointer point to the same address)
There was some global variable dependency. These bleed thru tests and affected test result. Adding a way to reset this state.
|
2013-04-12 14:21:18 +03:00 |
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 |