Skip to content

Commit

Permalink
CConnection: Modify UserPasswdGetter and UserMsgBox interface to CCon…
Browse files Browse the repository at this point in the history
…nection

Problems with the original code: A process can only establish one connection.
After modification, multiple connections can be supported.
  • Loading branch information
KangLin committed Aug 20, 2024
1 parent 445e023 commit 8dc4cf2
Show file tree
Hide file tree
Showing 483 changed files with 113,003 additions and 151 deletions.
473 changes: 473 additions & 0 deletions CMakeLists.txt.user

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions build/b.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#! /bin/bash
INSTALL_DIR=`pwd`/install
VCPKG_ROOT=/data/vcpkg
VCPKG_TARGET_TRIPLET=x64-android
ANDROID_ABI=x86_64
ANDROID_PLATFORM=android-23
ANDROID_NATIVE_API_LEVEL=23

cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake \
-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake \
-DVCPKG_VERBOSE=ON \
-DVCPKG_TRACE_FIND_PACKAGE=ON \
-DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET} \
-DX_VCPKG_APPLOCAL_DEPS_INSTALL=ON \
-DVCPKG_INSTALLED_DIR=${INSTALL_DIR}/tigervnc/vcpkg_installed \
-DANDROID_ABI=${ANDROID_ABI} \
-DANDROID_PLATFORM=${ANDROID_PLATFORM} \
-DBUILD_TESTS=OFF \
-DBUILD_VIEWER=OFF
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
x64-android/
x64-android/debug/
x64-android/debug/lib/
x64-android/debug/lib/libavcodec.a
x64-android/debug/lib/libavdevice.a
x64-android/debug/lib/libavfilter.a
x64-android/debug/lib/libavformat.a
x64-android/debug/lib/libavutil.a
x64-android/debug/lib/libswresample.a
x64-android/debug/lib/libswscale.a
x64-android/debug/lib/pkgconfig/
x64-android/debug/lib/pkgconfig/libavcodec.pc
x64-android/debug/lib/pkgconfig/libavdevice.pc
x64-android/debug/lib/pkgconfig/libavfilter.pc
x64-android/debug/lib/pkgconfig/libavformat.pc
x64-android/debug/lib/pkgconfig/libavutil.pc
x64-android/debug/lib/pkgconfig/libswresample.pc
x64-android/debug/lib/pkgconfig/libswscale.pc
x64-android/include/
x64-android/include/libavcodec/
x64-android/include/libavcodec/ac3_parser.h
x64-android/include/libavcodec/adts_parser.h
x64-android/include/libavcodec/avcodec.h
x64-android/include/libavcodec/avdct.h
x64-android/include/libavcodec/avfft.h
x64-android/include/libavcodec/bsf.h
x64-android/include/libavcodec/codec.h
x64-android/include/libavcodec/codec_desc.h
x64-android/include/libavcodec/codec_id.h
x64-android/include/libavcodec/codec_par.h
x64-android/include/libavcodec/d3d11va.h
x64-android/include/libavcodec/defs.h
x64-android/include/libavcodec/dirac.h
x64-android/include/libavcodec/dv_profile.h
x64-android/include/libavcodec/dxva2.h
x64-android/include/libavcodec/jni.h
x64-android/include/libavcodec/mediacodec.h
x64-android/include/libavcodec/packet.h
x64-android/include/libavcodec/qsv.h
x64-android/include/libavcodec/vdpau.h
x64-android/include/libavcodec/version.h
x64-android/include/libavcodec/version_major.h
x64-android/include/libavcodec/videotoolbox.h
x64-android/include/libavcodec/vorbis_parser.h
x64-android/include/libavdevice/
x64-android/include/libavdevice/avdevice.h
x64-android/include/libavdevice/version.h
x64-android/include/libavdevice/version_major.h
x64-android/include/libavfilter/
x64-android/include/libavfilter/avfilter.h
x64-android/include/libavfilter/buffersink.h
x64-android/include/libavfilter/buffersrc.h
x64-android/include/libavfilter/version.h
x64-android/include/libavfilter/version_major.h
x64-android/include/libavformat/
x64-android/include/libavformat/avformat.h
x64-android/include/libavformat/avio.h
x64-android/include/libavformat/version.h
x64-android/include/libavformat/version_major.h
x64-android/include/libavutil/
x64-android/include/libavutil/adler32.h
x64-android/include/libavutil/aes.h
x64-android/include/libavutil/aes_ctr.h
x64-android/include/libavutil/ambient_viewing_environment.h
x64-android/include/libavutil/attributes.h
x64-android/include/libavutil/audio_fifo.h
x64-android/include/libavutil/avassert.h
x64-android/include/libavutil/avconfig.h
x64-android/include/libavutil/avstring.h
x64-android/include/libavutil/avutil.h
x64-android/include/libavutil/base64.h
x64-android/include/libavutil/blowfish.h
x64-android/include/libavutil/bprint.h
x64-android/include/libavutil/bswap.h
x64-android/include/libavutil/buffer.h
x64-android/include/libavutil/camellia.h
x64-android/include/libavutil/cast5.h
x64-android/include/libavutil/channel_layout.h
x64-android/include/libavutil/common.h
x64-android/include/libavutil/cpu.h
x64-android/include/libavutil/crc.h
x64-android/include/libavutil/csp.h
x64-android/include/libavutil/des.h
x64-android/include/libavutil/detection_bbox.h
x64-android/include/libavutil/dict.h
x64-android/include/libavutil/display.h
x64-android/include/libavutil/dovi_meta.h
x64-android/include/libavutil/downmix_info.h
x64-android/include/libavutil/encryption_info.h
x64-android/include/libavutil/error.h
x64-android/include/libavutil/eval.h
x64-android/include/libavutil/executor.h
x64-android/include/libavutil/ffversion.h
x64-android/include/libavutil/fifo.h
x64-android/include/libavutil/file.h
x64-android/include/libavutil/film_grain_params.h
x64-android/include/libavutil/frame.h
x64-android/include/libavutil/hash.h
x64-android/include/libavutil/hdr_dynamic_metadata.h
x64-android/include/libavutil/hdr_dynamic_vivid_metadata.h
x64-android/include/libavutil/hmac.h
x64-android/include/libavutil/hwcontext.h
x64-android/include/libavutil/hwcontext_cuda.h
x64-android/include/libavutil/hwcontext_d3d11va.h
x64-android/include/libavutil/hwcontext_d3d12va.h
x64-android/include/libavutil/hwcontext_drm.h
x64-android/include/libavutil/hwcontext_dxva2.h
x64-android/include/libavutil/hwcontext_mediacodec.h
x64-android/include/libavutil/hwcontext_opencl.h
x64-android/include/libavutil/hwcontext_qsv.h
x64-android/include/libavutil/hwcontext_vaapi.h
x64-android/include/libavutil/hwcontext_vdpau.h
x64-android/include/libavutil/hwcontext_videotoolbox.h
x64-android/include/libavutil/hwcontext_vulkan.h
x64-android/include/libavutil/iamf.h
x64-android/include/libavutil/imgutils.h
x64-android/include/libavutil/intfloat.h
x64-android/include/libavutil/intreadwrite.h
x64-android/include/libavutil/lfg.h
x64-android/include/libavutil/log.h
x64-android/include/libavutil/lzo.h
x64-android/include/libavutil/macros.h
x64-android/include/libavutil/mastering_display_metadata.h
x64-android/include/libavutil/mathematics.h
x64-android/include/libavutil/md5.h
x64-android/include/libavutil/mem.h
x64-android/include/libavutil/motion_vector.h
x64-android/include/libavutil/murmur3.h
x64-android/include/libavutil/opt.h
x64-android/include/libavutil/parseutils.h
x64-android/include/libavutil/pixdesc.h
x64-android/include/libavutil/pixelutils.h
x64-android/include/libavutil/pixfmt.h
x64-android/include/libavutil/random_seed.h
x64-android/include/libavutil/rational.h
x64-android/include/libavutil/rc4.h
x64-android/include/libavutil/replaygain.h
x64-android/include/libavutil/ripemd.h
x64-android/include/libavutil/samplefmt.h
x64-android/include/libavutil/sha.h
x64-android/include/libavutil/sha512.h
x64-android/include/libavutil/spherical.h
x64-android/include/libavutil/stereo3d.h
x64-android/include/libavutil/tea.h
x64-android/include/libavutil/threadmessage.h
x64-android/include/libavutil/time.h
x64-android/include/libavutil/timecode.h
x64-android/include/libavutil/timestamp.h
x64-android/include/libavutil/tree.h
x64-android/include/libavutil/twofish.h
x64-android/include/libavutil/tx.h
x64-android/include/libavutil/uuid.h
x64-android/include/libavutil/version.h
x64-android/include/libavutil/video_enc_params.h
x64-android/include/libavutil/video_hint.h
x64-android/include/libavutil/xtea.h
x64-android/include/libswresample/
x64-android/include/libswresample/swresample.h
x64-android/include/libswresample/version.h
x64-android/include/libswresample/version_major.h
x64-android/include/libswscale/
x64-android/include/libswscale/swscale.h
x64-android/include/libswscale/version.h
x64-android/include/libswscale/version_major.h
x64-android/lib/
x64-android/lib/libavcodec.a
x64-android/lib/libavdevice.a
x64-android/lib/libavfilter.a
x64-android/lib/libavformat.a
x64-android/lib/libavutil.a
x64-android/lib/libswresample.a
x64-android/lib/libswscale.a
x64-android/lib/pkgconfig/
x64-android/lib/pkgconfig/libavcodec.pc
x64-android/lib/pkgconfig/libavdevice.pc
x64-android/lib/pkgconfig/libavfilter.pc
x64-android/lib/pkgconfig/libavformat.pc
x64-android/lib/pkgconfig/libavutil.pc
x64-android/lib/pkgconfig/libswresample.pc
x64-android/lib/pkgconfig/libswscale.pc
x64-android/share/
x64-android/share/ffmpeg/
x64-android/share/ffmpeg/FindFFMPEG.cmake
x64-android/share/ffmpeg/copyright
x64-android/share/ffmpeg/examples/
x64-android/share/ffmpeg/examples/Makefile
x64-android/share/ffmpeg/examples/README
x64-android/share/ffmpeg/examples/avio_http_serve_files.c
x64-android/share/ffmpeg/examples/avio_list_dir.c
x64-android/share/ffmpeg/examples/avio_read_callback.c
x64-android/share/ffmpeg/examples/decode_audio.c
x64-android/share/ffmpeg/examples/decode_filter_audio.c
x64-android/share/ffmpeg/examples/decode_filter_video.c
x64-android/share/ffmpeg/examples/decode_video.c
x64-android/share/ffmpeg/examples/demux_decode.c
x64-android/share/ffmpeg/examples/encode_audio.c
x64-android/share/ffmpeg/examples/encode_video.c
x64-android/share/ffmpeg/examples/extract_mvs.c
x64-android/share/ffmpeg/examples/filter_audio.c
x64-android/share/ffmpeg/examples/hw_decode.c
x64-android/share/ffmpeg/examples/mux.c
x64-android/share/ffmpeg/examples/qsv_decode.c
x64-android/share/ffmpeg/examples/qsv_transcode.c
x64-android/share/ffmpeg/examples/remux.c
x64-android/share/ffmpeg/examples/resample_audio.c
x64-android/share/ffmpeg/examples/scale_video.c
x64-android/share/ffmpeg/examples/show_metadata.c
x64-android/share/ffmpeg/examples/transcode.c
x64-android/share/ffmpeg/examples/transcode_aac.c
x64-android/share/ffmpeg/examples/vaapi_encode.c
x64-android/share/ffmpeg/examples/vaapi_transcode.c
x64-android/share/ffmpeg/usage
x64-android/share/ffmpeg/vcpkg-cmake-wrapper.cmake
x64-android/share/ffmpeg/vcpkg.spdx.json
x64-android/share/ffmpeg/vcpkg_abi_info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
x64-android/
x64-android/debug/
x64-android/debug/lib/
x64-android/debug/lib/libjpeg.a
x64-android/debug/lib/libturbojpeg.a
x64-android/debug/lib/pkgconfig/
x64-android/debug/lib/pkgconfig/libjpeg.pc
x64-android/debug/lib/pkgconfig/libturbojpeg.pc
x64-android/include/
x64-android/include/jconfig.h
x64-android/include/jerror.h
x64-android/include/jmorecfg.h
x64-android/include/jpeglib.h
x64-android/include/turbojpeg.h
x64-android/lib/
x64-android/lib/libjpeg.a
x64-android/lib/libturbojpeg.a
x64-android/lib/pkgconfig/
x64-android/lib/pkgconfig/libjpeg.pc
x64-android/lib/pkgconfig/libturbojpeg.pc
x64-android/share/
x64-android/share/jpeg/
x64-android/share/jpeg/vcpkg-cmake-wrapper.cmake
x64-android/share/libjpeg-turbo/
x64-android/share/libjpeg-turbo/copyright
x64-android/share/libjpeg-turbo/libjpeg-turboConfig.cmake
x64-android/share/libjpeg-turbo/libjpeg-turboConfigVersion.cmake
x64-android/share/libjpeg-turbo/libjpeg-turboTargets-debug.cmake
x64-android/share/libjpeg-turbo/libjpeg-turboTargets-release.cmake
x64-android/share/libjpeg-turbo/libjpeg-turboTargets.cmake
x64-android/share/libjpeg-turbo/usage
x64-android/share/libjpeg-turbo/vcpkg.spdx.json
x64-android/share/libjpeg-turbo/vcpkg_abi_info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
x64-android/
x64-android/debug/
x64-android/debug/lib/
x64-android/debug/lib/libpng.a
x64-android/debug/lib/libpng16d.a
x64-android/debug/lib/pkgconfig/
x64-android/debug/lib/pkgconfig/libpng.pc
x64-android/debug/lib/pkgconfig/libpng16.pc
x64-android/include/
x64-android/include/libpng16/
x64-android/include/libpng16/png.h
x64-android/include/libpng16/pngconf.h
x64-android/include/libpng16/pnglibconf.h
x64-android/include/png.h
x64-android/include/pngconf.h
x64-android/include/pnglibconf.h
x64-android/lib/
x64-android/lib/libpng.a
x64-android/lib/libpng16.a
x64-android/lib/pkgconfig/
x64-android/lib/pkgconfig/libpng.pc
x64-android/lib/pkgconfig/libpng16.pc
x64-android/share/
x64-android/share/libpng/
x64-android/share/libpng/copyright
x64-android/share/libpng/libpng-config.cmake
x64-android/share/libpng/libpng16-debug.cmake
x64-android/share/libpng/libpng16-release.cmake
x64-android/share/libpng/libpng16.cmake
x64-android/share/libpng/usage
x64-android/share/libpng/vcpkg.spdx.json
x64-android/share/libpng/vcpkg_abi_info.txt
x64-android/share/png/
x64-android/share/png/vcpkg-cmake-wrapper.cmake
Loading

0 comments on commit 8dc4cf2

Please sign in to comment.