Frédéric Brière
ec08cb5445
Leave categories order intact in "Add new torrent" dialog.
...
The categories are already properly sorted in AddNewTorrentDialog; this
second case-sensitive sort undid all that.
This partially addresses #6708 .
8 years ago
Eugene Shalygin
6540dfa528
Fix release CMake build
...
write() is declared with __attribute__ ((__warn_unused_result__)) and as
such we shall check its return value. Took opportunity and adjusted
error reporting a bit: if writing to stderr fails, try to write to
stdout.
8 years ago
Chocobo1
da581dee41
Fix double click on system tray icon causing program to open and
...
minimize immediately
Closes #5826 .
Simply ignore DoubleClick event, as it always come after Trigger
event
8 years ago
Chocobo1
3e964212ac
Fix signaling to checkForUpdatesFinished() failed.
...
Fixup of 14e168039c
.
8 years ago
Vladimir Golovnev
c1e3e2a745
Revert "Guard the flag used for deferred session configure." ( #6733 )
...
This reverts commit 5cbc7b16c0
.
8 years ago
Chocobo1
7d1ac06ce2
Fix stack overflow in Utils::Gzip::decompress
...
Anyway, use std::vector to allocate memory on the heap (in compress() too)
8 years ago
Chocobo1
1fbf121506
Fix CookiesDialog position
8 years ago
Chocobo1
f36e891010
Fix trackersadditiondlg position
8 years ago
Chocobo1
bd2f69a9d6
Fix peeradditiondlg position
8 years ago
Chocobo1
6f6fe626a1
Fix shutdownconfirm position
8 years ago
Chocobo1
fb9ebce9c6
Fix pluginselectdlg position
...
Fix peerlistwidget position
Fix mainwindow position
8 years ago
Chocobo1
2258e4d5ed
Fix automatedrssdownloader position
8 years ago
Chocobo1
73047e3c84
Cleanup downloadfromurldlg, statsdialog
8 years ago
Chocobo1
933f9f1451
Fix optionsdlg position
8 years ago
Chocobo1
46abe42a54
Fix deletionconfirmationdlg position
...
Fix autoexpandabledialog position
Fix previewselect position
8 years ago
Chocobo1
a902eb6b2b
Fix speedlimitdlg position
8 years ago
Chocobo1
de54fa2c30
Fix addnewtorrentdialog position
...
Fix messageBox position
8 years ago
Chocobo1
7eaa5987c8
Fix dialogs didn't position on the correct screen which qBittorrent window is on. Closes #1690 , #2474 , #3538 .
8 years ago
Brian Kendall
eba41978b0
Added command line arguments for specifying options when adding torrents
...
Arguments include adding torrents as paused/started, skiping hash check, setting category, downloading in sequential order, downloading first and last pieces first, and skipping the 'add new torrent' dialog. Added TriStateBoolOption class for specifying options that don't have a default value when unused (e.g. add-paused). Also improved command line usage text to include more information, have better organization, and not exceed 80 columns in width. Also also added firstLastPiecePriority field to BitTorrent::AddTorrentData, and modified TorrentHandle so that if first/last piece priority should be on, it will be toggled on after the torrent's metadata has loaded.
8 years ago
Chocobo1
6bcb07649e
Setup DPI at startup
8 years ago
Chocobo1
893ce32f1d
Remove curly braces
8 years ago
Chocobo1
a1cad86bbf
Remove workaround
...
Upstream confirmed bug fixed in Qt 5.2
8 years ago
Chocobo1
b3c73b7868
Refactor
8 years ago
Frédéric Brière
e8f6149a6d
findIncompleteFiles(): Replace dir listing with individual checks. Closes #6265 .
...
Looking for incomplete files in a new torrent by using a pre-generated
directory listing presents several disadvantages:
- It requires us to extract the top-level directory name (in case it
was renamed).
- It requires us to know whether the top-level directory was stripped.
- In the latter case, it may result in recursively traversing the
entire contents of all downloaded torrents.
Calling QFile::exists() individually for each file solves all these
issues.
In so doing, the handling of single-file and multiple-file torrents are
rendered pretty much identical, and can therefore be merged.
8 years ago
Chocobo1
5e50d8ed91
WebUI: Fix checkbox hidden. Closes #6642 .
8 years ago
Eugene Shalygin
c4e16aa820
cmake: set warning and error options
...
The set is far from perfect, but guards against common errors with GCC.
8 years ago
Vladimir Golovnev
93df0ef1d1
Move AddTorrentParams to its own header ( #6712 )
...
* Move AddTorrentParams to its own header
* fixup! Move AddTorrentParams to its own header
8 years ago
Vladimir Golovnev (Glassez)
160b7ff2d3
Remove torrent temp folder when torrent is deleted
8 years ago
Vladimir Golovnev (Glassez)
c56b4a25bc
Remove torrent temp folder if it becomes unneeded
8 years ago
Eugene Shalygin
71cf25ae99
Replace variable length array with std::vector in print_stacktrace()
...
The function does memory allocation from heap anyway, so should not be
a problem to use STL container.
8 years ago
Vladimir Golovnev (Glassez)
a78a1a9c64
Add invariant checking in ArticleListWidget
8 years ago
Vladimir Golovnev (Glassez)
335443e6a0
Drop QThread::msleep wrapper
8 years ago
Vladimir Golovnev (Glassez)
d5d946dd66
Drop Qt4 related settings from QMake project
8 years ago
sledgehammer999
b71ee80ecd
Optimize P2P filter parsing too.
8 years ago
sledgehammer999
fd7e69e1e0
Add helper function for logging messages.
8 years ago
sledgehammer999
51cf6bd2a5
Optimize DAT filter parsing. Parse in memory and in place instead of copying strings around.
8 years ago
Brian Kendall
59e6a4298d
Fixed macOS-specific bug in AddNewTorrentDialog
...
Because AddNewTorrentDialog is a sheet in macOS, repositioning it causes bad things to happen, particularly if the main dialog is on a secondary monitor.
8 years ago
Vladimir Golovnev (Glassez)
6764de8ef0
Fix ArticleListWidget adds new articles in wrong order
8 years ago
Vladimir Golovnev (Glassez)
71814885aa
Fix ArticleListWidget doesn't clear properly
8 years ago
Vladimir Golovnev (Glassez)
abfcfb5af0
Fix possible null pointer dereference
8 years ago
sledgehammer999
8f6e04d779
Using new IP parser provided by @evsh . It is faster and uses less memory.
...
Class `DATIPv4Parser` was written by Eugene Shalygin <eugene.shalygin@gmail.com> (evsh on github).
8 years ago
sledgehammer999
f53dab8ad4
Output log messages for ip filter parsing errors.
8 years ago
sledgehammer999
05ab9fc355
Optimize ip filter parsing.
8 years ago
Vladimir Golovnev (Glassez)
3a3125ea2b
Fix remove oldest article
8 years ago
Vladimir Golovnev (Glassez)
c799923d7d
Allow strip root folder using default settings
8 years ago
Vladimir Golovnev (Glassez)
711be50e9c
Fix AddTorrentData field types
8 years ago
sledgehammer999
032eb12585
Remove whitespace.
8 years ago
sledgehammer999
3cdc6fb978
Fix compiler warnings.
8 years ago
Vladimir Golovnev (qlassez)
f259bde275
Fix "Create subfolder" in AddNewTorrentDialog
8 years ago
zywo
51104a9fb4
Fix CMake build
8 years ago