Lauri Kasanen
9f5d1d28e2
Off-by-one in sse2 scaling
4 years ago
Lauri Kasanen
b2cfaafff9
Bind text to binary clipboard
4 years ago
Lauri Kasanen
369bee745e
Remove old text clipboard
4 years ago
Lauri Kasanen
0824452869
Copy-paste bug in SSE2 scaling to under 0.5x
4 years ago
Lauri Kasanen
4f25657d4a
Rename -DLP_Clip_Types to -DLP_ClipTypes
4 years ago
Lauri Kasanen
53c8de789f
Initial binary clipboard support
4 years ago
mmcclaskey
0cb2c0ba9f
Sse scaling ( #52 )
...
* Add CPUID functions for runtime dispatch
* Add SSE2 scaling
4 years ago
mmcclaskey
dc21d5f97c
Add a set of self-microbenchmarks ( #51 )
...
Co-authored-by: Lauri Kasanen <cand@gmx.com>
4 years ago
Lauri Kasanen
4b28667e90
Fix possible missing clipboard deinit
4 years ago
Lauri Kasanen
f57e6e644b
Add some more frame stats granularity, skip frame stats on no-data calls
4 years ago
Lauri Kasanen
c1ed769780
Clear disconnected clients from the bottleneck stats api
4 years ago
Lauri Kasanen
438271d68b
Add support for vmware cursor
4 years ago
Lauri Kasanen
fb9dd56703
Initial /api/get_frame_stats
4 years ago
Lauri Kasanen
32e8d40472
Implement /api/get_bottleneck_stats
4 years ago
Lauri Kasanen
29e0e2bd2e
Fix animated cursor resize crash
4 years ago
Lauri Kasanen
7a695c976e
Writer perms were checked in multiple places, consolidate and fix a missing case
4 years ago
Lauri Kasanen
95d34f7e58
Fix some local->remote clipboard merge misses
4 years ago
Lauri Kasanen
a1cf454f06
Sync utf8 clipboard support
4 years ago
lhchavez
25b8e64adb
Add support for notifying clients about pointer movements
...
This change adds support for the VMware Mouse Position
pseudo-encoding[1], which is used to notify VNC clients when X11 clients
call `XWarpPointer()`[2]. This function is called by SDL (and other
similar libraries) when they detect that the server does not support
native relative motion, like some RFB clients.
With this, RFB clients can choose to adjust the local cursor position
under certain circumstances to match what the server has set. For
instance, if pointer lock has been enabled on the client's machine and
the cursor is not being drawn locally, the local position of the cursor
is irrelevant, so the RFB client can use what the server sends as the
canonical absolute position of the cursor. This ultimately enables the
possibility of games (especially FPS games) to behave how users expect
(if the clients implement the corresponding change).
Part of: #619
1: https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#vmware-cursor-position-pseudo-encoding
2: https://tronche.com/gui/x/xlib/input/XWarpPointer.html
3: https://hg.libsdl.org/SDL/file/28e3b60e2131/src/events/SDL_mouse.c#l804
4 years ago
Pierre Ossman
189f503b98
Fix handling of bad update requests
...
We computed a safe area if a client gave us a bogus one, but we didn't
actually use it. Fix this properly and make sure we don't pass on bad
coordinates further.
4 years ago
Pierre Ossman
25995e2490
Remove unused bufSize argument from streams
4 years ago
Pierre Ossman
281d65292a
Remove special functions from JPEG compressor
...
We can do what we want with the standard methods.
4 years ago
Pierre Ossman
57a3c3bba8
Simplify stream availability handling
...
Just have a simply number of bytes argument to avoid a lot of
complexity.
4 years ago
Pierre Ossman
7f90205cf2
Add stream avail() methods
...
Makes it more readable to write code that needs to know how much
data/space is available in a stream.
4 years ago
Pierre Ossman
c5b7137f2b
Flush data on close
...
There might be some final handshake data that is still stuck in the
buffers, so make a best effort attempt at getting it to the client.
4 years ago
Pierre Ossman
a3c0ce55c9
Support calling methods from timers
...
We can't safely use the normal timers in base classes as we cannot
guarantee that subclasses will call the base class' handleTimeout()
properly if the subclass overrides it.
4 years ago
Lauri Kasanen
1632f4888d
Enable basicauth by default, remove the option to supply it on the command line
4 years ago
matt
93d3bf052d
Removed old line
4 years ago
matt
7b3f6876b4
Fixed syntax error
4 years ago
matt
46e03289be
Manually merged region changes
4 years ago
Lauri Kasanen
c3e30dcea1
Add support for DLP_Region
4 years ago
Lauri Kasanen
980eedd33b
Add HTTP GET APIs for creating, removing users and giving control
4 years ago
Lauri Kasanen
3f6524ee30
Add support for owner screenshot HTTP GET API
4 years ago
Dmitry Maksyoma
9084409a20
Merge branch 'users' into packages_and_multiuser_passwd
4 years ago
Lauri Kasanen
a4e70ff56b
Remove less-than-256-colors indexed limit for small rects
5 years ago
Lauri Kasanen
481b063eb7
Fix missing init for DLP timestamps
5 years ago
Lauri Kasanen
531705c05c
Remove set-desktop-size perms from read-only clients
5 years ago
Lauri Kasanen
1f69d1584a
Prevent read-only clients from changing kasm settings
5 years ago
Lauri Kasanen
36deba3a75
Correct non-basicauth and command-line user:pass being read-only
5 years ago
Lauri Kasanen
0c83a86bc8
Dynamically apply permissions
5 years ago
Lauri Kasanen
263d05a296
Apply read-only perms upon connecting
5 years ago
Lauri Kasanen
80513c8616
Change "recent" to be 10s from 60s, and in its own variable
5 years ago
Lauri Kasanen
279c41fc32
Add option to pass the password in an encrypted file, kasmvncpasswd utility
5 years ago
Lauri Kasanen
ae07707e66
Don't log BasicAuth
5 years ago
Lauri Kasanen
bb71cd4ec4
Have stats react faster to big cpu lag spikes
5 years ago
Lauri Kasanen
99fe70bbd6
Add a debug-level print on the last ~second's maximum encoding time
5 years ago
Lauri Kasanen
b30318a68f
Change stats format to JSON array style
5 years ago
Lauri Kasanen
d5bdef121a
Add support for bottleneck stats
5 years ago
Pierre Ossman
47bba8a1e6
Fix JpegCompressor::overrun() type change
...
The method it overloads got tweaked some time ago, so we need to make
sure this method follows suit.
5 years ago
Lauri Kasanen
49f9ce8e5b
Remove remnants of the old HTTP server
5 years ago