aboutsummaryrefslogtreecommitdiff
path: root/tests/embind
AgeCommit message (Collapse)Author
2013-11-26correct way of scrollinbg to bottomLu Wang
2013-10-23write out html and side js when html output is requested, to improve page ↵Alon Zakai
load times
2013-07-17Add a test that shows JS objects can be modified if passed by reference into ↵Chad Austin
a C++ function
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-06-28fix browser tests with their own shellsAlon Zakai
2013-05-17Add support for multiple overloaded smart pointer constructors.Chad Austin
2013-05-17Allow implicit conversion from booleans to ints/floats (for WebGL)Chad Austin
2013-05-17Add new benchmark for emscripten::val handling.Jukka Jylänki
2013-05-17Implement an autorelease pool in embind.Chad Austin
2013-05-17Add new unit tests to ensure that the return values of interfaces ↵Jukka Jylanki
implemented in JS don't leak memory.
2013-05-17Pre-register symbol strings in embind benchmark just to be sure - e.g. ↵Jukka Jylänki
Uint8Array was not found via 'fast path', but with slow string compares!
2013-05-17Benchmark for memory_viewChad 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-17switch to this emscripten for building the benchmark, now that imvu's ↵Chad Austin
emscripten is rebased on top of upstream
2013-05-04Remove more +x permissions on source or javascript filesSylvestre Ledru
2013-05-02Oops, fix a test leak.Chad Austin
2013-05-02Add a test for interface methods that return void.Chad Austin
2013-05-02Add a benchmark for calling from C++ into JS via interfacesChad Austin
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-05-02Add a select_const for selecting the const method implementation if there ↵Chad Austin
are only two. Conflicts: tests/embind/embind_test.cpp
2013-04-21Add new passgameobject_ptr embind benchmark to test smartptr routing in and ↵Jukka Jylänki
out of functions.
2013-04-18Make embind benchmarks read emscripten_get_now() in msecs.Jukka Jylänki
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-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-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-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-18Added synthetic benchmark for comparing class member function call in C++ ↵Jukka Jylänki
and embind.
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-18Finally! JSInterface is deadChad 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-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-18allow optional implementation of non-abstract virtual methodsChad Austin