Commit Graph

1797 Commits

Author SHA1 Message Date
zilongshanren 67e7835a74 hidden scrollbar when content size smaller than scrollview 2016-07-11 09:28:15 +08:00
Jare Guo ef436d9da4 deferred load scene's raw asset 2016-07-08 17:15:57 +08:00
Jare Guo 3fce900878 Merge pull request #873 from jareguo/master
refactoring loadDepends
2016-07-08 17:10:30 +08:00
Wang Nan 7545e12db5 Merge pull request #886 from knoxHuang/v1.1
fix cc.repeat error #fireball/issues/3564
2016-07-08 15:14:53 +08:00
pandamicro 6c3cc5082c Merge pull request #885 from pandamicro/v1.1
Add runtime polyfill for remote image loading
2016-07-08 12:27:21 +08:00
knoxHuang 4d2c4336ed fix cc.repeat error #fireball/issues/3564 2016-07-08 12:09:45 +08:00
pandamicro 7c170b69d5 Merge pull request #866 from dabingnn/optimise_canvas_rendering
Optimise canvas rendering
2016-07-08 11:44:39 +08:00
Wang Nan 3b787c7e86 Merge pull request #883 from cocos-creator/v1.1
merge V1.1
2016-07-07 16:47:57 +08:00
Nan Wang afa335e00d fix api comment syntax error 2016-07-07 14:17:33 +08:00
Huabing.Xu 8a23b9a6ee clean up code 2016-07-07 11:37:11 +08:00
2youyouo2 99ab711182 use new Float32Array(buffer, byteOffset, length) instead of Array.prototype.slice.call 2016-07-07 11:12:08 +08:00
Huabing.Xu 57e81b1211 particle works on dirty region 2016-07-07 09:43:42 +08:00
Jare Guo 4f44b1f3e6 Merge pull request #879 from zilongshanren/fix-scrollview-scroll-issues
stop scroll when scrollview is disabled
2016-07-07 09:36:03 +08:00
pandamicro c344a1f117 Merge branch 'v1.1' of github.com:cocos-creator/engine into v1.1 2016-07-07 04:59:49 +08:00
Jare Guo dd9a2ec17d fix runtime preload 2016-07-06 23:05:59 +08:00
zilongshanren f3f121b6e2 stop scroll when scrollview is disabled 2016-07-06 18:51:46 +08:00
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
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
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
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
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
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
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
Nan Wang 5b4214c496 Merge branch 'v1.1' of github.com:cocos-creator/engine 2016-07-01 15:42:01 +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