Commit Graph

1562 Commits

Author SHA1 Message Date
zilongshanren 643247a53f fix auto scroll time issue 2015-12-29 16:49:53 +08:00
pandamicro 0312c6c16c Added MOUSE_WHEEL event support 2015-12-29 16:48:55 +08:00
pandamicro 49824d9257 Fix issue of persistNode during scene transition 2015-12-29 16:48:46 +08:00
pandamicro e29c291372 Fix _searchMaskParent issue when reach scene 2015-12-29 16:48:36 +08:00
pandamicro 419f5f1f73 Merge pull request #148 from pandamicro/0.7
Made Node hit test taking count of Mask parent
2015-12-29 15:18:47 +08:00
zilongshanren 3ce238070d don't do hitTest in touch move and touch ended 2015-12-29 15:11:29 +08:00
Jare Guo 435529e4ce small fix for widget 2015-12-29 14:53:53 +08:00
Jare Guo 379a1c5b1f support disable node property by component 2015-12-29 14:02:32 +08:00
2youyouo2 1e6e329255 fixed animation manager will be paused when node active is set to false 2015-12-29 13:18:27 +08:00
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 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
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
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 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