Chocobo1
15b2811fa5
Don't use deprecated QUrl::topLevelDomain()
2020-06-04 20:20:50 +08:00
Chocobo1
547982c741
Don't use deprecated QButtonGroup::buttonClicked()
2020-06-04 20:20:50 +08:00
Chocobo1
2fd4381398
Don't use QWheelEvent deprecated functions
2020-06-04 20:20:50 +08:00
Chocobo1
c239568658
Don't use deprecated QTextStreamFunctions::flush()
...
Qt doc states: "If QTextStream operates on a string, this function does
nothing". So remove it.
2020-06-04 15:29:32 +08:00
Mike Tzou
9aad574e1a
Merge pull request #12949 from jagannatharjun/fix-big
...
Fix large strings not visible in log widget
2020-06-01 19:59:43 +08:00
jagannatharjun
8267898655
Fix large strings not visible in log widget
2020-05-31 15:37:33 +05:30
Mike Tzou
788d2729db
Merge pull request #12877 from an0n666/private-torrents
...
Address some issues regarding private torrents
2020-05-30 19:29:02 +08:00
jagannatharjun
bcf11cf1e8
Cache flag icons
2020-05-29 17:55:12 +05:30
Vladimir Golovnev
c003a12f1f
Merge pull request #12884 from glassez/custom-storage
...
Find complete files when checking torrent
2020-05-26 19:00:37 +03:00
an0n666
6d85ae8f62
Address some issues regarding private torrents
2020-05-26 14:18:15 +06:00
Vladimir Golovnev (Glassez)
f4efa530dc
Create header for common BitTorrent declarations
2020-05-25 20:32:35 +03:00
Chocobo1
ba2db3f139
Avoid overuse of QStringLiteral
...
This code path doesn't look like frequently used.
2020-05-24 13:13:55 +08:00
Chocobo1
99a1802dbb
Make class variable const
2020-05-24 13:13:55 +08:00
Chocobo1
00eb61543d
Make the icon cache a class variable
2020-05-24 13:13:32 +08:00
jagannatharjun
3c733ddf0c
Allow changing GUI icons from theme bundles
2020-05-22 11:06:22 +05:30
jagannatharjun
43319f2213
Always use UIThemeManager for obtaining icons in GUI
2020-05-22 11:06:10 +05:30
jagannatharjun
971a21f306
Add missing header stdexcept in fspathedit
...
Fixes compilation error with MSVC 16.6
2020-05-20 23:25:19 +05:30
Vladimir Golovnev
dde7421f59
Merge pull request #12848 from jagannatharjun/move-icons
...
Move all icon resources in icons folder root
2020-05-19 07:39:55 +03:00
jagannatharjun
ab91d546e5
Move all icon resources to icon folder root
2020-05-18 20:30:51 +05:30
Chocobo1
328eb5b5cc
Provide a proper default return statement for the function
2020-05-16 21:48:10 +08:00
Chocobo1
21e1c33d15
Don't use deprecated QPainter option
...
Warning from compiler:
speedplotview.cpp:342:63: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations]
2020-05-16 21:23:45 +08:00
thalieht
e2a8fe0dce
Disable checkbox if torrent doesn't have root folder
2020-05-13 13:35:13 +03:00
FranciscoPombal
2192de5233
Fix include
2020-05-09 17:36:37 +01:00
Vladimir Golovnev (Glassez)
a8c333ff25
Drop "private" subfolders
...
"private" subfolders violate the structure of the project,
since the existence of all other subfolders is based on a
different principle.
In addition, there is no clear line between "private" and
"non private".
2020-05-08 14:59:18 +03:00
Mike Tzou
1917064bde
Merge pull request #12755 from jagannatharjun/transferlist-colors
...
Read Transfer list's custom colors from config.json
2020-05-07 12:34:28 +08:00
jagannatharjun
77658be9a7
Read Transfer list's custom colors from config.json
2020-05-06 16:37:37 +05:30
jagannatharjun
cce8f178e4
Allow changing log colors from config.json
2020-05-05 18:53:31 +05:30
Mike Tzou
2c100feb35
Merge pull request #11618 from jagannatharjun/align
...
Align Properties Tabbar in center
2020-05-05 13:10:53 +08:00
Mike Tzou
5b36706a71
Merge pull request #12719 from jagannatharjun/json-colors
...
Allow setting application palette from config.json
2020-05-05 12:37:09 +08:00
jagannatharjun
afbe55d004
Allow setting application palette from config.json
2020-05-04 18:37:58 +05:30
jagannatharjun
6f38a86d9a
Align Properties Tabbar in center
2020-05-04 11:25:37 +05:30
Vladimir Golovnev
2d1d1ba26a
Merge pull request #12734 from glassez/project-cleanup
...
Cleanup project configuration
2020-05-03 16:37:36 +03:00
Vladimir Golovnev (Glassez)
c40da7a5dd
CMake: Fix header inclusion in autogenerated files
2020-05-03 10:27:24 +03:00
Nick Korotysh
c97e4f105f
Clean up header inclusion
2020-05-02 19:54:36 +03:00
Vladimir Golovnev (Glassez)
eeae308c29
CMake: Don't use subprojects in GUI subfolders
2020-05-02 17:21:03 +03:00
Vladimir Golovnev (Glassez)
ace8a093d2
QMake: Include all GUI sources in "gui.pri"
2020-05-02 17:20:43 +03:00
Vladimir Golovnev
4e7ff88cf4
Merge pull request #12718 from glassez/improve-cmake
...
Improve CMake project
2020-05-02 08:54:25 +03:00
Mike Tzou
02c6afd769
Merge pull request #12711 from Kolcha/tooltip
...
Show tooltip for torrent name in transfer list
2020-05-02 11:51:16 +08:00
Vladimir Golovnev (Glassez)
642bf7b8a6
CMake: Don't split GUI code into several libraries
2020-05-01 17:03:00 +03:00
Vladimir Golovnev (Glassez)
4a2d25b03b
Clean up header inclusion
2020-05-01 17:02:49 +03:00
Nick Korotysh
1fd4ff5c2c
Show tooltip for some properties in transfer list
...
Tooltip is added for next columns:
- name
- status
- category
- tags
- tracker
- save path
closes #12696
2020-05-01 13:08:09 +03:00
Mike Tzou
2aa80fe9ba
Merge pull request #12689 from thalieht/subfolder
...
Rename "Create subfolder" option to "Keep subfolder"
2020-05-01 14:09:17 +08:00
Vladimir Golovnev
7ca0592694
Merge pull request #12684 from an0n666/requires-restart
...
Remove "requires restart" from network interface settings
2020-05-01 07:38:36 +03:00
Chocobo1
f6eb341b32
Clean up code
2020-04-30 13:18:24 +08:00
Mike Tzou
4f820163ff
Merge pull request #12691 from Chocobo1/iterator
...
Support range-based iteration in IndexRange class
2020-04-30 13:10:13 +08:00
Mike Tzou
7061242681
Merge pull request #12176 from NotTsunami/ssl
...
Add HTTPS tracker certificate validation option
2020-04-30 13:09:31 +08:00
Chocobo1
ddb9dfe185
Disable copy construction of QObject subclasses
2020-04-29 21:40:50 +08:00
an0n666
1d3bb705c8
Remove "requires restart" from network interface settings
...
Network interface changes are applied on the fly. A restart is not required.
2020-04-29 12:42:49 +06:00
thalieht
1bdffe1729
Rename "Create subfolder" to "Keep top-level folder"
...
Closes #12673
2020-04-29 03:09:38 +03:00
Mike Tzou
6dcb0665ca
Merge pull request #12655 from Chocobo1/delete
...
Improve behavior of deleting torrents in transfer list
2020-04-28 11:14:49 +08:00
Chocobo1
7ce83599b4
Improve behavior of deleting torrents in transfer list
...
Avoids accessing invalid pointers.
Closes #12584 .
2020-04-27 02:03:19 +08:00
Andrei Stepanov
159f93e051
Fix typo in optionsdialog.cpp
...
qBittorent -> qBittorrent
2020-04-26 20:59:42 +04:00
Chocobo1
bb80b378c1
Add ability to send custom HTTP headers
2020-04-23 12:13:01 +08:00
NotTsunami
cc1ebbf379
Add HTTPS tracker certificate validation option
...
This commit adds a new libtorrent setting to validate HTTPS tracker
certificates. When enabled, libtorrent will validate the certificate
of HTTPS trackers against the system's certificate store. This option
is only enabled on libtorrent versions >= 1.2.6 and on non-Windows
systems, as OpenSSL does not use the system's certificate store on
Windows.
2020-04-22 15:50:17 -04:00
Chocobo1
f915241bcb
Reduce ambiguity for selecting icons
...
Related: #12554 .
2020-04-21 12:35:08 +08:00
Mike Tzou
8ed63d69de
Merge pull request #12528 from thalieht/proxycheckbox
...
Don't uncheck Authentication checkbox when changing proxy type
2020-04-21 01:28:21 +08:00
thalieht
5d16379941
Don't uncheck Authentication checkbox when changing proxy type
...
Closes #12525
2020-04-19 21:28:21 +03:00
Chocobo1
16a76eee9f
Add final specifier to GUI classes
...
Follow up d3d3f7dbb3
.
2020-04-19 10:59:59 +08:00
thalieht
f0549b4cb2
Make a few cosmetic changes in code
2020-04-17 19:51:26 +03:00
Vladimir Golovnev
2681093d27
Merge pull request #12513 from glassez/torrent-impl
...
Split TorrentHandle interface and implementation
2020-04-17 07:40:28 +03:00
Mike Tzou
a5fe96f793
Merge pull request #12458 from jagannatharjun/log
...
Convert the Log widget to use custom View/Model
2020-04-17 11:27:35 +08:00
Vladimir Golovnev (Glassez)
1132b84548
Split TorrentHandle interface and implementation
2020-04-16 20:22:26 +03:00
jagannatharjun
fd89717330
Convert the Log widget to use custom View/Model
...
Co-authored-by: sledgehammer999 <hammered999@gmail.com>
2020-04-15 22:18:00 +05:30
Mike Tzou
c25b3e623c
Merge pull request #12423 from an0n666/remove-strict-superseeding
...
Remove deprecated strict super seeding mode from advanced settings
2020-04-12 00:41:28 +08:00
Chocobo1
31648a4433
Fix date format for "Last seen complete"
...
Closes #12462 .
2020-04-10 13:06:56 +08:00
Chocobo1
f76d56e224
Suppress unused variable warning on macOS
2020-04-07 16:02:10 +08:00
an0n666
026aad2c04
Remove deprecated strict super seeding mode from advanced settings
2020-04-07 09:54:32 +06:00
Chocobo1
5eaedb13e5
Sort locale language list
2020-04-05 19:21:37 +08:00
Chocobo1
09545d4036
Fix wrong logic that disables "prevent sleeping" timer
...
Also update power management state early so we don't need to wait for
the timer timeout to have the effect.
2020-04-04 12:15:56 +08:00
Chocobo1
3752453522
Clean up coding style
2020-04-04 12:15:54 +08:00
Vladimir Golovnev (Glassez)
b759a71c5d
Fix sub-sorting of Transfer list
...
Closes #12330 .
2020-04-03 19:09:41 +03:00
Mike Tzou
8a8607bf93
Merge pull request #12175 from NotTsunami/upnp
...
Add UPnP lease duration advanced option
2020-03-29 12:29:10 +08:00
NotTsunami
6b4925d222
Add UPnP lease duration advanced option
...
This is a new setting added that is pending addition to
libtorrent 1.2.6. This setting is important because some routers do
not support expiration times on port-maps and do not return an error
either, silently failing. The previous default of permanent leases is
retained.
2020-03-28 00:32:32 -04:00
Chocobo1
7de8a4d6e0
Construct QString more efficiently
2020-03-25 12:00:11 +08:00
Kacper Michajłow
e2c9ca5ee5
Add missing QPainterPath header include
2020-03-22 14:58:44 +01:00
Mike Tzou
4884f08e04
Merge pull request #12187 from NotTsunami/keypress
...
Allow other keypresses in LogListWidget
2020-03-19 13:36:41 +08:00
Mike Tzou
a9111b1357
Merge pull request #12180 from FranciscoPombal/fix_stats
...
Fix total connected peers count calculation
2020-03-19 12:07:20 +08:00
FranciscoPombal
a81789f4af
Fix total connected peers count calculation
...
Also fix small typo in function name.
2020-03-17 18:01:57 +00:00
NotTsunami
c5aab39836
Allow other keypresses in LogListWidget
...
By not emitting the native signal, all other keypresses other than
the copy and select keysequences are ignored. This should reallow
keyboard navigation within LogListWidget objects.
Closes #12172 .
2020-03-17 01:30:01 -04:00
Chocobo1
b7e7d8019c
Use helper function to construct QString
...
This is shorter and avoids the need of 2 constructors.
2020-03-16 21:27:42 +08:00
Vladimir Golovnev
5127156ba4
Merge pull request #12035 from glassez/move-storage
...
Move torrent storages one by one
2020-03-13 15:59:05 +03:00
Mike Tzou
92cc2a4f31
Merge pull request #12124 from Chocobo1/rename
...
Fix crash when renaming torrent contents
2020-03-08 00:16:02 +08:00
Mike Tzou
dc4e9e3779
Merge pull request #11813 from Chocobo1/python
...
Drop python2 support
2020-03-07 10:18:45 +08:00
Chocobo1
62b0d25140
Capture pointer by value
2020-03-07 10:06:35 +08:00
Mike Tzou
095ef67e30
Merge pull request #12102 from Kolcha/hidpi
...
Delegate GUI scaling work to Qt
2020-03-07 10:05:21 +08:00
Nick Korotysh
d49d7c1d82
Delegate GUI scaling work to Qt
...
Set Qt::AA_EnableHighDpiScaling application attribute when Qt 5.14.x or
newer is used. This fixes a lot of scaling issues on HiDPI displays.
Unfortunately, this flag must be set only before QApllication object
creation, so the only one place where it can be done is main().
2020-03-06 12:04:57 +03:00
Chocobo1
48e7191ef7
Initialize boolean variables
2020-03-06 15:50:55 +08:00
Chocobo1
9c6bc6c89a
Fix crash when renaming torrent contents
...
Closes #10328 .
2020-03-06 15:50:37 +08:00
Chocobo1
2157e500ef
Use helper functions to construct smart pointers
2020-03-05 19:32:28 +08:00
Mike Tzou
1ca303cb0a
Merge pull request #12027 from NotTsunami/pr2
...
Improve the options tooltips
2020-03-03 17:47:23 +08:00
NotTsunami
f1788c76a9
Improve the options tooltips
...
* Fix wrong fields for translation comments
* Improve torrent management tooltip to cover both modes
* Add new tooltips for potentially confusing settings
Decent progress towards #6346 , closes #9994 , closes #11528
2020-03-02 23:55:08 -05:00
Vladimir Golovnev
4d2943a782
Merge pull request #12033 from glassez/save-torrent
...
Allow to save downloaded metadata as torrent file
2020-02-27 08:49:40 +03:00
Vladimir Golovnev (Glassez)
e4ff206e3c
Move torrent storages one by one
2020-02-26 10:20:04 +03:00
Vladimir Golovnev (Glassez)
dd0cee44c1
Allow to save downloaded metadata as torrent file
2020-02-26 08:10:11 +03:00
Chocobo1
071ffd13de
Fix wrong field for translation comment
...
The `comment` field is used for disambiguation between identical
strings. Our case here should use the `extracomment` field which
meant as comment for translators.
2020-02-26 13:04:18 +08:00
Chocobo1
f4febb96b4
Remove misleading translation comment
...
Also it was using the wrong field for translation comment.
2020-02-26 12:55:19 +08:00
djt3
e6887fc950
Change placeholder text in torrent list's filter
2020-02-23 14:40:45 +00:00
sledgehammer999
ea1481beef
Use IP geolocation database by DB-IP instead of MaxMind
...
Closes #11792
2020-02-18 16:11:28 +02:00
sledgehammer999
322ae3e0bc
Merge pull request #11825 from FranciscoPombal/stalled_filter
...
Add stalled filters to GUI and Web API/UI
2020-02-16 18:32:37 +02:00
Chocobo1
6eb190c373
Expose WebUI ban duration to users
2020-02-14 16:23:30 +08:00