Peter Åstrand (astrand)
3ec76bd5eb
Don't parse FLTK arguments using Fl::arg; handle -display as other options
Fl::arg accepts several arguments which we are not documenting. Also,
it accepts a -geometry argument, which clashes with our own -geometry
option.
pirms 6 gadiem
Pierre Ossman
2922e74970
Hook remaining XRender operations
We had overlooked a few so we didn't track all screen changes properly.
pirms 6 gadiem
Pierre Ossman
490b3198f7
Update UI look on macOS
macOS no longer uses the old Aqua look, so tweak our things to fit
in better with the current state of things.
pirms 6 gadiem
Brian P. Hinz
de4db73353
Restore menukey function to java viewer
Menukey was broken by recent refactoring of OptionsDialog
pirms 6 gadiem
Brian P. Hinz
b40235af94
Fixes for erros in java hextile/zrle decoders
Various errors exposed when connecting to RealVNC servers
on alternative platforms (ARM, SPARC). SSLEngineManager
was also cleaned up but most of the changes are cosmetic.
pirms 6 gadiem
Peter Åstrand (astrand)
46fab93cbd
Use XShmGetImage for large reads
XShmGetImage is much faster. On my machine, this reduces the CPU usage
of a fullscreen Youtube video playback from 40% to 25%.
pirms 6 gadiem
Peter Åstrand (astrand)
5f4972547d
Use current server time for XUngrabPointer
Similar to 841e9f32d5
but for the
pointer. Fixes a problem where the desktop environment is unresponsive
(to the mouse) after fullscreen exit; Fixes #579 .
pirms 6 gadiem
Peter Åstrand (astrand)
1d296839cf
My copyright was listed twice, fixed
pirms 6 gadiem
Pierre Ossman
7b7b120166
Merge branch 'fatal' of https://github.com/CendioOssman/tigervnc
pirms 6 gadiem
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.
pirms 6 gadiem
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.
pirms 6 gadiem
Pierre Ossman
3b03b43017
Call FatalError on fatal exceptions
pirms 6 gadiem
Brian P. Hinz
88a4541705
Display security state when asking for password (java)
pirms 6 gadiem
Brian P. Hinz
9a9f9f0ec1
Move UserPasswordGetter out of CConn
pirms 6 gadiem
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.
pirms 6 gadiem
Brian P. Hinz
afb812c356
Update package dependencies for Ubuntu Trusty
pirms 6 gadiem
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.
pirms 6 gadiem
Pierre Ossman
ac90e95db4
Merge branch 'pause' of https://github.com/CendioOssman/tigervnc
pirms 6 gadiem
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.
pirms 8 gadiem
Pierre Ossman
da8904cb0a
Add simple slow start to congestion control
pirms 8 gadiem
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.
pirms 8 gadiem
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.
pirms 8 gadiem
Pierre Ossman
707fa123a6
Reduce header dependencies in server classes
pirms 8 gadiem
Pierre Ossman
b2a417c155
Use a queue for congestion pings
This reduces the data sent, and avoids any problems with the
client corrupting it.
pirms 8 gadiem
Pierre Ossman
e0a3ad423d
Handle timers which should be executed right away
pirms 7 gadiem
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.
pirms 6 gadiem
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.
pirms 6 gadiem
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.
pirms 6 gadiem
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.
pirms 6 gadiem
Brian P. Hinz
33d7832b19
Fix "int-in-bool-context" compile errors
pirms 6 gadiem
Brian P. Hinz
1e14a3ee40
Fix compile error on windows when not building with GnuTLS
pirms 6 gadiem
Brian P. Hinz
d8809e334f
Override default window manager key bindings better
pirms 6 gadiem
Brian Hinz
bbbd120172
Merge pull request #500 from bphinz/issue106-rebase
Hook up the "Load X.509 Cert/Key" dialogs in winvnc. Fixes #106
pirms 6 gadiem
Boyuan Yang
84d578edbb
Update Chinese (simplified) translation
pirms 6 gadiem
Brian P. Hinz
4b9b89730d
avoid putting more includes in headers than necessary
pirms 6 gadiem
Brian P. Hinz
cab73385ba
Move gnutls functions into SSecurityTLS
pirms 6 gadiem
Pierre Ossman
8c2a744c23
Handle FLTK arguments at any position
E.g. vncviewer server.example.com:2 -display :2
pirms 6 gadiem
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.
pirms 6 gadiem
Brian P. Hinz
335446d164
Fix build Java errors caused by UTF-8 characters in source comments
See issue #534
pirms 6 gadiem
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.
pirms 6 gadiem
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.
pirms 6 gadiem
Brian P. Hinz
e5b4003bfb
Refactoring and implementation changes to keyboard and mouse handling
See issue #505
pirms 6 gadiem
Brian P. Hinz
d2cc34dd8a
Add formatted string function to LogWriter.
Need to be careful with escapes though.
pirms 6 gadiem
Brian P. Hinz
daa7a5e7e2
Rename CMsgWriter functions to match C++ code
pirms 6 gadiem
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.
pirms 6 gadiem
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.
pirms 6 gadiem
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.
pirms 6 gadiem
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.
pirms 6 gadiem
Pierre Ossman
ce4722f3cd
Move XDesktop specific parameters in to same file
pirms 6 gadiem
Pierre Ossman
e5cdadd6de
Fully standardise on send()/recv()
We already assume sockets here since we use select().
pirms 6 gadiem