Chocobo1
ccec50e18e
Improve parsing in BitTorrent::PeerAddress::parse
5 years ago
Vasiliy Halimonchuk
7fb1e07b39
Remove unused variables
5 years ago
Vasiliy Halimonchuk
80d1c48f0d
Fix typos
5 years ago
Vasiliy Halimonchuk
fe0fb3a251
Refactor `var` to `let`/`const` or `this`
5 years ago
Vasiliy Halimonchuk
b530e19a44
Implement tag management for WebUI
5 years ago
Vladimir Golovnev (Glassez)
4021a0c7ce
Store libtorrent native file index in QHash
5 years ago
Vladimir Golovnev (Glassez)
3d70ebfc46
Save updated resume data for completed torrents
...
If fastresume data was rejected we need to save updated
resume data after torrent finishes rechecking.
5 years ago
Vladimir Golovnev (Glassez)
ad6a40d5f4
Extract PeerAddress class into separate file
5 years ago
Vladimir Golovnev (Glassez)
b822d2c380
Fix requested torrent resume data handling
...
Session should increase an appropriate counter each time
the torrent resume data is requested to save.
5 years ago
Thomas Piccirello
1b23a27acb
Update remaining size of ignored files to 0
...
Also fixes a bug where ignoring the last item within a folder wouldn't recalculate the folder's size
5 years ago
Vladimir Golovnev (Glassez)
60ffa3030e
Don't use deprecated libtorrent features
5 years ago
Chocobo1
a610c8567e
Prevent command injection via "Run external program" function
...
Closes #10925 .
5 years ago
Chocobo1
4a90716843
Add override keyword to functions
5 years ago
Chocobo1
752d4b85ea
Remove compiler warning flags
...
Apperently nobody care about those warnings so just remove them and let
other more important warnings stand out.
5 years ago
Chocobo1
07263d2d70
Move implementation to its own file
5 years ago
Chocobo1
7a5e883cd2
Revise inline keyword usage
...
And let compiler decide whether to inline functions.
5 years ago
Chocobo1
f6f8aaf3db
Put internal function into anonymous namespace
5 years ago
Chocobo1
f993230582
Use uniform initialization
5 years ago
Chocobo1
e74b984a0a
Rely on Qt ownership to delete class members
5 years ago
Thomas Piccirello
6af01cfcbe
Add WebUI support for triggering context menus on mobile
5 years ago
Thomas Piccirello
f441d561a2
Refactor duplicate code
5 years ago
Prince Gupta
8267a4fef9
Incorporate GuiIconProvider inside UIThemeManager
5 years ago
Thomas Piccirello
ba40719d76
Move WebUI copy actions under a submenu
5 years ago
Thomas Piccirello
1c3c81db99
Fix missing parenthesis
...
Introduced in #9995 .
5 years ago
Thomas Piccirello
324d20d42c
Move registering WebUI magnet handler behind toolbar option
...
Alert the user if the operation fails due to lack of browser support
5 years ago
Vladimir Golovnev (Glassez)
87d98403f4
Don't break torrent checking
5 years ago
Vladimir Golovnev (Glassez)
9462685c78
Ignore some actions on uninitialized torrents
...
Some actions can lead to an inconsistent state if applied
to an uninitialized torrent, so we just ignore them.
5 years ago
Chocobo1
7b568b07e6
Clean up CMakeLists.txt
5 years ago
Chocobo1
032883e278
Move LineEdit files out of subfolder
5 years ago
Chocobo1
23ebb3134b
Move QLabels out of class
5 years ago
Chocobo1
cc663746eb
Forward declare some classes
5 years ago
thalieht
e917c371d9
Use camelCase for a few WebUI vars
5 years ago
thalieht
7b31868e3c
Rename priority to queue in the context of torrents
5 years ago
Vladimir Golovnev (Glassez)
644dc9792d
Avoid race conditions when adding torrent
5 years ago
Zhaoyu Gan
07649f713e
Add advanced options in WebUI
5 years ago
Chocobo1
599bfc0735
Use Qt object ownership to handle QShortcut deletions
5 years ago
Chocobo1
662e1e6134
Clean up code in TrackerListWidget class
5 years ago
Chocobo1
b55c6a360a
Implement tri-state checkbox action in menu
...
The new TriStateAction class is an improvement of the old one in the
sense that:
1. Have public method to set states.
2. Can connect to the usual Qt slots.
3. Draws checkbox at the correct offset (where QAction draws) in menu
and better handling of mouse clicking and keyboard navigating.
5 years ago
Chocobo1
8eabaf5eb2
Replace QList by QVector
6 years ago
Chocobo1
9e7f50517e
Add "Tracker entries" dialog
6 years ago
Prince Gupta
a24925c858
Allow styling with QSS stylesheets
6 years ago
Vladimir Golovnev (Glassez)
9399b876eb
Fix torrent checking issues
...
Start all torrents auto-managed to prevent simultaneous checking
of multiple torrents.
Handle checking state of paused torrent to prevent it from being
resumed when qBittorrent is closed until checking isn't complete.
6 years ago
Chocobo1
b9094ff8a5
Use proper log message when there are no error
6 years ago
Chocobo1
664cfe7d69
Fix torrent properties not saved for paused torrents
6 years ago
Chocobo1
c4dbe84832
Use newer libtorrent API
6 years ago
Chocobo1
ed2199b91c
Add "File pool size" option
6 years ago
Chocobo1
6286bc716c
Add "Socket backlog size" option
...
The default value in libtorrent is 5 which is too small nowadays.
The new default value 30 is chosen to be in line with
QTcpServer::maxPendingConnections().
6 years ago
Chocobo1
73cf3fb68f
Use LogMsg() helper
6 years ago
Chocobo1
e6c448aa4f
Replace obsoleted QProcess::finished(int)
...
It is replaced by QProcess::finished(int, QProcess::ExitStatus).
6 years ago
Chocobo1
4eff268095
Replace obsoleted QFontMetrics::width()
...
Qt 5.13 marked QFontMetrics::width() obsolete.
6 years ago