Pierre Ossman
bf003e5b1e
Merge branch 'x0-xdesktop-initial-cursor' of https://github.com/x11clone/x11clone
6 years ago
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
7be73d7385
Avoid corner case of applications rendering at frame rate
There is a problematic corner case where an application is updating
at exactly the same rate that we're sending update. In that case we
may miss updates regularly, getting a very uneven final frame rate.
Avoid this by introducing a slight offset when we start updating.
6 years ago
Pierre Ossman
330ca42ef7
Fix broken logic for sending mouse cursor
The logic got inverted resulting in the cursor being sent needlessly
whenever the cursor moved.
6 years ago
Brian P. Hinz
29d4f5b5b6
Update distro package requirements
6 years ago
Brian P. Hinz
eacd2e4497
Patch the el7 xorg source appropriately
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.
6 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.
6 years ago
Pierre Ossman
3186a5680e
Fix indentation bug
7 years ago