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
Chocobo1
a5e68a8725
Avoid potentially setting the wrong piece priorities
...
Updating file priorities is an async operation in libtorrent, when we
just updated it and immediately query it, we might get the
old/wrong values, so we rely on `updatedFilePrio` in this case.
2018-08-12 11:08:06 +03:00
Chocobo1
70291014d1
Refactor code
...
Make the code slightly easier to read.
2018-08-12 11:08:06 +03:00
Chocobo1
1aabcfc30c
Add const to function parameters
2018-08-12 11:08:06 +03:00
Thomas Piccirello
aba80e2b1c
Send all rechecks in one request
2018-08-12 11:08:06 +03:00
Thomas Piccirello
be683fbcd3
Add WebUI Force Reannounce option
2018-08-12 11:08:06 +03:00
Chocobo1
2bcf09cfa5
Remove static keyword overuse
2018-08-12 11:08:06 +03:00
Chocobo1
697325af63
Move member variable initialization
...
Move the initialization from constructor body to member initializer
list.
Remove superfluous initializer.
2018-08-12 11:08:06 +03:00
Chocobo1
c21bd77be5
Remove unnecessary dynamic allocation
...
Also remove unneeded `if ()` conditional.
2018-08-12 11:08:06 +03:00
Chocobo1
d5430adaaa
Avoid binding constant reference to returned object
...
In such cases, it makes no sense doing so.
2018-08-12 11:08:06 +03:00
Chocobo1
9e99a0d3f5
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
2018-08-12 11:08:06 +03:00
sledgehammer999
d088ab6f43
Remove trailing dot from headings
2018-08-12 11:08:06 +03:00
sledgehammer999
820d510c12
Add a TOC in the coding guidelines
2018-08-12 11:08:06 +03:00
Chocobo1
676847fcd0
Add options in AddNewTorrentDialog
...
The new checkboxes are: "Download in sequential order", "Download first
and last pieces first".
2018-08-12 11:08:06 +03:00
Chocobo1
0204630ee6
Revise dialog messages
...
Using critical dialog is a bit too strong as qbt didn't actually run
into something that fails, so downgrade to warning dialog.
2018-08-12 11:08:06 +03:00
Chocobo1
b515c7eda4
Fix typo
2018-08-12 11:08:06 +03:00
Chocobo1
73fcecac76
Simplify code
...
This avoids "deferencing null pointer" warning from static analyzers.
2018-08-12 11:08:06 +03:00
Chocobo1
a7b82ebcb5
Cache more preference values
...
These values from Preference class are frequently used.
Also group related variables together.
2018-08-12 11:08:06 +03:00
Eugene Shalygin
f8598b010d
Use proper include files in the QtSingleApplication find module.
...
Look for qtsinglecoreapplication.h when Qt5Widgets module was not found,
and qtsingleapplication.h otherwise. Fixes #9196 .
This also removes Qt4 support from the QtSingleApplication find module.
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
93779bcc4b
Download favicon using appropriate protocol
...
Some trackers use UDP protocol but we can't download its favicon
using UDP. Just try to download it using HTTP.
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
938f5b9dd9
Apply proxy settings on DownloadManager creation
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
3b4d9f49d5
Improve torrent initialization
...
Don't post "torrent resumed" event when torrent starts in "resumed"
state.
Fix confusing names. Now "resumed torrent" means "unpaused torrent"
only. When we load previously added torrent it is called "restored
torrent".
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
171c93af50
Save resume data on torrent change events
...
Closes #9174 .
2018-08-12 11:08:06 +03:00
sledgehammer999
6f81e40106
Revert email address changes in copyright notices
2018-08-12 11:08:06 +03:00
tjjh89017
e19b5cb2ce
Add async io threads option to AdvancedSettings
2018-08-12 11:08:06 +03:00
Chocobo1
2c69faca58
Allow save resume interval to be disabled
...
Also raise the allowable upper limit
2018-08-12 11:08:06 +03:00