Skip to content

Commit 9455b83

Browse files
committed
Merge branch 'master' into multicastvnc
2 parents 28b8b9a + 38fd347 commit 9455b83

233 files changed

Lines changed: 6039 additions & 95588 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.appveyor.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ install:
1919
- cmake .
2020
- cmake --build .
2121
- cd ..
22+
# libJPEG
23+
- curl -fsSL -o libjpeg.tar.gz https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.4.tar.gz
24+
- tar xzf libjpeg.tar.gz
25+
- move libjpeg-turbo-2.0.4 libjpeg
26+
- cd libjpeg
27+
- cmake .
28+
- cmake --build .
29+
- cd ..
2230
# libPNG
2331
- curl -fsSL -o libpng.tar.gz http://prdownloads.sourceforge.net/libpng/libpng-1.6.28.tar.gz?download
2432
- 7z x libpng.tar.gz -so | 7z x -si -ttar > nul
@@ -37,7 +45,7 @@ install:
3745
- msbuild /p:Configuration=Release db_dll.vcxproj
3846
- cd ..\..
3947
# Cyrus SASL
40-
- curl -fsSL -o cyrus-sasl-2.1.26.tar.gz https://www.cyrusimap.org/releases/cyrus-sasl-2.1.26.tar.gz
48+
- curl -fsSL -o cyrus-sasl-2.1.26.tar.gz https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-2.1.26/cyrus-sasl-2.1.26.tar.gz
4149
- 7z x cyrus-sasl-2.1.26.tar.gz -so | 7z x -si -ttar > nul
4250
- move cyrus-sasl-2.1.26 sasl
4351
- cd sasl
@@ -53,7 +61,7 @@ build_script:
5361
- mkdir build
5462
- cd build
5563
- cmake --version
56-
- cmake .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibstaticd.lib -DPNG_PNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARY=..\deps\libpng\debug\libpng16_staticd.lib -D SASL2_INCLUDE_DIR=c:\cmu\include -D LIBSASL2_LIBRARIES=c:\cmu\lib\libsasl.lib ..
64+
- cmake .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibstaticd.lib -DJPEG_INCLUDE_DIR=..\deps\libjpeg -DJPEG_LIBRARY_DEBUG=..\deps\libjpeg\debug\turbojpeg-static.lib -DPNG_PNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARY=..\deps\libpng\debug\libpng16_staticd.lib -D SASL2_INCLUDE_DIR=c:\cmu\include -D LIBSASL2_LIBRARIES=c:\cmu\lib\libsasl.lib ..
5765
- cmake --build .
5866
- ctest -C Debug --output-on-failure
5967

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
liberapay: LibVNC
2+
issuehunt: LibVNC/libvncserver
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
If you'd like to put out an incentive for fixing this bug, you can do so at https://issuehunt.io/r/LibVNC/libvncserver
11+
12+
**Describe the bug**
13+
<!-- A clear and concise description of what the bug is. -->
14+
15+
**To Reproduce**
16+
<!-- Steps to reproduce the behavior:
17+
1. Done this.
18+
2. Done that.
19+
3. Done nothing.
20+
-->
21+
22+
**Expected Behavior**
23+
<!-- A clear and concise description of what you expected to happen. -->
24+
25+
**Logs/Backtraces**
26+
<!-- If applicable, add log output and/or debugger backtraces to help explain your problem. -->
27+
28+
**Your environment (please complete the following information):**
29+
- OS and version:
30+
- Compiler and version:
31+
32+
**Additional context**
33+
<!-- Add any other context about the problem here. -->
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: feature-request
6+
assignees: ''
7+
8+
---
9+
10+
If you'd like to put out an incentive for implementing this feature, you can do so at https://issuehunt.io/r/LibVNC/libvncserver
11+
12+
**Is your feature request related to a problem? Please describe.**
13+
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
14+
15+
**Describe the solution you'd like**
16+
<!--A clear and concise description of what you want to happen.-->
17+
18+
**Describe alternatives you've considered**
19+
<!--A clear and concise description of any alternative solutions or features you've considered.-->
20+
21+
**Additional context**
22+
<!--Add any other context or screenshots about the feature request here. -->

.gitignore

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
*.swp
22
*~
33
Makefile
4-
Makefile.in
5-
LibVNCServer.spec.in
6-
LibVNCServer.spec
7-
libvncserver-config
84
*.pc
95
LibVNCServer*.tar.gz
10-
config.h.in
116
rfbconfig.h
12-
rfbconfig.h.in
137
*.o
148
*.a
159
*.so
@@ -20,10 +14,12 @@ client_examples/gtkvncviewer
2014
client_examples/ppmtest
2115
client_examples/vnc2mpg
2216
build/
17+
doc/
2318
examples/zippy
2419
examples/backchannel
2520
examples/blooptest
2621
examples/camera
22+
examples/cursors
2723
examples/colourmaptest
2824
examples/example
2925
examples/filetransfer
@@ -41,7 +37,6 @@ examples/vncev
4137
test/blooptest
4238
test/cargstest
4339
test/copyrecttest
44-
test/cursortest
4540
test/encodingstest
4641
test/wstest
4742
/test/tjbench
@@ -58,3 +53,6 @@ CMakeCache.txt
5853
/rfbproto.rst
5954
/vencrypt.txt
6055
/INSTALL
56+
.ccls-cache
57+
.log
58+
compile_commands.json

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "webclients/novnc"]
2+
path = webclients/novnc
3+
url = https://github.com/novnc/noVNC.git

