Pierre Ossman
c68196700e
Stop unsetting environment variables
These might contain values we want if we are start from a proper
environment.
5 vuotta sitten
Pierre Ossman
df25ae4119
Always install systemd services
It is the most common init system these days so it should not be
hidden in the contrib/ directory.
This also removes all old SysV files from the contrib packages.
6 vuotta sitten
Pierre Ossman
ebaa948e46
Add default configuration files
Install some example files to make things more easily discoverable.
5 vuotta sitten
Pierre Ossman
bb8d82ad3c
Remove old distribution packaging
These are EOL (or soon to be) and we want to start relying on things
present in current distributions.
4 vuotta sitten
Pierre Ossman
bc1fc22df1
Merge branch 'xorg-server-1.20.7' of https://github.com/lheckemann/tigervnc
4 vuotta sitten
Pierre Ossman
1688e8cd57
Fix error check for zlib calls
There are multiple "okay" return values, not just Z_OK. Make sure we
don't bail out needlessly.
4 vuotta sitten
Pierre Ossman
ea85e8b32b
Fix framebuffer setup in encperf
We adapted to the wrong new callback in a previous commit.
4 vuotta sitten
Pierre Ossman
954ad21da2
Provide dummy output for dummy client connections
The CConnection base class wants to be able to write things these days,
so we need to provide it a place to do so.
4 vuotta sitten
Samuel Mannehed
2b45fb3950
Merge pull request #958 from sequencer/env_userpass
Read username and passwrod from env.
4 vuotta sitten
Jiuyang liu
d68c64e669
bug fix for user is NULL
4 vuotta sitten
Jiuyang liu
34435ea135
add man
4 vuotta sitten
Jiuyang liu
38f0d2c389
implement username/password from env.
4 vuotta sitten
Linus Heckemann
920d9c4d65
xserver: add no-op input thread init function
This allows Xvnc to build with xorg-server 1.20.7, which requires OS
layers to implement a ddxInputThreadInit function when configured with
--enable-input-thread (the default).
relevant xorg-server commit: e3f26605d8
4 vuotta sitten
Pierre Ossman
57da16bbcf
Include Carbon when statically linking gettext on macOS
As gettext needs some stuff from Carbon and we don't want to rely on it
being pulled in as a side effect.
4 vuotta sitten
Pierre Ossman
6d39667c42
Update copyright year to 2020
4 vuotta sitten
Pierre Ossman
da89c40be6
Merge branch 'emulateMB' of https://github.com/CendioAlex/tigervnc
4 vuotta sitten
Pierre Ossman
4e58ac18af
Use sys/time.h on Windows as well
Modern MinGW seems to provide this, so simplify things a bit. This also
side steps some of the issue of the windows.h/winsock2.h include
ordering.
4 vuotta sitten
Alex Tanskanen
bab9d1fa18
Add emulated middle mouse button
Not every mouse has three buttons e.g. laptops. Some OS might not
have support for middle mouse button emulation.
This commit adds emulation for middle mouse button when pressing both
left and right mouse button simultaneously.
4 vuotta sitten
Alex Tanskanen
b9b7f68b40
Remove "Dismiss menu" from context menu
This was not necessary since you could use ESC key or simply just
clicking outside of the context menu to close the menu.
4 vuotta sitten
Pierre Ossman
81e114f29f
Allow XK_Scroll_Lock when LED state isn't supported
Otherwise such clients cannot use Scroll Lock at all, and that is
probably worse than any effects we might get from getting out of sync.
4 vuotta sitten
Pierre Ossman
73014910f5
Clean up initialization of DIBSectionBuffer
We had an unintentional conflict with PixelBuffer::setSize() here.
But we can simplify this further as this initialization is only used
by the subclass DeviceFrameBuffer, and only once.
4 vuotta sitten
Pierre Ossman
0f1ded057d
Provide correct dimensions for XShm setup
Since 53f913a
we initialize the underlying PixelBuffer with 0x0
dimensions, which means we need to keep more explicit track of what
we are trying to allocate in the setup methods.
4 vuotta sitten
Pierre Ossman
6208f47dcb
Remove unneeded memory checks
new throws an exception on allocation errors rather than return NULL.
4 vuotta sitten
Pierre Ossman
dbad687182
Fix saving of bad server certificates
This check is completely backwards and it is currently unknown how
this ever worked.
4 vuotta sitten
Brian P. Hinz
5e4957a3d4
el6 build improvements. dependency updates, link order fixes
4 vuotta sitten
Felipe Castro
f580719ffa
Update Esperanto translation
4 vuotta sitten
Pierre Ossman
2cd3cb4816
Set initial blank cursor
If the server doesn't support local cursors and want to render them
itself then we need to make sure the local cursor is invisible.
This also makes sure we always have some cursor allocated, so we can
remove the checks in some places.
4 vuotta sitten
Brian P. Hinz
50c72dccc7
Update source URLs in el6 spec file
4 vuotta sitten
Brian P. Hinz
cc3e2118c9
Remove hard coded source URLs from travis-ci build script
4 vuotta sitten
Brian P. Hinz
efaa81c170
Allow non-interactive installs for bionic (travis-ci)
4 vuotta sitten
Brian P. Hinz
4b1be9de90
Add ubuntu-bionic to travis-ci builds
4 vuotta sitten
Brian P. Hinz
cdd5fabfb5
Make sure travis-ci builds java viewer with latest openjdk 8
4 vuotta sitten
Brian P. Hinz
a356a70652
Mostly stylistic changes to java viewer to match recent changes to native viewer
4 vuotta sitten
Brian P. Hinz
ce04c4c892
Fix travis-ci build scripts broken by c59f195
4 vuotta sitten
Samuel Mannehed
7ccf7faa6b
Fix maximum compress lvl in parameter list
Commit 4e61f8dbc5
fixed the GUI but forgot
to change the other places in the code.
4 vuotta sitten
Samuel Mannehed
c2184f9bf3
Use the correct minimum value for compression lvl
There was even some confusion in the RFB protocol regarding this, but
the zlib implementation confirms that accepted values for compression
level is 0-9.
4 vuotta sitten
Samuel Mannehed
4e61f8dbc5
Use the correct maximum value for compression lvl
The GUI incorrectly noted the max level to be 6 while it in fact is 9.
4 vuotta sitten
Samuel Mannehed
bab2e05e4b
Remove confusing note about compression level
Even if this note is true it just adds confusion.
4 vuotta sitten
Samuel Mannehed
103066e658
Simplify color level descriptions
The number of colors used isn't something the end-users should have to
concern themselves with. I intentionally left the information in the
man-pages.
4 vuotta sitten
Pierre Ossman
d461f7fdb8
Merge branch 'secfix' of https://github.com/CendioOssman/tigervnc
4 vuotta sitten
Brian P. Hinz
c59f195d0e
Remove support for ubuntu trusty since it's been EoL for 6 months
4 vuotta sitten
Pierre Ossman
10c40dbc86
Check the correct stream if there is more data pending
The input stream might no longer be the raw socket, so we need to
query what's currently active. That wrapping stream might have its
own buffering and may have more data even if the socket is drained.
4 vuotta sitten
Pierre Ossman
ec3899ecd1
Handle pending data in TLS buffers
There might be more bytes left in the current TLS record, even if
there is nothing on the underlying stream. Make sure we properly
return this when we aren't being requested to block.
4 vuotta sitten
Pierre Ossman
86f4f47365
Correctly calculate rects with no CopyRect support
The copied rects have already been merged in to the changed rects
at this point if the client doesn't support the CopyRect encoding.
4 vuotta sitten
Pierre Ossman
38fe6d08e1
Don't background the main session command
When used with -fg we expect the startup script to remain running until
the session is over. This will not happen if the session command is put
in the background using &.
4 vuotta sitten
Pierre Ossman
5ef3a70d1d
Fix link order of nettle and hogweed
Hogweed needs nettle, not the other way around. So make sure they
are specified in the correct order for the static link to succeed.
4 vuotta sitten
Balázs Úr
47c7de6008
Update Hungarian translation
4 vuotta sitten
JiYoon Kwon
36454cfa88
Add Korean translation
4 vuotta sitten
Brian P. Hinz
b44b0d63c5
Use openjdk-8 to build java viewer for bionic
4 vuotta sitten
Brian P. Hinz
03520befcd
Update build deps for Ubuntu Bionic packages
4 vuotta sitten