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
吴智明
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
wuzhiming
87cf38b530
add some support for instant games
2018-09-11 14:17:04 +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
leda
0fb1c97e83
support to save render texture data by "saveImageData " ( #1492 )
...
* add jsb.savePixelsToFile to support screenshot
* add return value for
savePixelsToFile
* rename: savePixelsToFile -> saveImageData
2018-09-03 09:38:52 +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
leda
09985f002b
adapt to fps in the main loop on mac ( #1489 )
2018-08-30 12:48:34 +08:00
leda
45fe1feb9e
adapt to fps in the main loop on win32 ( #1488 )
2018-08-30 09:47:31 +08:00
leda
dc08f260e2
fix random red text error when draw multi line text on win32 ( #1487 )
2018-08-29 17:44:18 +08:00
leda
55eeb6f53e
update travis work branch to "v2.0-release" ( #1486 )
...
* update travis branch
* another space line
2018-08-29 10:22:00 +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
W-MTZing
4aef0de085
fix C++ call java by macro ( #1483 )
2018-08-28 09:58:24 +08:00
leda
c647a76959
improve text texture RGB value on win32 ( #1473 )
...
* fix text texture RGB error on win32
* keep alpha value, no change
2018-08-28 09:47:16 +08:00
CocosRobot
4b4476b008
[AUTO][ci skip]: updating cocos2dx_files.json ( #1482 )
2018-08-27 18:21:14 +08:00
wdzhangchukong
e00113cfd6
Get jsb by __jsbObj ( #1481 )
2018-08-27 11:48:22 +08:00
CocosRobot
81301ca4b4
[ci skip][AUTO]: updating jsbinding automatically ( #1480 )
2018-08-24 20:43:09 +08:00
wdzhangchukong
b44c2a68dc
Change cocos2dx_auto to jsb ( #1479 )
2018-08-24 20:26:11 +08:00
CocosRobot
80fdcd0e74
[ci skip][AUTO]: updating jsbinding automatically ( #1477 )
2018-08-24 17:45:25 +08:00
Vincent Yang
3d2a9017bb
[bug] loadImage don't call js callback when input path is invalid ( #1478 )
2018-08-24 17:42:15 +08:00
wdzhangchukong
bf27fdd955
Rename cc in JSB ( #1476 )
...
* Rename __ccgl to __gl
* Rename __CCPrivateData to __PrivateData
* Change CanvasRenderingContext2D to global
* Change CanvasRenderingContext2D to global
* Change getDeviceMotionValue into Device
* Change FileUtils to global
* Change AudioEngine to global
* Change AudioEngine into Audio
* Remove cc in c++
* Remove __jsc__
* Change auto file template
* Name jsb_cocos2d_global to auto
* Reset jsb_cocos2dx_auto
* Register jsb_cocos2dx_global_auto
2018-08-24 17:03:50 +08:00
W-MTZing
9e28e3420f
fix JNI call bug ( #1475 )
2018-08-24 14:00:48 +08:00
leda
463e37e4d8
fix no sleep in main loop on mac ( #1472 )
2018-08-23 16:25:10 +08:00
leda
92ecd88786
don't set color for un-covered pixel when drawText on win32 ( #1471 )
...
* don't set color for un-covered pixel
* replace tab with space
2018-08-22 18:01:55 +08:00
minggo
139cc8b7ed
jni support passing null string to java ( #1469 )
2018-08-22 17:25:25 +08:00
Vincent Yang
72e0b0ce5f
[bug] fix include CCGL-android.h path typo. ( #1470 )
2018-08-22 15:49:24 +08:00
minggo
21bed61d4d
Update .travis.yml
2018-08-22 15:11:20 +08:00