silver
60adb94463
Options dialog save windows state in destructor
2017-10-24 00:53:07 +03:00
Chocobo1
a02fd5b588
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
2017-10-24 00:53:06 +03:00
sledgehammer999
39ce080318
Don't use margins in FileSystemPathEdit widgets.
...
Introduced in 30081e0 .
2017-10-24 00:53:04 +03:00
Chocobo1
f53abd2f07
Update qtsingleapplication
...
To upstream version a8dda66d7738cde9042b87db27993f710ae3eeeb
2017-10-24 00:53:03 +03:00
Thomas Piccirello
5b0ae0271b
Reposition "Priority" menu option in WebUI to match gui ( closes #7072 )
2017-10-24 00:53:02 +03:00
sledgehammer999
ec2efd8c62
Better reporting of success/failure of torrent and file deletion.
2017-10-24 00:53:01 +03:00
Chocobo1
146daea513
Replace dialog ok-cancel buttons with QDialogButtonBox
...
This PR will make button order follow the platform default.
For example: windows use: OK, Cancel; linux use: Cancel, OK.
2017-10-24 00:53:00 +03:00
Chocobo1
5ab67faacb
Use smaller data type for TriStateBool
2017-10-24 00:52:58 +03:00
Chocobo1
4213d37857
WebAPI: fix addPaused wrong default behavior
...
Add helper function
Sort include header
2017-10-24 00:52:57 +03:00
Chocobo1
0192922910
Refactor
...
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
2017-10-24 00:52:56 +03:00
Chocobo1
d2b88e9f84
WebAPI: fix root_folder default behavior
...
Bug was introduced in
6b33db3ae3
2017-10-24 00:52:55 +03:00
Chocobo1
a32c4aca92
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
2017-10-24 00:52:54 +03:00
thalieht
91d41336a7
Create root folder option when adding a torrent in WebUI
2017-10-24 00:52:53 +03:00
Chocobo1
d73d790612
Rename option
...
The previous "Disk write cache size" is not accurate since it is also being used
for read cache, so rename it to "Disk cache".
2017-10-24 00:52:51 +03:00
Chocobo1
af0fed6669
Change default value of m_diskCacheSize. New default is 64 MB.
2017-10-24 00:52:50 +03:00
Eugene Shalygin
a24c13b902
Allow custom tray icons when system icon theme is used. Closes #7403 .
2017-10-24 00:52:49 +03:00
Chocobo1
c44c6a8d88
Fix dereferencing freed pointer. Closes #7420 .
...
The torrent is removed from session after `deleteTorrent()`
yet we still invoke `torrent->name()`, thus result in crash.
2017-10-24 00:52:48 +03:00
sledgehammer999
5f62a68e71
Travis: Update libtorrent bottle with boost 1.65+ fix.
2017-10-24 00:52:41 +03:00
Allan Nordhøy
5af90fee46
Spelling: HTTP/HTTPS
2017-10-23 19:03:40 +03:00
Chocobo1
b17566f113
Update coding guidelines
...
Add ranged-based for loop example
Add class inheritance example
Add Prefer pre-increment, pre-decrement operators section
Fix space after comment keyword
Fix header include order
[skip ci]
2017-10-23 19:03:39 +03:00
sledgehammer999
29edea050b
Update Changelog.
2017-10-23 19:03:38 +03:00
sledgehammer999
7ceb646e90
Bump to 3.4.0beta2
2017-10-23 19:03:37 +03:00
sledgehammer999
0ff39e4d10
Sync translations from Transifex and run lupdate.
2017-10-23 19:02:44 +03:00
sledgehammer999
1e146c94bd
Fix file list expansion on singlefile torrent with folder.
2017-10-23 18:12:43 +03:00
Vladimir Golovnev
8a0da04807
Fix CategoryFilterWidget::sizeHint()
2017-10-23 18:12:42 +03:00
Vladimir Golovnev
9e7a847cce
Fix suggest_mode setting
...
Actually suggest_mode is of type int.
2017-10-23 18:12:41 +03:00
Chocobo1
63d3f20e51
Sort the resource lists
...
Update RCC header
2017-10-23 18:12:40 +03:00
Chocobo1
817e3fbb05
Cleanup src.pro
2017-10-23 18:12:39 +03:00
Chocobo1
263e96aba2
Move NOMINMAX define
2017-10-23 18:12:37 +03:00
Chocobo1
0379376fd8
Define QT_USE_QSTRINGBUILDER.
...
The old defines are deprecated.
QT_USE_QSTRINGBUILDER also supports QByteArray which we use extensively
in WebUI.
2017-10-23 18:12:36 +03:00
Chocobo1
de7efb50c2
Use Qt5 connect syntax
2017-10-23 18:12:35 +03:00
Chocobo1
400f8dc2d8
Setup parent ownership to avoid memory leak
2017-10-23 18:12:34 +03:00
Chocobo1
b2b63be798
Use enums for settings
2017-10-23 18:12:33 +03:00
Chocobo1
c9aba893de
Add sanitize helper clampValue()
2017-10-23 18:12:32 +03:00
Chocobo1
1ac4cdcf4d
Add send_buffer_watermark send_buffer_low_watermark
...
send_buffer_watermark_factor knobs
2017-10-23 18:12:30 +03:00
Chocobo1
08a0fef18a
Add suggest_mode knob
2017-10-23 18:12:29 +03:00
Chocobo1
6f54c170ab
Add choking_algorithm & seed_choking_algorithm knob
2017-10-23 18:12:28 +03:00
Chocobo1
d3b4c7bec4
Add allow_multiple_connections_per_ip knob. Closes #5884 .
2017-10-23 18:12:27 +03:00
Chocobo1
f8dfe1ea57
Add mixed_mode_algorithm knob
2017-10-23 18:12:26 +03:00
Chocobo1
ce5f8bab44
Add guided_read_cache knob
...
cleanup header include order
2017-10-23 18:12:24 +03:00
Vladimir Golovnev
59cf70f8f2
Fix RSS Downloader fails to rename rule
...
Closes #7333 .
2017-10-23 18:12:23 +03:00
Vladimir Golovnev (qlassez)
561975f435
Improve BandwidthScheduler
...
Don't disable scheduler when manually switching speed limits.
Closes #7306 .
2017-10-23 18:12:22 +03:00
Vladimir Golovnev
eae6fea830
Skip user input events when adding torrent
...
Closes #7327 .
2017-10-23 18:12:21 +03:00
Evengard
2673c2b5b2
Disable skipping of loopback interfaces
...
This fixes the absence of VPN tunnel interfaces under Windows and works around the QTBUG-32349
Fixes #7291
2017-10-23 18:12:20 +03:00
Eugene Shalygin
3c17f3a836
Fix ignoring of incorrect version strings in search plugins. Closes #7101 .
...
Printing of Version with all components set to zero was segfaulting due
to underflow in array index. Also add log message for such plugins.
2017-10-23 18:12:19 +03:00
Chocobo1
0890154e16
WebAPI: fix validating wrong header field. Closes #7311 .
...
X-Forwarded-Host is a foreign proxy setting, it isn't the same as
qbt's local setting and thus it makes no sense to verify it.
2017-10-23 18:12:17 +03:00
sledgehammer999
0877824875
Check for Qt5Svg when configuring.
2017-10-23 18:12:16 +03:00
Chocobo1
60bd5999b0
Wrap class & functions in anonymous namespace
...
Rename vars
Cleanup class interfaces
Pass by reference whenever possible
2017-10-23 18:12:15 +03:00
sledgehammer999
d0ec60fa01
Switch settings to signed int because libtorrent expects them that way.
2017-10-23 18:12:14 +03:00
sledgehammer999
e7a70a4acc
Options to better memory control by libtorrent. Closes #7029 .
2017-10-23 18:12:13 +03:00