summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-18setjmp support for asm.jsAlon Zakai
2013-04-18Restore -O2 test on other.test_embind - works ok.Jukka Jylänki
2013-04-18be more flexible in check for keeping std* as low values; cttz/ctlz can add ↵Alon Zakai
512 bytes to initial allocations
2013-04-18Make embind benchmarks read emscripten_get_now() in msecs.Jukka Jylänki
2013-04-18Make all paths of emscripten_get_now() return msecs.Jukka Jylänki
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-18Make select_overload work for member functionsChad Austin
2013-04-18calloperator wasn't pulling its own weight. We probably should have a ↵Chad Austin
higher-level register_function though...
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-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