.travis.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,27 @@ os:
66
- linux
77
- osx
88

9-
compiler:
10-
- gcc
11-
- clang
9+
env:
10+
- CMAKE_OPTIONS="-DWITH_OPENSSL=ON -DWITH_GNUTLS=OFF -DWITH_GCRYPT=OFF" # build with OpenSSL
11+
- CMAKE_OPTIONS="-DWITH_OPENSSL=OFF -DWITH_GNUTLS=ON -DWITH_GCRYPT=ON" # build with GnuTLS and Libgrypt
12+
- CMAKE_OPTIONS="-DWITH_OPENSSL=OFF -DWITH_GNUTLS=OFF -DWITH_GCRYPT=OFF" # build without external encryption libraries
13+
- CMAKE_OPTIONS="-DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-cross-mingw32-linux.cmake" # crosscompile with MinGW toolchain
14+
15+
jobs:
16+
exclude:
17+
- os: osx
18+
env: CMAKE_OPTIONS="-DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-cross-mingw32-linux.cmake" # don't test MinGW from OSX
19+
20+
before_install:
21+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update; sudo apt-get --no-install-suggests --no-install-recommends install libsdl2-dev liblzo2-dev gnutls-dev libgcrypt-dev wine; fi
22+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install sdl2 lzo; fi
1223

13-
# Build steps
1424
script:
1525
- mkdir build
1626
- cd build
17-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; sudo apt-get --no-install-suggests --no-install-recommends install libsdl2-dev liblzo2-dev; fi
18-
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew update; brew install sdl2; fi
19-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl; else cmake ..; fi
27+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake $CMAKE_OPTIONS .. ; fi
28+
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake $CMAKE_OPTIONS -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .. ; fi
2029
- cmake --build .
30+
- cp /usr/i686-w64-mingw32/lib/libwinpthread-1.dll test/ || true # used only for MinGW tests, ok to fail for other cases
2131
- ctest --output-on-failure
2232

AUTHORS

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,18 @@ The ZRLE compression scheme is from
1111
* RealVNC (James "Wez" Weatherall, who helped also with regions)
1212

1313
The good folks from
14-
* KRFB (I think it was Tim Jansen)
14+
* KRFB (Dscho thinks it was Tim Jansen)
1515
helped also a lot (some *big* bugs!).
1616

17-
Karl Runge provides an x11vnc, which is a much, much improved version of my
17+
Karl Runge provided an x11vnc, which is a much, much improved version of Dscho's
1818
original proof-of-concept. It really deserves to replace the old version,
19-
as it is a state-of-the-art, fast and usable program by now! However, he
20-
maintains it and improves it still in amazing ways!
19+
as it is a state-of-the-art, fast and usable program by now!
2120

2221
The file transfer protocol from TightVNC was implemented by Rohit Kumar.
2322
This includes an implementation of RFB protocol version 3.7t.
2423

25-
Occasional important patches were sent by (in order I found the names in my
26-
archives and please don't beat me, if I forgot you, but just send me an
27-
email!): Akira Hatakeyama, Karl J. Runge, Justin "Zippy" Dearing,
24+
Important contributions were done by (in order of appearance, if we forgot you,
25+
just open an issue!): Akira Hatakeyama, Karl J. Runge, Justin "Zippy" Dearing,
2826
Oliver Mihatsch, Greg Sternberg, Werner Hofer, Giampiero Giancipoli,
2927
Glenn Mabutt, Paul Kreiner, Erik Kunze, Mike Frysinger, Martin Waitz,
3028
Mark McLoughlin, Paul Fox, Juan Jose Costello, Andre Leiadella,
@@ -38,9 +36,17 @@ George Fleury, Kan-Ru Chen, Steve Guo, Luca Stauble, Peter Watkins,
3836
Kyle J. McKay, Mateus Cesar Groess, Philip Van Hoof, D. R. Commander,
3937
Rostislav Lisovy, Oliver Loch, Raphael Kubo da Costa, Amandeep Singh,
4038
Brian Bidulock, Daniel Cohen Gindi, David Verbeiren, Luca Falavigna,
41-
Matthias Treydte, Nicolas Ruff, Robbert Klarenbeek and Floris Bos.
42-
43-
44-
Probably I forgot quite a few people sending a patch here and there, which
39+
Matthias Treydte, Nicolas Ruff, Robbert Klarenbeek, Floris Bos,
40+
Zac Medico, Wu Zongyong, Wiki Wang, Wen Shuguang, Volker Ruppert,
41+
Timothy Pearson, Thomas Anderson, Sebastian Kranz, Rex Dieter, Rajesh Sahoo,
42+
Michał Kępień, Jocelyn Le Sage, Jay Carlson, Jae Hyun Yoo, Eddie James,
43+
Christian Häggström, Bastiaan Olij, Balazs Ludmany, Andrzej Szombierski,
44+
Alexander Tsoy, Albert Astals Cid, Iordan Iordanov, Samuel Mannehed,
45+
Remi Gacogne, Petr Písař, Peter Spiess-Knafl, Kyle Russell, Josef Gajdusek,
46+
Fabien Proriol, Bert van Hall, Benjamin Dürholt, Quentin Buathier,
47+
Fabrice Fontaine, Cédric Georges, Stefan Weil, Rolf Eike Beer, Andreas Weigel,
48+
Gaurav Ujjwal and Tobias Junghans.
49+
50+
Probably we forgot quite a few people sending a patch here and there, which
4551
really made a difference. Without those, some obscure bugs still would
4652
be unfound.

0 commit comments

Comments
 (0)