Commit Graph

337 Commits

Author SHA1 Message Date
Arnold 2dab6b175e [android] add compile switch for libtiff (#1565)
* add switch for libtiff

* add macro

* revert cocos2dx-files.json

* add more macro

* update default value

* update external/config.json
2018-10-29 10:15:38 +08:00
Jare Guo fbea90a258 Merge branch 'v2.0-release' into v2.1-release 2018-10-22 15:40:45 +08:00
吴智明 09b3f033a1 Gpi change manifest (#1550)
* add autoVerify property for intent-filter

* add add http and https support
2018-10-19 12:29:51 +08:00
leda 71d8cf11ad refine native module separate (#1547)
* refine module separate -> gfx renderer

* refine module separate

* modify Application.mk, add macro

* “#if USE_GFX_RENDERER” means “#if USE_GFX_RENDERER > 0”

* improve macro define in binding code
2018-10-18 09:10:05 +08:00
Jare Guo 35d0a0b19f Merge 2.0.2 into gpi 2018-10-17 18:47:09 +08:00
吴智明 a047891c9e add package name for instant activity (#1546) 2018-10-17 09:41:33 +08:00
leda 73f62c9da6 enable Proguard for release build on Android (#1545)
* enable Proguard for release build to reduce apk size

* add Proguard to default template

* consider anysdk at proguard

* remove un-used permissions

* disbale gfx & renderer binding register
2018-10-16 18:35:18 +08:00
Jare Guo ccd3c113b0 Merge branch 'v2.0-release' into v2.1-release
# Conflicts:
#	extensions/anysdk/platform/android/src/org/cocos2dx/javascript/SDKWrapper.java
2018-10-15 17:42:53 +08:00
leda 448b88cd49 update cocos2dx_files.json rules, reduce copy (#1541)
* update cocos2dx_files.json rules

* reduce files copy
2018-10-12 10:24:56 +08:00
wuzhiming dbbaa22a4a revert code 2018-10-10 09:18:46 +08:00
wuzhiming 61db1068f8 add context getter for appActivity 2018-10-10 09:18:46 +08:00
wuzhiming fb341236d7 add project.properties to instant template 2018-10-10 09:18:46 +08:00
wuzhiming 0083becb00 reset instant config to gradle.properties 2018-10-10 09:18:46 +08:00
wuzhiming 7cc0b4d34b add instant template for google play instant 2018-10-10 09:18:46 +08:00
leda beb45454ad support parse waitForConnect and debugPort from simulator/config.json (#1521)
* revert v8 debugger ip to 0.0.0.0 for simulator

* parse isWaitForConnect and debug port from config.json

* remove macro useless, since we parse the options from config.json
2018-09-26 18:57:56 -07:00
leda a5391aaabd add macro to support custom v8 debug option for creator (#1518)
* add macro to support custom v8 debug option for creator

* update console with version compare fixed

* revert debugger ip to 0.0.0.0 for template
2018-09-25 21:49:55 -07:00
leda 674614720e add v8 optional on macOS (#1515)
* add v8 libs into mac project

* update xcode simulator project config

* add v8 header into template

* add SCRIPT_ENGINE_V8 optional on macOS
2018-09-26 09:21:18 +08:00
吴智明 d5fc36aff5 reset instant config to gradle.properties (#1512)
* reset instant config to gradle.properties

* add project.properties to instant template

* add context getter for appActivity

* revert code
2018-09-19 13:40:17 +08:00
Jare Guo bf7a01bdd5 Merge pull request #1508 from cocos-creator/v2.0-release
sync branch
2018-09-12 14:50:13 +08:00
wuzhiming a0bb86a861 add instant template for google play instant 2018-09-11 14:18:44 +08:00
CocosRobot eeed4931a5 [AUTO][ci skip]: updating cocos2dx_files.json (#1503) 2018-09-10 10:23:52 +08:00
leda 4ca166e109 dispatch show/hide event to js, included "cocos simulator" (#1500)
* add dispatchEnterBackgroundEvent for simulator

* more stable when set canvas size on win32

* add isNan check for float & double

* simplify event dispatch on AppDelegate
2018-09-06 16:39:45 +08:00
Jare Guo 63d7ba61e8 bump to 2.1 and merge commit v2.0-release into develop 2018-09-06 15:33:43 +08:00
leda 92b21a2264 add "launchmode" and "taskAffinity" on android (#1493) 2018-09-04 09:53:50 +08:00
Jare Guo caee68b1ff Merge pull request #1490 from cocos-creator/v2.0-release
sync branch
2018-08-30 15:09:48 +08:00
minggo b642e0fcc7 Merge branch 'v2.0-release-rename' of github.com:cocos-creator/cocos2d-x-lite into merge-rename 2018-08-28 14:39:40 +08:00
CocosRobot 4b4476b008 [AUTO][ci skip]: updating cocos2dx_files.json (#1482) 2018-08-27 18:21:14 +08:00
CocosRobot addd3ecf60 [AUTO][ci skip]: updating cocos2dx_files.json (#1465) 2018-08-21 14:24:55 +08:00
leda d92f07a5be beauty the "done" confirm button of EditBox on iOS & Android (#1464)
* chose a better color match for editbox button

* show editbox confirm button name depend on system language

* correct wrong order

* not magic number for this special color

* another empty line for strings.xml

* adapt color for iOS EditBox

* add editbox i18 strings for iOS mac

* use i18n strings

* simplfy string key, move i18n string location

* simplify get i18 string logic

* add i18n strings to link template

* same changes on default-template

* short i18 key on android
2018-08-21 14:18:05 +08:00
吴智明 5656a04593 remove facebook_id from gradle.properties (#1459) 2018-08-16 15:45:56 +08:00
Jare Guo 548ae4380d Merge branch 'v2.0-release' into next 2018-08-16 14:05:09 +08:00
leda a7f266b9e8 resume View Menu for simulator on mac & win32 (#1456)
* start add menu back

* simulator resume works

* readded scale feature, fix exit bug

* free SetupUI, and fix compile only

* adapt to CustomEvent from struct to class

* resume show/hide FPS feature

* Revert "free SetupUI, and fix compile only"

This reverts commit fd8cf5ca0a17ba62ae5dec46fefea3b58c267c9d.

* Revert "Revert "free SetupUI, and fix compile only""

This reverts commit 6e5934a583db286508d00a61a22e11a3325090f1.

* correct EXIT logic

* scale works

* show/hide fps works

* remove unneed menu, replace tab with space

* remove debug output info

* no need _isShowFPS member

* fix NSError init error
2018-08-16 09:34:47 +08:00
leda 34f0fbb668 Revert "[AUTO][ci skip]: updating cocos2dx_files.json (#1418)" (#1437)
This reverts commit ed43b6d7f6.
2018-08-02 18:40:13 +08:00
CocosRobot ed43b6d7f6 [AUTO][ci skip]: updating cocos2dx_files.json (#1418) 2018-08-02 17:19:12 +08:00
Jare Guo 625aafbf34 Merge branch 'v2.0-release' into next 2018-07-31 17:27:40 +08:00
CocosRobot 79e7497175 [AUTO][ci skip]: updating cocos2dx_files.json 2018-07-26 10:02:03 +00:00
minggo fdebbc77b7 dispatch show/hide event to js (#1424) 2018-07-26 09:32:37 +08:00
leda a816ffd743 modify android config, use clang (c++_static) to build (#1385)
* correct head file include error

* modify build tool to clang

* remove one useless file include

* remove armeabi files in 2d-x_files
2018-07-25 09:24:29 +08:00
CocosRobot a1993de1de [AUTO][ci skip]: updating cocos2dx_files.json (#1416) 2018-07-24 20:32:46 +08:00
CocosRobot 41004c0dd8 [AUTO][ci skip]: updating cocos2dx_files.json (#1415) 2018-07-24 17:27:58 +08:00
吴智明 42c1904831 add facebook sdk support (#1378)
* add facebook sdk support

* add facebook support for default template

* add facebook support for link template

* add another space line
2018-07-24 16:49:54 +08:00
吴智明 bf72d76f14 add some support for facebook (#1402) 2018-07-24 13:38:35 +08:00
leda b3b37cf457 Add AssetsManager to iOS & Mac & Android & win32 (#1405)
* Add incomplete AssetsManager to iOS & Mac

* remove Android.mk refer on Xcode project config

* re-add assetmanager for android

* re-add assetmanager for win32 project config

* remove unused macro define for win32

* remove unused marco define COCOS2D_JAVASCRIPT

* added header include for assetsManager

* Add CCAsyncTaskPool

* Fix AssetsManager event trigger issue

* update win32 project config, added CCAsyncTaskPool

* add CCAsyncTaskPool to extensions Android.mk
2018-07-23 17:50:04 +08:00
leda 84326c92b9 addRegisterCallback should done before script engine start (#1400) 2018-07-19 10:48:26 +08:00
leda 64643b4922 fix build crash on android when enable AnySDK (#1397)
* disable anysdk comments in link template

* extra init callback when JNI_OnLoad

* add some comment to explain both init function

* sync changes from link template to default for android
2018-07-19 09:55:51 +08:00
leda b78d64a95a add return 0 in main funtion (#1391) 2018-07-13 17:59:24 +08:00
Jare Guo 34825c8b7f gulp: add update task 2018-07-06 17:57:38 +08:00
CocosRobot dbfb8d4573 [AUTO][ci skip]: updating cocos2dx_files.json (#1375) 2018-07-06 13:40:30 +08:00
leda 076c7edc3a fix win32 release mode compile failed (#1364)
* correct libcocos2d win32 release mode compile error

* sync release include files with debug

* correct typo error
2018-07-04 20:16:43 +08:00
leda a142b03938 fix default template android lib path error (#1362) 2018-07-04 16:00:53 +08:00