Commit graph

5075 commits

Author SHA1 Message Date
sledgehammer999
2dede108e7 Don't show multiple unlock UI dialogs. Closes #2040. 2014-10-22 22:00:41 +03:00
Ivan Sorokin
7cf1e7b8ca Optimize misc::naturalSort()
Previous implementation used QRegExp to find a first digit. That is
utterly ineffective.

When torrent list is sorted by name (a column that uses the naturalSort() for
comparison), naturalSort could take 18.6% of the time of the UI thread. Optimize it
so now it takes 1% of the time of the UI thread.
2014-10-22 22:00:27 +03:00
sledgehammer999
e1934e8c16 Use the correct character encoding for exceptions coming from libtorrent.
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2014-10-22 21:59:26 +03:00
Gabriele
14b958216b Increase maximum size of system icons
System icons were limited to a size 24x24 pixels, while the embedded
icons are 32x32 pixels big.
2014-10-22 21:56:58 +03:00
Gabriele
1120c14890 Make Windows icons suitable for high dpi screens
The maximum size of the icons is now 256x256 pixels so that
Windows can correctly scale them.

The 256x256 layer for the main icon was created upscaling the
192x192 png available in the source tree. Hence, the icon might
not be perfect at the maximum size.

The icon for the file association was made from scratch and it's
visually similar to the previous icon.
2014-10-22 21:56:44 +03:00
Gabriele
88075d9226 Allow relative torrent paths when qBittorrent is already running
Adding new torrents from the command line while qBittorrent was
already running was possible only providing the absolute path to
the file.
2014-10-22 21:56:29 +03:00
Gabriele
36464fcd59 Set minimum width of the left panel in the preferences
Change also the default width and set it to the minimum.
This minimum width prevents the horizontal scrollbar from appearing.

The size of the items in the list depends on the Qt style, so the
left panel could be few pixels larger than required with some of them.
2014-10-22 21:56:10 +03:00
Gabriele
f7f1c81238 Don't stretch the last section in the transfer list
Since the content of some sections is right aligned, automatically
resizing the width of the last one to fill the header could be
sometimes undesired.

Let the user choose the width of each section and never change his
preference.
2014-10-22 21:55:56 +03:00
Bruno Barbieri
b8da4bcf74 Fix search inconsistency between Python versions
Closes #2012
2014-10-22 21:55:41 +03:00
Gabriele
bf7a6aceb0 Remove unneeded tooltip 2014-10-22 21:55:24 +03:00
DoumanAsh
3ef2da898b Pirate bay search engine update 2014-10-22 21:55:10 +03:00
Bruno Barbieri
d0cd939143 Fix search engine encoding issues with python3 on Windows
Closes #1996
2014-10-22 21:54:50 +03:00
Bruno Barbieri
e36d76d457 Replace deprecated sgmllib with HTMLParser/html.parser 2014-10-22 21:54:38 +03:00
Bruno Barbieri
daa4314093 Fix TorrentReactor search plugin 2014-10-22 21:54:25 +03:00
sledgehammer999
f707d6c9d5 Merge pull request #2052 from pmzqla/v3_1_x-charset
WebUI: Set correct HTTP Content-Type in case of forbidden access
2014-10-19 17:27:20 +03:00
Gabriele
83b6619b16 WebUI: Set correct HTTP Content-Type in case of forbidden access
The error message is an utf-8 string. With no charset specified,
web browsers will likely use the wrong one making reading the message
in some languages impossibile.
2014-10-19 16:13:18 +02:00
sledgehammer999
8b322648c8 Change the program updater's URL for Windows and Mac OS X. Closes #1954.
Conflicts:
	src/programupdater.cpp
2014-10-12 16:43:27 +03:00
sledgehammer999
d159117965 WINDOWS: Fix magnet link association. Closes #1952. 2014-10-12 15:59:39 +03:00
sledgehammer999
1fd2dce0bd Fix Mac OS X compilation. 2014-10-06 02:36:03 +03:00
Ivan Sorokin
f97238e1c9 Fix heap-buffer-overrun in PropertiesWidget::displayFilesListMenu 2014-10-04 21:39:47 +03:00
paolo-sz
67355810ae Correctly detect python in PATH 2014-10-04 21:39:26 +03:00
sledgehammer999
7246b0c254 Bump to 3.1.10 2014-09-21 20:50:00 +03:00
sledgehammer999
03345b95c1 Update Changelog. 2014-09-21 20:11:41 +03:00
sledgehammer999
16f6e26f67 Fix again libtorrent 0.15.x compilation. 2014-09-21 20:11:40 +03:00
sledgehammer999
5e643ffefd Sync translations from Transifex and run lupdate. 2014-09-21 19:55:48 +03:00
sledgehammer999
0bd4308d0f Truly sync the changes in the file assocations code/installer with master. 2014-09-21 19:50:37 +03:00
Vladimir Golovnev (Glassez)
c78ad12144 Fix Windows file associations creation.
Now qBittorrent create global ProgId during installation (using HKLM hive)
and allow to associate .torrent files with it (using HKCU).

