summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-18Do slightly fewer iterations of GameObject benchmark to make the test run a ↵Jukka Jylänki
bit quicker.
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-18Add a new unit test that explicitly checks for the case when two different ↵Jukka Jylänki
classes happen to have member functions with the same name and signature - a reason why the 'instanceof' check exists in embind.js.
2013-04-18Match embind tests to reported exception.Jukka Jylanki
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-18Implement high-resolution timing in emscripten_get_now() when run in node. ↵Jukka Jylänki
Return timing ticks consistently as seconds in all methods.
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-18Remove clang inlining to level the profiling comparison against 'dynamic' ↵Jukka Jylänki
runtime dispatch between JS and JS embind.
2013-04-18Add a more concrete realworld benchmark with GameObject/Transform/Vector3 ↵Jukka Jylänki
position/rotation object hierarchy with shared_ptrs and benchmark moving objects from JS side using embind.
2013-04-18Rename test for consistency.Jukka Jylänki
2013-04-18Restore missing argument count check into the embind invoker function ↵Jukka Jylänki
generated with makeInvoker.
2013-04-18Added synthetic benchmark for comparing class member function call in C++ ↵Jukka Jylänki
and embind.
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-18Added benchmark for embind code.Jukka Jylänki
2013-04-18switch to EMSCRIPTEN_SYMBOL which improves code size a bit by storing the ↵Chad Austin
pointer to the string literal as a constant as opposed to a global variable.
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-18Finally! JSInterface is deadChad Austin
2013-04-18implement perfect forwarding in embindChad Austin
2013-04-18Support returning movable typesChad 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-18verify non-ascii data can be passed through std::stringChad Austin
2013-04-18Removed dependency on Northstar.Bill Welden
2013-04-18Support for intrusive pointers. This dependency on Northstar must be removed ↵Bill Welden
before pusing embind to GitHub.
2013-04-18fix a bug in optional argument listsChad Austin
2013-04-18allow optional implementation of non-abstract virtual methodsChad Austin
2013-04-18Kill validateThis for methodsChad Austin
2013-04-18Generalize class property access.Chad Austin
2013-04-17when we have multiple strides, restrideAlon Zakai
2013-04-17Merge pull request #1075 from michaeljbishop/tightly-packed-stride-testAlon Zakai
Further test for attributes with different strides
2013-04-17Merge pull request #1072 from waywardmonkeys/adjust-asm-constraintsAlon Zakai
Use a generic constraint for test_inlinejs.
2013-04-17emit landingpad variable assignment to avoid errors, even when exceptions ↵Alon Zakai
are disabled