History log of /yui3/src/event-gestures/js/Flick.js
Revision Date Author Comments Expand
0db6c2cb23af9b9aacc3798c765b90929037a720 08-Feb-2012 Satyen Desai <sdesai@yahoo-inc.com>

Chrome 6+ fixes ontouchstart in win touch detection

d70b9a2b6218f9e24a22b711704f35cbdb91f4f6 20-Aug-2011 Satyen Desai <sdesai@yahoo-inc.com>

Fixed preventDefault:true for flick. Fixes #2530951

1fed2eb19d3a3c15e1cb8fbe239f0c2f581eb578 25-Jul-2011 Satyen Desai <sdesai@yahoo-inc.com>

Reset start time on first move, to fix use case where use mousedowns, touchstarts but doesn't move their finger for a while. Fixes #2530187 Still need to fix the case where user changes direction before mouseup/touchend. See #2530220.

9b4b74ff446f59c1a9d2007b20beae1254e19138 07-Jan-2011 Satyen Desai <sdesai@yahoo-inc.com>

Fixed y axis param handling in Flick gesture. Fixes #2529767

2f2331d830cd8ee6e6cc737d9cc7a4a5c8509a6b 07-Sep-2010 Satyen Desai <sdesai@yahoo-inc.com>

API doc tweak - closed A tag. No code change

a2cf030ed8fe9edf9615d804cf112e7f5e5b1549 03-Sep-2010 Satyen Desai <sdesai@yahoo-inc.com>

Don't preventDefault on mousedown/touchstart by default. click gets swallowed on touch devices if we do this. Fixes #2529279. On touch devices, nothing else is required. On mouse devices, if you're setting up a touch listener, you need to account for differentiating between click and a drag (click gets fired for a drag)

cdc75f512bcb87389479de8b7087898f0bb92f84 01-Sep-2010 Satyen Desai <sdesai@yahoo-inc.com>

API Doc tweak. No -min files were hurt in the making of this commit point

16f6ce56ed5f7889fc7449bba668a85f8a39bd84 06-Aug-2010 Satyen Desai <sdesai@yahoo-inc.com>

Added API docs for context, additional args. Fixes #2529150

69d872a16bd3a22915b9b3689723b262b87ec57e 31-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Added support for preventDefault config parameter for gesturemove and flick subscribers. DD should now be able to pass through it's validHandle function to preventDefault, and drop it's independent time/distance threshold implementation and use gesturemovestart's. API docs has details. Fixes #2529131

4d9092388342d3524e02c61180e49ea27d5e2425 30-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

1. Normalized e.preventDefault(), e.stopPropagation() etc. between touch and mouse. No need for e._orig anymore, so removed it. 2. Fixed button filtering to default to 1 (vender left) instead of 0 (W3C left) and added e.button for touch - which defaults to filter value if provided, else 1 (so app developers don't need to change their if clauses for mouse vs. touch if they're working with e.button) See #2529131

0e232b16e640a3801393ca223d42fd1e0e9e83c3 23-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

APIDoc tweaks. No -min files were harmed in the making of this commit point

c63081863d6f11d2b4f6f739f007958ce40af0e8 22-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed handling of null in node.on('gesturemove', fn, null, context ...) signature

509fd74c86202f1c7ff828e63745cdea8182609d 22-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Added API Docs for Gestures. Changed flick e.velocity to incorporate direction (-ve, +ve) (and changed node-flick, scrollview listeners to match). Fixed method name refactor in paging plugin

/yui3/build/event-gestures/event-flick-debug.js /yui3/build/event-gestures/event-flick-min.js /yui3/build/event-gestures/event-flick.js /yui3/build/event-gestures/event-gestures-debug.js /yui3/build/event-gestures/event-gestures-min.js /yui3/build/event-gestures/event-gestures.js /yui3/build/event-gestures/event-move-debug.js /yui3/build/event-gestures/event-move.js /yui3/build/node-flick/node-flick-debug.js /yui3/build/node-flick/node-flick-min.js /yui3/build/node-flick/node-flick.js /yui3/build/scrollview/scrollview-base-debug.js /yui3/build/scrollview/scrollview-base-min.js /yui3/build/scrollview/scrollview-base.js /yui3/build/scrollview/scrollview-paginator-debug.js /yui3/build/scrollview/scrollview-paginator-min.js /yui3/build/scrollview/scrollview-paginator.js Flick.js Move.js /yui3/src/node-flick/js/NodeFlick.js /yui3/src/scrollview/js/paginator-plugin.js /yui3/src/scrollview/js/scrollview-base.js
af4bb58d3cf6fcfa46f0dc506e6ddf2e376db847 21-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Added check to prevent divide-by-zero to prevent NaN direction for 0 minDistance, 0 minVelocity

a3a3a27be34572a49bb03390fa1075a8345e7ce0 18-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed synth event integration issue. emitFacade false not needed for DOM event pass throughs anymore

