Commit graph

6609 commits

Author SHA1 Message Date
Chocobo1
05cbb35814 Follow header inclusion rule 2016-06-07 20:49:23 +08:00
Chocobo1
df95efe33e Improve usability of "Run External Program"
Users can write (platform dependent) shell scripts now.
2016-06-07 00:39:27 +08:00
Chocobo1
def27bce4d Add log messages 2016-06-04 11:28:44 +08:00
ngosang
95eb0efabe [search engine] Remove filters from Demonoid 2016-06-03 23:48:52 +02:00
ngosang
12de907732 [search engine] Remove filters from Torrentreactor and BTDigg 2016-06-03 23:48:52 +02:00
Eugene Shalygin
0b1a9220a9 Fix empty tooltips showed at the progress bar borders
If tooltip text contains an empty HTML body, Qt still shows it as an
empty rectangle. Thus, output HTML tags only if we are within the
image region, and return true empty string if we are at the borders.
2016-06-02 20:51:57 +02:00
Chocobo1
98215d2231 Cleanup Connection page in Option dialog.
Add vertical spacer, closes #845.
2016-06-03 01:32:53 +08:00
sledgehammer999
95fbff3a53 Merge pull request #4936 from evsh/files-tooltip
Improve tooltips for torrent progress bar
2016-06-02 09:54:12 -05:00
Eugene Shalygin
5f2362dc89 Replace TorrentHandle::fileExtremityPieces() with TorrentInfo::filePieces() 2016-06-02 10:30:35 +02:00
Eugene Shalygin
b3378d4599 Show files in tooltips for pieces progress bars
In addition to the current tooltip, which shows color legend, if user
holds the Shift key during hovering we show another tooltip which
contains a table of contents for the piece under the moue cursor. The
table lists file sizes and names. If the cursor points to a part of a
file which spans several pieces, those pieces are highlighted.
2016-06-02 10:30:28 +02:00
ngosang
88626b26d2 Update Python version requirements 2016-06-01 16:05:37 +02:00
Eugene Shalygin
f9c2bd3502 Follow project coding style. Issue #2192. 2016-05-31 19:42:08 +02:00
sledgehammer999
8e64ffba01 Merge pull request #4937 from Chocobo1/option_crash
Fix crash when qbt exits with options dialog opened
2016-05-30 19:36:16 -05:00
sledgehammer999
7600e273dc Merge pull request #5328 from ngosang/searchui
Minor changes in Search UI
2016-05-30 19:25:41 -05:00
ngosang
bd318bd004 [Search engine] Update Torrentz 2016-05-30 23:04:34 +02:00
ngosang
204f3d8542 Minor changes in Search UI 2016-05-30 22:51:09 +02:00
ngosang
47a252e517 [Search engine] Update PirateBay 2016-05-28 18:22:02 +02:00
ngosang
363e19be7f Minor fix: typo and two warnings 2016-05-28 15:24:59 +02:00
sledgehammer999
5878d49f60 Fixup previous commits and allow IPv6 interface addresses too. 2016-05-27 01:37:16 +03:00
sledgehammer999
1397a951fe Merge pull request #5096 from Harekiet/kietC
Bind directly to an IP instead of using a network Interface
2016-05-26 17:36:22 -05:00
Eugene Shalygin
f05793c2e3 Use QPalette::LinkVisited color for downloaded items in search results 2016-05-26 22:51:33 +02:00
sledgehammer999
c2abbed055 Sync translations from Transifex and run lupdate. 2016-05-25 20:24:19 +03:00
sledgehammer999
81ea07abee Rename ASM to TMM and related stuff. 2016-05-25 20:07:36 +03:00
sledgehammer999
bc270bd801 Add tooltip to the saving mode checkbox. 2016-05-25 20:02:28 +03:00
sledgehammer999
df22c5a914 Slim down 'Downloads' page of options window. 2016-05-25 20:01:40 +03:00
sledgehammer999
6812b74bbf Merge pull request #5293 from botmtl/master
default RSSRefreshInterval to 30 mins
2016-05-24 06:10:42 -05:00
sledgehammer999
57dac8d5f7 Merge pull request #5277 from Chocobo1/circular
Minor refactor
2016-05-24 00:03:38 -05:00
Chocobo1
b4bdfa7b2b Use QString::localeAwareCompare for comparsion 2016-05-24 10:44:42 +08:00
Chocobo1
f13c604fbe Use boost:circular_buffer instead of QList.
QList has to store an additional pointer for each element which leads to bad space efficiency.
2016-05-24 10:44:42 +08:00
botmtl
0ca31deedb default RSSRefreshInterval to 30 mins
closes issue #5235 (https://github.com/qbittorrent/qBittorrent/issues/5235)
2016-05-23 21:49:06 -04:00
sledgehammer999
00b5d52eab Merge pull request #5227 from ngosang/addtrackers
[WebUI] Expose Add trackers feature
2016-05-23 16:53:45 -05:00
sledgehammer999
42fec52b0d Merge pull request #2315 from pmzqla/webui-logs
WebUI: Allow to get the logs
2016-05-23 16:51:38 -05:00
sledgehammer999
fed2609cb2 Merge pull request #4888 from SeigneurSerpent/source_line
Stack trace for windows now contains source filenames and line numbers
2016-05-23 16:49:17 -05:00
SeigneurSerpent
7398e7f0ad Improve stack trace for windows by including source filenames and line numbers 2016-05-23 22:37:24 +03:00
sledgehammer999
fc0746eb71 Merge pull request #5245 from thalieht/resolveCountries
Minor refactor in PeerListWidget
2016-05-17 17:55:11 -05:00
thalieht
4baa6dde52 resize column to contents only when they're visible
refactor updatePeerCountryResolutionState
deprecate m_resolveCountries var
2016-05-18 00:44:41 +03:00
sledgehammer999
529c208170 Merge pull request #5262 from Chocobo1/text
Improve wordings 2
2016-05-17 14:40:47 -05:00
Chocobo1
c907a2f857 Cleanup headers
Code formatting
2016-05-18 00:46:43 +08:00
Chocobo1
6ead0ae9ee Add lookup function to get PathType display names 2016-05-18 00:46:43 +08:00
Chocobo1
83b58468d9 Improve error messages for "Auto download torrents" 2016-05-17 23:49:07 +08:00
Gabriele
01b73bf704 WebUI: Add command to get the logs
Add /query/getLog and /query/getPeerLog to respectively retrieve
the main log and the peer log.

