Commit graph

157 commits

Author SHA1 Message Date
Pavel fljot
13dbd61014 starling initial commit 2012-03-15 23:37:53 +02:00
Pavel fljot
07d82c206c v0.3.1
Squashed commit of the following:

commit e15c7e7318
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 14 18:36:05 2012 +0200

    Bumped version to 0.3.1

    Releasing bunch of fixes

commit ffb8ce1ec3
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 14 18:00:38 2012 +0200

    Proper state changing on calling Gesture#reset()

commit 13231a4708
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 14 17:49:49 2012 +0200

    Fix for LongPressGesture to work correctly with minPressDuration of zero (and the new IDLE state)

commit a449965e39
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 14 17:34:24 2012 +0200

    Fix to output GestureStateEvent#toString() propely

commit bcb3dfb61f
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 14 16:58:39 2012 +0200

    Removed some redundant code

commit 82742a8465
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 14 15:32:51 2012 +0200

    Made Gesture weak-referencing target

commit e14bbd11bb
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Mar 8 13:40:04 2012 +0200

    Input adapters fix to catch events on empty stage

commit 97486ba2fe
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 7 01:12:50 2012 +0200

    Bumped version to 0.3

commit 764ca1522f
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 7 01:05:04 2012 +0200

    Readme updates

commit 2efa95b85c
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 23:28:12 2012 +0200

    Experimental requireGestureToFail API implemented

commit 4e02d4ae63
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 23:27:39 2012 +0200

    Reformat condition

commit 7cdec34be4
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 23:17:23 2012 +0200

    Swipe gesture algorithm rewritten for better recognition and failing

commit 9edcd04878
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 12:00:38 2012 +0200

    Tiny cleanup

commit b922057845
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 01:22:42 2012 +0200

    New gesture for free transformation

    more precise and performant then combination of 3

commit 5f28227c75
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 01:12:46 2012 +0200

    Using custom GestureEvent and TransformGestureEvent from now on

commit 06df91ce04
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 00:52:50 2012 +0200

    Custom GestureEvent and TransformGestureEvent

    because native one have useless phase and stupid constants

commit 398e41f610
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 00:51:25 2012 +0200

    TouchesManager should not clone touches

    because they must persist during touch session. also good for performance.

commit 49b1139b4f
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 00:50:34 2012 +0200

    Touch properties update

commit 242966790a
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Sat Mar 3 17:41:29 2012 +0200

    New gesture state

commit 4d5bef0252
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Mar 2 20:33:16 2012 +0200

    Touch properties updates (and corresponding gestures fixes)

commit b56107e059
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Mar 1 23:56:45 2012 +0200

    Minor cleanup for Gesture class

commit 51e8435b2d
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Mar 1 18:12:35 2012 +0200

    Input adapters initialization and disposing

commit 895e662bd5
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Feb 29 22:20:09 2012 +0200

    Minor performance fix for SwipeGesture

commit 3dcc78c267
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Feb 29 13:54:59 2012 +0200

    Added direction for PanGesture

commit 09dc1ddfc4
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Feb 21 20:14:13 2012 +0200

    Touch#time fix (affects SwipeGesture)

commit 0532f4bfbb
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Mon Feb 20 17:43:43 2012 +0200

    Moved some IGesturesManager methods under gestouch_internal namespace

commit 3ba8a3df86
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Feb 17 17:53:15 2012 +0200

    Put back automatic input adapter initialization

commit 6d8b733d51
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Feb 3 15:57:11 2012 +0200

    Moved input logic out to separate classes

commit ad767a4937
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Feb 2 16:57:16 2012 +0200

    Bugfix for mouse/finger release out of stage

commit 47f2f848e4
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Dec 30 18:26:16 2011 +0200

    Optimized event dispatching

commit 3e1b5948b2
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Dec 30 16:47:52 2011 +0200

    Small optimization for PanGesture

commit d950550d16
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Dec 30 03:19:56 2011 +0200

    Catch all the Touch/Mouse events in capture phase

    GesturesManager now captures TOUCH_BEGIN or MOUSE_DOWN from the stage in capture phase to be able to prevent their propagation at the target without affecting the gesture regoznition.

commit 9d9fcd20ba
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Nov 22 10:40:42 2011 +0200

    Fix central point calculation for more precise transformations

commit a036db1aef
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Nov 22 02:54:11 2011 +0200

    Initial commit for the new architecture

commit 9144538e46
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Nov 1 14:10:05 2011 +0200

    Added Gesture#enabled property

commit d3ddb825b5
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Oct 25 15:19:05 2011 +0300

    Fix condition for dispatching GestureTrackingEvent.GESTURE_TRACKING_END

commit fbc4ab7422
Merge: dc489ba e508862
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Oct 25 13:47:51 2011 +0300

    Merge branch 'refs/heads/master' into develop
