Pierre Ossman
fecf0a4c79
Replace "frames" with "updates" in stats
The VNC servers aren't great at getting full frames with each update,
so avoid calling it "frames per second" in the statistics as that
can be misleading.
6 years ago
Brian P. Hinz
cde71374d3
Set focus to password field in UserDialog
Fixes issue #616
6 years ago
Pierre Ossman
7cc9f6ad07
Merge branch 'altgraph' of https://github.com/CendioOssman/tigervnc
6 years ago
Pierre Ossman
19e0754036
Update keyboard test doc for shift on Windows
Shift key handling was improved in 30b3f92, but the test documentation
wasn't updated.
6 years ago
Pierre Ossman
69428fe6e8
Handle Ctrl+AltGr on Windows
Improve AltGr detection even further on Windows so we can detect the
case when Ctrl and AltGr are pressed together.
6 years ago
Pierre Ossman
5124978b10
Better detection of AltGr on Windows
Try to properly detect the fake CtrlL+AltR sequence Windows sends
when pressing AltGr. This allows us to send more accurate key
events over to the server.
6 years ago
Andika Triwidada
0e1376bea4
Add Indonesian translation
6 years ago
Pierre Ossman
07580a86a5
Fix indentation in XDesktop.cxx
It wasn't properly updated in 3112f50
when it was split off from
x0vncserver.cxx.
6 years ago
Michal Srb
18a77077de
Unset pixel buffer when x0vncserver client disconnects.
In XDesktop::start() we allocate pixel buffer and set it as the backend to the given VNCServer.
In XDesktop::stop() we deallocate the buffer, so we must unset it from the VNCServer as well.
Otherwise the VNCServer could try to access it and crash, for example in deferred update.
6 years ago
Michal Srb
28d570dc91
VNCServerST: Allow unsetting pixel buffer.
Originally calling VNCServertST::setPixelBuffer(PixelBuffer* pb_) with pb_=0 would do nothing.
With this change pb will be set to 0 and deferred update timer will be stopped.
6 years ago
Pierre Ossman
816baa35ae
Fix rounding error in pixel down conversion
Simple shifting can give noticable rounding errors if there is a large
difference in the number of bits between the formats. Do the proper
thing via a lookup table, the same way things are done for up conversion.
6 years ago
Pierre Ossman
e6810fa3e5
Fix calculation of conversion test target values
Bit shifting gives an approximate, but not properly accurate value
when upconverting. Do a proper calculation.
6 years ago
Pierre Ossman
7450a6fe11
Check for TrueColor support in x0vncserver
Colour map support was removed in b6b4dc6, but x0vncserver didn't
properly check if the X server required it.
6 years ago
Pierre Ossman
b7b733a141
Merge branch 'escape-opts' of https://github.com/olivergondza/tigervnc
6 years ago
Pierre Ossman
0768d104ae
Merge branch 'congestion' of https://github.com/CendioOssman/tigervnc
6 years ago
Pierre Ossman
52d3edb13a
Fix incorrect numbers in performance debug graph
Copy paste errors/brain fart:
- Pixels do not need a factor 8 for any conversion
- Multiplying bytes by 8 gives bits, so lower case 'b', and bits
use SI prefixes, not IEC
6 years ago
Oliver Gondža
2d614c0fb4
Make sure auth argument is escaped
6 years ago
Samuel Mannehed
518698a28c
Update visible copyright year to 2018
6 years ago
Pierre Ossman
8f652339cd
Fix for RENDER hooks on Xorg < 1.12
TriFan and TriStrip were added in 1.12, so we need to have that code
conditional to support older versions of Xorg.
6 years ago
Pierre Ossman
cf661bff54
Add overlooked parameters to Xvnc and x0vncserver man pages
There were a bunch of parameters that weren't properly added to the
man pages when the features were added. Make sure everything is
properly in sync.
6 years ago
Pierre Ossman
8ddfd940fe
Sync x0vncserver and Xvnc man pages
They share a lot of settings, so make sure the documentation is
identical in those cases.
6 years ago
Pierre Ossman
37242ccf6d
Remove DeferUpdate from man pages
The funcationality was removed in 6e49e95, so let's also clean up
the documentation referring to it.
6 years ago
Pierre Ossman
82179521fe
Merge branch 'readme-rst' of https://github.com/x11clone/x11clone
6 years ago
Peter Åstrand (astrand)
6011f96cdc
Rename README.txt to README.rst and convert to reStructuredText
6 years ago
Francisco Javier Serrador
51f7668605
Update Spanish translation
6 years ago
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.
6 years ago
Pierre Ossman
2922e74970
Hook remaining XRender operations
We had overlooked a few so we didn't track all screen changes properly.
6 years ago
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.
6 years ago
Brian P. Hinz
de4db73353
Restore menukey function to java viewer
Menukey was broken by recent refactoring of OptionsDialog
6 years ago
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.
6 years ago
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%.
6 years ago
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 .
6 years ago
Peter Åstrand (astrand)
1d296839cf
My copyright was listed twice, fixed
6 years ago
Pierre Ossman
7b7b120166
Merge branch 'fatal' of https://github.com/CendioOssman/tigervnc
6 years ago
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