Commit Graph

37334 Commits

Author SHA1 Message Date
halx99 97e81e8180 Refactor CCDownloader, use curl for all platforms. 2019-11-24 15:43:28 +08:00
halx99 70b71c85cc Remove websockets. 2019-11-24 15:08:59 +08:00
halx99 c8f85a4a95 Refactor AudioEngine, fix compile issue. 2019-11-24 15:07:48 +08:00
halx99 a759332591 Refactor AudioEngine implementation, use OpenAL for all platforms. 2019-11-24 14:54:45 +08:00
halx99 b0c62c07c2 add goal 2019-11-24 14:09:02 +08:00
halx99 9400bf79d8 update ignores. 2019-11-24 13:47:32 +08:00
halx99 a5e8d4b5a1 Merge branch 'master' of https://github.com/simdsoft/engine-v5 2019-11-24 13:41:16 +08:00
HALX99 7723fabb78
Merge pull request #13 from cocos2d/v4
sync V4
2019-11-23 20:20:02 -08:00
HALX99 22a085e6b8
fix edit box position error (#20358) 2019-11-24 00:27:19 +08:00
halx99 179ec6ed67 fix ci error 2019-11-23 21:25:17 +08:00
halx99 b94d75e5d6 fix ci error. 2019-11-23 20:27:39 +08:00
codetypes e9305431da fix edit box position error (#20358)
'sysEdit' y position is relate with frame height, not the viewport height. When in FIXED_WIDTH mode, if frame height is bigger than viewport height, it will got error y position.
2019-11-23 18:25:49 +08:00
halx99 c180c29d32 for MTL layer 2019-11-22 22:10:55 -08:00
coulsonwang c048d6b6bd no need to update color (#20363) 2019-11-23 10:04:23 +08:00
codetypes 9b8a72a843 fix AudioEngine maybe crash on android (#20361)
* fix AudioEngine maybe crash on android

I receive many crash about std::base_string in bugly(tencent) crash report, i can't prove those crash is relate with this, but when after  fix, i never receive again. so i think there maybe some situation will cause crash.

* type of 'filePath' change to std::string
2019-11-23 10:00:16 +08:00
CocosRobot 191b2b8982 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20366) 2019-11-22 17:06:40 +08:00
codetypes c81b7a0f09 support load asset in internal storage or sdcard (#20359)
* support load asset in internal storage or sdcard

* fix crash when fullPath.size() == 0
2019-11-22 16:08:00 +08:00
codetypes b9df4bd63b format spelling (#20360) 2019-11-22 16:07:43 +08:00
coulsonwang 5b15737b3a fix walking boundary of terrain (#20364) 2019-11-22 16:07:14 +08:00
HALX99 c08e2cda4d
Merge branch 'v4' into v4 2019-11-22 10:29:11 +08:00
halx99 78ed4e230b TextureFormatEXT 2019-11-22 03:36:01 +08:00
halx99 22d5008d28 PremultipliedAlpha 2019-11-22 01:39:03 +08:00
Arnold 3b4748009f
use copy instead of linkis (#20356) 2019-11-21 15:12:37 +08:00
halx99 8b62addcec Rename parameters. 2019-11-20 19:22:22 +08:00
halx99 5d5e6fcfec Remove comment. 2019-11-20 18:44:45 +08:00
halx99 0caf671edd Fix merge error. 2019-11-20 18:35:48 +08:00
halx99 e647820c9c Merge from official-v4. 2019-11-20 18:27:56 +08:00
halx99 e7906acfa4 v4-meta-multi-textures support Single Texture2D with multi GPU texture handlers. 2019-11-20 18:19:24 +08:00
coulsonwang 912ba30e49 remove duplicated PrgramState instance in the derived class of Node (#20350) 2019-11-20 11:04:42 +08:00
codetypes d05967b69a fix setScissorRect crash (#20348)
When part of scissorRect is out of render target viewport, it crash on mac.
Error message like this: -[MTLDebugRenderCommandEncoder setScissorRect:]:2703: failed assertion `(rect.y(568) + rect.height(447))(1015) must be <= render pass height(1000)'
2019-11-20 11:03:59 +08:00
HALX99 c0332b7a7f
Merge pull request #10 from cocos2d/v4
V4
2019-11-19 09:45:15 -06:00
minggo 977510f41d
fix issue that videoplayer may crash on iOS (#20345) 2019-11-18 16:53:36 +08:00
coulsonwang b2940949dd implement setProgramState for SpriteBatchNode (#20344) 2019-11-18 15:04:47 +08:00
minggo 83b521991f
fix issue that can not close keyboard if using EditBox on iOS (#20336) (#20340) 2019-11-15 13:45:39 +08:00
Arnold 587bcabf44 fix asan reported errors (#20332) 2019-11-15 13:39:23 +08:00
CocosRobot 49bca674cc [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20338) 2019-11-15 13:38:43 +08:00
minggo 9049ddbe7c
manually maintain reference count (#20329) 2019-11-15 11:39:49 +08:00
Arnold e3c636c23c Sync resource automatically on Windows and Linux (#20319) 2019-11-15 10:24:38 +08:00
HALX99 72d605dc15
Merge pull request #9 from cocos2d/v4
Sync V4
2019-11-14 04:19:30 -06:00
coulsonwang dde4780e14 decrease the font size or it will be conflict (#20333) 2019-11-14 18:11:15 +08:00
coulsonwang a6f73e2f5a adjust testItem relative position (#20331) 2019-11-14 15:13:20 +08:00
minggo bb5cf546f5
fix videoplayer crash in release mode (#20327) 2019-11-14 14:49:47 +08:00
minggo 3a36e2d5c2
Fixing a crash in iOS 9.3.5 when we have a layer with WebView getting deallocated (#20285) (#20328)
* In case of iOS 9.3.5 when we show a web view and deallocate the layer it is trying to release memory associated with WKWebView instance, but it hadn’t retained it in the first place. This results in a crash. This commit fixes that crash.

* Removing the autorelease and retain parts from the WKWebView instantiation.

* Changes so that we can remove the retain from the property declaration and depend only on manual retain and release of memory <Deep>
2019-11-14 14:49:11 +08:00
coulsonwang 56888524b7 set default minimum deployment target (#20323) 2019-11-14 09:43:37 +08:00
coulsonwang d03411d6eb update submodule (#20324) 2019-11-14 09:43:14 +08:00
coulsonwang facf78a22b add opengl header since Texture2D and Image will use opengl define (#20322)
* add opengl header since Texture2D and Image will use opengl define

* update review
2019-11-13 17:46:40 +08:00
Arnold 6a53b31d08 [bugfix] add pagezero_size link flags (#20321) 2019-11-13 11:07:52 +08:00
minggo e03192b48c
update 3rd bin (#20316) 2019-11-12 11:29:53 +08:00
CHP ac305862f4 Support multiple build configurations (#20314)
* MINSIZEREL_RELWITHDEBINFO_Support

* Remove DEBUG_MODE
2019-11-11 10:09:50 +08:00
CocosRobot 4d16f313db [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20311) 2019-11-08 16:47:35 +08:00