Chocobo1
66ffb01629
Add include guard to headers
6 years ago
Chocobo1
f26a5c3581
Update Python URLs
6 years ago
Chocobo1
7d808cfc99
Fix asking to install Python
...
The dialog asking users to install python is borked since the last refactor, this
commit fixes it.
6 years ago
Chocobo1
60ecc4fe8f
Move python related functions
...
Also the functions are slightly changed to return full path of the found
python executable.
6 years ago
Thomas Piccirello
65934a4c69
Add locale to js file path
...
This reduces the likelihood of a cached file being used after the locale is changed.
6 years ago
Thomas Piccirello
7b85473d2b
Translate WebUI torrents Status column
...
Closes #9554 .
6 years ago
sledgehammer999
06c8142826
Make strings actually translatable
6 years ago
sledgehammer999
e8213b2c6a
Remove unused variable
6 years ago
dzmat
fc93f2eb78
Replace magic number with system define
6 years ago
sledgehammer999
de951d6637
Sync translations from Transifex and run lupdate
6 years ago
Chocobo1
bbe76231cf
Reformat python code to be compliant with PEP8
...
The following command is used:
`pycodestyle --ignore=E265,E722 --max-line-length=100 <py files>`
6 years ago
Eugene Shalygin
141af072b9
cmake: use C++14 when available
...
Libtorrent does the same and we have to follow since
its ABI depends on the C++ standard version.
Partially closes #9485 .
6 years ago
sledgehammer999
bdc788c824
Bump Web API version
6 years ago
sledgehammer999
c520e657ce
Save state change from queued to paused
6 years ago
Yaroslav Pronin
4e28033c9c
Fix typo in variable name
6 years ago
thalieht
94613c2fa2
Fix some warnings
6 years ago
thalieht
e2b46f01bb
Show "N/A" if there is no scrape
...
Disambiguates whether the tracker send a response of 0 peers/seeds/downloaded or didn't send one at all.
6 years ago
sledgehammer999
eb9f07bcc6
Save option about tracker favicons under correct key
6 years ago
sledgehammer999
9ce619eac8
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.
6 years ago
thalieht
ffc2193df9
Preselect name without extension when renaming files
...
And preselect the whole string for everything else.
6 years ago
Thomas Piccirello
fef1ad6083
Allow WebUI sidebar filters to be hidden
6 years ago
Chocobo1
79dae55a61
Fix GUI scaling issue on Linux
...
It seems `QT_AUTO_SCREEN_SCALE_FACTOR` doesn't work as expected.
Closes #6935 .
6 years ago
Thomas Piccirello
c10d237f7a
Don't disable DHT when using force proxy
...
Closes #9292
6 years ago
Thomas Piccirello
adad883eb6
Increase WebUI Options initial height
6 years ago
Thomas Piccirello
b05a443cad
Adjust WebUI Options form alignment
6 years ago
Thomas Piccirello
63c53766b4
Add save path and editing to WebUI new category dialog
6 years ago
thalieht
ce3e68670d
Refactor in searchjob to always color visited entries
...
Now it colors multiple entries, when visited at once, via the hotkey or
the Download button.
6 years ago
Elias M. Mariani
33af699191
Support the OpenBSD filesystem
6 years ago
Chocobo1
718b3f0bf5
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).
6 years ago
Chocobo1
254782def6
Avoid copy-construct QString in for loop
6 years ago
thalieht
ec9120adf0
Save torrents priorities on torrent finished
...
Save fastresumes for all torrents that shifted in the queue when a torrent finished.
6 years ago
thalieht
95b02bbb2e
Save fastresumes when changing torrent priorities
6 years ago
Vladimir Golovnev (Glassez)
386d0565fe
Always save actual queue position
6 years ago
Chocobo1
903a747dba
Add config file for SVGO
6 years ago
Chocobo1
e9a8ac0544
Fix icon height/width ratio
...
It was causing misalignment in TransferListFiltersWidget text label.
6 years ago
Thomas Piccirello
a0e6007fc1
Include category save path in web api sync data
6 years ago
Thomas Piccirello
d89ef22d85
Require torrent category creation to be explicit
6 years ago
Chocobo1
262c3a75bd
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 .
6 years ago
Chocobo1
d7aa0819d9
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.
6 years ago
sledgehammer999
14e5fc8e33
Fix mingw warning about unrecognized escape sequence
...
Warning introduced by commit 6203f23f06
6 years ago
thalieht
7ed0d13de2
Allow setting seq & first/last from context menu without metadata
6 years ago
thalieht
400eafce2b
Rename 2 methods to eliminate ambiguity
6 years ago
thalieht
4dcb0b922e
Add regex option in the search filter's context menu
...
In the search job widget.
6 years ago
Chocobo1
71dcc76a64
Replace png icons with svg
6 years ago
Chocobo1
866408151c
Remove GuiIconProvider::generateDifferentSizes()
...
Let Qt do the scaling seems to be fine.
6 years ago
sledgehammer999
ac1839fa6b
Bump Web API version
6 years ago
sledgehammer999
239f98e450
Sync translations from Transifex and run lupdate
6 years ago
Chocobo1
6f2b1823ad
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
6 years ago
Chocobo1
d9461f348f
Generate i18n .ts files in the correct directory
...
Fixup 5b7c089dd2
.
Closes #9313 .
6 years ago
Couchy
3808b5df16
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 .
6 years ago