You've already forked qBittorrent
							
							
				mirror of
				https://github.com/qbittorrent/qBittorrent
				synced 2025-10-30 23:30:54 +01:00 
			
		
		
		
	Compare commits
	
		
			61 Commits
		
	
	
		
			release-4.
			...
			release-4.
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 9392ce436d | ||
|   | 8ceb2d8832 | ||
|   | 40ec873199 | ||
|   | f3a5a43a20 | ||
|   | 72ba22afd1 | ||
|   | 423232b4b9 | ||
|   | 86a6b53f82 | ||
|   | 618afb3609 | ||
|   | fefce03379 | ||
|   | 250cac73b6 | ||
|   | 84ec5a6acf | ||
|   | 0e2aca7583 | ||
|   | 3bded7e71b | ||
|   | 51ca65eea1 | ||
|   | f21f7b8edc | ||
|   | 331304159d | ||
|   | 2aab675dc4 | ||
|   | 9c8016dc65 | ||
|   | b99262bc36 | ||
|   | 078cfe656a | ||
|   | 89ac9bf2c9 | ||
|   | 81932b6313 | ||
|   | 4ce5d9d5e2 | ||
|   | 0415c0c6f8 | ||
|   | def5765160 | ||
|   | 9977395c03 | ||
|   | 2b05b2b471 | ||
|   | d1bd426618 | ||
|   | b84c5edf51 | ||
|   | 3ac8c97e6f | ||
|   | ede42910da | ||
|   | 500d0e717b | ||
|   | a3f039ffcb | ||
|   | 81ad324209 | ||
|   | 81de07789a | ||
|   | 6a8a1f602f | ||
|   | 9dfaaa2dd1 | ||
|   | c06d6eaa77 | ||
|   | d198ee97a5 | ||
|   | ac8105c304 | ||
|   | 6cb16cfbb7 | ||
|   | 2b475c4296 | ||
|   | 3a9e4397fd | ||
|   | 1ce0bb7cee | ||
|   | dd4b09f3a9 | ||
|   | 8c2df049f1 | ||
|   | 8b66c444ee | ||
|   | 0ccbdbccf4 | ||
|   | d08b6c81ba | ||
|   | 5f897709cf | ||
|   | e25948e737 | ||
|   | 144956a209 | ||
|   | 667d4e4211 | ||
|   | d957eef331 | ||
|   | baa32a20e0 | ||
|   | eff465126e | ||
|   | 09089b2d33 | ||
|   | 3aa36ad40c | ||
|   | 24bc5a9875 | ||
|   | 744a2cb5a3 | ||
|   | 33e090cfcb | 
| @@ -3,7 +3,7 @@ version: '{branch}-{build}' | ||||
| # Do not build on tags (GitHub only) | ||||
| skip_tags: true | ||||
|  | ||||
| image: Visual Studio 2017 | ||||
| image: Visual Studio 2019 | ||||
|  | ||||
| branches: | ||||
|   except:  # blacklist | ||||
| @@ -42,7 +42,7 @@ install: | ||||
|  | ||||
| before_build: | ||||
|   # setup env | ||||
|   - CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat" | ||||
|   - CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" | ||||
|   - SET PATH=%PATH%;c:\qbt\qt5_32\bin;%CACHE_DIR%\jom; | ||||
|   # setup project | ||||
|   - COPY /Y "%CACHE_DIR%\conf.pri" "%REPO_DIR%" | ||||
|   | ||||
							
								
								
									
										240
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										240
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -1,240 +0,0 @@ | ||||
| name: GitHub Actions CI | ||||
|  | ||||
| # Cache is used for all Windows and macOS dependencies (size approx. 1230 * 2 + 1850 = 4310 MiB) | ||||
| # Cache is not used for Ubuntu builds, because it already has all dependencies except | ||||
| # the appropriate libtorrent version, which only takes 3-5 minutes to build from source anyway | ||||
|  | ||||
| on: [pull_request, push] | ||||
|  | ||||
| env: | ||||
|   VCPKG_COMMIT: e4ce66eecfd3e5cca5eac06c971921bf8e37cf88 | ||||
|   VCPKG_DEST_MACOS: /Users/runner/qbt_tools/vcpkg | ||||
|   VCPKG_DEST_WIN: C:\qbt_tools\vcpkg | ||||
|   LIBTORRENT_VERSION_TAG: v1.2.12 | ||||
|  | ||||
| jobs: | ||||
|  | ||||
|   ci_ubuntu: | ||||
|     name: Ubuntu | ||||
|  | ||||
|     strategy: | ||||
|       matrix: | ||||
|         os: [ubuntu-20.04] | ||||
|         qbt_gui: ["GUI=ON", "GUI=OFF"] | ||||
|       fail-fast: false | ||||
|  | ||||
|     runs-on: ${{ matrix.os }} | ||||
|  | ||||
|     defaults: | ||||
|       run: | ||||
|         shell: bash | ||||
|  | ||||
|     steps: | ||||
|     - name: checkout repository | ||||
|       uses: actions/checkout@v2 | ||||
|  | ||||
|     - name: install all build dependencies except libtorrent from Ubuntu repos | ||||
|       run: | | ||||
|         sudo apt update | ||||
|         sudo apt install \ | ||||
|           build-essential cmake git ninja-build pkg-config \ | ||||
|           libssl-dev libgeoip-dev zlib1g-dev \ | ||||
|           libboost-dev libboost-chrono-dev libboost-random-dev libboost-system-dev \ | ||||
|           libqt5svg5-dev qtbase5-dev qttools5-dev | ||||
|  | ||||
|     - name: install libtorrent from source | ||||
|       run: | | ||||
|         git clone https://github.com/arvidn/libtorrent && cd libtorrent | ||||
|         git checkout ${{ env.LIBTORRENT_VERSION_TAG }} | ||||
|         cmake -B cmake-build-dir -G "Ninja" \ | ||||
|           -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
|           -Ddeprecated-functions=OFF \ | ||||
|           --graphviz=cmake-build-dir/target_graph.dot | ||||
|         cmake --build cmake-build-dir | ||||
|         sudo cmake --install cmake-build-dir --prefix /usr/local | ||||
|  | ||||
|     - name: build qBittorrent | ||||
|       run: | | ||||
|         cmake -B build -G "Ninja" \ | ||||
|           -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
|           -D${{ matrix.qbt_gui }} \ | ||||
|           -DVERBOSE_CONFIGURE=ON \ | ||||
|           --graphviz=build/target_graph.dot | ||||
|         cmake --build build | ||||
|  | ||||
|     - name: upload artifact as zip | ||||
|       uses: actions/upload-artifact@v2 | ||||
|       with: | ||||
|         name: qBittorrent-CI_${{ matrix.os }}-x64_${{ matrix.qbt_gui }} | ||||
|         path: | | ||||
|           build/compile_commands.json | ||||
|           build/target_graph.dot | ||||
|           build/qbittorrent | ||||
|           build/qbittorrent-nox | ||||
|           libtorrent/cmake-build-dir/compile_commands.json | ||||
|           libtorrent/cmake-build-dir/target_graph.dot | ||||
|  | ||||
|   ci_windows: | ||||
|     name: Windows + vcpkg | ||||
|  | ||||
|     runs-on: windows-2019 | ||||
|  | ||||
|     defaults: | ||||
|       run: | ||||
|         shell: pwsh | ||||
|  | ||||
|     steps: | ||||
|     - name: checkout repository | ||||
|       uses: actions/checkout@v2 | ||||
|  | ||||
|     # - ninja is needed for building qBittorrent (because it's preferrable, not a hard requirement) | ||||
|     - name: install additional required packages with chocolatey | ||||
|       run: | | ||||
|         choco install ninja | ||||
|  | ||||
|     - name: setup vcpkg (cached, if possible) | ||||
|       uses: lukka/run-vcpkg@v4 | ||||
|       with: | ||||
|         vcpkgDirectory: ${{ env.VCPKG_DEST_WIN }} | ||||
|         vcpkgGitCommitId: ${{ env.VCPKG_COMMIT }} | ||||
|         setupOnly: true | ||||
|  | ||||
|     # Tell vcpkg to only build Release variants of the dependencies | ||||
|     - name: configure vcpkg triplet overlay for release builds only | ||||
|       run: | | ||||
|         New-Item -Path ${{ github.workspace }} -Name "triplets_overlay" -ItemType Directory | ||||
|         Copy-Item ${{ env.RUNVCPKG_VCPKG_ROOT }}/triplets/x64-windows-static.cmake ` | ||||
|           ${{ github.workspace }}/triplets_overlay/x64-windows-static-release.cmake | ||||
|         Add-Content ${{ github.workspace }}/triplets_overlay/x64-windows-static-release.cmake ` | ||||
|           -Value "set(VCPKG_BUILD_TYPE release)" | ||||
|  | ||||
|     # clear buildtrees after each package installation to reduce disk space requirements | ||||
|     - name: install dependencies via vcpkg | ||||
|       run: | | ||||
|         $packages = ` | ||||
|           "boost-circular-buffer:x64-windows-static-release", | ||||
|           "libtorrent:x64-windows-static-release", | ||||
|           "qt5-base:x64-windows-static-release", | ||||
|           "qt5-svg:x64-windows-static-release", | ||||
|           "qt5-tools:x64-windows-static-release", | ||||
|           "qt5-winextras:x64-windows-static-release" | ||||
|         ${{ env.RUNVCPKG_VCPKG_ROOT }}/vcpkg.exe upgrade ` | ||||
|             --overlay-triplets=${{ github.workspace }}/triplets_overlay ` | ||||
|             --overlay-ports=${{ github.workspace }}/vcpkg ` | ||||
|             --no-dry-run | ||||
|         foreach($package in $packages) | ||||
|         { | ||||
|           ${{ env.RUNVCPKG_VCPKG_ROOT }}/vcpkg.exe install $package ` | ||||
|             --overlay-triplets=${{ github.workspace }}/triplets_overlay ` | ||||
|             --overlay-ports=${{ github.workspace }}/vcpkg ` | ||||
|             --clean-after-build | ||||
|         } | ||||
|  | ||||
|     # NOTE: this is necessary to correctly find and use cl.exe with the Ninja generator for now | ||||
|     - name: setup devcmd | ||||
|       uses: ilammy/msvc-dev-cmd@v1 | ||||
|  | ||||
|     - name: build qBittorrent | ||||
|       shell: cmd | ||||
|       run: | | ||||
|         cmake -B build -G "Ninja" ^ | ||||
|           -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ^ | ||||
|           -DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_DEST_WIN }}\scripts\buildsystems\vcpkg.cmake ^ | ||||
|           -DVCPKG_TARGET_TRIPLET=x64-windows-static-release ^ | ||||
|           -DVERBOSE_CONFIGURE=ON ^ | ||||
|           -DMSVC_RUNTIME_DYNAMIC=OFF ^ | ||||
|           --graphviz=build\target_graph.dot | ||||
|         cmake --build build | ||||
|  | ||||
|     - name: upload artifact as zip | ||||
|       uses: actions/upload-artifact@v2 | ||||
|       with: | ||||
|         name: qBittorrent-CI_Windows-x64 | ||||
|         path: | | ||||
|           build/compile_commands.json | ||||
|           build/target_graph.dot | ||||
|           build/qbittorrent.exe | ||||
|           build/qbittorrent.pdb | ||||
|           dist/windows/qt.conf | ||||
|  | ||||
|   ci_macos: | ||||
|     name: macOS + vcpkg | ||||
|  | ||||
|     strategy: | ||||
|       matrix: | ||||
|         qbt_gui: ["GUI=ON", "GUI=OFF"] | ||||
|       fail-fast: false | ||||
|  | ||||
|     runs-on: macos-10.15 | ||||
|  | ||||
|     defaults: | ||||
|       run: | ||||
|         shell: pwsh | ||||
|  | ||||
|     steps: | ||||
|     - name: checkout repository | ||||
|       uses: actions/checkout@v2 | ||||
|  | ||||
|     # - ninja is needed for building qBittorrent (because it's preferrable, not a hard requirement) | ||||
|     # - automake is needed for the installation the vcpkg installation of fontconfig, a dependency of qt5-base | ||||
|     - name: install additional required packages with homebrew | ||||
|       shell: bash | ||||
|       run: | | ||||
|         brew install automake ninja | ||||
|  | ||||
|     - name: setup vcpkg (cached, if possible) | ||||
|       uses: lukka/run-vcpkg@v4 | ||||
|       with: | ||||
|         vcpkgDirectory: ${{ env.VCPKG_DEST_MACOS }} | ||||
|         vcpkgGitCommitId: ${{ env.VCPKG_COMMIT }} | ||||
|         setupOnly: true | ||||
|  | ||||
|     - name: configure vcpkg triplet overlay for release builds only | ||||
|       run: | | ||||
|         New-Item -Path ${{ github.workspace }} -Name "triplets_overlay" -ItemType Directory | ||||
|         Copy-Item ${{ env.RUNVCPKG_VCPKG_ROOT }}/triplets/x64-osx.cmake ` | ||||
|           ${{ github.workspace }}/triplets_overlay/x64-osx-release.cmake | ||||
|         Add-Content ${{ github.workspace }}/triplets_overlay/x64-osx-release.cmake ` | ||||
|           -Value "set(VCPKG_BUILD_TYPE release)","set(VCPKG_OSX_DEPLOYMENT_TARGET 10.15)" | ||||
|  | ||||
|     - name: install dependencies via vcpkg | ||||
|       run: | | ||||
|         $packages = ` | ||||
|           "boost-circular-buffer:x64-osx-release", | ||||
|           "libtorrent:x64-osx-release", | ||||
|           "qt5-base:x64-osx-release", | ||||
|           "qt5-svg:x64-osx-release", | ||||
|           "qt5-tools:x64-osx-release", | ||||
|           "qt5-macextras:x64-osx-release" | ||||
|         ${{ env.RUNVCPKG_VCPKG_ROOT }}/vcpkg upgrade ` | ||||
|             --overlay-triplets=${{ github.workspace }}/triplets_overlay ` | ||||
|             --overlay-ports=${{ github.workspace }}/vcpkg ` | ||||
|             --no-dry-run | ||||
|         foreach($package in $packages) | ||||
|         { | ||||
|           ${{ env.RUNVCPKG_VCPKG_ROOT }}/vcpkg install $package ` | ||||
|             --overlay-triplets=${{ github.workspace }}/triplets_overlay ` | ||||
|             --overlay-ports=${{ github.workspace }}/vcpkg ` | ||||
|             --clean-after-build | ||||
|         } | ||||
|  | ||||
|     - name: build qBittorrent | ||||
|       shell: bash | ||||
|       run: | | ||||
|         cmake -B build -G "Ninja" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
|           -DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_DEST_MACOS }}/scripts/buildsystems/vcpkg.cmake \ | ||||
|           -DVCPKG_TARGET_TRIPLET=x64-osx-release \ | ||||
|           -D${{ matrix.qbt_gui }} \ | ||||
|           -DVERBOSE_CONFIGURE=ON \ | ||||
|           --graphviz=build/target_graph.dot | ||||
|         cmake --build build | ||||
|  | ||||
|     - name: upload artifact as zip | ||||
|       uses: actions/upload-artifact@v2 | ||||
|       with: | ||||
|         name: qBittorrent-CI_macOS_${{ matrix.qbt_gui }} | ||||
|         path: | | ||||
|           build/compile_commands.json | ||||
|           build/target_graph.dot | ||||
|           build/qbittorrent.app | ||||
|           build/qbittorrent-nox.app | ||||
							
								
								
									
										20
									
								
								.github/workflows/ci_file_health.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/ci_file_health.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| name: CI - File health | ||||
