You've already forked qBittorrent
							
							
				mirror of
				https://github.com/qbittorrent/qBittorrent
				synced 2025-11-02 08:10:54 +01:00 
			
		
		
		
	Compare commits
	
		
			168 Commits
		
	
	
		
			release-4.
			...
			release-4.
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					29e9594859 | ||
| 
						 | 
					e881a42368 | ||
| 
						 | 
					67c6107892 | ||
| 
						 | 
					ea66edd1cb | ||
| 
						 | 
					cb444978ef | ||
| 
						 | 
					2794e883b6 | ||
| 
						 | 
					e86249a4e8 | ||
| 
						 | 
					6f45764629 | ||
| 
						 | 
					5250a8be42 | ||
| 
						 | 
					f3d878324b | ||
| 
						 | 
					43d9d16241 | ||
| 
						 | 
					5ad8f60ca1 | ||
| 
						 | 
					539fe7259e | ||
| 
						 | 
					6521d00d5b | ||
| 
						 | 
					e8010abc8b | ||
| 
						 | 
					99614aaa9d | ||
| 
						 | 
					56342c9c79 | ||
| 
						 | 
					efa748e853 | ||
| 
						 | 
					26ee009e72 | ||
| 
						 | 
					aff4065e42 | ||
| 
						 | 
					1c1cac2cba | ||
| 
						 | 
					ea3c360901 | ||
| 
						 | 
					39fe0025cd | ||
| 
						 | 
					3c17ad566c | ||
| 
						 | 
					97bfd13060 | ||
| 
						 | 
					3e91481672 | ||
| 
						 | 
					e131cd16a1 | ||
| 
						 | 
					a0976f4181 | ||
| 
						 | 
					5366bebb97 | ||
| 
						 | 
					f51cd36c29 | ||
| 
						 | 
					553f443fbc | ||
| 
						 | 
					97a92984c0 | ||
| 
						 | 
					f1489dc2bf | ||
| 
						 | 
					716aad9483 | ||
| 
						 | 
					8c91c03be2 | ||
| 
						 | 
					03e6b6e09d | ||
| 
						 | 
					75d3c03763 | ||
| 
						 | 
					f6b0abbd75 | ||
| 
						 | 
					03e8b9f74f | ||
| 
						 | 
					808f6ad9fb | ||
| 
						 | 
					4cf45aeebf | ||
| 
						 | 
					a0cf80c967 | ||
| 
						 | 
					56183ff5d9 | ||
| 
						 | 
					664dabdb7e | ||
| 
						 | 
					055d752c50 | ||
| 
						 | 
					3e4c2193fb | ||
| 
						 | 
					5c2b8d3e10 | ||
| 
						 | 
					ae9b8720af | ||
| 
						 | 
					30f2d11203 | ||
| 
						 | 
					9a69afb34a | ||
| 
						 | 
					923395b5c7 | ||
| 
						 | 
					9de819ea4a | ||
| 
						 | 
					21c8acd55c | ||
| 
						 | 
					709198d2f1 | ||
| 
						 | 
					87542b4f75 | ||
| 
						 | 
					566ecefbcf | ||
| 
						 | 
					41061f3c39 | ||
| 
						 | 
					703330c40d | ||
| 
						 | 
					5fdd069f66 | ||
| 
						 | 
					0ba8111c37 | ||
| 
						 | 
					5d206acb21 | ||
| 
						 | 
					7f1218a7c7 | ||
| 
						 | 
					c4ed7daf67 | ||
| 
						 | 
					5a09f996ed | ||
| 
						 | 
					dbde206ed4 | ||
| 
						 | 
					0947f93ad3 | ||
| 
						 | 
					f338d267bc | ||
| 
						 | 
					84aa63a3c5 | ||
| 
						 | 
					c2afc50c02 | ||
| 
						 | 
					f72e7c0a8f | ||
| 
						 | 
					575bde1d1d | ||
| 
						 | 
					d15fdf2dde | ||
| 
						 | 
					868fd53551 | ||
| 
						 | 
					66c2e70016 | ||
| 
						 | 
					89ee24fb3e | ||
| 
						 | 
					b02eb32806 | ||
| 
						 | 
					e162aef5be | ||
| 
						 | 
					837528c206 | ||
| 
						 | 
					b19153287b | ||
| 
						 | 
					544d3f9025 | ||
| 
						 | 
					7a463299ea | ||
| 
						 | 
					bbaa3a94c5 | ||
| 
						 | 
					d2834bd7fd | ||
| 
						 | 
					534549142e | ||
| 
						 | 
					5e73afa04e | ||
| 
						 | 
					6ad1ba1d35 | ||
| 
						 | 
					f978b3a002 | ||
| 
						 | 
					2f70d273b4 | ||
