aboutsummaryrefslogtreecommitdiff
path: root/src/embind/embind.js
AgeCommit message (Collapse)Author
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
2013-04-12Allow value_tuple and value_struct to be registered as global constants. ↵Chad Austin
This involved reworking how value_struct and value_tuple are registered.
2013-04-12Add support for global constants.Chad Austin
2013-04-12Add support for registering overloads of free functions based on argument count.Jukka Jylanki
2013-04-12Add support for binding multiple class constructors with embind. The ctors ↵Jukka Jylanki
must have different number of arguments each.
2013-04-12Generalize support for struct fieldsChad Austin
2013-04-12Further generalize support for tuple elements, and in the meantime, fix a ↵Chad Austin
bug that made it into one variant of the function but not the other...
2013-04-12Restructure and generalize tuple accessors.Chad Austin
2013-04-12Move context generation/copying out of JavaScript and into C++, where we'll ↵Chad Austin
be able to do some cool things in the future.
2013-04-12Fix equality testing in previous commitJukka Jylanki