Pierre Ossman
ead143f763
Merge branch 'multisocket-rebased' of https://github.com/twaugh/tigervnc
2015-03-17 12:51:31 +01:00
Tim Waugh
892d10a705
Fixed IPv6 support.
...
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.
2015-03-13 16:19:50 +00:00
Pierre Ossman
d1cb31f436
Merge branch 'upreqs' of https://github.com/CendioOssman/tigervnc
...
Conflicts:
contrib/packages/rpm/el5/SPECS/tigervnc.spec
vncviewer/Viewport.cxx
2015-03-12 11:15:32 +01:00
Pierre Ossman
25ae7e3578
Handler still needs to return something even with XDamage
2015-03-03 16:45:18 +01:00
Pierre Ossman
8f30811bfe
No need to force modifiable strings here
2015-03-03 16:45:02 +01:00
Pierre Ossman
8a044ee41e
Pointer truncation/expansion needs to be very explicit
2015-03-03 16:44:30 +01:00
Pierre Ossman
7728be27d0
Add extra parentheses to avoid and/or priority ambiguity
2015-03-03 16:39:37 +01:00
Tim Waugh
2d02ff32b7
Link libvnc.so with '-z now' to make symbol resolution failures obvious.
2015-02-26 14:30:01 +00:00
Pierre Ossman
c67778faf6
Merge branch 'cmdline-crash' of https://github.com/twaugh/tigervnc
2015-02-26 14:18:49 +01:00
Tim Waugh
897fc0ae9d
Check for out-of-memory when installing color map.
...
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).
2015-02-25 17:19:45 +00:00
Tim Waugh
242fdf0c5a
Updated to build against xorg-x11-server 1.17.x.
2015-02-25 12:15:31 +00:00
Tim Waugh
e652878d4a
Don't return without value here.
...
In particular, return 0 as this is a failure.
2015-02-25 11:27:19 +00:00
Pierre Ossman
c134168be9
Update copyright years
2015-02-20 17:12:57 +01:00
Tim Waugh
b904483a51
Abort argument processing on error.
...
This prevents e.g. 'Xvnc -screen x' crashing.
2015-02-18 14:56:40 +00:00
Brian P. Hinz
86299fbc2b
Fixes for build issues caused by recent restructuring
...
* Add typedef for XF86OptionPtr for Xorg < 112
* Include stddef.h to prevent missing size_t definition errors
* Workaround for libtool convenience library issue
2015-02-04 21:28:18 -05:00
Pierre Ossman
4e3e79dc7d
Make the calls to va_list logging functions more explicit
...
On some platforms va_list might be defined as something that causes
ambiguity and results in the wrong function being called.
2015-01-30 16:09:08 +01:00
Pierre Ossman
6d0b3eaec2
Avoid shadowing variables
2015-01-29 10:25:00 +01:00
Pierre Ossman
5fb5b8ad1c
ddxInitGlobals() was removed from Xorg ages ago
2015-01-29 10:24:41 +01:00
Pierre Ossman
595aedc9bd
ddxBeforeReset() is only conditionally included in the build
2015-01-29 10:24:20 +01:00
Pierre Ossman
37e5af91ca
Properly define functions as not having any arguments
2015-01-29 10:23:40 +01:00
Pierre Ossman
8081ba507d
Remove declaration for variable already present in headers
2015-01-29 10:22:32 +01:00
Pierre Ossman
614a121de7
Make sure we get prototypes for global DDX functions
2015-01-29 10:22:00 +01:00
Pierre Ossman
9d9d1409f4
Avoid complaints about unused variable in argument less requests
...
The REQUEST macro is used to access variables in the request data,
and if we don't then the compiler complains that the macro sets up
variables that we never use.
2015-01-29 10:20:18 +01:00
Pierre Ossman
dfe455ce18
No need to cast these as they are already an appropriate type
2015-01-29 10:19:49 +01:00
Pierre Ossman
a916108f52
Declare variables at the start of each block, as required
2015-01-29 10:19:02 +01:00
Pierre Ossman
5a3c39a9a0
Use proper prototypes in headers for all our internal functions
2015-01-29 10:16:49 +01:00
Pierre Ossman
b9216b37ad
Restructure code a bit to avoid warning about unused variable
2015-01-29 10:14:57 +01:00
Pierre Ossman
31fa98b319
Remove code supporting Xorg older than 1.7
2015-01-29 09:28:48 +01:00
Pierre Ossman
04d288cd57
Move build-xorg to contrib as it is not a maintained component
2015-01-27 16:50:59 +01:00
Pierre Ossman
6330d1465c
Raise base Xorg requirement to 1.7
...
We're not testing or maintaining anything older than that.
2015-01-27 16:46:06 +01:00
Pierre Ossman
9018af44da
More debug logging for screen layout changes
2015-01-26 15:15:47 +01:00
Pierre Ossman
f8e3b34c69
Restructure Xvnc/libvnc.so code to avoid C++ header hacks
...
The internal Xorg headers are very incompatible with C++ and we've had
to resort to all kinds of hacks in order to include them in our C++
code. This approach isn't really viable long term so restructure things
so that we have a glue layer written in C that bridges the Xorg core
with the RFB classes.
2015-01-26 15:14:33 +01:00
Pierre Ossman
be2d450f40
Band aid to work around inluding C headers in C++ code
2014-12-12 11:31:46 +01:00
Pierre Ossman
4e7a54c4a7
Merge branch 'readonlypassword' of https://github.com/michalsrb/tigervnc into viewonly
2014-12-02 12:59:53 +01:00
Pierre Ossman
532e4e364f
Change development version to 1.4.80
...
The 1.4 branch is now live, so change the version number of the
development builds.
2014-11-19 14:19:30 +01:00
Michal Srb
dbf6355cbb
vncpasswd: Ask for read only password.
...
Ask for optional second password that is used for read only access. Save it
after the main password. This is same format as tightvnc uses.
2014-11-10 17:36:48 +02:00
Pierre Ossman
42c379ef3c
Link basic X11 libraries last
...
The extension libraries might depend on libXext or libX11, so
make sure they come last on the link line.
2014-10-17 13:50:12 +02:00
Pierre Ossman
e83b14a0e0
Make sure we check failed memory allocations
2014-10-10 13:32:31 +02:00
Brian P. Hinz
7f3e4bd0bf
Fix pointer initialization to prevent NULL events.
...
Moved call to initEventq() into InitInputDevice() to prevent NULL events from being passed in. The surrounding IFDEF explains why Red Hat BZ bug #820443 just went away, EL6 bumped the version of xorg-x11-server-source to 1.13 at EL6.4.
2014-09-29 19:47:25 -04:00
Brian P. Hinz
bf880361b2
Applying xserver115.patch fails on Ubuntu xorg-server source at hunk 2. Wayland was not merged into the Xorg tree until 1.16
2014-09-19 00:41:24 -04:00
Pierre Ossman
3d2a84b9ea
Correct naming convention for some parameters
2014-09-17 16:49:39 +02:00
Pierre Ossman
0f15ee3b54
Remove unused VideoArea parameter
2014-09-17 16:36:25 +02:00
Pierre Ossman
23f67c3e28
Avoid extra spacing in the generated man pages
2014-09-17 16:28:56 +02:00
Pierre Ossman
de0f832a05
Update server man pages to reflect current list of options
2014-09-17 15:43:14 +02:00
Pierre Ossman
c16bb27836
Document the -list argument to vncserver
2014-09-17 14:18:31 +02:00
Pierre Ossman
f256a1a7f4
Remove the date from man pages
...
It's not something we're keeping up to date anyway.
2014-09-17 14:09:58 +02:00
Pierre Ossman
e37a14408a
Clean up the authors section of the man pages
2014-09-17 14:08:16 +02:00
Tim Waugh
9e3dcea788
Added missing part of write block handler.
...
https://bugzilla.redhat.com/show_bug.cgi?id=1137023
2014-09-09 14:40:17 +01:00
Tim Waugh
6f92b79cd3
Fix linking when dri3 and present are enabled.
2014-09-04 16:25:12 +01:00
Tim Waugh
8ee097a616
No need to declare 'display' here either.
2014-09-04 14:35:05 +01:00