Vladimir Golovnev (Glassez)
3faa7226e7
Handle exception when torrent file cannot be exported
...
Both `lt::create_torrent` constructor and `lt::create_torrent::generate()`
can throw an exception so we need to handle it to prevent the app from crashing.
3 years ago
Vladimir Golovnev (Glassez)
6070b41c9b
Properly add torrent with new tags
...
First, an attempt is made to add new tags to the Session.
Closes #15105 .
3 years ago
Vladimir Golovnev (Glassez)
50ddfea617
Remove lockfile only when last app instance is destroyed
3 years ago
tgregerson
e74ad86f14
Don't close tags menu when toggling items ( #15098 )
...
The issue was resolved by using QAction::toggled signal instead of
QAction::triggered. In QT 5.15+ the latter signal causes a QMenu
to close, whereas the former does not. Closes #13492 .
3 years ago
Vladimir Golovnev (Glassez)
2bd2490539
Disable functions deprecated in Qt 5.14 and earlier
3 years ago
Dmitry Khlestkov
2bd5aca3a4
Keep sub-sorting order ( #15074 )
...
Fixes #15073
3 years ago
Kacper Michajłow
ccb59fbad3
Suppress C4267 conversion warnings ( #13307 )
...
- warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
Caused by mismatch between size_type of std and Qt containers. It is safe to cast to int as all of those containers hold low number of objects.
3 years ago
Vladimir Golovnev (Glassez)
6c66d02aff
Declare AbstractFileStorage destructor virtual
3 years ago
Vladimir Golovnev (Glassez)
97c7f3bc67
Raise minimum Qt version to 5.14
3 years ago
Chocobo1
2503271a45
Fix main window turns blank after restoring from tray ( #15031 )
...
When restoring from tray icon, although the window manager shows qbt
window but qbt itself didn't handle the event correctly, i.e. the
`show()` was missing and thus qbt did nothing and the window is blank.
Note that at this point the `visible` property is `false`.
After invoking `show()` qbt will start showing the contents and also
fire another showEvent where `visible` property is `true` and here is where
qbt should handle preparations for the window.
Fix #9510 .
4 years ago
LoneDev
d335f263f3
Fix comment typo in algorithm.h ( #15030 )
4 years ago
Vladimir Golovnev (Glassez)
b6a35e9477
Don't log any error when "queue" file doesn't exist
4 years ago
Vladimir Golovnev (Glassez)
6aa8251b98
Provide correct error description in "upload mode"
4 years ago
Chocobo1
af49a4dd5a
Sort CSS properties
4 years ago
Chocobo1
b2081faf87
Remove redundant empty line
4 years ago
Chocobo1
f960934eb9
Merge same selector
4 years ago
Chocobo1
5522725f5d
Remove duplicate property
4 years ago
Chocobo1
9f3d36bab0
Remove useless property
...
The `padding` will override the former `padding-top`.
4 years ago
Chocobo1
87e7085c22
Remove empty block
4 years ago
Chocobo1
d8eac56f5e
Use stylelint for CSS linting
4 years ago
Chocobo1
c20557f690
Use cleaned icons
...
By running svgcleaner over qbittorrent_mac.svg.
4 years ago
Chocobo1
65bdc4cf43
Format CSS code with prettier
4 years ago
Chocobo1
ee79c196df
Use prettier for formatting CSS code
4 years ago
17jiangz1
41682bfcbb
Update Mac icons for Big Sur
...
Add Mac icon vector source.
4 years ago
brvphoenix
aebb9f89d1
Remove the lockfile on exit ( #14997 )
4 years ago
zhuangzi926
2e8e2b04a1
Announce to all trackers if IP changed ( #15001 )
...
Closes #14545 .
4 years ago
Chocobo1
c64e433a69
Remove unused parameter
4 years ago
Chocobo1
e21f46d824
Avoid data duplication
4 years ago
Chocobo1
ef79546508
Add `connection_speed` to advanced settings
...
Now we follow libtorrent current default value 30.
Closes #6973 .
Also bump WebAPI version.
4 years ago
Vladimir Golovnev (Glassez)
2993fdb169
Improve "Watched folders" feature
...
Make "file system watcher" an application core component
and separate it from its presentation model.
4 years ago
Vladimir Golovnev (Glassez)
9565b695ef
Unify custom exceptions
4 years ago
Vladimir Golovnev (Glassez)
89cedd411e
Allow add torrents with relative save path
...
The relative save path will be resoloved against the default one.
4 years ago
Anton
a51742b47c
Add context menu for tabs in search widget ( #14926 )
...
In searchwidget you can close all opened tabs or selected tab using menu. Closes #5628 .
4 years ago
An0n
ea3b897d5d
Bump file pool size ( #14966 )
4 years ago
PriitUring
e432d67b3b
Fix typo "Highlited" ( #14956 )
4 years ago
sledgehammer999
e4bea17fb8
Update grunt dependency
...
This fixes CVE-2020-7729
4 years ago
sledgehammer999
2c47cfbe25
Add new languages
...
* Mongolian
* Persian
* Thai
4 years ago
Chocobo1
a82ca6adb2
Fix potential data race
...
This case could be considered benign however it could still be an
undefined behavior to the compiler, so remove it.
Ref:
https://hacks.mozilla.org/2021/04/eliminating-data-races-in-firefox-a-technical-report/
4 years ago
Chocobo1
05e3e46f5a
Throw the exact (same) exception
4 years ago
Chocobo1
6d399f0303
Fix typo
4 years ago
Chocobo1
ecebfc34fa
Move initial values to header
4 years ago
thalieht
e86916a7f9
Make some strings in WebUI translatable
...
Closes #14920
4 years ago
sledgehammer999
94195d5339
Sync translations from Transifex and run lupdate
4 years ago
Vladimir Golovnev (Glassez)
383eaf44ac
Implement DBResumeDataStorage class
4 years ago
Chocobo1
bdf2f6c3e1
Initialize struct members by default
...
This is to suppress the following compilation warnings:
base/bittorrent/magneturi.cpp: In constructor ‘BitTorrent::MagnetUri::MagnetUri(const QString&)’:
base/bittorrent/magneturi.cpp:87:60: warning: missing initializer for member ‘BitTorrent::TrackerEntry::message’ [-Wmissing-field-initializers]
87 | m_trackers.append({QString::fromStdString(tracker)});
4 years ago
Chocobo1
fdc186c92f
Revise tag related implementations
...
Fix #12690 .
4 years ago
jagannatharjun
ab906f17de
Correctly draw progress background with stylesheet
...
fixes #14731
4 years ago
Nick Korotysh
28ef33b0a0
Improve Info.plist generation with CMake
...
- drop configure_file() and file(GENERATE) calls
- fill missed MACOSX_DEPLOYMENT_TARGET variable
4 years ago
Vladimir Golovnev (Glassez)
75e0990eb3
Provide tracker peers count via TrackerEntry
...
Don't expose additional accessor in Torrent interface.
4 years ago
Vladimir Golovnev (Glassez)
62a6c725d6
Don't overwrite tracker message
...
Use one of the tracker endpoint messages.
4 years ago