| 
						 | 
					2289bf4005 | ||
| 
						 | 
					0cd4900e92 | ||
| 
						 | 
					0ad8dc39e5 | ||
| 
						 | 
					60d133ca6d | ||
| 
						 | 
					000a726e20 | ||
| 
						 | 
					4006818520 | ||
| 
						 | 
					756bc3da54 | ||
| 
						 | 
					fbb01a36e6 | ||
| 
						 | 
					21922ed3b4 | ||
| 
						 | 
					43fe5214d2 | ||
| 
						 | 
					ab6079e0d5 | ||
| 
						 | 
					dc0b1ce227 | ||
| 
						 | 
					1db12e4421 | ||
| 
						 | 
					b160b56306 | ||
| 
						 | 
					0e6627b0f6 | ||
| 
						 | 
					33390bf463 | ||
| 
						 | 
					2a6ddffb22 | ||
| 
						 | 
					06c09f0113 | ||
| 
						 | 
					db258f7461 | ||
| 
						 | 
					81cec1930b | ||
| 
						 | 
					7444227c9a | ||
| 
						 | 
					07196571e8 | ||
| 
						 | 
					b083bd78e7 | ||
| 
						 | 
					e75a65d798 | ||
| 
						 | 
					e1a10a0375 | ||
| 
						 | 
					080c542953 | ||
| 
						 | 
					d7ab472363 | ||
| 
						 | 
					c4eb6eccaf | ||
| 
						 | 
					1c091cef76 | ||
| 
						 | 
					e37b08a879 | ||
| 
						 | 
					39018ef1db | ||
| 
						 | 
					c6cadb6800 | ||
| 
						 | 
					0898196a5f | ||
| 
						 | 
					4b40b80145 | ||
| 
						 | 
					6ade38400e | ||
| 
						 | 
					71ca3a5cc9 | ||
| 
						 | 
					2a3fc0ede1 | ||
| 
						 | 
					1b9fd85497 | ||
| 
						 | 
					c73f61c8d4 | ||
| 
						 | 
					4205e99479 | ||
| 
						 | 
					35c7e6bf2c | ||
| 
						 | 
					37bc47ee04 | ||
| 
						 | 
					c5dc361213 | ||
| 
						 | 
					0c83b3e3a3 | ||
| 
						 | 
					63c9e29419 | ||
| 
						 | 
					7389dc082f | ||
| 
						 | 
					1e05e6a842 | ||
| 
						 | 
					03550a0932 | ||
| 
						 | 
					85c1a9dbe0 | ||
| 
						 | 
					89de23718b | ||
| 
						 | 
					3760b63582 | ||
| 
						 | 
					621ee80539 | ||
| 
						 | 
					7589487c0c | ||
| 
						 | 
					ad7279953e | ||
| 
						 | 
					2bf340a89a | ||
| 
						 | 
					1d9df11e8c | ||
| 
						 | 
					118af03534 | ||
| 
						 | 
					596a71e03d | ||
| 
						 | 
					dab392645d | ||
| 
						 | 
					2d1fa9e154 | ||
| 
						 | 
					3a63fabe9c | ||
| 
						 | 
					3129712f03 | ||
| 
						 | 
					66baf64e17 | ||
| 
						 | 
					1bdeab398a | ||
| 
						 | 
					2bda2a37e3 | ||
| 
						 | 
					027b605fc0 | ||
| 
						 | 
					87e1c80e28 | ||
| 
						 | 
					2d3efbc711 | ||
| 
						 | 
					8e394e0cdb | ||
| 
						 | 
					0623c623d5 | ||
| 
						 | 
					307d8ec360 | ||
| 
						 | 
					5a518d2f35 | ||
| 
						 | 
					93fe20afcd | ||
| 
						 | 
					7f217110cd | ||
| 
						 | 
					4e7b33fadf | ||
| 
						 | 
					7926d1755f | ||
| 
						 | 
					3a13a3d5ca | ||
| 
						 | 
					caa8e1658a | ||
| 
						 | 
					890ccb7b84 | ||
| 
						 | 
					912b076707 | 
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -37,6 +37,9 @@ src/icons/qbt-theme/build-icons/node_modules/
 | 
			
		||||
src/icons/skin/build-icons/node_modules/
 | 
			
		||||
