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
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
minggo
139cc8b7ed
jni support passing null string to java ( #1469 )
2018-08-22 17:25:25 +08:00
minggo
21bed61d4d
Update .travis.yml
2018-08-22 15:11:20 +08:00
W-MTZing
935a759cf4
rename c++ call java function by macro ( #1468 )
2018-08-22 14:07:17 +08:00
W-MTZing
e284a0efd1
rename jni function by macro ( #1467 )
...
* rename jni function by macro
* modify JNI macro name
2018-08-22 09:21:35 +08:00
Jare Guo
a598118378
Merge commit '89a5de781434ecf9acbbee1850ea05687dc4a763' into v2.0-release
2018-08-14 10:31:22 +08:00
Jare Guo
5701671310
Merge branch 'develop' into v2.0-release
...
# Conflicts:
# README.md
# cocos/2d/CCLabelTextFormatter.cpp
# cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxEditBox.java
# cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxEditBoxHelper.java
# gulpfile.js
# package.json
# templates/js-template-binary/frameworks/runtime-src/proj.ios_mac/HelloJavascript.xcodeproj/project.pbxproj
2018-08-14 10:30:57 +08:00
Arnold
89a5de7814
Win32 xmlhttprequest timeout ( #1455 )
2018-08-14 09:44:13 +08:00
Jare Guo
52c1a75816
update readme ( #1457 )
2018-08-13 22:42:36 +08:00
leda
80e102d475
add onResize interface for application on mac & win32 ( #1452 )
...
* add resize interface for application
* add dispatchResizeEvent interface
* improve function name, add comments
* add onResize for win32
* directly supply size info when dispatch resize event
2018-08-13 14:30:56 +08:00
leda
0ccc890843
added dispatchKeyboardEvent for android ( #1453 )
...
* added dispatchKeyboardEvent for android
* uniform enum class type to uint8
2018-08-13 10:40:23 +08:00
leda
19ab61b252
refine TODO & FIXME flag ( #1450 )
...
* change TODO to REFINE
* change REFINE:cjh to REFINE
* change FIXME to IDEA
* improve format
2018-08-10 12:52:00 +08:00
leda
3ea4405d44
add getCurrentStackTrace interface for v8 script engine ( #1446 )
...
* add getCurrentStackTrace interface for v8 script engine
* return empty string before script init finished, prevent crash
2018-08-08 18:09:36 +08:00
minggo
5f1d13d3eb
Terminate app elegant ( #1448 )
...
* remove native finish, improve exitApplicationJNI
* destruct application when app.end called on iOS
* exit app elegantly
2018-08-08 17:28:29 +08:00
yongminghuang
3c98d6eaad
[bug] Without using beginPath() in advance, calling stroke() directly will cause the problem to crash. ( #1447 )
...
调用canvas接口画一条线段:如果不实现事先调用beginPath()方法,依次调用moveTo,lineTo和stroke(),运行在浏览器上正常绘制;而在手机上会出现mLinePath空指针异常
2018-08-08 17:07:06 +08:00
leda
86122c859a
close audio device when destruct Application ( #1442 )
...
* close audio device when destruct Application
* added android
* correct header include
* remove TODO: destroy DeviceGraphics
2018-08-08 08:55:26 +08:00
minggo
1d326a0c1b
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-08-07 17:19:49 +08:00
leda
55ea7b15e7
not output info level log when using NSLog ( #1438 )
2018-08-07 10:26:34 +08:00
W-MTZing
93101a7a0e
add loadImage error callback ( #1406 ) ( #1436 )
...
* add loadImage error callback
* fix format
2018-08-02 17:28:49 +08:00
yongminghuang
4e206fd656
[bug] Fixed a crash of multiple finger operations ( #1433 )
2018-08-02 17:27:24 +08:00
pandamicro
765be753a5
Merge pull request #1435 from drelaptop/develop
...
fix setDataSource parameters error for video player
2018-08-02 13:03:42 +08:00
drelaptop
f6cfd5cef1
fix setDataSource parameters error for video player
2018-08-02 10:57:15 +08:00
Jare Guo
7e8cc515ab
bump version
2018-08-02 10:55:01 +08:00
minggo
b3122ea9e5
add a function to terminate application ( #1434 )
2018-08-02 10:46:35 +08:00
leda
09a85f1698
correct wrong mTargetState in video player start() method ( #1431 )
2018-08-01 10:03:39 +08:00
PP
e26d484ba2
fix ttf vertical alignment bug ( #1428 )
2018-07-30 11:03:41 +08:00
pandamicro
5cb1ba0d3d
Merge pull request #1426 from CocosRobot/update_cocosfiles_1532599319
...
[AUTO][ci skip]: updating cocos2dx_files.json
2018-07-27 11:10:01 +08:00
CocosRobot
79e7497175
[AUTO][ci skip]: updating cocos2dx_files.json
2018-07-26 10:02:03 +00:00
leda
9b775e711d
fix catch font name error when ttf font name with space ( #1423 )
...
* support catch fontName with space when canvas set font
* do same above on android
* improve regex
* add empty loadFont impl for win32 platform
* correct win32 parse font info regex on win32
* add win32 support ttf when font name = font face name
* another space line for win32 platforms
* improve regex when parse font name
* fix regex error
* correct typo
2018-07-26 17:57:25 +08:00
leda
ccb40bdeda
move CCAsyncTaskPool from cocos/base into extensions folder ( #1422 )
...
* move CCAsyncTaskPool path
* move CCAsyncTaskPool path for ios & mac project
* change header path
* adapt CCAsyncTaskPool path for win32
* divide win32 build object files into Debug and Release folder
2018-07-26 10:11:55 +08:00
minggo
fdebbc77b7
dispatch show/hide event to js ( #1424 )
2018-07-26 09:32:37 +08:00
leda
b242a1abd7
call recreate canvas buffer if needed when width/height changes ( #1417 )
...
* add more choice to call recreateBufferIfNeeded for canvas
* win32 - add more choice to call recreateBufferIfNeeded for canvas
2018-07-24 20:33:42 +08:00
CocosRobot
41004c0dd8
[AUTO][ci skip]: updating cocos2dx_files.json ( #1415 )
2018-07-24 17:27:58 +08:00
leda
c048d5642b
change travis branch to v2.0-release ( #1414 )
2018-07-24 17:06:24 +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
Jare Guo
52905dbc80
Merge pull request #1407 from cocos-creator/v1.9-release
...
sync branch
2018-07-23 14:41:06 +08:00
Jare Guo
3d5837666a
Merge pull request #1399 from knoxHuang/v1.9-release
...
fix EditBox updateDomTextCases bug for fireball/issues/7919
2018-07-23 11:30:36 +08:00
Jare Guo
db7bfafe39
Merge pull request #1401 from cocos-creator/next
...
sync branch
2018-07-19 13:51:40 +08:00
leda
84326c92b9
addRegisterCallback should done before script engine start ( #1400 )
2018-07-19 10:48:26 +08:00
knox
c6e1d13118
fix EditBox updateDomTextCases bug for fireball/issues/7919
2018-07-19 10:28:16 +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
Jare Guo
bfd187d5e3
should not use config.json anymore ( #1394 )
2018-07-17 17:09:52 +08:00
Jare Guo
a32b12cfae
Merge pull request #1393 from cocos-creator/next
...
sync branch
2018-07-16 16:02:40 +08:00
Arnold
ee19b6bcb5
Fix 7817
2018-07-13 18:09:31 +08:00
leda
b78d64a95a
add return 0 in main funtion ( #1391 )
2018-07-13 17:59:24 +08:00