|  | ||||
| on: [pull_request, push] | ||||
|  | ||||
| jobs: | ||||
|   ci: | ||||
|     name: Check | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: Install tools | ||||
|         run: | | ||||
|           sudo apt update | ||||
|           sudo apt install zsh | ||||
|  | ||||
|       - name: Check files | ||||
|         run: | | ||||
|           ./.github/workflows/file_health.sh | ||||
							
								
								
									
										73
									
								
								.github/workflows/ci_macos.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										73
									
								
								.github/workflows/ci_macos.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,73 @@ | ||||
| name: CI - macOS | ||||
| on: [pull_request, push] | ||||
|  | ||||
| jobs: | ||||
|   ci: | ||||
|     name: Build | ||||
|     runs-on: macos-10.15 | ||||
|  | ||||
|     strategy: | ||||
|       matrix: | ||||
|         libt_version: ["v1.2.12"] | ||||
|         qbt_gui: ["GUI=ON", "GUI=OFF"] | ||||
|       fail-fast: false | ||||
|  | ||||
|     env: | ||||
|       openssl_root: /usr/local/opt/openssl@1.1 | ||||
|  | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: Setup ccache | ||||
|         uses: hendrikmuhs/ccache-action@v1 | ||||
|         with: | ||||
|           key: ${{ runner.os }} | ||||
|  | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           brew update > /dev/null | ||||
|           brew install \ | ||||
|             cmake ninja \ | ||||
|             boost openssl@1.1 qt@5 zlib | ||||
|           brew link --force \ | ||||
|             qt@5 | ||||
|           # workaround for cmake + Qt | ||||
|           sudo ln -s /usr/local/opt/qt@5/mkspecs /usr/local/mkspecs | ||||
|           sudo ln -s /usr/local/opt/qt@5/plugins /usr/local/plugins | ||||
|  | ||||
|       - name: Install libtorrent | ||||
|         run: | | ||||
|           git clone --branch ${{ matrix.libt_version }} --depth 1 https://github.com/arvidn/libtorrent.git | ||||
|           cd libtorrent | ||||
|           git submodule update --init --recursive | ||||
|           export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" | ||||
|           cmake \ | ||||
|             -B build \ | ||||
|             -G "Ninja" \ | ||||
|             -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
|             -DCMAKE_CXX_STANDARD=17 \ | ||||
|             -Ddeprecated-functions=OFF \ | ||||
|             -DOPENSSL_ROOT_DIR="${{ env.openssl_root }}" | ||||
|           cmake --build build | ||||
|           sudo cmake --install build | ||||
|  | ||||
|       - name: Build qBittorrent | ||||
|         run: | | ||||
|           export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" | ||||
|           cmake \ | ||||
|             -B build \ | ||||
|             -G "Ninja" \ | ||||
|             -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
|             -D${{ matrix.qbt_gui }} \ | ||||
|             -DVERBOSE_CONFIGURE=ON \ | ||||
|             -DOPENSSL_ROOT_DIR="${{ env.openssl_root }}" | ||||
|           cmake --build build | ||||
|  | ||||
|       - name: Upload build artifacts | ||||
|         uses: actions/upload-artifact@v2 | ||||
|         with: | ||||
|           name: qBittorrent-CI_macOS_${{ matrix.qbt_gui }}_libtorrent-${{ matrix.libt_version }} | ||||
|           path: | | ||||
|             build/qbittorrent.app | ||||
|             build/qbittorrent-nox.app | ||||
							
								
								
									
										84
									
								
								.github/workflows/ci_ubuntu.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										84
									
								
								.github/workflows/ci_ubuntu.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,84 @@ | ||||
