Commit Graph

37243 Commits

Author SHA1 Message Date
coulsonwang 6dbbb4cc0a remove the comment of enableRetina for mac (#20249) 2019-10-25 15:39:59 +08:00
coulsonwang b849fce842 remove box2d tests (#20246) 2019-10-25 13:37:08 +08:00
minggo be038d9ffc
fix some warnings (#20236) 2019-10-25 09:27:54 +08:00
coulsonwang 4c3d7b49a3 remove deprecated setBlendFunc (#20244) 2019-10-25 09:27:32 +08:00
coulsonwang d7f2ae3a9f fix TODO (#20245) 2019-10-25 09:26:57 +08:00
CocosRobot 4b1cecdb12 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20241) 2019-10-24 18:09:40 +08:00
coulsonwang a2eeb25b75 update bullet (#20239) 2019-10-24 17:52:38 +08:00
minggo c2c6aa4268
don't compile codes for binding generator if it is a pull request (#20237) 2019-10-24 17:25:35 +08:00
coulsonwang b5f1b0ecd9 support iphone simulator (#20235) 2019-10-24 17:24:13 +08:00
minggo 8bf83dcf3a
Sync 20209 (#20233)
* fix issue: TextField can not receive characters(non number or english… (#20209)
2019-10-24 17:19:18 +08:00
minggo 1898d477ce
[ci skip]Release note (#20234)
* update changelog

* update release note

* update version
2019-10-24 14:34:48 +08:00
CocosRobot 8a191d5f6f [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20230) 2019-10-23 15:06:43 +08:00
minggo 6b1e55f419
Remove experimental namespace (#20229) 2019-10-23 14:58:31 +08:00
coulsonwang ee4432661c fix label text word wrong warp issue (#20226) 2019-10-23 14:13:38 +08:00
CocosRobot f210576c3a [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20227) 2019-10-22 14:08:55 +08:00
Arnold 11a1f820e2 [v4] add unzip test code (#20219) 2019-10-22 13:47:07 +08:00
Andy Duplain 1a04787287 Rework CMake Xcode support. (#20205)
- Build using C++17 by default.
- Simplified customization of Xcode project via cmake.
- Add documentation to demonstrate how to use the customization.

- NOTE: I believe we could compile with bitcode enabled if the box2d
        library was compiled using bitcode.
2019-10-22 13:42:56 +08:00
minggo cbf3233b59
Rename cocos2d::MessageBox to cocos2d::ccMessageBox. (#20159) (#20218) 2019-10-17 14:28:35 +08:00
minggo e86f22940a
Remove tinyxml2 from CCSaxParser implement. (#20141) (#20217) 2019-10-17 11:14:28 +08:00
minggo c816d2967b
Fix include order for Win32. (#20216) 2019-10-17 11:14:15 +08:00
minggo d29adb3180
sync #19914 (#20215) 2019-10-17 11:14:04 +08:00
minggo fae3ef8e48
fix memory leak (#20110) (#20214) 2019-10-17 11:13:02 +08:00
minggo fafd16e949
refactor Quaternion class (#20031) (#20213)
* remove redundant copy constructor and destructor
2019-10-17 11:12:49 +08:00
minggo 99e984dde5
fix crash when plist filename hasn't suffix (#19999) (#20212) 2019-10-17 11:12:37 +08:00
minggo 24b04e561b
sync #20007 to v4 (#20210)
* sync #20007 to v4

* Fixing a bug in Node::enumerateChildren (#20045)

This patch fixes an issue that if both // (recursive enumeration)
and .. (starting from parent node) are specified,
Node::enumerateChildren does not honor the latter and starts searching
from current node rather than parent node.
2019-10-17 11:12:25 +08:00
minggo 8a64e6f983
fix RotateTo animation when angle is bigger than 360 (#20009) (#20211) 2019-10-16 16:31:35 +08:00
CocosRobot 40038020ba [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20208) 2019-10-16 11:41:06 +08:00
Andy Duplain 0a227ef2d7 Don't use MTL_ pixelformat when building for iOS Simulator. (#20198) 2019-10-16 09:51:17 +08:00
coulsonwang b8cf680342 update ProgramState usage in lua (#20204) 2019-10-16 09:48:38 +08:00
CocosRobot bdf39670fd [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20203) 2019-10-16 09:44:05 +08:00
coulsonwang 67ae2e756e fix ProgramState and Program performance (#20189)
* fix ProgramState and Program performance

* fix review

* fix

* add autorelease
2019-10-15 09:40:59 +08:00
coulsonwang 327407d59b fix full screen issue (#20202)
need resize depth and stencil attachment texture as well.
2019-10-15 09:38:51 +08:00
coulsonwang b553648a77 remove unused code (#20195) 2019-10-12 09:45:56 +08:00
coulsonwang 68aedd7ef0 revert error caused by fixC4244Warning (#20190) 2019-10-11 16:39:33 +08:00
coulsonwang a91091e93a fix triangle batch (#20185)
* fix triangle batch
since it would be too expensive to check the uniforms, simplify enable batching for built-in program.

* enable user update the materialID
2019-10-10 09:41:39 +08:00
coulsonwang c7020fbb5f fix C4244 warning (#20173) 2019-10-09 17:50:32 +08:00
coulsonwang ab04e037b7 fix PhysicsContactTest (#20171)
modify the item relative position to avoid inappropriate operation.
2019-10-08 15:07:46 +08:00
coulsonwang 49a3b5b228 fix auto test fails (#20183)
needs an integer position
2019-10-08 15:06:47 +08:00
CocosRobot 4116371053 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20176) 2019-09-26 17:35:39 +08:00
rh101 4ac3f94774 V4 RenderTexture PMA flag fix (#20153)
* This is to ensure the RenderTexture internal texture2D PMA flag is set to the correct value.
[CCSprite.cpp] Blending mode needs to be set based on the PMA flag of the texture if using Sprite::initWithTexture().

* [CCSprite.cpp] Removed redundant code related to blending mode and opacityModifyRGB when creating a sprite with a texture.
2019-09-26 16:11:23 +08:00
Arnold d3359c3e4a [v4] update submodule cocos2d-console (#20170)
disable compile lua scripts on linux
2019-09-26 16:10:53 +08:00
minggo 774a90792c
fix link error on iOS simulator (#20172) 2019-09-26 16:09:59 +08:00
minggo 42c43a53a1
fix crash when back with playing video (#20169) 2019-09-25 14:33:18 +08:00
coulsonwang 6de088ab98 fix C4244 warning (#20162)
* fix C4244 warning

* fix warning C4244

* fix compile error
2019-09-25 14:32:26 +08:00
minggo 70bd4e967d
update external to fix compiling error on Xcode 11 (#20165) 2019-09-25 09:51:43 +08:00
Arnold 0d9b5ff442
rebase (#20166) 2019-09-25 09:13:23 +08:00
minggo 77a47957a7
set software mode will slow down performance (#20155) 2019-09-24 14:29:14 +08:00
coulsonwang 9ee9917047 fix Physics3DDebugDrawer (#20160)
Since drawing type is ARRAY, should use  instead.
2019-09-24 14:28:44 +08:00
Arnold 391780d5e2 [v4] update external version to metal-support-16 (#20161)
recompile libfreetype.a for ubuntu 18
2019-09-24 14:28:22 +08:00
coulsonwang 03a4ddf764 fix warning (#20146)
* fix warning
fix warning

* remove integer type constructor for Vec2
2019-09-24 11:31:35 +08:00