Граф коммитов

5953 Коммитов

Автор SHA1 Сообщение Дата
Chad Austin 8a12d4c1c4 fix a rebase conflict 2013-04-12 14:23:36 +03:00
Chad Austin ba7a7200ec Document operators that are not exposed 2013-04-12 14:23:34 +03:00
Chad Austin 15fa455b01 Missing semicolon 2013-04-12 14:23:33 +03:00
Chad Austin bf8a0f22d5 Depending on the order of construction and destruction of val objects, count_emval_handles could be incorrect. 2013-04-12 14:23:31 +03:00
Chad Austin 50e05c30bf Introduce val::new_ for constructor invocation 2013-04-12 14:23:30 +03:00
Chad Austin bacb23ed1a Kill eval_global_method: it's replaced with more primitives 2013-04-12 14:23:28 +03:00
Chad Austin 09bfd969bd after merge we need to fix hasOwnProperty to use [] 2013-04-12 14:23:27 +03:00
Chad Austin 066540930e Switch from val::get to val[] 2013-04-12 14:23:25 +03:00
Chad Austin 661e70cb38 simplify emscripten::val set and get 2013-04-12 14:23:24 +03:00
Bill Welden 5701999237 Fix a lint error. 2013-04-12 14:23:22 +03:00
Bill Welden 03180c5127 Removed order dependencies from emscripten bindings. 2013-04-12 14:23:21 +03:00
Chad Austin a8a7f1b365 Simplify emscripten::val a bit, reducing it closer to its primitive operations. 2013-04-12 14:23:19 +03:00
Chad Austin 2b173301ef Simplify emscripten::val a bit, reducing it closer to its primitive operations. 2013-04-12 14:23:18 +03:00
Bill Welden e5a50ea590 Reconstruct code after git merge issue. 2013-04-12 14:23:16 +03:00
Bill Welden 93b8504747 Fix lint warnings. 2013-04-12 14:23:15 +03:00
Bill Welden 08f3047321 Work in progress for access to properties under multiple inheritance 2013-04-12 14:23:13 +03:00
Bill Welden 939e9dbbbd Fix for lint warning. 2013-04-12 14:23:12 +03:00
Bill Welden 6c56bdda8d It is now possible to access base class properties and methods from a derived class (multiple inheritance not yet supported). 2013-04-12 14:23:11 +03:00
Chad Austin d893eed16b Forgot to implement take_value :) 2013-04-12 14:23:09 +03:00
Chad Austin c5b8e64a0b bring emscripten::val closer to the set of primitive operations provided by JS on values 2013-04-12 14:23:08 +03:00
Bill Welden d0969fc651 o Temporary shared pointers created to hold upcast argument values now share ownership with the original pointer.
o New test cases for edge cases.
o Other minor clean-up.
2013-04-12 14:23:06 +03:00
Bill Welden c59bb0d397 Minor clean-up of auto upcasting. 2013-04-12 14:23:05 +03:00
Bill Welden 34d32868ad New CastError exception when explicit or implicit cast cannot be completed. 2013-04-12 14:23:04 +03:00
Bill Welden 2665a390d2 Revert "Revert "Fix a lint error.""
This reverts commit 6bcd2b18c56448502c69bbfc960a3044c8955fd8.
2013-04-12 14:23:02 +03:00
Bill Welden cfb3df1b48 Revert "Revert "Auto upcast of pointer parameters to C++ routines.""
This reverts commit 07e0daa5aab716b38acf9041a8baec3816976579.
2013-04-12 14:23:01 +03:00
Bill Welden 84b49c917c Revert "Auto upcast of pointer parameters to C++ routines."
This reverts commit 64cc5c47bed294d5efa2433655552530c0242503.
2013-04-12 14:23:00 +03:00
Bill Welden f4480b5d9b Revert "Fix a lint error."
This reverts commit f7b63f2ed5f8fea7ed9c8d5b9116bc10bfbab7b7.
2013-04-12 14:22:58 +03:00
Bill Welden 27100ac1f5 Fix a lint error. 2013-04-12 14:22:57 +03:00
Bill Welden cd535236f6 Auto upcast of pointer parameters to C++ routines. 2013-04-12 14:22:56 +03:00
Todd Lee cd3be4e930 clean-up old interface binding implementation 2013-04-12 14:22:54 +03:00
Bill Welden 5ea90f9345 Support for automatic upcasting of pointer parameters passed to C++. 2013-04-12 14:22:53 +03:00
mey 32ccee42ba Adding a register map function, fixing some errors in array access functions and invokers. 2013-04-12 14:22:51 +03:00
Bill Welden ff79babe5d Fixed a lint error 2013-04-12 14:22:50 +03:00
Bill Welden eac098fc24 Major re-factoring for auto downcasting 2013-04-12 14:22:49 +03:00
Bill Welden d069ed4142 clear distinction between raw (C++) and cooked (Javascript class instances) types. 2013-04-12 14:22:47 +03:00
Bill Welden 55c72d46d7 Refactoring preparatory to code clean-up (no functional changes, all tests pass). 2013-04-12 14:22:46 +03:00
Bill Welden fa4795fe6c Continuing merge of auto downcasting. 2013-04-12 14:22:45 +03:00
Bill Welden 2308f2a5b1 More work on auto downcasting. 2013-04-12 14:22:43 +03:00
jinsuck ea98beba74 remove meaningless casting back and forth 2013-04-12 14:22:42 +03:00
jinsuck 77f2b4588b add a method to conveniently clone to shared pointer of wrapper 2013-04-12 14:22:41 +03:00
Todd Lee eca17e7c1b stringify key name before checking if the key exists 2013-04-12 14:22:39 +03:00
jinsuck 40773165f4 add const to a function in val 2013-04-12 14:22:38 +03:00
Todd Lee 0e3ca9c9d6 add ability for descendent to clone interface 2013-04-12 14:22:37 +03:00
jinsuck a7733270b0 add const to val 2013-04-12 14:22:35 +03:00
Todd Lee eab7bc729e remove unnecessary code 2013-04-12 14:22:34 +03:00
Bill Welden 50ba3a6ff9 Benchmark work on pointer casting. 2013-04-12 14:22:33 +03:00
mey 8929970461 Removing unused vector binding code that was missed during previous vector refactorings. 2013-04-12 14:22:31 +03:00
jinsuck 4f143f4638 Revert "remove an unused method"
This reverts commit 7300ba73d3004b8d5c69bd8e3dfbc971c3147ad8.
2013-04-12 14:22:30 +03:00
jinsuck a668fe09c4 remove an unused method 2013-04-12 14:22:28 +03:00
Bill Welden c0fce04cc6 Suppress a lint warning 2013-04-12 14:22:27 +03:00