| name: CI - Ubuntu | ||||
| on: [pull_request, push] | ||||
|  | ||||
| jobs: | ||||
|   ci: | ||||
|     name: Build | ||||
|     runs-on: ubuntu-20.04 | ||||
|  | ||||
|     strategy: | ||||
|       matrix: | ||||
|         libt_version: ["v1.2.12"] | ||||
|         qbt_gui: ["GUI=ON", "GUI=OFF"] | ||||
|       fail-fast: false | ||||
|  | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: Setup ccache | ||||
|         uses: hendrikmuhs/ccache-action@v1 | ||||
|         with: | ||||
|           key: ${{ runner.os }} | ||||
|  | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           sudo apt update | ||||
|           sudo apt install \ | ||||
|             build-essential cmake git ninja-build pkg-config \ | ||||
|             libssl-dev libgeoip-dev zlib1g-dev \ | ||||
|             libboost-dev libboost-chrono-dev libboost-random-dev libboost-system-dev | ||||
|         # sudo apt install libqt5svg5-dev qtbase5-dev qttools5-dev # the Qt version in the standard repositories is too old... | ||||
|  | ||||
|       # this will be installed under /opt/qt515. CMake will still find it automatically without additional hints | ||||
|       # to speed up the process, only the required components are installed rather than the full qt515-meta-full metapackage | ||||
|       - name: Install Qt | ||||
|         run: | | ||||
|           sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-focal | ||||
|           sudo apt install \ | ||||
|             qt515base qt515svg qt515tools | ||||
|  | ||||
|       - name: Install libtorrent | ||||
|         run: | | ||||
|           git clone --branch ${{ matrix.libt_version }} --depth 1 https://github.com/arvidn/libtorrent.git | ||||
|           cd libtorrent | ||||
|           git submodule update --init --recursive | ||||
|           export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" | ||||
|           cmake \ | ||||
|             -B build \ | ||||
|             -G "Ninja" \ | ||||
|             -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
|             -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | ||||
|             -Ddeprecated-functions=OFF \ | ||||
|             --graphviz=cmake-build-dir/target_graph.dot | ||||
|           cmake --build build | ||||
|           sudo cmake --install build | ||||
|  | ||||
|       - name: Build qBittorrent | ||||
|         run: | | ||||
|           export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" | ||||
|           cmake \ | ||||
|             -B build \ | ||||
|             -G "Ninja" \ | ||||
|             -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||
|             -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | ||||
|             -D${{ matrix.qbt_gui }} \ | ||||
|             -DVERBOSE_CONFIGURE=ON \ | ||||
|             --graphviz=build/target_graph.dot | ||||
|           cmake --build build | ||||
|  | ||||
|       - name: Install qBittorrent | ||||
|         run: sudo cmake --install build | ||||
|  | ||||
|       - name: Upload build artifacts | ||||
|         uses: actions/upload-artifact@v2 | ||||
|         with: | ||||
|           name: qBittorrent-CI_ubuntu-20.04-x64_${{ matrix.qbt_gui }}_libtorrent-${{ matrix.libt_version }} | ||||
|           path: | | ||||
|             build/compile_commands.json | ||||
|             build/install_manifest.txt | ||||
|             build/target_graph.dot | ||||
|             build/qbittorrent | ||||
|             build/qbittorrent-nox | ||||
|             libtorrent/cmake-build-dir/compile_commands.json | ||||
|             libtorrent/cmake-build-dir/target_graph.dot | ||||
							
								
								
									
										32
									
								
								.github/workflows/ci_webui.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								.github/workflows/ci_webui.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
