aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-12Rework how vectors and maps are bound: add bounds checking and return ↵Chad Austin
undefined if out of bounds.
2013-04-12Support autodowncasting when passing pointers into valChad Austin
2013-04-12Support external raw pointer constructors.Chad Austin
2013-04-12Fixed a problem where auto downcasting from a smart pointer to a derived ↵Bill Welden
class for which no smart pointer was registered would cause a crash. Now a smart pointer is only downcast to the most derived class which is bound and for which a smart pointer is registered.
2013-04-12Give a sensible error message if attempting to construct a class with no ↵Chad Austin
accessible constructor
2013-04-12Disallow direct embind constructor calls.Chad Austin
2013-04-12fix jshintChad Austin
2013-04-12We were misusing writeStringToMemory which could cause memory corruption.Chad Austin
2013-04-12jshint fixChad Austin
2013-04-12Use length-prefix strings instead of null-terminated strings to support ↵Chad Austin
passing strings with embedded nul characters.
2013-04-12Allow const non-member functionsChad Austin
2013-04-12Use standard method machinery for array access.Chad Austin
2013-04-12allow non-member functions bound as methods.Chad Austin
2013-04-12Replace operator call with a method invoking said operator call, so ↵Chad Austin
isinstance works again. When Function.create exists we can have the benefit of both worlds.
2013-04-12fix a syntax errorChad Austin
2013-04-12simplify embind a bit and checkpoint progress towards external constructorsChad Austin
2013-04-12Change register_smart_ptr to smart_ptr.Bill Welden
2013-04-12NSTAR-1099 Eliminate naming conflict in embind handlesBill Welden
2013-04-12implement an api for allowing JS subclasses of C++ interfacesChad Austin
2013-04-12Fix a couple of merge issues bringing down the lastest emscripten.Bill Welden
2013-04-12Fix a bunch of compiler warningsChad Austin
2013-04-12Bring back EMSCRIPTEN_KEEPALIVEChad Austin
2013-04-12Fix cxa_demangle compile errorsChad Austin
2013-04-12EMSCRIPTEN_KEEPALIVE has been removedChad Austin
2013-04-12move vecFromJSArray from bind.h to val.h to make it unnecessary to include ↵Todd Lee
bind.h
2013-04-12header dependency fixTodd Lee
2013-04-12emscripten::internal::optional is now copyable.Andy Friesen
Fix JSInterface::JSInterface copy constructor to take a const&
2013-04-12Can now reference base classes through multiple levels of inheritance if one ↵Bill Welden
or more intermediate classes are not bound. Warning: we know nothing about the members of the unbound classes, so you might end up inheriting the bound base class's member when a C++ routine would inherit the identically named member from the unbound class.
2013-04-12- Classes now inherit elements from grandparent (etc.) as well as parent classesBill Welden
- Removed dead code
2013-04-12Removed explicit cast capability from bindings.Bill Welden
2013-04-12Revert "register_smart_ptr changed to .shared_ptr (mod to class definition) ↵Bill Welden
-- shared_ptr (outside of class definition) is still allowed" This reverts commit c38bb38e9d6393dfacb4afb0e9ba80ce42aee965.
2013-04-12Revert "fix lint warning"Bill Welden
This reverts commit 4a9e281a7d42595354c775ee1a79fdb9c3ec6354.
2013-04-12fix lint warningBill Welden
2013-04-12register_smart_ptr changed to .shared_ptr (mod to class definition) -- ↵Bill Welden
shared_ptr (outside of class definition) is still allowed shared pointers passed by reference can be modified by the called code -- the change is now reflected at the Javascript calling level other minor clean-up and small syntactic changes
2013-04-12fix a rebase conflictChad Austin
2013-04-12Document operators that are not exposedChad Austin
2013-04-12Missing semicolonChad Austin
2013-04-12Depending on the order of construction and destruction of val objects, ↵Chad Austin
count_emval_handles could be incorrect.
2013-04-12Introduce val::new_ for constructor invocationChad Austin
2013-04-12Kill eval_global_method: it's replaced with more primitivesChad Austin
2013-04-12after merge we need to fix hasOwnProperty to use []Chad Austin
2013-04-12Switch from val::get to val[]Chad Austin
2013-04-12simplify emscripten::val set and getChad Austin
2013-04-12Fix a lint error.Bill Welden
2013-04-12Removed order dependencies from emscripten bindings.Bill Welden
2013-04-12Simplify emscripten::val a bit, reducing it closer to its primitive operations.Chad Austin
2013-04-12Simplify emscripten::val a bit, reducing it closer to its primitive operations.Chad Austin
2013-04-12Reconstruct code after git merge issue.Bill Welden
2013-04-12Fix lint warnings.Bill Welden
2013-04-12Work in progress for access to properties under multiple inheritanceBill Welden