Stephen Schiffli
92292154ef
GUACAMOLE-2216: Update mouse position on mousedown/mouseup events.
2026-02-10 14:47:39 -08:00
Christopher Speck
e5817c7004
GUACAMOLE-1967: Remove duplicate wheel handler registrations.
...
Modern-day browsers abide the standardized wheel event (typed `WheelEvent`),
however to support older browsers the legacy `DOMMouseScroll` (FireFox) and
`mousewheel` (all others) events are also being registered.
However modern browsers support both the modern event as well as the legacy,
which results in the wheel handler being registered multiple times. This results
in the wheel handler firing twice instead of once, causing excessive scrolling.
This change separates the event registration such that either the modern or the
legacy events are registered, and not both.
2024-07-11 16:10:27 -04:00
Michael Jumper
1ca1161a68
GUACAMOLE-986: Update documentation of all parameters/returns to specify non-nullable and/or primitive types where appropriate.
2021-12-18 23:03:57 -08:00
Michael Jumper
0446433860
GUACAMOLE-1204: Rename mouse-related classes to remove redundant "Mouse" prefix.
2021-05-30 17:37:17 -07:00
Michael Jumper
8d63277ba7
GUACAMOLE-1204: Migrate Guacamole.Mouse to new event stack.
2021-05-30 17:37:17 -07:00
Michael Jumper
568355140d
GUACAMOLE-1204: Provide convenience function for cancelling DOM events.
2021-05-27 14:43:22 -07:00
Mike Jumper
ed849860b8
GUACAMOLE-986: Merge explicit documentation of non-nullable return values and parameters.
2021-02-21 16:03:54 -08:00
Michael Jumper
7d53fe4f09
GUACAMOLE-1204: Extract Guacamole.Position base class from Guacamole.Mouse.State.
2021-02-11 20:32:28 -08:00
Jakub Vrána
f722072807
GUACAMOLE-986: Add non-nullable modifier to return type of functions never returning null
...
Alternatively use a primitive type instead of nullable boxed type.
2020-03-11 13:27:56 +01:00
Michael Jumper
1810ec971f
GUACAMOLE-1: Relicense C and JavaScript files.
2016-03-28 20:50:18 -07:00
Michael Jumper
7cdfd146ef
GUAC-791: Add missing private tags to inner variables/functions.
2015-12-14 14:51:15 -08:00
Michael Jumper
2959513d95
GUAC-791: Fix type expressions to comply with JSDoc 3.
2015-12-14 14:51:15 -08:00
Michael Jumper
3d3149246a
GUAC-1244: Replace timeout with better line/page constants. Reset scroll_delta so the delta doesn't have to evenly divide into scrollThreshold.
2015-07-07 20:33:02 -07:00
Michael Jumper
198951a3d9
GUAC-1244: Restore compliance with coding style.
2015-07-07 19:41:21 -07:00
Frode Langelo
dded6644f8
GUAC-1244: Added timeout to mouse scroll events to catch and issue minor scrolling to remote
2015-07-06 15:00:54 -07:00
Michael Jumper
d339c8613e
GUAC-842: Add onmouseout event to Guacamole.Mouse. Fix GUAC-833 while we're in here.
2014-10-16 23:15:12 -07:00
Michael Jumper
8f903acaa6
GUAC-823: Test for CSS3 cursor support.
2014-10-16 22:49:51 -07:00
Michael Jumper
c62e7c7b4b
GUAC-823: Cursors must end with a cursor keyword (see https://developer.mozilla.org/en-US/docs/Web/CSS/cursor/url ).
2014-10-16 22:38:29 -07:00
Michael Jumper
162ceb97ba
GUAC-823: Add setCursor() function to Guacamole.Mouse. Stub out feature detection.
2014-10-16 15:06:42 -07:00
Michael Jumper
28e941675f
GUAC-324: Do not stop propagation within Mouse objects - allow multiple touch objects to coexist.
2014-04-22 11:43:01 -07:00
Michael Jumper
4851ba8b5c
Fix movement calculations.
2014-03-05 01:10:03 -08:00
Michael Jumper
bacc5406ec
Handle start/end of gestures more cleanly.
2014-03-04 16:56:12 -08:00
Michael Jumper
462525c08c
Further cleanup. Implement long-press for right click.
2014-03-04 16:31:46 -08:00
Michael Jumper
e54d164113
Use tap+hold for click+drag.
2014-03-04 15:14:56 -08:00
Michael Jumper
6d1c9ba550
Modify Guacamole.Touchscreen to play nicely with other gesture-handling objects. Send click only on touchend. Move mouse only if related to a drag.
2014-03-04 13:42:14 -08:00
Michael Jumper
f0c62ff82a
Clean up Mouse.js a bit.
2014-03-04 13:08:29 -08:00
Michael Jumper
6c00d8428c
Migrate to minify-maven-plugin and Google Closure Compiler.
2014-01-15 21:50:18 -08:00