2012-03-14 18:39:53 +02:00
Pavel fljot
e15c7e7318 Bumped version to 0.3.1
Releasing bunch of fixes
2012-03-14 18:36:05 +02:00
Pavel fljot
ffb8ce1ec3 Proper state changing on calling Gesture#reset() 2012-03-14 18:00:38 +02:00
Pavel fljot
13231a4708 Fix for LongPressGesture to work correctly with minPressDuration of zero (and the new IDLE state) 2012-03-14 17:49:49 +02:00
Pavel fljot
a449965e39 Fix to output GestureStateEvent#toString() propely 2012-03-14 17:34:24 +02:00
Pavel fljot
bcb3dfb61f Removed some redundant code 2012-03-14 16:58:39 +02:00
Pavel fljot
82742a8465 Made Gesture weak-referencing target 2012-03-14 15:32:51 +02:00
Pavel fljot
e14bbd11bb Input adapters fix to catch events on empty stage 2012-03-08 13:40:04 +02:00
Pavel fljot
99278b8ae0 v0.3
Squashed commit of the following:

commit 97486ba2fe
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 7 01:12:50 2012 +0200

    Bumped version to 0.3

commit 764ca1522f
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Mar 7 01:05:04 2012 +0200

    Readme updates

commit 2efa95b85c
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 23:28:12 2012 +0200

    Experimental requireGestureToFail API implemented

commit 4e02d4ae63
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 23:27:39 2012 +0200

    Reformat condition

commit 7cdec34be4
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 23:17:23 2012 +0200

    Swipe gesture algorithm rewritten for better recognition and failing

commit 9edcd04878
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 12:00:38 2012 +0200

    Tiny cleanup

commit b922057845
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 01:22:42 2012 +0200

    New gesture for free transformation

    more precise and performant then combination of 3

commit 5f28227c75
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 01:12:46 2012 +0200

    Using custom GestureEvent and TransformGestureEvent from now on

commit 06df91ce04
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 00:52:50 2012 +0200

    Custom GestureEvent and TransformGestureEvent

    because native one have useless phase and stupid constants

commit 398e41f610
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 00:51:25 2012 +0200

    TouchesManager should not clone touches

    because they must persist during touch session. also good for performance.

commit 49b1139b4f
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 6 00:50:34 2012 +0200

    Touch properties update

commit 242966790a
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Sat Mar 3 17:41:29 2012 +0200

    New gesture state

commit 4d5bef0252
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Mar 2 20:33:16 2012 +0200

    Touch properties updates (and corresponding gestures fixes)

commit b56107e059
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Mar 1 23:56:45 2012 +0200

    Minor cleanup for Gesture class

commit 51e8435b2d
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Mar 1 18:12:35 2012 +0200

    Input adapters initialization and disposing

commit 895e662bd5
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Feb 29 22:20:09 2012 +0200

    Minor performance fix for SwipeGesture

commit 3dcc78c267
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Feb 29 13:54:59 2012 +0200

    Added direction for PanGesture

commit 09dc1ddfc4
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Feb 21 20:14:13 2012 +0200

    Touch#time fix (affects SwipeGesture)

commit 0532f4bfbb
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Mon Feb 20 17:43:43 2012 +0200

    Moved some IGesturesManager methods under gestouch_internal namespace

commit 3ba8a3df86
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Feb 17 17:53:15 2012 +0200

    Put back automatic input adapter initialization

commit 6d8b733d51
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Feb 3 15:57:11 2012 +0200

    Moved input logic out to separate classes

commit ad767a4937
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Feb 2 16:57:16 2012 +0200

    Bugfix for mouse/finger release out of stage

commit 47f2f848e4
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Dec 30 18:26:16 2011 +0200

    Optimized event dispatching

commit 3e1b5948b2
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Dec 30 16:47:52 2011 +0200

    Small optimization for PanGesture

commit d950550d16
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Dec 30 03:19:56 2011 +0200

    Catch all the Touch/Mouse events in capture phase

    GesturesManager now captures TOUCH_BEGIN or MOUSE_DOWN from the stage in capture phase to be able to prevent their propagation at the target without affecting the gesture regoznition.

commit 9d9fcd20ba
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Nov 22 10:40:42 2011 +0200

    Fix central point calculation for more precise transformations

commit a036db1aef
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Nov 22 02:54:11 2011 +0200

    Initial commit for the new architecture

commit 9144538e46
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Nov 1 14:10:05 2011 +0200

    Added Gesture#enabled property

commit d3ddb825b5
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Oct 25 15:19:05 2011 +0300

    Fix condition for dispatching GestureTrackingEvent.GESTURE_TRACKING_END

commit fbc4ab7422
Merge: dc489ba e508862
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Oct 25 13:47:51 2011 +0300

    Merge branch 'refs/heads/master' into develop
