Peter Åstrand (astrand)
0a0e582597
x0vncserver does not support SetDesktopSize; remove -AcceptSetDesktopSize
Add a Configuration::removeParam to support such cases.
6 years ago
Peter Åstrand (astrand)
90afb1c20c
Configuration::listParams wants width/nameWidth; not ConfigurationObject
6 years ago
Peter Åstrand (astrand)
dcd0b13965
Removed IRIX/Solaris overlay support
Legacy systems.
6 years ago
Peter Åstrand (astrand)
453da22b87
Remove support for Lynx/OS
6 years ago
Peter Åstrand (astrand)
3a1db168af
Added my/Cendio copyright where relevant
6 years ago
Peter Åstrand (astrand)
3abc7d4492
Set the correct cursor when starting
XFixes only reports cursor changes. We must manually call
XFixesGetCursorImage() when starting.
6 years ago
Peter Åstrand (astrand)
e2c3b60f32
Use send() with MSG_DONTWAIT when possible
6 years ago
Peter Åstrand (astrand)
01dc1a67dc
Define cork() as pure virtual in Socket class
This makes it possible to create a derived class from Socket which is
not TCP based, without having VNCSConnectionST.cxx trying to call
setsockopt() on a non-socket.
6 years ago
Peter Åstrand (astrand)
3112f50062
Move XDesktop to separate file
Define ledNames in XDesktop.cxx, rename N_LEDS to XDESKTOP_N_LEDS
6 years ago
Peter Åstrand (astrand)
f523ee14c6
Using namespace rfb in header files is a bad idea
6 years ago
Peter Åstrand (astrand)
daba227da6
Build with support for MIT-SHM
No need for ifdefs; we can assume MITSHM. Already done in vncviewer.
6 years ago
Pierre Ossman
e04ad71ca2
Add debug trace when the clipboard changes
6 years ago
Pierre Ossman
dfc2001b3f
Don't validate timestamp on clipboard request
The normal Xorg server doesn't check this field, so neither can we
as there are applications relying on this leniancy.
6 years ago
Pierre Ossman
19225507cc
Make exception classes have clearer messages
Include the type of exception in the string generated by each
subclass. Also simplify the constructs to what is needed.
6 years ago
Pierre Ossman
ae7c2002d0
Add Travis CI configuration
6 years ago
Pierre Ossman
2699967aad
Improve test if library is a CMake target
Newer CMake complains when you try to get the property of something
that isn't a target so use the specific if operator instead.
6 years ago
Pierre Ossman
c27f5da1b7
Avoid getting LOCATION property
It's not supported in newer CMake, so try to deduce the library
filename from the target name.
6 years ago
Pierre Ossman
3630475369
Push query connect timeout back in to Xvnc
It was moved to the common code in f8e3b34c6, but it was unreliable
because the state could sometimes get out of sync. Push it back in
to Xvnc since it isn't necessarily something all servers will have.
6 years ago
Pierre Ossman
63d2fddd6b
Don't queue a query if it is directly rejected
Otherwise we'll wedge the desktop object which expects an approval
or rejection to eventually show up.
6 years ago
Pierre Ossman
a846421a73
Keep alpha in cursor alpha conversion
Don't touch the existing value or we might mess it up when we avoid
division by zero.
6 years ago
Pierre Ossman
841e9f32d5
Use current server time for XUngrabKeyboard
We might be calling this outside a normal FLTK event, so we cannot
trust fl_event_time to have a sane value.
6 years ago
Pierre Ossman
728b407c17
Remove accidental debug output
6 years ago
Pierre Ossman
b1e80f7b02
Make sure to start the frame timer after a buffer change
The buffer is considered changed right away, so we might not get any
add_changed() calls to trigger a start of the timer.
6 years ago
Pierre Ossman
b000ff1327
Get rid of getFbSize()/getDesktopSize() in common
It was only used by WinVNC, so push it there instead.
6 years ago
Pierre Ossman
aceb4e7bf7
Switch back to low resolution mode on macOS
This is a revert of 6c0181c
. Testing showed that we got a big
performance hit by enabling this, and we also saw some graphical
artifacts. More work is needed before this can be enabled by default.
6 years ago
Pierre Ossman
5433808e6c
Update keyboard test notes for raw keyboard mode
6 years ago
Pierre Ossman
671d05dddf
Add keyboard test notes for LED state handling
6 years ago
Pierre Ossman
87b9d5fec9
Be explicit which Exception class we want
6 years ago
Pierre Ossman
7e546febad
Release pointer grab when cursor leaves window
We don't need the grab any more if the pointer cannot click on our
window. This makes it possible to shift focus to another application
when we aren't covering all monitors.
6 years ago
Pierre Ossman
ca0c5f5714
Don't throw exceptions in destructors
6 years ago
Pierre Ossman
2956bb3dcf
Handle unknown keysyms properly in x0vncserver
We would accidentally store they keycode 0 for unknown keysyms, wedging
the lookup table.
6 years ago
Pierre Ossman
2df2a07b36
Handle XKB groups properly in x0vncserver
6 years ago
Pierre Ossman
00dec78eb1
Update mouse cursor position in x0vncserver
This is necessary to make sure the server side rendered cursor works
properly.
6 years ago
Pierre Ossman
61a75ef824
Only select XFixes event once
We never un-select it, and it's not a problem if we get extra ones so
register it once right away.
6 years ago
Pierre Ossman
d092f05f0d
Merge branch 'cursor' of https://github.com/alanc/tigervnc
6 years ago
Pierre Ossman
9e7b4535f4
Merge branch 'fix-warnings'
6 years ago
Steve Kondik
0c81bbb78d
rfb: Avoid unused argument warnings in headers
Don't force users of these headers to squash compiler
warnings about unused arguments, annotate with __unused_attr.
7 years ago
Pierre Ossman
851e6806e5
Fix shift state test in lock key heuristics
6 years ago
Pierre Ossman
63cc07e800
Merge branch 'x0vncshift' of https://github.com/CendioOssman/tigervnc
6 years ago
Pierre Ossman
03b51b65e5
Merge branch 'securemsg' of https://github.com/CendioOssman/tigervnc
6 years ago
Pierre Ossman
24e83052d2
Merge branch 'qemukbd-merge' of https://github.com/CendioOssman/tigervnc
6 years ago
Pierre Ossman
71ca8d546b
Clear client cursor when switching to server side
Otherwise the client can end up with two visible cursors.
6 years ago
Pierre Ossman
5951df2416
Remove unused FLTKPixelBuffer files
These are unused since 403ac27d, but the files were never removed.
6 years ago
Pierre Ossman
0c15866f0c
Add support for raw keyboard in vncviewer
Make sure it can map between the key codes of the local system
in to the key codes used by the protocol.
7 years ago
Pierre Ossman
3186a5680e
Fix indentation bug
7 years ago
Pierre Ossman
22348f2226
Add support for raw key codes to Xvnc/libvnc.so
7 years ago
Rahul Kale
7423417f7a
rfb_win32: Use scan codes if available
If scan codes are available using QEMU Extended Keyboard Messages
from clients, use that to inject scancodes directly into the
system using the SendInput API.
No conversion is needed as Windows uses the same scancode encoding.
Signed-off-by: Rahul Kale <Rahul.Kale@barco.com>
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
7 years ago
Peter Korsgaard
8fe5090c8e
x0vncserver: keyEvent(): use scancodes if available
Use the client provided (using QEMU extendend key event) scancodes if
available instead of reverse mapping the keysym.
X11 unfortunately uses keyboard driver specific keycodes and provides
no direct way to query this, so guess based on the keyboard mapping.
Handle the two most likely keyboard drivers, the old xorgkbd and evdev.
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
7 years ago
Pierre Ossman
894f2c5197
Include server name in TLS handshake for SNI
In case the server is a front-end to multiple systems and needs to
know which system we're after.
6 years ago
Pierre Ossman
b993ea78d7
Use better security method description when using VeNCrypt
The sub-modules generally provide a better description than just the
short security method name.
6 years ago