Mike Tzou
6f7f7d87c6
Merge pull request #8218 from Piccirello/webui-selection-bug
...
Reselect webui torrents after full_update. Temporary fix for #8209 .
7 years ago
Thomas Piccirello
2227c3afc1
Reselect torrents in WebUI after full update
...
Temp fix for #8209 .
7 years ago
Mike Tzou
050af8a793
Merge pull request #7894 from Piccirello/auto-management
...
Disable options when Force Proxy is enabled
7 years ago
Vladimir Golovnev
6207855f3b
Merge pull request #8372 from thalieht/inactiverate
...
Expose the libtorrent fields for "dont_count_slow_torrents" to GUI.
Closes #5713 .
7 years ago
Vladimir Golovnev
a65a70ab48
Merge pull request #8479 from thalieht/ratioLimitsCrash
...
Fix possible crash when using both share limits
7 years ago
thalieht
0e30659c26
Fix possible crash when using both share limits
...
Avoid possible crash in "torrent->name()" when processing seeding time of the torrent that already reached the ratio limit.
7 years ago
Vladimir Golovnev
5c2f698cb4
Merge pull request #8325 from luis-pereira/prevent-c++11-range-loop-detach
...
Prevent possible c++11 range-loop container detach
7 years ago
Mike Tzou
edef85fa3e
Merge pull request #8456 from vit9696/patch-1
...
Fix compilation with Qt 5.11 on macOS
7 years ago
Mike Tzou
6244ad5fa8
Merge pull request #8458 from luis-pereira/qgetenv
...
Use qEnvironmentVariableIsEmpty
7 years ago
Luís Pereira
1a913c502b
Prevent possible c++11 range-loop container detach
...
Explicit or implicit calls to begin() and end() cause a non-const
container to detach from shared data, ie. to perform a deep-copy to gain
a unique copy of the data.
That can be a expensive although unneeded operation.
In order to assist the developer a copyAsConst function is added.
copyAsConst returns a const copy of the object.
For lvalues just use qAsConst. It's only available on Qt 5.7.0. But we
added also for earlier versions. The developer can always use qAsConst.
Intended uses:
QString s = ...;
for (const auto &ch : qAsConst(s))
process(ch);
for (const auto &ch : copyAsConst(funcReturningQString()))
process(ch);
7 years ago
Vladimir Golovnev
078982ada6
Merge pull request #8424 from glassez/fix-rss
...
Disable Auto TMM when RSS rule has save path. Closes #8411
7 years ago
Vladimir Golovnev
3035184d25
Merge pull request #8445 from glassez/fix-webapi
...
Fix POST params handling. Closes #8443
7 years ago
Thomas Piccirello
fccdc7ebdc
Remove extra space
7 years ago
Thomas Piccirello
e0c74c2d39
Remove conditionals
7 years ago
Thomas Piccirello
288f372914
Rename onClick property to onclick
7 years ago
Thomas Piccirello
ba331436fa
Add More Information link
7 years ago
Thomas Piccirello
afd4069eb4
Disable options when force proxy is enabled
7 years ago
Vladimir Golovnev
387f9b1230
Merge pull request #8438 from Piccirello/webui-proxy-only
...
Add "Use proxy only for torrents" option to webui
7 years ago
Luís Pereira
2114817890
Use qEnvironmentVariableIsEmpty
...
Instead of qgetenv("QT_AUTO_SCREEN_SCALE_FACTOR").isEmpty().
It's faster (don't allocate memory) and don't throw exceptions.
7 years ago
vit9696
dac2ab5409
Fix compilation with Qt 5.11 on macOS
7 years ago
Mike Tzou
b87ca60c5a
Merge pull request #8134 from Piccirello/webui-show-status-bar
...
Add option to show/hide webui status bar
7 years ago
Mike Tzou
6d44075662
Merge pull request #8228 from Piccirello/webui-save-window-size
...
WebUI Save user's resized windows
7 years ago
Thomas Piccirello
69af205094
Use .each(). Refactor conditionals.
7 years ago
Thomas Piccirello
8a2e3f5d93
Add option to show/hide webui status bar
7 years ago
Thomas Piccirello
3f79726ab9
Make download + upload windows resizable
7 years ago
Thomas Piccirello
d1c4b1599a
WebUI Save user's resized window sizes
7 years ago
Vladimir Golovnev (Glassez)
a0842a1e68
Don't convert POST parameter names to lower-case
7 years ago
Vladimir Golovnev (Glassez)
29042e4841
Fix wrong WebAPI param name
7 years ago
Vladimir Golovnev
3e2cfb5136
Merge pull request #8409 from luis-pereira/master
...
Don't implicitly cast iterator to const_iterator
7 years ago
Thomas Piccirello
0d55599e02
Add "Use proxy only for torrents" option to webui
7 years ago
Luís Pereira
ea1b0b26b1
Don't implicitly cast iterator to const_iterator
...
It prevents detachments:
To illustrate:
QMap<QString, QString> map;
/* code compiles and works fine but find() returns the non-const
QMap::iterator that detaches!
*/
QMap<QString, QString>::const_iterator it = map.find("girish");
but also some subtle bugs:
QHash<int, int> wrong;
if (wrong.find(1) == wrong.cend()) {
qDebug() << "Not found";
} else {
/* find() detached the container before cend() was called, so it
prints "Found"
*/
qDebug() << "Found";
}
QHash<int, int> right;
if (right.constFind(1) == right.cend()) {
qDebug() << "Not found"; // This is correct now !
} else {
qDebug() << "Found";
}
Enforced by QT_STRICT_ITERATORS definition.
7 years ago
Vladimir Golovnev (Glassez)
176b2eb18b
Disable Auto TMM when RSS rule has save path
...
Closes #8411 .
7 years ago
Vladimir Golovnev
98a1c111b9
Merge pull request #5287 from elFarto/master
...
Implement RSS Smart Filter
7 years ago
Mike Tzou
47048d8410
Merge pull request #8349 from Chocobo1/stats
...
Improve stats dialog
7 years ago
Mike Tzou
882fa7ecd4
Merge pull request #8336 from Chocobo1/coalesce
...
Add "Coalesce reads & writes" checkbox in advanced options
7 years ago
Vladimir Golovnev
d07ece53e6
Merge pull request #7610 from glassez/webapi2
...
Redesign Web API
7 years ago
Vladimir Golovnev
afd2f6ba14
Merge pull request #8344 from FranciscoPombal/master
...
Fixed typo in function name isSplashScreenDisabled()
7 years ago
Vladimir Golovnev
226b0d4194
Merge pull request #8398 from luis-pereira/no-qdeleteall-on-temporaries
...
Don't use qDeleteAll() on temporaries
7 years ago
Luís Pereira
44e4b5d238
Don't use qDeleteAll() on temporaries
...
qDeleteAll() is being used on an unnecessary temporary container created
by QHash::values().
Using qDeleteAll(mycontainer) instead.
7 years ago
sledgehammer999
c59d2575c8
Sync translations from Transifex and run lupdate.
7 years ago
thalieht
f50b4724a6
Expose the libtorrent fields for "dont_count_slow_torrents" to GUI:
...
inactive_down_rate
inactive_up_rate
auto_manage_startup
7 years ago
Stephen Dawkins
48cbccff1e
Made smart episode filter regular expression configurable
7 years ago
Chocobo1
e31ec20ec4
Clarify some terms in stats dialog
...
Reorder list
7 years ago
Chocobo1
b9ec216aa5
Redefine CacheStatus.readRatio field.
...
Now it is defined as:
CacheStatus.readRatio = (blocks read from cache) / (blocks read from disk + blocks read from cache)
The 2 variables in denominator are counted separately and the formula before this change doesn't really make sense
Add percentage sign to "Read cache hits" stats
Also remove redundant header include
7 years ago
FranciscoPombal
2ac3004762
Fixed typo in function name isSplashScreenDisabled()
7 years ago
Chocobo1
543cbc6d1c
Add "Coalesce reads & writes" checkbox in advanced options
...
The setting is defaulted to ON for Windows. Closes #8295 .
7 years ago
Vladimir Golovnev (Glassez)
27d8dbf13b
Redesign Web API
...
Normalize Web API method names.
Allow to use alternative Web UI.
Switch Web API version to standard form (i.e. "2.0").
Improve Web UI translation code.
Retranslate changed files.
Add Web API for RSS subsystem.
7 years ago
sledgehammer999
e487b31877
Merge pull request #8319 from sledgehammer999/saner_log_settings
...
Set default file log size to 65 KiB and delete backup logs older than…
7 years ago
Stephen Dawkins
2845a791d0
Initial implementation of Smart Filter feature
7 years ago
sledgehammer999
024df8c53f
Set default file log size to 65 KiB and delete backup logs older than 1 month.
7 years ago