leda
c6fbabc6f4
separate v8 debugger from android release build ( #1551 )
...
* seprate v8 debugger from release build
* update xcode project config
* update win32 project config
* update external config
2018-10-19 12:45:11 +08:00
leda
dada2eb244
move "cocos2d::experimental::" to "cocos2d::" on Audio ( #1549 )
...
* remove “experimental” in audio dir
* update audio bindings
* fix "{" match error
* no need "experimental" for thread pool
* remove both out-of-date js api files
2018-10-18 13:34:12 +08:00
wen xing liao
d432a9643e
调整WebGL函数功能 ( #1544 )
...
* [feature] add getRenderbufferParameter and getBufferParameter function
* [adjust] adjust getParameter function
* [refine] refine getParameter function
* [adjust] adjust getParameter function
* [bug] drawElements complete check parameters
* Remove duplicate parameter check
contains drawArrays, drawElements, getBufferParameter, getRenderbufferParameter
* Remove duplicate parameter check
2018-10-18 10:30:57 +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
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
Jare Guo
9002aa2941
Merge commit 'd7bd6fd369b09f6146e4e7ac93894864b87fb582' into v2.0-release
2018-10-15 17:34:45 +08:00
wen xing liao
a08759368b
complete check parameters ( #1542 )
...
* [bug] framebuffer-test.js complete check parameters
* [bug] complete check parameters
* [bug] framebuffer-object-attachment.js complete check parameters
* [bug] tex-input-validation.js complete check parameters
* [bug] read-pixels-test.js complete check parameters
* [bug] drawArrays complete check parameters
* Remove macro definition
* Remove macro definition
2018-10-12 14:13:18 +08:00
leda
ef4b74ee1e
support parse font size with float value ( #1543 )
2018-10-12 11:49:07 +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
leda
f539664522
fix editbox out of works after cc.game.restart ( #1540 )
...
* fix editbox out of works after cc.game.restart
* same things on android & win32
* replace tab with space
2018-10-11 17:44:00 +08:00
Arnold
9a1f054471
change field Application::_scheduler to static ( #1536 )
...
* make Applicatino::_scheduler static
* fix mac projfile
* keep scheduler permanent
* remove commented code
2018-10-11 11:22:08 +08:00
leda
cdd59a56fb
update travis work branch to v2.1-release ( #1539 )
2018-10-10 18:22:15 +08:00
leda
6d985793db
consider fillStyle alpha when draw text on win32 ( #1538 )
2018-10-10 18:12:26 +08:00
leda
89af43e38f
switch video player bind code from "manual" to "auto" ( #1537 )
...
* refine video bind, tested on iOS
* adapt Android.mk
2018-10-10 17:22:19 +08:00
leda
c8e145dadb
Re-added WebView on iOS & Android for Creator 2.1 ( #1535 )
...
* init add webview files form creator 1.10
* refine header & namespace to compile works
* add webview auto bindings, need check manually
* update webview auto bind
* add setFrame interface to support set View Rect
* uniform file name with other ui modules
* adapt to iOS
2018-10-10 16:03:23 +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
wuzhiming
7cbee1528b
add some support for instant games
2018-10-10 09:18:46 +08:00
yongminghuang
f30a886cd3
Fixed font size not recognized after setting Chinese font ( #1534 )
2018-10-09 15:50:44 +08:00
wen xing liao
011abf499e
[bug] complete check parameters ( #1533 )
...
* [bug] set getFramebufferAttachmentParameter return value according to webgl1.0
* fix Differences Between WebGL and OpenGL ES 2.0
* rename
* fix texImage2D when count is 0
* remove excess code
* [bug] complete check parameters
* [bug] complete check parameters
* [restructure] remove SE_PRECONDITION5
2018-10-09 11:10:15 +08:00
leda
c17130862c
Re-added VideoPlayer on iOS & Android for Creator 2.1 ( #1531 )
...
* add video player source for ios and android.
* revert un-clearly changes
* add iOS files into project config files
* remove useless declare property on 2d-x-lite
2018-10-08 15:28:19 +08:00
wen xing liao
f27e8f6761
fix null pointer exception ( #1530 )
2018-09-30 22:25:37 +08:00
leda
d7bd6fd369
update-2.0-console-to-1.10 ( #1525 )
2018-09-28 22:54:53 -07:00
wen xing liao
4c1dffb77a
Adaptation webgl 1.0 ( #1526 )
...
* Adaptation webgl 1.0
* redefine the variable name
2018-09-29 11:00:08 +08:00
yongminghuang
32cf40a710
improve EditBox on show style and keyboard hide logic for android platform ( #1522 )
...
* [bug] when too much text is input, the button blocks the text
* [adjust] button is displayed on a single line
* [adjust] judge the keyboard to pop up a quarter of the screen
2018-09-27 19:06:00 -07:00
leda
8d98e7fb15
fix wrong namespace on ( #1523 )
...
Device.getDeviceMotionValue
2018-09-27 19:42:17 +08:00
Jare Guo
41e6cb4ea6
Merge pull request #1519 from cocos-creator/develop
...
sync branch request: from develop to 2.1 release
2018-09-27 11:47:57 +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
wdzhangchukong
687a798b20
fix: can not use italic font in canvas ( #1520 )
2018-09-26 02:37:27 -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
minggo
073df559be
jni support passing null string to java ( #1469 )
2018-09-25 22:05:39 +08:00
leda
5889127eb1
correct "fastSet" wrong usage in "writeStringToFile" ( #1462 )
...
* correct crash due to double free same address
* do Data free only if malloc
* Revert "do Data free only if malloc"
This reverts commit 1586793adea4e4da240e37a5d2237d16bc5eadd4.
2018-09-25 22:04:40 +08:00
minggo
347591a9ee
fix two issues: ( #1440 )
...
if return type is string, and return null from java to js, then it will crash
if the parameter is string, and pass null from js to java, then java will get "null" instead of null
2018-09-25 21:57:43 +08:00
wdzhangchukong
4ecd996868
Declare JSB_WebSocketDelegate in hpp file ( #1517 )
2018-09-25 17:54:55 +08:00
Hang Li
f2a172ba67
fix : can not listen to onKeyUp event for Android ( #1514 )
...
这里 event.action 强制写死成了 PRESS,那么之后 eventName 就一直是onKeyDown.
2018-09-19 15:59:55 +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
CocosRobot
eeed4931a5
[AUTO][ci skip]: updating cocos2dx_files.json ( #1503 )
2018-09-10 10:23:52 +08:00
leda
c74745eee4
add "getSafeAreaEdge" interface to get SafeArea edge insets ( #1502 )
...
* try to resume iPhone X support
* gen binding code
* only get SafeAreaEdge on native
* add getSafeAreaEdge for others
* update binding-generator
2018-09-10 10:14:23 +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
W-MTZing
b46209b4e7
adjust c++ call java function rename ( #1498 )
2018-09-05 13:43:28 +08:00
W-MTZing
d27e5a798c
remove log names about cocos ( #1496 )
2018-09-05 10:51:42 +08:00
CocosRobot
f37a259dd8
[ci skip][AUTO]: updating jsbinding automatically ( #1495 )
2018-09-04 13:53:50 +08:00
wdzhangchukong
21377fdb74
Remove names about Cocos ( #1494 )
2018-09-04 13:41:02 +08:00
leda
92b21a2264
add "launchmode" and "taskAffinity" on android ( #1493 )
2018-09-04 09:53:50 +08:00