| name: CI - WebUI | ||||
|  | ||||
| on: [pull_request, push] | ||||
|  | ||||
| jobs: | ||||
|   ci: | ||||
|     name: Check | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     defaults: | ||||
|       run: | ||||
|         working-directory: src/webui/www | ||||
|  | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: Setup nodejs | ||||
|         uses: actions/setup-node@v2 | ||||
|         with: | ||||
|           node-version: 'lts/*' | ||||
|  | ||||
|       - name: Install tools | ||||
|         run: npm install | ||||
|  | ||||
|       - name: Lint code | ||||
|         run: npm run lint | ||||
|  | ||||
|       - name: Format code | ||||
|         run: | | ||||
|           npm run format | ||||
|           git diff --exit-code | ||||
							
								
								
									
										85
									
								
								.github/workflows/ci_windows.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										85
									
								
								.github/workflows/ci_windows.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,85 @@ | ||||
| name: CI - Windows | ||||
| on: [pull_request, push] | ||||
|  | ||||
| jobs: | ||||
|   ci: | ||||
|     name: Build | ||||
|     runs-on: windows-2019 | ||||
|  | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: Install build tools | ||||
|         run: | | ||||
|           choco install ninja | ||||
|  | ||||
|       # use the preinstalled vcpkg from image | ||||
|       # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#package-management | ||||
|       - name: Setup vcpkg | ||||
|         uses: lukka/run-vcpkg@v7 | ||||
|         with: | ||||
|           vcpkgDirectory: C:/vcpkg | ||||
|           doNotUpdateVcpkg: true  # the preinstalled vcpkg is updated regularly | ||||
|           setupOnly: true | ||||
|  | ||||
|       # tell vcpkg to only build Release variants of the dependencies | ||||
|       - name: Configure vcpkg triplet overlay | ||||
|         run: | | ||||
|           New-Item ` | ||||
|             -Path "${{ github.workspace }}" ` | ||||
|             -Name "triplets_overlay" ` | ||||
|             -ItemType Directory | ||||
|           Copy-Item ` | ||||
|             "${{ env.RUNVCPKG_VCPKG_ROOT }}/triplets/x64-windows-static.cmake" ` | ||||
|             "${{ github.workspace }}/triplets_overlay/x64-windows-static-release.cmake" | ||||
|           Add-Content ` | ||||
|             "${{ github.workspace }}/triplets_overlay/x64-windows-static-release.cmake" ` | ||||
|             -Value "set(VCPKG_BUILD_TYPE release)" | ||||
|  | ||||
|       # clear buildtrees after each package installation to reduce disk space requirements | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           $packages = ` | ||||
|             "boost-circular-buffer:x64-windows-static-release", | ||||
|             "libtorrent:x64-windows-static-release", | ||||
|             "qt5-base:x64-windows-static-release", | ||||
|             "qt5-svg:x64-windows-static-release", | ||||
|             "qt5-tools:x64-windows-static-release", | ||||
|             "qt5-winextras:x64-windows-static-release" | ||||
|           ${{ env.RUNVCPKG_VCPKG_ROOT }}/vcpkg.exe upgrade ` | ||||
|             --overlay-triplets="${{ github.workspace }}/triplets_overlay" ` | ||||
|             --no-dry-run | ||||
|           ${{ env.RUNVCPKG_VCPKG_ROOT }}/vcpkg.exe install ` | ||||
|             --overlay-triplets="${{ github.workspace }}/triplets_overlay" ` | ||||
|             --clean-after-build ` | ||||
|             $packages | ||||
|  | ||||
|       # this is necessary to correctly find and use cl.exe with the Ninja generator for now | ||||
|       - name: Setup devcmd | ||||
|         uses: ilammy/msvc-dev-cmd@v1 | ||||
|  | ||||
|       - name: Build qBittorrent | ||||
|         run: | | ||||
|           cmake ` | ||||
|             -B build ` | ||||
|             -G "Ninja" ` | ||||
|             -DCMAKE_BUILD_TYPE=RelWithDebInfo ` | ||||
|             -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ` | ||||
|             -DCMAKE_TOOLCHAIN_FILE="${{ env.RUNVCPKG_VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake" ` | ||||
|             -DMSVC_RUNTIME_DYNAMIC=OFF ` | ||||
|             -DVCPKG_TARGET_TRIPLET=x64-windows-static-release ` | ||||
|             -DVERBOSE_CONFIGURE=ON ` | ||||
|             --graphviz=build/target_graph.dot | ||||
|           cmake --build build | ||||
|  | ||||
|       - name: Upload build artifacts | ||||
|         uses: actions/upload-artifact@v2 | ||||
|         with: | ||||
|           name: qBittorrent-CI_Windows-x64 | ||||
|           path: | | ||||
|             build/compile_commands.json | ||||
|             build/qbittorrent.exe | ||||
|             build/qbittorrent.pdb | ||||
|             build/target_graph.dot | ||||
|             dist/windows/qt.conf | ||||
							
								
								
									
										4
									
								
								.github/workflows/file_health.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/file_health.sh
									
									
									
									
										vendored
									
									
								
							| @@ -11,9 +11,9 @@ regressions=0 | ||||
