Chocobo1
2d12c126eb
Fix "Time active" field in transfer list
...
The "Time active" field was broken, displaying nothing when in
downloading state.
Also change type to int to match the return
types of TorrentHandle::activeTime() & TorrentHandle::seedingTime()
2017-09-28 16:54:46 +08:00
Vladimir Golovnev (Glassez)
3ec992474d
Implement TorrentCategoryDialog class
2017-09-27 21:25:22 +03:00
Mike Tzou
15babe97ea
Merge pull request #7500 from Chocobo1/mergeName
...
Show torrent name in "add new torrent" dialog on merging trackers
2017-09-27 21:04:51 +08:00
Mike Tzou
308fd3dcac
Merge pull request #7477 from silverqx/options-dlg-persist-size
...
Center Options dialog when showed
2017-09-27 20:35:04 +08:00
Mike Tzou
e8250104c8
Merge pull request #7429 from silverqx/preview-modal-ux
...
Improved ux in preview dialog
2017-09-27 20:33:31 +08:00
Mike Tzou
796cd674d7
Merge pull request #7495 from silverqx/options-save-state-cancel
...
Options dialog save windows state in destructor
2017-09-26 15:30:17 +08:00
Mike Tzou
1fe9272a8f
Merge pull request #7480 from Chocobo1/lastAct
...
Fix last activity calculation
2017-09-26 15:17:35 +08:00
sledgehammer999
c285de87d4
Don't use margins in FileSystemPathEdit widgets.
...
Introduced in 30081e0
.
2017-09-26 04:06:32 +03:00
Chocobo1
058062d586
Show torrent name in "add new torrent" dialog on merging trackers
2017-09-26 01:34:24 +08:00
silver
3b4fd35dde
Persist size and treeview header state in preview dialog
...
- renamed variable m_headerState
- renamed PreviewSelect class to PreviewSelectDialog
- renamed previewselect files to previewselectdialog
2017-09-25 16:33:17 +02:00
silver
2a6bd5de35
Options dialog save windows state in destructor
2017-09-24 22:56:14 +02:00
silver
64e539fcfb
Center Options dialog when showed
2017-09-24 19:40:48 +02:00
Mike Tzou
de6ca29dcd
Merge pull request #7482 from Chocobo1/update
...
Update qtsingleapplication
2017-09-24 22:39:59 +08:00
silver
ef63202be2
Follow project coding style. Issue #2192 .
2017-09-24 16:18:39 +02:00
Chocobo1
62493c672d
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
2017-09-24 21:06:34 +08:00
Vladimir Golovnev (Glassez)
8c58a69be6
Use Qt5 connect() style in CategoryFilterWidget
2017-09-24 16:01:39 +03:00
Mike Tzou
2eb3ec1a6e
Merge pull request #7463 from Piccirello/fix-priority-context-menu-placement
...
Reposition "Priority" menu option in WebUI to match gui (closes #7072 )
2017-09-24 10:28:05 +08:00
Chocobo1
e3da17caa8
Update qtsingleapplication
...
To upstream version a8dda66d7738cde9042b87db27993f710ae3eeeb
2017-09-23 00:27:00 +08:00
sledgehammer999
c7e35a1801
Merge pull request #7451 from sledgehammer999/report_delete_fail
...
Better reporting of success/failure of torrent and file deletion.
2017-09-21 23:36:53 +03:00
Mike Tzou
83c6b22d30
Merge pull request #7454 from Chocobo1/buttonbox
...
Replace dialog ok-cancel buttons with QDialogButtonBox
2017-09-21 22:45:45 +08:00
Mike Tzou
fc5d49bf9a
Merge pull request #7460 from Chocobo1/tribool
...
Use smaller data type for TriStateBool
2017-09-21 20:17:34 +08:00
Chocobo1
c5ddbcfb5b
WebAPI: fix addPaused wrong default behavior
...
Add helper function
Sort include header
2017-09-19 17:26:01 +08:00
Chocobo1
72b0ba36ae
Refactor
...
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
2017-09-19 14:16:39 +08:00
Chocobo1
b107c0671d
WebAPI: fix root_folder default behavior
...
Bug was introduced in
6b33db3ae3
2017-09-19 13:07:50 +08:00
sledgehammer999
b9e233601d
Merge pull request #7446 from Chocobo1/utpOnly
...
Add uTP only mode option
2017-09-19 01:45:58 +03:00
sledgehammer999
8f16388915
Better reporting of success/failure of torrent and file deletion.
2017-09-17 23:04:12 +03:00
Chocobo1
d143929454
Use smaller data type for TriStateBool
2017-09-18 02:21:47 +08:00
Chocobo1
45a0c5558a
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
2017-09-18 01:52:57 +08:00
Thomas Piccirello
b6596f9957
Reposition "Priority" menu option in WebUI to match gui ( closes #7072 )
2017-09-17 05:42:46 -04:00
Chocobo1
7059b947e8
Replace dialog ok-cancel buttons with QDialogButtonBox
...
This PR will make button order follow the platform default.
For example: windows use: OK, Cancel; linux use: Cancel, OK.
2017-09-15 18:52:21 +08:00
Mike Tzou
4eafe7a2c8
Merge pull request #7426 from thalieht/webuiStripFolder
...
Add the create root folder option when adding a torrent in WebUI
2017-09-15 13:01:48 +08:00
Chocobo1
a341b793e4
Rename option
...
The previous "Disk write cache size" is not accurate since it is also being used
for read cache, so rename it to "Disk cache".
2017-09-14 20:32:10 +08:00
Chocobo1
a1d46a278b
Change default value of m_diskCacheSize. New default is 64 MB.
2017-09-14 20:32:04 +08:00
Eugene Shalygin
c6cf3a98a4
Merge pull request #7428 from evsh/allow-all-tray-icons
...
Allow custom tray icons when system icon theme is used. Closes #7403 .
2017-09-12 11:09:44 +02:00
Eugene Shalygin
4ec193042f
Allow custom tray icons when system icon theme is used. Closes #7403 .
2017-09-11 16:18:10 +02:00
thalieht
6b33db3ae3
Create root folder option when adding a torrent in WebUI
2017-09-11 16:56:33 +03:00
Chocobo1
855772ae5a
Fix dereferencing freed pointer. Closes #7420 .
...
The torrent is removed from session after `deleteTorrent()`
yet we still invoke `torrent->name()`, thus result in crash.
2017-09-11 13:16:34 +08:00
Allan Nordhøy
5c18db240c
Spelling: HTTP/HTTPS
2017-09-08 11:22:25 +02:00
sledgehammer999
728b7dec3e
Sync translations from Transifex and run lupdate.
2017-09-06 01:44:47 +03:00
sledgehammer999
7b5730723d
Fix file list expansion on singlefile torrent with folder.
2017-09-06 01:11:49 +03:00
Vladimir Golovnev
c6dfdf9135
Fix CategoryFilterWidget::sizeHint()
2017-09-01 16:11:21 +03:00
Vladimir Golovnev
4cd3a37b4a
Fix suggest_mode setting
...
Actually suggest_mode is of type int.
2017-08-31 22:02:52 +03:00
Chocobo1
64d5e329c0
Sort the resource lists
...
Update RCC header
2017-08-29 13:39:02 +08:00
Chocobo1
ee9caa4305
Cleanup src.pro
2017-08-29 13:39:02 +08:00
Chocobo1
39b56ac598
Move NOMINMAX define
2017-08-29 13:39:01 +08:00
Chocobo1
551ffb88ab
Define QT_USE_QSTRINGBUILDER.
...
The old defines are deprecated.
QT_USE_QSTRINGBUILDER also supports QByteArray which we use extensively
in WebUI.
2017-08-29 13:37:29 +08:00
Chocobo1
ccd3b305c2
Use Qt5 connect syntax
2017-08-24 20:15:25 +08:00
Chocobo1
b47c90f0e0
Setup parent ownership to avoid memory leak
2017-08-24 20:01:39 +08:00
Mike Tzou
1afd5f70dd
Merge pull request #3235 from Chocobo1/session_option
...
libtorrent session options
2017-08-24 11:35:15 +08:00
Vladimir Golovnev
f2af308e6d
Fix RSS Downloader fails to rename rule
...
Closes #7333 .
2017-08-23 16:45:14 +03:00
Vladimir Golovnev
a6868e2b25
Merge pull request #7313 from glassez/sched
...
Don't disable scheduler when manually switching speed limits. Closes #7306
2017-08-23 17:05:28 +04:00
Vladimir Golovnev
bda5be8e4c
Skip user input events when adding torrent
...
Closes #7327 .
2017-08-23 11:14:34 +03:00
Vladimir Golovnev (qlassez)
93f5d4058d
Improve BandwidthScheduler
...
Don't disable scheduler when manually switching speed limits.
Closes #7306 .
2017-08-23 09:48:31 +03:00
Evengard
ea7c1ace2a
Disable skipping of loopback interfaces
...
This fixes the absence of VPN tunnel interfaces under Windows and works around the QTBUG-32349
Fixes #7291
2017-08-22 00:00:20 +03:00
Chocobo1
2da2054ccf
Use enums for settings
2017-08-21 20:30:26 +08:00
Chocobo1
3f5fa0025d
Add sanitize helper clampValue()
2017-08-21 16:50:56 +08:00
Chocobo1
f4be165767
Add send_buffer_watermark send_buffer_low_watermark
...
send_buffer_watermark_factor knobs
2017-08-21 16:50:14 +08:00
Chocobo1
55a1628a5e
Add suggest_mode knob
2017-08-21 16:50:14 +08:00
Chocobo1
6c32f6beff
Add choking_algorithm & seed_choking_algorithm knob
2017-08-21 16:49:45 +08:00
Chocobo1
21ec8fe53f
Add allow_multiple_connections_per_ip knob. Closes #5884 .
2017-08-21 16:48:38 +08:00
Chocobo1
4185209036
Add mixed_mode_algorithm knob
2017-08-21 16:48:38 +08:00
Chocobo1
6150e0c56b
Add guided_read_cache knob
...
cleanup header include order
2017-08-21 16:48:37 +08:00
Eugene Shalygin
ef1597e45b
Fix ignoring of incorrect version strings in search plugins. Closes #7101 .
...
Printing of Version with all components set to zero was segfaulting due
to underflow in array index. Also add log message for such plugins.
2017-08-20 22:44:20 +02:00
Chocobo1
9ef1e32327
WebAPI: fix validating wrong header field. Closes #7311 .
...
X-Forwarded-Host is a foreign proxy setting, it isn't the same as
qbt's local setting and thus it makes no sense to verify it.
2017-08-20 22:40:19 +08:00
sledgehammer999
bbe7821483
Merge pull request #7300 from Chocobo1/cleanup
...
Minor cleanup
2017-08-18 21:08:27 +03:00
Chocobo1
65ca490b64
Wrap class & functions in anonymous namespace
...
Rename vars
Cleanup class interfaces
Pass by reference whenever possible
2017-08-19 01:57:11 +08:00
sledgehammer999
907f222a73
Switch settings to signed int because libtorrent expects them that way.
2017-08-18 20:21:39 +03:00
sledgehammer999
b649d61e8b
Options to better memory control by libtorrent. Closes #7029 .
2017-08-18 20:21:37 +03:00
sledgehammer999
ea793368a9
Merge pull request #7279 from evsh/file-icon-cache
...
Use pixmap cache for file icons on Mac OS and Windows. Closes #7264 .
2017-08-18 19:31:19 +03:00
Eugene Shalygin
3331526865
Use pixmap cache for file icons on Mac OS and Windows. Closes #7264 .
2017-08-15 22:25:03 +02:00
sledgehammer999
cccb22f0e3
Merge pull request #7282 from glassez/fsutils
...
Improve utils/fs.* and fix coding style
2017-08-15 22:47:39 +03:00
sledgehammer999
4f0d9605fe
Merge pull request #7281 from vit9696/notifications2
...
Fix notification display on macOS
2017-08-15 22:34:35 +03:00
sledgehammer999
19fcd3dad6
Fix broken build.
2017-08-15 22:12:16 +03:00
vit9696
eb8ff91c5d
Fix notification display on macOS
2017-08-15 21:16:37 +03:00
sledgehammer999
f98edcab5c
Merge pull request #7272 from vit9696/patch-1
...
Fix macOS window restoration after using hide icon
2017-08-15 21:13:58 +03:00
sledgehammer999
e5ea3bd707
Merge pull request #7253 from briankendall/fix_objc_errors
...
Fixed mac specific compiler errors and cleaned up Objective C code. Closes #7252
2017-08-15 21:06:09 +03:00
sledgehammer999
c87c1d2359
Use simpler ifdef style.
2017-08-15 21:01:55 +03:00
sledgehammer999
7bb9c69c08
Fix connection problems when a specific interface/ip is configured.
...
Closes #7235 .
Bug related to #7099 and Qt.
2017-08-15 19:33:45 +03:00
sledgehammer999
25eb2edb86
Merge pull request #7273 from vit9696/borders
...
Unify preference window borders across the tabs
2017-08-15 18:14:11 +03:00
sledgehammer999
c2a8970109
Fix calculation of 'Average time in queue' stat under libtorrent 1.1.x
2017-08-15 17:38:41 +03:00
Vladimir Golovnev (qlassez)
59c14801cc
Improve utils/fs.* and fix coding style
2017-08-15 16:17:57 +03:00
Mike Tzou
ea749bb052
Merge pull request #7276 from Chocobo1/pr_7063
...
Auto torrent management from webui context menu
2017-08-15 11:47:21 +08:00
vit9696
1cb69c9b43
Unify preference window borders across the tabs
2017-08-14 20:10:28 +03:00
sledgehammer999
89d8a2fe72
Merge pull request #7251 from Chocobo1/spacing
...
Add space between widgets in left side panel. Closes #7224 .
2017-08-14 19:11:54 +03:00
Thomas Piccirello
4846b0ec28
Use single quotes for char.
...
Use case insensitive compare.
Swap conditionals
2017-08-14 23:15:03 +08:00
Thomas Piccirello
771033a449
Add auto torrent management to webui context menu (addresses #6815 )
2017-08-14 23:14:46 +08:00
vit9696
16d7301046
Fix macOS window restoration after using hide icon
2017-08-14 12:38:42 +03:00
sledgehammer999
8d913d77dd
Merge pull request #7266 from Chocobo1/coverity
...
Fix issues found by coverity scan
2017-08-13 20:10:04 +03:00
Mike Tzou
0522db3f19
Merge pull request #7061 from Piccirello/webui-rename-torrent
...
Rename torrent from webui context menu (addresses #6815 )
2017-08-13 23:39:35 +08:00
Vladimir Golovnev (qlassez)
cff6a64e9f
Use qUtf8Printable() for logging strings
...
qDebug(), qInfo(), qWarning(), qCritical(), qFatal() expect %s arguments
to be UTF-8 encoded, while qPrintable() converts to local 8-bit encoding.
Therefore qUtf8Printable() should be used for logging strings instead of
qPrintable().
2017-08-13 16:14:57 +03:00
Vladimir Golovnev
219a6b3ad1
Merge pull request #7267 from glassez/remove-temp
...
Don't remove shared temp folder
2017-08-13 17:00:40 +04:00
Thomas Piccirello
798c230634
Add option to rename torrent from WebUI
...
Addresses #6815 .
2017-08-13 15:45:51 +03:00
Vladimir Golovnev (qlassez)
3801150a7a
Don't remove shared temp folder
...
Don't remove shared temp folder when torrent finished and moved to
its "complete" folder. Only torrents with stripped root folder
have subfolder in temp folder so they should remove it.
2017-08-13 14:17:12 +03:00
Chocobo1
91b2b14ba5
Initialize variables
...
Remove unused variable
2017-08-13 15:28:36 +08:00
sledgehammer999
1b8cda7924
Follow project coding style.
2017-08-12 16:23:15 +03:00
sledgehammer999
31a4309077
Catch possible exceptions when parsing IPs. Closes #7249 .
2017-08-12 16:23:14 +03:00
Brian Kendall
62b956946f
Fixed mac specific compiler errors and cleaned up Objective C code
...
Created new file src/gui/macutilities.mm, moved code from mainwindow.cpp and torrentcontentmodel.cpp that used the Objective C runtime into it and converted it to actual Objective C. Rewrote pixmapForExtension() so that it doesn't call into private Qt functions.
2017-08-11 20:51:16 -04:00
Chocobo1
04552f7921
Add space between widgets in left side panel. Closes #7224 .
2017-08-11 21:37:33 +08:00
Vladimir Golovnev
9417105990
Merge pull request #7240 from glassez/fix-7226
...
Remove legacy RSS settings after converting. Closes #7226
2017-08-11 13:08:28 +04:00
sledgehammer999
593c24e5bd
Merge pull request #7234 from thalieht/indentation
...
Remove indentation for category/tag filter widgets in all platforms
2017-08-11 11:25:24 +03:00