sledgehammer999
e750ae3a79
Use boost:bind() as the docs show. Allows compilation with older gcc versions.
10 years ago
sledgehammer999
ce4ef37820
Remove superfluous semicolon(;).
10 years ago
sledgehammer999
c2f2d0a363
Don't show multiple unlock UI dialogs. Closes #2040 .
10 years ago
sledgehammer999
2203d0a043
Merge pull request #2041 from sorokin/optimize-natural-sort
...
Optimize misc::naturalSort()
10 years ago
Ivan Sorokin
a278261806
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.
10 years ago
sledgehammer999
9b71e4ffc9
Use the correct character encoding for exceptions coming from libtorrent.
10 years ago
sledgehammer999
89ae72d5c4
Merge pull request #2042 from sorokin/optimize-includes
...
Optimize includes
10 years ago
sledgehammer999
d02984cbed
Merge pull request #2027 from pmzqla/system_icons
...
Increase maximum size of system icons
10 years ago
sledgehammer999
7c03167cde
Merge pull request #2026 from pmzqla/master
...
Make Windows icons suitable for high dpi screens
10 years ago
sledgehammer999
dd711bf377
Merge pull request #2035 from pmzqla/torrentpath
...
Allow relative torrent paths when qBittorrent is already running
10 years ago
Gabriele
05929b78c6
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.
10 years ago
sledgehammer999
aca4731145
Merge pull request #2031 from pmzqla/panel
...
Set minimum width of the left panel in the preferences
10 years ago
sledgehammer999
c2e0baa6a6
Merge pull request #2034 from pmzqla/sections
...
Don't stretch the last section in the transfer list
10 years ago
Ivan Sorokin
de5f38a160
Speedup compilation speed
...
libtorrent has a relatively heavy headers, that take lots of time to
process. This commit removes unnecessary includes of libtorrent headers
and replaces them with forward declarations.
I had to move some functions in QBtSession from slots to regular
functions because moc'ed file want to see complete types of all
parameters of slots.
"time make" of full rebuild before this series of commits:
real 13m35.937s
user 12m1.295s
sys 1m25.908s
after:
real 10m54.390s
user 9m31.167s
sys 1m12.580s
10 years ago
Ivan Sorokin
f6732e87f2
Remove inclusion of "qtracker.h" in "qbtsession.h"
10 years ago
Ivan Sorokin
b2e3739da2
Replace include of <libtorrent/session.hpp> with forward declaration
10 years ago
Ivan Sorokin
c9b27e032b
Remove inclusion of alertdispatch.h from qbtsession.h
10 years ago
Ivan Sorokin
83dd35dbc9
Make alertdispatcher.h self contained and replace include libtorrent/session with forward declaration
10 years ago
Ivan Sorokin
5ea1a4c3cc
Remove inclusion of <QThread> from misc.h
10 years ago
Ivan Sorokin
be338b969c
Remove unneccessary includes of libtorrent in misc.h
10 years ago
Gabriele
fc02b11f65
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.
10 years ago
Gabriele
93abeb3643
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.
10 years ago
Gabriele
5b7ee14416
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.
10 years ago
sledgehammer999
f9dc945730
Merge pull request #2025 from BrunoReX/search_term
...
Fix search inconsistency between Python versions
10 years ago
sledgehammer999
cae032039b
Merge pull request #2030 from pmzqla/tooltips
...
Remove unneeded tooltip
10 years ago
Gabriele
becab3a013
Remove unneeded tooltip
10 years ago
Gabriele
616895b2c9
Increase maximum size of system icons
...
System icons were limited to a size 24x24 pixels, while the embedded
icons are 32x32 pixels big.
10 years ago
Bruno Barbieri
f288162e99
Fix search inconsistency between Python versions
...
Closes #2012
10 years ago
sledgehammer999
eab13982a2
Merge pull request #1543 from john-peterson/ssd
...
adding a save resume data interval option
10 years ago
John S. Peterson
d27bff4df4
adding a save resume data interval option
...
because some SSD users oppose frequent disk writes
10 years ago
sledgehammer999
d38bff0ca5
Merge pull request #1967 from DoumanAsh/pirateBay_uptade
...
Pirate bay engine update
10 years ago
DoumanAsh
a62e30ea88
Pirate bay search engine update
10 years ago
sledgehammer999
0e0e8f7c27
Merge pull request #2005 from BrunoReX/python3_utf8
...
Fix search engine encoding issues with python3 on Windows
10 years ago
sledgehammer999
91e53971b2
Merge pull request #1997 from BrunoReX/torrentreactor_fix
...
Fix TorrentReactor search plugin
10 years ago
sledgehammer999
f50eac4c15
Merge pull request #2022 from sorokin/for-sledgehammer
...
a small optimization, a micro optimization and a fix
10 years ago
sledgehammer999
e10e2e1719
Change the program updater's URL for Windows and Mac OS X. Closes #1954 .
10 years ago
Ivan Sorokin
b995a9d75e
Fix race condition in QAlertDispatcher
...
It was possible that QAlertDispatcher::dispatch() could access (lock)
mutex that was destroyed by main thread. Fix this by moving mutex into a
tag.
10 years ago
Ivan Sorokin
333978f1ff
Use std::vector instead of std::deque in QAlertDispatcher
...
As we never use {push,pop}_front std::vector works here perfectly.
Also reserve memory for std::vector out of lock.
This could be considered as an optimization, but in reality this is just
using right container in right place. According to my measurements total
speedup is under 0.2%.
10 years ago
Ivan Sorokin
d89d9c2f75
Fewer calls to torrent_handle::info_hash()
10 years ago
Bruno Barbieri
698e5ef0f1
Replace deprecated sgmllib with HTMLParser/html.parser
10 years ago
Bruno Barbieri
2bdfd140cb
Fix search engine encoding issues with python3 on Windows
...
Closes #1996
10 years ago
Bruno Barbieri
dc8853cd87
Fix TorrentReactor search plugin
10 years ago
sledgehammer999
e3d079ccb3
Merge pull request #1983 from sorokin/buffer-overrun-prop-widget
...
Fix heap-buffer-overrun in PropertiesWidget::displayFilesListMenu
10 years ago
Ivan Sorokin
ddd2025968
Fix heap-buffer-overrun in PropertiesWidget::displayFilesListMenu
10 years ago
sledgehammer999
2bc9e2c1a5
Merge pull request #1955 from paolo-sz/master
...
Correctly detect python in PATH
10 years ago
paolo-sz
b47fba49cc
Correctly detect python in PATH
10 years ago
sledgehammer999
8408f56d6f
Fix large cache support on amd64 arch pt2.
10 years ago
sledgehammer999
97419f840a
Consider queued items before deciding to 'auto-shutdown on downloads completion'. Closes #1942 .
10 years ago
sledgehammer999
0650d28da7
Merge pull request #1941 from Gelmir/magnet_redirect
...
Work around magnet redirection in feeds
10 years ago
sledgehammer999
88baa710fd
Merge pull request #1947 from Gelmir/x64_cache_fix
...
Fix large cache support on amd64 arch
10 years ago