Commit graph

7966 commits

Author SHA1 Message Date
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
Eugene Shalygin
85cb49e8e1
Use pixmap cache for file icons on Mac OS and Windows. Closes #7264. 2017-10-23 18:12:12 +03:00
Vladimir Golovnev (qlassez)
3f00a6e5e3
Improve utils/fs.* and fix coding style 2017-10-23 18:12:10 +03:00
vit9696
35e18a2e09
Fix notification display on macOS 2017-10-23 18:12:09 +03:00
sledgehammer999
8ae2ae3b5c
Fix broken build. 2017-10-23 18:12:08 +03:00
vit9696
27c5f2aede
Fix macOS window restoration after using hide icon 2017-10-23 18:12:07 +03:00
sledgehammer999
34a69aa0b2
Use simpler ifdef style. 2017-10-23 18:12:06 +03:00
Brian Kendall
72fc903f4a
Fixed mac specific compiler errors and cleaned up Objective C code
Created new file src/gui/macutilities.mm, moved code from mainwindow.cpp and torrentcontentmodel.cpp that used the Objective C runtime into it and converted it to actual Objective C. Rewrote pixmapForExtension() so that it doesn't call into private Qt functions.
2017-10-23 18:12:05 +03:00
sledgehammer999
4f04992de8
Fix connection problems when a specific interface/ip is configured.
Closes #7235.
Bug related to #7099 and Qt.
2017-10-23 18:12:04 +03:00
vit9696
1b147494d4
Unify preference window borders across the tabs 2017-10-23 18:12:02 +03:00
sledgehammer999
b535a0b44e
Fix calculation of 'Average time in queue' stat under libtorrent 1.1.x 2017-10-23 18:12:01 +03:00
Thomas Piccirello
6c2271584c
Use single quotes for char.
Use case insensitive compare.
Swap conditionals
2017-10-23 18:12:00 +03:00
Thomas Piccirello
1002b28c95
Add auto torrent management to webui context menu (addresses #6815) 2017-10-23 18:11:54 +03:00
Chocobo1
dfded7bc9d
Add space between widgets in left side panel. Closes #7224. 2017-10-23 02:11:55 +03:00
sledgehammer999
36fde9ede5
Error out in configure script if the proper Qt/qmake version isn't found.
Closes #7250.
Partially reverts e64bb1de8c.
2017-10-23 02:11:54 +03:00
Chocobo1
6b4ac1b960
Initialize variables
Remove unused variable
2017-10-23 02:11:53 +03:00