forked from qbittorrent/qBittorrent
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v4_4_x' of https://github.com/qbittorrent/qBittorrent i…
…nto v4_4_x
Showing
152 changed files
with
65,076 additions
and
67,348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
Sun May 22 2022 - sledgehammer999 <[email protected]> - v4.4.3 | ||
- BUGFIX: Correctly handle changing of temp save path (glassez) | ||
- BUGFIX: Fix storage in SQLite (glassez) | ||
- BUGFIX: Correctly apply content layout when "Skip hash check" is enabled (glassez) | ||
- BUGFIX: Don't corrupt IDs of v2 torrents (glassez) | ||
- BUGFIX: Reduce the number of hashing threads by default (improves hashing speed on HDDs) (summer) | ||
- BUGFIX: Prevent the "update dialog" from blocking input on other windows (summer) | ||
- BUGFIX: Add trackers in exported .torrent files (glassez) | ||
- BUGFIX: Fix wrong GUI behavior in "Optional IP address to bind to" setting (Chocobo1) | ||
- WEBUI: Fix WebUI crash due to missing tags from config (An0n) | ||
- WEBUI: Show correct location path (Chocobo1) | ||
- MACOS: Fix main window freezing after opening a files dialog (glassez) | ||
|
||
Tue Mar 22 2022 - sledgehammer999 <[email protected]> - v4.4.2 | ||
- FEATURE: Allow to limit max memory working set size (glassez) | ||
- BUGFIX: Fix UI crash when torrent is in a non-existent category (Kevin Cox) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Return Qt translations files as list of paths | ||
# It will return .qm files of qt/qtbase that aren't stub files. | ||
# Requires that Qt has been found first because it depends on qmake being available | ||
|
||
function(qbt_get_qt_translations qt_translations) | ||
get_target_property(QT_QMAKE_EXECUTABLE Qt::qmake IMPORTED_LOCATION) | ||
execute_process(COMMAND "${QT_QMAKE_EXECUTABLE}" -query QT_INSTALL_TRANSLATIONS | ||
OUTPUT_VARIABLE QT_TRANSLATIONS_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
|
||
FILE(GLOB QT_TEMP_TRANSLATIONS CONFIGURE_DEPENDS | ||
"${QT_TRANSLATIONS_DIR}/qt_??.qm" | ||
"${QT_TRANSLATIONS_DIR}/qt_??_??.qm" | ||
"${QT_TRANSLATIONS_DIR}/qtbase_??.qm" | ||
"${QT_TRANSLATIONS_DIR}/qtbase_??_??.qm") | ||
|
||
foreach(TRANSLATION ${QT_TEMP_TRANSLATIONS}) | ||
FILE(SIZE "${TRANSLATION}" translation_size) | ||
# Consider files less than 10KB as stub translations | ||
if (translation_size GREATER_EQUAL 10240) | ||
list(APPEND QT_FINAL_TRANSLATIONS "${TRANSLATION}") | ||
endif() | ||
endforeach() | ||
|
||
SET(${qt_translations} ${QT_FINAL_TRANSLATIONS} PARENT_SCOPE) | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import argparse | ||
import glob | ||
import os | ||
import shutil | ||
import sys | ||
from typing import List | ||
|
||
def isNotStub(path: str) -> bool: | ||
return (os.path.getsize(path) >= (10 * 1024)) | ||
|
||
def main() -> int: | ||
parser = argparse.ArgumentParser(description='Gather valid Qt translations for NSIS packaging.') | ||
parser.add_argument("qt_translations_folder", help="Qt's translations folder") | ||
parser.add_argument("nsis_packaging_folder", help="NSIS packaging translations folder") | ||
args = parser.parse_args() | ||
|
||
tmp_translations: List[str] = glob.glob(f'{args.qt_translations_folder}/qt_??.qm') | ||
tmp_translations += glob.glob(f'{args.qt_translations_folder}/qt_??_??.qm') | ||
tmp_translations += glob.glob(f'{args.qt_translations_folder}/qtbase_??.qm') | ||
tmp_translations += glob.glob(f'{args.qt_translations_folder}qtbase_??_??.qm') | ||
|
||
filtered = filter(isNotStub, tmp_translations) | ||
for file in filtered: | ||
shutil.copy2(file, args.nsis_packaging_folder) | ||
|
||
return 0 | ||
|
||
if __name__ == '__main__': | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.