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
leda
2943b4ccf8
fix keyboard location calc error ( #1466 )
2018-08-21 16:01:40 +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
leda
3ee2b972ea
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-08-20 10:36:45 +08:00
leda
9df2e0dcfa
fix EditBox input Chinese error on iOS ( #1460 )
...
* fix input error when using 9 Key to input chinese
* textFieldDidChange callback works
* correct markedTextRange condition error
* do same adapt on textView
2018-08-17 09:47:33 +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
3873d01bdd
fix depend error on application.h ( #1458 )
...
* correct event type
* move isDisplayStats Impl from header to source file
* correct header file depend for application-ios
* same header changes on win32
2018-08-16 13:34:36 +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
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
Arnold
0f3adb84f7
win32: fix invoke update() multi times with same dt ( #1454 )
2018-08-13 18:03:12 +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
W-MTZing
7efc9f0e3e
fix localstorage get key on rowid asc ( #1449 )
...
* fix localstorage get key on rowid asc
* fix localstorage get key on rowid asc
2018-08-09 10:02:13 +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
leda
34f0fbb668
Revert "[AUTO][ci skip]: updating cocos2dx_files.json ( #1418 )" ( #1437 )
...
This reverts commit ed43b6d7f6 .
2018-08-02 18:40:13 +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
CocosRobot
ed43b6d7f6
[AUTO][ci skip]: updating cocos2dx_files.json ( #1418 )
2018-08-02 17:19:12 +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
吴智明
a2468e5d16
update cocos2d-console ( #1432 )
2018-08-01 13:36:36 +08:00
leda
09a85f1698
correct wrong mTargetState in video player start() method ( #1431 )
2018-08-01 10:03:39 +08:00
Jare Guo
f00565aabf
gulp: also sign simulator on windows ( #1430 )
2018-07-31 17:47:02 +08:00
Jare Guo
625aafbf34
Merge branch 'v2.0-release' into next
2018-07-31 17:27:40 +08:00
PP
e26d484ba2
fix ttf vertical alignment bug ( #1428 )
2018-07-30 11:03:41 +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
Jare Guo
9d093d28fe
Merge pull request #1421 from cocos-creator/v2.0-release
...
sync branch
2018-07-25 16:02:38 +08:00
leda
3bdbe8dc87
remove proj.android(-studio) files on tools/simulator ( #1420 )
...
* update external config for android libs switch to clang
* remove proj.android(-studio) files on tools/simulator
2018-07-25 11:35:50 +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
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
a1993de1de
[AUTO][ci skip]: updating cocos2dx_files.json ( #1416 )
2018-07-24 20:32:46 +08:00
Arnold
02813149b0
fix socket.io version detect error ( #1384 )
2018-07-24 17:42:25 +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