Commit Graph

1797 Commits

Author SHA1 Message Date
pandamicro bd44264a52 Merge pull request #142 from 2youyouo2/game
cc.Game should not initEvents in editor mode
2015-12-28 22:41:22 +08:00
pandamicro 4a8b893e2e fireball-x/fireball#1231: Made Node hit test taking count of Mask parent 2015-12-28 22:34:27 +08:00
zilongshanren 2a471bae7b Improve button and scroll touch dispatch
Squashed commit of the following:

commit 8fcc4f4d116372072959d4c8a6192247d953d0ae
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 21:51:25 2015 +0800

    refactor button and scrollview to use new event.

commit f3c1bc2153c85ee913a3a674c8f418087384146d
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 17:04:06 2015 +0800

    fix touch move out and in, button state is wrong.

commit 57ad4c7d887b879a1f71281798347057652decff
Merge: 7b3fe78 7c6f572
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 15:39:03 2015 +0800

    Merge remote-tracking branch 'fireball/v0.7' into fixButtonClickEvent

commit 7b3fe785dee943abfcfdc04ad5c228b4247bbd2f
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 15:38:24 2015 +0800

    remove self emit touch event

commit c1afba5131e3f3735ca236fdb693a72cff52ba4b
Merge: 6939b66 45e877a
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 11:44:59 2015 +0800

    Merge remote-tracking branch 'fireball/v0.7' into fixButtonClickEvent

commit 6939b66f6c2bbe4de1adc26b81613ddd40828b6e
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 11:44:28 2015 +0800

    fix typo
