Chocobo1
9fc2bf6353
Add file-to-piece-index mappings in /query/propertiesFiles command
...
Also do the following cleanups:
Use string constant QB_EXT
Remove redundant variable
Add const
2017-10-24 01:07:42 +03:00
sledgehammer999
f9c7121847
Sync translations from Transifex and run lupdate.
2017-10-24 01:07:31 +03:00
Eugene Shalygin
d3a0ac3b6e
Make BitTorrent::TorrentState strongly-typed enum
...
This is needed to forward declare this type and pass it by value.
Conversion from/to QVariant are hanled via Q_DECLARE_METATYPE, while
TorrentState::toString() function was used in webui only and as such is
moved there.
2017-10-24 00:57:58 +03:00
Tim Delaney
a6c99844de
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
2017-10-24 00:57:57 +03:00
Chocobo1
d51a957247
Die gracefully when failed to initialize web server with qbt-nox
2017-10-24 00:57:56 +03:00
Matthew Fioravante
a0c16cd461
Report TCPServer errorString() if webui fails to listen to port
2017-10-24 00:57:55 +03:00
Chocobo1
8fe11dff91
Fix delete key has no effect due to "Ambiguous shortcut overload"
...
We want to show the accelerator key in the menu but without hitting
the ambiguous overload error.
Fixup of 1378245a63
2017-10-24 00:57:54 +03:00
Eugene Shalygin
efcdcf5898
Update uncrustify config
2017-10-24 00:57:52 +03:00
sledgehammer999
da543cdae2
Optimize SVGs.
...
Used svgo with commands --pretty --indent=2 --multipass.
2017-10-24 00:55:41 +03:00
sledgehammer999
0374742e57
Optimize PNGs.
...
Using PNGGauntlet.
2017-10-24 00:55:39 +03:00
sledgehammer999
408052d1ec
Remove unused image. Possibly leftover from dropping Qt4.
2017-10-24 00:55:38 +03:00
sledgehammer999
b0ebbc3596
Drop OS/2 support.
2017-10-24 00:55:37 +03:00
sledgehammer999
e45e1166b2
Show new paths in native form.
2017-10-24 00:55:35 +03:00
thalieht
de64d5c3bc
Save ratio limits as int instead of string
2017-10-24 00:55:34 +03:00
thalieht
07130c4b26
Coding style, use nullptr and other minor things
2017-10-24 00:55:33 +03:00
thalieht
8482464ad0
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg dialogs. Fixes #7352
2017-10-24 00:55:32 +03:00
Eugene Shalygin
d7ce6e39d4
cmake: do not use Qt5Widgets when locating QtSingleApplication. Closes #7551 .
...
This fixes cmake builds with GUI disabled and system
QtSingleApplication. We rely on Qt5::Core instead of Qt5::Widgets.
2017-10-24 00:55:30 +03:00
Chocobo1
97acbd5259
Set QTextOption::NoWrap property in "Download from URLs" dialog
...
This makes it easier to put each magnet link on its own line
2017-10-24 00:55:29 +03:00
Nick Korotysh
60937a1871
show delete accelerator key in menu. closes #7508
2017-10-24 00:55:28 +03:00
Nick Korotysh
ed43bc377d
allow search plugins sorting. closes #7526
2017-10-24 00:55:27 +03:00
Vladimir Golovnev (Glassez)
8d11929815
Reformat Windows build configuration files
2017-10-24 00:55:26 +03:00
dzmat
0e6f8c15c5
transferlistwidget class members names clarification
2017-10-24 00:55:24 +03:00
Chocobo1
8107201a5b
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-10-24 00:55:23 +03:00
Vladimir Golovnev (Glassez)
395ea4d1d0
Implement TorrentCategoryDialog class
2017-10-24 00:55:22 +03:00
Vladimir Golovnev (Glassez)
7bf317929b
Use Qt5 connect() style in CategoryFilterWidget
2017-10-24 00:55:21 +03:00
Chocobo1
3cacf876c9
Show torrent name in "add new torrent" dialog on merging trackers
2017-10-24 00:55:20 +03:00
silver
d6247dd4ec
Center Options dialog when showed
2017-10-24 00:53:10 +03:00
silver
4f0c49f1c4
Persist size and treeview header state in preview dialog
...
- renamed variable m_headerState
- renamed PreviewSelect class to PreviewSelectDialog
- renamed previewselect files to previewselectdialog
2017-10-24 00:53:09 +03:00
silver
30455e8b01
Follow project coding style. Issue #2192 .
2017-10-24 00:53:08 +03:00
silver
60adb94463
Options dialog save windows state in destructor
2017-10-24 00:53:07 +03:00
Chocobo1
a02fd5b588
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
2017-10-24 00:53:06 +03:00
sledgehammer999
39ce080318
Don't use margins in FileSystemPathEdit widgets.
...
Introduced in 30081e0 .
2017-10-24 00:53:04 +03:00
Chocobo1
f53abd2f07
Update qtsingleapplication
...
To upstream version a8dda66d7738cde9042b87db27993f710ae3eeeb
2017-10-24 00:53:03 +03:00
Thomas Piccirello
5b0ae0271b
Reposition "Priority" menu option in WebUI to match gui ( closes #7072 )
2017-10-24 00:53:02 +03:00
sledgehammer999
ec2efd8c62
Better reporting of success/failure of torrent and file deletion.
2017-10-24 00:53:01 +03:00
Chocobo1
146daea513
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-10-24 00:53:00 +03:00
Chocobo1
5ab67faacb
Use smaller data type for TriStateBool
2017-10-24 00:52:58 +03:00
Chocobo1
4213d37857
WebAPI: fix addPaused wrong default behavior
...
Add helper function
Sort include header
2017-10-24 00:52:57 +03:00
Chocobo1
0192922910
Refactor
...
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
2017-10-24 00:52:56 +03:00
Chocobo1
d2b88e9f84
WebAPI: fix root_folder default behavior
...
Bug was introduced in
6b33db3ae3
2017-10-24 00:52:55 +03:00
Chocobo1
a32c4aca92
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
2017-10-24 00:52:54 +03:00
thalieht
91d41336a7
Create root folder option when adding a torrent in WebUI
2017-10-24 00:52:53 +03:00
Chocobo1
d73d790612
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-10-24 00:52:51 +03:00
Chocobo1
af0fed6669
Change default value of m_diskCacheSize. New default is 64 MB.
2017-10-24 00:52:50 +03:00
Eugene Shalygin
a24c13b902
Allow custom tray icons when system icon theme is used. Closes #7403 .
2017-10-24 00:52:49 +03:00
Chocobo1
c44c6a8d88
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-10-24 00:52:48 +03:00
sledgehammer999
5f62a68e71
Travis: Update libtorrent bottle with boost 1.65+ fix.
2017-10-24 00:52:41 +03:00
Allan Nordhøy
5af90fee46
Spelling: HTTP/HTTPS
2017-10-23 19:03:40 +03:00
Chocobo1
b17566f113
Update coding guidelines
...
Add ranged-based for loop example
Add class inheritance example
Add Prefer pre-increment, pre-decrement operators section
Fix space after comment keyword
Fix header include order
[skip ci]
2017-10-23 19:03:39 +03:00
sledgehammer999
29edea050b
Update Changelog.
2017-10-23 19:03:38 +03:00