Commit Graph

2660 Commits

Author SHA1 Message Date
owen 2c31d09fa5 Fix 213 spine auto file generate error (#1828) 2019-09-04 11:11:27 +08:00
CocosRobot a0aea3e81b [ci skip][AUTO]: updating jsbinding automatically (#1822) 2019-08-30 19:43:04 +08:00
Arnold 1914ef6d17 update binding generator (#1819) 2019-08-30 18:42:51 +08:00
minggo 89fc67594a update template file (#1821) 2019-08-30 18:37:41 +08:00
Arnold e29a43baff fix travis (#1818) 2019-08-30 18:07:24 +08:00
minggo 95315c1a73 V2.1.3 update v8 android (#1817)
* use ndk's stl

* update external version: update v8
2019-08-30 17:37:58 +08:00
minggo f21dbcba3c Video player android (#1811)
* fix some video issues on Android

* revert some error commit
2019-08-29 11:34:48 +08:00
minggo e6f5c146dc fix video player issue that missing controlling items in fullscreen mode on iOS (#1800) 2019-08-23 11:24:02 +08:00
minggo e3dd5e8458 fix instant template compiling error on android (#1799) 2019-08-23 09:43:40 +08:00
PP 2ff511ac8c fix composed character on EditBox (#1798) 2019-08-21 11:41:53 +08:00
cary 7576a53822 Fixed memory leak caused by HtmlCanvasElement not being released. (#1786)
* Fixed memory leak caused by HtmlCanvasElement not being released.

* modify unroot

* add comment
2019-08-02 10:21:48 +08:00
unace ca5c7fd25b [Android] fix an audio bug (#1788)
*  fix external player muting. add audio focus flag

Add ability to not stop sound & music on game start in android
This comes from https://github.com/cocos2d/cocos2d-x/pull/18640.

* [Android] fix an audio bug

fix an audio bug that audios are not paused when locking screen while notification drawer is showing.
2019-08-02 09:25:11 +08:00
unace 919d036a95 fix external player muting. add audio focus flag (#1785)
Add ability to not stop sound & music on game start in android
This comes from https://github.com/cocos2d/cocos2d-x/pull/18640.
2019-07-31 15:06:11 +08:00
cary e2be1c5f51 Fix memory leak of Label on win32 platform. (#1783)
* Fix memory leak of Label on win32 platform.

* add free dataBuf.

* format
2019-07-31 15:05:47 +08:00
PP 575c15bbed set default text color for editText (#1778) 2019-07-31 15:05:37 +08:00
knox 48250287ee refine code 2019-07-29 09:20:11 +08:00
knox 7f68a97cda improve getCurrentLanguage to android 2019-07-26 16:45:31 +08:00
Jare Guo 602804cd61 Merge pull request #1782 from minggo/v2.1.3
升级 v8
2019-07-26 13:39:16 +08:00
minggo ebc27bb630 Merge branch 'v2.1.3' of github.com:minggo/cocos2d-x-lite into v2.1.3 2019-07-26 12:00:05 +08:00
minggo 7fbe83c3ee use jsc on iOS 2019-07-26 11:49:43 +08:00
minggo b76f9b27a2 correct coping files for default template 2019-07-26 11:44:36 +08:00
minggo 57fd102dd5 fix compling error on android x86 2019-07-26 11:34:57 +08:00
Jare Guo b3f4c1e979 Revert "Update v8 to 7.5.288.22 (#1772)" (#1779)
This reverts commit 144bb78337.
2019-07-25 10:20:55 +08:00
minggo 66735ce3c8 fix issue that label is blurred on iOS/mac os (#1775) 2019-07-20 15:21:07 +08:00
minggo 144bb78337 Update v8 to 7.5.288.22 (#1772)
* ios use v8

* make v8 work on iOS

* fix compiling error

* can build and run on android, but will crash

* use jsc for non arm64 devices and some other fix

* make macro more clear

* fix errors on windows
2019-07-20 14:59:04 +08:00
minggo 2801316866 fix accuracy of RGB value (#1773)
* fix accuracy of RGB value

* don't have to check less than 0
2019-07-16 17:45:41 +08:00
minggo 44c48627fc fix windows label effect (#1774) 2019-07-16 17:45:09 +08:00
minggo 5591919cd4 fix errors on windows 2019-07-12 16:37:44 +08:00
minggo ad417e80e0 make macro more clear 2019-07-12 15:48:09 +08:00
minggo f884dcf19e use jsc for non arm64 devices and some other fix 2019-07-12 14:14:21 +08:00
minggo fbc69aebeb can build and run on android, but will crash 2019-07-12 10:36:21 +08:00
minggo cd01f4e71d fix compiling error 2019-07-12 10:36:12 +08:00
minggo 751e6f5f23 make v8 work on iOS 2019-07-12 10:36:05 +08:00
minggo fc4e8af9a5 ios use v8 2019-07-12 10:35:56 +08:00
minggo 06941da308 make all transparent pixel color the same as font but alpha (#1768)
* set all transparent pixel to (255,255, 255, 0)

* fix comment
2019-07-09 17:00:41 +08:00
minggo bbbe7f0b84 revert refactor of fillText and strokeTest (#1767) 2019-07-08 13:57:07 +08:00
minggo 041729dc30 fix misusage of SelectObject and DeleteObject (#1766)
* fix misusage of SelectObject and DeleteObject

* revert coordination convertion

* add comment back
2019-07-05 15:35:20 +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
Arnold 5502000bc6 prevent downloader callbacks when app exits (#1763) 2019-06-04 02:21:04 -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
Jare Guo c61370ac5f gulp: force bypass npm proxy on windows 2019-05-27 21:11:02 +08:00
Knox b8a774f018 fix outline display error (#1748) 2019-05-27 15:31:01 +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
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
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