GET /query/getLog
Params:
 - normal (bool): include normal messages (default true)
 - info (bool): include info messages (default true)
 - warning (bool): include warning messages (default true)
 - critical (bool): include critical messages (default true)
 - last_known_id (int): exclude messages with id <= 'last_known_id'

GET /query/getPeerLog
Params:
 - last_known_id (int): exclude messages with id <= 'last_known_id'
2016-05-17 12:13:59 +02:00
Vladimir Golovnev (Glassez)
a318040eaa Use new alert dispathing API 2016-05-17 07:58:38 +03:00
sledgehammer999
14b867e1f6 Merge pull request #5192 from barhom/completed-on-column
Added 'Added on' column in Webui. Closes #5145,#1092,#738
2016-05-16 16:17:36 -05:00
sledgehammer999
4ca1a2d5aa Merge pull request #5251 from Chocobo1/text
Improve wordings
2016-05-16 11:50:44 -05:00
Chocobo1
8a1d387c38 Change ambiguous text "Copy selected" to "Copy IP:port" 2016-05-16 14:29:59 +08:00
Chocobo1
dbf744a179 Change "Auto download torrent" default save path to "default location". 2016-05-16 14:29:59 +08:00
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
Ibrahim Tachijian
2cef805ab6 Add 'Added on' column in Webui. Closes #5145,#1092,#738 2016-05-10 15:23:24 +00: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
35c51ad3b1 Update definition of QBT_USES_QT5 to be true for qt >= 5.2.0 2016-05-08 19:28:02 +03: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
f5855ae208 Merge pull request #5218 from Chocobo1/travis
Enable CI cache
2016-05-08 10:31:22 -05: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
71143d1417 Use qmake built-in test function files to locate translation files 2016-05-08 21:47:28 +08:00
Chocobo1
a81cf1ea16 Fix "IP Filtering - Apply to trackers" wasn't being applied. Closes #5217. 2016-05-08 20:46:58 +08:00
ngosang
30b52b9825 [WebUI] Expose Add trackers feature 2016-05-07 15:17:01 +02:00
ngosang
be9bc07890 Display more information in tracker tab 2016-05-07 14:11:17 +02:00
zywo
49fb950195 Set about tab font-size to default 2016-05-06 09:36:10 +01:00
Chocobo1
d25430f377 Cleanup headers
Move `class NaturalCompare` to .cpp file
2016-05-04 16:35:26 +08:00
sledgehammer999
9f31b0ef4d Merge pull request #4959 from evsh/small-fix-for-settings-storage
refactor SettingsStorage class
2016-05-03 10:37:49 -05:00
sledgehammer999
f6ff680295 Merge pull request #5205 from evsh/cmake
cmake: fix powermanagement compilation
2016-05-03 08:28:04 -05:00
Eugene Shalygin
565847ceb3 cmake: add Qt::DBus library dependency for base module
This is needed for powermanagement and was mistakenly forgotten
2016-05-01 02:54:53 +02: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
Vladimir Golovnev (Glassez)
56287173b1 Fix .!qB extension is added when disabled 2016-04-25 15:30:41 +03:00
sledgehammer999
0a81152267 Merge pull request #5169 from glassez/tmpname
Use unique temp directories. Closes #5154.
2016-04-25 02:31:04 -05:00
Vladimir Golovnev (Glassez)
b8c703b8b0 Use truncated torrent hash in temp path 2016-04-25 08:39:36 +03:00
Vladimir Golovnev (Glassez)
850556fdfa Use unique temp directories
Save torrent in temp_path/<torrent_hash> directory.
Closes #5154.
2016-04-25 08:39:36 +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
sledgehammer999
3186541f49 Merge pull request #5170 from ngosang/fixsearch
[Seach engine] Update Torrentz, Mininova and LegitTorrents plugins
2016-04-24 10:49:08 -05:00
sledgehammer999
7d0bdc2863 Merge pull request #5160 from ngosang/trackersfix
Fix Add tracker dialog bugs
2016-04-24 10:45:01 -05:00
ngosang
e542f17809 [Search engine] Fix LegitTorrents plugin 2016-04-23 23:18:48 +02:00
ngosang
06cd41801e [Search engine] Fix Mininova plugin 2016-04-23 22:37:19 +02:00
ngosang
e4349e8db1 [Search engine] Fix Torrentz plugin for Python2 2016-04-23 21:57:05 +02:00
Eugene Shalygin
3f53f17411 cmake: raise minimal cmake version to 3.5 and use its features 2016-04-23 02:02:13 +02:00
Eugene Shalygin
8b64dd95a5 cmake: drop explicit Boost dependency
We get it implicitly from libtorrent
2016-04-23 02:02:13 +02: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
Vladimir Golovnev (Glassez)
2fb6bb00bf Fix rechecking after torrent is finished 2016-04-20 15:45:15 +03:00
Vladimir Golovnev (Glassez)
e0d9ae3116 Try to find incomplete files for new torrent 2016-04-20 15:45:03 +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
Eugene Shalygin
473e23f992 cmake: add imported target for Libtorrent 2016-04-18 21:23:03 +02: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
626a224382 Minor code formatting 2016-04-18 14:27:44 +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
Vladimir Golovnev (Glassez)
8e9b0d97ec Fix torrent adding with existing data 2016-04-18 08:30:49 +03: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
18148a3aed Merge pull request #5127 from Chocobo1/shutdown
Fix Shutdown confirmation
2016-04-17 12:16:03 -05:00
sledgehammer999
49586441f3 Fix log menu item position broken by 1760beed17. 2016-04-17 19:59:58 +03:00
sledgehammer999
4c79a1d766 Bump API_VERSION to 11. 2016-04-17 19:57:08 +03:00
Chocobo1
34db2f5dd9 Fix qBittorrent doesn't exit immediately when "all donwloads are done -> exit" option enabled.
This fix is provided by glassez.
2016-04-18 00:46:47 +08:00
Chocobo1
fbc002f212 Enable access to shutdown functions when configured with --disable-gui option 2016-04-18 00:45:37 +08:00
sledgehammer999
2a20855c17 Merge pull request #4661 from buinsky/WebUI_labels_menu
WebUI: Implement labels filter context menu
2016-04-17 11:36:58 -05:00
Chocobo1
a1e0fa5509 Fix Coverity Scan 143909.
Also, the setting "Confirmation on auto-exit when downloads finish" wasn't working before.
2016-04-18 00:35:08 +08: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
Chocobo1
e2a090f03f Use QAtomicInt to guarantee cleanup() is only executed once 2016-04-17 18:48:22 +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
a12d82524a Fix class member initialize order 2016-04-16 12:31:41 +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
b13c991f4b Sync translations from Transifex and run lupdate. 2016-04-13 02:02:07 +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
Bert Verhelst
13e67f176a resized icons to 32px by 32px 2016-04-08 20:59:46 +02: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
Eugene Shalygin
cc09e7e834 refactor SettingsStorage class
1. Extract "transaction" support for QSettings into separate class
TransactionalSettings.
2. Define macrto with explicit name for the case when this "transaction"
support is needed.
3. A bit optimize QHash <-> QSettings copying: replace assign with
insert() and remove repetitive key lookups.
4. In save() check dirty status before getting the lock too.

