aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Start the sessions using xinitPierre Ossman2020-03-122-88/+20
| | | | | | | | | | It keeps much better track of the X server and startup files than we can do.
| * Make vncserver always run in the foregroundPierre Ossman2020-03-122-204/+8
| | | | | | | | | | | | We need to be started as a system service for things to work correctly anyway, so delegate the work of starting and stopping things to the system service manager (e.g. systemd).
| * Start sessions using session desktop filePierre Ossman2020-03-122-88/+126
| | | | | | | | | | This is how display managers (e.g. gdm or lightdm) start sessions and is necessary to get the proper set of environment variables.
| * Don't create a default user configPierre Ossman2020-03-121-20/+0
| | | | | | | | | | We don't want to create files in the users home directory unless we have to. Users can read about how this file works in our man pages.
| * Don't accept arbitrary arguments to vncserverPierre Ossman2020-03-123-244/+19
| | | | | | | | | | We now have config files for more fine grained control of these things, so avoid duplicating the functionality.
| * Stop unsetting environment variablesPierre Ossman2020-03-121-2/+0
| | | | | | | | | | These might contain values we want if we are start from a proper environment.
| * Always install systemd servicesPierre Ossman2020-03-1212-292/+16
| | | | | | | | | | | | | | 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.
| * Add default configuration filesPierre Ossman2020-03-1210-6/+43
| | | | | | | | Install some example files to make things more easily discoverable.
| * Remove old distribution packagingPierre Ossman2020-03-1124-6834/+0
| | | | | | | | | | These are EOL (or soon to be) and we want to start relying on things present in current distributions.
* | Do maximize more properly on macOSPierre Ossman2020-03-263-7/+9
| |
* | Don't resize viewer window when maximizedPierre Ossman2020-03-263-1/+47
| | | | | | | | | | Most window managers won't like this, and it tends to provoke bugs in FLTK, so let's avoid it. It's probably not what the user wants anyway.
* | Include error code in getaddrinfo() exceptionsPierre Ossman2020-03-261-1/+10
| |
* | Avoid using insecure variable length arraysPierre Ossman2020-03-261-1/+2
| |
* | Merge branch 'unicode_translation' of https://github.com/CendioAlex/tigervncPierre Ossman2020-03-173-35/+38
|\ \ | |/ |/|
| * Throw GAIException() for getaddrinfo errorsAlex Tanskanen2020-03-173-8/+28
| | | | | | | | | | | | | | | | Created a new subclass of Exception called GAIException() that will handle error messages from getaddrinfo() instead of letting Exception() handle it. GAIException() will make use of gai_strerror() to map the error code to text. On Windows, gai_strerrorW() must be used if the text is encoded with UTF-8.
| * Fix typo in SocketException messageAlex Tanskanen2020-03-121-1/+1
| |
| * Make system error messeges in Windows 10 use UTF-8Alex Tanskanen2020-03-121-26/+9
| | | | | | | | | | | | The previous error messages did not support Unicode characters. This commit will use UTF-8 encoding to be able to display error messages in every language.
* | Merge branch 'xorg-server-1.20.7' of https://github.com/lheckemann/tigervncPierre Ossman2020-02-271-0/+9
|\ \
| * | xserver: add no-op input thread init functionLinus Heckemann2020-02-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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: e3f26605d85d987da434640f52646d728f1fe919
* | | Fix error check for zlib callsPierre Ossman2020-02-272-3/+3
| | | | | | | | | | | | | | | There are multiple "okay" return values, not just Z_OK. Make sure we don't bail out needlessly.
* | | Fix framebuffer setup in encperfPierre Ossman2020-02-271-2/+3
| | | | | | | | | | | | We adapted to the wrong new callback in a previous commit.
* | | Provide dummy output for dummy client connectionsPierre Ossman2020-02-272-2/+54
| |/ |/| | | | | | | The CConnection base class wants to be able to write things these days, so we need to provide it a place to do so.
* | Merge pull request #958 from sequencer/env_userpassSamuel Mannehed2020-02-142-1/+15
|\ \ | |/ |/| Read username and passwrod from env.
| * bug fix for user is NULLJiuyang liu2020-02-101-1/+1
| |
| * add manJiuyang liu2020-02-101-1/+2
| |
| * implement username/password from env.Jiuyang liu2020-02-061-0/+13
|/
* Include Carbon when statically linking gettext on macOSPierre Ossman2020-01-301-0/+3
| | | | | As gettext needs some stuff from Carbon and we don't want to rely on it being pulled in as a side effect.
* Update copyright year to 2020Pierre Ossman2020-01-168-8/+8
|
* Merge branch 'emulateMB' of https://github.com/CendioAlex/tigervncPierre Ossman2020-01-1610-17/+384
|\
| * Add emulated middle mouse buttonAlex Tanskanen2020-01-1610-17/+384
| | | | | | | | | | | | | | | | 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.
* | Use sys/time.h on Windows as wellPierre Ossman2020-01-161-4/+0
|/ | | | | | 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.
* Remove "Dismiss menu" from context menuAlex Tanskanen2020-01-091-8/+2
| | | | | This was not necessary since you could use ESC key or simply just clicking outside of the context menu to close the menu.
* Allow XK_Scroll_Lock when LED state isn't supportedPierre Ossman2020-01-032-10/+2
| | | | | 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.
* Clean up initialization of DIBSectionBufferPierre Ossman2020-01-034-35/+8
| | | | | | 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.
* Provide correct dimensions for XShm setupPierre Ossman2019-12-302-4/+4
| | | | | | 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.
* Remove unneeded memory checksPierre Ossman2019-12-301-4/+0
| | | | new throws an exception on allocation errors rather than return NULL.
* Fix saving of bad server certificatesPierre Ossman2019-12-301-2/+3
| | | | | This check is completely backwards and it is currently unknown how this ever worked.
* el6 build improvements. dependency updates, link order fixesBrian P. Hinz2019-12-281-29/+23
|
* Update Esperanto translationFelipe Castro2019-12-271-104/+104
|
* Set initial blank cursorPierre Ossman2019-12-231-3/+6
| | | | | | | | 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.
* Update source URLs in el6 spec fileBrian P. Hinz2019-12-221-4/+4
|
* Remove hard coded source URLs from travis-ci build scriptBrian P. Hinz2019-12-221-6/+4
|
* Allow non-interactive installs for bionic (travis-ci)Brian P. Hinz2019-12-211-0/+2
|
* Add ubuntu-bionic to travis-ci buildsBrian P. Hinz2019-12-213-0/+66
|
* Make sure travis-ci builds java viewer with latest openjdk 8Brian P. Hinz2019-12-211-2/+6
|
* Mostly stylistic changes to java viewer to match recent changes to native viewerBrian P. Hinz2019-12-2115-76/+129
|
* Fix travis-ci build scripts broken by c59f195Brian P. Hinz2019-12-213-79/+3
|
* Fix maximum compress lvl in parameter listSamuel Mannehed2019-12-203-3/+3
| | | | | Commit 4e61f8dbc51f83b1d71319b763fbd4d916d13e98 fixed the GUI but forgot to change the other places in the code.
* Use the correct minimum value for compression lvlSamuel Mannehed2019-12-202-2/+2
| | | | | | 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.
* Use the correct maximum value for compression lvlSamuel Mannehed2019-12-202-2/+2
| | | | The GUI incorrectly noted the max level to be 6 while it in fact is 9.