Commit graph

6519 commits

Author SHA1 Message Date
Eugene Shalygin
9d3378bd3b Support fallback when selecting theme icons
Fallback icon theme are not supported everywhere. Hence we mimic
signature of QIcon::fromTheme().
2017-01-18 10:26:24 +01:00
sledgehammer999
3c1f747c25 Merge pull request #6235 from Chocobo1/systray_too_large
Fix icon issues
2017-01-18 03:25:58 +02:00
Bilal Elmoussaoui
ada75cbbe1 fixes default indicator name
copy icons instead of renaming them, create status folder

rename from *-indicator to *-tray
2017-01-18 01:13:43 +01:00
Eugene Shalygin
4c13f155ff Do not remove added files unconditionally. Closes #6248
If removing of added torrents is enabled and dialog for adding torrents
is disabled, file guard was assuming that torrent is added successfully.
And that can be not the case if a user trying to add a broken torrent
file (or not a torrent file at all). Then this file gets deleted always.

Fix this by checking result of addTorrent_impl().
2017-01-18 00:04:26 +01:00
Chocobo1
df274e6457 Fix statusIcon too large. Closes #6228. 2017-01-13 22:53:24 +08:00
Chocobo1
8380edc00c For each cell setting ignore wheel events. Closes #866. 2017-01-13 17:47:46 +08:00
Chocobo1
08aaff379b Fix download & upload icon too large in systray on linux. Closes #6233. 2017-01-13 16:59:59 +08:00
sledgehammer999
e230cde6c4 Merge pull request #6108 from evsh/fix-6103
Workaround problem with moc from Qt4 and #if. Closes #6103, #5451
2017-01-12 02:08:59 +02:00
Eugene Shalygin
de403dcd9d Workaround problem with moc from Qt4 and #if
moc from Qt4 ignores Q_ENUMS when it is behind #if QT_VERSION check.
Therefore moc entries for enum in TorrentFileGuard were not generated
and the setting was not saving/loading. This closes #6103, #5451
2017-01-12 00:42:37 +01:00
sledgehammer999
c384cc8c8c
Move new icons to their own theme folder. 2017-01-11 18:02:26 +02:00
sledgehammer999
69da12e6b2 Merge pull request #4253 from bertyhell/stylized-icons-main-bar
Switching to stylized icons
2017-01-11 18:01:35 +02:00
Eugene Shalygin
7b594a635e Set upper version limit for QTBUG-52633
The bug seems to be fixed in version 5.7.1.
2017-01-11 00:14:16 +01:00
Tim Delaney
70ce12372d Follow project coding style. Issue #2192.
--HG--
branch : magao-dev
2017-01-08 11:46:01 +11:00
Bert Verhelst
7fb3962192 Merge branch 'master' of https://github.com/qbittorrent/qBittorrent 2017-01-06 20:14:15 +01:00
Oke Atime
84fe40c492
Webui proxy_type bug fix 2017-01-05 18:43:54 +09:00
Oke Atime
e89c32685b
Avoid unnecessary translation. Closes #6158 2016-12-31 01:29:47 +09:00
Chocobo1
14a39ba3c3 Speedlimitdlg: raise slider default value to 10000. Closes #6150.
Old value 1000 (KB/s) can be a bit small for modern internet.
2016-12-30 13:41:27 +08:00
Chocobo1
e178e70053 Code rewrite, no behavior change 2016-12-30 13:35:47 +08:00
sledgehammer999
88b2b26007
Don't use hardcoded numbers to refer to columns. 2016-12-30 01:37:26 +02:00
sledgehammer999
2d37a39e43
Allow to change priority for unselected files through the combobox like it is done via the context menu. 2016-12-30 01:37:19 +02:00
sledgehammer999
7ba66e692f
Always show progress and remaining bytes for unselected files. 2016-12-30 01:37:13 +02:00
sledgehammer999
3e375128c0
Use a disabled progressbar's palette for unselected files.
Thanks to evsh(Eugene Shalygin) for example code.
2016-12-30 01:37:02 +02:00
Chocobo1
bc41e2034c Fix warning: unused parameter ‘action’ [-Wunused-parameter] 2016-12-27 20:19:20 +08:00
Oke Atime
5f767b96f6 Build qbittorrent-nox for macOS 2016-12-22 23:23:21 +09:00
dzmat
6ce443424b Clarify options tab page objects names 2016-12-19 19:00:03 +07:00
sledgehammer999
7adb1d7f82 WINDOWS: Make the updater to look for the x64 installer if running x64 version. 2016-12-17 19:46:04 +02:00
Eugene Shalygin
05dbea390b Print warning to the user if stacktrace contains no function names
Count matched function names, and if there are no, point out to the user
that the stacktrace is useless. If not all stactrace elements contain
function names, suggest user that installing debug packages may improve
the stacktrace usefulness.
2016-12-17 17:46:05 +01:00
Eugene Shalygin
514de7edc4 Follow project coding style. Issue #2192. 2016-12-17 17:29:43 +01:00
sledgehammer999
d330ae2421 Merge pull request #6056 from okeatime/resume_pause
Make resume/pause menu items clickable. Closes #6040
2016-12-16 14:59:08 +02:00
Oke Atime
5ae35ea6dc Make resume/pause menu items clickable. Closes #6040 2016-12-16 21:50:09 +09:00
Oke Atime
84da355f4c Case insensitive sort for client clumn. Closes #6054 2016-12-15 15:25:30 +09:00
sledgehammer999
4f59caf3ca Fix share ratio limiting. Broken by commit 259b5e51c4. Closes #6039 #6048. 2016-12-15 00:04:50 +02:00
sledgehammer999
b2827702e5 Correctly migrate settings/rss/usage stats in macOS. Closes #6041. 2016-12-14 17:51:49 +02:00
sledgehammer999
435886bbf0 Fix GUI for proxy settings. Closes #6045. 2016-12-14 17:35:23 +02:00
sledgehammer999
5c4db0fa17 Fix slider for per torrent speed limits when no global speed limit has been set. Closes #6046. 2016-12-14 17:18:34 +02:00
sledgehammer999
26e8072c84 Merge pull request #5332 from evsh/fix-qt5-log-flood
Add a workaround for QTBUG-52633, qBt issue #5073
2016-12-13 19:37:17 +02:00
Eugene Shalygin
9a123c42c3 Add a workaround for QTBUG-52633, qBt issue #5073
The QTBUG-52633 results in food of network interface changed events, libtorrent IP
rebind calls and flood in the qBt log. The work around is the check not only for
interface name, but for IP address on that interface before triggering the libtorrent rebind.
2016-12-13 17:18:58 +01:00
sledgehammer999
283511116e New translations: Icelandic, Latvian, Malay, Occitan, Uzbek
Also re-run lupdate.
2016-12-13 02:09:28 +02:00
sledgehammer999
77da1afae5 Sync translations from Transifex and run lupdate. 2016-12-13 01:02:06 +02:00
sledgehammer999
0caf03130c Bump API_VERSION and API_VERSION_MIN to 11. 2016-12-12 22:11:06 +02:00
sledgehammer999
d88ec48468 Polish previous commit. 2016-12-11 23:24:55 +02:00
sledgehammer999
5a006d5980 Merge pull request #5810 from ghost/macOSpref
Change QSettings to IniFormat on macOS. Closes #5770 #5808
2016-12-11 23:23:22 +02:00
sledgehammer999
4e8ca90b23 Merge pull request #5958 from dzmat/auto_ptr_eviction
minimizing the number of warnings about deprecated auto_ptr
2016-12-10 21:23:42 +02:00
sledgehammer999
07edb7b74e Merge pull request #6010 from Chocobo1/warnings
Fix memory leak
2016-12-10 21:22:41 +02:00
dzmat
abeff99ba0 minimizing the number of warnings about deprecated auto_ptr 2016-12-08 19:24:52 +07:00
Chocobo1
5cf86d3677 Change Utils::Fs::freeDiskSpaceOnPath() signature
refactor the function internals
2016-12-08 15:36:34 +08:00
thalieht
9f06d0d47b SearchTab: can now save sorting column changes 2016-12-07 18:39:03 +02:00
thalieht
f523685414 PeerListDelegate: fix coding style in whole file 2016-12-07 18:39:03 +02:00
thalieht
a90100a0b7 PeerList: allow to hide zero values for the "uploaded" and "downloaded" columns 2016-12-07 18:25:18 +02:00
thalieht
1652425cee TransferListWidget: keep columns width even if they are hidden on qBittorrent startup (unless something goes wrong) 2016-12-07 18:19:54 +02:00
thalieht
c90794878f SearchTab: Allow to toggle columns in searchtab 2016-12-07 18:19:54 +02:00
thalieht
b2144f7928 SearchTab: use saveSettings() and loadSettings() to handle header state 2016-12-07 18:19:54 +02:00
thalieht
5255719661 SearchTab: align text to the right in columns that handle numbers 2016-12-07 17:47:51 +02:00
thalieht
daf33ef8aa PeerList: align text to the right in columns that handle numbers 2016-12-07 17:47:51 +02:00
sledgehammer999
ba1e5b8d58 Merge pull request #6013 from Chocobo1/mac_warnings
Fix warnings on macOS
2016-12-07 16:48:35 +02:00
sledgehammer999
49ed0765e1 Merge pull request #5928 from Chocobo1/rss-view
Change RSS view layout to horizontal
2016-12-07 01:44:56 +02:00
sledgehammer999
0d1b70e248 Decouple dependency between Session and BandwidthScheduler during Session init. Closes #6007. 2016-12-07 01:33:48 +02:00
Chocobo1
ce3c53b3c4 Replace deprecated classes 2016-12-07 01:31:44 +08:00
Chocobo1
ab187f06da Fix unused variable warnings 2016-12-07 01:31:39 +08:00
Chocobo1
0b313e0bc3 Remove unused variable 2016-12-05 20:20:01 +08:00
Chocobo1
7f2f78a816 Simplify #if expression 2016-12-05 20:05:08 +08:00
Chocobo1
e1c9e3b9ed Fix memory leak
call unicode version of the function directly
2016-12-05 20:04:21 +08:00
Chocobo1
5608827429 Simplify function call 2016-12-05 20:04:13 +08:00
sledgehammer999
f7194eecb0 Merge pull request #5997 from Chocobo1/msvc_warnings
Fix msvc warnings
2016-12-02 19:15:59 +02:00
Chocobo1
5d2d22a218 Fix warning C4090.
different '__unaligned' qualifiers.
2016-12-02 15:32:27 +08:00
Chocobo1
11c2ee81c1 Fix warning C4267.
conversion from 'size_t' to 'int', possible loss of data.
2016-12-02 15:32:27 +08:00
sledgehammer999
d1d6f7ddbc Merge pull request #5954 from zywo/cmake_build_fix
Fix CMake compilation error.
2016-12-02 01:49:03 +02:00
sledgehammer999
3c1774360f Merge pull request #5981 from Chocobo1/scroll_h
Horizontal scroll
2016-12-02 01:47:08 +02:00
dzmat
de26606ad5 memleak fix 2016-12-01 20:18:38 +07:00
Chocobo1
cffa729ac5 Put temp files in .qBittorrent directory. Closes #4462. 2016-12-01 01:39:27 +08:00
Chocobo1
d84461c9b2 Remove unused header 2016-11-29 17:31:14 +08:00
Chocobo1
f4652b3f7b Shift + scroll = horizontal scroll, Closes #5980
Only for TransferListWidget, PeerListWidget
2016-11-27 16:06:46 +08:00
dzmat
4b18bb29a6 DRY violation fixed 2016-11-18 23:05:47 +07:00
zywo
6e7d3b8135 Fix CMake compilation error. 2016-11-17 16:20:36 +01:00
Chocobo1
a415f14fac Rename splitter names 2016-11-17 11:12:33 +08:00
sledgehammer999
d73688bfd8 Sync translations from Transifex and run lupdate. 2016-11-14 02:47:35 +02:00
sledgehammer999
2d053da21f Merge pull request #5847 from yezezey/downloadFromURL
Fix downloadFromURL bug. Closes #5844
2016-11-14 02:14:26 +02:00
sledgehammer999
fd5d1583de Option to disable tracker's favicon download. 2016-11-13 22:47:37 +02:00
sledgehammer999
7923b54456 Remove (mostly) useless log warnings about tracker's favicon. 2016-11-13 22:47:31 +02:00
Tim Delaney
94c9772a81 Ctrl+F search filter. Closes #5797.
--HG--
branch : magao-dev
2016-11-12 01:32:58 +11:00
Tim Delaney
2e66ddb0a0 Follow project coding style. Issue #2192.
--HG--
branch : magao-dev
2017-01-08 11:46:01 +11:00
sledgehammer999
7be27f7770 Merge pull request #6280 from ngosang/fix_search
[Search engine] Update extratorrent plugin. Closes #6261
2017-01-21 20:40:04 +02:00
ngosang
a9c5dab0dd [Search engine] Update extratorrent plugin. Closes #6261 2017-01-21 19:27:14 +01:00
sledgehammer999
9225d9ab2b Merge pull request #6279 from evsh/cmake
cmake: compilation fixes
2017-01-21 18:28:54 +02:00
Eugene Shalygin
13d9dea8ac cmake: make LibtorrentRasterbar::LibTorrent public dependency of qbt_base
If libtorrent include directory not in the compiler search path, we have
to pass it to all qbt targets, because session.h includes
libtorrent/version.hpp
2017-01-21 16:40:44 +01:00
sledgehammer999
87e454cc6d Merge pull request #5547 from buinsky/master
WebUI: Implement adjustable dynamic table columns
2017-01-21 16:12:12 +02:00
sledgehammer999
b625c4c662 Merge pull request #3162 from ngosang/trackers_tab
Display more information in tracker tab
2017-01-21 15:59:05 +02:00
buinsky
484e021ca2 Avoid lags in firefox on resizing progress column 2017-01-21 16:37:34 +03:00
buinsky
741e0a08ea Remove 300px limit of column width 2017-01-21 16:21:46 +03:00
buinsky
7628490def Fix scrollbar covers menu item with long text 2017-01-21 15:57:02 +03:00
buinsky
d50a7778fe Implement resizable progress bar in "Done" column 2017-01-21 15:57:02 +03:00
buinsky
09cf93521f Follow project coding style. Issue #2192. 2017-01-21 15:57:02 +03:00
buinsky
e65a628bf9 Add a vertical separator between columns 2017-01-21 15:57:02 +03:00
buinsky
bdf736b7d7 Prevent text wrapping in menus 2017-01-21 15:57:02 +03:00
buinsky
3dfcd6db6a Make too tall menus scrollable 2017-01-21 15:57:02 +03:00
buinsky
134e4c1eb9 Add some missing columns to dynamic tables 2017-01-21 15:57:02 +03:00
buinsky
a087d146df Fix columns names 2017-01-21 15:57:02 +03:00
buinsky
3ac87f22cb Implement dynamic table columns hiding 2017-01-21 15:57:02 +03:00
buinsky
56b885995c Implement dynamic table columns reordering 2017-01-21 15:57:02 +03:00
buinsky
56c07704d8 Implement dynamic table columns resizing 2017-01-21 15:57:02 +03:00