Pierre Ossman
dc27b95bd2
Adjust dimensions for rotated monitors
We need to flip the dimensions in the case the monitor is rotated
90° or they won't map correctly to the framebuffer.
6 years ago
Pierre Ossman
e39540b462
Make VNC extension startup mandatory
No longer tolerate loading the VNC extension but not being able to
initialize it. This avoids a lot of error prone checking to see
if the extension has started fully or not.
6 years ago
Pierre Ossman
3b03b43017
Call FatalError on fatal exceptions
6 years ago
Brian P. Hinz
88a4541705
Display security state when asking for password (java)
6 years ago
Brian P. Hinz
9a9f9f0ec1
Move UserPasswordGetter out of CConn
6 years ago
Pierre Ossman
e7aea19a14
Fix secure/insecure images
They were converted at the wrong resolution, and FLTK chokes on color
names so make sure all colors are specified in hex.
6 years ago
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
8cf7163ec0
Add crude congestion window debug trace
Allows us to compare our computed congestion window with the
underlying one used by the TCP layer.
8 years ago
Pierre Ossman
da8904cb0a
Add simple slow start to congestion control
8 years ago
Pierre Ossman
a99d14d193
Improved congestion control handling
Refine the previous method by interpolating the values we need.
This reduces the effect of the problem that we cannot send enough
ping packets.
8 years ago
Pierre Ossman
c09e5580d1
Move congestion control to its own class
It's a general function and it's better to have that particular
complexity in its own place.
8 years ago
Pierre Ossman
707fa123a6
Reduce header dependencies in server classes
8 years ago
Pierre Ossman
b2a417c155
Use a queue for congestion pings
This reduces the data sent, and avoids any problems with the
client corrupting it.
8 years ago
Pierre Ossman
e0a3ad423d
Handle timers which should be executed right away
7 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