Commit graph

124 commits

Author SHA1 Message Date
Pavel fljot
767fcb503b Merge branch 'hotfixes/swipe-slop' into develop 2013-01-06 18:13:58 +02:00
Pavel fljot
f50ae0ba3a Fix SwipeGesture slop logic (no direction) 2012-09-20 15:07:01 +03:00
Pavel fljot
06070d8579 Fix SwipeGesture slop logic 2012-09-20 14:59:06 +03:00
Pavel fljot
073a0dfd04 Bump version to 0.4.4 2012-09-20 14:58:41 +03:00
Pavel fljot
a3f50548f5 Merge branch 'refs/heads/hotfixes/touch-memory-leak' into develop 2012-09-05 17:00:00 +03:00
Pavel fljot
5196fd09ae Merge branch 'refs/heads/hotfixes/touch-memory-leak' 2012-09-05 16:59:15 +03:00
Pavel fljot
85cbe270a6 Fix touch memory leak 2012-09-05 16:59:02 +03:00
Pavel fljot
d47641ce43 Bumped version to 0.4.3 2012-09-05 16:58:26 +03:00
Pavel fljot
8d0f163f8f Merge branch 'refs/heads/hotfixes/touch-target-memory-leak' into develop 2012-09-05 13:46:56 +03:00
Pavel fljot
70fde9e73c Merge branch 'refs/heads/hotfixes/touch-target-memory-leak' 2012-09-05 13:45:07 +03:00
Pavel fljot
6acc147586 Fixed memory leak (caused by Touch#target) 2012-09-05 13:44:51 +03:00
Pavel fljot
146bed76ca Bumped version to 0.4.2 2012-09-05 13:43:43 +03:00
Pavel fljot
98f943b871 Get rid of IDLE gesture state 2012-09-03 16:34:36 +03:00
Pavel fljot
595d6ab989 v0.4.1 2012-08-26 00:00:15 +03:00
Pavel fljot
3081c80355 Bumped version to 0.4.1 2012-08-25 20:52:33 +03:00
Pavel fljot
63026f362f Fix README 2012-08-25 20:52:27 +03:00
Pavel fljot
d33c6764b6 Update README for recent changes in API 2012-08-17 19:01:34 +03:00
Pavel fljot
4d1e467b2d Remove redundant globalToLocal methods 2012-08-17 18:52:24 +03:00
Pavel fljot
4839b1fa59 Remove custom gesture events and standardize dispatching 2012-08-17 18:51:18 +03:00
Pavel fljot
ca5a2efbe6 Refactor GestureState (internal improvements) 2012-08-17 17:59:08 +03:00
Pavel fljot
b445a5cbe7 v0.4
Squashed commit of the following:

commit 1eb3dfa9e1
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Aug 7 17:47:43 2012 +0300

    Bumped version to 0.4

commit 3acafd1dfb
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Aug 7 17:46:53 2012 +0300

    Minor fix for Gesture state machine

    to dispatch STATE_CHANGE even when cycling around CHANGED state

commit 2678e12de8
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Aug 7 17:46:12 2012 +0300

    Add protected from a mistyped event listening

commit a3b618e90a
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Aug 7 17:38:10 2012 +0300

    Move native adapters to extensions package

commit 9c817b7472
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Aug 1 19:41:58 2012 +0300

    Implement touch cancelation handling

commit 7bfb1fae36
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jul 20 14:52:18 2012 +0300

    Minor type fix

commit 7bacbf087b
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jul 20 14:49:48 2012 +0300

    Minor changes

commit 7278e863d4
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jul 20 14:48:52 2012 +0300

    Refactor dirty gestures reset

commit eab6cb4a1c
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jul 20 14:47:52 2012 +0300

    Remove unnecessary casting

commit 4bdefd12bb
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jul 13 18:27:20 2012 +0300

    Minor cleanup in LongPressGesture

commit c5f91e6de1
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jul 13 18:08:07 2012 +0300

    Improve internal algorithm for TapGesture

commit ed2efc1954
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jul 13 16:51:06 2012 +0300

    Improve internal algorithm for SwipeGesture

commit c2125a06e1
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Jul 12 12:46:11 2012 +0300

    Remove unnecessary imports

commit 4a8e6feada
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 11 22:47:55 2012 +0300

    Improve internal algorithm for SwipeGesture

    but still under question

commit 850ed9849f
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 11 13:34:50 2012 +0300

    Change rotation values from degrees to radians

commit 7be7c8c40a
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 11 13:28:43 2012 +0300

    Improve internal algorithm for TransformGesture

commit f8149935db
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Jul 10 17:11:46 2012 +0300

    Improve internal algorithm for ZoomGesture

commit fd55468579
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Jul 10 17:11:30 2012 +0300

    Improve internal algorithm for RotateGesture

commit 0555813e25
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Mon Jul 9 16:47:09 2012 +0300

    Hotfix for gesture state machine validation

commit c2d31b743b
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Thu Jul 5 10:17:53 2012 +0300

    Fix Stage + Starling gestures simultaneous recognition

commit 37f6220eb5
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 4 23:44:16 2012 +0300

    Changed default PanGesture#maxNumTouchesRequired to uint.MAX_VALUE

commit 2e02b13581
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 4 23:43:01 2012 +0300

    Improved early failing strategy implementation

    as in iOS UIGestureRecognizers. Also fixes bugs with new validating state machine.

commit 6273cc33e6
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 4 21:55:34 2012 +0300

    Bumped version to 0.4-beta

commit 00040bb2e2
Merge: 62fa492 963c660
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 4 21:41:26 2012 +0300

    Merge branch 'refs/heads/features/starling' into develop

commit 963c66024e
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 4 21:40:55 2012 +0300

    Update README

commit 2d52729f7c
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 4 21:36:55 2012 +0300

    Update "requireGestureToFail" API implementation

commit 60d9cb6744
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed Jul 4 21:34:49 2012 +0300

    Fixed potential bug with registering gesture target

    in case when previous gesture target was GC-ed, but gesture instance was reused to set a new target

commit bbfb3fc34c
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Jul 3 23:23:48 2012 +0300

    Minor performance improvement via "use namespace" access

commit 193332b9d0
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Jul 3 23:12:38 2012 +0300

    Change GestureState to "real" enum

commit 039a7d79f4
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Mon Jul 2 22:33:50 2012 +0300

    Fixed and slightly improved gesture reset

commit 09c35a5d97
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Mon Jul 2 18:29:33 2012 +0300

    Minor tabs and spaces cleanup

commit cdd90d7479
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Mon Jul 2 18:28:30 2012 +0300

    Moved IDisplayListAdapter creating and retrieving logic to Gestouch class

commit 32e9ff979c
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Sun Jul 1 12:57:31 2012 +0300

    Update to always include Stage in hierarchy

    so that gestures registered on Stage will always react on touch

commit d072f6e478
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Sun Jul 1 11:48:10 2012 +0300

    Fix for potential RTE related to "contains" logic

commit 33108a1bc7
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jun 1 13:51:15 2012 +0300

    Changed global system gesture slop to variable

commit 8d870f4e93
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Jun 1 13:49:29 2012 +0300

    Improved event handling autocompletion (for FD)

commit 54cc5d42bd
Merge: e9132fe 62fa492
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Wed May 30 20:54:47 2012 +0300

    Merge branch 'refs/heads/develop' into features/starling

commit e9132fec9b
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue May 29 17:03:16 2012 +0300

    Massive refactoring of input layer

commit e0a892654d
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue May 29 17:01:54 2012 +0300

    Untyped globalToLocal call fix

commit 0adfac4c5d
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri May 4 14:54:25 2012 +0300

    Fixed touch/mouse event handling condition in StarlingInputAdapter

commit 62fa492d66
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Mon Apr 2 17:17:48 2012 +0300

    Fixed initial offset calculation for PanGesture

commit 696b6367f2
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Mon Apr 2 17:16:48 2012 +0300

    Fixed location for TapGesture

commit 86439e7627
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Sun Mar 18 12:19:43 2012 +0200

    README update for simplified API

commit d1150b2a35
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Sun Mar 18 12:17:01 2012 +0200

    Simplified API for Gesture target

commit 63a5df8761
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Mar 16 01:04:50 2012 +0200

    Bumped version to 0.4-alpha

commit c983ebe32a
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Fri Mar 16 01:03:40 2012 +0200

    Readme quick update for Starling

commit 13dbd61014
Author: Pavel fljot <pavel.fljot@gmail.com>
Date:   Tue Mar 13 14:05:50 2012 +0200

    starling initial commit

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-08-07 20:51:17 +03:00
Pavel fljot
1eb3dfa9e1 Bumped version to 0.4 2012-08-07 17:47:43 +03:00
Pavel fljot
3acafd1dfb Minor fix for Gesture state machine
to dispatch STATE_CHANGE even when cycling around CHANGED state
2012-08-07 17:46:53 +03:00
Pavel fljot
2678e12de8 Add protected from a mistyped event listening 2012-08-07 17:46:12 +03:00
Pavel fljot
a3b618e90a Move native adapters to extensions package 2012-08-07 17:38:10 +03:00
Pavel fljot
9c817b7472 Implement touch cancelation handling 2012-08-01 19:41:58 +03:00
Pavel fljot
7bfb1fae36 Minor type fix 2012-07-20 14:52:18 +03:00
Pavel fljot
7bacbf087b Minor changes 2012-07-20 14:49:48 +03:00
Pavel fljot
7278e863d4 Refactor dirty gestures reset 2012-07-20 14:49:16 +03:00
Pavel fljot
eab6cb4a1c Remove unnecessary casting 2012-07-20 14:47:52 +03:00
Pavel fljot
4bdefd12bb Minor cleanup in LongPressGesture 2012-07-13 18:27:20 +03:00
Pavel fljot
c5f91e6de1 Improve internal algorithm for TapGesture 2012-07-13 18:08:07 +03:00
Pavel fljot
ed2efc1954 Improve internal algorithm for SwipeGesture 2012-07-13 16:51:06 +03:00
Pavel fljot
c2125a06e1 Remove unnecessary imports 2012-07-12 12:46:11 +03:00
Pavel fljot
4a8e6feada Improve internal algorithm for SwipeGesture
but still under question
2012-07-11 22:47:55 +03:00
Pavel fljot
850ed9849f Change rotation values from degrees to radians 2012-07-11 13:34:50 +03:00
Pavel fljot
7be7c8c40a Improve internal algorithm for TransformGesture 2012-07-11 13:28:43 +03:00
Pavel fljot
f8149935db Improve internal algorithm for ZoomGesture 2012-07-10 17:11:46 +03:00
Pavel fljot
fd55468579 Improve internal algorithm for RotateGesture 2012-07-10 17:11:30 +03:00
Pavel fljot
0555813e25 Hotfix for gesture state machine validation 2012-07-09 16:47:09 +03:00
Pavel fljot
c2d31b743b Fix Stage + Starling gestures simultaneous recognition 2012-07-05 10:17:53 +03:00
Pavel fljot
37f6220eb5 Changed default PanGesture#maxNumTouchesRequired to uint.MAX_VALUE 2012-07-04 23:44:16 +03:00
Pavel fljot
2e02b13581 Improved early failing strategy implementation
as in iOS UIGestureRecognizers. Also fixes bugs with new validating state machine.
2012-07-04 23:43:01 +03:00
Pavel fljot
6273cc33e6 Bumped version to 0.4-beta 2012-07-04 21:55:34 +03:00
Pavel fljot
00040bb2e2 Merge branch 'refs/heads/features/starling' into develop 2012-07-04 21:41:26 +03:00
Pavel fljot
963c66024e Update README 2012-07-04 21:40:55 +03:00
Pavel fljot
2d52729f7c Update "requireGestureToFail" API implementation 2012-07-04 21:36:55 +03:00
Pavel fljot
60d9cb6744 Fixed potential bug with registering gesture target
in case when previous gesture target was GC-ed, but gesture instance was reused to set a new target
2012-07-04 21:34:49 +03:00
Pavel fljot
bbfb3fc34c Minor performance improvement via "use namespace" access 2012-07-03 23:23:48 +03:00
Pavel fljot
193332b9d0 Change GestureState to "real" enum 2012-07-03 23:12:38 +03:00