Commit Graph

26 Commits (d4747a8c800ffbf0d4f52aa8a0444165a2b696c9)

Author SHA1 Message Date
Jesper Alf Dam d4747a8c80 Avoid recursion in Alt check on Firefox
The Firefox workaround which checks for missing Alt key events may
synthesise new KeyboardEvents. On these events, checkAlt should not be
recursively triggered. Otherwise, we get "too much recursion" errors
whenever the Alt key is pressed.
4 years ago
Samuel Mannehed 8b859f4598 Remove the default value of wsProtocols
Using the 'binary' protocol by default is very non-standard.
4 years ago
Shira Maximov 8c5b5f17eb Add support in websocket sub-protocols 4 years ago
Pierre Ossman 4c635f65d3 Remove server pixel format warnings
These are harmless and really only for debugging. So remove them
as they tend to trick people in to thinking something is wrong.
We already print the entire server pixel format earlier anyway in
case we need the details.
4 years ago
Samuel Mannehed 12565dc4ac Allow autoscale() with zero height or width
Commit 6e7e6f9 stopped the function from running if width or height was
zero, this commit reverts that change. This commit also makes the
resulting canvas 0x0 if autoscale is called with zero. By adding this
special case we can avoid division by zero in the calculations.
4 years ago
Samuel Mannehed 79ab05192b Add check for bad values for Display.autoscale() 4 years ago
Juanjo Diaz c6c278f9d5 Replace unnecessary function supportsCursorURIs by a constant variable 4 years ago
Juanjo Diaz 37c17ddbf9 Move support check from display to browser 4 years ago
Juanjo Diaz 075eed5cbb Convert DES into a class 4 years ago
Juanjo Diaz 7b7295fd4e Use default argument for base64 4 years ago
Juanjo Diaz 5964156a6f Remove unnecessary context from eventtarget 4 years ago
Juanjo Diaz 1ff792cf4b Remove unnecessary constructor parameter from Cursor 4 years ago
Juanjo Diaz 3043216b63 Remove intermediate variable from mouse 4 years ago
Pierre Ossman 499b251716 Remove error handling in clientCutText()
It is not necessary as Websock.flush() is guaranteed to succeed and
give us some space. It also remove the call to _fail(), which was
invalid at this place as clientCutText() is not a method on RFB.
4 years ago
Pierre Ossman d20f751441 Throw correct Error object
We've already defined the name Error as a logging function, so we
need to be more explicit when we want to refer to the exception
class.
4 years ago
Pierre Ossman ee2423ed2b Clean up RFB._rfb_auth_schema assignment 4 years ago
Pierre Ossman ce6d66f030 Fix security failure reason handling of slow data
Things would break if the security result and security reason did
not arrive in the same WebSocket message.
4 years ago
Pierre Ossman 41e6fedba6 Fix version handshake to handle slow data 4 years ago
Pierre Ossman 642a67f76f Use arrow function to avoid bind 4 years ago
Pierre Ossman d7198cbe5d Consume data properly in Hextile decoder
We accidentally removed the code updating the data index in 8a189a6,
resulting in the decoder newer consuming any data. So the data would
be parsed as the next rect, causing weird errors.
4 years ago
Dmitry Maksyoma 9084409a20 Merge branch 'users' into packages_and_multiuser_passwd 4 years ago
matt 2813e7fe09 Fixes to webcode for Kasm CDI 4 years ago
matt 28d19cd556 Disable VNC password, fix bug when running inside Kasm VDI 5 years ago
kasmtech 88a9bed022 UI mods to display stats 5 years ago
Lauri Kasanen d5bdef121a Add support for bottleneck stats 5 years ago
matt 408c005d3e Initial commit 5 years ago