Pierre Ossman
d06906db59
Use display polling by default in WinVNC
Window hooks aren't working well on modern systems so switch the
default to polling until we can fix things.
il y a 4 ans
Pierre Ossman
5fbbe10b6c
Use UTF-8 in clipboard API
In prepartion for better clipboard extensions that can send Unicode
data between the client and server.
il y a 5 ans
Pierre Ossman
615d16bd5b
Improved clipboard API
Change the internal clipboard API to use a request based model in
order to be prepared for more advanced clipboard transfers.
il y a 5 ans
Pierre Ossman
66f1db543b
Clean up internal clipboard handling
We now filter incoming data, which means we can start assuming the
clipboard data is always null terminated. This allows us to clean
up a lot of the internal handling.
il y a 5 ans
Pierre Ossman
546b2ad80a
Make sure clipboard uses \n line endings
This is required by the protocol so we should make sure it is
enforced. We are tolerant of clients that violate this though and
convert incoming clipboard data.
il y a 5 ans
Pierre Ossman
78bdd1700c
Add missing throws for exception
It is not enough to create an exception object, you need to throw
it as well.
il y a 5 ans
Pierre Ossman
a4308c9ec4
Get rid of SocketServer::checkTimeouts()
It doesn't belong on each socket server object as timers are global.
Force implementations to call the Timer system directly instead,
avoiding any middle men.
il y a 5 ans
Pierre Ossman
10688efcf7
Properly terminate server on timeouts
Do a proper cleanup when one of the termination timeouts trigger
rather than just exiting on the spot. This makes sure we don't leave
stray stuff around, e.g. unix socket files.
il y a 5 ans
Pierre Ossman
025326dd94
Move ListConnInfo to WinVNC directory
It is functionality specific to WinVNC, so move the code there
to make things more clear.
il y a 5 ans
Pierre Ossman
eef6c9ad83
Remove QueryConnectionHandler
Make things simpler by making this a part of the SDesktop interface
that always needs to be implemented.
il y a 5 ans
Pierre Ossman
4a4453fc69
Remove Java web server
Applets don't work anymore so remove everything that has to do
with serving them.
il y a 5 ans
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.
il y a 5 ans
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.
il y a 6 ans
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.
il y a 6 ans
Brian P. Hinz
1e14a3ee40
Fix compile error on windows when not building with GnuTLS
il y a 6 ans
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.
il y a 6 ans
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.
il y a 6 ans
Pierre Ossman
b000ff1327
Get rid of getFbSize()/getDesktopSize() in common
It was only used by WinVNC, so push it there instead.
il y a 6 ans
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>
il y a 7 ans
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.
il y a 7 ans
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>
il y a 7 ans
Pierre Ossman
6a1a0d0c57
Change cursor API to use RGBA data
This will allow us to use better formats that preserve the entire
alpha channel.
il y a 7 ans
klemens
0536d0975b
spelling fixes
il y a 7 ans
Pierre Ossman
338e73aef8
Replace Windows specific thread handling
Use the platform independent primitives instead.
il y a 8 ans
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.
il y a 8 ans
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.
il y a 8 ans
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.
il y a 8 ans
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.
il y a 8 ans
Pierre Ossman
023df7effb
Use correct type for format string
il y a 8 ans
Pierre Ossman
a9af1f1246
Fix some bad signed/unsigned mismatches
il y a 9 ans
Pierre Ossman
acd195d949
Remove debug log noise from Windows dialog class
il y a 9 ans
Pierre Ossman
79f82f95c1
Local address change events are not socket specific
il y a 9 ans
Pierre Ossman
6e538b4020
Fix bad initialiser lists
il y a 9 ans
Pierre Ossman
4c33d0bd98
Compiler doesn't like us not checking return values here
il y a 9 ans
Pierre Ossman
e67bb2dfbb
Compiler doesn't like referencing unset variables
il y a 9 ans
Pierre Ossman
40e3ceb007
LPARAM and WPARAM have different types on Win32 and Win64
Solve it by casting to the larger of the two, i.e. 64-bit.
il y a 9 ans
Pierre Ossman
8a044ee41e
Pointer truncation/expansion needs to be very explicit
il y a 9 ans
Pierre Ossman
7728be27d0
Add extra parentheses to avoid and/or priority ambiguity
il y a 9 ans
Pierre Ossman
fb450fba5d
Fix mismatches between format string and arguments
il y a 9 ans
Pierre Ossman
5c23b9ed7d
Fix bad signed/unsigned comparisons
Either by casting, or switching to a more appropriate type
for the variable.
il y a 9 ans
Pierre Ossman
a32040d7c9
Provide a better R/W base PixelBuffer class
Clearly separates the read API from the write API
and also from actual implementation.
il y a 10 ans
Pierre Ossman
2e5a106083
Get rid of getStride()
It was confusing and not properly used everywhere.
Callers should use the stride they get when they get
the buffer pointer.
il y a 10 ans
Pierre Ossman
ff9eb5a949
Get rid of the direct access abuse of FullFramePixelBuffer's data
il y a 10 ans
Pierre Ossman
b6b4dc6487
Remove full support for colour maps
Gets rid of a loooot of code and complexity.
Colour map clients are still supported through an
automatically generated map, but we lose the ability to
develop a client or server that uses colour maps
internally.
il y a 10 ans
Pierre Ossman
890c10118c
Remove remnants of Windows only client
il y a 10 ans
Pierre Ossman
4d0bc6e7ca
Fix some offenders that poke around in the PixelFormat internals
il y a 10 ans
Pierre Ossman
9fe3479104
Remove the scaled pixel buffer classes as they are not used.
There were also reports of them being broken last time we still
made use of them.
il y a 10 ans
Samuel Mannehed
65c9858dbc
Removes VeNCrypt-checkbox from the security page in the WinVNC options. Fixes bug #142.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5159 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 10 ans
Samuel Mannehed
60c419320d
Make WinVNC service mode work on Windows Vista and beyond.
Patch by Jochen Tucht, fixes bug 135.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5158 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 10 ans
Pierre Ossman
ad8609a2ed
Fix unsafe usage of the logging functions.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 12 ans