| # exclusions (these are just grep extended regular expressions to match against paths relative to the root of the repository) | ||||
| exclusions_nonutf8='(.*(7z|gif|ic(ns|o)|png|qm|zip))' | ||||
| exclusions_bom='src/base/unicodestrings.h' | ||||
| exclusions_tw='(*.ts)|src/webui/www/private/scripts/lib/mootools-1.2-more.js' | ||||
| exclusions_tw='(*.ts)|src/webui/www/private/scripts/lib/*' | ||||
| exclusions_trailing_newline='configure' | ||||
| exclusions_no_lf='(*.ts)|(.*svg)|compile_commands.json|src/webui/www/private/scripts/lib/mootools-1.2-(core-yc.js|more.js)' | ||||
| exclusions_no_lf='(*.ts)|(.*svg)|compile_commands.json|src/webui/www/private/scripts/lib/*' | ||||
|  | ||||
| echo -e "\n*** Detect files not encoded in UTF-8 ***\n" | ||||
|  | ||||
|   | ||||
							
								
								
									
										22
									
								
								.github/workflows/file_health.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/file_health.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -1,22 +0,0 @@ | ||||
| name: GitHub Actions file health check | ||||
|  | ||||
| on: [pull_request, push] | ||||
|  | ||||
| jobs: | ||||
|   check_file_health: | ||||
|     name: Check file health | ||||
|  | ||||
|     runs-on: ubuntu-20.04 | ||||
|  | ||||
|     steps: | ||||
|     - name: checkout repository | ||||
|       uses: actions/checkout@v2 | ||||
|  | ||||
|     - name: install zsh | ||||
|       run: | | ||||
|         sudo apt update | ||||
|         sudo apt install zsh | ||||
|  | ||||
|     - name: run check file health script | ||||
|       run: | | ||||
|         ./.github/workflows/file_health.sh | ||||
							
								
								
									
										31
									
								
								.github/workflows/webui_ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										31
									
								
								.github/workflows/webui_ci.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -1,31 +0,0 @@ | ||||