src/icons/skin/build-icons/icons/*.png
 | 
			
		||||
 | 
			
		||||
# CMake build directory
 | 
			
		||||
build/
 | 
			
		||||
 | 
			
		||||
# Web UI tools
 | 
			
		||||
node_modules
 | 
			
		||||
package-lock.json
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										94
									
								
								Changelog
									
									
									
									
									
								
							
							
						
						
									
										94
									
								
								Changelog
									
									
									
									
									
								
							@@ -1,3 +1,97 @@
 | 
			
		||||
Wed Apr 01 2020 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v4.2.3
 | 
			
		||||
    - FEATURE: Add logging for SOCKS5 proxy errors (Chocobo1)
 | 
			
		||||
    - FEATURE: Add UPnP lease duration advanced option (NotTsunami)
 | 
			
		||||
    - BUGFIX: Allow to translate error messages (Chocobo1)
 | 
			
		||||
    - BUGFIX: Don't round scaling factor (Nick Korotysh)
 | 
			
		||||
    - BUGFIX: Save log file in UTF-8 encoding (Chocobo1)
 | 
			
		||||
    - BUGFIX: Avoid log file excessive flushing (Chocobo1)
 | 
			
		||||
    - BUGFIX: Fix regression when fastresume contains network path (Tester798)
 | 
			
		||||
    - BUGFIX: Fix broken UNC paths in fastresumes on Windows (sledgehammer999)
 | 
			
		||||
    - BUGFIX: Prevent multiple instances for the same app config (glassez)
 | 
			
		||||
    - BUGFIX: Fix unexpected torrent resume after app restart with libtorrent 1.1.x (glassez)
 | 
			
		||||
    - WEBUI: Add alt and title tags for WebUI footer (LameLemon)
 | 
			
		||||
    - WINDOWS: Installer: Update Finnish translation (Roope Jukkara)
 | 
			
		||||
    - WINDOWS: Installer: Update Japanese translation (maboroshin)
 | 
			
		||||
    - WINDOWS: Installer: Update Turkish translation (Burak Yavuz)
 | 
			
		||||
    - WINDOWS: Installer: Update Russian translation (Andrei Stepanov)
 | 
			
		||||
 | 
			
		||||
Tue Mar 24 2020 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v4.2.2
 | 
			
		||||
    - FEATURE: Allow transfer list text color changes through QSS (Prince Gupta)
 | 
			
		||||
    - FEATURE: Option to show console when external program is run (sledgehammer999)
 | 
			
		||||
    - FEATURE: Rename Country column to "Country / Region" (Thomas Piccirello)
 | 
			
		||||
    - FEATURE: Change the defaults of some settings (FranciscoPombal)
 | 
			
		||||
    - FEATURE: Refactored Transfer List code to allow theming. As a sideffect the row height has more padding. (glassez)
 | 
			
		||||
    - FEATURE: Allow double-click in preview dialog (thalieht)
 | 
			
		||||
    - FEATURE: Expose stop_tracker_timeout in advanced settings (an0n666)
 | 
			
		||||
    - FEATURE: Add piece_extent_affinity to AdvancedSettings (FranciscoPombal)
 | 
			
		||||
    - FEATURE: Reorganize UI theme selection (Prince Gupta)
 | 
			
		||||
    - FEATURE: Show any multiple connections from the same IP in peer list (thalieht)
 | 
			
		||||
    - FEATURE: Add stalled filters to GUI and Web API/UI (FranciscoPombal)
 | 
			
		||||
    - FEATURE: Use IP geolocation database by DB-IP instead of MaxMind (sledgehammer999)
 | 
			
		||||
    - FEATURE: Allow to save downloaded metadata as torrent file (glassez)
 | 
			
		||||
    - FEATURE: Allow single app instance per configuration (glassez)
 | 
			
		||||
    - PERFORMANCE: Move multiple torrents one by one (glassez)
 | 
			
		||||
    - BUGFIX: Disable Torrent Queue by default for new users (an0n666)
 | 
			
		||||
    - BUGFIX: Update free disk space label on Category change in Auto Mode (Medvedishce)
 | 
			
		||||
    - BUGFIX: Save resume data after recheck (glassez)
 | 
			
		||||
    - BUGFIX: Tracker is errored only if all local endpoints fail (sledgehammer999)
 | 
			
		||||
    - BUGFIX: Change placement of stop tracker timeout setting (An0n)
 | 
			
		||||
    - BUGFIX: Redesign torrent startup handling (glassez)
 | 
			
		||||
    - BUGFIX: Show "∞" instead of " -1" in Preferences (Sakib-Abrar)
 | 
			
		||||
    - BUGFIX: Improve code efficiency for reverse resolution of peers (Chocobo1)
 | 
			
		||||
    - BUGFIX: Handle HTTP redirection to magnet URI (glassez)
 | 
			
		||||
    - BUGFIX: Various fixes for portable mode (Tester798)
 | 
			
		||||
    - BUGFIX: Include resume folder path in exception message (Chocobo1)
 | 
			
		||||
    - BUGFIX: Change placeholder text in torrent list's filter (djt3)
 | 
			
		||||
    - BUGFIX: Improvements in the embedded tracker to be more spec compliant (FranciscoPombal)
 | 
			
		||||
    - BUGFIX: Improve the options tooltips (NotTsunami)
 | 
			
		||||
    - BUGFIX: Check if file exists in seed mode (an0n666)
 | 
			
		||||
    - BUGFIX: Delegate GUI scaling work to Qt (Nick Korotysh)
 | 
			
		||||
    - BUGFIX: Fix crash when renaming torrent contents (Chocobo1)
 | 
			
		||||
    - BUGFIX: Fix total connected peers count calculation (FranciscoPombal)
 | 
			
		||||
    - BUGFIX: Allow other keypresses in LogListWidget (NotTsunami)
 | 
			
		||||
    - BUGFIX: Disable Auto TMM when not using default savepath from monitored folder (thalieht)
 | 
			
		||||
    - WEBUI: Fix first row renaming in files tab (Denis)
 | 
			
		||||
    - WEBUI: Use SVG image for WebUI favicon (Nick Korotysh)
 | 
			
		||||
    - WEBUI: Inherit text color for filter list elements (Nick Korotysh)
 | 
			
		||||
    - WEBUI: Expose WebUI ban counter to users (Chocobo1)
 | 
			
		||||
    - WEBUI: Expose WebUI ban duration to users (Chocobo1)
 | 
			
		||||
    - WEBUI: Implement "Secure" flag for session cookie (FranciscoPombal)
 | 
			
		||||
    - WEBUI: Remove unused/deprecated option (FranciscoPombal)
 | 
			
		||||
    - WEBUI: Prevent excessive sync requests (FranciscoPombal)
 | 
			
		||||
    - WEBUI: Fix populating statistics window (FranciscoPombal)
 | 
			
		||||
    - WEBUI: Fix matching uncategorized torrents (FranciscoPombal)
 | 
			
		||||
    - WEBUI: Always allow whitespace in category names (FranciscoPombal)
 | 
			
		||||
    - SEARCH: Bump python version for new installation (Chocobo1)
 | 
			
		||||
    - SEARCH: Fix missing string (Chocobo1)
 | 
			
		||||
    - SEARCH: Drop python2 support (Chocobo1)
 | 
			
		||||
    - WINDOWS: Installer: Option to start qBittorrent on Windows start up (An0n)
 | 
			
		||||
    - WINDOWS: Installer: Improve Czech translation (slrslr)
 | 
			
		||||
    - WINDOWS: Installer: Update French translation (zywo)
 | 
			
		||||
    - WINDOWS: Installer: Update German translation (schnurlos)
 | 
			
		||||
    - WINDOWS: Installer: Update Japanese translation (maboroshin)
 | 
			
		||||
    - WINDOWS: Path length limitation is removed on Windows 10 1607 onwards (an0n666)
 | 
			
		||||
 | 
			
		||||
Wed Dec 18 2019 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v4.2.1
 | 
			
		||||
    - FEATURE: Enable portable mode if "profile" directory exists (Tester798)
 | 
			
		||||
    - FEATURE: Enable "Apply rate limit to peers on LAN" option by default (Chocobo1)
 | 
			
		||||
    - BUGFIX: Sync translations from Transifex and run lupdate (sledgehammer999)
 | 
			
		||||
    - BUGFIX: Don't unnecessarily delete OS files in folders (sledgehammer999)
 | 
			
		||||
    - BUGFIX: Use the incomplete folder where appropriate (sledgehammer999)
 | 
			
		||||
    - BUGFIX: Align Properties tab bar correctly on window resize (Prince Gupta)
 | 
			
		||||
    - BUGFIX: Rework the listening IP/interface selection code (sledgehammer999)
 | 
			
		||||
    - BUGFIX: Fix inconsistent icon for deleting torrent (Chocobo1)
 | 
			
		||||
    - BUGFIX: Show torrent error message in transfer list (Chocobo1)
 | 
			
		||||
    - BUGFIX: Fix stuck in wrong torrent state (Chocobo1)
 | 
			
		||||
    - BUGFIX: Expand single-item folders in torrent content (warren)
 | 
			
		||||
    - WEBUI: Bump Web API version (sledgehammer999)
 | 
			
		||||
    - WEBUI: Add ability to rename torrent files from the WebUI (Thomas Piccirello)
 | 
			
		||||
    - WEBUI: Mention lack of HTTPS in WebUI magnet link warning (nl6720)
 | 
			
		||||
    - WEBUI: Fix HTML elements size in search tab (Chocobo1)
 | 
			
		||||
    - SEARCH: Fix incorrect translation displayed after language change (Chocobo1)
 | 
			
		||||
    - SEARCH: Fix missing translations in search plugins dialog (Chocobo1)
 | 
			
		||||
    - WINDOWS: Update russian translation of the installer (Andrei Stepanov)
 | 
			
		||||
 | 
			
		||||
Tue Dec 03 2019 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v4.2.0
 | 
			
		||||
    - FEATURE: Libtorrent 1.2.x series are supported now (glassez)
 | 
			
		||||
    - FEATURE: Add OpenSSL version to GUI and stackdump (Chocobo1)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								INSTALL
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								INSTALL
									
									
									
									
									
								
							@@ -17,7 +17,7 @@ qBittorrent - A BitTorrent client in C++ / Qt
 | 
			
		||||
 | 
			
		||||
  - pkg-config (compile-time only)
 | 
			
		||||
 | 
			
		||||
  - Python >= 2.7.9 / 3.3.0 (optional, runtime only)
 | 
			
		||||
  - Python >= 3.3.0 (optional, runtime only)
 | 
			
		||||
      * Required by the internal search engine
 | 
			
		||||
 | 
			
		||||
2a) Compile and install qBittorrent with Qt graphical interface
 | 
			
		||||
 
 | 
			
		||||
@@ -13,8 +13,7 @@ It aims to be a good alternative to all other bittorrent clients
 | 
			
		||||
out there. qBittorrent is fast, stable and provides unicode
 | 
			
		||||
support as well as many features.
 | 
			
		||||
 | 
			
		||||
This product includes GeoLite data created by MaxMind, available from
 | 
			
		||||
https://www.maxmind.com/
 | 
			
		||||
The free [IP to Country Lite database](https://db-ip.com/db/download/ip-to-country-lite) by [DB-IP](https://db-ip.com/) is used for resolving the countries of peers. The database is licensed under the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
 | 
			
		||||
 | 
			
		||||
### Installation:
 | 
			
		||||
For installation, follow the instructions from INSTALL file, but simple:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,4 @@
 | 
			
		||||
macro(configure_msvc_runtime)
 | 
			
		||||
    if(MSVC)
 | 
			
		||||
    # Default to statically-linked runtime.
 | 
			
		||||
    if("${MSVC_RUNTIME}" STREQUAL "")
 | 
			
		||||
        set(MSVC_RUNTIME "static")
 | 
			
		||||
@@ -34,5 +33,4 @@ macro(configure_msvc_runtime)
 | 
			
		||||
            endif()
 | 
			
		||||
        endforeach()
 | 
			
		||||
    endif()
 | 
			
		||||
    endif()
 | 
			
		||||
endmacro()
 | 
			
		||||
 
 | 
			
		||||
@@ -1,49 +0,0 @@
 | 
			
		||||
 ###############################################################
 | 
			
		||||
 #
 | 
			
		||||
 # Copyright 2011 Red Hat, Inc.
 | 
			
		||||
 #
 | 
			
		||||
 # Licensed under the Apache License, Version 2.0 (the "License"); you
 | 
			
		||||
 # may not use this file except in compliance with the License.  You may
 | 
			
		||||
 # obtain a copy of the License at
 | 
			
		||||
 #
 | 
			
		||||
 #    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 #
 | 
			
		||||
 # Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
 # distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
 # See the License for the specific language governing permissions and
 | 
			
		||||
 # limitations under the License.
 | 
			
		||||
 #
 | 
			
		||||
 ###############################################################
 | 
			
		||||
 | 
			
		||||
MACRO (GLIBC_DETECT _VERSION)
 | 
			
		||||
 | 
			
		||||
# there are multiple ways to detect glibc, but given nmi's
 | 
			
		||||
# cons'd up paths I will trust only gcc.  I guess I could also use
 | 
			
		||||
# ldd --version to detect.
 | 
			
		||||
 | 
			
		||||
    set(_GLIB_SOURCE_DETECT "
 | 
			
		||||
#include <limits.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
  printf(\"%d%d\",__GLIBC__, __GLIBC_MINOR__);
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
")
 | 
			
		||||
 | 
			
		||||
file (WRITE ${CMAKE_CURRENT_BINARY_DIR}/build/cmake/glibc.cpp "${_GLIB_SOURCE_DETECT}\n")
 | 
			
		||||
 | 
			
		||||
try_run(POST26_GLIBC_DETECTED
 | 
			
		||||
        POST26_GLIBC_COMPILE
 | 
			
		||||
        ${CMAKE_CURRENT_BINARY_DIR}/build/cmake
 | 
			
		||||
        ${CMAKE_CURRENT_BINARY_DIR}/build/cmake/glibc.cpp
 | 
			
		||||
        RUN_OUTPUT_VARIABLE GLIBC_VERSION )
 | 
			
		||||
 | 
			
		||||
if (GLIBC_VERSION AND POST26_GLIBC_COMPILE )
 | 
			
		||||
    set(${_VERSION} ${GLIBC_VERSION})
 | 
			
		||||
else()
 | 
			
		||||
    message(STATUS "NOTE: Could not detect GLIBC_VERSION from compiler")
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
ENDMACRO (GLIBC_DETECT)
 | 
			
		||||
@@ -24,8 +24,8 @@ macro(qbt_set_compiler_options)
 | 
			
		||||
            #"-Wno-error=sign-conversion -Wno-error=float-equal"
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
 | 
			
		||||
        # GCC 4.8 has problems with std::array and its initialization
 | 
			
		||||
        if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
 | 
			
		||||
            list(APPEND _GCC_COMMON_CXX_FLAGS "-Wno-error=missing-field-initializers")
 | 
			
		||||
        endif()
 | 
			
		||||
 | 
			
		||||
@@ -39,22 +39,11 @@ macro(qbt_set_compiler_options)
 | 
			
		||||
        endif (_PEDANTIC_IS_SUPPORTED)
 | 
			
		||||
 | 
			
		||||
        if (CMAKE_SYSTEM_NAME MATCHES Linux)
 | 
			
		||||
            # if Glibc version is 2.20 or higher, set -D_DEFAULT_SOURCE
 | 
			
		||||
            include(MacroGlibcDetect)
 | 
			
		||||
            message(STATUS "Detecting Glibc version...")
 | 
			
		||||
            glibc_detect(GLIBC_VERSION)
 | 
			
		||||
            if(${GLIBC_VERSION})
 | 
			
		||||
                if(GLIBC_VERSION LESS "220")
 | 
			
		||||
                    message(STATUS "Glibc version is ${GLIBC_VERSION}")
 | 
			
		||||
                else(GLIBC_VERSION LESS "220")
 | 
			
		||||
                    message(STATUS "Glibc version is ${GLIBC_VERSION}, adding -D_DEFAULT_SOURCE")
 | 
			
		||||
            add_definitions(-D_DEFAULT_SOURCE)
 | 
			
		||||
                endif(GLIBC_VERSION LESS "220")
 | 
			
		||||
            endif(${GLIBC_VERSION})
 | 
			
		||||
        endif (CMAKE_SYSTEM_NAME MATCHES Linux)
 | 
			
		||||
        endif()
 | 
			
		||||
 | 
			
		||||
        if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
 | 
			
		||||
        # Clang 5.0 still doesn't support -Wstrict-null-sentinel
 | 
			
		||||
        if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
 | 
			
		||||
            check_cxx_compiler_flag(-Wstrict-null-sentinel _STRICT_NULL_SENTINEL_IS_SUPPORTED)
 | 
			
		||||
            if (_STRICT_NULL_SENTINEL_IS_SUPPORTED)
 | 
			
		||||
                list(APPEND _GCC_COMMON_CXX_FLAGS "-Wstrict-null-sentinel")
 | 
			
		||||
@@ -72,26 +61,10 @@ macro(qbt_set_compiler_options)
 | 
			
		||||
 | 
			
		||||
        string(APPEND CMAKE_C_FLAGS " ${_GCC_COMMON_C_AND_CXX_FLAGS_STRING}")
 | 
			
		||||
        string(APPEND CMAKE_CXX_FLAGS " ${_GCC_COMMON_C_AND_CXX_FLAGS_STRING} ${_GCC_COMMON_CXX_FLAGS_STRING}")
 | 
			
		||||
 | 
			
		||||
        # check whether we can enable -Og optimization for debug build
 | 
			
		||||
        # also let's enable -march=native for debug builds
 | 
			
		||||
        check_cxx_compiler_flag(-Og _DEBUG_OPTIMIZATION_LEVEL_IS_SUPPORTED)
 | 
			
		||||
 | 
			
		||||
        if (_DEBUG_OPTIMIZATION_LEVEL_IS_SUPPORTED)
 | 
			
		||||
            set(QBT_ADDITONAL_FLAGS "-Og -g3 -march=native -pipe" CACHE STRING
 | 
			
		||||
                "Additional qBittorent compile flags")
 | 
			
		||||
            set(QBT_ADDITONAL_CXX_FLAGS "-Og -g3 -march=native -pipe" CACHE STRING
 | 
			
		||||
                "Additional qBittorent C++ compile flags")
 | 
			
		||||
        else(_DEBUG_OPTIMIZATION_LEVEL_IS_SUPPORTED)
 | 
			
		||||
            set(QBT_ADDITONAL_FLAGS "-O0 -g3 -march=native -pipe" CACHE STRING
 | 
			
		||||
                "Additional qBittorent compile flags")
 | 
			
		||||
            set(QBT_ADDITONAL_CXX_FLAGS "-O0 -g3 -march=native -pipe" CACHE STRING
 | 
			
		||||
                "Additional qBittorent C++ compile flags")
 | 
			
		||||
        endif (_DEBUG_OPTIMIZATION_LEVEL_IS_SUPPORTED)
 | 
			
		||||
    endif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
 | 
			
		||||
 | 
			
		||||
    if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
 | 
			
		||||
        set(QBT_ADDITONAL_FLAGS "-wd4290 -wd4275 -wd4251 /W4" CACHE STRING "Additional qBittorent compile flags")
 | 
			
		||||
        set(QBT_ADDITONAL_FLAGS "/wd4251 /wd4275 /wd4290  /W4" CACHE STRING "Additional qBittorent compile flags")
 | 
			
		||||
    endif ()
 | 
			
		||||
 | 
			
		||||
    string(APPEND CMAKE_C_FLAGS " ${QBT_ADDITONAL_FLAGS}")
 | 
			
		||||
@@ -99,4 +72,3 @@ macro(qbt_set_compiler_options)
 | 
			
		||||
 | 
			
		||||
# endif (NOT QBT_ADDITONAL_FLAGS)
 | 
			
		||||
endmacro(qbt_set_compiler_options)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										24
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -1,6 +1,6 @@
 | 
			
		||||
#! /bin/sh
 | 
			
		||||
# Guess values for system-dependent variables and create Makefiles.
 | 
			
		||||
# Generated by GNU Autoconf 2.69 for qbittorrent v4.2.0alpha.
 | 
			
		||||
# Generated by GNU Autoconf 2.69 for qbittorrent v4.2.3.
 | 
			
		||||
#
 | 
			
		||||
# Report bugs to <bugs.qbittorrent.org>.
 | 
			
		||||
#
 | 
			
		||||
@@ -580,8 +580,8 @@ MAKEFLAGS=
 | 
			
		||||
# Identity of this package.
 | 
			
		||||
PACKAGE_NAME='qbittorrent'
 | 
			
		||||
PACKAGE_TARNAME='qbittorrent'
 | 
			
		||||
PACKAGE_VERSION='v4.2.0alpha'
 | 
			
		||||
PACKAGE_STRING='qbittorrent v4.2.0alpha'
 | 
			
		||||
PACKAGE_VERSION='v4.2.3'
 | 
			
		||||
PACKAGE_STRING='qbittorrent v4.2.3'
 | 
			
		||||
PACKAGE_BUGREPORT='bugs.qbittorrent.org'
 | 
			
		||||
PACKAGE_URL='https://www.qbittorrent.org/'
 | 
			
		||||
 | 
			
		||||
@@ -1302,7 +1302,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.2.0alpha to adapt to many kinds of systems.
 | 
			
		||||
\`configure' configures qbittorrent v4.2.3 to adapt to many kinds of systems.
 | 
			
		||||
 | 
			
		||||
Usage: $0 [OPTION]... [VAR=VALUE]...
 | 
			
		||||
 | 
			
		||||
@@ -1373,7 +1373,7 @@ fi
 | 
			
		||||
 | 
			
		||||
if test -n "$ac_init_help"; then
 | 
			
		||||
  case $ac_init_help in
 | 
			
		||||
     short | recursive ) echo "Configuration of qbittorrent v4.2.0alpha:";;
 | 
			
		||||
     short | recursive ) echo "Configuration of qbittorrent v4.2.3:";;
 | 
			
		||||
   esac
 | 
			
		||||
  cat <<\_ACEOF
 | 
			
		||||
 | 
			
		||||
@@ -1509,7 +1509,7 @@ fi
 | 
			
		||||
test -n "$ac_init_help" && exit $ac_status
 | 
			
		||||
if $ac_init_version; then
 | 
			
		||||
  cat <<\_ACEOF
 | 
			
		||||
qbittorrent configure v4.2.0alpha
 | 
			
		||||
qbittorrent configure v4.2.3
 | 
			
		||||
generated by GNU Autoconf 2.69
 | 
			
		||||
 | 
			
		||||
Copyright (C) 2012 Free Software Foundation, Inc.
 | 
			
		||||
@@ -1648,7 +1648,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.2.0alpha, which was
 | 
			
		||||
It was created by qbittorrent $as_me v4.2.3, which was
 | 
			
		||||
generated by GNU Autoconf 2.69.  Invocation command line was
 | 
			
		||||
 | 
			
		||||
  $ $0 $@
 | 
			
		||||
@@ -3826,7 +3826,7 @@ fi
 | 
			
		||||
 | 
			
		||||
# Define the identity of the package.
 | 
			
		||||
 PACKAGE='qbittorrent'
 | 
			
		||||
 VERSION='v4.2.0alpha'
 | 
			
		||||
 VERSION='v4.2.3'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
cat >>confdefs.h <<_ACEOF
 | 
			
		||||
@@ -6343,7 +6343,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.2.0alpha, which was
 | 
			
		||||
This file was extended by qbittorrent $as_me v4.2.3, which was
 | 
			
		||||
generated by GNU Autoconf 2.69.  Invocation command line was
 | 
			
		||||
 | 
			
		||||
  CONFIG_FILES    = $CONFIG_FILES
 | 
			
		||||
@@ -6401,7 +6401,7 @@ _ACEOF
 | 
			
		||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
			
		||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 | 
			
		||||
ac_cs_version="\\
 | 
			
		||||
qbittorrent config.status v4.2.0alpha
 | 
			
		||||
qbittorrent config.status v4.2.3
 | 
			
		||||
configured by $0, generated by GNU Autoconf 2.69,
 | 
			
		||||
  with options \\"\$ac_cs_config\\"
 | 
			
		||||
 | 
			
		||||
@@ -7659,7 +7659,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.2.0alpha, which was
 | 
			
		||||
This file was extended by qbittorrent $as_me v4.2.3, which was
 | 
			
		||||
generated by GNU Autoconf 2.69.  Invocation command line was
 | 
			
		||||
 | 
			
		||||
  CONFIG_FILES    = $CONFIG_FILES
 | 
			
		||||
@@ -7717,7 +7717,7 @@ _ACEOF
 | 
			
		||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
			
		||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 | 
			
		||||
ac_cs_version="\\
 | 
			
		||||
qbittorrent config.status v4.2.0alpha
 | 
			
		||||
qbittorrent config.status v4.2.3
 | 
			
		||||
configured by $0, generated by GNU Autoconf 2.69,
 | 
			
		||||
  with options \\"\$ac_cs_config\\"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
AC_INIT([qbittorrent], [v4.2.0alpha], [bugs.qbittorrent.org], [], [https://www.qbittorrent.org/])
 | 
			
		||||
AC_INIT([qbittorrent], [v4.2.3], [bugs.qbittorrent.org], [], [https://www.qbittorrent.org/])
 | 
			
		||||
AC_CONFIG_AUX_DIR([build-aux])
 | 
			
		||||
AC_CONFIG_MACRO_DIR([m4])
 | 
			
		||||
AC_PROG_CC
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								dist/mac/Info.plist
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/mac/Info.plist
									
									
									
									
										vendored
									
									
								
							@@ -55,7 +55,7 @@
 | 
			
		||||
	<key>CFBundlePackageType</key>
 | 
			
		||||
	<string>APPL</string>
 | 
			
		||||
	<key>CFBundleShortVersionString</key>
 | 
			
		||||
	<string>4.2.0</string>
 | 
			
		||||
	<string>4.2.3</string>
 | 
			
		||||
	<key>CFBundleExecutable</key>
 | 
			
		||||
	<string>@EXECUTABLE@</string>
 | 
			
		||||
	<key>CFBundleIdentifier</key>
 | 
			
		||||
@@ -67,7 +67,7 @@
 | 
			
		||||
	<key>NSAppleScriptEnabled</key>
 | 
			
		||||
	<string>YES</string>
 | 
			
		||||
	<key>NSHumanReadableCopyright</key>
 | 
			
		||||
	<string>Copyright © 2006-2019 The qBittorrent project</string>
 | 
			
		||||
	<string>Copyright © 2006-2020 The qBittorrent project</string>
 | 
			
		||||
	<key>UTExportedTypeDeclarations</key>
 | 
			
		||||
	<array>
 | 
			
		||||
		<dict>
 | 
			
		||||
@@ -84,7 +84,7 @@
 | 
			
		||||
			<key>UTTypeIdentifier</key>
 | 
			
		||||
			<string>org.bittorrent.torrent</string>
 | 
			
		||||
			<key>UTTypeReferenceURL</key>
 | 
			
		||||
			<string>http://www.bittorrent.org/beps/bep_0000.html</string>
 | 
			
		||||
			<string>https://www.bittorrent.org/beps/bep_0000.html</string>
 | 
			
		||||
			<key>UTTypeTagSpecification</key>
 | 
			
		||||
			<dict>
 | 
			
		||||
				<key>com.apple.ostype</key>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ar.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ar.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_bg.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_bg.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ca.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ca.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_cs.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_cs.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_da.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_da.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_de.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_de.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_es.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_es.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_eu.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_eu.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_fi.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_fi.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_fr.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_fr.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_he.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_he.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_hu.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_hu.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_it.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_it.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ja.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ja.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ko.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ko.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_nl.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_nl.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_pl.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_pl.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_pt_BR.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_pt_BR.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ru.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_ru.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_sk.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_sk.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_tr.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_tr.qm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/qt-translations/qt_uk.qm
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/qt-translations/qt_uk.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