2015-12-28 21:53:27 +08:00
pandamicro d4e5e02b9e Add touch cancel event to entity 2015-12-28 21:14:02 +08:00
pandamicro a278c783f3 Remove scheduleUpdate for Component 2015-12-28 21:14:02 +08:00
Jare Guo fbab4aaa42 child sg-node should also be released after node destoryed 2015-12-28 19:41:00 +08:00
Jare Guo 137444f911 Merge pull request #143 from jareguo/v0.7
throw warning if property overrided without specifing `override` keyword
2015-12-28 18:32:28 +08:00
Jare Guo 742015dc1e throw warning if property overrided without specifing override keyword 2015-12-28 18:30:23 +08:00
2youyouo2 d82522ad6f cc.Game should not initEvents in editor mode 2015-12-28 18:24:40 +08:00
Jare Guo 4c6eb332fc Merge pull request #134 from dabingnn/fix_infiniteloopinLabel
fix infinite loop in label
2015-12-28 17:40:04 +08:00
Jare Guo 5d4aa6276f Merge pull request #141 from fireball-x/v0.7
merge v0.7 to master
2015-12-28 16:27:17 +08:00
Jare Guo 574ca81409 allows to omit default value of property 2015-12-28 16:20:52 +08:00
pandamicro 7c6f572241 Merge pull request #138 from pandamicro/0.7
Fix mouse event list issue
2015-12-28 15:37:26 +08:00
pandamicro 1cd86e9ab2 Fix mouse event list issue 2015-12-28 15:37:02 +08:00
pandamicro 8f31ad218b Merge pull request #137 from pandamicro/0.7
Fix event name inconsistency with DOM standard
2015-12-28 15:25:21 +08:00
pandamicro 2f1c690219 Fix event name inconsistency with DOM standard 2015-12-28 15:24:28 +08:00
Jare Guo bab371bd84 fix bug of texture loading 2015-12-28 13:59:57 +08:00
Huabing.Xu b629af4831 fix infinite loop in label 2015-12-28 11:29:25 +08:00
pandamicro 0c5e685aba Fix entity priority issue in EventManager 2015-12-26 17:42:51 +08:00
pandamicro 0fd470a6a4 Improvements to Entity Events 2015-12-26 17:20:17 +08:00
pandamicro dcf7c6f07d Fix node.getChildren issue for component 2015-12-26 01:39:51 +08:00
Jare Guo 2d726b6b00 update deprecated info 2015-12-25 21:59:45 +08:00
pandamicro 3c0e1b5e17 Support Scheduler in Component instead of Node 2015-12-25 21:09:04 +08:00
pandamicro 885981378e Fix undefined check 2015-12-25 20:56:42 +08:00
pandamicro 3e529f31a9 Check noCache for all load functions 2015-12-25 20:54:14 +08:00
pandamicro aa22a8d1f9 Made removeListeners work for Entity 2015-12-25 19:48:22 +08:00
pandamicro b80ccec46b Do cleanups in onPreDestroy for action, event listeners and schedules 2015-12-25 19:46:14 +08:00
pandamicro 9f20262276 Let Entity correctly sorted by event manager 2015-12-25 19:46:14 +08:00
pandamicro bbfae239df Merge pull request #123 from jareguo/master
fix cc.glDeleteTexture
2015-12-25 19:43:21 +08:00
pandamicro c3becf38c0 Merge pull request #129 from jareguo/hide-sprite
fix a potential memory leak
2015-12-25 19:41:27 +08:00
Jare Guo c9a393de6a fix a potential memory leak 2015-12-25 19:38:28 +08:00
Jare Guo cae43b0586 Merge pull request #122 from pandamicro/master
Improve cc.textureCache.addImage logic
2015-12-25 19:30:17 +08:00
Jare Guo e8dfaa164b Merge pull request #128 from jareguo/hide-sprite
when moving in editor, widget should support offsets in percentage
2015-12-25 17:54:56 +08:00
Jare Guo 0de22c77fb when moving in editor, widget should support offsets in percentage 2015-12-25 17:54:03 +08:00
Jare Guo 481ab838fb Merge pull request #127 from 2youyouo2/master
should not sample in updateClip
2015-12-25 17:33:03 +08:00
2youyouo2 af8c69a827 should not sample in updateClip 2015-12-25 17:16:19 +08:00
Jare Guo a66431a1b6 Merge pull request #126 from 2youyouo2/master
motion path support curve time smaller than 0 and bigger than 1
2015-12-25 15:16:44 +08:00
2youyouo2 5ce0d9676d motion path support curve time smaller than 0 and bigger than 1 2015-12-25 14:57:30 +08:00
Jare Guo 73269fd4f3 Merge pull request #125 from jareguo/hide-sprite
sprite should be hidden if sprite frame deleted
2015-12-25 12:09:16 +08:00
Jare Guo b62b80ecd0 sprite should be hidden if sprite frame deleted 2015-12-25 11:48:18 +08:00
zilongshanren d6febd8cf6 rename LayoutType to Type 2015-12-25 10:27:44 +08:00
zilongshanren f75925209c improve ui components 2015-12-25 10:22:22 +08:00
Jare Guo 4477679100 fix cc.glDeleteTexture 2015-12-25 00:57:09 +08:00
pandamicro 340ff480b0 Fix fireball-x/fireball#1033: Improve cc.textureCache.addImage logic 2015-12-24 18:18:22 +08:00
pandamicro a529d7dc74 Merge pull request #119 from pandamicro/master
Added _ccsg.Node._requestDirtyFlag
2015-12-24 16:48:12 +08:00
Jare Guo ef5082e342 prefab should update its states after parent changed 2015-12-24 16:00:09 +08:00
pandamicro 76b8b2cc4a Improve _ccsg.Node._requestDirtyFlag 2015-12-24 15:44:35 +08:00
Jare Guo aa3217feb2 Merge pull request #120 from zilongshanren/addLayout
Panel组件开发
2015-12-24 15:29:39 +08:00
zilongshanren fd185047be refine the coding style 2015-12-24 15:20:40 +08:00
zilongshanren 3ba13cfe38 Finish layout
add children change event

add child-added and child-remove event to basenode

add layout dirty skeleton

finish layout in one direction

add layout doc string.
2015-12-24 14:21:17 +08:00