bofeng-song
1d642605e1
[features] support oblique(font-style) and smallCaps(font-variant) ( #1577 )
...
* [features] support oblique(font-style) and smallCaps(font-variant)
* [refine] add Remarks, change constant value to system default
2018-10-31 20:06:03 +08:00
leda
1a024ce8a4
add empty Impl lineCap/setLineJoin on win32/apple ( #1572 )
2018-10-30 17:50:30 +08:00
wen xing liao
5bef70b34d
fix java IllegalArgumentException ( #1570 )
...
* fix java IllegalArgumentException
* Remove multiple parameter checks
2018-10-30 11:59:31 +08:00
bofeng-song
77e5eb3e56
[feature] support lineCap and lineJoin ( #1569 )
...
* [feature] support lineCap and lineJoin
* [refine] move precondition to c++ layer
2018-10-29 20:50:54 +08:00
leda
2a4e5aa498
fix wrong @Override mark when build with API-Level = 16 ( #1563 )
2018-10-26 14:22:48 +08:00
leda
7c93a11905
runtime require: add context2d fill/rect method for android ( #1561 )
...
* add context2d fill & rect method for android
* workaround: draw a hairline to cover the border
* fix clear&fillrect parameter error
* add empty impl on Apple
* add empty Imple in win32
* enable "SUBPIXEL_TEXT_FLAG" flag to make the text more clear on Android
* move putImageData impl to native
* add empty _fillImageData impl on win32 & apple
2018-10-26 13:44:03 +08:00
leda
9c4f07f09a
remove libchipmunk Ref on VS project config ( #1560 )
2018-10-24 15:52:34 +08:00
Jare Guo
fbea90a258
Merge branch 'v2.0-release' into v2.1-release
2018-10-22 15:40:45 +08:00
leda
4ddd2aee0d
close audio device properly ( #1552 )
2018-10-19 17:03:06 +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
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
Arnold
a64bfd39ac
fix
2018-10-17 19:49:21 +08:00
Jare Guo
35d0a0b19f
Merge 2.0.2 into gpi
2018-10-17 18:47:09 +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
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
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
6d985793db
consider fillStyle alpha when draw text on win32 ( #1538 )
2018-10-10 18:12:26 +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
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
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
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
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
wdzhangchukong
687a798b20
fix: can not use italic font in canvas ( #1520 )
2018-09-26 02:37:27 -07: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
wuzhiming
87cf38b530
add some support for instant games
2018-09-11 14:17:04 +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
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
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
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
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
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
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
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
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