forked from Qv2ray/Qv2ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Qv2ray#971 from Qv2ray/dev
Qv2ray v2.7.0-alpha1
- Loading branch information
Showing
465 changed files
with
16,096 additions
and
17,994 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ jobs: | |
matrix: | ||
qt_version: [5.15.0] | ||
platform: [ubuntu-16.04, macos-latest, windows-latest] | ||
build_type: [RelWithDebInfo, Release] | ||
arch: [x86, x64] | ||
include: | ||
- platform: windows-latest | ||
|
@@ -88,30 +89,37 @@ jobs: | |
sudo add-apt-repository ppa:carsten-uppenbrink-net/openssl | ||
sudo apt update | ||
sudo apt install -y libgl-dev libx11-dev libxkbcommon-x11-dev libxcb-image0-dev libxcb-icccm4-dev libssl-dev libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 | ||
sudo apt install -y libprotobuf-dev protobuf-compiler protobuf-c-compiler libgrpc++-dev protobuf-compiler-grpc ninja-build fcitx-frontend-qt5 | ||
sudo apt install -y libprotobuf-dev protobuf-compiler protobuf-c-compiler libgrpc++-dev protobuf-compiler-grpc ninja-build fcitx-frontend-qt5 libcurl4-openssl-dev | ||
# -------------------------------------------------------- | ||
- name: macOS - ${{ matrix.qt_version }} - Build preparation - Install Packages | ||
if: matrix.platform == 'macos-latest' | ||
run: | | ||
brew install protobuf grpc ninja pkg-config | ||
brew install protobuf grpc ninja pkg-config openssl | ||
# -------------------------------------------------------- | ||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Setup Ninja | ||
if: matrix.platform == 'windows-latest' | ||
uses: ashutoshvarma/setup-ninja@master | ||
with: | ||
# ninja version to download. Default: 1.10.0 | ||
version: 1.10.0 | ||
version: 1.10.0 | ||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Build preparation - Download Dependencies | ||
shell: bash | ||
if: matrix.platform == 'windows-latest' | ||
run: | | ||
curl -o ./libs/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z -L https://github.com/Qv2ray/Qv2ray-deps/releases/download/release/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z | ||
curl -o ./libs/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z -L https://github.com/Qv2ray/Qv2ray-deps/releases/download/release/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z | ||
- name: Win-${{ matrix.arch }} - Build preparation - Extract Dependencies | ||
if: matrix.platform == 'windows-latest' | ||
uses: DuckSoft/[email protected] | ||
with: | ||
pathSource: ./libs/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z | ||
pathTarget: ./libs | ||
- name: Win-${{ matrix.arch }} - Build preparation - Extract Dependencies | ||
if: matrix.platform == 'windows-latest' | ||
uses: DuckSoft/[email protected] | ||
with: | ||
pathSource: ./libs/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z | ||
pathTarget: ./libs | ||
# ========================================================================================================= Generate MakeFile and Build | ||
|
||
- uses: actions/setup-node@v1 | ||
|
@@ -123,10 +131,12 @@ jobs: | |
- name: macOS - ${{ matrix.qt_version }} - Generate Dependencies and Build | ||
shell: bash | ||
if: matrix.platform == 'macos-latest' | ||
env: | ||
PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DDS_STORE_SCRIPT=ON | ||
cmake .. -GNinja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DDS_STORE_SCRIPT=ON | ||
cmake --build . --parallel $(sysctl -n hw.logicalcpu) | ||
sudo cmake --install . | ||
appdmg ../assets/package_dmg.json ../Qv2ray.dmg | ||
|
@@ -140,7 +150,7 @@ jobs: | |
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=./deployment -DCMAKE_BUILD_TYPE=Release | ||
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=./deployment -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} | ||
cmake --build . --parallel $(nproc) | ||
cmake --install . | ||
# -------------------------------------------------------- | ||
|
@@ -153,7 +163,7 @@ jobs: | |
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=./AppDir/usr -DCMAKE_BUILD_TYPE=Release -DQV2RAY_TRANSLATION_PATH=QApplication::applicationDirPath\(\)+"/../share/qv2ray/lang" | ||
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=./AppDir/usr -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DQV2RAY_TRANSLATION_PATH=QApplication::applicationDirPath\(\)+"/../share/qv2ray/lang" | ||
cmake --build . --parallel $(nproc) | ||
cmake --install . | ||
# ========================================================================================================= Deployments | ||
|
@@ -179,15 +189,15 @@ jobs: | |
cd .. | ||
squashfs-root/AppRun AppDir/usr/share/applications/qv2ray.desktop -appimage -no-strip -always-overwrite | ||
mv ./Qv2ray*.AppImage ./Qv2ray.AppImage | ||
- name: Linux - ${{ matrix.qt_version }} - Uploading artifact | ||
- name: Linux - ${{ matrix.qt_version }} - Uploading Artifact | ||
if: matrix.platform == 'ubuntu-16.04' | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: Qv2ray-${{ github.sha }}.linux-${{ matrix.arch }}.qt${{ matrix.qt_version }}.AppImage | ||
name: Qv2ray-${{ github.sha }}.linux-${{ matrix.arch }}.qt${{ matrix.qt_version }}-${{ matrix.build_type }}.AppImage | ||
path: build/Qv2ray.AppImage | ||
- name: Linux - ${{ matrix.qt_version }} - Upload binaries to release | ||
uses: svenstaro/upload-release-action@v1-release | ||
if: github.event_name == 'release' && matrix.platform == 'ubuntu-16.04' && matrix.qt_version == '5.15.0' | ||
if: github.event_name == 'release' && matrix.platform == 'ubuntu-16.04' && matrix.qt_version == '5.15.0' && matrix.build_type == 'Release' | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: build/Qv2ray.AppImage | ||
|
@@ -199,11 +209,11 @@ jobs: | |
if: matrix.platform == 'macos-latest' | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: Qv2ray-${{ github.sha }}.macOS-${{ matrix.arch }}.qt${{ matrix.qt_version }}.dmg | ||
name: Qv2ray-${{ github.sha }}.macOS-${{ matrix.arch }}.qt${{ matrix.qt_version }}-${{ matrix.build_type }}.dmg | ||
path: Qv2ray.dmg | ||
- name: macOS - ${{ matrix.qt_version }} - Upload binaries to release | ||
uses: svenstaro/upload-release-action@v1-release | ||
if: github.event_name == 'release' && matrix.platform == 'macos-latest' && matrix.qt_version == '5.15.0' | ||
if: github.event_name == 'release' && matrix.platform == 'macos-latest' && matrix.qt_version == '5.15.0' && matrix.build_type == 'Release' | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: Qv2ray.dmg | ||
|
@@ -217,15 +227,15 @@ jobs: | |
with: | ||
pathSource: ./build/deployment/ | ||
pathTarget: ./release.7z | ||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Uploading artifact | ||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Uploading Artifact | ||
if: matrix.platform == 'windows-latest' | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: Qv2ray-${{ github.sha }}.Windows-${{ matrix.arch }}.qt${{ matrix.qt_version }}.7z | ||
name: Qv2ray-${{ github.sha }}.Windows-${{ matrix.arch }}.qt${{ matrix.qt_version }}-${{ matrix.build_type }}.7z | ||
path: release.7z | ||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Upload binaries to release | ||
uses: svenstaro/upload-release-action@v1-release | ||
if: github.event_name == 'release' && matrix.platform == 'windows-latest' && matrix.qt_version == '5.15.0' | ||
if: github.event_name == 'release' && matrix.platform == 'windows-latest' && matrix.qt_version == '5.15.0' && matrix.build_type == 'Release' | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: release.7z | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,11 +85,18 @@ jobs: | |
shell: bash | ||
run: | | ||
curl -o ./libs/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z -L https://github.com/Qv2ray/Qv2ray-deps/releases/download/release/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z | ||
curl -o ./libs/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z -L https://github.com/Qv2ray/Qv2ray-deps/releases/download/release/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z | ||
- name: Win-${{ matrix.arch }} - Build preparation - Extract Dependencies | ||
uses: DuckSoft/[email protected] | ||
with: | ||
pathSource: ./libs/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z | ||
pathTarget: ./libs | ||
pathSource: ./libs/Qv2ray-deps-grpc-${{ matrix.arch }}-windows.7z | ||
pathTarget: ./libs | ||
- name: Win-${{ matrix.arch }} - Build preparation - Extract Dependencies | ||
if: matrix.platform == 'windows-latest' | ||
uses: DuckSoft/[email protected] | ||
with: | ||
pathSource: ./libs/Qv2ray-deps-curl-${{ matrix.arch }}-windows.7z | ||
pathTarget: ./libs | ||
# ========================================================================================================= Generate MakeFile and Build | ||
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Generate Dependencies and Build | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule QJsonStruct
added at
fb646d
Submodule QNodeEditor
updated
18 files
+2 −0 | include/nodes/internal/ConnectionStyle.hpp | |
+2 −0 | include/nodes/internal/FlowViewStyle.hpp | |
+8 −12 | include/nodes/internal/NodeDataModel.hpp | |
+2 −0 | include/nodes/internal/NodeStyle.hpp | |
+1 −0 | include/nodes/internal/Style.hpp | |
+1 −16 | include/nodes/internal/memory.hpp | |
+6 −3 | src/ConnectionGraphicsObject.cpp | |
+9 −5 | src/ConnectionPainter.cpp | |
+1 −0 | src/ConnectionPainter.hpp | |
+8 −0 | src/ConnectionStyle.cpp | |
+6 −6 | src/FlowScene.cpp | |
+2 −1 | src/FlowView.cpp | |
+8 −0 | src/FlowViewStyle.cpp | |
+12 −0 | src/NodeConnectionInteraction.cpp | |
+2 −1 | src/NodeDataModel.cpp | |
+3 −2 | src/NodeGeometry.cpp | |
+15 −13 | src/NodeGraphicsObject.cpp | |
+9 −0 | src/NodeStyle.cpp |
Submodule backward-cpp
added at
42c350
Submodule libuv
updated
27 files
+15 −1 | .github/workflows/CI.yml | |
+3 −0 | AUTHORS | |
+5 −5 | CMakeLists.txt | |
+40 −1 | ChangeLog | |
+4 −4 | Makefile.am | |
+1 −1 | configure.ac | |
+1 −1 | include/uv/version.h | |
+1 −0 | m4/.gitignore | |
+19 −22 | src/unix/core.c | |
+16 −7 | src/unix/darwin.c | |
+6 −10 | src/unix/fs.c | |
+5 −4 | src/unix/kqueue.c | |
+68 −58 | src/unix/linux-core.c | |
+0 −1 | src/unix/os390-syscalls.c | |
+4 −2 | src/unix/pthread-fixes.c | |
+4 −1 | src/unix/tcp.c | |
+0 −11 | src/unix/thread.c | |
+1 −1 | src/unix/udp.c | |
+2 −2 | src/uv-common.c | |
+8 −0 | src/uv-common.h | |
+1 −1 | src/win/internal.h | |
+1 −0 | src/win/tty.c | |
+3 −2 | src/win/udp.c | |
+14 −12 | src/win/util.c | |
+3 −1 | test/test-list.h | |
+5 −0 | test/test-signal-multiple-loops.c | |
+75 −0 | test/test-udp-sendmmsg-error.c |
Submodule puresource
added at
a4872c
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
set(UISTYLE_QRCS | ||
${CMAKE_SOURCE_DIR}/3rdparty/uistyles/flatwhite/flatwhite.qrc | ||
${CMAKE_SOURCE_DIR}/3rdparty/uistyles/psblack/psblack.qrc | ||
) |
Submodule uvw
updated
15 files
+2 −0 | .gitignore | |
+14 −11 | README.md | |
+220 −220 | src/uvw/handle.hpp | |
+0 −10 | src/uvw/loop.cpp | |
+85 −104 | src/uvw/loop.h | |
+1 −1 | src/uvw/thread.cpp | |
+18 −0 | src/uvw/util.h | |
+1 −1 | test/main.cpp | |
+7 −3 | test/uvw/loop.cpp | |
+23 −8 | test/uvw/pipe.cpp | |
+14 −0 | test/uvw/thread.cpp | |
+8 −6 | test/uvw/timer.cpp | |
+1 −1 | test/uvw/tty.cpp | |
+4 −0 | test/uvw/util.cpp | |
+2 −12 | test/uvw/work.cpp |
Submodule zxing-cpp
updated
from 5351b6 to 915477
Oops, something went wrong.