Commit Graph

75 Commits

Author SHA1 Message Date
James Chen c22673d440 Provides an interface for getting SafeArea (#1008)
* Provides an interface for getting SafeArea

* @available(iOS 11.0, *) isn't supported in Xcode8. So we use the old way.
2017-11-23 13:39:35 +08:00
James Chen 4a61e1423f Re-binds OpenGL interfaces. (#976)
* Adds opengl bindings code.

* Register OPENGL module.

* Updates Android.mk

* Updates win32 project configuration.

* Supports boolean -> integer conversion.

* glXXXXv count fix.

* GLNode needs to inherit from Node.

* Updates bindings.

* size fix in JSB_glGetUniformfv.

* JSB_glGetSupportedExtensions fix.
2017-11-14 18:05:14 +08:00
yinkaile d7fa1f9e13 rename director culling functions 2017-10-31 18:23:13 +08:00
yinkaile 26ff253d8c support dynamic enable/disable culling 2017-10-31 15:37:12 +08:00
James Chen fdd46f2718 Auto binds RenderTexture::saveToFile and fix js memory leak while saveToFile.
The callback _saveFileCallback has to be set to nullptr to release se::Value the std::function captures.
2017-10-26 12:44:06 +08:00
CocosRobot 5dfb7e6c36 [ci skip][AUTO]: updating jsbinding automatically 2017-10-25 10:50:51 +00:00
CocosRobot e0e7867719 [ci skip][AUTO]: updating jsbinding automatically 2017-10-23 07:16:38 +00:00
James Chen ee9713e007 CCLOG -> CCLOGINFO in finalize callback for less log output. 2017-10-11 17:02:46 +08:00
James Chen f0d2eeb2b3 Adds jsb_set_extend_property for easily setting extend property.
Adds jsb_init_file_operation_delegate and jsb_enable_debugger for easily use in AppDelegate.cpp.
2017-10-09 14:57:14 +08:00
James Chen 8b1ba02f9f Implements seval_to_TTFConfig, don't ignore createWithTTF and setTTFConfig in auto bindings. 2017-09-23 17:53:24 +08:00
James Chen 7539ccdad5 Merge pull request #819 from dumganhar/jsb2.0
[android] Fixes AppAcitivity (Sub class of Cocos2dxActivity) is re-created which causes crash if launching app first time and re-opening from icon.
2017-09-15 03:50:43 -05:00
James Chen ddc802d9f0 CCLOG in finalize method rather than cocos2d::log. 2017-09-15 10:40:43 +08:00
CocosRobot 1079062944 [ci skip][AUTO]: updating jsbinding automatically 2017-09-15 02:31:02 +00:00
James Chen f21fea4344 executeScriptBuffer -> evalString, executeScriptFile -> runScript. 2017-08-31 15:00:23 +08:00
James Chen df01303041 attachChild -> attachObject, detachChild -> detachObject, isSame -> strictEquals 2017-08-31 10:33:17 +08:00
James Chen 2b8798a73c Merge pull request #784 from dumganhar/jsb2.0
Some fixes for JSB2.0
2017-08-29 22:30:53 -05:00
CocosRobot c707237826 [ci skip][AUTO]: updating jsbinding automatically 2017-08-28 08:08:38 +00:00
James Chen 4a1cc2ec1b Updates auto bindings code 2017-08-28 14:05:55 +08:00
James Chen 2f38e872c1 Action binding bug fix. 2017-08-22 16:50:41 +08:00
James Chen dbe9716536 Adds BaseJSAction 2017-08-16 15:41:27 +08:00
James Chen 6b9cbbab28 cleanup. 2017-08-11 10:14:45 +08:00
James Chen e86ed76abf jsb2.0 windows works on v8. 2017-08-09 18:06:33 +08:00
James Chen dcadda2862 defineFinalizedFunction -> defineFinalizeFunction. 2017-08-03 17:28:40 +08:00
James Chen e5eac44c0f cleanup 2017-08-02 14:41:10 +08:00
James Chen 854aa81c0d JSB_PRECONDITION2->SE_PRECONDITION2 2017-07-31 10:57:59 +08:00
James Chen 10710cc407 switchToRoot -> root, switchToUnroot -> unroot. 2017-07-31 10:39:32 +08:00
James Chen b0b5edf8a8 Remove unneeded addRef. 2017-07-20 17:48:20 +08:00
James Chen b3db0a842a add modules register 2017-07-12 11:15:46 +08:00
James Chen cb9d9c2ad4 updates 2017-06-21 13:42:25 +08:00
James Chen d1a2e05ced temp 2017-06-20 10:25:37 +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
CocosRobot bc44901b16 [ci skip][AUTO]: updating jsbinding automatically 2017-05-16 07:39:25 +00:00
CocosRobot f038cfc2c6 [ci skip][AUTO]: updating jsbinding automatically 2017-05-08 07:42:35 +00:00
CocosRobot b6f9f79d7f [ci skip][AUTO]: updating jsbinding automatically 2017-05-02 05:58:48 +00:00
CocosRobot bc0d81d8b9 [ci skip][AUTO]: updating jsbinding automatically 2017-04-24 04:18:54 +00:00
CocosRobot 341e3e0741 [ci skip][AUTO]: updating jsbinding automatically 2017-04-22 19:23:17 +00:00
Wang Nan 6c66535cb1 Merge pull request #580 from 2youyou2/camera
Camera
2017-03-29 18:20:33 +08:00
CocosRobot c7e2e6a607 [ci skip][AUTO]: updating jsbinding automatically 2017-03-29 09:06:15 +00:00
2youyouo2 04910aa3c4 add CameraNode 2017-03-24 11:55:32 +08:00
pandamicro 201a2ba4e4 Compilation succeed after remove Action in native 2017-03-23 18:15:47 +08:00
CocosRobot 482b5df3fc [ci skip][AUTO]: updating jsbinding automatically 2017-02-10 08:26:33 +00:00
CocosRobot bbf4e25926 [ci skip][AUTO]: updating jsbinding automatically 2017-01-16 06:06:07 +00:00
CocosRobot 598e507730 [ci skip][AUTO]: updating jsbinding automatically 2017-01-13 07:13:58 +00:00
CocosRobot 8d13229c7e [ci skip][AUTO]: updating jsbinding automatically 2017-01-13 06:20:54 +00:00
CocosRobot 988d00421d [ci skip][AUTO]: updating jsbinding automatically 2017-01-09 03:21:56 +00:00
zilongshanren 83d61dcbf7 add bitmap font batch rendering 2016-12-21 16:51:04 +08:00
CocosRobot d0363349ed [ci skip][AUTO]: updating jsbinding automatically 2016-12-09 06:14:17 +00:00
CocosRobot 4ab7572d5f [ci skip][AUTO]: updating jsbinding automatically 2016-12-09 01:53:33 +00:00
CocosRobot 18a9a3c6eb [ci skip][AUTO]: updating jsbinding automatically 2016-11-16 03:47:03 +00:00