Commit Graph

2636 Commits

Author SHA1 Message Date
Cocos Robot 22bd625ce0 Sync branch v2.1.3 to v2.2.0 2019-07-05 14:43:48 +08:00
minggo 875acde984 native returns unpremultiplied data (#1765)
* unpremultiply alpha on ios/mac

* unpremultiply alpha on Android and windows
2019-07-02 15:00:15 +08:00
Jare Guo 9eb2af918f improve convert draw y point calculate for 2d-tasks/issues/1378 (#1739) (#1764)
* improve convert draw y point calculate for 2d-tasks/issues/1378

* update comment

* improve convert draw y point calculate for android

* improve convert draw y point calculate for win32
2019-07-01 15:11:44 +08:00
Cocos Robot c81d753e3c Sync branch v2.1.2 to v2.2.0 2019-06-09 14:32:35 +08:00
Arnold 5502000bc6 prevent downloader callbacks when app exits (#1763) 2019-06-04 02:21:04 -07:00
minggo 057537d47f Copy-paste mistake fix in handling GL_COMMAND_UNIFORM_4FV (#1760) (#1762) 2019-06-03 23:49:41 -07:00
minggo 124a6e297e fix memory leak in loading font on iOS/mac (#1761) 2019-06-03 23:36:06 -07:00
owen 1b76013f11 V2.1.2 fix spine crash (#1758)
* fix spine will crash when load/unload spine res frequently

* refine code
2019-05-31 16:50:12 +08:00
owen 67ede273c3 omit some code (#1755) 2019-05-30 15:32:51 +08:00
owen 27976a78c9 V2.2.0 spine 3.7 (#1754)
* Remove old library

* upgrade spine

* Remove old files

* upgrade spine

* Upgrade spine

* Upgrade spine

* Roll back to 3.7

* Replace tab to 4 space

* Support spine vertex effect
Add mesh debug graphics

* modify license

* Modify cocos2dx-files.json

* Add bounding box

* Add bounding box

* Refine code
2019-05-29 17:38:46 +08:00
Cocos Robot 99bda05345 Sync branch v2.1.2 to v2.2.0 2019-05-28 19:49:23 +08:00
Jare Guo c61370ac5f gulp: force bypass npm proxy on windows 2019-05-27 21:11:02 +08:00
Jare Guo b17b6b38a3 update readme 2019-05-27 19:53:44 +08:00
Knox b8a774f018 fix outline display error (#1748) 2019-05-27 15:31:01 +08:00
Cocos Robot 4251369943 Sync branch v2.1.2 to v2.2.0 2019-05-26 14:48:54 +08:00
owen 370956a0c0 Fix spine crash when resource missing (#1745)
* Fix spine crash when resource missing

* Fix spine renderer error

* Fix spine renderer error
2019-05-23 19:14:23 +08:00
Cocos Robot 2b776a2d4d Sync branch v2.1.2 to v2.2.0 2019-05-23 16:37:54 +08:00
Arnold 3d35c5b444 Protect native allocated typed array from being GC (#1744)
* protect Uint8Array

* fix cond

* auto root in Data_to_seval
2019-05-23 14:08:10 +08:00
wuzhiming 7a19c65d52 add script engine initialize check when evalString from native 2019-05-20 11:03:03 +08:00
cary c8a00942a0 Fix the black border of the label on the Win32 platform. (#1741) (#1742)
* Fix the black border of the label on the Win32 platform.

* fix indent

* fix indent

* Optimize data copy.
2019-05-16 17:25:53 +08:00
Cocos Robot 7a75c70f8c Sync branch v2.1.2 to v2.2.0 2019-05-15 22:10:00 +08:00
cary 4d1fa27346 Fix the black border of the label on the Win32 platform. (#1741)
* Fix the black border of the label on the Win32 platform.

* fix indent

* fix indent

* Optimize data copy.
2019-05-15 15:23:35 +08:00
Knox 871476343c improve convert draw y point calculate for 2d-tasks/issues/1378 (#1739)
* improve convert draw y point calculate for 2d-tasks/issues/1378

* update comment

* improve convert draw y point calculate for android

* improve convert draw y point calculate for win32
2019-05-13 16:53:42 +08:00
Jare Guo 92808b3881 Merge branch 'v2.0.10' into v2.1.1-release 2019-04-26 16:48:31 +08:00
江湖人称骚哥 0d8f8f8f7b Fix bug on ios, getNetworkType return None while network status is ReachableViaWWAN (#1734) 2019-04-26 16:42:37 +08:00
Cocos Robot 360c6c1f82 Sync branch v2.0.10 to v2.1.1-release 2019-04-25 20:06:46 +08:00
Arnold d88d4ffead Use smart pointers to hold references of global Application::_scheduler (#1732)
* use std::weak_ptr

* revert build/libcocos2d.vcxproj

* fix mac & ios & android

* declare variable in if block

* revert build/libcocos2d.vcxproj
2019-04-25 18:43:01 +08:00
owen 0edef1a7b5 Fix dragonbnoes slot displayIndex invalid in native platform bug (#1730) 2019-04-25 13:51:20 +08:00
cary 57554f4ed9 Fix the fillRect method implementation of the win32 platform. (#1728)
* Fix the fillRect method implementation of the win32 platform.

* fix indent
2019-04-22 18:19:18 +08:00
Arnold a9e182967f Prevent XMLHttpRequest from being gc incorrectly, when timeout occurs. (#1724)
* gc on response

* fix state

* add comment

* prevent multiple send

* revert bindings-generator

* rename _isSend to _isSending
2019-04-22 13:08:00 +08:00
Jare Guo 3abfc68277 Merge branch 'v2.0.10' into v2.0-release 2019-04-20 15:51:35 +08:00
Jare Guo 1a72892bb5 gulp: unified push tag in fireball 2019-04-20 15:50:55 +08:00
Cocos Robot f07b75a90e Sync branch v2.0-release to v2.1-release 2019-04-19 18:53:15 +08:00
id-ilych 9303638190 WsThreadHelper::__defaultProtocols are not zeroed properly (#1723) 2019-04-19 10:54:27 +08:00
Arnold f3f5f4b7b6 Prevent connection objects from being GC, when they are not done yet. (#1716)
* prevent connections from being GC, when they are not  yet.

* run genbindings

* triggle ci
2019-04-19 10:17:41 +08:00
kenshin 3b9ea184ae fix XMLHttpRequest crash, avoid HttpClient response call a released object! (#1721) 2019-04-19 10:06:40 +08:00
Jare Guo e67356f2c7 gulp: unified push tag in fireball 2019-04-16 14:50:28 +08:00
Cocos Robot d8a6853a9d Sync branch v2.0-release to v2.1-release 2019-04-15 18:30:36 +08:00
Cocos Robot f26850052e Sync branch v2.0.10 to v2.0-release 2019-04-15 18:30:23 +08:00
Jare Guo 3c260aa21f enable ci on all branches (#1718) 2019-04-15 16:34:02 +08:00
Arnold 974605ea42 run tools/travis-scripts/generate-template-files.py (#1717) 2019-04-15 16:03:04 +08:00
Cocos Robot c56d468ef2 Sync branch v2.0-release to v2.1-release 2019-04-14 17:43:18 +08:00
吴智明 830c3905b1 Merge pull request #1714 from knoxHuang/v2.0-release
alBufferData instead of alBufferDataStatic for small audio file on Apple
2019-04-11 10:45:44 +08:00
Arnold fba583b058 ignore touch event if native init is not finished (#1715)
* cache touch event if renderer is not ready

* skip bad files

* ignore events if not ready

* mark mNativeInitCompleted as false before init
2019-04-10 17:30:30 +08:00
吴智明 4fd60231d3 Merge pull request #1712 from holycanvas/v2.0-release
fix loading subpackages's file failed(#1285)
2019-04-10 16:14:15 +08:00
knox 49373f1b6a alBufferData instead of alBufferDataStatic for small audio file on Apple 2019-04-09 18:05:27 +08:00
Arnold af63971d68 [bugfix] cc.loader IPV6 local network address binding (#1713)
* add source code of cz.msebera.android.httpclient

* remove httpclient-4.4.1.1.jar & use PlainSocketFactory

* add dns callback

* add interface

* add comment

* revert unused change

* remove generated file
2019-04-09 17:33:13 +08:00
santy-wang 6b19429228 fix loading subpackages's file failed(#1285) 2019-04-08 17:07:47 +08:00
owen d124f167bf Fix if spine has not loaded normaly, then will trigger crash (#1711)
* fix if spine has not loaded normaly,then will trigger destructor,so state may empty

* fix if spine has not loaded normaly,then will trigger destructor,so state may empty
2019-04-08 15:30:57 +08:00
owen f92d9f196d modify SkeletonDataMgr license (#1710) 2019-04-08 11:51:44 +08:00