| name: WebUI CI | ||||
|  | ||||
| on: [pull_request, push] | ||||
|  | ||||
| jobs: | ||||
|   check_webui: | ||||
|     name: Check WebUI | ||||
|     runs-on: ubuntu-20.04 | ||||
|     defaults: | ||||
|       run: | ||||
|         working-directory: src/webui/www | ||||
|  | ||||
|     steps: | ||||
|     - name: checkout repository | ||||
|       uses: actions/checkout@v2 | ||||
|  | ||||
|     - name: setup nodejs | ||||
|       uses: actions/setup-node@v2 | ||||
|       with: | ||||
|         node-version: '14' | ||||
|  | ||||
|     - name: install tools | ||||
|       run: npm install | ||||
|  | ||||
|     - name: lint code | ||||
|       run: npm run lint | ||||
|  | ||||
|     - name: format code | ||||
|       run: | | ||||
|         npm run format | ||||
|         git diff --exit-code | ||||
							
								
								
									
										188
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										188
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -1,188 +0,0 @@ | ||||
| language: cpp | ||||
|  | ||||
| os: | ||||
|   - linux | ||||
|   - osx | ||||
|  | ||||
| dist: focal | ||||
| osx_image: xcode12.2 | ||||
|  | ||||
| env: | ||||
|   matrix: | ||||
|     - libt_branch=RC_1_2 gui=true build_system=qmake | ||||
|     - libt_branch=RC_1_2 gui=false build_system=qmake | ||||
|     - libt_branch=RC_1_2 gui=true build_system=cmake | ||||
|     - libt_branch=RC_1_2 gui=false build_system=cmake | ||||
|   global: | ||||
|     - secure: "OI9CUjj4lTb0HwwIZU5PbECU3hLlAL6KC8KsbwohG8/O3j5fLcnmDsK4Ad9us5cC39sS11Jcd1kDP2qRcCuST/glVNhLkcjKkiQerOfd5nQ/qL4JYfz/1mfP5mdpz9jHKzpLUIG+TXkbSTjP6VVmsb5KPT+3pKEdRFZB+Pu9+J8=" | ||||
|     - coverity_branch: coverity_scan | ||||
|  | ||||
| jobs: | ||||
|   include: | ||||
|   - env: libt_branch=RC_2_0 gui=true build_system=qmake | ||||
|     os: linux | ||||
|  | ||||
| notifications: | ||||
|   email: | ||||
|     on_success: change | ||||
|     on_failure: change | ||||
|  | ||||
| cache: | ||||
|   ccache: true | ||||
|   directories: | ||||
|     - $HOME/travis/deb | ||||
|     - $HOME/travis/brew | ||||
|  | ||||
| addons: | ||||
|   coverity_scan: | ||||
|     project: | ||||
|       name: "qbittorrent/qBittorrent" | ||||
|       description: "Build submitted via Travis CI" | ||||
|     build_command_prepend: "./bootstrap.sh && ./configure $qmake_conf" | ||||
|     build_command: "make -j2" | ||||
|     branch_pattern: $coverity_branch | ||||
|     notification_email: sledgehammer999@qbittorrent.org | ||||
|   apt: | ||||
|     sources: | ||||
|       # sources list: https://github.com/travis-ci/apt-source-safelist/blob/master/ubuntu.json | ||||
|       - sourceline: 'deb https://apt.kitware.com/ubuntu/ focal main' | ||||
|         key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc' | ||||
|     packages: | ||||
|       # packages list: https://github.com/travis-ci/apt-package-safelist/blob/master/ubuntu-trusty | ||||
|       - [autoconf, automake, cmake, colormake] | ||||
|       - [libboost-dev, libboost-system-dev] | ||||
|       - libssl-dev | ||||
|       - [qtbase5-dev, libqt5svg5-dev, qttools5-dev] | ||||
|       - zlib1g-dev | ||||
|  | ||||
| before_install: | ||||
|   # only allow specific build for coverity scan, others will stop | ||||
|   - if [ "$TRAVIS_BRANCH" = "$coverity_branch" ] && ! [ "$TRAVIS_OS_NAME" = "linux" -a "$libt_branch" = "RC_1_2" -a "$gui" = "true" -a "$build_system" = "qmake" ]; then exit ; fi | ||||
|  | ||||
|   - shopt -s expand_aliases | ||||
|   - alias make="colormake -j2" # Using nprocs/2 sometimes may fail (gcc is killed by system) | ||||
|   - qbt_path="$HOME/qbt_install" | ||||
|   - qmake_conf="$qmake_conf --prefix=$qbt_path" | ||||
|   - cmake_conf="$cmake_conf -DCMAKE_INSTALL_PREFIX=$qbt_path" | ||||
|  | ||||
|   # options for specific branches | ||||
|   - | | ||||
|     if [ "$TRAVIS_OS_NAME" = "linux" ]; then | ||||
|       # setup virtual display for after_success target | ||||
|       if [ "$gui" = "true" ]; then export "DISPLAY=:99.0" && /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 ; fi ; | ||||
|       # CMake from Kitware is installed in /usr/bin | ||||
|       # TravisCI installs its own cmake to another location which ovverides other installations | ||||
|       # if they don't call the new binary directly | ||||
|       alias cmake="/usr/bin/cmake" | ||||
|  | ||||
|       export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" | ||||
|     fi | ||||
|   - | | ||||
|     if [ "$TRAVIS_OS_NAME" = "osx" ]; then | ||||
|       CXXFLAGS="$CXXFLAGS -Wno-unused-local-typedefs" | ||||
|  | ||||
|       openssl_root_path="/usr/local/opt/openssl" | ||||
|       qmake_conf="$qmake_conf PKG_CONFIG_PATH=$openssl_root_path/lib/pkgconfig:$PKG_CONFIG_PATH" | ||||
|       cmake_conf="$cmake_conf -DOPENSSL_ROOT_DIR=$openssl_root_path" | ||||
|     fi | ||||
|   - | | ||||
|     if [ "$gui" = "false" ]; then | ||||
|       qmake_conf="$qmake_conf --disable-gui" | ||||
|       cmake_conf="$cmake_conf -DGUI=OFF" | ||||
|     fi | ||||
|  | ||||
|   # print settings | ||||
|   - echo $libt_branch | ||||
|   - echo $gui | ||||
|   - echo $build_system | ||||
|   - echo $qmake_conf | ||||
|   - echo $cmake_conf | ||||
|  | ||||
| install: | ||||
|   - | | ||||
|     if [ "$TRAVIS_OS_NAME" = "osx" ]; then | ||||
|       # dependencies | ||||
|       PATH="/usr/local/opt/ccache/libexec:$PATH" | ||||
|  | ||||
|       brew update > /dev/null | ||||
|       brew upgrade cmake | ||||
|       brew install ccache colormake boost openssl qt@5 zlib | ||||
|       brew link --force qt@5 zlib | ||||
|  | ||||
|       if [ "$build_system" = "cmake" ]; then | ||||
|         sudo ln -s /usr/local/opt/qt/mkspecs /usr/local/mkspecs | ||||
|         sudo ln -s /usr/local/opt/qt/plugins /usr/local/plugins | ||||
|       fi | ||||
|     fi | ||||
|   - | | ||||
|     if [ "$TRAVIS_BRANCH" != "$coverity_branch" ]; then | ||||
|       export use_ccache=true | ||||
|       ccache -M 512M | ||||
|       ccache -V && ccache --show-stats && ccache --zero-stats | ||||
|     fi | ||||
|   - | | ||||
|     if [ "$libt_branch" = "RC_1_2" ]; then | ||||
|       pushd "$HOME" | ||||
|       git clone --single-branch --branch RC_1_2 https://github.com/arvidn/libtorrent.git | ||||
|       cd libtorrent | ||||
|       git checkout tags/v1.2.12 | ||||
|  | ||||
|       cmake \ | ||||
|         -DCMAKE_BUILD_TYPE=Release \ | ||||
|         -DCMAKE_CXX_STANDARD=17 \ | ||||
|         -Ddeprecated-functions=OFF \ | ||||
|         -DOPENSSL_ROOT_DIR="$openssl_root_path" \ | ||||
|         ./ | ||||
|       make | ||||
|       sudo make install | ||||
|       popd | ||||
|     elif [ "$libt_branch" = "RC_2_0" ]; then | ||||
|       pushd "$HOME" | ||||
|       git clone --single-branch --branch RC_2_0 https://github.com/arvidn/libtorrent.git | ||||
|       cd libtorrent | ||||
|       git checkout tags/v2.0.2 | ||||
|       git submodule update --init --recursive | ||||
|  | ||||
|       cmake \ | ||||
|         -DCMAKE_BUILD_TYPE=Release \ | ||||
|         -DCMAKE_CXX_STANDARD=17 \ | ||||
|         -Ddeprecated-functions=OFF \ | ||||
|         -DOPENSSL_ROOT_DIR="$openssl_root_path" \ | ||||
|         ./ | ||||
|       make | ||||
|       sudo make install | ||||
|       popd | ||||
|     fi | ||||
|  | ||||
| script: | ||||
|   - if [ "$TRAVIS_BRANCH" = "$coverity_branch" ]; then exit ; fi # skip usual build when running coverity scan | ||||
|   - | | ||||
|     cd "$TRAVIS_BUILD_DIR" | ||||
|     if [ "$build_system" = "qmake" ]; then | ||||
|       # scan only as lupdate is prone to hang | ||||
|       lupdate -extensions c,cpp,h,hpp,ui ./ | ||||
|       ./bootstrap.sh | ||||
|       ./configure $qmake_conf CXXFLAGS="$CXXFLAGS" | ||||
|     else | ||||
|       mkdir build && cd build | ||||
|       cmake $cmake_conf ../ | ||||
|     fi | ||||
|   - make | ||||
|   - make install | ||||
|  | ||||
| after_success: | ||||
|   - if [ "$gui" = "true" ]; then qbt_exe="qbittorrent" ; else qbt_exe="qbittorrent-nox" ; fi | ||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd "$qbt_path/bin" ; fi | ||||
|   - | | ||||
|     if [ "$TRAVIS_OS_NAME" = "osx" ]; then | ||||
|       if [ "$build_system" = "qmake" ]; then | ||||
|         macdeployqt "$TRAVIS_BUILD_DIR/src/$qbt_exe.app" | ||||
|         cd "$TRAVIS_BUILD_DIR/src/$qbt_exe.app/Contents/MacOS" | ||||
|       else | ||||
|         cd "$qbt_path/$qbt_exe.app/Contents/MacOS" | ||||
|       fi | ||||
|     fi | ||||
|   - ./$qbt_exe --version | ||||
|  | ||||
| after_script: | ||||
|   - if [ "$use_ccache" = true ]; then ccache --show-stats ; fi | ||||
| @@ -10,7 +10,7 @@ project(qBittorrent | ||||
|  | ||||
| # use CONFIG mode first in find_package | ||||
| set(CMAKE_FIND_PACKAGE_PREFER_CONFIG ON) | ||||
| # version requirements - older vesions may work, but you are on your own | ||||
| # version requirements - older versions may work, but you are on your own | ||||
| set(minBoostVersion 1.65) | ||||
| set(minQtVersion 5.11) | ||||
| set(minOpenSSLVersion 1.1.1) | ||||
|   | ||||
							
								
								
									
										65
									
								
								COPYING
									
									
									
									
									
								
							
							
						
						
									
										65
									
								
								COPYING
									
									
									
									
									
								
							| @@ -18,8 +18,8 @@ See also the AUTHORS file | ||||
|                     GNU GENERAL PUBLIC LICENSE | ||||
|                        Version 2, June 1991 | ||||
|  | ||||
|  Copyright (C) 1989, 1991 Free Software Foundation, Inc. | ||||
|                        51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA | ||||
|  Copyright (C) 1989, 1991 Free Software Foundation, Inc., | ||||
|  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  Everyone is permitted to copy and distribute verbatim copies | ||||
|  of this license document, but changing it is not allowed. | ||||
|  | ||||
| @@ -32,7 +32,7 @@ software--to make sure the software is free for all its users.  This | ||||
| General Public License applies to most of the Free Software | ||||
| Foundation's software and to any other program whose authors commit to | ||||
| using it.  (Some other Free Software Foundation software is covered by | ||||
| the GNU Library General Public License instead.)  You can apply it to | ||||
| the GNU Lesser General Public License instead.)  You can apply it to | ||||
| your programs, too. | ||||
|  | ||||
|   When we speak of free software, we are referring to freedom, not | ||||
| @@ -295,3 +295,62 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | ||||
| POSSIBILITY OF SUCH DAMAGES. | ||||
|  | ||||
|                      END OF TERMS AND CONDITIONS | ||||
|  | ||||
|             How to Apply These Terms to Your New Programs | ||||
|  | ||||
|   If you develop a new program, and you want it to be of the greatest | ||||
| possible use to the public, the best way to achieve this is to make it | ||||
| free software which everyone can redistribute and change under these terms. | ||||
|  | ||||
|   To do so, attach the following notices to the program.  It is safest | ||||
| to attach them to the start of each source file to most effectively | ||||
| convey the exclusion of warranty; and each file should have at least | ||||
| the "copyright" line and a pointer to where the full notice is found. | ||||
|  | ||||
|     <one line to give the program's name and a brief idea of what it does.> | ||||
|     Copyright (C) <year>  <name of author> | ||||
|  | ||||
|     This program is free software; you can redistribute it and/or modify | ||||
|     it under the terms of the GNU General Public License as published by | ||||
|     the Free Software Foundation; either version 2 of the License, or | ||||
|     (at your option) any later version. | ||||
|  | ||||
|     This program is distributed in the hope that it will be useful, | ||||
|     but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|     GNU General Public License for more details. | ||||
|  | ||||
|     You should have received a copy of the GNU General Public License along | ||||
|     with this program; if not, write to the Free Software Foundation, Inc., | ||||
|     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||||
|  | ||||
| Also add information on how to contact you by electronic and paper mail. | ||||
|  | ||||
| If the program is interactive, make it output a short notice like this | ||||
| when it starts in an interactive mode: | ||||
|  | ||||
|     Gnomovision version 69, Copyright (C) year name of author | ||||
|     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||||
|     This is free software, and you are welcome to redistribute it | ||||
|     under certain conditions; type `show c' for details. | ||||
|  | ||||
| The hypothetical commands `show w' and `show c' should show the appropriate | ||||
| parts of the General Public License.  Of course, the commands you use may | ||||
| be called something other than `show w' and `show c'; they could even be | ||||
| mouse-clicks or menu items--whatever suits your program. | ||||
|  | ||||
| You should also get your employer (if you work as a programmer) or your | ||||
| school, if any, to sign a "copyright disclaimer" for the program, if | ||||
| necessary.  Here is a sample; alter the names: | ||||
|  | ||||
|   Yoyodyne, Inc., hereby disclaims all copyright interest in the program | ||||
|   `Gnomovision' (which makes passes at compilers) written by James Hacker. | ||||
|  | ||||
|   <signature of Ty Coon>, 1 April 1989 | ||||
|   Ty Coon, President of Vice | ||||
|  | ||||
| This General Public License does not permit incorporating your program into | ||||
| proprietary programs.  If your program is a subroutine library, you may | ||||
| consider it more useful to permit linking proprietary applications with the | ||||
| library.  If this is what you want to do, use the GNU Lesser General | ||||
| Public License instead of this License. | ||||
|   | ||||
							
								
								
									
										30
									
								
								Changelog
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								Changelog
									
									
									
									
									
								
							| @@ -1,3 +1,33 @@ | ||||
| Sun Aug 29 2021 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v4.3.8 | ||||
|     - BUGFIX: Delay processing of watched folders (#15282) (glassez) | ||||
|     - BUGFIX: Use the same icon for selecting folders/files (Chocobo1) | ||||
|     - BUGFIX: Use default upper limits for ddns entries (Chocobo1) | ||||
|     - WEBUI: Expose SSRF mitigation (#15247) (Sylvain Finot) | ||||
|     - WEBUI: Update webui libraries (Chocobo1) | ||||
|     - WEBUI: Group trackers by hostname (#15264) (Mengyang Li) | ||||
|     - WEBUI: Improve "last activity" calculation in WebAPI (#15339) (Chocobo1) | ||||
|     - WINDOWS: NSIS: Add Polish translation (#15262) (Matthaiks) | ||||
|  | ||||
| Tue Aug 03 2021 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v4.3.7 | ||||
|     - BUGFIX: Don't forget to start Watched folders timer (glassez) | ||||
|     - BUGFIX: Don't close tags menu when toggling items (tgregerson) | ||||
|     - BUGFIX: Don't overwrite tracker message (glassez) | ||||
|     - BUGFIX: Bump file pool size (#14966) (An0n) | ||||
|     - BUGFIX: Properly create "clean path" for watched folder (glassez) | ||||
|     - WEBUI: Disconnect comment links (Daniel Aleksandersen) | ||||
|     - WINDOWS: NSIS: Update Danish translation (scootergrisen) | ||||
|  | ||||
| Sat Jun 26 2021 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v4.3.6 | ||||
|     - FEATURE: New languages: Mongolian, Persian, Thai | ||||
|     - BUGFIX: Provide correct error description in "upload mode" (glassez) | ||||
|     - BUGFIX: Allow adding torrents with relative save path (glassez) | ||||
|     - BUGFIX: Fix main window turns blank after restoring from tray (#15031) (Chocobo1) | ||||
|     - BUGFIX: Remove the lockfile on exit (#14997) (brvphoenix) | ||||
|     - BUGFIX: Improve "Watched folders" feature (glassez) | ||||
|     - BUGFIX: Keep sub-sorting order (#15074) (Dmitry Khlestkov) | ||||
|     - BUGFIX: Properly add torrent with new tags (glassez) | ||||
|     - WINDOWS: NSIS: Update Japanese, Turkish, Hungarian, Swedish translation (maboroshin, Burak Yavuz, xkrstudio, nonew-star) | ||||
|  | ||||
| Sun May 02 2021 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v4.3.5 | ||||
|     - BUGFIX: Move cursor to the end when autofilling URL/hash in "Download from URLs" dialog (Chocobo1) | ||||
|     - BUGFIX: Sort invalid QDateTime values after valid values (Chocobo1) | ||||
|   | ||||
| @@ -1,7 +1,6 @@ | ||||
| qBittorrent - A BitTorrent client in Qt | ||||
| ------------------------------------------ | ||||
|  | ||||
| [](https://travis-ci.org/qbittorrent/qBittorrent) | ||||
| [](https://ci.appveyor.com/project/qbittorrent/qBittorrent) | ||||
| [](https://github.com/qbittorrent/qBittorrent/actions) | ||||
| [](https://scan.coverity.com/projects/5494) | ||||
| @@ -46,8 +45,8 @@ http://forum.qbittorrent.org | ||||
| Please report any bug (or feature request) to: | ||||
| http://bugs.qbittorrent.org | ||||
|  | ||||
| You can also meet me (sledgehammer_999) on IRC: | ||||
| `#qbittorrent on irc.freenode.net` | ||||
| Official IRC channel: | ||||
| `#qbittorrent on irc.libera.chat` | ||||
|  | ||||
| ------------------------------------------ | ||||
| sledgehammer999 <sledgehammer999@qbittorrent.org> | ||||
|   | ||||
							
								
								
									
										20
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -1,6 +1,6 @@ | ||||
| #! /bin/sh | ||||
| # Guess values for system-dependent variables and create Makefiles. | ||||
| # Generated by GNU Autoconf 2.70 for qbittorrent v4.3.5. | ||||
| # Generated by GNU Autoconf 2.70 for qbittorrent v4.3.8. | ||||
| # | ||||
| # Report bugs to <bugs.qbittorrent.org>. | ||||
| # | ||||
| @@ -610,8 +610,8 @@ MAKEFLAGS= | ||||
| # Identity of this package. | ||||
| PACKAGE_NAME='qbittorrent' | ||||
| PACKAGE_TARNAME='qbittorrent' | ||||
| PACKAGE_VERSION='v4.3.5' | ||||
| PACKAGE_STRING='qbittorrent v4.3.5' | ||||
| PACKAGE_VERSION='v4.3.8' | ||||
| PACKAGE_STRING='qbittorrent v4.3.8' | ||||
| PACKAGE_BUGREPORT='bugs.qbittorrent.org' | ||||
| PACKAGE_URL='https://www.qbittorrent.org/' | ||||
|  | ||||
| @@ -1330,7 +1330,7 @@ if test "$ac_init_help" = "long"; then | ||||
|   # Omit some internal or obsolete options to make the list less imposing. | ||||
|   # This message is too long to be a string in the A/UX 3.1 sh. | ||||
|   cat <<_ACEOF | ||||
| \`configure' configures qbittorrent v4.3.5 to adapt to many kinds of systems. | ||||
| \`configure' configures qbittorrent v4.3.8 to adapt to many kinds of systems. | ||||
|  | ||||
| Usage: $0 [OPTION]... [VAR=VALUE]... | ||||
|  | ||||
| @@ -1401,7 +1401,7 @@ fi | ||||
|  | ||||
| if test -n "$ac_init_help"; then | ||||
|   case $ac_init_help in | ||||
|      short | recursive ) echo "Configuration of qbittorrent v4.3.5:";; | ||||
|      short | recursive ) echo "Configuration of qbittorrent v4.3.8:";; | ||||
|    esac | ||||
|   cat <<\_ACEOF | ||||
|  | ||||
| @@ -1538,7 +1538,7 @@ fi | ||||
| test -n "$ac_init_help" && exit $ac_status | ||||
| if $ac_init_version; then | ||||
|   cat <<\_ACEOF | ||||
| qbittorrent configure v4.3.5 | ||||
| qbittorrent configure v4.3.8 | ||||
| generated by GNU Autoconf 2.70 | ||||
|  | ||||
| Copyright (C) 2020 Free Software Foundation, Inc. | ||||
| @@ -1700,7 +1700,7 @@ cat >config.log <<_ACEOF | ||||
| This file contains any messages produced by compilers while | ||||
| running configure, to aid debugging if configure makes a mistake. | ||||
|  | ||||
| It was created by qbittorrent $as_me v4.3.5, which was | ||||
| It was created by qbittorrent $as_me v4.3.8, which was | ||||
| generated by GNU Autoconf 2.70.  Invocation command line was | ||||
|  | ||||
|   $ $0$ac_configure_args_raw | ||||
| @@ -4848,7 +4848,7 @@ fi | ||||
|  | ||||
| # Define the identity of the package. | ||||
|  PACKAGE='qbittorrent' | ||||
|  VERSION='v4.3.5' | ||||
|  VERSION='v4.3.8' | ||||
|  | ||||
|  | ||||
| printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h | ||||
| @@ -7401,7 +7401,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||||
| # report actual input values of CONFIG_FILES etc. instead of their | ||||
| # values after options handling. | ||||
| ac_log=" | ||||
| This file was extended by qbittorrent $as_me v4.3.5, which was | ||||
| This file was extended by qbittorrent $as_me v4.3.8, which was | ||||
| generated by GNU Autoconf 2.70.  Invocation command line was | ||||
|  | ||||
|   CONFIG_FILES    = $CONFIG_FILES | ||||
| @@ -7461,7 +7461,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ | ||||
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||||
| ac_cs_config='$ac_cs_config_escaped' | ||||
| ac_cs_version="\\ | ||||
| qbittorrent config.status v4.3.5 | ||||
| qbittorrent config.status v4.3.8 | ||||
| configured by $0, generated by GNU Autoconf 2.70, | ||||
|   with options \\"\$ac_cs_config\\" | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| AC_INIT([qbittorrent], [v4.3.5], [bugs.qbittorrent.org], [], [https://www.qbittorrent.org/]) | ||||
| AC_INIT([qbittorrent], [v4.3.8], [bugs.qbittorrent.org], [], [https://www.qbittorrent.org/]) | ||||
| AC_CONFIG_AUX_DIR([build-aux]) | ||||
| AC_CONFIG_MACRO_DIR([m4]) | ||||
| : ${CFLAGS=""} | ||||
|   | ||||
							
								
								
									
										2
									
								
								dist/mac/Info.plist
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/mac/Info.plist
									
									
									
									
										vendored
									
									
								
							| @@ -55,7 +55,7 @@ | ||||
| 	<key>CFBundlePackageType</key> | ||||
| 	<string>APPL</string> | ||||
| 	<key>CFBundleShortVersionString</key> | ||||
| 	<string>4.3.5</string> | ||||
| 	<string>4.3.8</string> | ||||
| 	<key>CFBundleExecutable</key> | ||||
| 	<string>${EXECUTABLE_NAME}</string> | ||||
| 	<key>CFBundleIdentifier</key> | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_fa.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_fa.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_gl.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_gl.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_lt.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_lt.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_pt.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_pt.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_sl.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_sl.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_zh_CN.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_zh_CN.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_ar.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_ar.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_bg.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_bg.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_ca.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_ca.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_cs.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_cs.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_da.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_da.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_de.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_de.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_es.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_es.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_fi.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qtbase_fi.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user