Pierre Ossman
32b96ffec1
Change to https for tigervnc URL
Our main web site now supports https, so update all references.
5 years ago
Pierre Ossman
4a4453fc69
Remove Java web server
Applets don't work anymore so remove everything that has to do
with serving them.
5 years ago
Pierre Ossman
35cc8d53f9
Interpret Meta as Alt
Shift+Alt often generates Meta on Unix systems. Assume this is the
same thing as Alt on Windows.
5 years ago
Pierre Ossman
8ee522a66e
Catch exceptions by reference
We use polymorphic exception objects, so catching by value invokes
the copy constructor and stuff that we don't really want.
6 years ago
Pierre Ossman
e3a2be69c4
Use abstract SocketListener class
Makes the code more general and not directly tied to specifically
TCP sockets.
6 years ago
Peter Åstrand (astrand)
454ed79428
Fix another compile error on Windows when not building with GnuTLS
6 years ago
Samuel Mannehed
518698a28c
Update visible copyright year to 2018
6 years ago
Peter Åstrand (astrand)
6011f96cdc
Rename README.txt to README.rst and convert to reStructuredText
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
Brian P. Hinz
1e14a3ee40
Fix compile error on windows when not building with GnuTLS
6 years ago
Brian P. Hinz
cab73385ba
Move gnutls functions into SSecurityTLS
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
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
Peter Åstrand (astrand)
90afb1c20c
Configuration::listParams wants width/nameWidth; not ConfigurationObject
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
Rahul Kale
7423417f7a
rfb_win32: Use scan codes if available
If scan codes are available using QEMU Extended Keyboard Messages
from clients, use that to inject scancodes directly into the
system using the SendInput API.
No conversion is needed as Windows uses the same scancode encoding.
Signed-off-by: Rahul Kale <Rahul.Kale@barco.com>
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
7 years ago
Pierre Ossman
5ae282135f
Basic support for QEMU Extended Key Events
This adds the basic infrastructure and handshake for the QEMU
Extended Key Events extension. No viewer or server makes use of
the extra functionality yet though.
7 years ago
Rahul Kale
c719e4a0c9
rfb_win32: Add support for LED state notifications
LED support added using Windows GetKeyState() API call.
The state is polled for change in CapsLock/NumLock/ScrollLock
status in the same code block where chages to Cursor shape is polled.
Signed-off-by: Rahul Kale <Rahul.Kale@barco.com>
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
7 years ago
Brian P. Hinz
6a7f9082fd
Hook up the "Load X.509 Cert/Key" dialogs in winvnc
6 years ago
Samuel Mannehed
8e5a29e4b2
Update visible copyright year to 2017
7 years ago
Pierre Ossman
6a1a0d0c57
Change cursor API to use RGBA data
This will allow us to use better formats that preserve the entire
alpha channel.
7 years ago
klemens
0536d0975b
spelling fixes
7 years ago
Pierre Ossman
c7860c2cb6
Don't fail old service cleanup
7 years ago
Pierre Ossman
338e73aef8
Replace Windows specific thread handling
Use the platform independent primitives instead.
8 years ago
Pierre Ossman
ed92079eb6
Clean up old WinVNC services
We've changed the service name a couple of times for various
reasons. Make sure the old versions are removed when the new one
is registered.
8 years ago
Pierre Ossman
4e7d05c992
Don't reference Xregion unless used directly
8 years ago
Pierre Ossman
3a177d7aea
Specify TigerVNC Project as the vendor/company
8 years ago
Pierre Ossman
d408ca5146
Move socket write event handling in to the RFB core
What to do when a socket is writeable should be handled in the
RFB core code as there may be other events we want to fire off
when this happens.
8 years ago
Bojan Memetovic
fa937783d7
change the Copyright year
8 years ago
Pierre Ossman
fc08bee5af
Remove legacy Windows code
We have lots of code that deals with Windows versions that we no
longer support anyway. Clean out all of this old cruft.
8 years ago
Pierre Ossman
4ab1e5d4b5
Remove stub mirror driver code
We don't have any meaningful code for the mirror driver, so
remove the confusing stub and interface for it.
8 years ago
Pierre Ossman
526b3802b4
Shorten service identifier
The identifier is used to compute the registry path, and should
ideally be kept short and without spaces.
8 years ago
Pierre Ossman
018c67e6e1
Provide description for services
The argument named "desc" was not actually the description, but
rather the short "display name". Add handling for the actual
description to reduce confusion.
8 years ago
Pierre Ossman
6a2b6bf396
Enable Windows specific debug code in debug builds
8 years ago
Pierre Ossman
023df7effb
Use correct type for format string
8 years ago
Pierre Ossman
eab85bca5e
Clean up listening sockets on error
8 years ago
Pierre Ossman
f7aa3f9bd3
Return TcpListener pointers rather than objects
It is easier to control object life time and avoid magical socket
duplication by having a single TcpListener object to pass around.
We have to be more careful about deleting the object though.
8 years ago
Pierre Ossman
cd87317f6d
Show error dialog when ACL pattern isn't accepted
8 years ago
Pierre Ossman
14e214f10b
Change netmask to prefix in ACL documentation
The IPv6 additions deprecated support for netmasks in the access
control lists. Unfortunately some documentation was not updated
to reflect this fact.
8 years ago
Pierre Ossman
a9af1f1246
Fix some bad signed/unsigned mismatches
9 years ago
Pierre Ossman
bc84faa2f3
Improve TigerVNC branding in WinVNC
Avoids conflicts with the original RealVNC implementation, or any
other forks of that code.
9 years ago
Pierre Ossman
acd195d949
Remove debug log noise from Windows dialog class
9 years ago
Pierre Ossman
5b90c5fbf7
Convert WinVNC to the new TcpListener API
9 years ago
Pierre Ossman
a56bc86e1b
winsock2.h must always be included before windows.h
9 years ago
Pierre Ossman
79f82f95c1
Local address change events are not socket specific
9 years ago
Pierre Ossman
57cab51d83
Resurrect TcpListener::getMyAddresses()
It is needed by WinVNC, but got removed in 892d10a70
. Also fix
a couple of issues:
- Use getnameinfo() in order to be compatible with Windows XP
- Make it static since it doesn't use a specific socket
- Respect UseIPv4 and UseIPv6
- Flags for getaddrinfo() that match binding code
- Dummy service value for Windows compatibility
9 years ago
Pierre Ossman
cd5c82a655
Fix unsafe format strings to the logging functions
9 years ago
Pierre Ossman
b0a8047bba
Don't shove a pointer into a 32-bit variable
9 years ago
Pierre Ossman
6e538b4020
Fix bad initialiser lists
9 years ago
Pierre Ossman
4c33d0bd98
Compiler doesn't like us not checking return values here
9 years ago