Commit Graph

19 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 3d5b98b8a0 Refactor the order of class (Node, Label, Sprite) member for saving more memory.
More enum of char elements for saving more memory.
EventTouch and EventMouse are cached.
releaseScriptObject for scene should be placed at setNextScene.
Fixes protential crash while gc comes for JSC and ChakraCore.
Adds assertion in ScriptingCore::releaseScriptObject for not being invoked while gc.
Scheduler binding fix.
2017-08-28 14:03:33 +08:00
James Chen a3195fe6f5 memory leak fix. 2017-07-21 11:14:13 +08:00
James Chen cb9d9c2ad4 updates 2017-06-21 13:42:25 +08:00
James Chen 259bbbd6b2 updates. 2017-06-16 16:32:24 +08:00
pandamicro 5394abb9bf Support multi touch on iOS (the correct way) 2017-05-18 14:28:03 +08:00
pandamicro 5b721d51b2 Support multi touch on iOS 2017-05-18 11:36:49 +08:00
knoxHuang 97c717989e fix handleTouchesMove bug for #cocos-creator/fireball/issues/5099 2017-01-20 11:43:08 +08:00
pandamicro 178fbe03cb Separate FinalizeHook for ref objects and non ref objects 2016-12-17 17:19:10 +08:00
pandamicro c4fb2500f2 Fix compilation issues of CCGLView 2016-09-08 10:01:19 +08:00
Nan Wang ef368ef409 merged v1.2 2016-09-07 18:47:59 +08:00
knoxHuang b73e97e403 add enableAntiAlias for Native for fireball/issues/2836 2016-08-29 16:33:52 +08:00
pandamicro a2b0aa034c Fix viewport not supporting retina issue 2016-08-25 17:50:24 +08:00
pandamicro 1dd701936b Fix compilation issues on Mac 2016-08-11 13:57:51 +08:00
pandamicro fe85f150d9 Upgrade cocos/platform to v3.13 2016-08-05 18:13:48 +08:00
minggo 0952c454ba [desktop]fix the bug the depth test is disabled when application size changed 2016-07-18 17:14:20 +08:00
Wenhai Lin 47e5688a9d Bug fix:
1.Fixed fail to add component for node
2.Fixed crash on exit
3.Fixed FileUtils::isDirectoryExist may return the error result in iOS/Mac
2016-04-20 17:36:59 +08:00
Wenhai Lin 94c95d5838 Withespaces does matter. 2016-03-31 23:50:02 +08:00
Wenhai Lin a6dbf31dcf cocos 2d lite version 2016-03-29 17:55:48 +08:00