Brian P. Hinz
afb812c356
Update package dependencies for Ubuntu Trusty
6 years ago
Pierre Ossman
cf647a3371
Stop using CopyRect in WinVNC
It cannot keep itself in sync with the actual screen contents well
enough for CopyRect to work accurately. Graphical glitches could
be seen in some cases.
6 years ago
Pierre Ossman
ac90e95db4
Merge branch 'pause' of https://github.com/CendioOssman/tigervnc
6 years ago
Pierre Ossman
d329c3ef08
Remove double cursor workaround in client
We've fixed the issue more properly in the server now, so remove the
workaround we had in the client.
6 years ago
Pierre Ossman
387a41770b
Fix bug where server cursor might disappear
We shouldn't unconditionally remove the server side cursor just
because the client supports client side cursors. We need to also
check that the client fulfills the other criteria for taking over
the cursor.
6 years ago
Pierre Ossman
b218ecd50e
Avoid extra framebuffer update messages
In most cases we will send an update at the end of processing client
messages so these extra calls only slow things down. Server initiated
events still need an explicit call though.
6 years ago
Pierre Ossman
25db44a164
Fix for initial client side cursor
Improve the tracking of what cursor we've sent to the client to make
sure the initial cursor is sent properly. We previously tried to infer
this information based on if we've rendered a server side cursor or
not. This logic broke down if things triggered before we've sent the
first update to the client.
6 years ago
Brian P. Hinz
33d7832b19
Fix "int-in-bool-context" compile errors
6 years ago
Brian P. Hinz
1e14a3ee40
Fix compile error on windows when not building with GnuTLS
6 years ago
Brian P. Hinz
d8809e334f
Override default window manager key bindings better
6 years ago
Brian Hinz
bbbd120172
Merge pull request #500 from bphinz/issue106-rebase
Hook up the "Load X.509 Cert/Key" dialogs in winvnc. Fixes #106
6 years ago
Boyuan Yang
84d578edbb
Update Chinese (simplified) translation
6 years ago
Brian P. Hinz
4b9b89730d
avoid putting more includes in headers than necessary
6 years ago
Brian P. Hinz
cab73385ba
Move gnutls functions into SSecurityTLS
6 years ago
Pierre Ossman
8c2a744c23
Handle FLTK arguments at any position
E.g. vncviewer server.example.com:2 -display :2
6 years ago
Pierre Ossman
727a70f038
Don't open X11 display too early
We have to wait until we've passed the command line arguments or
we might overlook a -display argument.
6 years ago
Brian P. Hinz
335446d164
Fix build Java errors caused by UTF-8 characters in source comments
See issue #534
6 years ago
Brian P. Hinz
bce950b70a
Raise minimum supported Java version to 7
Changes to keyboard handling require methods from the KeyEvent
class that were not introduced until Java 7.
6 years ago
Brian P. Hinz
2dc6529ecd
Override implicit focus transfer when "F10" key is pressed
Java L&F has pre-defined hook that transfers the focus to the
menu of the RootPane. Since the viewer doesn't have a menu
this just causes a loss of focus and subsequent unexpected
behavior of keyboard and mouse.
6 years ago
Brian P. Hinz
e5b4003bfb
Refactoring and implementation changes to keyboard and mouse handling
See issue #505
6 years ago
Brian P. Hinz
d2cc34dd8a
Add formatted string function to LogWriter.
Need to be careful with escapes though.
6 years ago
Brian P. Hinz
daa7a5e7e2
Rename CMsgWriter functions to match C++ code
6 years ago
Pierre Ossman
1ce3b3797a
Handle Ctrl+Alt+Delete in raw keyboard mode
Ctrl+Alt+Delete requires special handling to trigger on Windows.
Make sure this works in raw keyboard mode as well.
6 years ago
Pierre Ossman
cc945566b4
Send proper keysym when Break is pressed
Ctrl+Pause sends break which results in a different VKEY on Windows.
Make sure we map that properly to the equivalent keysym.
6 years ago
Pierre Ossman
30b3f926cb
Handle right shift better on Windows
The shift buttons are a bit buggy on Windows unfortunately, but we
can do slightly better than we're doing today.
6 years ago
Pierre Ossman
f73214c9ea
Handle Windows scan code exceptions
Windows mostly follows the AT set 1 scan codes that we want, but
there are a few exceptions.
6 years ago
Pierre Ossman
ce4722f3cd
Move XDesktop specific parameters in to same file
6 years ago
Pierre Ossman
e5cdadd6de
Fully standardise on send()/recv()
We already assume sockets here since we use select().
6 years ago
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