The changes from items 1 and 2 make text more structured and the logic
of the SettingsStorage class gets separated from the implementation level
task of guarding the settings serialization. The changes in 3 and 4 do not
make the app much faster, but neither make any harm to the code readability.
2016-04-05 18:43:00 +02: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
93d8cadaaf Bump API_VERSION and API_VERSION_MIN. 2016-03-29 23:15:11 +03:00
sledgehammer999
845f962bc2 Sync translations from Transifex and run lupdate. 2016-03-28 21:36:48 +03:00
sledgehammer999
ad1b5bdd47 Merge pull request #5021 from evsh/cmake
cmake: fix compilation
2016-03-28 13:27:00 -05:00
sledgehammer999
4c02bdb092 Merge pull request #5020 from Chocobo1/rss_exec
Minor UI tweaks
2016-03-28 13:25:38 -05:00
Eugene Shalygin
1d6a1db491 cmake: make it compile on OS X 2016-03-28 19:59:11 +02:00
Eugene Shalygin
1e9bbce249 cmake: fix compilation 2016-03-28 19:44:59 +02:00
Bert Verhelst
0dd8f21511 Merge branch 'master' into stylized-icons-main-bar
# Conflicts:
#	src/icons/skin/ratio.png
2016-03-28 15:07:31 +02: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
sledgehammer999
c2b6e1ce1a Fix periodic latency spikes on Windows with WiFi connections. Closes #4209. 2016-03-27 22:53:40 +03: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
69a7747d4b Merge pull request #5014 from Chocobo1/fix_caja
Fix "Open Containing Folder" for caja
2016-03-27 11:14:40 -05:00
sledgehammer999
fb8e7a2084 Merge pull request #5012 from ngosang/torlock
[Search engine] Added TorLock search engine
2016-03-27 11:10:59 -05:00
sledgehammer999
bdd31b8f82 Merge pull request #4997 from ngosang/fix_python2_encoding
[Search engine] Python2 encoding and URL getting mechanism in BTDigg
2016-03-27 11:09:45 -05:00
ngosang
9207689941 [Search engine] Added TorLock search engine. Fix #5012 2016-03-27 17:38:49 +02:00
ngosang
b86f92212f [Search engine] Added TorLock search engine 2016-03-27 16:20:27 +02:00
Chocobo1
851d97d95e Fix "caja" file manager opens the file instead of opens the directory. Closes #5003.
Now it opens the directory correctly.
2016-03-27 16:41:34 +08: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
663791fac2 Raise the max log entries limit. 2016-03-26 01:39: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
ngosang
e557634feb [Search engine] Change URL getting mechanism in BTDigg 2016-03-23 14:27:01 +01:00
ngosang
376ff79f16 [Search engine] Fix Python 2 encoding problems 2016-03-23 13:35:55 +01:00
Chocobo1
0bbdda32e8 Remove border around execution log 2016-03-23 15:23:49 +08:00
sledgehammer999
2f19594bef Merge pull request #4960 from ngosang/webui_minor
[WebUI] Add missing string
2016-03-21 07:58:58 -05:00
sledgehammer999
edb8670dc0 Merge pull request #4972 from Chocobo1/travis_trusty
TravisCI: switch to Trusty image
2016-03-20 12:09:09 -05:00
Chocobo1
09194f8e1b TravisCI: switch to Trusty image. Closes #4953.
Drop workaround for gcc-4.8
2016-03-21 00:24:30 +08:00
sledgehammer999
0da4bfa0cf Fix selection of Portuguese translation files.
Qt returns "Brazil" as country of QLocale("pt") instead of "Portugal". This conflicts with QLocale("pt_BR").
Rename the pt.ts to pt_PT and put a language mapping in tx's config for that locale.
Closes #4776.
2016-03-18 03:20:20 +02:00
sledgehammer999
3067f82aea Potential fix for crash. Closes #4607. 2016-03-18 01:52:43 +02:00
sledgehammer999
2bb76bf781 Don't display warning when folder named stayed the same.
Copy some code from AddNewTorrent dialog and beautify a bit.
Closes #4970.
2016-03-18 01:09:05 +02:00
sledgehammer999
7794502324 Correctly hide useless columns in AddNewTorrent file treeview. Closes #4955. 2016-03-18 00:23:11 +02:00
buinsky
d63f9e751d WebUI: Select category on right click 2016-03-16 13:17:07 +03:00
buinsky
fc077257d0 WebUI: Don't show several context menus at the same time 2016-03-16 13:17:07 +03:00
buinsky
d265d2e1a0 WebUI: Adjust context menu position 2016-03-16 13:17:07 +03:00
buinsky
ead592647a WebUI: Implement delete torrents by category 2016-03-16 13:17:07 +03:00
buinsky
2c24c0bfbf WebUI: Implement pause torrents by category 2016-03-16 13:17:07 +03:00
buinsky
f7833c9f0c WebUI: Implement start torrents by category 2016-03-16 13:17:07 +03:00
buinsky
24584503d9 WebUI: Implement removing unused categories 2016-03-16 13:17:07 +03:00
buinsky
50f2437ac3 WebUI: Implement removing categories 2016-03-16 13:17:07 +03:00
buinsky
a4dca52617 WebUI: Implement adding categories 2016-03-16 13:17:07 +03:00
buinsky
a939fca4ac WebUI: Add empty context menu to categories filter 2016-03-16 13:17:07 +03:00
buinsky
d30a799b45 WebUI: Rename function updateCategoryFN to setCategoryFN 2016-03-16 13:17:07 +03:00
buinsky
c003229fcf WebUI: Refactor ContextMenu class 2016-03-16 13:17:07 +03:00
buinsky
dbf995480a WebUI: Change the order of the values of speed labels 2016-03-15 20:21:15 +03:00
buinsky
3361f1cd80 GUI: Change the order of the values of speed labels 2016-03-15 20:19:55 +03:00
ngosang
f53cc05f52 [WebUI] Add missing string 2016-03-15 15:50:10 +01:00
buinsky
99aeacf9b0 Refactoring of StatusBar::refreshStatusBar function 2016-03-15 15:18:50 +03:00
buinsky
2d9f90c3b5 Follow project coding style. Issue #2192. 2016-03-15 15:18:50 +03:00
sledgehammer999
45b68bd46c Sync translations from Transifex and run lupdate. 2016-03-15 00:40:44 +02:00
sledgehammer999
8c83fd5e24 Merge pull request #4916 from funkydude/master
Move some URLs overs to HTTPS
2016-03-14 12:15:46 -05:00
funkydude
268a5a95c8 Move some URLs overs to https 2016-03-14 17:01:51 +00:00
sledgehammer999
2efdddb9af Always delete partfile (libtorrent 1.1.x). 2016-03-14 14:53:14 +02:00
sledgehammer999
8c36f753f9 Merge pull request #4867 from evsh/peers-show-files
Show downloading files in peers list. Attempt #2
2016-03-13 19:14:48 -05:00
sledgehammer999
d39d40c064 Don't display Country option in PeerListWidget header menu when country resolution is disabled. 2016-03-14 01:17:59 +02:00
sledgehammer999
9a91ed501e Merge pull request #4767 from thalieht/toggle_peer_columns
Add toggle columns menu for peerlist. Closes #3301
2016-03-13 18:17:12 -05:00
sledgehammer999
502d633175 Merge pull request #4930 from Chocobo1/refactor
Minor refactor
2016-03-13 17:30:47 -05:00
sledgehammer999
d1ce5826e1 Merge pull request #4917 from Chocobo1/fix_comment_space
Fix additional space in comment label
2016-03-13 17:29:14 -05:00
Chocobo1
7ac7268b8f Fix tab icons messed up in Ubuntu 16. Closes #4929.
Fixup of 1c25603686.
The following settings default are different between DEs, so they must set explicitly:
movement, flow, isWarpping, resizeMode, viewMode
2016-03-11 14:13:33 +08:00
Chocobo1
e7ff5eb6b1 Minor refactor 2016-03-09 14:08:44 +08:00
Eugene Shalygin
05e4d4fc0d cmake: copy qt version requirements from autotools
Set versions 4.8.0 and 5.2.0 as minimal required for Qt4 and Qt5.
2016-03-07 22:38:40 +01:00
Chocobo1
dd2dcc4147 Fix additional space in comment label 2016-03-07 12:34:01 +08:00
thalieht
1fa6f3123b add toggle columns for peerlist 2016-03-06 23:59:36 +02:00
sledgehammer999
80ac326f28 Merge pull request #4911 from glassez/fixes
Fix save path bugs
2016-03-06 15:46:46 -06:00
Vladimir Golovnev (Glassez)
c047ef5b37 Fix save path bugs 2016-03-06 21:23:15 +03:00
sledgehammer999
b11ab06bb2 Merge pull request #4904 from UnDifferential/master
Support SSL certificate bundles. Closes #4896.
2016-03-06 10:49:14 -06:00
UnDifferential
f50a8d4f59 Support SSL certificate bundles. Issue #4896. 2016-03-05 14:10:28 -05:00
sledgehammer999
46a355675e Fix commit 83e931766f (wrong conflict resolution). 2016-03-05 19:49:15 +02:00
sledgehammer999
89b334d71c Merge pull request #4451 from netjunki/master
add a remaining column to the torrent content model
2016-03-05 10:42:14 -06:00
sledgehammer999
8372c819e9 Merge pull request #4903 from evsh/cmake
fix cmake build
2016-03-05 08:51:34 -06:00
Chocobo1
83e931766f Add tip about adding quotation marks around parameter 2016-03-05 11:34:56 +08:00
Chocobo1
6835b99f10 Save "Run external program" input as is. Closes #4830. 2016-03-05 11:33:55 +08:00
Eugene Shalygin
45b1a75d56 fix cmake build 2016-03-05 00:36:17 +01:00
sledgehammer999
15ec515872 Merge pull request #4877 from evsh/cmake
add basic cmake support
2016-03-04 17:30:08 -06:00
sledgehammer999
0190ac9037 Merge pull request #4885 from Chocobo1/comment_scroll
Put comment_lbl in QScrollArea.
2016-03-04 17:28:42 -06:00
sledgehammer999
ee0306c4fd Merge pull request #4883 from evsh/fix-avg-speed-units
Fix typos in speed label text
2016-03-04 17:28:12 -06:00
sledgehammer999
56605cd0c3 Merge pull request #4865 from Chocobo1/os_name
Shorten crash report on windows
2016-03-04 17:27:48 -06:00
sledgehammer999
3ddb1b98b3 Merge pull request #4833 from dsemi/master
Do not try to parse request message when content-length is 0
2016-03-04 17:26:28 -06:00
sledgehammer999
1cfda610cc Merge pull request #4781 from DoumanAsh/python_align_search_style
[search engine] Align search engine url getting mechanism. Closes #4778
2016-03-04 17:25:05 -06:00
Vladimir Golovnev (Glassez)
dd34663224 Implement Advanced Saving Management subsystem
Closes #4696
2016-03-04 19:59:53 +03:00
Vladimir Golovnev (Glassez)
d05d5a85a5 Move Preferences backend code into SettingsStorage class
Closes #4764
2016-03-04 08:39:00 +03:00
Chocobo1
94ae44bb71 Put comment_lbl in QScrollArea. Closes #4881. 2016-03-02 12:05:56 +08:00
Eugene Shalygin
7080d3da98 Fix typos in speed label text
Qt's tr() ate 'true' parameter, which was supposed to be for
friendlyUnit()
2016-03-01 23:49:33 +01:00
Dan Seminara
d75564b885 Do not try to parse request message when content-length is 0 2016-02-29 15:57:34 -05:00
Eugene Shalygin
64daecb266 add basic cmake support 2016-02-29 12:53:43 +01:00
Chocobo1
d0e31adaf7 Create helper function to get libtorrent version 2016-02-28 17:47:43 +08:00
Chocobo1
12627bbc10 Create helper function to get boost version 2016-02-28 17:47:42 +08:00
Chocobo1
498f5e3877 Create helper function to get OS name 2016-02-28 13:23:06 +08:00
Eugene Shalygin
8baa144933 Use correct piece size while calling torrent_info::map_block()
This should fix crashes. Issue #4597
2016-02-27 21:07:54 +01:00
Eugene Shalygin
b24bdcb8d9 Revert "Temporarily revert PR #2885 (filename column in peers view)."
This reverts commit 69d52a06d7.
2016-02-27 20:51:39 +01:00
Chocobo1
7b2fab411c Comment out "List of linked Modules" section in windows crash report.
It is bloating the crash report with unhelpful messages.
2016-02-27 05:42:48 +08:00
Vladimir Golovnev (Glassez)
a96cabfe73 Make AddNewTorrentDialog behavior uniform 2016-02-23 16:02:17 +03:00
sledgehammer999
654c8edc6b Merge pull request #4831 from Chocobo1/mail_time
Fix malformed date header in email.
2016-02-21 16:41:31 -06:00
Chocobo1
f83f3b84ca Follow project coding style. Issue #2192. 2016-02-22 03:18:37 +08:00
Chocobo1
60417a598a Simplify statement 2016-02-22 03:18:35 +08:00
Chocobo1
41fe85b624 Fix malformed date header in email. Closes #4828. 2016-02-22 03:18:02 +08:00
sledgehammer999
c1f7446c26 Partially revert decfae7b8a. Newer libtorrent RC_1_1 has added back the missing variables. 2016-02-21 18:42:55 +02:00
Bert Verhelst
95df9c5cf6 Delete collapse-expand.svg
This is a gif and wont be as crisp
2016-02-20 13:52:09 +01:00
Bert Verhelst
4c4fb44363 Delete arrow-right.svg
This is a gif and won't be as crisp as the original
2016-02-20 13:51:45 +01:00
Bert Verhelst
d9cf1187d7 Added png converted files for skin icons 2016-02-20 12:57:41 +01:00
Bert Verhelst
403de336d2 Added the last of the skin icons (svg) 2016-02-20 12:52:30 +01:00
Chocobo1
ebc7997dbf Remove additional vertical spacer.
Fixup of 843f7ed.
2016-02-17 22:47:39 +08:00
sledgehammer999
cd85d00b3b Merge pull request #4251 from Chocobo1/200_scaling
Fix incorrectly displayed UI elements on Windows
2016-02-16 15:12:54 -06:00
Chocobo1
51b7e299b4 Simplify resize actions for AddNewTorrentDialog 2016-02-16 11:39:29 +08:00
Chocobo1
3b7fcf0813 Disable cell selection in advanced options. Fixup of a8b39475. 2016-02-16 11:39:29 +08:00
Chocobo1
76dd4ea5c0 Put links into table 2016-02-16 11:39:28 +08:00
Chocobo1
c5f5292d9e Set icon directly in .ui file 2016-02-16 11:39:27 +08:00
Chocobo1
b2527a0ad6 Make authors email clickable & selectable 2016-02-16 11:39:27 +08:00
Chocobo1
2fbb712f57 about_imp.h: Use larger qbt icon
Shrink title size
2016-02-16 11:39:26 +08:00
Chocobo1
1c25603686 Fix weird left panel icon layout
Remove Advanced page border
2016-02-16 11:39:25 +08:00
Chocobo1
aa246f0ca8 Let OS handle DPI scaling for now. Should let Qt do the work when it's more mature.
Opt-in to the high DPI pixmap support
Closes #2963.
2016-02-16 11:39:25 +08:00
Chocobo1
f410b29c99 Follow project coding style. Issue #2192. 2016-02-16 11:39:24 +08:00
Chocobo1
e35a7ef9d3 Move statusbar styelsheet to where it belongs 2016-02-16 11:39:23 +08:00
Chocobo1
f058e666e5 Use short date in addnewtorrentdialog
Correction "Free disk space" to "Free space on disk"
2016-02-16 11:39:23 +08:00
Chocobo1
843f7ede8f Cleanup addnewtorrentdialog.ui
Reorder Torrent info column
Rename "Save as" to "Save at"
2016-02-16 11:39:22 +08:00
sledgehammer999
b099a766e6 Don't merge trackers for private torrents. Closes #2928. 2016-02-15 03:24:22 +02:00
Douman
d5209d7ddf Align search engine url getting mechanism. Closes #4778
1. Switch to retrieve_url instead of low-level HTTPConnection module usage
2016-02-10 16:05:12 +03:00
sledgehammer999
f37aed868e Merge pull request #4744 from Chocobo1/splash_scrn
Fix potential race condition in showSplashScreen()
2016-02-09 09:50:22 -06:00
Vladimir Golovnev (Glassez)
9a393bbcea Fix crash caused by AdvancedSettings::addRow() 2016-02-08 18:25:40 +03:00
Chocobo1
a43db66d87 Cleanup about.ui
Shorten text in "Libraries" tab, to avoid About dialog being too wide
Make QLabels in Libraries tab selectable
Use QGroupBox in "Author" tabs
Rename "Thanks to" to "Special Thanks"
Rename "Translation" to "Translators"
Remove borders in "Thanks to", "Translation", "License" tabs
2016-02-07 11:18:28 +08:00
Chocobo1
a667f900c5 Set "Show splash screen on start up" option default to off 2016-02-07 10:48:51 +08:00
Chocobo1
65a30bab3f Cleanup about_imp.h
Fix dialog too narrow on highDPI screens
Remove IRC link
Rewrite about text to support RTL languages better
Follow project coding style. Issue #2192.
2016-02-06 10:12:43 +08:00
sledgehammer999
958b70e4ac Merge pull request #4403 from glassez/fastresume
Improve .fastresume saving and torrents starting up. Closes #4315.
2016-02-05 12:06:58 -06:00
Vladimir Golovnev (Glassez)
732f46cc69 Save resume data using QSaveFile (Qt5 only) 2016-02-05 20:29:30 +03:00
sledgehammer999
30819b3cbc Merge pull request #4675 from Chocobo1/hide_zeros
Hide zero & infinity values
2016-02-05 09:59:51 -06:00
Chocobo1
ee277bf126 Add "Paused torrents only" option for "Hide zero and infinity values" 2016-02-05 11:54:28 +08:00
Chocobo1
1a010cbfc6 Fix total values for "Seeds" & "Peers" 2016-02-05 11:54:28 +08:00
sledgehammer999
176d4780b5 Merge pull request #4746 from buinsky/WebUI_torrents_request
WebAPI: Add "Added on" and "Completion on" fields to query/torrents …
2016-02-04 15:32:14 -06:00
sledgehammer999
4a5f29b0d1 Merge pull request #4482 from glassez/savepath
Manage save path in one place
2016-02-04 15:16:26 -06:00
Vladimir Golovnev (Glassez)
034bd83915 Manage save path in one place 2016-02-04 11:42:30 +03:00
buinsky
b94a1b9fbe WebAPI: Add "Added on" and "Completion on" fields to query/torrents query response 2016-02-04 09:28:51 +03:00
Ben Lau
cd9cae4121 add a remaining column to the torrent content model 2016-02-03 20:28:10 -08:00
Chocobo1
48d2beece5 Fix potential race condition. Closes #4742. 2016-02-04 00:39:10 +08:00
Chocobo1
b0a5c973a5 Simplify common paint actions 2016-02-03 12:09:23 +08:00
Chocobo1
5c4470ec07 Remove unused destructor
move get state text to its own function
2016-02-03 12:07:54 +08:00
Chocobo1
a56b745429 Follow project coding style. Issue #2192. 2016-02-03 12:07:52 +08:00
Chocobo1
325ba48601 Add "Hide zero values" option. Closes #3543. 2016-02-03 12:05:55 +08:00
sledgehammer999
6054e05e70 Merge pull request #4725 from ngosang/webui_css
[Web UI] Minor changes in CSS styles
2016-02-02 16:07:49 -06:00
sledgehammer999
87c32ccb98 Merge pull request #4731 from ngosang/webui_username
Check WebUI username and password length. Closes #4191
2016-02-02 16:06:54 -06:00
Vladimir Golovnev (Glassez)
057cbed204 Fix upgrade corrupted fastresume file 2016-02-01 09:20:28 +03:00
sledgehammer999
4e4b370b4a Merge pull request #4730 from thalieht/unlock_column
Unlock the first column in peerlist too
2016-01-31 19:01:54 -06:00
Vladimir Golovnev (Glassez)
c57aaf0216 Create MagnetUri object from BC link or HASH string 2016-01-31 21:32:41 +03:00
ngosang
2ee43758d5 Check WebUI username and password length. Closes #4191 2016-01-31 19:18:45 +01:00
ngosang
9507e12ca7 [Web UI] Minor changes in CSS styles 2016-01-31 19:18:10 +01:00
thalieht
a17fc84fd0 Unlock first column in peerlist too
I just copy pasted from trackerlist (tested ofc). No idea if it can be
done differently.
2016-01-31 16:54:16 +02:00
Vladimir Golovnev (Glassez)
decfae7b8a Add libtorrent v1.1 basic support 2016-01-31 14:04:25 +03:00
Vladimir Golovnev (Glassez)
c93ada1e7b Prepare for libtorrent v1.1 support 2016-01-31 10:40:55 +03:00
sledgehammer999
53261cc0b2 Merge pull request #4677 from buinsky/WebUI_misc_fixes
WebUI: Misc fixes and improvements
2016-01-30 12:11:46 -06:00
sledgehammer999
c8a562b865 Merge pull request #3816 from ngosang/fix_last_piece
Download more pieces in "Download first and last pieces first" feature
2016-01-30 12:08:32 -06:00
sledgehammer999
38f3c39d1d Merge pull request #4715 from ngosang/update_tpb
[search engine] Update PirateBay plugin.
2016-01-30 12:02:08 -06:00
ngosang
87dc9a4a18 [Web UI] Fix max_ratio precision. Closes #4707 2016-01-30 18:22:11 +01:00
ngosang
6b6411d06b Download more pieces in "Download first and last pieces first" feature 2016-01-30 03:11:14 +01:00
ngosang
398d11a453 [search engine] Update PirateBay plugin. 2016-01-30 01:08:28 +01:00
Bert Verhelst
f579360086 converted all oxygen icons to svg files + added grunt task to convert to png
Check readme for more information on how to convert the icons to png
src/icons/oxygen/build-icons/readme.md
2016-01-29 21:39:19 +01:00
buinsky
c04f502863 WebUI: Submit the label in the new label dialog on pressing enter key 2016-01-29 18:02:36 +03:00
buinsky
3591a0cedd WebUI: Repair translation 2016-01-29 09:57:27 +03:00
sledgehammer999
193913129f Merge pull request #4360 from Chocobo1/signal_fix
Simplify signal handler
2016-01-28 16:08:49 -06:00
sledgehammer999
44624d0003 Fix loading *.magnet files from watched folders. Closes #4701. 2016-01-28 23:59:02 +02:00
sledgehammer999
2f62a79135 Merge pull request #4122 from Chocobo1/adv_options
Group settings in advanced settings table
2016-01-28 15:10:02 -06:00
sledgehammer999
063eb7e9ab Merge pull request #3941 from jconnop/announceIP
Always update native session's announce_ip setting
2016-01-28 11:44:23 -06:00
sledgehammer999
a3d6371d36 Merge pull request #2644 from birdie-github/patch-2
Let's check if the torrent file can actually be opened before passing it...
2016-01-28 11:40:58 -06:00
Chocobo1
a26d48082d Add header to differentiate settings 2016-01-26 20:30:07 +08:00
Chocobo1
acbc7d9556 Rename setRow() to addRow()
Use template to avoid code duplication
2016-01-26 20:27:02 +08:00
Chocobo1
a8b394752e Set parent object for advancedsettings
Remove borders
Resize column size correctly
2016-01-26 20:18:51 +08:00
Chocobo1
29c94d2fb5 Move code from advancedsettings.h to its own cpp file 2016-01-26 20:13:44 +08:00
Chocobo1
2fd8a0ea22 Add license in advancedsettings.h 2016-01-26 19:48:26 +08:00
sledgehammer999
0d32b9a692 Fix splash screen staying on top of all windows. Closes #1391. 2016-01-25 15:59:20 +02:00
buinsky
418734b0a3 WebUI: Fix JavaScript exception on WebUI load 2016-01-24 14:29:29 +03:00
Bert Verhelst
b752df7557 60 of the svg's in the oxigen folder converted 2016-01-22 22:11:59 +01:00
Chocobo1
4a3d9029d1 Add #include guard 2016-01-22 01:36:11 +08:00
Chocobo1
ef75ae4aee Try to concat most of the string at compile time
The lesser unsafe code in signal handler the better
Add license
2016-01-22 01:36:11 +08:00
Chocobo1
5c8a4b3912 Simplify signal handler
Try to use signal-safe functions as much as possible
Closes #3995
Define sys_signame[] ourselves on linux
2016-01-22 01:36:11 +08:00
sledgehammer999
69d52a06d7 Temporarily revert PR #2885 (filename column in peers view).
There's a bug that causes frequent crashes.
Issue #4597.
2016-01-21 00:26:03 +02:00
sledgehammer999
de5381856d Merge pull request #4619 from buinsky/WebUI_fix
WebUI: Fix unnecessary updates of peers table
2016-01-20 13:16:24 -06:00
buinsky
cdb70a8c14 WebUI: Move style of dynamic table header to CSS 2016-01-20 15:16:40 +03:00
buinsky
b2839a6442 WebUI: Fix unnecessary updates of torrent peers table 2016-01-20 12:13:27 +03:00
sledgehammer999
1af8a1533e Bump Copyright year. 2016-01-19 01:46:01 +02:00
sledgehammer999
ab813df992 Bump WebUI API_VERSION and API_VERSION_MIN. 2016-01-19 01:31:39 +02:00
sledgehammer999
3fa15eeb35 Sync translations from Transifex and run lupdate. 2016-01-19 00:49:48 +02:00
sledgehammer999
d3c38da04d Merge pull request #4565 from glassez/fixes
Fix some bugs (reported by Coverity Scan)
2016-01-17 16:18:40 -06:00
sledgehammer999
717759db29 Merge pull request #4566 from buinsky/WebUI_tabs
WebUI: Remember last opened tab
2016-01-17 11:50:23 -06:00
sledgehammer999
c2a26d39af Merge pull request #4577 from glassez/hotfix
[IMPORTANT] Fix loading corrupted .fastresume file
2016-01-17 11:49:58 -06:00
Vladimir Golovnev (Glassez)
3df802cef7 Delete unused include 2016-01-17 10:12:55 +03:00
Vladimir Golovnev (Glassez)
dbf430ac2e Allow GeoIP in NoGUI builds 2016-01-17 10:11:55 +03:00
Vladimir Golovnev (Glassez)
3a2bd3c9b1 Fix loading corrupted .fastresume file 2016-01-16 15:27:01 +03:00
Vladimir Golovnev (qlassez)
245f424014 Optimize Session::startupTorrents()
Reduce queue size by starting up initial items (torrents) when they are detected
2016-01-16 14:36:56 +03:00
Vladimir Golovnev (qlassez)
a5780dd66c Switch to using previous fastresume file names 2016-01-16 14:36:56 +03:00
Vladimir Golovnev (qlassez)
4f01660591 Perform fastresume data saving in separate thread
Closes #4315
2016-01-16 14:36:56 +03:00
buinsky
e8789dcd02 WebUI: Remember last opened tab 2016-01-15 19:18:09 +03:00
Vladimir Golovnev (Glassez)
a35cbdc4a9 Fix unchecked dynamic_cast
Replace some unnecessary (and slow) dynamic_cast with static_cast.
2016-01-15 11:32:16 +03:00
Vladimir Golovnev (Glassez)
a203246e85 Fix unitialized pointer field 2016-01-15 09:50:29 +03:00
Vladimir Golovnev (Glassez)
ea8acf3bbd Fix unitialized scalar field bugs 2016-01-15 09:44:10 +03:00
Vladimir Golovnev (Glassez)
9bdd26de43 Simplify Log::Msg and Log::Peer
Also fixes some unitialized scalar field bugs.
2016-01-15 08:50:36 +03:00
sledgehammer999
909fc3fa50 Merge pull request #4553 from glassez/fixes
Fix some bugs (reported by Coverity Scan for the most part)
2016-01-13 17:15:02 -06:00
sledgehammer999
ca45d15424 Merge pull request #4526 from buinsky/WebUI_translation
WebUI: Repair translation
2016-01-13 17:10:07 -06:00
Vladimir Golovnev (Glassez)
c6ca877b72 Fix unitialized scalar fields 2016-01-13 20:25:06 +03:00
Vladimir Golovnev (Glassez)
4965704b10 Fix NetworkCookieJar::deleteCookie() behavior to match Qt5 one 2016-01-13 20:24:54 +03:00
Vladimir Golovnev (Glassez)
cf25ed3d80 Fix reconfigure additional trackers
Replace wrong QList::empty() call with QList::clear()
2016-01-13 19:12:31 +03:00
Gabriele
9e91cd70ee WebUI: Allow to remove the label assigned to a torrent
Empty strings are not valid label names, but they are used to remove
torrent labels, so allow them.
2016-01-13 14:57:49 +01:00
sledgehammer999
a19e2e48a1 Merge pull request #4436 from GuidC0DE/magnet_handler_osx
Set qBittorrent as default torrent app in Mac OS
2016-01-11 12:28:38 -06:00
sledgehammer999
21f587cc45 Sync translations from Transifex and run lupdate. 2016-01-11 19:54:51 +02:00
sledgehammer999
1fea2b3d8a Merge pull request #4286 from filipporig8/runparams
Update webui run program parameters
2016-01-11 10:14:56 -06:00
sledgehammer999
a17ca5382d Merge pull request #4538 from buinsky/WebUI_misc_fixes
WebUI: Miscellaneous fixes
2016-01-11 10:12:50 -06:00
sledgehammer999
2bcefe364f Merge pull request #4522 from buinsky/icons
Edit speed limits and upload ratio icons
2016-01-10 07:29:47 -06:00
buinsky
00e6e00e71 Edit speed limits and upload ratio icons 2016-01-10 16:24:34 +03:00
sledgehammer999
ca4bbdd02b Merge pull request #4528 from Chocobo1/pri_rename
Rename column header
2016-01-10 06:57:42 -06:00
sledgehammer999
c75d6fd2b5 Merge pull request #4505 from starius/windows-header-lowercase
convert includes like <Windows.h> to lowercase
2016-01-10 06:26:50 -06:00
sledgehammer999
6d4a828698 Merge pull request #4525 from ngosang/tpb
[search engine] Update PirateBay plugin. Closes #4470
2016-01-10 06:24:17 -06:00
buinsky
165ab473df WebUI: Fix torrent table context menu
Don't show "Limit download speed" menu item for downloaded torrents.
2016-01-10 12:11:54 +03:00
buinsky
a5e6cd256c WebUI: Fix deleting torrents
Fix possible showing "qBittorrent client is not reachable" message on
deleting torrents.
2016-01-10 12:03:46 +03:00
Chocobo1
6ff1722dbf Replace names with camelCase style 2016-01-10 14:57:56 +08:00
Chocobo1
829012ae3c Use C++11 initializer list 2016-01-10 14:57:56 +08:00
Chocobo1
e330a91921 Follow project coding style. Issue #2192. 2016-01-09 17:19:35 +08:00
buinsky
f961fd6a7c WebUI: Repair translation 2016-01-09 12:04:27 +03:00
Chocobo1
9b031d2fae Rename column header 2016-01-08 22:18:41 +08:00
buinsky
486b65487f Move some styles into css 2016-01-07 10:07:50 +03:00
ngosang
1e8299f842 [search engine] Update PirateBay URL. Closes #4470 2016-01-07 01:45:06 +01:00
ngosang
b8c4a86348 [search engine] Fix PirateBay plugin implementation for Python 3 2016-01-07 01:41:16 +01:00
sledgehammer999
abcdd105e3 Don't require GUI libs for qt4 nox build. Closes #4404. 2016-01-07 01:41:40 +02:00
Boris Nagaev
4706733846 convert includes like <Windows.h> to lowercase
There is header file windows.h, not Windows.h.
MinGW on Linux build machine is filename case-sensitive.
2016-01-05 23:29:26 +03:00
sledgehammer999
6ccf2f9232 Merge pull request #4020 from glassez/rss
RSS code redesign (Issue #2433).
2016-01-05 10:29:13 -06:00
sledgehammer999
52d08f7112 Merge pull request #4413 from glassez/dlmgr
Improve Download Manager. Closes #4305
2016-01-05 10:10:08 -06:00
Vladimir Golovnev (Glassez)
6662081044 Improve RSS parsing logic. 2016-01-04 06:59:07 +03:00
Vladimir Golovnev (Glassez)
28ed981082 Redesign RSS base classes. 2016-01-04 06:37:54 +03:00
Vladimir Golovnev (Glassez)
6f7ae728eb Move base RSS names to Rss namespace. 2016-01-04 06:19:02 +03:00
Vladimir Golovnev (Glassez)
67758cb092 Fix coding style (Issue #2192). 2016-01-04 06:16:20 +03:00