Commit Graph

458 Commits

Author SHA1 Message Date
Jare Guo 23de32c9b6 Merge commit 'e921a2ca4cfd2c24d90796db2ed879ab3a90b34a'
# Conflicts:
#	cocos2d/core/components/CCSprite.js
2016-01-15 17:08:37 +08:00
Jare Guo 9bb7bbdea0 sprite should not display if disabled in scene 2016-01-15 16:55:58 +08:00
pandamicro 1dbf6d3f43 Improve doc and code hint 2016-01-15 16:13:47 +08:00
Huabing.Xu b5dffdbed2 ...... 2016-01-15 15:39:05 +08:00
Huabing.Xu 0e389f2b55 fix label and sprite canvas rendering 2016-01-15 12:40:46 +08:00
Huabing.Xu 5e5459af3b fix label does not work on sougou browser 2016-01-15 11:10:00 +08:00
Jare Guo b471af8678 Merge pull request #251 from zilongshanren/addLayoutResizeChildren
add grid layout and finish all the layout fature
2016-01-15 10:49:31 +08:00
zilongshanren 60a163f42b add missing docs 2016-01-15 10:47:18 +08:00
pandamicro 7932d986e8 Add documentation to accuse Baidu developer 2016-01-14 21:49:07 +08:00
pandamicro f135abd3a9 Merge pull request #239 from dabingnn/fix_labelttf_empty_line
fix empty line for label ttf
2016-01-14 20:03:03 +08:00
pandamicro 9b12b53ee7 Fixed indexOf issue on Baidu browser, damn you baidu browser guys ! 2016-01-14 19:01:19 +08:00
zilongshanren a27a9b3528 add grid layout and finish all the layout fature
finish none mode of layout

add resize none mode for horizontal and vertical

refactor horizontal layout algorithm

refactoring

add row break logic

make row break working

rename margin to padding

grid layout start axis works

refactoring

finish y axis grid layout

add grid layout resize container feature.

add resize container for grid vertical layout

fix horizontal  layout issue

fix some issues when in grid resize container mode

finish layout feature
2016-01-14 15:54:57 +08:00
Jare Guo 5456aa241e add animatable attribute for CCClass 2016-01-14 13:55:01 +08:00
Wang Nan 0db9dc47b7 Merge pull request #248 from fireball-x/v0.7
merge v0.7
2016-01-14 10:19:11 +08:00
pandamicro 176925da48 Improve WebGL support detection 2016-01-14 10:17:26 +08:00
pandamicro b09919b23a Fix Android WEBGL detection issue 2016-01-13 22:50:31 +08:00
Jare Guo ade6bb5362 check component conflict 2016-01-13 15:26:58 +08:00
Nan Wang 62006f4a78 fix cc module wrong link issue. 2016-01-13 14:27:12 +08:00
Jare Guo 6604053da8 add _initSgNode for ComponentInSG 2016-01-13 14:05:24 +08:00
Wang Nan 8ee1d17a41 Merge pull request #241 from nantas/v0.7
update actions api module, back to cc
2016-01-13 13:37:50 +08:00
Nan Wang c7e45ce19c move actions back to cc module. 2016-01-13 12:25:23 +08:00
Jare Guo 6fd4c5c9eb fix error message of CCClass 2016-01-13 11:20:52 +08:00
Huabing.Xu 810b70e59a fix empty line for label ttf 2016-01-13 11:00:54 +08:00
pandamicro 4a38b88b4b Merge pull request #236 from dabingnn/refineSprite
Refine sprite
2016-01-13 10:43:06 +08:00
pandamicro 8f65363fc5 Fix issue when Mask is created without being loaded 2016-01-13 09:36:00 +08:00
Wang Nan 923cddc289 Merge pull request #237 from fireball-x/v0.7
merge v0.7
2016-01-12 23:39:59 +08:00
Huabing.Xu 2c2fbeb07f leave filled unimplemented 2016-01-12 18:06:09 +08:00
Huabing.Xu 1ee58ea478 Tiled sprite works 2016-01-12 16:38:03 +08:00
pandamicro c394416f30 Update actions documention 2016-01-12 16:31:57 +08:00
pandamicro be89183f18 Reverse pause/resume usage because cc.Node doesn't support 2016-01-12 16:12:56 +08:00
pandamicro e28e793ac6 Consistent event/action control by pause/resume 2016-01-12 16:07:59 +08:00
pandamicro 303a460669 Fix event / action may be resume by hierarchy change (onEnter) 2016-01-12 15:59:05 +08:00
Jare Guo 43058b6120 add cc.Float, cc.Boolean, cc.String, cc.Integer 2016-01-12 14:17:11 +08:00
pandamicro 4b18ad2d6d Merge pull request #225 from zilongshanren/addLayoutResizeChildren
Simplify label setContentSize logic and fix TTF content size error in overflow NONE
2016-01-12 11:37:16 +08:00
Huabing.Xu af4feaeb76 refactor sprite, extract quad generator 2016-01-12 11:30:04 +08:00
Jare Guo 16422a0820 supports to load scene nor scene asset for previewing stashed scene 2016-01-12 11:00:00 +08:00
pandamicro d0605ad75d Fix crash issue in JSB v3.9 caused by event listener release 2016-01-12 10:33:23 +08:00
Jare Guo 5b21ba2adf image event should registered before specifying its url 2016-01-12 02:10:34 +08:00
Wang Nan c25078ef42 Merge pull request #227 from fireball-x/v0.7
merge v0.7
2016-01-11 21:48:34 +08:00
Wang Nan 28d0e11cd9 Merge pull request #226 from nantas/v0.7
move mask and canvas to ui group in component menu.
2016-01-11 21:41:55 +08:00
Nan Wang 89c76e7f97 move mask and canvas to ui group in component menu. 2016-01-11 21:40:19 +08:00
zilongshanren 035e94bd51 make code more readable 2016-01-11 20:13:52 +08:00
zilongshanren bc962b1169 fix ttf NONE content size error 2016-01-11 20:07:04 +08:00
zilongshanren 7e90c16186 simplify setContentSize logic 2016-01-11 18:09:02 +08:00
zilongshanren 47b39fa2cb fixup! fix scrollview brake with large content size. 2016-01-11 17:23:37 +08:00
zilongshanren ec7111c900 fix scrollview brake with large content size.
fixed: https://github.com/fireball-x/fireball/issues/1487
2016-01-11 17:06:39 +08:00
pandamicro 777a0380b6 Fix retain/release usage on WEB 2016-01-11 16:38:23 +08:00
pandamicro e54456b22c Fix Mask retain/release issue in JSB 2016-01-11 16:32:26 +08:00
pandamicro fced4e0952 Merge pull request #220 from dabingnn/v0.7_refactor_mask
using drawnode for stecil in mask component
2016-01-11 16:10:11 +08:00
Huabing.Xu 8f78a76dd0 using DrawPoly instead of drawRect 2016-01-11 15:58:29 +08:00