wdzhangchukong
bf27fdd955
Rename cc in JSB ( #1476 )
...
* Rename __ccgl to __gl
* Rename __CCPrivateData to __PrivateData
* Change CanvasRenderingContext2D to global
* Change CanvasRenderingContext2D to global
* Change getDeviceMotionValue into Device
* Change FileUtils to global
* Change AudioEngine to global
* Change AudioEngine into Audio
* Remove cc in c++
* Remove __jsc__
* Change auto file template
* Name jsb_cocos2d_global to auto
* Reset jsb_cocos2dx_auto
* Register jsb_cocos2dx_global_auto
2018-08-24 17:03:50 +08:00
James Chen
287f085c0d
Sync 1.9 changes, se::Object::clearPrivateData takes a parameter 'clearMapping' to indicate whether to clearMapping in this function. ( #1265 )
...
* Adds TODO in restartVM bindings.
* Sync 1.9 changes, se::Object::clearPrivateData takes a parameter 'clearMapping' to indicate whether to clearMapping in this function.
* Removes unused function recreate_seval_by_native_ptr.
2018-05-24 16:50:21 +08:00
minggo
0505ee928a
Optimize ( #1199 )
...
* optimize performace
* optimize performance
2018-04-18 17:47:46 +08:00
James Chen
5453cbc99f
Updates jswrapper to the latest version. ( #1127 )
2018-02-24 11:48:08 +08:00
Jare Guo
d9bd3d763c
update license ( #1089 )
...
* updating license
* update license
2018-02-01 15:20:01 +08:00
James Chen
4ccf1df75a
Adds se::Object::toString() method for converting an Object to std::string. ( #992 )
2017-11-17 13:40:25 +08:00
James Chen
de091e7369
se::Object::getTypedArrayData fix for jsc and v8. Need to consider byteOffset of ArrayBuffer stored in TypedArray. ( #989 )
2017-11-16 10:39:33 +08:00
James Chen
a55cb9b0d3
Adds New API se::Object::createTypedArray and deprecates se::Object::createUint8TypedArray. ( #974 )
...
* Adds New API se::Object::createTypedArray and deprecates se::Object::createUint8TypedArray.
* Fixes mistake while cherry-pick.
2017-11-09 17:06:13 +08:00
James Chen
6a9500df10
LOGD -> SE_LOGD, LOGE -> SE_LOGE to avoid conflict with user code.
2017-11-02 11:35:53 +08:00
James Chen
df2c482314
Adds license info for .h/.cpp files in jswrapper.
2017-10-24 15:56:37 +08:00
James Chen
76981db2ac
se::Object::setProperty should return boolean.
2017-10-09 14:59:05 +08:00
James Chen
9dafab9c49
macOS and iOS use JavaScriptCore, windows and android use V8.
2017-09-18 16:11:50 +08:00
James Chen
53250dad49
se::Ref -> se::RefCounter, addRef -> incRef, release -> decRef
...
This is for distinguishing from cocos2d::Ref.
2017-08-31 14:24:34 +08:00
James Chen
df01303041
attachChild -> attachObject, detachChild -> detachObject, isSame -> strictEquals
2017-08-31 10:33:17 +08:00
James Chen
73e45e92e4
Adds MappingUtils file, box2d works again.
2017-08-18 14:34:55 +08:00
James Chen
e13c1ffed3
fix warning generated by vs2015.
2017-08-11 09:47:49 +08:00
James Chen
47b39f8f2e
v8 cleanup.
2017-08-02 17:39:14 +08:00
James Chen
10710cc407
switchToRoot -> root, switchToUnroot -> unroot.
2017-07-31 10:39:32 +08:00
James Chen
64a6d89b19
cleanup
2017-07-25 10:14:32 +08:00
James Chen
e5edd5d6cf
cleanup.
2017-07-20 17:50:40 +08:00
James Chen
b3db0a842a
add modules register
2017-07-12 11:15:46 +08:00
James Chen
af6aa8f45e
ios jsc, sm works.
2017-06-26 10:41:26 +08:00
James Chen
05a893a08b
printf -> LOGD
2017-06-23 13:44:18 +08:00
James Chen
259bbbd6b2
updates.
2017-06-16 16:32:24 +08:00
James Chen
91359f1f75
first commit
2017-06-15 17:24:30 +08:00