summaryrefslogtreecommitdiff
path: root/src/embind/emval.js
AgeCommit message (Collapse)Author
2013-07-17Fix a bunch of things that break under closure advanced optimizations. Now, ↵Chad Austin
to my knowledge, embind fully supports closure advanced mode.
2013-05-17embind should predeclare Module in case it's included before a shell in the ↵Chad Austin
custom SCons change
2013-05-17Make jslint happy.Jukka Jylanki
2013-05-17Optimize __emval_new and __emval_decref.Jukka Jylänki
2013-05-17embind: Fix issues by js syntax check, and remember to pass all required ↵Jukka Jylanki
symbols to new Function.
2013-05-17Optimize the implementation of C++ -> JS invoker functions generated by ↵Jukka Jylänki
__emval_get_method_caller by dynamically crafting them.
2013-05-17Add support for (fast?) memory_view objects. If C++ passes a memory_view to ↵Chad Austin
JS, it gets converted into a typed array object on the other side. Intended for WebGL.
2013-05-17Checkpoint work towards making vtable->JS calls faster.Chad Austin
2013-05-04Remove more +x permissions on source or javascript filesSylvestre Ledru
2013-04-18fix readLatin1String to actually cover the range of latin-1 characters and ↵Chad Austin
add support for interned string symbols to emscripten::val
2013-04-18Add perfect forwarding throughout emscripten::val. This shaves 50 KB off ↵Chad Austin
the non-minified JS in Northstar.
2013-04-18Replace Pointer_stringify() with something simpler and faster. The ↵jinsuck
"String.fromCharCode" can be a performance bottleneck if called a lot, like 50,000 times per second. Depending on application it can be necessary. A better solution is not converting from HEAP at all, but it requires more work.
2013-04-18allow optional implementation of non-abstract virtual methodsChad Austin
2013-04-12add a helper method for Northstar unit testing (when emval leaks, we want to ↵jinsuck
see what is left there)
2013-04-12Typed array objects require use of operator new. You can't just call them ↵Chad Austin
directly.
2013-04-12can look up module properties like HEAP8 from within C++ :)Chad Austin
2013-04-12Allow multiple arguments to emscripten::val::new_()Chad Austin
2013-04-12Kill fromWireTypeAutoDowncastChad Austin
2013-04-12commentChad Austin
2013-04-12Support autodowncasting when passing pointers into valChad Austin
2013-04-12Missing semicolonChad Austin
2013-04-12Depending on the order of construction and destruction of val objects, ↵Chad Austin
count_emval_handles could be incorrect.
2013-04-12Introduce val::new_ for constructor invocationChad Austin
2013-04-12Kill eval_global_method: it's replaced with more primitivesChad Austin
2013-04-12simplify emscripten::val set and getChad Austin
2013-04-12Simplify emscripten::val a bit, reducing it closer to its primitive operations.Chad Austin
2013-04-12Simplify emscripten::val a bit, reducing it closer to its primitive operations.Chad Austin
2013-04-12Forgot to implement take_value :)Chad Austin
2013-04-12bring emscripten::val closer to the set of primitive operations provided by ↵Chad Austin
JS on values
2013-04-12Refactoring preparatory to code clean-up (no functional changes, all tests ↵Bill Welden
pass).
2013-04-12stringify key name before checking if the key existsTodd Lee
2013-04-12Revert "remove an unused method"jinsuck
This reverts commit 7300ba73d3004b8d5c69bd8e3dfbc971c3147ad8.
2013-04-12remove an unused methodjinsuck
2013-04-12support creating val with null (needed for sending null parameter to ajinsuck
WebGL function)
2013-04-12use simpler way to get length of an arrayTodd Lee
2013-04-12added two utility functions to emval.Todd Lee
- check if a given key exists. - return length of an array.
2013-04-121) add a method to run global javascript function on val 2) fix a bug tojinsuck
return val from interface wrapper
2013-04-12Fix several ownership/lifetime bugs in argument wire typesChad Austin
2013-04-12Some minor generated code size reductions.Chad Austin
2013-04-12Handle shared_ptr correctly.(keep underlying pointer point to the same address)Todd Lee
There was some global variable dependency. These bleed thru tests and affected test result. Adding a way to reset this state.
2012-09-25Move embind/emval into emscripten properChad Austin