Conflicts:
	src/preferences/preferences.h
	src/windows/installer.nsi
	src/windows/uninstaller.nsi
2014-09-21 19:40:38 +03:00
sledgehammer999
cb838edb50 Fix compilation with libtorrent 0.15.x. 2014-09-21 14:38:38 +03:00
sledgehammer999
8fac3c793d Fix large cache support on amd64 arch pt2. 2014-09-21 14:02:19 +03:00
sledgehammer999
26896de9ad Consider queued items before deciding to 'auto-shutdown on downloads completion'. Closes #1942. 2014-09-21 13:59:02 +03:00
Nick Tiskov
238715ad22 Work around magnet redirection in feeds 2014-09-21 13:58:47 +03:00
Nick Tiskov
a3710251a7 Fix large cache support on amd64 arch
Conflicts:
	src/preferences/preferences.cpp
2014-09-21 13:58:29 +03:00
masux
f6634ccacd This fix qbittorrent/qBittorrent#1949 2014-09-21 13:56:04 +03:00
Martin Janco
e4df557208 Fixed extratorrent.cc search engine. 2014-09-15 17:40:13 +03:00
sledgehammer999
355c55452a Sync translations from Transifex and run lupdate. 2014-09-14 23:57:25 +03:00
sledgehammer999
87350e3842 Merge pull request #1573 from lojack5/lojack-fix-import-torrent
fix import torrent
2014-09-14 23:28:53 +03:00
sledgehammer999
0031cfc60a Don't display the Search Engine tab by default.
Conflicts:
	src/preferences/preferences.cpp
2014-09-14 23:24:22 +03:00
sledgehammer999
d0374dd425 WINDOWS: Search first in PATH for python. Closes #956.
Conflicts:
	src/mainwindow.cpp
2014-09-14 23:24:21 +03:00
sledgehammer999
d8c8d51386 WINDOWS: Can now correctly detect 64bit and 32bit python installations on 64bit Windows. Closes #1148 #445 #795 #1708.
Conflicts:
	src/preferences/preferences.cpp
2014-09-14 23:07:42 +03:00
sledgehammer999
5740c933fb WINDOWS: Don't create keys in the registry if python isn't found. Closes #1370.
Conflicts:
	src/preferences/preferences.cpp
2014-09-14 23:06:08 +03:00
sledgehammer999
1f13dd0cc3 WINDOWS: Check for python before creating the search engine tab. Prevents the creation of python specific files in the user's PC if no python is found. Closes #1370.
Conflicts:
	src/mainwindow.cpp
	src/searchengine/searchengine.cpp
	src/searchengine/searchengine.h
2014-09-14 22:32:58 +03:00
sledgehammer999
84d9fc2da2 SMTP: send the local hostname as FQDN. See discussion in #1845 for more info.
Conflicts:
	src/smtp.cpp
2014-09-13 18:01:59 +03:00
sledgehammer999
47ec418e9c Forward declare classes where possible in 'TransferListWidget'. 2014-09-13 17:05:44 +03:00
sledgehammer999
72ca101830 Show stalled downloads that are uploading under the 'Active' filter. Closes #1654." 2014-09-13 17:05:31 +03:00
sledgehammer999
0625ef62c1 SMTP: Fix edge case where nothing was sent when no authentication was needed. Relates to #1845. 2014-09-02 17:57:47 +03:00
sledgehammer999
8161185b08 Fix build. 2014-09-02 15:28:26 +03:00
sledgehammer999
739132ec82 Don't use IPv4 addresses when the user has enabled IPv6 address in the settings.
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
	src/smtp.cpp
2014-09-02 15:09:00 +03:00
sledgehammer999
cf61dd3d09 SMTP: Fix finding the local address. 2014-09-02 15:07:18 +03:00
sledgehammer999
82768e2098 SMTP: Send the IP of the configured Network Interface. Relates to #1845.
Conflicts:
	src/smtp.cpp
2014-09-01 15:13:32 +03:00
sledgehammer999
3b9dc7add2 SMTP: Support multiline greeting from server in INIT state. Thanks to Ivanov Juriy for helping identify the problem. Relates to #1845. 2014-08-31 14:33:37 +03:00