aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-04-12Add support for rvalue reference parameters on factories. I don't really ↵Chad Austin
understand this code.
2013-04-12Apparently the WireType Marshaller is no longer necessary??Chad Austin
2013-04-12Illegal to pass raw pointer object from JS into smart pointer parameterChad Austin
2013-04-12Use custom JavaScript exception types in embind and throw a BindingError ↵Chad Austin
when trying to pass a non-object to a function that expects an object reference.
2013-04-12commentChad Austin
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-12Use standard method machinery for array access.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-12simplify embind a bit and checkpoint progress towards external constructorsChad Austin
2013-04-12NSTAR-1099 Eliminate naming conflict in embind handlesBill Welden
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-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-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
2013-04-12Fix for lint warning.Bill Welden
2013-04-12It is now possible to access base class properties and methods from a ↵Bill Welden
derived class (multiple inheritance not yet supported).
2013-04-12Forgot to implement take_value :)Chad Austin
2013-04-12bring emscripten::val closer to the set of primitive operations provided by ↵Chad Austin
JS on values
2013-04-12o Temporary shared pointers created to hold upcast argument values now share ↵Bill Welden
ownership with the original pointer. o New test cases for edge cases. o Other minor clean-up.
2013-04-12Minor clean-up of auto upcasting.Bill Welden
2013-04-12New CastError exception when explicit or implicit cast cannot be completed.Bill Welden
2013-04-12Revert "Revert "Fix a lint error.""Bill Welden
This reverts commit 6bcd2b18c56448502c69bbfc960a3044c8955fd8.
2013-04-12Revert "Revert "Auto upcast of pointer parameters to C++ routines.""Bill Welden
This reverts commit 07e0daa5aab716b38acf9041a8baec3816976579.
2013-04-12Revert "Auto upcast of pointer parameters to C++ routines."Bill Welden
This reverts commit 64cc5c47bed294d5efa2433655552530c0242503.
2013-04-12Revert "Fix a lint error."Bill Welden
This reverts commit f7b63f2ed5f8fea7ed9c8d5b9116bc10bfbab7b7.