7aec7acc84e25b895e5ba085d04ef3176d97f272 17-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Temp. hack to avoid touch interface on Chrome 5

fb11bcd90353a499fb7d15c4178d902fa79d7068 17-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Refactored flick based on synth event changes. No delegate support

7c04a3c82e4bf4bc10412f5d4fa24329807cb5a1 16-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Updated move impl to use fireFilter

5506261b6f477e6befffe618fe8411947d987778 16-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed flick fireFilter impl

7f83404c6ad2c3e1f2b57720d25998da265f4d1e 15-Jul-2010 Luke Smith <lsmith@yahoo-inc.com>

filterSubs => fireFilter. New filtering approach. Replaced the Do.before() on ce._procSubs for all synths with A per-subscription Do.before() on sub._notify for only those synths defined with a fireFilter method. Rather than iterate over the subs (and deal with the fact that filterSubs was called twice per fire--once for on() subs, once for after() subs), fireFilter(sub, fireArgs, thisObj, ce) is a boolean function. Return falsey to skip that sub. The name may change, but not to "Bob".

431adebef2d65f5c73809006d3f032ef98d25c27 15-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Changed flick to pass through DOM event facade, instead of wrapping it

df44ce679e6e095a4e0f1a587961e4d0962b37a9 14-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Integrate SyntheticEvent filterSubs support

2d6dc2a0e10bdba75ae44aa511c00d3f2b5cb4ff 14-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed flick plugin reverse scroll and direction

72322cadafe30de3dde1e6f24e555f0c3bc8cd9a 14-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Node Flick plugin. Still early WIP. Committing for safekeeping

1ef3baa403986374362a3287c4aa7ddb032e1684 13-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Added minDistance, minTime and button param support to movestart synth event

35a16952b0308d5bf01f468c2e748bd2895a4bdf 13-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Clean up based on review feedback from lsmith

7a8636630b82d840ea7ea17a15370c7ad322e193 12-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Fixed flick param parsing

8a320f835899af79b62b6c4e60d2f94e5b945700 12-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Added some basic comments/api docs to flick

c5a7a54dce50d0c8b85e9802d8f734bff8855e8d 10-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Cleanup and added root, standAlone support

c085d8015ca7637ffa99e3bf8c9af0136e593d59 08-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Passing through DOM e object for move events. Looks like CE won't let me change target/currentTarget.

20c6c0edba6bfc7690ccf55aa36512dc98acd4be 08-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

- Normalize target/currentTarget for gestures - Add event-gestures loader meta-data (also picked up jsonp meta)

/yui3/build/event-gestures/event-flick-debug.js /yui3/build/event-gestures/event-flick-min.js /yui3/build/event-gestures/event-flick.js /yui3/build/event-gestures/event-gestures-debug.js /yui3/build/event-gestures/event-gestures-min.js /yui3/build/event-gestures/event-gestures.js /yui3/build/event-gestures/event-move-debug.js /yui3/build/event-gestures/event-move-min.js /yui3/build/event-gestures/event-move.js /yui3/build/loader/loader-debug.js /yui3/build/loader/loader-min.js /yui3/build/loader/loader-yui3-debug.js /yui3/build/loader/loader-yui3-min.js /yui3/build/loader/loader-yui3.js /yui3/build/loader/loader.js /yui3/src/event-gestures/build.flick.properties /yui3/src/event-gestures/build.move.properties Flick.js Move.js /yui3/src/event-gestures/meta/event-gestures.json /yui3/src/event-gestures/tests/manual/gestures.html /yui3/src/loader/js/yui3.js /yui3/src/loader/js/yui3.json
f8d2d2a1de5411c61f8f633fd44dc4bb93fdfe23 03-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Check for node === document, added button to e (temporary, until we have full synth event arg support)

870b1351b8dad6efd508aacc807cd53dbd43b7c8 01-Jul-2010 Satyen Desai <sdesai@yahoo-inc.com>

Committing early event-gesture work, just so I don't lose it while the laptop is in the shop. Still needs refinement.

/yui3/build/event-gestures/event-drag-debug.js /yui3/build/event-gestures/event-drag-min.js /yui3/build/event-gestures/event-drag.js /yui3/build/event-gestures/event-flick-debug.js /yui3/build/event-gestures/event-flick-min.js /yui3/build/event-gestures/event-flick.js /yui3/build/event-gestures/event-gestures-debug.js /yui3/build/event-gestures/event-gestures-min.js /yui3/build/event-gestures/event-gestures.js /yui3/build/event-gestures/event-move-debug.js /yui3/build/event-gestures/event-move-min.js /yui3/build/event-gestures/event-move.js /yui3/src/event-gestures/build.flick.properties /yui3/src/event-gestures/build.flick.xml /yui3/src/event-gestures/build.move.properties /yui3/src/event-gestures/build.move.xml /yui3/src/event-gestures/build.properties /yui3/src/event-gestures/build.xml Flick.js Move.js