sledgehammer999
2f90be8bd2
Decrease probability of missing important alerts
...
During startup we can get above 1000 alerts at each pop even with only
30 torrents in the queue. This is because libtorrent will post
piece_finished_alert and file_completed_alert for each torrent. These
alerts push out of the way the ones we care about.
The alert queue will be grown to max only if needed. So we don't use
more memory. It will greatly depend on how many torrents a user has in
their session.
When getting fastresume_rejected_alert we need to act as fast as
possible in pausing it, otherwise there's a chance it will begin
downloading and writing to disk before we pause it.
2018-09-12 17:30:19 +03:00
Thomas Piccirello
cb6b6296aa
Allow WebUI sidebar filters to be hidden
2018-09-12 17:30:19 +03:00
Thomas Piccirello
9d25fdce2a
Increase WebUI Options initial height
2018-09-12 17:30:19 +03:00
Thomas Piccirello
12b2732f1a
Adjust WebUI Options form alignment
2018-09-12 17:30:19 +03:00
Chocobo1
8c9ece73ee
Fix GUI scaling issue on Linux
...
It seems `QT_AUTO_SCREEN_SCALE_FACTOR` doesn't work as expected.
Closes #6935 .
2018-09-12 17:30:19 +03:00
Thomas Piccirello
a7db786387
Don't disable DHT when using force proxy
...
Closes #9292
2018-09-12 17:30:19 +03:00
Chocobo1
e5bf65c9bd
Update INSTALL file
...
Closes #9385 .
2018-09-12 17:30:19 +03:00
Chocobo1
900e7d3a14
Reset button text to default
...
This is to avoid Qt auto-generating code like this:
`buttonAdd->setText(QStringLiteral(""));`
Which makes no sense and triggers clazy warning (Wclazy-empty-qstringliteral).
2018-09-12 17:30:19 +03:00
Chocobo1
f1ff74a926
Avoid copy-construct QString in for loop
2018-09-12 17:30:19 +03:00
Elias M. Mariani
30bc4b837e
Support the OpenBSD filesystem
2018-09-12 17:30:19 +03:00
sledgehammer999
050a4f8b23
Fix TravisCI macOS builds
2018-09-12 17:30:19 +03:00
thalieht
487103d58f
Save torrents priorities on torrent finished
...
Save fastresumes for all torrents that shifted in the queue when a torrent finished.
2018-09-12 17:30:19 +03:00
thalieht
eeea69d4c1
Save fastresumes when changing torrent priorities
2018-09-12 17:30:19 +03:00
Vladimir Golovnev (Glassez)
00360ad418
Always save actual queue position
2018-09-12 17:30:19 +03:00
thalieht
a733253ae5
Allow setting seq & first/last from context menu without metadata
2018-09-12 17:30:19 +03:00
thalieht
9788ee042b
Rename 2 methods to eliminate ambiguity
2018-09-12 17:30:19 +03:00
thalieht
e9c9ea3bba
Add regex option in the search filter's context menu
...
In the search job widget.
2018-09-12 17:30:19 +03:00
Chocobo1
312dfb989d
Fix WebUI unreachable issue
...
QVariant doesn't have constructor for plain char, by default it converts
a plain char into an integer, hence the WebUI issue.
Closes #9333 .
2018-09-12 17:30:19 +03:00
Chocobo1
75deafe5b1
Add config file for SVGO
2018-09-12 17:30:19 +03:00
Chocobo1
4ca257a389
Fix icon height/width ratio
...
It was causing misalignment in TransferListFiltersWidget text label.
2018-09-12 17:30:19 +03:00
Chocobo1
03375a78f2
Fix values sorted wrong in "Last Activity" column
...
I suspect there could be other negative values.
Closes #9012 .
Also apply the changes to TR_RATIO_LIMIT, avoiding similar problems.
2018-08-17 21:40:04 +03:00
sledgehammer999
423c7066d7
Fix mingw warning about unrecognized escape sequence
...
Warning introduced by commit 6203f23f06
2018-08-17 21:40:04 +03:00
Chocobo1
5cd5cc71a8
Replace png icons with svg
2018-08-17 21:40:04 +03:00
Chocobo1
45d4d22055
Remove GuiIconProvider::generateDifferentSizes()
...
Let Qt do the scaling seems to be fine.
2018-08-17 21:40:04 +03:00
Eli Schwartz
916a92aa0d
Fix regression that broke installing desktop file
...
In commit 5d94db9c79
the desktop file was
moved from src/ to dist/ but the relative path from src/src.pro was
switched to an absolute path from the repository root. This broke
detection of the file from within qmake.
Fix by using the same $DIST_PATH used elsewhere for consistency, which
uses ../dist/.
2018-08-17 21:40:04 +03:00
sledgehammer999
d1ebbcb35d
Bump to 4.1.2
2018-08-12 21:16:29 +03:00
sledgehammer999
2743d998a8
Update Changelog
2018-08-12 21:13:12 +03:00
sledgehammer999
dbbfbaff9f
Bump Web API version
2018-08-12 21:10:28 +03:00
sledgehammer999
0be8439cf6
Sync translations from Transifex and run lupdate
2018-08-12 21:10:28 +03:00
Chocobo1
66982c5524
Fix lupdate errors
...
I suspect lupdate isn't smart enough to figure out what tr() is suppose
to do, so just make it a static function in class.
The error was: tr() cannot be called without context
2018-08-12 20:59:52 +03:00
Chocobo1
85af8547f7
Generate i18n .ts files in the correct directory
...
Fixup 5b7c089dd2
.
Closes #9313 .
2018-08-12 20:59:52 +03:00
thalieht
e26977ab2c
Add hotkey for toggling focus between the search LineEdits
2018-08-12 16:50:13 +03:00
thalieht
ec1cc783a6
Limit the scope of find torrents hotkey in MainWindow
...
To TransferListWidget because it will interfere with the SearchWidget's focus hotkey
2018-08-12 16:50:13 +03:00
thalieht
03b00ec045
Add a name filter for search results
...
Closes #8226
2018-08-12 16:50:13 +03:00
Lukas Greib
5e90156e9e
Inhibit sleep regardless of activity
...
"Active torrents" is a somewhat unintuitive concept as a basis for
preventing sleep, as torrents can become active or inactive on the
network at any time. This brings some predictability to the inhibit
sleep option, and will inhibit sleep as long as there are unpaused
downloads or uploads, regardless of network activity.
Closes #1696 , #4592 , #4655 , #7019 , #7159 , #7452
2018-08-12 16:50:13 +03:00
thalieht
052206efa1
Add option for regexps in the transferlist search filter's context menu
2018-08-12 16:50:13 +03:00
sledgehammer999
305d73180b
Update Changelog
2018-08-12 11:51:43 +03:00
Couchy
80000bf0fd
Avoid allocating large memory when loading a .torrent file
...
`QIODevice::read(qint64 maxSize)` will allocate full `maxSize` of memory no matter
what the real file size was, this caused users to experience out-of-memory
exception on 32-bit qbt.
Also handle the OOM execption if it still fails.
Closes #9064 , #9075 , #9130 , #9239 , #9246 , #9279 .
2018-08-12 11:08:06 +03:00
sledgehammer999
06ebe756e8
Notify users on 1st time close/minimize to tray
2018-08-12 11:08:06 +03:00
sledgehammer999
5fa3d9f19c
Revert "Set "close to tray" to false as default"
...
This reverts commit dc9ec0e408
.
2018-08-12 11:08:06 +03:00
Chocobo1
5b4c6d3665
Fix I/O error after fetching magnet metadata
...
It is caused by an extra path seperator, so removing it fixes it.
Fixup 9612a75faa
.
2018-08-12 11:08:06 +03:00
sledgehammer999
77bd0f17d1
Update AppVeyor config
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
03a702cfbd
Never save resume data for already paused torrents
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
a932cd2ec1
Reorder resume data saving conditionals
...
Having conditionals which can break saving of torrent resume data
in order from more likely to less likely is more effective.
2018-08-12 11:08:06 +03:00
Chocobo1
8e5743380a
Make ProgramUpdater upgrade to 64-bit qbt when running on 64-bit Windows
2018-08-12 11:08:06 +03:00
Chocobo1
8001eb0368
Avoid regenerating .qm files unnecessarily
...
Translations included at top level is to avoid regenerating the .qm files every
time when src.pro is processed.
Partially revert 5b7c089dd2
.
2018-08-12 11:08:06 +03:00
Chocobo1
f214dc88fc
Put temporary files in qbt own temp folder
2018-08-12 11:08:06 +03:00
Chocobo1
5cff5ab135
Refactor GuiIconProvider::generateDifferentSizes()
2018-08-12 11:08:06 +03:00
Chocobo1
82ba154b64
Add const to function signature
2018-08-12 11:08:06 +03:00
thalieht
4ea44bbd2b
Set "close to tray" to false as default
2018-08-12 11:08:06 +03:00