Commit Graph

8446 Commits

Author SHA1 Message Date
Wang Nan 1e181ddab4 Merge pull request #878 from zilongshanren/improve-label-shrink-algorithm
fix editbox can't be clicked on top of scrollview
2016-07-06 18:12:05 +08:00
zilongshanren 7bf63124d7 fix editbox can't be clicked on top of scrollview 2016-07-06 18:06:46 +08:00
Wang Nan 8c7383a462 Merge pull request #877 from zilongshanren/improve-label-shrink-algorithm
fix some bugs of shrink label and improve performance
2016-07-06 17:46:44 +08:00
zilongshanren 09c80402ba fix some bugs of shrink label
it also improve the perfomance issue of shrinked label

calculate font size divide by 2

add font height cache

keep the label lineheight the same as before
2016-07-06 17:39:21 +08:00
pandamicro 1b7c537028 Merge pull request #876 from 2youyou2/errorHandler
add window.__errorHandler
2016-07-06 14:10:52 +08:00
2youyouo2 0ff5833fbb add window.__errorHandler 2016-07-06 13:58:16 +08:00
2youyouo2 0066e0e4a8 fixed watch sourcemaps error 2016-07-06 13:53:08 +08:00
Jare Guo 14234df2e0 Merge pull request #874 from knoxHuang/v1.1
fix setClearColor code for #fireball/issues/3535
2016-07-05 18:23:04 +08:00
knoxHuang bc75b07c4b fix setClearColor code for #fireball/issues/3535 2016-07-05 18:19:58 +08:00
Jare Guo cf8922e70f refactoring loadDepends 2016-07-05 18:11:40 +08:00
Huabing.Xu 7336c7f2ba add comments for dirty region 2016-07-05 17:45:58 +08:00
Huabing.Xu 01d6e99a11 optimise region creation and releasing 2016-07-05 17:12:54 +08:00
Wang Nan c8fe562a91 Merge pull request #872 from cocos-creator/v1.1
merge V1.1
2016-07-05 16:14:05 +08:00
Huabing.Xu 26e8d7fcdb roll back scaleX scaleY 2016-07-05 15:41:08 +08:00
Huabing.Xu 176f900180 add debug dirty region variable 2016-07-05 15:22:19 +08:00
Nan Wang 90446d106c move pipeline flowin before callback to prevent circular reference of prefab when loading scene. 2016-07-05 14:15:04 +08:00
Wang Nan e91227d8af Merge pull request #871 from knoxHuang/v1.1
add CCSpriteFrame API and add warn log for #fireball/issues/3337
2016-07-05 10:58:19 +08:00
Huabing.Xu 134037aed1 Merge branch 'master' into optimise_canvas_rendering 2016-07-05 10:57:54 +08:00
knoxHuang d06e317809 add CCSpriteFrame API and add warn log for #fireball/issues/3337 2016-07-05 10:52:01 +08:00
Wang Nan 44e193ac53 Merge pull request #868 from natural-law/issue3506
Solve the error in web when tmx files & image files are not in the same folder.
2016-07-04 19:05:55 +08:00
Wang Nan 280a89cf4f Merge pull request #869 from zilongshanren/fix-layout-redudent-calculation
Fix layout redundant calculation
2016-07-04 19:01:32 +08:00
Wang Nan 7da2dac404 Merge pull request #864 from zilongshanren/fix-system-ttf-shrink
fix Chinese label shrink effect
2016-07-04 19:00:05 +08:00
Jare Guo f3f8d56b99 Merge pull request #870 from 2youyou2/asset-loader
fixed load asset
2016-07-04 18:03:57 +08:00
2youyouo2 6222b03959 fixed load asset 2016-07-04 17:58:58 +08:00
zilongshanren 7fbd7364e5 fix child active issue in none layout 2016-07-04 15:07:42 +08:00
zilongshanren 07cb26f1fc should remove listeners when child removed 2016-07-04 15:05:42 +08:00
Jare Guo 1c0d25667c Merge pull request #867 from VisualSJ/master-modular
构建的时候删除 .cache
2016-07-04 11:55:14 +08:00
zhangbin a7b594f974 Solve the error in web when tmx files & image files are not in the same folder. 2016-07-04 11:45:20 +08:00
Wang Nan 25509e78db Merge pull request #865 from jareguo/v1.1
preload scene in runtime platform
2016-07-04 10:33:51 +08:00
Huabing.Xu f0e050e5e9 disable dirty region by default and add interface for dirty region 2016-07-04 10:28:12 +08:00
Jare Guo 13cd374d52 preload scene in runtime platform 2016-07-04 10:10:08 +08:00
VisualSJ 1c0bb43e16 clear .cache 2016-07-04 10:10:03 +08:00
Huabing.Xu fc1156c254 Merge branch 'master' into optimise_canvas_rendering
# Conflicts:
#	cocos2d/clipping-nodes/CCClippingNodeCanvasRenderCmd.js
2016-07-04 09:52:14 +08:00
zilongshanren 4df512cc99 minor improve line height of shrinked text 2016-07-03 10:12:37 +08:00
Huabing.Xu 02d5950f21 remove test code 2016-07-02 16:53:01 +08:00
Huabing.Xu 929ce2e113 fix bug for transform two times in one frame 2016-07-02 16:39:57 +08:00
zilongshanren 570b41cb69 fix Chinese label shrink effect 2016-07-02 14:23:29 +08:00
Wang Nan a52043eb79 Merge pull request #862 from jareguo/v1.1
fix addPersistRootNode on JSB
2016-07-01 18:43:18 +08:00
Jare Guo e5d0e789c8 Merge pull request #863 from zilongshanren/fix-system-ttf-shrink
fix web system font shrink wrap effect
2016-07-01 18:38:52 +08:00
zilongshanren 11db3a89c1 minor fix
add docs for actualFontSize

remove unnedded bind call

only define debounce method in Editor
2016-07-01 18:38:12 +08:00
zilongshanren 5ad4e6fca9 fix web system font shrink wrap effect
fix label font size

add measure text height

make a skeleton of label ttf shrink algorithm

add debounce method for node string

finish no \n wrap

add debounced font size to label

finish web ttf shrink
2016-07-01 18:13:26 +08:00
Huabing.Xu ded71d1520 dirty region works on canvas 2016-07-01 16:10:24 +08:00
Jare Guo 138e87bda7 fix addPersistRootNode on JSB 2016-07-01 15:43:33 +08:00
Nan Wang 5b4214c496 Merge branch 'v1.1' of github.com:cocos-creator/engine 2016-07-01 15:42:01 +08:00
Wang Nan cc0d3152fc Merge pull request #860 from 2youyou2/doc
update AnimationClip doc
2016-07-01 15:40:27 +08:00
pandamicro 87b314507d Merge pull request #856 from dabingnn/simplify_clippingNode
simplify clipping Node, support nest in canvas
2016-07-01 11:59:09 +08:00
2youyouo2 f0b5a21165 update AnimationClip doc 2016-07-01 10:36:57 +08:00
pandamicro c3d1b307d7 Merge pull request #859 from jareguo/v1.1
fix pack loader on JSB
2016-07-01 09:38:04 +08:00
Jare Guo 5dcff33b98 fix pack loader on JSB 2016-06-30 21:52:14 +08:00
Jare Guo 7615b9c121 Merge pull request #858 from jareguo/v1.1
fix cc.clone on JSB
2016-06-30 21:42:22 +08:00