summaryrefslogtreecommitdiff
path: root/src/embind/embind.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-07-17Rename value_tuple to value_array and value_struct to value_objectChad Austin
2013-05-17Allow implicit conversion from booleans to ints/floats (for WebGL)Chad Austin
2013-05-17Implement an autorelease pool in embind.Chad Austin
2013-05-17For sanity, make sure all types test the existence of the destructor stack ↵Jukka Jylänki
before pushing to it. __emval_get_method_caller calls toWireType with a null destructors array.
2013-05-17We can get away with passing memory_view on the stack here...Chad Austin
2013-05-17Switch to heapu32 for some reason...Chad Austin
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-05-02Add isAliasOf for seeing if two embind handles point to the same underlying ↵Chad Austin
object. Conflicts: tests/embind/embind_test.cpp
2013-05-02checkpoint object handle compositionChad Austin
2013-04-18Suppress jslint false positives.Jukka Jylanki
2013-04-18Fix embind to work with --closure 1. The symbols fromWireType and toWireType ↵Jukka Jylänki
cannot be minified, since they are referred from inside craftInvokerFunction code, which refers to these functions by strings. Also, consistently use 12292 instead of '12292' to have no closure mismatches.
2013-04-18Add support for read-only properties.Chad Austin
2013-04-18Minor optimizations and notes in genericPointerToWireType.Jukka Jylänki
2013-04-18Comment on pointer marshalling functions.Jukka Jylänki
2013-04-18Improve error messages from embind pointer marshalling and remove TODOs in ↵Jukka Jylänki
embind test code.
2013-04-18Restore previously temporarily disabled specific non-smartptr wiretype ↵Jukka Jylänki
converters.
2013-04-18Removed embind class member this pointer 'instanceof' check when serializing ↵Jukka Jylänki
this to wire type, since instanceof was profiled to be slow. Instead, the correct instanceof enforcement is done in the upcastPointer function.
2013-04-18Fix use of destructors in crafted destructors.Jukka Jylanki
2013-04-18Merge Chad's validateThis removal commit to new optimized invoker function.Jukka Jylänki
2013-04-18Fix test runner - preserve validateThis and convert class this to wire type ↵Jukka Jylänki
before parameters to catch invalid this type before invalid parameters.
2013-04-18Clean up jslint diagnostics.Jukka Jylänki
2013-04-18Embind: Merge makeInvoker and class member function invoker generator ↵Jukka Jylänki
functions into one to remove code duplication.
2013-04-18Remove validateThis since it was also deleted in imvu/emscripten upstream.Jukka Jylänki
2013-04-18Optimize embind by avoiding to generate an array for destructors to run ↵Jukka Jylänki
after toWireType. Instead, directly generate dtor calls whenever possible.
2013-04-18Separate RegisteredPointer toWireType implementations between const-, ↵Jukka Jylänki
nonconst-, and smartptr implementations.
2013-04-18Optimize the generation of class member function invoker in embind.Jukka Jylänki
2013-04-18Restore missing argument count check into the embind invoker function ↵Jukka Jylänki
generated with makeInvoker.
2013-04-18Optimize embind makeInvoker to not call function.apply or do for() loops. ↵Jukka Jylänki
Instead, manually craft invoker functions for each function.
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-18Finally! JSInterface is deadChad Austin
2013-04-18can pass ArrayBuffer to std::stringChad Austin
2013-04-18allow passing Int8Array and Uint8Array directly to std::stringChad Austin
2013-04-18cannot pass non-strings to std::string arguments :)Chad Austin
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-18jshintChad Austin
2013-04-18assert if, when trying to convert JS string to std::string, the JS string ↵Chad Austin
has code units that do not fit in 8 bits
2013-04-18Allow passing JavaScript strings to std::wstringChad Austin
2013-04-18Add support for returning std::wstringChad Austin
2013-04-18Support for intrusive pointers. This dependency on Northstar must be removed ↵Bill Welden
before pusing embind to GitHub.
2013-04-18Kill validateThis for methodsChad Austin
2013-04-18Generalize class property access.Chad Austin
2013-04-12Use _embind_repr instead of IMVU.repr in embind.js, since IMVU.repr is not ↵Jukka Jylanki
available in kripken/emscripten.
2013-04-12More code duplication cleanup on embindJukka Jylanki
2013-04-12Remove code duplication on embindJukka Jylanki
2013-04-12Cleaned up some code repetition in embindJukka Jylanki
2013-04-12Add support for overloading class member functions and class static ↵Jukka Jylanki
functions based on function argument count.
2013-04-12refactoringChad Austin