2012-03-07 01:20:58 +02:00
Pavel fljot
97486ba2fe Bumped version to 0.3 2012-03-07 01:12:50 +02:00
Pavel fljot
764ca1522f Readme updates 2012-03-07 01:05:04 +02:00
Pavel fljot
2efa95b85c Experimental requireGestureToFail API implemented 2012-03-06 23:28:12 +02:00
Pavel fljot
4e02d4ae63 Reformat condition 2012-03-06 23:27:39 +02:00
Pavel fljot
7cdec34be4 Swipe gesture algorithm rewritten for better recognition and failing 2012-03-06 23:17:23 +02:00
Pavel fljot
9edcd04878 Tiny cleanup 2012-03-06 12:00:38 +02:00
Pavel fljot
b922057845 New gesture for free transformation
more precise and performant then combination of 3
2012-03-06 01:22:42 +02:00
Pavel fljot
5f28227c75 Using custom GestureEvent and TransformGestureEvent from now on 2012-03-06 01:12:46 +02:00
Pavel fljot
06df91ce04 Custom GestureEvent and TransformGestureEvent
because native one have useless phase and stupid constants
2012-03-06 00:52:50 +02:00
Pavel fljot
398e41f610 TouchesManager should not clone touches
because they must persist during touch session. also good for performance.
2012-03-06 00:51:25 +02:00
Pavel fljot
49b1139b4f Touch properties update 2012-03-06 00:50:34 +02:00
Pavel fljot
242966790a New gesture state 2012-03-03 17:41:29 +02:00
Pavel fljot
4d5bef0252 Touch properties updates (and corresponding gestures fixes) 2012-03-02 20:33:16 +02:00
Pavel fljot
b56107e059 Minor cleanup for Gesture class 2012-03-01 23:56:45 +02:00
Pavel fljot
51e8435b2d Input adapters initialization and disposing 2012-03-01 18:12:35 +02:00
Pavel fljot
895e662bd5 Minor performance fix for SwipeGesture 2012-02-29 22:20:09 +02:00
Pavel fljot
3dcc78c267 Added direction for PanGesture 2012-02-29 13:54:59 +02:00
Pavel fljot
09dc1ddfc4 Touch#time fix (affects SwipeGesture) 2012-02-21 20:14:13 +02:00
Pavel fljot
0532f4bfbb Moved some IGesturesManager methods under gestouch_internal namespace 2012-02-21 20:13:25 +02:00
Pavel fljot
3ba8a3df86 Put back automatic input adapter initialization 2012-02-17 17:53:15 +02:00
Pavel fljot
6d8b733d51 Moved input logic out to separate classes 2012-02-03 15:57:11 +02:00
Pavel fljot
ad767a4937 Bugfix for mouse/finger release out of stage 2012-02-02 16:57:16 +02:00
Pavel fljot
47f2f848e4 Optimized event dispatching 2011-12-30 18:26:16 +02:00
Pavel fljot
3e1b5948b2 Small optimization for PanGesture 2011-12-30 16:47:52 +02:00
Pavel fljot
d950550d16 Catch all the Touch/Mouse events in capture phase
GesturesManager now captures TOUCH_BEGIN or MOUSE_DOWN from the stage in capture phase to be able to prevent their propagation at the target without affecting the gesture regoznition.
2011-12-30 03:19:56 +02:00
Pavel fljot
9d9fcd20ba Fix central point calculation for more precise transformations 2011-11-22 10:40:42 +02:00
Pavel fljot
a036db1aef Initial commit for the new architecture 2011-11-22 02:54:11 +02:00
Pavel fljot
9144538e46 Added Gesture#enabled property 2011-11-01 16:53:44 +02:00
Pavel fljot
d3ddb825b5 Fix condition for dispatching GestureTrackingEvent.GESTURE_TRACKING_END 2011-10-25 15:19:05 +03:00
Pavel fljot
fbc4ab7422 Merge branch 'refs/heads/master' into develop 2011-10-25 13:47:51 +03:00
Pavel fljot
e508862f42 Bumped to v0.2 2011-10-21 14:42:01 +03:00
Pavel fljot
04d16fcc56 Merge branch 'refs/heads/develop' 2011-10-21 14:39:11 +03:00
Pavel fljot
dc489ba55d DoubleTapGesture condition refactored
to get rid of code duplication
2011-10-20 19:29:24 +03:00
Pavel fljot
3e74d2883a Added event metatags on gestures 2011-10-20 19:28:01 +03:00
Pavel fljot
ecdc6687c7 added dispatching GestureEvents on Gesture instance
see asdoc changes for explanation
2011-10-20 19:26:25 +03:00
Pavel fljot
f623ccbc21 target setting on Gesture fixes 2011-10-20 18:47:27 +03:00
Pavel fljot
bb66f13787 Moved ObjectPool class to Gestouch package 2011-10-20 18:21:43 +03:00
Pavel fljot
caa1b363f9 DragGesture bugfix: condition for dispatch DragGestureEvent with END phase was wrong. 2011-09-05 17:49:09 +03:00
Pavel fljot
5b0ae2ef00 RotateGesture fix
I have no idea why I put that condition before, but obviously I expect to have -1 rotation instead of 359.
2011-08-17 14:04:29 +03:00
Pavel fljot
d65cf3ac90 Gesture#shouldTrackTouchPoint() is no more abstract method but rather has some default functionality.
Since most of the gestures requires touch point (on touch begin) to be on top of the target, this common logic moved to base class Gesture.
2011-07-04 13:37:46 +03:00