Commit graph

605 commits

Author SHA1 Message Date
Chocobo1
6ea89bf621 Improve wordings in "Auto download torrent" section 2016-05-16 14:29:59 +08:00
Eugene Shalygin
a7495fa7b4 Fix crash when adding torrent via a magnet url
The file guard object has to be initialised in this case too because it
is accessed when dialog gets accepted or cancelled. Initialise it with
empty path.
2016-05-13 20:35:02 +02:00
Eugene Shalygin
47a3f1d93d Fix a typo in TorrentFileGuard 2016-05-13 00:12:33 +02:00
Eugene Shalygin
6e73fa80b8 Add option to automatically remove .torrent files upon adding
Some browsers do not download files, intended for immediate opening,
into a temporary directory, and thus a regular download directories
accumulate those unneeded files.

The option allows qBittorrent to clean after itself and delete those
files whether they were succesfully added or not (user-selectable
policy).
2016-05-09 11:52:36 +02:00
sledgehammer999
9c5a5fc83d Merge pull request #3908 from Chocobo1/rm_nsort
Replace `naturalSort()` with `naturalCompare()`.
2016-05-08 11:12:51 -05:00
Chocobo1
5906a4a2de Add case-sensitive & case-insensitive natural sort helper function
Fix helper function not being thread-safe
Use QBT_USES_QT5 define
2016-05-08 23:59:06 +08:00
sledgehammer999
5e7684ab50 Merge pull request #5225 from zywo/about-font-size
Set about tab font-size to default
2016-05-08 10:06:06 -05:00
Chocobo1
a81cf1ea16 Fix "IP Filtering - Apply to trackers" wasn't being applied. Closes #5217. 2016-05-08 20:46:58 +08:00
zywo
49fb950195 Set about tab font-size to default 2016-05-06 09:36:10 +01:00
sledgehammer999
0143799623 Don't show added torrent notification during startup. 2016-04-30 01:38:24 +03:00
sledgehammer999
ef6e848756 Display notifications when a torrent is added. Closes #334 and #915. 2016-04-25 20:07:26 +03:00
Eugene Shalygin
d4e68a159f cmake: reflect qmake project changes 2016-04-25 04:41:19 +02:00
sledgehammer999
ab412ebf37 Merge pull request #5135 from ngosang/ifces
Fix duplicate network interfaces. Closes #5131
2016-04-24 17:49:39 -05:00
sledgehammer999
4ebb12e06b Merge pull request #5141 from glassez/recheck
Fix torrent adding with existing data
2016-04-24 12:41:50 -05:00
ngosang
3a49485039 Fix duplicate network interfaces. Closes #5131 2016-04-24 18:45:15 +02:00
sledgehammer999
ab65c04e0e Merge pull request #5137 from Chocobo1/fix_ui
UI fixes
2016-04-24 11:05:35 -05:00
ngosang
7fe5674b9a Fix Add tracker dialog URL download 2016-04-22 23:48:06 +02:00
ngosang
b7ef066545 Fix Add tracker dialog empty trackers 2016-04-22 23:47:22 +02:00
Sjoerd van der Berg
220f6b1da2 Use a combo box to select the IP address you want to listen on for a specific interface 2016-04-21 18:21:49 +02:00
Vladimir Golovnev (Glassez)
599166ed0f Delete Import Torrent Dialog 2016-04-20 15:45:17 +03:00
Chocobo1
8366fced96 Fix mutually exclusive radio buttons can be unselected. 2016-04-20 09:08:58 +08:00
Chocobo1
96ce409cd1 Enable word wrap for "Run external program" help text 2016-04-19 16:54:11 +08:00
Chocobo1
c52a964a8a Fix toolbar resizing when m_searchFilter appears/disappears. Closes #5120. 2016-04-19 16:54:11 +08:00
Chocobo1
2c2638c1fe Disable comboHideZero when checkHideZero is unchecked.
Disable `checkLimituTPConnections` when `checkuTP` is unchecked.
Minor code formatting
2016-04-19 16:52:25 +08:00
Chocobo1
513e8f246b Morph QToolButton to QPushButton 2016-04-18 15:41:22 +08:00
Chocobo1
7bebc36cd5 Fix path to resource 2016-04-18 15:31:27 +08:00
Chocobo1
c3bde7c910 Sort labels with naturalCompare(). Closes #3919. 2016-04-18 14:27:44 +08:00
Chocobo1
d65ff87148 Replace naturalSort() with naturalCompare(). 2016-04-18 14:27:44 +08:00
sledgehammer999
f22aee2bff Merge pull request #5134 from ngosang/updateall
Fix Update all button height in RSS tab
2016-04-17 15:07:42 -05:00
sledgehammer999
2d8d3c8152 Merge pull request #5057 from ngosang/statics
Minor change in Stats dialog
2016-04-17 14:13:43 -05:00
ngosang
2136e41fad Fix Update all button height in RSS tab 2016-04-17 20:52:38 +02:00
ngosang
bde762cb11 Minor change in Stats dialog 2016-04-17 19:59:09 +02:00
sledgehammer999
a8d2590a4c Display the filepath when a torrent fails to load. Closes #100 and #805. 2016-04-17 20:50:56 +03:00
sledgehammer999
49586441f3 Fix log menu item position broken by 1760beed17. 2016-04-17 19:59:58 +03:00
sledgehammer999
2d0b9e6538 Merge pull request #5111 from Chocobo1/refactor_shutdowndlg
Cleanup shutdowndlg
2016-04-17 11:23:07 -05:00
sledgehammer999
3be35743ac Merge pull request #5124 from Chocobo1/fix_warnings
Fix warnings
2016-04-17 11:11:25 -05:00
Chocobo1
f741d3131d Delete all mainwindow child widgets. Closes #4871, #5049.
Some of the `delete` can be handled by the findChild loop
2016-04-17 18:51:35 +08:00
Eugene Shalygin
7c0b5818b1 cmake: add imported target for QtSingleApplication
This simplifies cmake code a bit: we remove if's and just generate
different target (imported or alias) with the same name and use it
unconditionally.
2016-04-17 01:07:15 +02:00
Eugene Shalygin
f050f15a0c cmake: fix Qt resources linkage. Closes #5080
Qt resource is innitialized by a static object constructor (see
https://wiki.qt.io/QtResources). When we put resources into a static
library, the linker removes that static objects and thus the resources
themselves. To correct that we append resources to the main executable
sources list. This is done via custom function qbt_target_sources which
knows where to read the executable' name.
2016-04-17 01:06:24 +02:00
Chocobo1
7d5ab68f50 Fix Coverity Scan cid 143911.
`filesCount()` could return a negative value.
2016-04-16 12:37:23 +08:00
Chocobo1
75bdfe971b Fix warnings in mainwindow.ui. Closes #5117.
gui/mainwindow.ui: Warning: The name 'actionExecutionLogs' (QAction) is already in use, defaulting to 'actionExecutionLogs1'.
gui/mainwindow.ui: Warning: action `actionSearch_engine' not declared
gui/mainwindow.ui: Warning: action `actionRSS_Reader' not declared
2016-04-16 12:27:33 +08:00
Chocobo1
f12e21560a Rename files:
confirmshutdowndlg.ui => shutdownconfirmdlg.ui
shutdownconfirm.cpp => shutdownconfirmdlg.cpp
2016-04-14 14:50:59 +08:00
Chocobo1
65d9739c6c Enlarge dialog size. Closes #5091.
This avoids text clipping when using Qt4 lib.
2016-04-14 14:50:59 +08:00
Chocobo1
6a11056b60 Rename enum
Change identifier from ShutdownAction to ShutdownDialogAction
Change enum value from None to Exit
2016-04-14 14:50:59 +08:00
Chocobo1
d3fb46663c Refactor
Add helper function to initialize shutdown message.
Group similar functions together.
Merge shutdown() function into its only caller.
Add override keyword
2016-04-14 14:25:12 +08:00
sledgehammer999
32490f1ef6 Merge pull request #4995 from Chocobo1/border
Search UI tweaks
2016-04-13 07:11:31 -05:00
Sjoerd van der Berg
03d1dad2a3 Fix variable name 2016-04-13 11:17:36 +02:00
Sjoerd van der Berg
c7c71d3c88 Change back to the original names for the announce address
Only allow ip's through that match the currenrly selected network interface and address
2016-04-13 10:51:29 +02:00
Vladimir Golovnev (Glassez)
a9e63283cc Use nova2dl.py script instead of DownloadManager
Closes #5026
2016-04-13 08:06:06 +03:00
sledgehammer999
cd4f288f67 Follow project coding style. Issue #2192. 2016-04-13 01:53:54 +03:00
sledgehammer999
5e796054ba Merge pull request #4261 from onto/master
SpeedPlotView: speedup
2016-04-12 17:42:32 -05:00
sledgehammer999
b8060bc507 Merge pull request #5038 from Chocobo1/fix_resizing
Fix resizing bug in "add torrent dialog"
2016-04-12 16:56:09 -05:00
sledgehammer999
29394293ed Merge pull request #5108 from Chocobo1/ui_fixes
Fix long text clipping. Closes #5091.
2016-04-12 15:55:32 -05:00
sledgehammer999
50f7c734cb Merge pull request #5101 from evsh/deduplicate-search-download-code
Remove duplicated code from search tab and widget
2016-04-12 15:31:25 -05:00
Chocobo1
1099a5006f Cleanup header include
Code formatting
2016-04-13 02:45:08 +08:00
Chocobo1
71ec5c5c05 Fix long text clipping. Closes #5091. 2016-04-13 01:07:00 +08:00
Chocobo1
216d98844b Move m_searchPattern widget from code to .ui file 2016-04-12 16:14:09 +08:00
Chocobo1
a52f9d4ef9 [Search] Add seperator for categories & plugins
Sort categories & plugins entries
Rename & reorder entries
Use full name for plugins
2016-04-12 16:14:08 +08:00
Chocobo1
231262ad8e [Search] match combobox height to button height 2016-04-12 11:38:27 +08:00
Chocobo1
2d6669b88d [Search] minor cleanups 2016-04-12 11:38:27 +08:00
Eugene Shalygin
f51753f166 cmake: reflect qmake project changes 2016-04-12 02:07:10 +02:00
sledgehammer999
484cd2f1ce Merge pull request #4670 from glassez/rsscookies
Implement application wide cookies management dialog. Closes #4638
2016-04-11 18:54:36 -05:00
Vladimir Golovnev (Glassez)
1760beed17 Fix MainWindow coding style (Issue #2192) 2016-04-11 19:15:50 +03:00
Vladimir Golovnev (Glassez)
a6595507f0 Fix macro define cross over access specifiers 2016-04-11 19:15:48 +03:00
Vladimir Golovnev (Glassez)
c193d448d8 Delete old RSS cookies dialog 2016-04-11 19:15:47 +03:00
Vladimir Golovnev (Glassez)
c982813acb Create basic cookies management dialog 2016-04-11 19:14:28 +03:00
Vladimir Golovnev (Glassez)
95ddc57c13 Implement basic cookies model 2016-04-11 16:58:28 +03:00
Eugene Shalygin
5063940138 Remove duplicated code from search tab and widget
Both download handlers (in the tab and widget classes) convert model
index into an URL, set row color, and call download function.
Make the download button handler (in the SearchWidget class) call the
slot of the SearchTab class.
2016-04-11 14:00:50 +02:00
sledgehammer999
feab999093 Merge pull request #5070 from Chocobo1/icon_sizehint
Improve TransferListDelegate::sizeHint
2016-04-10 11:39:06 -05:00
Sjoerd van der Berg
e2f43b3383 Add option to bind directly to an IP instead of using a network Interface 2016-04-09 09:19:22 -07:00
sledgehammer999
43d52026b7 Merge pull request #5077 from ngosang/warnings
Fix uic warnings. Closes #5056
2016-04-05 17:19:15 -05:00
sledgehammer999
b30048202a Merge pull request #3989 from evsh/filter-search
Implement search filters. Partially closes #972
2016-04-05 17:17:27 -05:00
sledgehammer999
364c22bee7 Fix indentation. 2016-04-05 00:54:10 +03:00
Anton Lashkov
cdab0bb140 SpeedPlotView: code correction 2016-04-04 23:05:25 +04:00
Anton Lashkov
8a6866d409 SpeedPlotView: Simplify code using PointData struct 2016-04-04 23:05:25 +04:00
Anton Lashkov
b599a8e2fb SpeedPlotView: Use separate buffers for periods with reduce number of points. Fix coding style. 2016-04-04 23:05:25 +04:00
Anton Lashkov
baadf34134 SpeedPlotView: Save int's instead of double's 2016-04-04 23:05:25 +04:00
Anton Lashkov
dd9728334a SpeedPlotView: Replace QQueue by boost::circular_buffer, reduce number of points to draw, increase legend background size 2016-04-04 23:05:25 +04:00
ngosang
ce41702cbe Fix uic warnings. Closes #5056 2016-04-04 20:21:10 +02:00
Chocobo1
4eadda5c9a Improve TransferListDelegate::sizeHint 2016-04-04 19:03:27 +08:00
Chocobo1
7d3e903db0 Fix resizing bug in "add torrent dialog". Closes #5036.
1. Place all widgets in "Torrent information" into the same grid layout
instead of different layouts.
2. Tweak tab order.
2016-04-04 16:41:21 +08:00
Eugene Shalygin
b6b819a2a1 Optimize widgets inside of the search tab
Since we already have searchtab.ui, let's set up all the widgets there.
Additionally, save a bit of vertical space by putting results label in
a row with the filter widgets.
2016-04-04 02:10:09 +02:00
Eugene Shalygin
1336cb7a61 Implement search filters in the proxy model. Partially closes #972 2016-04-04 02:09:32 +02:00
sledgehammer999
2b0ad4477e Fix memory leak. 2016-04-04 00:10:18 +03:00
sledgehammer999
4c02bdb092 Merge pull request #5020 from Chocobo1/rss_exec
Minor UI tweaks
2016-03-28 13:25:38 -05:00
Chocobo1
f1b5815f95 Minor cleanups in RSS 2016-03-28 18:32:28 +08:00
sledgehammer999
696ea0bf94 Merge pull request #5005 from ngosang/crash_fix
Potential fix for crash. Closes #4990, #4905, #4864, #4855, #4818, #4726,  #4648
2016-03-27 15:49:14 -05:00
Chocobo1
c474810294 Beautify messages
And some refactor
2016-03-27 22:27:13 +03:00
Chocobo1
5c5b007618 confirmshutdowndlg.ui cleanup
shutdownconfirm.cpp cleanup
2016-03-27 22:26:57 +03:00
sledgehammer999
18ee87f586 Fix previous commit. 2016-03-27 22:26:00 +03:00
sledgehammer999
2b8327c807 Merge pull request #4218 from d3faultdotxbe/master
Add 'never show again' checkbox/pref to auto-exit confirm dialog
2016-03-27 14:24:50 -05:00
sledgehammer999
fa8bae8931 Fix commit about Esperanto. Closes #4999 again. 2016-03-27 21:06:28 +03:00
sledgehammer999
cef150eee6 Fix selection of Esperanto locale. Closes #4999. 2016-03-26 03:23:39 +02:00
sledgehammer999
d721939d5f Use SettingsStorage instead. 2016-03-26 01:50:13 +02:00
sledgehammer999
1058572c8a Implement file logger. 2016-03-26 01:39:13 +02:00
sledgehammer999
73832a5ed8 Add ability to filter log messages by type. 2016-03-26 01:39:13 +02:00
sledgehammer999
b0c324ace8 Minor log widget code optimizations. 2016-03-26 01:39:13 +02:00
sledgehammer999
6a281bef8f Follow project coding style. Issue #2192. 2016-03-26 01:39:13 +02:00
ngosang
2ea1716c1a Potential fix for crash. Closes #4990, #4905, #4864, #4855, #4818, #4726, #4648 2016-03-25 20:38:18 +01:00
Chocobo1
0bbdda32e8 Remove border around execution log 2016-03-23 15:23:49 +08:00