-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2153 from devos50/qt-gui
New Tribler PyQt GUI
- Loading branch information
Showing
136 changed files
with
18,346 additions
and
493 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 |
---|---|---|
|
@@ -63,3 +63,4 @@ doc/_build/ | |
|
||
# Twisted | ||
twisted/plugins/dropin.cache | ||
twistd.pid |
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
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,25 @@ | ||
import sys | ||
from Tribler.Core.Utilities.install_dir import is_frozen | ||
|
||
|
||
def patch_crypto_be_discovery(): | ||
""" | ||
Monkey patches cryptography's backend detection. | ||
Objective: support pyinstaller freezing. | ||
""" | ||
if (sys.platform == 'win32' or sys.platform == 'darwin') and is_frozen(): | ||
from cryptography.hazmat import backends | ||
|
||
try: | ||
from cryptography.hazmat.backends.commoncrypto.backend import backend as be_cc | ||
except ImportError: | ||
be_cc = None | ||
|
||
try: | ||
from cryptography.hazmat.backends.openssl.backend import backend as be_ossl | ||
except ImportError: | ||
be_ossl = None | ||
|
||
backends._available_backends_list = [ | ||
be for be in (be_cc, be_ossl) if be is not None | ||
] |
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 |
---|---|---|
@@ -1,57 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleDocumentTypes</key> | ||
<array> | ||
<dict> | ||
<key>CFBundleTypeExtensions</key> | ||
<array> | ||
<string>torrent</string> | ||
</array> | ||
<key>CFBundleTypeIconFile</key> | ||
<string>TriblerDoc</string> | ||
<key>CFBundleTypeMIMETypes</key> | ||
<array> | ||
<string>application/x-bittorrent</string> | ||
</array> | ||
<key>CFBundleTypeName</key> | ||
<string>BitTorrent Meta-Info</string> | ||
<key>CFBundleTypeOSTypes</key> | ||
<array> | ||
<string>BTMF</string> | ||
</array> | ||
<key>CFBundleTypeRole</key> | ||
<string>Viewer</string> | ||
<key>NSDocumentClass</key> | ||
<string>DownloadDocument</string> | ||
</dict> | ||
<dict> | ||
<key>CFBundleTypeOSTypes</key> | ||
<array> | ||
<string>****</string> | ||
<string>fold</string> | ||
<string>disk</string> | ||
</array> | ||
<key>CFBundleTypeRole</key> | ||
<string>Viewer</string> | ||
</dict> | ||
</array> | ||
<key>CFBundleExecutable</key> | ||
<string>Tribler</string> | ||
<key>CFBundleIconFile</key> | ||
<string>tribler.icns</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>Tribler</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>Tribler</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
</dict> | ||
<dict> | ||
<key>CFBundleVersion</key> | ||
<string>__VERSION__</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>__VERSION__</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>1.0</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>tribler</string> | ||
<key>CFBundleIconFile</key> | ||
<string>tribler.icns</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>nl.tudelft.tribler</string> | ||
<key>CFBundleURLTypes</key> | ||
<array> | ||
<dict> | ||
<key>CFBundleURLName</key> | ||
<string>magnet URL</string> | ||
<key>CFBundleURLSchemes</key> | ||
<array> | ||
<string>magnet</string> | ||
</array> | ||
</dict> | ||
</array> | ||
<key>CFBundleDocumentTypes</key> | ||
<array> | ||
<dict> | ||
<key>CFBundleTypeExtensions</key> | ||
<array> | ||
<string>torrent</string> | ||
</array> | ||
<key>CFBundleTypeIconFile</key> | ||
<string>tribler.icns</string> | ||
<key>CFBundleTypeName</key> | ||
<string>BitTorrent Document</string> | ||
<key>LSHandlerRank</key> | ||
<string>Owner</string> | ||
</dict> | ||
</array> | ||
<key>CFBundleExecutable</key> | ||
<string>MacOS/tribler</string> | ||
<key>CFBundleName</key> | ||
<string>tribler</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>NSHighResolutionCapable</key> | ||
<string>True</string> | ||
<key>LSBackgroundOnly</key> | ||
<string>0</string> | ||
</dict> | ||
</plist> |
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.
Oops, something went wrong.