Vladimir Golovnev (Glassez)
73ef69526d
Allow to cancel download request
5 years ago
Chocobo1
edcc74c1ae
Add option to align file to piece boundary when creating new torrent
...
Alignment is achieved by adding dummy pad files between files which is
handled by libtorrent.
Closes #10460 .
5 years ago
Chocobo1
5e1e983928
Handle "alerts dropped" alert from libtorrent
5 years ago
Chocobo1
0a959bcbe7
Clean up SettingsStorage::save()
...
Also it should return `true` when `m_dirty` is `false`.
5 years ago
Chocobo1
e7e5ee1ea2
Add const to TransactionalSettings class functions
5 years ago
Chocobo1
daf52a2610
Avoid double lookups
5 years ago
Chocobo1
7113174593
Treat .magnet file extension as case insensitive
...
Closes #11200 .
5 years ago
Chocobo1
17e4902519
Don't define variable when not building GUI
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
Chocobo1
9dc3b18178
Fix filename validation on non-Windows OS
...
Closes #11191 .
5 years ago
Chocobo1
2396ef5bd6
Move error logging of adding peers to the proper place
5 years ago
Chocobo1
3104291734
Add check for null pointer
...
Fix up d657c87243
.
5 years ago
Chocobo1
60994df8d0
Conditionally disable port input field
...
Disable port input when "Use different port on each startup" option is selected.
This follows the behavior in GUI.
5 years ago
Chocobo1
2a66bb3127
Construct QHostAddress more efficiently
5 years ago
Clément Pera
f42b10f3b6
Remove max character limit of location path
...
I removed the maxlength attribute because we couldn't modify the location path when it has more than 100 characters.
5 years ago
Chocobo1
4aab44e779
Always save info dict when saving fastresume
...
Otherwise torrents loaded from fastresume won't have it and needs
to redownload it from elsewhere and slowing down the startup process.
This is also required for the future where we will drop loading the
`info` dict from .torrent files.
5 years ago
Chocobo1
d657c87243
Fix unable to remove web seeds
...
As suggested in post [1] we don't need to assign the `ti` field anymore when fastresme
already contains the `info` dict.
[1]: https://github.com/arvidn/libtorrent/issues/3946#issuecomment-523300003
5 years ago
Chocobo1
7e0daf1663
Setup pixmap cache in a proper place
...
There is no need to reset the cache limit to previous value as
QPixmapCache is an application wide cache.
Also raise the cache size to 64MB.
5 years ago
Chocobo1
47b9d8dbc6
Clean up Application class constructor
5 years ago
Chocobo1
eb784b0d2e
Move "Check for program updates" checkbox out of Advanced settings
5 years ago
Chocobo1
b921d96f4b
Use Q_ASSERT() to check invariants
5 years ago
Chocobo1
72d1d5d2dd
Cut down number of signal emits
5 years ago
Chocobo1
60df790b82
Initialize pointers
...
Fixup aeabd2d625
.
5 years ago
Chocobo1
09503b58fa
Clean up loadTorrentResumeData()
5 years ago
Chocobo1
f3ce76110b
Simplify code
...
Instead of using dict_find_list() now we use the simpler dict_find()
since we are going to check its validness anyway.
5 years ago
Chocobo1
3a11c23efd
Fix wrong "added on" date
...
This only happens for magnet links when its metadata has yet to be retrieved.
Closes #11124 .
5 years ago
Chocobo1
0891cd4878
Avoid unecessary copying the parameter
...
Using forwarding reference here so that we won't get unnecessary copies
of the parameter passed to `slot`, for example a lambda function.
5 years ago
Chocobo1
aeabd2d625
Clean up PeerListWidget class
5 years ago
Chocobo1
8d0d8e4dcb
Improve embedded tracker
...
Now it conforms to BEPs more closely.
5 years ago
Chocobo1
fba72f5fb7
Simplify code
5 years ago
Chocobo1
bbecf87292
Handle invalid time activity properly
...
When there is no activity before m_nativeStatus.last_upload will be 0
and this commit will map it to -1 which retain the expected behavior as
before (libtorrent < 1.2 era).
5 years ago
thalieht
e26573d97f
Use FileSystemPathEdit in automated rss downloader
5 years ago
Thomas Piccirello
7047974132
Extract WebUI localStorage access into class
5 years ago
Chocobo1
863c9f9876
Speed up lookup operation in TransferListModel
...
Previously lookup is O(n), add operation is O(n), remove operation is
O(n).
Now lookup is O(1), add operation is O(1), remove operation is O(n).
n is the number of torrents already recorded.
5 years ago
Chocobo1
9c964cdd97
Fix using out-of-bounds of indexes
5 years ago
Chocobo1
e3483c62ca
Remove explicit conversion to QVariant
5 years ago
Chocobo1
1f3bf75fff
Better on-demand reloading of torrent data
5 years ago
Chocobo1
94f7a095bb
Implement proper equal operators
5 years ago
Chocobo1
f907328bdc
Add const to class function
5 years ago
Chocobo1
230949ee3b
Cache and reuse detected MIME type
5 years ago
Chocobo1
b34d90df0b
Fix translation issues
...
By using disambiguation field instead of comment field to differentiate
translations.
5 years ago
Vladimir Golovnev (Glassez)
e649559650
Allow to refresh RSS item(s) via WebAPI
5 years ago
Tom Piccirello
bed143cafa
Don't save preferences until all options are processed
5 years ago
Thomas Piccirello
085ae05f19
Move WebUI views into separate folder
5 years ago
Thomas Piccirello
f214dd233b
Rename WebUI content files
5 years ago
Thomas Piccirello
b3f9b9e9b2
Rename WebUI toolbar files
5 years ago
Thomas Piccirello
3f8f9a3962
Remove html tags from inline page
...
This page's content is inserted into the existing page, so the presence of an <html> tag is incorrect.
5 years ago
Thomas Piccirello
feb1570c48
Simplify function implementation
5 years ago
thalieht
1f6f1716ad
Enable Super Seeding mode once ratio/time limit is reached
5 years ago
Chocobo1
6ac36368cd
Update user agent string
5 years ago