Tim Delaney
19bb6f5fe0
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
7 years ago
thalieht
0717f0d60c
Save ratio limits as int instead of string
7 years ago
thalieht
525fdd6c2b
Coding style, use nullptr and other minor things
7 years ago
thalieht
f27e75e8fa
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg dialogs. Fixes #7352
7 years ago
Vladimir Golovnev (Glassez)
3ec992474d
Implement TorrentCategoryDialog class
7 years ago
silver
3b4fd35dde
Persist size and treeview header state in preview dialog
...
- renamed variable m_headerState
- renamed PreviewSelect class to PreviewSelectDialog
- renamed previewselect files to previewselectdialog
7 years ago
silver
ef63202be2
Follow project coding style. Issue #2192 .
7 years ago
Chocobo1
62493c672d
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
7 years ago
sledgehammer999
8f16388915
Better reporting of success/failure of torrent and file deletion.
7 years ago
Chocobo1
d143929454
Use smaller data type for TriStateBool
7 years ago
Chocobo1
45a0c5558a
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
7 years ago
Chocobo1
a1d46a278b
Change default value of m_diskCacheSize. New default is 64 MB.
7 years ago
Chocobo1
855772ae5a
Fix dereferencing freed pointer. Closes #7420 .
...
The torrent is removed from session after `deleteTorrent()`
yet we still invoke `torrent->name()`, thus result in crash.
7 years ago
Vladimir Golovnev
4cd3a37b4a
Fix suggest_mode setting
...
Actually suggest_mode is of type int.
7 years ago
Chocobo1
551ffb88ab
Define QT_USE_QSTRINGBUILDER.
...
The old defines are deprecated.
QT_USE_QSTRINGBUILDER also supports QByteArray which we use extensively
in WebUI.
7 years ago
Vladimir Golovnev
bda5be8e4c
Skip user input events when adding torrent
...
Closes #7327 .
7 years ago
Vladimir Golovnev (qlassez)
93f5d4058d
Improve BandwidthScheduler
...
Don't disable scheduler when manually switching speed limits.
Closes #7306 .
7 years ago
Chocobo1
2da2054ccf
Use enums for settings
7 years ago
Chocobo1
3f5fa0025d
Add sanitize helper clampValue()
7 years ago
Chocobo1
f4be165767
Add send_buffer_watermark send_buffer_low_watermark
...
send_buffer_watermark_factor knobs
7 years ago
Chocobo1
55a1628a5e
Add suggest_mode knob
7 years ago
Chocobo1
6c32f6beff
Add choking_algorithm & seed_choking_algorithm knob
7 years ago
Chocobo1
21ec8fe53f
Add allow_multiple_connections_per_ip knob. Closes #5884 .
7 years ago
Chocobo1
4185209036
Add mixed_mode_algorithm knob
7 years ago
Chocobo1
6150e0c56b
Add guided_read_cache knob
...
cleanup header include order
7 years ago
Eugene Shalygin
ef1597e45b
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.
7 years ago
sledgehammer999
907f222a73
Switch settings to signed int because libtorrent expects them that way.
7 years ago
sledgehammer999
b649d61e8b
Options to better memory control by libtorrent. Closes #7029 .
7 years ago
sledgehammer999
19fcd3dad6
Fix broken build.
7 years ago
sledgehammer999
7bb9c69c08
Fix connection problems when a specific interface/ip is configured.
...
Closes #7235 .
Bug related to #7099 and Qt.
7 years ago
sledgehammer999
c2a8970109
Fix calculation of 'Average time in queue' stat under libtorrent 1.1.x
7 years ago
Vladimir Golovnev (qlassez)
59c14801cc
Improve utils/fs.* and fix coding style
7 years ago
Vladimir Golovnev (qlassez)
cff6a64e9f
Use qUtf8Printable() for logging strings
...
qDebug(), qInfo(), qWarning(), qCritical(), qFatal() expect %s arguments
to be UTF-8 encoded, while qPrintable() converts to local 8-bit encoding.
Therefore qUtf8Printable() should be used for logging strings instead of
qPrintable().
7 years ago
Vladimir Golovnev (qlassez)
3801150a7a
Don't remove shared temp folder
...
Don't remove shared temp folder when torrent finished and moved to
its "complete" folder. Only torrents with stripped root folder
have subfolder in temp folder so they should remove it.
7 years ago
sledgehammer999
1b8cda7924
Follow project coding style.
7 years ago
sledgehammer999
31a4309077
Catch possible exceptions when parsing IPs. Closes #7249 .
7 years ago
Brian Kendall
62b956946f
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.
7 years ago
Vladimir Golovnev (qlassez)
7380bfa9e4
Remove legacy RSS settings after converting
...
Closes #7226 .
7 years ago
sledgehammer999
6270433237
Fix explicit Torrent Management Mode in Add New Torrent dialog. Closes #5602 .
7 years ago
Vladimir Golovnev (qlassez)
7d78457fe0
Don't replace existing files when relocating torrent
7 years ago
Vladimir Golovnev (qlassez)
f067b8b37c
Don't remove shared temp folder
7 years ago
Vladimir Golovnev (Glassez)
5f47d3b021
Don't create subfolder inside temp folder
7 years ago
Vladimir Golovnev (Glassez)
d22b626a02
Fix temporary subfolder isn't deleted
7 years ago
Chocobo1
24a69a9fe7
Fix crash when exiting qbt with search plugin dialog open
...
Avoid emitting signal in destructor
7 years ago
vit9696
d25467d3e6
Various macOS UI improvements
7 years ago
Eugene Shalygin
934133772e
Set interface for outgoing traffic.
...
This sets interface for outgoing traffic to the same as for ingoing
(listetning) with libtorrent 1.1.x.
7 years ago
Chocobo1
0532d546d7
Implement HTTP host header filtering
...
This filtering is required to defend against DNS rebinding attack.
7 years ago
sledgehammer999
7a478424cc
Revert "Drop python2 support.". Closes #7005 .
...
This reverts commit 7d030b4cd9
.
8 years ago
Eugene Shalygin
ff710ebd2c
fixup! Implement enum support in CachedSettingValue
8 years ago
Eugene Shalygin
a22d2f0139
Implement enum support in CachedSettingValue
...
Enums are stored as strings, that improves configuration file
readability and maintainability. String values are obtained via
QMetaEnum, and since with Qt 5.5 QMetaEnum::fromType() includes a
static_assert, this has to be a safe method.
8 years ago