| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
GetMaster() wasn't exported until Xorg 1.18 so it is unsafe to use
from libvnc.so for older versions.
|
|
|
|
| |
xserver118.patch is identical to xserver117.patch by content.
|
| |
|
|
|
|
| |
Allows to specify which configuration parameters can be modified on runtime.
|
| |
|
|
|
|
|
|
| |
The check for visible drawables didn't account for compositing
which can place a window off-screen. Put all of these checks in
a common place and make sure it detects things properly.
|
|
|
|
|
|
| |
The previous detection would fail if the socket closed before we
had time to inspect it, which got us stuck in a loop as we would
try (and fail) to do accept() on a non-listening socket.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Xvnc does not understand -i as an alias to -interface anymore (since commit f8e3b34c69)
but it is still listed in the man page.
Fix man accordingly
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Commit f8e3b34 introduced a regression where the fallback write block
handler would cease working after the first time it was called,
potentially stalling writes.
|
|
|
|
|
| |
REGION_INIT() does not handle an empty or invalid BoxRec, so this
method makes sure we don't feed bad rects further in to the process.
|
|
|
|
| |
They should never have been global symbols to begin with.
|
|
|
|
|
| |
It's been in the Xorg code base for ages. Any version that lacks it is
too old for the rest of our code to work anyway.
|
|
|
|
|
|
| |
Starting Xvnc without having any VNC functionality is pretty much
pointless. So terminate when that happens, making the situation easier
to detect for startup scripts.
|
|
|
|
|
| |
Patch by Jay Kulpinski. Prevents -inetd mode from automatically
finding a free X11 display number.
|
|
|
|
|
|
|
|
|
|
| |
Desktop environments like to change to the monitor's preferred
mode, especially at login. Lacking one, they pick the highest
resolution they can find. This tends to override what the user
has picked, so try to work around the desktop environments by
setting the preferred mode to what the user has chosen.
Credit goes to Michal Srb who figured out the problem.
|
| |
|
|
|
|
|
|
| |
We cannot handle a reset properly right now and are forced to terminate
instead. Avoid surprising people with a dying Xvnc by changing the default
to -noreset.
|
|\ \ |
|
| | | |
|
| |/
| |
| |
| |
| | |
VNC prevents X server restarting even when -reset is explicitly given. Print
out message with explanation and terminate instead.
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The TcpListener constructor now takes a 'struct sockaddr*' instead of
a string, and the createTcpListeners function creates TcpListener
instances for an address based on the results from getaddrinfo().
The XserverDesktop class now takes a list of TcpListener instances for
each of the RFB and HTTP sockets.
The TcpListener::closeFd member variable is not used and has been
removed.
|
|\ \
| |/
|/|
| |
| |
| | |
Conflicts:
contrib/packages/rpm/el5/SPECS/tigervnc.spec
vncviewer/Viewport.cxx
|
| | |
|
| |
| |
| |
| | |
We're not testing or maintaining anything older than that.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
In particular, return 0 as this is a failure.
|
| | |
| | |
| | |
| | | |
This prevents e.g. 'Xvnc -screen x' crashing.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also remove Xalloc/Xfree definitions, using malloc/free directly
instead. Note that vfbAllocateFramebufferMemory() does not need to
check for failed allocations as it is the caller's responsibility to
do so (and they do).
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
* Add typedef for XF86OptionPtr for Xorg < 112
* Include stddef.h to prevent missing size_t definition errors
* Workaround for libtool convenience library issue
|
| |
| |
| |
| |
| | |
On some platforms va_list might be defined as something that causes
ambiguity and results in the wrong function being called.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|