1
mirror of https://github.com/qbittorrent/qBittorrent synced 2025-10-07 09:52:18 +02:00

Compare commits

...

3944 Commits

Author SHA1 Message Date
sledgehammer999
4594895082 Bump to 4.0.0 2017-11-20 02:43:03 +02:00
sledgehammer999
e457223fcd Update Changelog. 2017-11-20 02:31:42 +02:00
sledgehammer999
8fc25c4524 Sync translations from Transifex and run lupdate. 2017-11-20 02:24:02 +02:00
sledgehammer999
410e133592 Use new logo in the file icon. 2017-11-20 02:10:03 +02:00
sledgehammer999
e114bc7ef6 Use new logo in the splash screen. 2017-11-20 02:10:02 +02:00
sledgehammer999
6ac57cb24c Remove unused image. 2017-11-20 02:10:01 +02:00
sledgehammer999
2b7893adc8 Use the SVG for the tray icon. 2017-11-20 02:10:00 +02:00
sledgehammer999
84b8832d57 Change qbittorrent logo. Issue #6467. 2017-11-20 02:09:59 +02:00
Vladimir Golovnev (Glassez)
0e738b534c Fix WebUI error handling 2017-11-20 02:09:58 +02:00
Chocobo1
96ce8690b6 Simplify AX_BOOST_BASE usage
Regenerate configure
2017-11-20 02:09:57 +02:00
Chocobo1
a23698940c Sync m4 macros with upstream 2017-11-20 02:09:56 +02:00
Chocobo1
50bb733293 [WebAPI] Improve error messages
Also refactor to use class methods
2017-11-20 02:09:55 +02:00
Vladimir Golovnev (Glassez)
6420157b55 Improve RSS events logging
Fix RSS log messages was untranslatable.
Add more logging.
2017-11-20 02:09:54 +02:00
Eugene Shalygin
86bdfbf88c Add option to tune download history list length. Closes #4043. 2017-11-20 02:09:53 +02:00
Eugene Shalygin
81e8f79164 Add maxVisibleItems combo box property to FileSystemPathComboEdit. 2017-11-20 02:09:52 +02:00
Chocobo1
64a0ad33c1 Include/print caught signal in stackdump 2017-11-20 02:09:51 +02:00
Nikolay Korotysh
3cd0ffecaf dropped unneeded executable flag from several files 2017-11-20 02:09:50 +02:00
sledgehammer999
a2ddabaedb Bump API_VERSION to 16. 2017-11-20 02:09:49 +02:00
sledgehammer999
1fec1978aa Update Changelog. 2017-11-20 02:09:48 +02:00
Chocobo1
8de67fd745 Refactor
Add const
Use Qt5 connect syntax
2017-11-20 02:09:47 +02:00
Chocobo1
3b51582416 Explicitly set UPnP state on start-up. Closes #7338.
libtorrent 1.1 enables upnp by default.
2017-11-20 02:09:46 +02:00
sledgehammer999
ffa2fdce9d Change default settings for tracker/tier announces to mimick ìTorrent behavior. 2017-11-20 02:09:45 +02:00
sledgehammer999
588f1c7592 Allow to specify if announcing to all tiers is desired. 2017-11-20 02:09:44 +02:00
Chocobo1
ab1ece2460 Open links in browser. Closes #7651. 2017-11-20 02:09:43 +02:00
sledgehammer999
7a935d8a87 Add Turkish translator in about page. 2017-11-20 02:09:42 +02:00
Chocobo1
3926eba585 Allow SMTP sender to be set. Closes #7575. 2017-11-20 02:09:41 +02:00
Chocobo1
74bf420610 Disable processing events when adding torrents. Closes #7436.
webUI connection timeout & deletion might occur while
doing processEvents() and will result in use-after-free segfault.
2017-11-20 02:09:39 +02:00
Chocobo1
324f18a0b2 [WebUI] Improve log messages 2017-11-20 02:09:38 +02:00
sledgehammer999
c134e391e6 Run lupdate again. 2017-11-20 02:09:37 +02:00
sledgehammer999
24504951b0 Mention more translators in the about page after their request. 2017-11-20 02:09:35 +02:00
sledgehammer999
f7f02ab16a String fixes and optimizations mentioned by translators on Transifex. 2017-11-20 02:09:29 +02:00
sledgehammer999
fe810fcd37 Revert "Update Transifex config file."
This reverts commit e872719ef1.
2017-10-24 01:31:06 +03:00
sledgehammer999
17167e79d2 Sync translations from Transifex and run lupdate. 2017-10-24 01:31:04 +03:00
Chocobo1
7bd86048a8 WebAPI refactor: utilize parseBool() function
Coding style cleanup
Rename variable
Return const reference
Add const
2017-10-24 01:30:37 +03:00
Chocobo1
d399f024a7 Reinitialize webUI server when "IP address" setting changed
An app restart won't be necessary from now on.
2017-10-24 01:30:36 +03:00
sledgehammer999
21f06abef8 Fix row height/width in webui for country flags.
Patch by Chocobo1.
2017-10-24 01:07:57 +03:00
sledgehammer999
fbe0e96fd5 Use svg icons for the country flags.
Closes #6223.
2017-10-24 01:07:55 +03:00
Matthew Fioravante
94e00dd38d Add WebUi\Address config option 2017-10-24 01:07:54 +03:00
Chocobo1
c3f5432877 [WebUI]: Print error messages upon receiving invalid header fields 2017-10-24 01:07:53 +03:00
dzmat
4dcc187a72 speedwidget class: excess QtConcurent usage removal 2017-10-24 01:07:51 +03:00
scootergrisen
97c99dfaaf Add me for danish 2017-10-24 01:07:50 +03:00
sledgehammer999
da83041a3f Generate pngs using svgexport and optimize using PNGGauntlet. 2017-10-24 01:07:49 +03:00
sledgehammer999
d40a4f14dd Optimize and prettify the svg source using svgo. 2017-10-24 01:07:48 +03:00
LordNyriox
de7b0278f4 Invert Framing for Torrent Status Icons
Also recolor the icons to match the text-color used for the torrent-status as well. 
Optimized using SVGOMG [<https://jakearchibald.github.io/svgomg/>].
2017-10-24 01:07:47 +03:00
Chocobo1
17f5e10ffc Convert tab into whitespaces 2017-10-24 01:07:45 +03:00
Chocobo1
a0dbb6c97c WebUI: add optional parameters for /command/download & /command/upload
Specifically:
torrent name: string
download limit, upload limit: number in bytes, default: -1 (unlimited)
sequential download, first last piece prio: boolean true/false, default: false
2017-10-24 01:07:44 +03:00
Chocobo1
4d330a6110 Add uploadLimit, downloadLimit fields to AddTorrentData & AddTorrentParams 2017-10-24 01:07:43 +03:00
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
sledgehammer999
7ceb646e90 Bump to 3.4.0beta2 2017-10-23 19:03:37 +03:00
sledgehammer999
0ff39e4d10 Sync translations from Transifex and run lupdate. 2017-10-23 19:02:44 +03:00
sledgehammer999
1e146c94bd Fix file list expansion on singlefile torrent with folder. 2017-10-23 18:12:43 +03:00
Vladimir Golovnev
8a0da04807 Fix CategoryFilterWidget::sizeHint() 2017-10-23 18:12:42 +03:00
Vladimir Golovnev
9e7a847cce Fix suggest_mode setting
Actually suggest_mode is of type int.
2017-10-23 18:12:41 +03:00
Chocobo1
63d3f20e51 Sort the resource lists
Update RCC header
2017-10-23 18:12:40 +03:00
Chocobo1
817e3fbb05 Cleanup src.pro 2017-10-23 18:12:39 +03:00
Chocobo1
263e96aba2 Move NOMINMAX define 2017-10-23 18:12:37 +03:00
Chocobo1
0379376fd8 Define QT_USE_QSTRINGBUILDER.
The old defines are deprecated.
QT_USE_QSTRINGBUILDER also supports QByteArray which we use extensively
in WebUI.
2017-10-23 18:12:36 +03:00
Chocobo1
de7efb50c2 Use Qt5 connect syntax 2017-10-23 18:12:35 +03:00
Chocobo1
400f8dc2d8 Setup parent ownership to avoid memory leak 2017-10-23 18:12:34 +03:00
Chocobo1
b2b63be798 Use enums for settings 2017-10-23 18:12:33 +03:00
Chocobo1
c9aba893de Add sanitize helper clampValue() 2017-10-23 18:12:32 +03:00
Chocobo1
1ac4cdcf4d Add send_buffer_watermark send_buffer_low_watermark
send_buffer_watermark_factor knobs
2017-10-23 18:12:30 +03:00
Chocobo1
08a0fef18a Add suggest_mode knob 2017-10-23 18:12:29 +03:00
Chocobo1
6f54c170ab Add choking_algorithm & seed_choking_algorithm knob 2017-10-23 18:12:28 +03:00
Chocobo1
d3b4c7bec4 Add allow_multiple_connections_per_ip knob. Closes #5884. 2017-10-23 18:12:27 +03:00
Chocobo1
f8dfe1ea57 Add mixed_mode_algorithm knob 2017-10-23 18:12:26 +03:00
Chocobo1
ce5f8bab44 Add guided_read_cache knob
cleanup header include order
2017-10-23 18:12:24 +03:00
Vladimir Golovnev
59cf70f8f2 Fix RSS Downloader fails to rename rule
Closes #7333.
2017-10-23 18:12:23 +03:00
Vladimir Golovnev (qlassez)
561975f435 Improve BandwidthScheduler
Don't disable scheduler when manually switching speed limits.
Closes #7306.
2017-10-23 18:12:22 +03:00
Vladimir Golovnev
eae6fea830 Skip user input events when adding torrent
Closes #7327.
2017-10-23 18:12:21 +03:00
Evengard
2673c2b5b2 Disable skipping of loopback interfaces
This fixes the absence of VPN tunnel interfaces under Windows and works around the QTBUG-32349
Fixes #7291
2017-10-23 18:12:20 +03:00
Eugene Shalygin
3c17f3a836 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-10-23 18:12:19 +03:00
Chocobo1
0890154e16 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-10-23 18:12:17 +03:00
sledgehammer999
0877824875 Check for Qt5Svg when configuring. 2017-10-23 18:12:16 +03:00
Chocobo1
60bd5999b0 Wrap class & functions in anonymous namespace
Rename vars
Cleanup class interfaces
Pass by reference whenever possible
2017-10-23 18:12:15 +03:00
sledgehammer999
d0ec60fa01 Switch settings to signed int because libtorrent expects them that way. 2017-10-23 18:12:14 +03:00
sledgehammer999
e7a70a4acc Options to better memory control by libtorrent. Closes #7029. 2017-10-23 18:12:13 +03:00
Eugene Shalygin
85cb49e8e1 Use pixmap cache for file icons on Mac OS and Windows. Closes #7264. 2017-10-23 18:12:12 +03:00
Vladimir Golovnev (qlassez)
3f00a6e5e3 Improve utils/fs.* and fix coding style 2017-10-23 18:12:10 +03:00
vit9696
35e18a2e09 Fix notification display on macOS 2017-10-23 18:12:09 +03:00
sledgehammer999
8ae2ae3b5c Fix broken build. 2017-10-23 18:12:08 +03:00
vit9696
27c5f2aede Fix macOS window restoration after using hide icon 2017-10-23 18:12:07 +03:00
sledgehammer999
34a69aa0b2 Use simpler ifdef style. 2017-10-23 18:12:06 +03:00
Brian Kendall
72fc903f4a 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-10-23 18:12:05 +03:00
sledgehammer999
4f04992de8 Fix connection problems when a specific interface/ip is configured.
Closes #7235.
Bug related to #7099 and Qt.
2017-10-23 18:12:04 +03:00
vit9696
1b147494d4 Unify preference window borders across the tabs 2017-10-23 18:12:02 +03:00
sledgehammer999
b535a0b44e Fix calculation of 'Average time in queue' stat under libtorrent 1.1.x 2017-10-23 18:12:01 +03:00
Thomas Piccirello
6c2271584c Use single quotes for char.
Use case insensitive compare.
Swap conditionals
2017-10-23 18:12:00 +03:00
Thomas Piccirello
1002b28c95 Add auto torrent management to webui context menu (addresses #6815) 2017-10-23 18:11:54 +03:00
Chocobo1
dfded7bc9d Add space between widgets in left side panel. Closes #7224. 2017-10-23 02:11:55 +03:00
sledgehammer999
36fde9ede5 Error out in configure script if the proper Qt/qmake version isn't found.
Closes #7250.
Partially reverts e64bb1de8c.
2017-10-23 02:11:54 +03:00
Chocobo1
6b4ac1b960 Initialize variables
Remove unused variable
2017-10-23 02:11:53 +03:00
Thomas Piccirello
cc141ba02f Add option to rename torrent from WebUI
Addresses #6815.
2017-10-23 02:11:52 +03:00
Vladimir Golovnev (qlassez)
8fc931a61b 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-10-23 02:11:51 +03:00
Vladimir Golovnev (qlassez)
0b6cf54508 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-10-23 02:11:50 +03:00
sledgehammer999
ff12163176 Follow project coding style. 2017-10-23 02:11:49 +03:00
sledgehammer999
6a8a0bbd6b Catch possible exceptions when parsing IPs. Closes #7249. 2017-10-23 02:11:47 +03:00
sledgehammer999
f8ebffac65 Use dpiawareness=1 on Windows. Closes #5393. 2017-10-23 02:11:46 +03:00
Vladimir Golovnev (qlassez)
e58f4c0bdf Remove legacy RSS settings after converting
Closes #7226.
2017-10-23 02:11:45 +03:00
thalieht
f450ff278d Remove indentation for category/tag filter widgets in all platforms 2017-10-23 02:11:44 +03:00
Chocobo1
566fd893f4 Prefill torrent name when creating a new torrent. Closes #7229. 2017-10-23 02:11:43 +03:00
sledgehammer999
30ab46999c Fix explicit Torrent Management Mode in Add New Torrent dialog. Closes #5602. 2017-10-23 02:11:35 +03:00
sledgehammer999
0320f9d5b5 Update Changelog. 2017-08-07 08:55:30 +03:00
sledgehammer999
ad7c9ed123 Bump to 3.4.0beta 2017-08-07 08:40:22 +03:00
sledgehammer999
25acdba344 Sync translations from Transifex and run lupdate. 2017-08-07 08:38:09 +03:00
Chocobo1
786059802b Correctly handle translation
Fixup of 07a85a1018
2017-08-07 08:27:09 +03:00
Chocobo1
0ae708114b Move "Copy hash" menu item above "Copy magnet link"
Fix wrong "Copy hash" icon used in webUI
Fixup of 145641ac41
2017-08-07 08:27:08 +03:00
vit9696
fbeaabb841 Fix file type icons not displaying on macOS 2017-08-07 08:27:07 +03:00
Tom Piccirello
98bef605a7 Set torrent location from webui context menu (addresses #6815) (#7062)
* Add option to set torrent location from webui context menu (addresses #6815)

* Update debug messages

* Use logger

* Remove redundant curly braces

* Remove message

* Use log message from transferlistwidget

* Use QDir

* Remove unused import

* Check if newLocation is an empty string
2017-08-07 08:27:05 +03:00
Tom Piccirello
37a0e48b46 Add copy options to webui context menu (addresses #6815) (#7036)
* Add copy options to webui context menu
Add Copy Hash to gui (closes #6964)

* Use switch statement

* Use camel case, switch from signal to qaction.

* Rename variable

* Change variable name
2017-08-07 08:27:04 +03:00
sledgehammer999
fea1a66aba Fix some more strings. 2017-08-07 08:27:03 +03:00
Allan Nordhøy
0ffdb51f95 display, URLs, esc ' 2017-08-07 08:27:01 +03:00
Vladimir Golovnev (qlassez)
4e596629fd Don't replace existing files when relocating torrent 2017-08-07 08:27:00 +03:00
Vladimir Golovnev (qlassez)
61281dd226 Don't remove shared temp folder 2017-08-07 08:26:59 +03:00
Vladimir Golovnev (Glassez)
61d1f2180f Don't create subfolder inside temp folder 2017-08-07 08:26:58 +03:00
vlakoff
3bcf941205 Windows installer: also detect running process when it is 64-bit
Replacing FindProcDLL with a different one that can be found here:

http://forums.winamp.com/showthread.php?t=322583#post2777719
2017-08-07 08:26:56 +03:00
Tony Gregerson
1746c9d331 Improve checkbox interface for selecting tags in the context menu. Closes #7060 2017-08-07 08:26:55 +03:00
Vladimir Golovnev (Glassez)
58c31c5353 Fix temporary subfolder isn't deleted 2017-08-07 08:26:47 +03:00
sledgehammer999
e872719ef1 Update Transifex config file. 2017-07-27 19:19:10 +03:00
sledgehammer999
dcba10f01b Sync translations from Transifex and run lupdate. 2017-07-27 19:16:30 +03:00
Mike Tzou
5bc3b0138e Merge pull request #7110 from Chocobo1/plugin_signal
Fix crash when exiting qbt with search plugin update dialog open
2017-07-21 10:40:54 +08:00
sledgehammer999
1aa3c69916 Merge pull request #7122 from vit9696/uifix
Fix main menu item location on macOS
2017-07-20 19:31:15 +03:00
Chocobo1
e7ee59c12f Specify context parameter in connect() 2017-07-20 13:26:36 +08:00
Chocobo1
24a69a9fe7 Fix crash when exiting qbt with search plugin dialog open
Avoid emitting signal in destructor
2017-07-20 13:26:36 +08:00
vit9696
7b4316ea8f Fix main menu item location on macOS 2017-07-19 23:48:42 +03:00
sledgehammer999
802cd89ec9 Bump API_VERSION and API_VERSION_MIN to 15. 2017-07-18 22:38:59 +03:00
sledgehammer999
aa1ddc0df2 Fix typo. 2017-07-18 03:32:06 +03:00
Tom Piccirello
11b44407af Add Status column to webui (addresses #6815) (#7032)
* Add Status column to webui (addresses #6815)
2017-07-17 14:26:52 +08:00
sledgehammer999
962e5a8f3d Merge pull request #7106 from Chocobo1/slots
Fix "No such slot" errors
2017-07-16 12:49:21 +03:00
Chocobo1
e73db85fad Use Qt5 connect syntax 2017-07-16 15:03:25 +08:00
Chocobo1
ec16525164 Fix "QObject::connect: No such slot" errors
Fixup of d25467d3e6
2017-07-16 15:03:25 +08:00
Chocobo1
1f9eb594e7 Trim whitespaces 2017-07-16 11:47:53 +08:00
sledgehammer999
c964f0c490 Merge pull request #6952 from vit9696/master
Various macOS UI improvements
2017-07-15 20:51:45 +03:00
vit9696
d25467d3e6 Various macOS UI improvements 2017-07-15 20:49:40 +03:00
sledgehammer999
b6ce109cdb Merge pull request #7103 from evsh/cmake
Install required plugins into bundle
2017-07-14 22:44:50 +03:00
Eugene Shalygin
c614c66535 Install required plugins into bundle
Install platform and svg plugins into bundle. Update dependencies in
Travis.
2017-07-14 17:42:02 +02:00
sledgehammer999
b3004ac28b Various fixes for Travis, macOS and cmake. 2017-07-14 18:29:55 +03:00
sledgehammer999
c4b9063767 Drop use of custom qt bottle for Travis and homebrew.
Patch for macdeployqt is included in the official homebrew formula.
2017-07-14 18:29:54 +03:00
Mike Tzou
a6bb642200 Merge pull request #7096 from Chocobo1/fix
[WebUI] Load the domain list at least once on startup
2017-07-13 17:34:35 +08:00
Eugene Shalygin
22ea0be917 Merge pull request #7099 from evsh/set-inet-outgoing
Set interface for outgoing traffic.
2017-07-13 11:13:07 +02:00
Eugene Shalygin
934133772e Set interface for outgoing traffic.
This sets interface for outgoing traffic to the same as for ingoing
(listetning) with libtorrent 1.1.x.
2017-07-12 21:28:00 +02:00
Chocobo1
07780b48c5 Load the domain list at least once on startup.
Fixup of 0532d546d7
2017-07-13 00:41:30 +08:00
Chocobo1
0532d546d7 Implement HTTP host header filtering
This filtering is required to defend against DNS rebinding attack.
2017-07-12 17:26:13 +03:00
Chocobo1
18651c8d01 Use Qt5 connect syntax 2017-07-12 17:26:11 +03:00
Chocobo1
55e038b165 Avoid modifing request headers 2017-07-12 17:26:05 +03:00
Eugene Shalygin
23616d5dd0 Merge pull request #7064 from evsh/cachesettingvalue-enum
Implement enum support in CachedSettingValue
2017-07-11 16:03:20 +02:00
Eugene Shalygin
3aff71020f Merge pull request #7087 from LordNyriox/patch-2
Create README for "qbt-theme"
2017-07-11 11:47:02 +02:00
Mike Tzou
f345d0f136 Merge pull request #7082 from Chocobo1/js
[WebUI] Fix value comparison
2017-07-11 17:23:32 +08:00
Eugene Shalygin
d397cf60fb Merge pull request #7065 from evsh/win-svg-tray-icon
Use SVG files for monochrome tray icons. Closes #6085.
2017-07-11 10:51:37 +02:00
LordNyriox
28f336f5bd Create README for "qbt-theme" 2017-07-10 08:56:48 -07:00
Chocobo1
be61e8f2fd Revert back to intended fallthrough
Partial revert a7f4ea8b18
2017-07-10 00:36:56 +08:00
Chocobo1
448d937c15 Fix value comparison. Closes #7081.
`category` could be 'undefined'.
Fixup of a7f4ea8b18.
2017-07-09 22:31:14 +08:00
sledgehammer999
3d970399d4 Update Travis to use the new macOS packages for qt and libtorrent. 2017-07-08 21:15:50 +03:00
Eugene Shalygin
228f82bcdc Merge pull request #6967 from thalieht/codingStyle
Coding style for several files
2017-07-06 18:17:02 +02:00
sledgehammer999
aaf78f09c2 Update Changelog. 2017-07-06 01:08:39 +03:00
sledgehammer999
7a478424cc Revert "Drop python2 support.". Closes #7005.
This reverts commit 7d030b4cd9.
2017-07-06 01:07:09 +03:00
Eugene Shalygin
e66dba6a2d Use SVG files for monochrome tray icons. Closes #6085. 2017-07-05 22:00:02 +02:00
sledgehammer999
247d07edb9 Update Changelog. 2017-07-05 18:17:48 +03:00
sledgehammer999
29945f5aa7 Sync changelog entries from other branches. 2017-07-05 18:17:48 +03:00
Eugene Shalygin
ff710ebd2c fixup! Implement enum support in CachedSettingValue 2017-07-05 13:41:08 +02:00
Eugene Shalygin
a22d2f0139 Implement enum support in CachedSettingValue
Enums are stored as strings, that improves configuration file
readability and maintainability. String values are obtained via
QMetaEnum, and since with Qt 5.5 QMetaEnum::fromType() includes a
static_assert, this has to be a safe method.
2017-07-05 12:41:58 +02:00
Mike Tzou
db2dec3d28 Merge pull request #7031 from Piccirello/fix-js-errors
Fix various javascript errors and follow best practices
2017-07-05 15:03:09 +08:00
Mike Tzou
726e9f0774 Merge pull request #7030 from Piccirello/failed-attempts-auth
Skip webui username/password check for active sessions
2017-07-05 15:02:24 +08:00
sledgehammer999
8e6df572a8 Merge pull request #6156 from evsh/file-icons
Use system file type specific icons in contents tab
2017-07-03 18:06:22 +03:00
Eugene Shalygin
57493c5556 Add QFileIconProvider implementation using mime database
If built-in QFileIconProvider does not seem to work, use custom
implementation which queries mime database.
2017-07-03 16:49:19 +02:00
Eugene Shalygin
30bf6e958f Use system file type specific icons in contents tab
The icon is determined via QFileIconProvider using filename extension only.
2017-07-03 16:49:14 +02:00
sledgehammer999
f2e771ddc0 Merge pull request #7054 from evsh/fix-file-widget
Do not show completion when text is not being edited
2017-07-03 15:37:46 +03:00
Eugene Shalygin
6b65f8add8 Do not show completion when text is not being edited 2017-07-03 12:57:02 +02:00
Eugene Shalygin
8318f72a9e Follow project coding style. Issue #2192. 2017-07-03 11:42:30 +02:00
Eugene Shalygin
59bbf2c6c6 Merge pull request #7053 from evsh/cmake
Fix build.
2017-07-03 11:33:06 +02:00
Eugene Shalygin
11f5738d99 Fix build. 2017-07-03 10:36:52 +02:00
Eugene Shalygin
62be2d7400 cmake: fix build 2017-07-03 10:36:42 +02:00
sledgehammer999
7f37b80801 Switch appveyor to msvc2017. 2017-07-03 02:02:45 +03:00
sledgehammer999
2d119c3e9d Leave a comment about boost DEFINE and RC_1_1. Issues #7050 #6761. 2017-07-02 20:47:01 +03:00
sledgehammer999
b97d098a85 Merge pull request #7034 from scootergrisen/patch-1
Added danish translation
2017-07-01 17:33:33 +03:00
scootergrisen
6dccab5797 Added danish translation 2017-07-01 14:57:20 +02:00
Mike Tzou
8150805312 Merge pull request #6806 from Anton-Latukha/master
Work on Systemd service unit
2017-07-01 17:02:09 +08:00
Thomas Piccirello
a7f4ea8b18 Fix javascript errors and follow best practices 2017-07-01 03:28:35 -04:00
Thomas Piccirello
cd5a55d711 Skip username/password check for active sessions (closes #6860) 2017-07-01 03:26:15 -04:00
Mike Tzou
aa947ee966 Merge pull request #7023 from Chocobo1/msvc_stack
Raise total stack size on Windows
2017-07-01 12:50:13 +08:00
thalieht
91f528bc96 Fix coding style for several files
trackerlist
autoexpandabledialog
previewselect
shutdownconfirmdlg
torrentcontentfiltermodel
torrentcontenttreeview
peerlistsortmodel.h
2017-06-30 23:44:12 +03:00
Chocobo1
53017d5cde Separate "Release mode" linker options 2017-06-30 23:53:53 +08:00
Chocobo1
741d87cb91 Raise total stack size on Windows to 8 MB. Closes #7021.
MSVC default was 1 MB.
2017-06-30 23:43:29 +08:00
Vladimir Golovnev
4d28f8f48d Fix RSS with normal links do not work (#7016)
Fix regression of RSS code redesign.
Closes #7003.
2017-06-30 11:16:40 +03:00
sledgehammer999
1a506ac582 Merge pull request #7002 from adem4ik/patch-1
Update russian.nsi
2017-06-27 20:39:11 +03:00
Andrei Stepanov
13a8c84bbd Update russian.nsi 2017-06-27 17:49:58 +04:00
Vladimir Golovnev
3181469d87 Merge pull request #6911 from tgregerson/tags
Add a Tags system to the GUI to expand torrent organization / filtering options. Closes #13.
2017-06-26 15:57:27 +03:00
Tony Gregerson
467e516801 Add a Tags (multi-label) feature to the GUI. Closes #13.
See https://github.com/qbittorrent/qBittorrent/issues/13 for details.
2017-06-25 13:53:07 -05:00
sledgehammer999
70ae05c3de Pad shorter python versions. Closes #6877. 2017-06-25 17:20:51 +03:00
sledgehammer999
7d030b4cd9 Drop python2 support. 2017-06-25 17:20:50 +03:00
sledgehammer999
a77e1c9f36 Use qt5 connect style for searchengine, pluginselectdlg and searchwidget. 2017-06-22 18:54:30 +03:00
sledgehammer999
dee0b63cc5 Aggregate installed/updated plugin names and use a single messagebox to inform the user. 2017-06-22 18:54:29 +03:00
sledgehammer999
c2a2d306da Use alternative method for plugin favicon validity. Drop unnecessary code. 2017-06-22 18:54:28 +03:00
sledgehammer999
34c29b78f9 Update the backend when a new plugin favicon is downloaded. 2017-06-15 22:32:43 +03:00
sledgehammer999
8c98c8cb3f Put copyright warning message to the search plugin dialog. 2017-06-15 22:32:42 +03:00
sledgehammer999
fc543b9db6 Display instructions when no search plugin is installed. 2017-06-15 22:32:41 +03:00
sledgehammer999
793ed7148f Remove code that expects bundled search plugins. 2017-06-15 22:32:40 +03:00
sledgehammer999
de74f9298f Remove all search plugins from repo. 2017-06-15 22:32:39 +03:00
sledgehammer999
4ab117d946 Remove possible double check of the same thing. 2017-06-15 22:32:38 +03:00
sledgehammer999
d88f0f36e0 Merge pull request #6889 from Chocobo1/lowercase
Convert all http header name constants to lowercase
2017-06-14 02:38:57 +03:00
sledgehammer999
fd05f5dec5 Merge pull request #6887 from Chocobo1/csrf_relax
[WebUI] relax CSRF defense. Closes #6882.
2017-06-14 02:37:33 +03:00
Anton-Latukha
e00c96df99 systemd service with user switch.
rm previous systemd unit service

cmake now placing new file 'qbittorrent-nox@.service.in'

systemd service now "Type=simple"
2017-06-12 22:58:10 +03:00
Eugene Shalygin
fff6640127 Merge pull request #6820 from evsh/fspathedit-visual-feedback
Add visual feedback for wrong paths in FileSystemPathEdit
2017-06-10 20:19:39 +02:00
Eugene Shalygin
574fed04fc Add visual feedback for wrong paths in FileSystemPathEdit 2017-06-10 17:09:20 +02:00
Vladimir Golovnev (Glassez)
66aeafdc63 Fix crash in ArticleListWidget
ArticleListWidget::handleArticleList() can be called inside
ArticleListWidget::handleArticleAboutToBeRemoved() and list widget
item can be removed at this point. Now we checking for it existence.
Closes #6896.
2017-06-07 18:24:43 +03:00
sledgehammer999
4a1ed9ff0e Merge pull request #6898 from Chocobo1/timeout
Fix keep alive duration was wrongly in milliseconds instead of seconds
2017-06-07 18:02:37 +03:00
Chocobo1
8419ca87f9 Fix KEEP_ALIVE_DURATION value
I intended to specify 7 seconds, which should be 7000 milliseconds
2017-06-07 21:45:47 +08:00
sledgehammer999
15fb72275a Merge pull request #6907 from thalieht/transInstaller
Add greek translation for windows installer
2017-06-07 11:53:05 +03:00
thalieht
10b10b10b8 Add greek translation for windows installer 2017-06-07 10:14:38 +03:00
sledgehammer999
d3912b5600 Merge pull request #6900 from BouRock/patch-2
Updated turkish installer
2017-06-07 02:10:15 +03:00
sledgehammer999
63566b45d0 Merge pull request #6908 from KingLucius/arabicinstaller
Installer Arabic language update
2017-06-07 02:09:55 +03:00
KingLucius
8c0577862b Installer Arabic language update 2017-06-05 18:59:31 +02:00
Mike Tzou
6f6a17341f Merge pull request #6859 from Chocobo1/cookie_select
Manage Cookies dialog improvements
2017-06-05 11:58:09 +08:00
Burak Yavuz
c13af881d9 Updated turkish installer 2017-06-04 00:48:11 +03:00
Vladimir Golovnev
c503583046 Merge pull request #6864 from glassez/rss
Improve RSS Article handling
2017-06-02 19:47:08 +03:00
Chocobo1
45c21f62f9 [WebAPI] Convert all header name constants to lowercase
This save us another transition when some day we implements HTTP/2
(which all headers are in lowercase).
2017-06-02 21:55:16 +08:00
Chocobo1
cdb8f4bc61 [WebUI] relax CSRF defense. Closes #6882.
Allow HTTP request which has neither Origin nor Referer header included
2017-06-02 21:16:06 +08:00
sledgehammer999
b5c0d90e9c Merge pull request #6842 from Chocobo1/countPieces
[TorrentCreator] Show total number of pieces. Closes #6774.
2017-06-02 08:56:10 +03:00
Chocobo1
087856d3d8 [WebUI]: Implement CSRF defense
Bump API version
2017-06-01 19:37:57 +03:00
Vladimir Golovnev (Glassez)
4021bf68f7 Use constants for article field names in RSS::Feed 2017-06-01 16:04:11 +03:00
Vladimir Golovnev (Glassez)
02f77a05dc Improve RSS article parsing
Use QLatin1String for string literals.
Use predefined constants for article hash table keys.
2017-06-01 16:04:10 +03:00
Vladimir Golovnev (Glassez)
080dd79875 Store all RSS Article data in auto downloading job 2017-06-01 16:04:04 +03:00
Vladimir Golovnev (Glassez)
475348595c Improve RSS::Article class
Store more RSS article fields.
Don't use legacy article field names in Parser code.
2017-06-01 15:57:14 +03:00
sledgehammer999
34c7465009 Merge pull request #6871 from KingLucius/googlefavicon
Fetch Favicons via google
2017-06-01 15:12:30 +03:00
sledgehammer999
ace68d4961 Merge pull request #6874 from evsh/no-old-style-cast
Disable warnings in the bundled QtSingleAppplication and fix CMake builds in Travis
2017-06-01 15:10:18 +03:00
Eugene Shalygin
72cb868224 cmake: disable warnings for bundled QtSingleApplication 2017-06-01 10:14:09 +02:00
Eugene Shalygin
c2f9f57ef4 Travis: group apt packages 2017-06-01 10:14:09 +02:00
Eugene Shalygin
8c589b8579 travis: use GCC 6 in CMake builds
GCC 4.8.4 has a bug with system includes: it does not ignore warnings
for files from system include directories. This breaks our Travis builds
due to warnings in zlib.h.
2017-06-01 10:12:27 +02:00
Eugene Shalygin
3a87af7372 travis: Use Ninja in CMake builds
make does not show compiler command line when -Werror triggers a
compilation error. Ninja does show complete command line in this case,
and the command line might be important for analysing a build error.

Additionally, final build log contains only lines for generated files
and files with compilation warnings, and is much shorter as such.
2017-06-01 10:12:27 +02:00
sledgehammer999
d3ccbe4f86 Fix format-truncation warning. 2017-06-01 01:09:25 +03:00
KingLucius
1b9882b3a3 Fetch Favicons via google 2017-05-31 22:21:25 +02:00
Mike Tzou
70d0fb741f Merge pull request #6870 from Chocobo1/ui
Fix focusing on the previously opened dialog didn't work
2017-05-31 12:26:27 +08:00
Chocobo1
4a4e3a13e6 Fix focusing on the previously opened dialog didn't work
Placing modeless dialog A on top of modeless dialog B, then open dialog B again,
the expected behavior is B on top of A.
2017-05-30 14:09:01 +08:00
Eugene Shalygin
ff80208534 Merge pull request #6868 from evsh/no-old-style-cast
Replace C-style casts with C++ ones
2017-05-29 17:47:01 +02:00
Vladimir Golovnev (Glassez)
a8bcc2ee52 Fix empty statusbar showed after app restarted 2017-05-29 18:38:17 +03:00
Eugene Shalygin
74cecb1b6c Replace C-style casts with C++ ones 2017-05-29 17:25:42 +02:00
Chocobo1
1ac7d779a7 Set expiration date for newly added cookie to +2 years from now, instead
of +99 years.

This fixes the ambiguity that users could assume the date was in the
past, but in fact it's in the future.
Ex. now date is 5/28/17, +99 years = 5/28/16, +2 years = 5/28/19
2017-05-29 14:10:47 +08:00
Chocobo1
a585b02e76 Enable alternatingRowColors for "Manage Cookie" dialog
Set editTriggers property to AllEditTriggers for easier editing.
Now a single mouse click can initiate item editing instead of double
clicking.
2017-05-29 14:10:47 +08:00
Chocobo1
d8083dd985 Allow to select & delete multiple entries in "Manage Cookies" dialog 2017-05-29 14:10:47 +08:00
Noam Gal
bd90614413 Get more RSS article data 2017-05-28 10:17:59 +03:00
Vladimir Golovnev
e3671050d1 Merge pull request #6840 from glassez/statusbar
Add show/hide statusbar option (Supersede #4029)
2017-05-27 22:22:34 +03:00
Vladimir Golovnev
146b0b91f0 Merge pull request #6845 from KingLucius/rsscrash
Fix crash when delete RSS feed
2017-05-27 16:27:08 +03:00
KingLucius
dedd31ada5 Fix crash when delete RSS feed 2017-05-27 13:52:32 +02:00
Eugene Shalygin
ae5932a573 Merge pull request #6848 from evsh/fix-piecebar-crash
Fix crash in download piece bar
2017-05-27 13:24:14 +02:00
Mike Tzou
20f6bf817e Merge pull request #6836 from Chocobo1/api
[WebAPI] Get piece information/state
2017-05-27 18:28:22 +08:00
Chocobo1
c618214061 [TorrentCreator] Show number of pieces. Closes #6774. 2017-05-27 16:37:08 +08:00
Eugene Shalygin
6d9eec0e71 Fix crash in download piece bar
When torrent size is smaller than the image width, bytes per pixel was
set to zero and code was crashing. Set it to -1 instead, as we do when
image is empty. This will disable highliting, but our algorithm does not
work in this case anyway.
2017-05-26 21:47:51 +02:00
Mike Tzou
b6080c19c2 Merge pull request #6834 from Chocobo1/cookie
[WebUI] Make cookie parsing robust
2017-05-26 23:56:35 +08:00
Vladimir Golovnev (Glassez)
c456b9a42c Refactor and improve StatusBar 2017-05-26 18:11:26 +03:00
Chocobo1
3933790bda Add new webUI API. Closes #6457.
Now getting piece information for a specific torrent is possible via:

* Returns an array of states (integers) of pieces in order. Defined as:
  "0=not downloaded", "1=downloading", "2=downloaded".
  GET /query/getPieceStates/<torrent_hash>

* Returns an array of hashes (strings) of pieces in order:
  GET /query/getPieceHashes/<torrent_hash>
2017-05-26 14:37:03 +08:00
takiz
0940a8a764 Add show/hide statusbar option 2017-05-25 16:35:21 +03:00
Chocobo1
f35a5c8085 [WebUI] Make cookie parsing robust
Previously cookie name such as "<any string>SID" will be mistakenly
accepted as "SID" session ID, this commit fixes it.

Use QString::isEmpty()
2017-05-25 18:45:07 +08:00
Chocobo1
712e6a0e5c Refactor out helper function Utils::String::unquote
Remove redundant include
2017-05-25 18:44:35 +08:00
Mike Tzou
1f9ccb44a3 Merge pull request #5196 from Chocobo1/creator_pr
Revamp Torrent creator
2017-05-24 17:40:10 +08:00
Mike Tzou
92decf83b8 Merge pull request #6330 from Chocobo1/rename
Fix renaming files is not case sensitive on Windows platform
2017-05-24 13:12:30 +08:00
Chocobo1
7eed1a108e Rename variables
Add myself to authors list
2017-05-24 11:54:42 +08:00
Chocobo1
7e87eeb2d4 Use QThread::requestInterruption() instead of m_abort flag 2017-05-24 11:54:42 +08:00
Chocobo1
60524348f0 Enlarge combobox to fix its contents 2017-05-24 11:54:42 +08:00
Chocobo1
9f2fe2b678 Move CachedSettingValue instances to header file 2017-05-24 11:54:42 +08:00
Chocobo1
a4141fd151 Simplify m_creatorThread initialization 2017-05-24 11:54:42 +08:00
Chocobo1
7de1aba092 Switch to modeless dialog
Don't close dialog after creating torrent
Show progress bar all the time
2017-05-24 11:54:42 +08:00
Chocobo1
d277696acc Add global.h file 2017-05-24 11:54:42 +08:00
Chocobo1
2e8c01d88c Use CachedSettingValue 2017-05-24 11:54:42 +08:00
Chocobo1
908481885c Enable drag n drop to create torrent on mainwindow 2017-05-24 11:54:42 +08:00
Chocobo1
386b93bb0f Fix the file size sum igonred files starting with a dot: ".name"
Make the computation iterative instead of recurisve to avoid stack overflow.

Enlarge read size to enable better performance.
Remove `QFile::close()` calls, QFile automatically close them in dtor.
2017-05-24 11:54:42 +08:00
Chocobo1
8efcc335de Switch to use SettingsStorage class 2017-05-24 11:54:42 +08:00
Chocobo1
009798f690 Follow header include rule 2017-05-24 11:54:42 +08:00
Chocobo1
6bab30a178 Revamp Torrent creator 2017-05-24 11:54:42 +08:00
Mike Tzou
ced52e3269 Merge pull request #6827 from naikel/webui_filter_fix
Fix slow filtering in WebUI
2017-05-24 00:02:22 +08:00
Naikel Aparicio
03b2decab6 Fix slow filtering in WebUI. Fixup 7aadf644e0. 2017-05-22 09:19:03 -04:00
Eugene Shalygin
47960b2592 Merge pull request #6818 from naikel/webui_fix
Cosmetic fixes for WebUI upload and download windows
2017-05-22 13:27:01 +02:00
Eugene Shalygin
b82edc561f Merge pull request #6821 from evsh/do-not-hardcode-rss-colors
Do not use hardcoded colors in RSS feed view
2017-05-22 10:58:02 +02:00
Eugene Shalygin
e99e88bbe7 Merge pull request #6811 from KingLucius/ETplugin
[Search engine] Remove ExtraTorrent plugin
2017-05-21 14:26:54 +02:00
Eugene Shalygin
72da2e7252 Do not use hardcoded colors in RSS feed view 2017-05-21 13:02:34 +02:00
Mike Tzou
494601ea75 Merge pull request #6814 from Chocobo1/defects
[QuickFix] Fix coverity issues
2017-05-21 18:55:04 +08:00
Naikel Aparicio
9fc6de77ca Cosmetic fixes for WebUI upload and download windows 2017-05-20 16:01:24 -04:00
Eugene Shalygin
659dd3285b Merge pull request #6810 from evsh/cmake
cmake: fix FindSystemd.cmake
2017-05-20 11:08:58 +02:00
Chocobo1
d8c0a40b1f Add explicit error handling when filesCount() returns negative value
Fix coverity CID 162538
2017-05-20 14:01:58 +08:00
Chocobo1
562080de69 Initialize variable
Fixes coverity CID 161628
2017-05-20 11:38:39 +08:00
Mike Tzou
c3b1c57d67 Merge pull request #6807 from Chocobo1/icon
[Quick Fix] Set icon height in html instead of js
2017-05-20 11:18:02 +08:00
Mike Tzou
7f089db942 Merge pull request #6802 from Chocobo1/size
[Quick Fix] Cleanup options dialog
2017-05-20 11:17:44 +08:00
KingLucius
ebc50a7237 remove ExtraTorrent plugin 2017-05-19 16:36:56 +02:00
Eugene Shalygin
15ef4fcc56 cmake: fix FindSystemd.cmake
Apparently, recent version of CMake made PkgConfig stuff scooped and we
need to call find_package(PkgConfig) in FindSystemd.cmake too, the call
in FindLibtorrentRasterbar.cmake, that is always used first, is not
enough now.
2017-05-19 10:44:36 +02:00
Mike Tzou
ce36a7ca62 Merge pull request #6498 from thalieht/trackerList
Trackerlist: Add toggle columns menu
2017-05-19 15:06:42 +08:00
Chocobo1
5529a7713c Set icon height in html instead of js
Fixup of d302e4fb92
2017-05-19 00:06:10 +08:00
Mike Tzou
b8d2fef653 Merge pull request #6805 from Chocobo1/icon
Fix icon too large. Closes #6804.
2017-05-18 23:54:40 +08:00
Eugene Shalygin
309ae0b4e9 Merge pull request #6803 from evsh/fix-build
Fix build error.
2017-05-18 17:35:53 +02:00
Chocobo1
d302e4fb92 [WebUI] Fix connection status icon too large. Closes #6804. 2017-05-18 23:07:40 +08:00
Eugene Shalygin
4b48f7b8d9 Fix build error. 2017-05-18 16:41:49 +02:00
Chocobo1
2702410572 Remove useless horizontal layout widget 2017-05-18 19:48:36 +08:00
Chocobo1
e24b565857 Remove unused row in "Share Ratio Limiting" group box 2017-05-18 18:40:40 +08:00
Chocobo1
fad3af27ca Partialy revert 7320ac1bc0
Reverts back options dialog size
Also removes unused tabstops
2017-05-18 18:12:32 +08:00
Mike Tzou
7302042daf Merge pull request #6799 from Chocobo1/appveyor
Tweak AppveyorCI
2017-05-18 18:02:54 +08:00
Vladimir Golovnev
927ecc7075 Merge pull request #4266 from naikel/seed_until
Share torrents until seeding time reaches an specific amount of minutes
2017-05-18 07:12:24 +03:00
Chocobo1
4ddb340a94 [AppveyorCI]: Ignore coverity_scan branch 2017-05-18 10:19:17 +08:00
Chocobo1
a2ab6fa8ab [AppveyorCI]: set clone depth to 50
This depth is same as TravisCI default
The time spent in clone was 1min ~ 3mins before
2017-05-18 10:17:38 +08:00
Vladimir Golovnev
c4ccf6b774 Merge pull request #6714 from fbriere/issue/6708-sort-categories
Fix instances where categories where still sorted case-sensitively. Closes #6708.
2017-05-17 21:47:20 +03:00
Naikel Aparicio
9ba00d7035 Implemented share limit by seeding time 2017-05-17 14:33:17 -04:00
Chocobo1
08a6c75227 Refactors
Rename variables
Refactor to return early instead of introducing a scope
Revise dialog title & messages
Refactor code logic
2017-05-17 21:28:46 +08:00
Eugene Shalygin
f4a6242711 Merge pull request #6795 from evsh/fix-file-widget
Use new signal/slot syntax in options dialog
2017-05-17 13:34:54 +02:00
Mike Tzou
0838f64311 Merge pull request #6782 from Piccirello/strict-csp
Use less permissive Content Security Policy
2017-05-17 18:47:51 +08:00
Eugene Shalygin
8ca730f0d8 Use new signal/slot syntax in options dialog 2017-05-17 12:38:27 +02:00
Mike Tzou
d80abeb10f Merge pull request #6751 from thalieht/webuiUnitPrecision
WebUI: Increase the number of digits after the decimal point
2017-05-17 12:48:03 +08:00
Eugene Shalygin
2e4c3b1901 Merge pull request #6794 from evsh/cmake
Fix cmake build.
2017-05-16 20:25:11 +02:00
Eugene Shalygin
71ce193f5a Fix cmake build broken by #6724.
PR #6724 deletes two source files, let's delete them from
CMakeLists.txt.
2017-05-16 18:55:52 +02:00
Eugene Shalygin
32551b8e6c Merge pull request #6793 from evsh/cmake
cmake: include searchengine resources
2017-05-16 18:48:12 +02:00
Mike Tzou
0f7eabfa4b Merge pull request #6781 from Piccirello/torrent-download-api-response
Include response status in upload torrent API
2017-05-17 00:39:55 +08:00
Eugene Shalygin
4d53d8d1ba Merge pull request #6785 from KingLucius/freespaceondisk
Get disk free space size via QStorageInfo instead of native API. Closes #6780
2017-05-16 18:19:16 +02:00
Eugene Shalygin
a18b3bea03 cmake: include searchengine resources 2017-05-16 18:06:56 +02:00
Vladimir Golovnev
44f8a48d73 Merge pull request #6724 from glassez/libt11
Don't use features, deprecated in libtorrent-1.1
2017-05-16 18:54:00 +03:00
Mike Tzou
3cc1b11025 Merge pull request #6783 from Chocobo1/fix
Tweak CachedSettingValue
2017-05-16 11:00:14 +08:00
KingLucius
aea887a30f cross-platform free space on disk 2017-05-15 23:05:23 +02:00
Thomas Piccirello
7cf1d844b0 Return status indicating if at least one torrent was successfully added 2017-05-15 14:30:44 -04:00
Eugene Shalygin
954f05b4a9 Merge pull request #5375 from evsh/filename-edit-widget
Add a widget for editing file names
2017-05-15 09:33:28 +02:00
Chocobo1
3fb8ff281f Tweak CachedSettingValue
* Add another constructor to save a call to proxyFunc when its not needed
  note that this call is a virtual function call
* Pass in proxyFunc by const reference
* Move get methods together
2017-05-15 12:31:26 +08:00
Thomas Piccirello
1b5852ad0b Use less permissive Content Security Policy
Adjust content order
2017-05-14 20:26:15 -04:00
Chocobo1
b9403774e6 Use QBT_EXT in all places
Cleanup headers on the way
2017-05-13 16:20:32 +08:00
Chocobo1
b18bf48014 Improve error message reported to user
Should not contain "file" or "folder", because it's not clear which type is selected.
2017-05-13 16:16:59 +08:00
Chocobo1
51e3e5438b Code formatting
Refactor
2017-05-13 16:16:59 +08:00
Chocobo1
0939875ca8 Fix renaming files is not case sensitive on Windows platform. Closes #5128. 2017-05-13 16:16:59 +08:00
Mike Tzou
a2d5d48aff Merge pull request #6730 from Chocobo1/icontray
Fix double click on system tray icon causing program to open and minimize immediately
2017-05-13 02:32:37 +08:00
Eugene Shalygin
92a7479e2d Merge pull request #4994 from evsh/availability-column
Add availability column to torrent contents
2017-05-12 17:47:51 +02:00
Eugene Shalygin
5c10a24923 Add availability column to torrent properties window 2017-05-12 17:15:00 +02:00
Eugene Shalygin
bc18bf1ab4 Add TorrentHandle::availableFileFractions() function
The function returns list of availability values for all torrent files.
The availability here is different to that one in the progress bar. Here
it shows what part of the file's pieces is available (i.e. we do not count
availability > 1 for a piece).
2017-05-12 17:14:59 +02:00
Eugene Shalygin
d5af8722a6 Add availability column to torrent content model 2017-05-12 17:14:59 +02:00
Eugene Shalygin
114c9a8421 Follow project coding style. Issue #2192. 2017-05-12 17:06:18 +02:00
thalieht
73c37cc460 Trackerlist: add "m_" to private members and make them camelCase 2017-05-11 19:15:00 +03:00
thalieht
14f50f1038 Trackerlist: Allow to toggle columns 2017-05-11 19:15:00 +03:00
thalieht
d9555a9e9d Trackerlist: Set text alignment of columns with numbers to the right 2017-05-11 16:53:31 +03:00
thalieht
5d33399000 TrackerList: Remove unnecessary deletes from the destructor 2017-05-11 16:53:31 +03:00
thalieht
33979cb41c TransferListWidget: Remove unnecessary deletes from the destructor 2017-05-11 16:53:31 +03:00
thalieht
e82a1522c8 Trackerlist: Change 0 to nullptr 2017-05-11 16:53:31 +03:00
thalieht
e00be240b0 PropertiesWidget: Change 0 to nullptr 2017-05-11 16:53:31 +03:00
thalieht
b360c5453b PropertiesWidget: Some coding style 2017-05-11 16:53:31 +03:00
thalieht
ce77ebdfe1 Coding style of whole trackerlist.h and a little in trackerlist.cpp 2017-05-11 16:53:31 +03:00
Vladimir Golovnev
f3658daf72 Merge pull request #6699 from fbriere/issue/6265-top-dirname-while-adding
Use actual top-level dirname to look for incomplete files in new torrent
2017-05-11 15:23:16 +03:00
Eugene Shalygin
a997b7d078 Merge pull request #6770 from evsh/fix-6768
Do not attempt to show detailed tooltips without torrent metadata. Closes #6768.
2017-05-11 09:51:58 +02:00
Eugene Shalygin
f211b238c4 Do not attempt to show detailed tooltips without torrent metadata. Closes #6768.
Computations for detailed tooltips are not protected against unavailable
metadata, that leads to asserts or crashes. But since those tooltips are
useless in this case, do not show them at all. Inform user that detailed
tooltip becomes available once torrent metadata are fetched.
2017-05-11 01:10:23 +02:00
Vladimir Golovnev
692e4a986a Merge pull request #6757 from glassez/rss
Forward add/remove child RSS Item event as set of add/remove Articles events
2017-05-10 16:58:49 +03:00
Mike Tzou
c44efbd965 Merge pull request #6766 from Chocobo1/fix
Cleanups
2017-05-10 21:03:54 +08:00
Vladimir Golovnev (Glassez)
fbda237cc4 Fix local IP addresses 2017-05-10 13:54:29 +03:00
Vladimir Golovnev (Glassez)
26f645bd6c Don't create redundant "buf" variable 2017-05-10 13:54:29 +03:00
Vladimir Golovnev (Glassez)
a4d2df575e Don't use deprecated torrent_handle::set_tracker_login 2017-05-10 13:54:29 +03:00
Vladimir Golovnev (Glassez)
1d3dbcb9d2 Don't use deprecated fields of torrent-related alerts 2017-05-10 13:54:29 +03:00
Vladimir Golovnev (Glassez)
5dc54aa224 Don't use deprecated torrent_status fields 2017-05-10 13:54:28 +03:00
Vladimir Golovnev (Glassez)
72a54910e9 Don't use deprecated peer_info fields 2017-05-10 13:54:28 +03:00
Vladimir Golovnev (Glassez)
a2f82be6c2 Don't use deprecated url_seed_alert fields 2017-05-10 13:54:28 +03:00
Vladimir Golovnev (Glassez)
13b04f8d2d Don't use deprecated settings_pack members 2017-05-10 13:54:27 +03:00
Vladimir Golovnev (Glassez)
bdca55f15c Use new Session Statistics feature 2017-05-10 13:24:51 +03:00
Vladimir Golovnev (Glassez)
8a6d8f3953 Use cached SessionStatus and CacheStatus 2017-05-10 13:24:37 +03:00
Vladimir Golovnev (Glassez)
cb678a254d Fix statsdialog.* coding style 2017-05-10 13:23:51 +03:00
Vladimir Golovnev (Glassez)
78d6b14fe8 Don't use deprecated torrent_info fields 2017-05-10 12:43:49 +03:00
Chocobo1
446b3307f9 Make method const 2017-05-09 14:21:55 +08:00
Chocobo1
b4baeaaf23 Pass arguemnts by const reference 2017-05-09 14:15:45 +08:00
Chocobo1
42c17ea5ce Fix argument name differ in definition & declaration 2017-05-09 14:12:36 +08:00
Chocobo1
3739bcc270 Initialize struct member 2017-05-09 13:51:12 +08:00
Chocobo1
b9e8cab1e5 Revise class memebers construction & destruction
Use nullptr
Delete m_contentDelegate on close
Remove redundant deletion of m_contentModel since parent is setup
correctly
2017-05-09 13:45:30 +08:00
Chocobo1
4d4097d819 Move editHotkey out of class definition
Also since parent is setup correctly, remove the redundant delete
2017-05-09 13:03:14 +08:00
sledgehammer999
94909d9b92 Merge pull request #6760 from evsh/fix-6759
Fix crash when entering daemon mode. Closes #6759.
2017-05-08 19:15:46 +03:00
Eugene Shalygin
5b59b18606 Fix crash when entering daemon mode. Closes #6759.
We stored reference to parameters object in main(), but that object gets
deleted when we reset Application object upon entering daemon mode.
Change reference to copy to fix that.
2017-05-08 18:01:38 +02:00
Eugene Shalygin
7320ac1bc0 Use file path edit widgets in options and add torrent dialog 2017-05-08 10:08:29 +02:00
Eugene Shalygin
30081e0356 Add widget for editing filesystem paths 2017-05-08 10:08:29 +02:00
sledgehammer999
d61fc7e820 Merge pull request #3858 from Chocobo1/screen_center
Fix dialogs didn't position on the correct screen
2017-05-07 22:17:55 +03:00
Vladimir Golovnev (Glassez)
a36848b5c0 Forward add/remove child RSS Item as add/remove Articles 2017-05-07 18:49:21 +03:00
Vladimir Golovnev (Glassez)
f8debdea67 Fix Item::unreadCountChanged() emit in wrong place 2017-05-07 18:40:42 +03:00
sledgehammer999
a4d5ac4b17 Merge pull request #4739 from sledgehammer999/web_translations
Don't duplicate translatable strings for the WebUI. Use the ones from…
2017-05-07 16:24:53 +03:00
sledgehammer999
e38829218e Merge pull request #6720 from sledgehammer999/implicit_value_for_tristate_options
Don't enforce an explicit value for TriState cmd options.
2017-05-07 16:23:01 +03:00
sledgehammer999
9f98f9f7ac Rename cmd options source files. 2017-05-07 16:20:18 +03:00
sledgehammer999
1a099fa742 Don't enforce an explicit value for TriState cmd options.
Most code from Brian Kendall <guygizmo@gmail.com> (@briankendall)
2017-05-07 14:47:37 +03:00
thalieht
e075274177 webUI: increase the number of digits after the decimal point 2017-05-05 20:09:04 +03:00
Vladimir Golovnev
706097ddda Merge pull request #6744 from glassez/fix-rss
Fix crash when delete last RSS feed. Closes #6742
2017-05-05 19:09:06 +03:00
sledgehammer999
b1f1823c65 [WebUI]Use the same layout in the Speed tab in preferences as the GUI. 2017-05-05 16:41:41 +03:00
sledgehammer999
0addeafc6b Add missing unit sizes in misc.js 2017-05-05 16:41:40 +03:00
sledgehammer999
44c5a9beff [WebUI]Use translatable strings in Statistics dialog. 2017-05-05 16:41:39 +03:00
sledgehammer999
e177799ada [WebUI]Make the context obligatory for translatable strings. Also delete duplicate strings from extra translations. 2017-05-05 03:46:33 +03:00
Vladimir Golovnev (Glassez)
76e3383650 Don't remove read articles from Unread list
Revert back old behavior (incorrect but, perhaps, more user-friendly),
when Unread list populates with "unread" articles only but then it can
contain "read" articles if they become "read" when Unread list is shown.
2017-05-04 20:37:05 +03:00
Frédéric Brière
c37d90bf6d Properly sort categories case-insensitively in filter widget. Closes #6708. 2017-05-04 10:56:45 -04:00
Frédéric Brière
722c928ab5 Turn isSpecialItem() into a CategoryFilterModel static method. 2017-05-04 10:41:36 -04:00
Vladimir Golovnev (Glassez)
2d3914c077 Prevent incorrect popullating of Unread RSS list 2017-05-04 12:39:59 +03:00
Vladimir Golovnev (Glassez)
4e37688105 Properly clear ArticleListWidget 2017-05-04 12:30:02 +03:00
Frédéric Brière
f53a403a7b Set "category" column as case-insensitive in TransferListSortModel.
(From what I can tell, it would appear that the sorting was already
case-insensitive by default.  This makes it explicit.)
2017-05-03 14:07:55 -04:00
Frédéric Brière
ec08cb5445 Leave categories order intact in "Add new torrent" dialog.
The categories are already properly sorted in AddNewTorrentDialog; this
second case-sensitive sort undid all that.

This partially addresses #6708.
2017-05-03 14:07:55 -04:00
Eugene Shalygin
fc0c28d376 Merge pull request #6737 from evsh/fix-release-build
Fix release CMake build
2017-05-03 03:14:50 +02:00
Eugene Shalygin
6540dfa528 Fix release CMake build
write() is declared with __attribute__ ((__warn_unused_result__)) and as
such we shall check its return value. Took opportunity and adjusted
error reporting a bit: if writing to stderr fails, try to write to
stdout.
2017-05-03 02:52:10 +02:00
Mike Tzou
69cb67e6e5 Merge pull request #6735 from Chocobo1/ignore
.gitignore: ignore moc_*.h
2017-05-03 01:11:58 +08:00
Chocobo1
cf462ae448 .gitignore: ignore moc_*.h 2017-05-03 00:31:48 +08:00
Chocobo1
da581dee41 Fix double click on system tray icon causing program to open and
minimize immediately

Closes #5826.
Simply ignore DoubleClick event, as it always come after Trigger
event
2017-05-03 00:14:51 +08:00
Mike Tzou
1808f0e614 Merge pull request #6734 from Chocobo1/plugin_connect
Fix signaling to checkForUpdatesFinished() failed
2017-05-02 21:56:32 +08:00
Chocobo1
3e964212ac Fix signaling to checkForUpdatesFinished() failed.
Fixup of 14e168039c.
2017-05-02 20:33:21 +08:00
Vladimir Golovnev
c1e3e2a745 Revert "Guard the flag used for deferred session configure." (#6733)
This reverts commit 5cbc7b16c0.
2017-05-02 14:39:47 +03:00
Mike Tzou
7bc81ead8c Merge pull request #6727 from Chocobo1/gzip
Fix stack overflow in Utils::Gzip::decompress
2017-05-02 15:38:42 +08:00
Chocobo1
7d1ac06ce2 Fix stack overflow in Utils::Gzip::decompress
Anyway, use std::vector to allocate memory on the heap (in compress() too)
2017-05-02 12:47:07 +08:00
Chocobo1
1fbf121506 Fix CookiesDialog position 2017-05-01 16:02:09 +08:00
Chocobo1
f36e891010 Fix trackersadditiondlg position 2017-05-01 15:32:08 +08:00
Chocobo1
bd2f69a9d6 Fix peeradditiondlg position 2017-05-01 15:32:08 +08:00
Chocobo1
6f6fe626a1 Fix shutdownconfirm position 2017-05-01 15:32:08 +08:00
Chocobo1
fb9ebce9c6 Fix pluginselectdlg position
Fix peerlistwidget position
Fix mainwindow position
2017-05-01 15:32:08 +08:00
Chocobo1
2258e4d5ed Fix automatedrssdownloader position 2017-05-01 15:32:08 +08:00
Chocobo1
73047e3c84 Cleanup downloadfromurldlg, statsdialog 2017-05-01 15:32:08 +08:00
Chocobo1
933f9f1451 Fix optionsdlg position 2017-05-01 15:31:58 +08:00
Chocobo1
46abe42a54 Fix deletionconfirmationdlg position
Fix autoexpandabledialog position
Fix previewselect position
2017-05-01 15:30:41 +08:00
Chocobo1
a902eb6b2b Fix speedlimitdlg position 2017-05-01 15:30:38 +08:00
Chocobo1
de54fa2c30 Fix addnewtorrentdialog position
Fix messageBox position
2017-05-01 14:48:10 +08:00
Chocobo1
7eaa5987c8 Fix dialogs didn't position on the correct screen which qBittorrent window is on. Closes #1690, #2474, #3538. 2017-05-01 14:33:25 +08:00
sledgehammer999
67f44e03a2 Merge pull request #6689 from briankendall/fix_macos_addnewtorrentdialog_bug
Fix for macOS-specific bug in AddNewTorrentDialog
2017-04-30 22:29:51 +03:00
sledgehammer999
4ea9a2f07e Merge pull request #5532 from briankendall/torrent_command_line_arguments
Command line arguments for specifying options when adding torrents
2017-04-30 22:25:21 +03:00
sledgehammer999
90c6bb6054 Merge pull request #6524 from Chocobo1/dpi
Opt-in DPI scaling
2017-04-30 21:25:57 +03:00
Brian Kendall
eba41978b0 Added command line arguments for specifying options when adding torrents
Arguments include adding torrents as paused/started, skiping hash check, setting category, downloading in sequential order, downloading first and last pieces first, and skipping the 'add new torrent' dialog. Added TriStateBoolOption class for specifying options that don't have a default value when unused (e.g. add-paused). Also improved command line usage text to include more information, have better organization, and not exceed 80 columns in width. Also also added firstLastPiecePriority field to BitTorrent::AddTorrentData, and modified TorrentHandle so that if first/last piece priority should be on, it will be toggled on after the torrent's metadata has loaded.
2017-04-30 14:22:30 -04:00
Chocobo1
6bcb07649e Setup DPI at startup 2017-05-01 02:21:44 +08:00
Chocobo1
893ce32f1d Remove curly braces 2017-05-01 00:45:27 +08:00
Chocobo1
a1cad86bbf Remove workaround
Upstream confirmed bug fixed in Qt 5.2
2017-05-01 00:45:09 +08:00
Chocobo1
b3c73b7868 Refactor 2017-05-01 00:37:47 +08:00
sledgehammer999
0a5bb6685f Merge pull request #6654 from Chocobo1/persistence
Webui server fixes
2017-04-30 16:34:23 +03:00
Frédéric Brière
e8f6149a6d findIncompleteFiles(): Replace dir listing with individual checks. Closes #6265.
Looking for incomplete files in a new torrent by using a pre-generated
directory listing presents several disadvantages:

  - It requires us to extract the top-level directory name (in case it
    was renamed).
  - It requires us to know whether the top-level directory was stripped.
  - In the latter case, it may result in recursively traversing the
    entire contents of all downloaded torrents.

Calling QFile::exists() individually for each file solves all these
issues.

In so doing, the handling of single-file and multiple-file torrents are
rendered pretty much identical, and can therefore be merged.
2017-04-30 09:26:58 -04:00
Mike Tzou
e91a5f6a5a Merge pull request #6701 from Chocobo1/webui
WebUI: Fix checkbox hidden
2017-04-30 13:35:02 +08:00
Chocobo1
5e50d8ed91 WebUI: Fix checkbox hidden. Closes #6642. 2017-04-29 23:12:04 +08:00
Eugene Shalygin
172991e068 Merge pull request #6703 from evsh/cmake
cmake: set warning and error compiler options
2017-04-29 14:11:09 +02:00
Eugene Shalygin
c4e16aa820 cmake: set warning and error options
The set is far from perfect, but guards against common errors with GCC.
2017-04-29 13:30:28 +02:00
Vladimir Golovnev
93df0ef1d1 Move AddTorrentParams to its own header (#6712)
* Move AddTorrentParams to its own header

* fixup! Move AddTorrentParams to its own header
2017-04-29 11:49:40 +03:00
Vladimir Golovnev
70f1153413 Merge pull request #6694 from glassez/remove-temp
Remove torrent temp folder when it becomes unneeded
2017-04-29 11:44:15 +03:00
Vladimir Golovnev (Glassez)
160b7ff2d3 Remove torrent temp folder when torrent is deleted 2017-04-28 16:52:16 +03:00
Vladimir Golovnev (Glassez)
c56b4a25bc Remove torrent temp folder if it becomes unneeded 2017-04-28 12:30:48 +03:00
Eugene Shalygin
818dcce462 Fix formatting in CONTRIBUTING.md (#6704)
Fix formatting in CONTRIBUTING.md
2017-04-27 18:20:27 +02:00
Eugene Shalygin
98415917c6 cmake: use environment variable LIB on Windows
Append its value to CMAKE_LIBRARY_PATH to simplify life of on Windows.
2017-04-27 14:34:30 +02:00
Eugene Shalygin
71cf25ae99 Replace variable length array with std::vector in print_stacktrace()
The function does memory allocation from heap anyway, so should not be
a problem to use STL container.
2017-04-27 14:32:02 +02:00
Vladimir Golovnev
c50cee8feb Merge pull request #6686 from glassez/fix-nullptr
Fix RSS GUI bugs
2017-04-27 12:55:44 +03:00
Vladimir Golovnev (Glassez)
a78a1a9c64 Add invariant checking in ArticleListWidget 2017-04-27 12:31:18 +03:00
sledgehammer999
74fb070e78 Merge pull request #6693 from glassez/drop-qt4
Drop rest of qt4 support code
2017-04-26 15:12:55 +03:00
Vladimir Golovnev (Glassez)
335443e6a0 Drop QThread::msleep wrapper 2017-04-26 10:44:47 +03:00
Vladimir Golovnev (Glassez)
d5d946dd66 Drop Qt4 related settings from QMake project 2017-04-26 08:53:47 +03:00
sledgehammer999
b71ee80ecd Optimize P2P filter parsing too. 2017-04-26 02:33:57 +03:00
sledgehammer999
fd7e69e1e0 Add helper function for logging messages. 2017-04-26 02:33:56 +03:00
sledgehammer999
51cf6bd2a5 Optimize DAT filter parsing. Parse in memory and in place instead of copying strings around. 2017-04-26 02:33:55 +03:00
Brian Kendall
59e6a4298d Fixed macOS-specific bug in AddNewTorrentDialog
Because AddNewTorrentDialog is a sheet in macOS, repositioning it causes bad things to happen, particularly if the main dialog is on a secondary monitor.
2017-04-25 13:34:06 -04:00
Vladimir Golovnev (Glassez)
6764de8ef0 Fix ArticleListWidget adds new articles in wrong order 2017-04-25 13:15:11 +03:00
Vladimir Golovnev (Glassez)
71814885aa Fix ArticleListWidget doesn't clear properly 2017-04-25 13:14:55 +03:00
Vladimir Golovnev (Glassez)
abfcfb5af0 Fix possible null pointer dereference 2017-04-25 13:01:34 +03:00
sledgehammer999
8f6e04d779 Using new IP parser provided by @evsh. It is faster and uses less memory.
Class `DATIPv4Parser` was written by Eugene Shalygin <eugene.shalygin@gmail.com> (evsh on github).
2017-04-25 04:43:30 +03:00
sledgehammer999
f53dab8ad4 Output log messages for ip filter parsing errors. 2017-04-25 04:43:29 +03:00
sledgehammer999
05ab9fc355 Optimize ip filter parsing. 2017-04-25 04:43:22 +03:00
Mike Tzou
df1a8bfdea Merge pull request #6685 from Chocobo1/coverity
TravisCI: only allow coverity build job when `build_system=qmake`
2017-04-25 01:50:35 +08:00
Chocobo1
46ac5e0ee2 TravisCI: only allow coverity build job when build_system=qmake 2017-04-25 01:03:08 +08:00
Vladimir Golovnev (Glassez)
3a3125ea2b Fix remove oldest article 2017-04-24 16:50:28 +03:00
Vladimir Golovnev
e433cbab97 Merge pull request #6677 from glassez/fix-create-subfolder
Allow strip root folder using default settings
2017-04-24 12:21:53 +03:00
Vladimir Golovnev (Glassez)
c799923d7d Allow strip root folder using default settings 2017-04-24 12:03:35 +03:00
Vladimir Golovnev (Glassez)
711be50e9c Fix AddTorrentData field types 2017-04-24 11:59:16 +03:00
Mike Tzou
4c6059c352 Merge pull request #6673 from Chocobo1/manifest
Disable Qt embedding manifest automatically
2017-04-24 12:03:32 +08:00
sledgehammer999
032eb12585 Remove whitespace. 2017-04-24 04:25:49 +03:00
sledgehammer999
3cdc6fb978 Fix compiler warnings. 2017-04-24 04:24:32 +03:00
Mike Tzou
b894d886ec Merge pull request #6669 from wevsty/master
update chinese windows installer translation
2017-04-23 23:52:37 +08:00
Chocobo1
e1adfde66e Disable Qt embedding manifest automatically
Embedding manifest fails for me after upgrading to VS2017, this fixes it.
2017-04-23 21:31:31 +08:00
Eugene Shalygin
c865ba2803 Merge pull request #6671 from zywo/cmake-build
Fix CMake build
2017-04-23 14:16:39 +02:00
Vladimir Golovnev (qlassez)
f259bde275 Fix "Create subfolder" in AddNewTorrentDialog 2017-04-23 15:05:03 +03:00
zywo
51104a9fb4 Fix CMake build 2017-04-23 09:29:27 +01:00
Vladimir Golovnev
a886dbf8ab Merge pull request #6627 from glassez/rss2
Redesign RSS subsystem
2017-04-23 09:17:39 +03:00
Vladimir Golovnev (Glassez)
989a70fe60 Redesign RSS subsystem 2017-04-23 09:03:46 +03:00
wevsty
98cec6a495 update chinese windows installer translation 2017-04-23 05:11:18 +08:00
Eugene Shalygin
090a2edc1a Merge pull request #6651 from evsh/fix-config-dir-on-windows
Migrate from platform-specific code in Private::DefaultProfile to QStandardPaths
2017-04-22 13:09:17 +02:00
Eugene Shalygin
41628dd5f6 Merge pull request #6662 from ngosang/se_plugins
[Search engine] Update, remove and add plugins
2017-04-22 11:32:30 +02:00
ngosang
fa64f33c2a [Search engine] Add btdb plugin 2017-04-21 23:42:07 +02:00
Eugene Shalygin
ead1f6e1f6 Merge pull request #5264 from evsh/plugin-version-class
Use explicit class for search plugin versions
2017-04-21 14:06:50 +02:00
Eugene Shalygin
14e168039c Use explicit class for search plugin versions 2017-04-21 09:47:08 +02:00
ngosang
5d0cfc7475 [Search engine] Update legittorrents plugin 2017-04-20 21:17:24 +02:00
ngosang
339b35c369 [Search engine] Remove mininova plugin 2017-04-20 21:00:59 +02:00
ngosang
91e7e94820 [Search engine] Update demonoid plugin 2017-04-20 20:56:23 +02:00
Eugene Shalygin
8218ec1bd1 Merge pull request #6660 from evsh/cmake
cmake: use import libraries for Boost and OpenSSL in Libtorrent find module
2017-04-20 16:31:24 +02:00
Chocobo1
cfb07b3d5b TravisCI: Install latest zlib & cleanups
Remove trailing semicolon, seems that isn't needed now
Switch builds to container-based infrastructure
Move similar code blocks together
2017-04-20 22:26:35 +08:00
Chocobo1
0b5de9ff54 Temporary revert to the old behavior. 2017-04-20 22:26:35 +08:00
Chocobo1
a35c6426ab Specify lib requirement: zlib >= 1.2.5.2 2017-04-20 22:26:35 +08:00
Chocobo1
617f19e599 Revise Utils::Gzip::decompress
Rename from uncompress to decompress
Change signature
Use proper casting
Use larger buffer for the output of inflate()
Reserve 1 MBytes for output buffer
Change function signature
2017-04-20 22:26:35 +08:00
Chocobo1
302c8ba850 Revise Utils::Gzip::compress code
Change signature
Add ZLIB_CONST define to make  z_stream.next_in const
Cast to zlib defined type Bytef*
Set memLevel to 9 in deflateInit2() for maximum performance
Revise compression loop
On returning false, free memory correctly by calling deflateEnd()
Reserve space by the estimation of deflateBound()
2017-04-20 22:24:50 +08:00
Chocobo1
94b496354b Rewrite rules for gzipping http response content 2017-04-20 22:22:17 +08:00
Chocobo1
4600e679d1 Implement robust acceptsGzipEncoding()
Adhere more to http/1.1 standard
2017-04-20 22:22:17 +08:00
Chocobo1
129172453b Fix "Content-Encoding" header is always created.
Was side effect of operator[]
2017-04-20 22:22:17 +08:00
Chocobo1
7d36c81949 Cleanup Http::responseGenerator()
Add CRLF definition
Rewrite loop using iterator, slightly more efficient
Rename variables
2017-04-20 22:22:17 +08:00
Chocobo1
6cb2f05a6c Demote to helper function
Rename function
2017-04-20 22:22:17 +08:00
Chocobo1
829e1399ca Convert Qstring to char arrays
Cleanup header
Sort constants
2017-04-20 22:22:17 +08:00
Chocobo1
4b2266a8e2 Send Date http header
It's not strict required but often expected.
change class to namespace
cleanup header
2017-04-20 22:22:17 +08:00
Chocobo1
9496b2a159 Always send Content-Length header.
Because without it, HTTP/1.1 (with persistence connection) clients will
keep waiting for more data.
2017-04-20 22:22:17 +08:00
Chocobo1
0b28fb6c6b Implement http persistence connection
Max simultaneous connection limit set to 500
This also release allocated memory of Connection instances at runtime instead of at program shutdown.
2017-04-20 22:22:14 +08:00
Eugene Shalygin
41a63718c9 cmake: use import libraries for Boost and OpenSSL in Libtorrent find module 2017-04-20 15:18:04 +02:00
Eugene Shalygin
01325ee7de Merge pull request #6658 from evsh/cmake
cmake: fix typo in the manifest file name
2017-04-19 17:37:05 +02:00
Eugene Shalygin
f99ba03177 cmake: fix typo in the manifest file name 2017-04-19 17:06:44 +02:00
Eugene Shalygin
b06080e2e7 Replace platform-specific code in Private::DefaultProfile with QStandardPaths.
This should also fix Profile::location(SpecialFolder::Config) on
Windows.
2017-04-19 12:51:07 +02:00
sledgehammer999
ae0a9d74c4 Merge pull request #6487 from Chocobo1/ui
GUI polish
2017-04-18 04:01:13 +03:00
sledgehammer999
2045c38005 Merge pull request #6623 from evsh/cmake
CMake 3.8 compatibility and refactoring
2017-04-17 17:38:08 +03:00
Eugene Shalygin
4e1b7c3b87 Remove generated include from headers
Not only fixes compilation with CMake 3.8 (without messing with include
paths) but makes sources cleaner.
2017-04-17 16:31:19 +02:00
Eugene Shalygin
34798399da cmake: fixes for cmake 3.8
AUTOUIC seems to became stricter.
2017-04-17 16:27:24 +02:00
Eugene Shalygin
97d52668cc travis: fix CMake + OSX build
Brew changed installation dir for Qt, and we have to change it in our
workaround symlinks too.
2017-04-17 16:27:24 +02:00
Eugene Shalygin
c32cee8098 travis: remove redundant 'cd' command 2017-04-17 16:27:24 +02:00
sledgehammer999
018574e546 Merge pull request #6475 from OpenGG/master
[WebUI-API] Add "skip_checking" and "paused" to "/command/download" and "/command/upload"
2017-04-17 17:12:24 +03:00
sledgehammer999
48b0cf8a48 Merge pull request #6621 from Chocobo1/webui
Webui: refactor
2017-04-17 17:08:25 +03:00
sledgehammer999
ae0ec716cb Fix inverted check when applying the IP filter. 2017-04-17 17:07:12 +03:00
sledgehammer999
c27108c97a Merge pull request #6630 from evsh/fix-6454
Start up torrents after UI was created. Fixes #6454.
2017-04-17 16:44:03 +03:00
sledgehammer999
56436d3f97 Merge pull request #6626 from evsh/fix-desktop-filename
Rename .desktop file to match executable name. Fixes #6625.
2017-04-17 16:03:06 +03:00
sledgehammer999
d702b32e53 Merge pull request #5465 from glassez/strip_root_folder_v2
Allow to strip root folder. Closes #588, closes #5433
2017-04-17 15:48:28 +03:00
Vladimir Golovnev (Glassez)
22178f9997 Fix strip torrent root folder 2017-04-15 17:33:20 +03:00
Vladimir Golovnev (Glassez)
6d7d566cdf Fix TorrentHandle rootPath() and contentPath() methods 2017-04-15 10:11:53 +03:00
Vladimir Golovnev (Glassez)
d413bc65ef Improve strip torrent root folder
Fix issue when you rename the "root item" in the "Add New Torrent" dialog
and uncheck "Create subfolder", it will create the subfolder with the
renamed name.
Fix PropertiesWidget first folder is expanded after app restart.
Strip root folder if torrent was added via magnet link.
Fix crash when you get name of torrent without metadata.
2017-04-15 10:11:53 +03:00
sledgehammer999
4b2d8a7941 Setting for creating subfolder on multifile torrents. Closes #588. 2017-04-15 10:11:53 +03:00
Eugene Shalygin
21a72c651f Start up torrents after UI was created. Fixes #6454.
Commit dd0537d changed torrents startup code adding alerts processing
into it. Therefore alerts were processed before UI code subscribed to
signals and therefore part of alerts was not reflected in the UI.

Thus here we do not start torrents in Session constructor, but do that
from Application::exec() after UI was constructed and is ready to process
signals.
2017-04-14 00:58:43 +02:00
Eugene Shalygin
ecd67b9d75 Rename .desktop and appdata files to match executable name. Fixes #6625. 2017-04-12 17:26:12 +02:00
sledgehammer999
07af8c9648 Merge pull request #5214 from evsh/adjustable-config-name
Implement configurations and portable mode. Closes #465
2017-04-12 02:20:34 +03:00
Eugene Shalygin
a8d95dd8bd Save relative paths in fastresume files
Conditionally change absolute paths to relative in the fastresume data files.
The condition is specified by user via a command line parameter and
paths are relative to the profile dir.

On Windows the convertion to relative path is performed if the path and
the profile are on the same drive only.
2017-04-12 00:51:37 +02:00
Eugene Shalygin
0710a59bf5 Refactor parameters parsing
Introduce classes that encapsulate parameter names and parsing schemes
from command line and from environment variables.
2017-04-12 00:50:33 +02:00
Eugene Shalygin
0bf7fa15c1 Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location() 2017-04-12 00:50:33 +02:00
Eugene Shalygin
44b6cb28f6 Add environment variables usage description to the help text 2017-04-12 00:50:33 +02:00
Eugene Shalygin
d5414631c3 Initialise QBtCommandLineParameters members from environment
This allows to pass options via environment variables. The variable name
is constructed from parameter name by transforming the name to upper
case and prefixing "QBT_".
2017-04-12 00:50:33 +02:00
Eugene Shalygin
0f746ffd5a Add support for different configurations. Partially closes #465
It may be useful to have different configurations either for portable
versions or for debugging purposes. To implement this we add two
options, avaliable via command line switches
1. An option to change configuration name ("--configuration"). The name
supplied via this option is appended to
QCoreApplication::applicationName() to form "qBittorrent_<conf_name>"
name for the configuration files.
2. An option to provide a path do directory where all the settings are
stored (kind of profile directory). There is a shortcut "--portable"
which means "use directory 'profile' near the executable location".

In order to implement that we have to perform initialisation of the
profile directories before the SettingStorage and Preferences singletones
are initialised. Thus, options parsing shall be performed without defaults
read from preferences.
2017-04-12 00:50:28 +02:00
sledgehammer999
f3338263ea Merge pull request #6493 from Chocobo1/editorconfig
Add .editorconfig
2017-04-11 23:20:58 +03:00
sledgehammer999
44996b4c6b Merge pull request #6624 from schnurlos/patch-5
Update of german.nsi
2017-04-11 23:18:56 +03:00
schnurlos
bbe8184abe Update of german.nsi
Translation of 64-bit text done.
2017-04-11 18:52:27 +02:00
Chocobo1
d1ee54f6ea Refactor: move methods under the same #if section. 2017-04-11 23:16:16 +08:00
sledgehammer999
f4bd3d2868 Merge pull request #6620 from evsh/uk-installer-translation
Create Ukrainian translation for the Windows installer.
2017-04-11 15:38:08 +03:00
Chocobo1
7f346b49a7 Refactor: move the validation of certificates & key functions under Server class
Rename method
Add log messages
2017-04-10 21:18:59 +08:00
Chocobo1
05d8c46bb0 Rename class variables 2017-04-10 21:07:08 +08:00
Chocobo1
35ab86d32f Refactor: group port forwarding code together
Unify log message
2017-04-10 20:14:19 +08:00
Eugene Shalygin
ec274157d7 Create Ukrainian translation for the Windows installer. 2017-04-10 12:42:31 +02:00
sledgehammer999
6ad8a4d8b1 Merge pull request #6606 from ngosang/es_installes_translation
Update Spanish translation for the installer
2017-04-07 16:43:18 +03:00
ngosang
5490c54f8d Update Spanish translation for the installer 2017-04-07 12:49:10 +02:00
sledgehammer999
fe056e7fc0 Merge pull request #6599 from Chocobo1/defines
Fix NTDDI_VERSION define
2017-04-06 14:25:22 +03:00
sledgehammer999
e40444d1ad Bump API_VERSION and API_VERSION_MIN to 13. 2017-04-06 02:03:44 +03:00
sledgehammer999
50f0ba4f7a Sync translations of .desktop file from Transifex. 2017-04-06 02:02:01 +03:00
Chocobo1
84cdd2e061 Bump _WIN32_IE in cmake build 2017-04-06 06:51:24 +08:00
sledgehammer999
be7facdfaf Sync translations from Transifex and run lupdate. 2017-04-06 01:50:52 +03:00
Chocobo1
ca8ea73ddb Fix NTDDI_VERSION define
Fixup of 5958585e3a
2017-04-06 06:50:42 +08:00
sledgehammer999
1111ca9d90 Merge pull request #6548 from Chocobo1/cookie
Fixes for AbstractWebApplication
2017-04-05 18:37:51 +03:00
sledgehammer999
a79099fc52 Merge pull request #6597 from vlakoff/translation
Update French translation for the installer
2017-04-05 18:34:22 +03:00
Chocobo1
812bd4c83a Uncrustify 2017-04-05 17:39:44 +08:00
Chocobo1
a86f189f53 Relax comparsion for floating point 2017-04-05 17:36:47 +08:00
Chocobo1
59556dfc6a Cleanup & refactor 2017-04-05 17:36:47 +08:00
Chocobo1
86e82c71e5 Setup parent pointer
Rely on Qt to do the delete, since the parent ownership is setup
correctly.
2017-04-05 17:36:36 +08:00
sledgehammer999
851fb8d3de Fix running the uninstaller if the user chose a different path in the installer. Closes #6080. 2017-04-05 03:04:59 +03:00
vlakoff
2e3aaf3428 Update French translation for the installer 2017-04-04 18:45:07 +02:00
sledgehammer999
f3d6ae3433 Merge pull request #6590 from FranciscoPombal/webui_remaining
fixed "remaining" column in WebUI
2017-04-04 01:35:59 +03:00
sledgehammer999
4a0244ae88 Better 64-bit handling in the installer. 2017-04-04 01:27:12 +03:00
sledgehammer999
40948ab652 Merge pull request #6519 from evsh/cmake
cmake: fix build and add build configurations for Travis
2017-04-04 01:24:59 +03:00
sledgehammer999
b2528f7573 Merge pull request #6581 from Chocobo1/set_location
Fix cancel "Set location" causes files move to installation dir
2017-04-04 01:15:27 +03:00
sledgehammer999
d4f30030a6 Merge pull request #6565 from Chocobo1/defines
Add NTDDI_VERSION define
2017-04-04 01:09:51 +03:00
sledgehammer999
027607490a Merge pull request #6584 from Chocobo1/nsis
NSIS: set exit code to 0 on install/uninstall success
2017-04-04 01:09:29 +03:00
FranciscoPombal
829ad2e1e6 fixed "remaining" column in WebUI
the key had the wrong name. In the js code, the expected key is "amount_left" and not "remaining".
2017-04-03 16:20:01 +01:00
Chocobo1
b4d474b770 NSIS: set exit code to 0 on install/uninstall success
Closes #6129.
2017-03-31 14:49:23 +08:00
Chocobo1
d2e02605e9 NSIS: trim whitespaces 2017-03-31 14:48:07 +08:00
opengg
b271fa9f00 [WebUI] Add skip_checking and paused to /command/download and /command/upload 2017-03-31 14:05:19 +08:00
Chocobo1
5de505acfe Cleanup headers
Remove unused headers
Sort header includes
2017-03-30 16:45:11 +08:00
Chocobo1
faaafce35b Fix cancel "Set location" causes files move to installation dir.
Closes #6568.
2017-03-30 16:45:10 +08:00
Chocobo1
0d3c670728 Add log message 2017-03-30 16:45:10 +08:00
Chocobo1
b779330163 code formatting 2017-03-28 17:38:04 +08:00
Chocobo1
5958585e3a Add NTDDI_VERSION define 2017-03-28 17:38:04 +08:00
sledgehammer999
5fb3b4639c Merge pull request #6517 from regs01/patch-1
NSIS ManifestDPIAware
2017-03-22 22:45:18 +02:00
sledgehammer999
3dba24bfe0 Merge pull request #6527 from epicgirl1998/patch-1
Remove extra space between category names and torrent counts
2017-03-22 20:00:50 +02:00
sledgehammer999
10f2fbdd17 Merge pull request #6554 from sheeit/patch-1
Fixed Markdown formatting for headers in CODING_GUIDELINES.md
2017-03-22 19:57:58 +02:00
sheeit
ec0771448c Fixed Markdown formatting for headers 2017-03-22 15:49:19 +01:00
Chocobo1
272d53fdf8 Set cookie SID value to empty on logout
Set cookie SID expiration date to 1 day in the past on logout
2017-03-22 17:22:10 +08:00
Chocobo1
4e48408eaa Fire up the timer to clean inactive sessions 2017-03-22 17:21:10 +08:00
Chocobo1
e26b30a5f4 Refactor: initialize class variable directly 2017-03-22 17:20:28 +08:00
Chocobo1
e4d6fe2d02 Refactor: reorder headers 2017-03-22 17:20:27 +08:00
Chocobo1
e9bd75f4e1 Set HttpOnly attribute to SID cookie 2017-03-21 15:24:41 +08:00
Eugene Shalygin
7d19ee2e59 travis: add cmake build 2017-03-20 22:18:36 +01:00
Eugene Shalygin
8a106314ff travis: remove Qt4 leftover 2017-03-20 19:47:21 +01:00
Eugene Shalygin
17e6eba50a travis: use apt addon for libtorrent and Qt packages 2017-03-20 19:47:21 +01:00
Eugene Shalygin
b2ff058bc0 cmake: fix OSX bundle creation 2017-03-20 19:47:21 +01:00
Eugene Shalygin
5c0bf86405 cmake: remove qt4 leftover 2017-03-20 19:07:52 +01:00
epicgirl1998
f904cfa32d Remove extra space
fixes https://github.com/qbittorrent/qBittorrent/issues/6523
2017-03-17 03:43:49 +02:00
regs01
6fae4e6e5c Update options.nsi
dpi-aware installer
2017-03-15 08:33:27 +03:00
opengg
db3158c410 [WebUI] bugfix: RequestParser::splitMultipartData drop extra trailing newline. 2017-03-11 01:26:22 +08:00
Chocobo1
5a57f2ef64 Add basic support for EditorConfig 2017-03-09 20:52:20 +08:00
sledgehammer999
9eb01fbe4d Merge pull request #6489 from evsh/fix-fileguard
Fix TorrentFileGuard::setAutoRemove() recursion problem. Closes #6488.
2017-03-08 12:18:58 +02:00
sledgehammer999
61efc76b82 Merge pull request #6490 from evsh/cmake
Fix CMake build
2017-03-08 12:18:38 +02:00
Eugene Shalygin
3091e03a95 Fix CMake build 2017-03-08 09:12:49 +01:00
Eugene Shalygin
3752d112fb Fix TorrentFileGuard::setAutoRemove() recursion problem. Closes #6488.
The problem was created during Qt 4 drop, when FileGuard was promoted
from a member to a base class. The function was blindly changed.
2017-03-08 09:05:58 +01:00
Chocobo1
a16c557137 Always draw background 2017-03-08 14:36:42 +08:00
Chocobo1
2b2b3a4fe7 Fix downloaded/uploaded columns were not highlighted properly when selected.
Refactor
2017-03-08 14:36:09 +08:00
sledgehammer999
bc910798da Indicate bitness in stackstrace and about dialog. Closes #6172. 2017-03-08 01:01:17 +02:00
sledgehammer999
c37ff51004 Some improvements in travis.yml for macOS. Closes #6089. 2017-03-08 00:50:11 +02:00
sledgehammer999
a7dcf20ed1 Fix state of IP filter widgets. 2017-03-08 00:30:54 +02:00
sledgehammer999
729fbb2e50 Change named of getter function. 2017-03-08 00:16:25 +02:00
sledgehammer999
aa51907387 Merge pull request #6369 from magao/issue6367
Use Perl-compatible regexes for RSS rules. Closes #6367.
2017-03-08 00:04:17 +02:00
sledgehammer999
be60b3e046 Change the user-agent format in the session.cpp too. 2017-03-07 23:41:29 +02:00
sledgehammer999
147f4d76e2 Merge pull request #6445 from Chocobo1/fix
Follow http user-agent format
2017-03-07 23:38:14 +02:00
sledgehammer999
7a6da3d3ce Merge pull request #6479 from Chocobo1/qt4
Remove remainings of Qt4
2017-03-07 23:28:56 +02:00
sledgehammer999
b90db12ba0 Use a QTreeView and a sort proxy in the manually banned IP list to have a consistent sort order with QStringList::sor(). 2017-03-07 23:16:51 +02:00
sledgehammer999
431658bee6 Fix race condition where there was a chance to allow all ips between reparsings of the ip filter. 2017-03-07 23:16:50 +02:00
sledgehammer999
14513cd81f Allow edit of manually banned IPs regardless if an IP filter has been set. 2017-03-07 23:16:43 +02:00
sledgehammer999
5084c01c2b Merge pull request #5877 from dzmat/to_pull_request
locally banned IP list managment (Closes #1837 )
2017-03-07 23:14:20 +02:00
sledgehammer999
140187649d Merge pull request #6473 from FranciscoPombal/stats_webui
Implement statistics window in web UI
2017-03-07 22:51:57 +02:00
sledgehammer999
f3cbb7f9da Merge pull request #6384 from glassez/safe-macros
Remove exception suppressing from torrenthandle.cpp
2017-03-07 22:50:06 +02:00
sledgehammer999
b69b6d1f55 Revert "Set default locale". Closes #6436 and #6459.
This reverts commit 75ef6356d3.
2017-03-07 15:35:42 +02:00
Vladimir Golovnev (Glassez)
79e8f69fb6 Remove exception-suppress macros
Remove SAFE_* macros from TorrentHandle class.
These macros using seems to be unneeded.
2017-03-07 15:04:57 +03:00
Chocobo1
fa2128cbae Replace Utils::String::fromStdString() by QString::fromStdString() 2017-03-07 19:42:44 +08:00
sledgehammer999
610922e3dc Update stuff in appdata.xml and run 'appstream-utl upgrade' on it. 2017-03-06 20:58:03 +02:00
sledgehammer999
9839ef7292 Add keywords to the .desktop file. 2017-03-06 20:58:02 +02:00
Chocobo1
87384ca2a2 Replace Utils::String::toHtmlEscaped() by QString::.toHtmlEscaped() 2017-03-07 00:03:53 +08:00
Chocobo1
ffdcfe9686 Replace Utils::String::toStdString() by QString::toStdString() 2017-03-06 23:58:38 +08:00
Chocobo1
7539bee5c5 Remove remaining QBT_USES_QT5 defines.
Fixup of e64bb1de8c.
2017-03-06 23:47:07 +08:00
dzmat
59de1af31b implemented UI for managment of locally banned IP list (Closes #1837 ) 2017-03-06 19:40:34 +07:00
Chocobo1
70edf84d46 Add comment 2017-03-06 14:42:32 +08:00
Chocobo1
2091dfaa69 Follow http user-agent format
Add version variable without the starting "v"
2017-03-06 14:42:32 +08:00
Chocobo1
cb1646be32 Prepend QBT_ for preprocessor variables 2017-03-06 13:41:58 +08:00
FranciscoPombal
1ce71fc63e Implement statistics window in web UI 2017-03-06 03:05:18 +00:00
sledgehammer999
fc49856857 Merge pull request #6391 from Chocobo1/cert
Allow QSsl::Ec as private key format
2017-03-06 01:22:09 +02:00
sledgehammer999
fa1149e1f2 Remove remnant of qt4 version checking. 2017-03-06 00:53:25 +02:00
sledgehammer999
8b6d7ab809 Merge pull request #6266 from evsh/drop-qt4
Drop qt4
2017-03-06 00:50:19 +02:00
Eugene Shalygin
008d7dbedc Raise minimal Qt version to 5.5.1 2017-03-05 22:24:59 +01:00
Eugene Shalygin
e64bb1de8c Drop Qt 4 support 2017-03-05 22:24:59 +01:00
sledgehammer999
60998a68eb Merge pull request #6417 from Chocobo1/manifest
Embed manifest when compiling with MSVC
2017-03-05 19:40:35 +02:00
sledgehammer999
922fec44d2 Merge pull request #6447 from buinsky/master
WebUI: Improve performance of updating 'progress' column
2017-03-05 14:46:30 +02:00
sledgehammer999
22989a436e Merge pull request #6461 from Chocobo1/rand_fix
Workaround thread_local on osx
2017-03-05 14:43:29 +02:00
sledgehammer999
bf3ef61a1d Merge pull request #6455 from Chocobo1/qt4
Fix issues when compiling with Qt4
2017-03-05 14:42:17 +02:00
Chocobo1
cae2f3059c Workaround thread_local not supported on OSX
Drop back to xcode7.3 on TravisCI
2017-03-04 20:37:48 +08:00
buinsky
b6c6b70915 Improve performance of updating 'progress' column 2017-03-04 12:19:36 +03:00
Chocobo1
3b5e7eb0ea Fix compile error: ‘escape’ is not a member of ‘Qt’ 2017-03-04 16:22:00 +08:00
Chocobo1
ea9d65f377 Fix incomplete type compile error with Qt4 2017-03-04 16:20:36 +08:00
Chocobo1
38063c388e Capitalize title strings
Remove DISCARDABLE keyword which is ignored on 32-bit windows
2017-03-04 13:17:55 +08:00
Chocobo1
7da29f7654 Embed manifest when compiling with MSVC
Update manifest
2017-03-04 13:09:32 +08:00
sledgehammer999
76e1c3b10b Install qbittorrent-tray.png files. Fixes commit ada75cbbe1. 2017-03-04 00:02:11 +02:00
sledgehammer999
5c730f984d Bump API_VERSION to 12. 2017-03-03 22:31:58 +02:00
Chocobo1
0fb3b18a8f Utilize escapeHtml 2017-03-03 21:28:32 +02:00
Chocobo1
6ca3e4f094 Add Utils::String::toHtmlEscaped 2017-03-03 21:28:30 +02:00
Chocobo1
eba45a0b26 Cleanup 2017-03-03 21:28:29 +02:00
Chocobo1
7756dd80f3 [WebUI]: add X-XSS-Protection, X-Content-Type-Options, CSP header 2017-03-03 21:28:28 +02:00
ngosang
f5ad04766f [WebUI] Avoid clickjacking attacks 2017-03-03 21:28:27 +02:00
Chocobo1
f9c39e3dac [WebUI]: exclude insecure ciphers 2017-03-03 21:28:26 +02:00
Chocobo1
84bc011df5 Code formatting
Remove extra private keyword
2017-03-03 21:28:25 +02:00
sledgehammer999
31b69ae6f6 Update copyright year. 2017-03-03 21:26:38 +02:00
sledgehammer999
82edc5c495 Sync translations from Transifex and run lupdate. 2017-03-03 21:13:31 +02:00
sledgehammer999
884ca03624 Merge pull request #6443 from ngosang/extratorrent
[Search engine] Update Extratorrent plugin
2017-03-03 02:35:16 +02:00
ngosang
f0fe8808bd [Search engine] Update Extratorrent plugin 2017-03-02 21:21:33 +01:00
sledgehammer999
b5f81a34cb Use new create_torrent constructor were available. 2017-02-22 19:25:50 +02:00
sledgehammer999
ad4b691fa5 Merge pull request #6413 from evsh/no-proxy-in-webui-server
Disable proxy in WebUI HTTP server. Closes #6349.
2017-02-21 13:15:22 +02:00
Eugene Shalygin
be8eab4e54 Disable proxy in WebUI HTTP server. Closes #6349.
Due to a bug in Qt 5.8 (QTBUG-58706) QTcpServer tries to use HTTP proxy
when it is set as default app proxy (for instance via "http_proxy"
environment variable) and this breaks the server. So we disable any proxy
in it.
2017-02-21 00:07:09 +01:00
sledgehammer999
9e56f3d318 Merge pull request #6385 from thalieht/Trackerlist
Trackerlist: Seperate seeds from peers for DHT, PeX, LSD
2017-02-20 01:53:54 +02:00
sledgehammer999
4adcd03ec7 Merge pull request #6366 from Chocobo1/rand
Replace rand()
2017-02-20 01:49:27 +02:00
Chocobo1
759bf4d73d Allow to load/use ECDSA certificate in webUI.
Limit max read size
Improve messages in dialogs
Refactor
2017-02-17 12:23:51 +08:00
Chocobo1
7d2a393532 Enable thread_local support in TravisCI 2017-02-16 12:21:27 +08:00
Chocobo1
511796f74e Replace rand() by a true uniform distribution generator 2017-02-16 12:21:26 +08:00
Chocobo1
c7d10dc091 Turn off port forwarding of WebUI by default for GUI users 2017-02-16 12:21:26 +08:00
thalieht
4f1c428d8f Seperate seeds from peers for DHT, PeX and LSD 2017-02-15 21:24:47 +02:00
sledgehammer999
54e99f2510 Merge pull request #6373 from murlakatamenka/master
Update mainwindow.h (remove duplicate declaration)
2017-02-13 01:34:13 +02:00
murlakatamenka
78438d7044 Update mainwindow.h (remove duplicate declaration) 2017-02-11 21:36:52 +03:00
Tim Delaney
a844ccb06a Cache rule regular expressions for performance
--HG--
branch : magao-dev
2017-02-11 18:43:50 +11:00
Tim Delaney
f9abd254f4 Use Perl-compatible regexes for RSS rules. Closes #6367.
--HG--
branch : magao-dev
2017-02-11 16:33:18 +11:00
sledgehammer999
d045f64ebb Merge pull request #6288 from Falcosc/fix_add_torrent_queue_overflow
fix queue overload for add torrent at session start
2017-02-08 22:46:58 +02:00
falco
ee239ddd1e fix queue overload for add torrent at session start 2017-02-08 15:13:21 +00:00
sledgehammer999
73f762250c Merge pull request #6358 from Chocobo1/coverity
Fix issues on coverity
2017-02-08 15:34:45 +02:00
sledgehammer999
c39056f1a8 Merge pull request #6344 from magao/issue6337
Fix regex RSS matching. Closes #6337.
2017-02-08 15:21:07 +02:00
Chocobo1
4ad541d066 Fix coverity issues
torrentcontentmodel: Use a variable to store filesCount
optionsdlg: add fallthrough comment to suppress warning
speedPlotview: initialize member
misc: fix wrong type used, add spaces
2017-02-08 13:49:47 +08:00
Chocobo1
cab10aa7b4 Use QString::toStdString()
Qt5 utilized the desired toUtf8() instead of toAscii().
2017-02-08 13:21:36 +08:00
sledgehammer999
f78bf27daf Merge pull request #6326 from magao/issue3782
RSS rules and feed UI bugfixes. Closes #3782, #6281.
2017-02-07 16:31:30 +02:00
sledgehammer999
92cfd1f602 Regenerate configure. 2017-02-06 23:07:43 +02:00
sledgehammer999
49332ab12c Use @naikel's suggestions for previous commit. 2017-02-06 23:07:42 +02:00
sledgehammer999
32b7f0745f Merge pull request #4631 from DoctorWho11/master
fixes qmake pathing and also fixes a type in configure.ac
2017-02-06 23:06:49 +02:00
sledgehammer999
f6a941defc Merge pull request #6294 from thalieht/hotkeys
Add hotkeys for some things. Closes #2090
2017-02-06 22:41:30 +02:00
sledgehammer999
cf9e8abea1 Merge pull request #6351 from evsh/cmake
cmake: read version numbers from the version.pri file. Closes #6350.
2017-02-06 22:35:17 +02:00
Eugene Shalygin
e96e14ca76 cmake: read version numbers from the version.pri file. Closes #6350. 2017-02-06 21:30:26 +01:00
sledgehammer999
01ddf23745 Remove unnecessary semicolon. 2017-02-06 18:52:04 +02:00
sledgehammer999
83009adbc0 Use same casting method and fix code style. 2017-02-06 18:52:03 +02:00
sledgehammer999
c8f955e302 Fix previous commit. 2017-02-06 18:51:56 +02:00
thalieht
0240c87095 TransferListWidget: Some coding style 2017-02-06 17:52:40 +02:00
thalieht
5675021895 enable RSS, Search and Execution Log widgets before switching to them via hotkeys 2017-02-06 17:52:40 +02:00
sledgehammer999
12b73747f5 Merge pull request #3058 from VladimirSinenko/master
Fixed sort order for datetime columns with empty values (closes #2988)
2017-02-06 17:49:26 +02:00
sledgehammer999
179b686e42 Merge pull request #6176 from magao/issue873
Improve UI responsiveness during RSS downloading. Closes #873, #1089, #1235, #5423
2017-02-06 16:17:08 +02:00
sledgehammer999
2a7f4217df Merge pull request #6321 from magao/rss_icon_themed
Rss icon themed
2017-02-06 10:08:33 +02:00
sledgehammer999
d880372b49 Fix unused variable warning by gcc. 2017-02-06 01:20:31 +02:00
sledgehammer999
fa8c69a5e1 Merge pull request #6315 from glassez/cat-tree-state
Fix category filter widget doesn't save on/off state
2017-02-06 00:13:59 +02:00
sledgehammer999
25c7c297e8 Merge pull request #6317 from dzmat/public_to_private
reduce methods accessibility from public to private
2017-02-06 00:11:38 +02:00
sledgehammer999
bcd6baa793 Merge pull request #6340 from Chocobo1/contentSort
Use case-insensitive comparsion for torrent content window
2017-02-05 23:12:55 +02:00
sledgehammer999
5046c36458 Immediately update torrent_status after manipulating super seeding mode. Partially fixes #6072. 2017-02-05 22:02:33 +02:00
Tim Delaney
c0339d4f6a Fix regex RSS matching. Closes #6337.
--HG--
branch : magao-dev
2017-02-05 08:53:33 +11:00
Chocobo1
976504498a Use case-insensitive comparsion for torrent content window.
Closes #6327
2017-02-03 23:40:22 +08:00
sledgehammer999
52b1bb2ae4 Merge pull request #6319 from magao/pr6181_bugfix
Fix compilation error on Qt<5.4. Closes #6170.
2017-02-03 01:22:25 +02:00
dzmat
b167b4174e reduce methods accessibility from public to private 2017-01-29 15:17:55 +07:00
Tim Delaney
0fb8810c52 Resize RSS icon to fit theme.
--HG--
branch : magao-dev
2017-01-29 13:56:01 +11:00
thalieht
2bb2d3fc89 change all existing shortcuts to use Qt::Keys 2017-01-28 19:43:16 +02:00
Tim Delaney
5d185f1fcd Fix compilation error on Qt<5.4. Closes #6170.
--HG--
branch : magao-dev
2017-01-27 14:24:51 +11:00
sledgehammer999
3b3de81cb7 Merge pull request #6181 from magao/issue6170
RSS episode filter improvements. Closes #800, #2749, #3876, #6170.
2017-01-26 01:02:05 +02:00
sledgehammer999
769fe17a21 Merge pull request #6179 from magao/issue6165
RSS use red text to indicate invalid filter. Closes #6165.
2017-01-25 23:28:57 +02:00
sledgehammer999
354702140a Merge pull request #6180 from magao/issue6171
Allow | in RSS must contain. Closes #6171.
2017-01-25 23:27:59 +02:00
sledgehammer999
5df8ad32fe Merge pull request #6183 from magao/issue6163
Save rule on enable/disable even if not selected. Closes #6163.
2017-01-25 23:25:49 +02:00
sledgehammer999
b9b8352a31 Merge pull request #6184 from magao/issue5539
RSS: allow resetting rule to no category. Closes #5539.
2017-01-25 23:20:19 +02:00
sledgehammer999
eb3f4b8490 Merge pull request #6283 from Chocobo1/sort
Use case-insensitive sort for Name column in Search tab. Closes #407.
2017-01-25 23:07:11 +02:00
sledgehammer999
6c05b5f083 Merge pull request #6286 from ngosang/fix_webui
[Web UI] Fix category in torrent upload. Closes #6260
2017-01-25 23:06:50 +02:00
sledgehammer999
14ebf2118a Merge pull request #6289 from evsh/cmake
Cmake compilation fixes
2017-01-25 23:06:21 +02:00
thalieht
c87cdaea23 add hotkeys for Trackerlist Peerlist etc. 2017-01-25 11:33:33 +02:00
thalieht
0fdd3e23ff add hotkey for execution log tab 2017-01-25 11:33:33 +02:00
thalieht
beddee8dd4 Transferlist: add hotkeys for double click and recheck selected torrents 2017-01-25 10:42:32 +02:00
thalieht
ed900d3e86 change torrentDoubleClicked() so it can be used in a hotkey 2017-01-25 10:11:19 +02:00
ngosang
e6e0ecfaea [Web UI] Fix category in torrent upload. Closes #6260 2017-01-22 14:20:48 +01:00
Vladimir Golovnev (Glassez)
d79297db1a Save/load category filter widget state 2017-01-22 14:59:03 +03:00
Tim Delaney
f96eb587ff Bugfix RSS feed list and rules editor. Closes #3782, #6281.
--HG--
branch : magao-dev
2017-01-22 15:36:27 +11:00
Tim Delaney
e4d9e9f63f Follow project coding style. Issue #2192.
--HG--
branch : magao-dev
2017-01-29 09:24:41 +11:00
Chocobo1
4669a99617 Use case-insensitive sort for Name column in Search tab. Closes #407. 2017-01-22 11:48:01 +08:00
sledgehammer999
077ad6506c Merge pull request #6175 from magao/issue6167
Move old RSS items to separate config file. Closes #6167.
2017-01-22 04:47:52 +02:00
sledgehammer999
043ae1eb17 Merge pull request #6278 from Falcosc/fix_incompleate_file_crash
fix index overflow for torrents with invalid meta data or empty progress
2017-01-22 01:14:16 +02:00
sledgehammer999
e64b1f5ca1 Merge pull request #6185 from magao/issue5797
Ctrl+F search filter. Closes #5797.
2017-01-22 01:12:41 +02:00
Eugene Shalygin
180ec7af4a cmake: RSS target has to depend on qbt_base as it uses its includes 2017-01-21 20:12:48 +01:00
Eugene Shalygin
eff13cc9eb cmake: fix boost components manipulations in FindLibtorrentRasterbar.cmake
The list of components which we pass to find_package() has to be semicolon
separated (i.e. to be the usual cmake list)
2017-01-21 20:11:48 +01:00
Eugene Shalygin
19c5e71a76 cmake: make some compile definitions global in Windows 2017-01-21 20:05:28 +01: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
Eugene Shalygin
0cb9884965 cmake: get and use only actual boost dependencies of libtorrent
With pkg-config we can get a list of Boost components from Libtorrent
dependencies and make qBittorrent depend only on these libraries in
turn. For Windows user may provide a custom list via
LibtorrentRasterbar_CUSTOM_BOOST_DEPENDENCIES variable or use generic
list which consists of date_time, system, chrono, random, thread. As a
note: in case of using fully C++11 build, the actual list contains only
boost system library.
2017-01-21 15:20:40 +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
Falco
84759d4f20 fix index overflow for torrents with invalid meta data or empty progress 2017-01-21 14:35:09 +01: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
buinsky
c765d8ebe2 Add tooltips to dynamic table header 2017-01-21 15:57:02 +03:00
buinsky
dd1959abfb Make torrent peers table scrollable horizontally 2017-01-21 15:57:02 +03:00
buinsky
b1c45901f0 Simplify dynamic table CSS styles 2017-01-21 15:57:01 +03:00
sledgehammer999
5b35981c85 Merge pull request #5774 from thalieht/unit_precision
Increase number of digits after the decimal point. Closes #5053
2017-01-21 14:05:26 +02:00
sledgehammer999
75d0414da3 Merge pull request #6275 from evsh/fix-icon-names
Replace icon name "open-menu" with "preferences-system"
2017-01-21 14:02:14 +02:00
thalieht
f8213f5d56 friendlyUnit: Properly replace spaces with non-breaking spaces 2017-01-21 12:03:05 +02:00
thalieht
311b060c70 Increased number of digits after the decimal point for Gibibytes and above 2017-01-21 12:02:15 +02:00
buinsky
7aadf644e0 Make torrents table scrollable horizontally 2017-01-21 11:19:43 +03:00
buinsky
afd4f89693 Rename variables in DynamicTable class 2017-01-21 11:19:42 +03:00
sledgehammer999
f4fa000ba3 Polish previous commit. 2017-01-21 02:59:33 +02:00
sledgehammer999
68ecbf4185 Merge pull request #5420 from thalieht/alignment
Changes and additions in search, peerlist, transferlist
2017-01-21 02:58:32 +02:00
sledgehammer999
cccc019e5d Merge pull request #6276 from evsh/cmake
Fix cmake compilation
2017-01-21 02:10:16 +02:00
Eugene Shalygin
68e8f565e2 Fix cmake compilation 2017-01-21 00:32:00 +01:00
sledgehammer999
cb0f73da57 Merge pull request #5613 from glassez/cat_tree
Implement category filter widget. Closes #5444.
2017-01-20 23:21:31 +02:00
sledgehammer999
c8ddd68a7a Merge pull request #6212 from magao/issue2192
Follow project coding style. Issue #2192.
2017-01-20 23:13:06 +02:00
Eugene Shalygin
a6b6009fb1 Replace icon name "open-menu" with "preferences-system"
Apparently, we can not use symbolic icons transparently.
2017-01-20 20:02:49 +01:00
sledgehammer999
1376d8fa7b Merge pull request #6084 from Chocobo1/set_locale
Set default locale
2017-01-20 20:14:20 +02:00
Vladimir Golovnev (Glassez)
c002f30848 Implement category filter widget
Show categories in tree mode when subcategories are enabled.
2017-01-20 20:55:01 +03:00
sledgehammer999
8d58c52ad8 Merge pull request #6249 from bil-elmoussaoui/master
Fixes default indicator name
2017-01-20 19:10:45 +02:00
sledgehammer999
96f9984823 Fix preferences icon loading in WebUI. 2017-01-20 18:54:36 +02:00
sledgehammer999
824b90b643 Merge pull request #6269 from Chocobo1/icons
Fix new icons too large
2017-01-20 18:33:35 +02:00
sledgehammer999
05def34697 Merge pull request #6157 from Chocobo1/speedLimit
Speedlimitdlg: raise slider default value to 10000
2017-01-20 18:24:42 +02:00
sledgehammer999
cb7cadfc54 Merge pull request #6272 from BanzaiMan/patch-1
Allow some Mac jobs to fail
2017-01-20 17:12:14 +02:00
Hiro Asari
7f7b63b172 Allow some Mac jobs to fail
Put `allow_failures` in the correct place.
2017-01-20 09:11:18 -05:00
Chocobo1
ca77a315d9 Fix download & upload icon too large on statusbar in webui 2017-01-20 14:04:32 +08:00
Chocobo1
35921c70fe Remove trailing spaces 2017-01-20 14:04:05 +08:00
Chocobo1
0517a3eb63 Fix rss icon too large in rss settings dialog
Give a name to the rss icon (in .ui file)
Add helper function: Utils::Misc::largeIconSize()
Group functions under the same #ifdef
2017-01-20 13:45:50 +08:00
Chocobo1
d52a74092b Reset values to default, these are controled elsewhere. 2017-01-19 23:42:12 +08:00
sledgehammer999
7d7f82ae46 Fix finding 'English' item in language dropdown menu when an unrecognized locale is requested. Closes #6109. 2017-01-19 17:22:40 +02:00
sledgehammer999
fed325a54d Merge pull request #6140 from Chocobo1/relocateNoRemove
After files relocate, don't remove the old folder even if it is empty
2017-01-19 15:52:09 +02:00
sledgehammer999
f1942bc0e0 Merge pull request #6104 from okeatime/mac_nox
Build qbittorrent-nox for macOS
2017-01-19 15:49:47 +02:00
sledgehammer999
dcab1da8ab Merge pull request #6138 from Chocobo1/stats2
Use the numbers from tracker scrape response
2017-01-19 11:49:47 +02:00
Chocobo1
a2bb947dcc After files relocate, don't remove the old folder even if it is empty. 2017-01-19 14:21:04 +08:00
Chocobo1
fa45ba102c Refactor 2017-01-19 14:21:04 +08:00
Chocobo1
75ef6356d3 Set default locale 2017-01-19 13:33:34 +08:00
Chocobo1
e37a696e7d Refactor
Move default value to preference class
Rename variable
Reorder headers
Remove extra parentheses
2017-01-19 13:33:34 +08:00
Chocobo1
72a6f7ae24 Use the numbers from tracker scrape response. Closes #5048, #6117.
Add comments
Thanks to Ian Kent for helping investigate
2017-01-19 13:17:50 +08:00
Chocobo1
ecd49148d0 Fix webUI used the wrong value. Closes #6232. 2017-01-19 13:17:39 +08:00
sledgehammer999
a178268b31 Merge pull request #5959 from dzmat/DRY_fix_minor
Little DRY violation fixed
2017-01-19 01:49:21 +02:00
sledgehammer999
ba03fb30f3 Merge pull request #5987 from Chocobo1/temp_dir
Put temp files in .qBittorrent directory
2017-01-19 01:33:57 +02:00
sledgehammer999
a092cb9bda Remove settings to exchange trackers. It wasn't used by non-libtorrent clients. Also it has a privacy risk and you might be DDoSing someone. DHT makes it obsolete anyway. 2017-01-19 01:13:55 +02:00
sledgehammer999
7c75ee20e3 Merge pull request #6076 from evsh/warn-if-no-function-names
Warn if no function names are present in the stacktrace
2017-01-19 00:33:12 +02:00
sledgehammer999
18d9403a58 Merge pull request #6098 from dzmat/rename_tab_names
Clarify options tab page objects names
2017-01-19 00:14:30 +02:00
sledgehammer999
b5bf6df058 Merge pull request #6139 from Chocobo1/warnings
Fix compile warning: unused parameter ‘action’
2017-01-18 23:42:58 +02:00
sledgehammer999
b88b7d4af7 Merge pull request #6262 from evsh/resume-fixes
Resume fixes
2017-01-18 22:21:15 +02:00
sledgehammer999
c43cfbad17 Merge pull request #6182 from magao/issue6164
Fix tab order in RSS downloader. Closes #6164.
2017-01-18 20:08:06 +02:00
Eugene Shalygin
b6e64c13d8 Fetch torrent status when generating final fastresume data
This is done to get correct queue position, which has to be written into
the fastresume file. See discussion in #6154.
2017-01-18 18:59:03 +01:00
sledgehammer999
bfec8b8588 Merge pull request #6161 from okeatime/tr
Avoid unnecessary translation. Closes #6158
2017-01-18 19:50:40 +02:00
sledgehammer999
a33ff12123 Merge pull request #6203 from okeatime/webui_proxy
Webui proxy_type bug fix
2017-01-18 19:15:50 +02:00
sledgehammer999
d686f2dda6 Merge pull request #6250 from evsh/fix-icon-names
Fix icon rendering in Linux
2017-01-18 19:07:41 +02:00
Eugene Shalygin
9bab229108 Adjust icons names to better fit FDO scheme
An icon theme may use variously styled icons for various types of UI
elements. For example, Breeze theme uses monochrome icons for actions
(toolbars) and statuses, but colourful for view contents. qBittorrent
was using icon names without putting attention to categories, creating
mix of styles in UI elements (i.e. the main toolbar).

This commit fixes icon names (and move some of them to theme) to avoid
this style mixes where possible.

Unfortunately, options dialog page icons for network and speed limits
are remained monochrome because there are no Breeze or Adwaita icons to
match.
2017-01-18 18:03:33 +01:00
Eugene Shalygin
6cd233dd61 Add queue repair code
This is a bit adjusted code created by nxd4, who shared it in issue
disappearing).
2017-01-18 17:27:20 +01:00
sledgehammer999
7d55467f4b Merge pull request #6234 from Chocobo1/scroll
For each cell setting ignore wheel events. Closes #866.
2017-01-18 17:40:02 +02:00
Eugene Shalygin
3de105704e Do not resize SVG icons
An icon which is loaded from SVG file can be rendered in any size and
resolutions natively. We were generating 16x16, 24x24, and 32x32
pixmaps, and not appending but creating new icon. Therefore for SVG
icons we effectively were reducing their quality.

If icon already contains 7 (or more) sizes (16 to 256 px) we do not
resize it anymore.
2017-01-18 10:26:35 +01:00
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
sledgehammer999
5a611b66a5 Merge pull request #6252 from evsh/fix-6248
Do not remove added files unconditionally. Closes #6248
2017-01-18 02:42:10 +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
33ada71e4b Fix Travis macOS builds. 2017-01-12 02:40:44 +02: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
48c2901d09 Allow build failures for qt4 and osx for Travis. 2017-01-12 01:12:06 +02:00
sledgehammer999
ca937b72ef Use custom qt5 bottle for homebrew (macOS) on Travis. 2017-01-12 00:59:28 +02:00
sledgehammer999
28547f4ec5 Add template for issues. 2017-01-11 20:11:59 +02: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
sledgehammer999
bf102be567 Merge pull request #6221 from evsh/fix-qt5-log-flood
Set upper version limit for QTBUG-52633
2017-01-11 01:41:46 +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
Tim Delaney
8949a8ad75 RSS: allow resetting rule to no category. Closes #5539.
--HG--
branch : magao-dev
2016-12-31 16:58:01 +11:00
Tim Delaney
2244b7cb66 RSS episode filter refactoring and logging (prep for later commits).
--HG--
branch : magao-dev
2016-12-31 18:01:22 +11: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
sledgehammer999
cd88b5595c Update gpg key with new uid. 2016-12-27 16:56:35 +02:00
Chocobo1
bc41e2034c Fix warning: unused parameter ‘action’ [-Wunused-parameter] 2016-12-27 20:19:20 +08:00
sledgehammer999
132cc7f788 Merge pull request #6099 from evsh/cmake
cmake: make prefix variables cached
2016-12-26 13:39:15 +02:00
Oke Atime
5f767b96f6 Build qbittorrent-nox for macOS 2016-12-22 23:23:21 +09:00
Eugene Shalygin
7ed5c65b10 cmake: make prefix variables cached
This allows user to override their default value via -D cmake switch
2016-12-19 17:08:23 +01: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
sledgehammer999
0f0bb7277a Merge pull request #6057 from okeatime/client_sort
Case insensitive sort for client clumn. Closes #6054
2016-12-15 13:29:25 +02: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
b971eb52ee Fix travis osx build. 2016-12-02 23:11:05 +02: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
sledgehammer999
7bd7f2b045 Merge pull request #5998 from dzmat/mem_leak_fixing2
memleak fix
2016-12-02 01:43:13 +02:00
sledgehammer999
d557e9600a Merge pull request #5992 from Chocobo1/appveyor
Update CI scripts
2016-12-02 01:41:22 +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
599dbe1870 Rename 2016-11-30 13:22:51 +08:00
Chocobo1
ba2dc69ff9 Fix URL 2016-11-30 13:22:51 +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
f2d8b8e319 Travis: Use custom libtorrent formula and bottle for OSX.
Caches libtorrent 1.0.10 built with c++11 enabled.
2016-11-13 22:50:28 +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
sledgehammer999
34f893e8ad Merge pull request #5925 from yezezey/macOSqt5
add /usr/local/include due to Qt 5.7.0 bug on macOS
2016-11-13 16:06:35 +02:00
Yez Ezey
07c0e72bd3 add /usr/local/include due to Qt 5.7.0 bug on macOS 2016-11-12 02:51:21 +09: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
Chocobo1
6b835f53ce Use new key for storing RSS splitter_v value.
So that old value won't override the RSS layout.
2016-11-11 00:35:40 +08:00
Chocobo1
7d34a89efd Change RSS view layout to horizontal. Closes #5920.
Thanks Bhaalspawn for the idea.
2016-11-10 20:59:55 +08:00
sledgehammer999
3afe1835c0 Merge pull request #5924 from Chocobo1/travis
Update ax_boost_system.m4
2016-11-10 14:58:04 +02:00
Chocobo1
f85b97916c Update ax_boost_system.m4 to d48ec2210047bbf17702700811c3f16a5369e06c 2016-11-10 19:49:07 +08:00
Chocobo1
8abb5fdf47 Remove redundant command 2016-11-10 14:10:44 +08:00
sledgehammer999
c395bf7c7c Merge pull request #5916 from EdwardLinux/patch-1
Update portuguese.nsi
2016-11-09 18:13:41 +02:00
EdwardLinux
1e5b2e57e7 Update portuguese.nsi 2016-11-08 15:34:57 +00:00
sledgehammer999
bfde2ce875 Small travis update for OSX. 2016-11-07 17:11:33 +02:00
Tim Delaney
b84d9201fd Allow | in RSS must contain. Closes #6171.
--HG--
branch : magao-dev
2016-11-07 17:46:27 +11:00
sledgehammer999
aa1e884c81 Merge pull request #5842 from yezezey/macOSpython
Set /usr/local/bin before default PATH on macOS. Closes #5639 #5571
2016-11-07 08:41:13 +02:00
Yez Ezey
55916df97d Set /usr/local/bin before default PATH on macOS. closes #5639 #5571
Since Apple made difficult for users to set PATH and /usr/bin/python
is almost unusable, I simply add /usr/local/bin before default PATH
to pick up Homebrew Python.
2016-11-07 13:29:55 +09:00
sledgehammer999
90bbe3379d Merge pull request #5882 from onto/pvs-studio
Fixes and improvements after check by PVS-Studio
2016-11-07 00:18:46 +02:00
sledgehammer999
d5385523ac Merge pull request #5849 from yezezey/macOSconfigure
Add --disable-qt-dbus to configure if $host_os is macOS
2016-11-07 00:16:11 +02:00
Tim Delaney
390d7a8124 Improve UI responsiveness during RSS downloading. Closes #873, #1089, #1235, #5423.
--HG--
branch : magao-dev
2016-11-07 08:56:06 +11:00
sledgehammer999
9b760a8fa0 Merge pull request #5858 from yezezey/case_insensitive
Sort torrent names case insensitively
2016-11-06 23:55:57 +02:00
sledgehammer999
6302eb1317 Merge pull request #5896 from Chocobo1/qjson
QJson: update to latest git version
2016-11-06 23:52:46 +02:00
sledgehammer999
1259069358 Merge pull request #5904 from yezezey/extra_magnet
Fix extratorrent searchengine. Closes #5773
2016-11-06 23:50:14 +02:00
sledgehammer999
c7bdd10734 Merge pull request #5906 from thalieht/patch-1
Log: set "Embedded Tracker [OFF]" msg type as info
2016-11-06 23:49:10 +02:00
Tim Delaney
32bdb73f70 RSS allow infinite range to extend beyond current season. Closes #800, #3876, #6170.
--HG--
branch : magao-dev
2016-11-07 07:18:06 +11:00
thalieht
c7a04e27f4 Log: set embedded Tracker [OFF] msg type as info 2016-11-06 11:55:31 +02:00
Tim Delaney
935b30b17a RSS use red text to indicate invalid filter. Closes #6165.
--HG--
branch : magao-dev
2016-11-06 16:53:06 +11:00
Tim Delaney
e37488807b Fix tab order in RSS downloader. Closes #6164.
--HG--
branch : magao-dev
2016-11-06 15:45:44 +11:00
Tim Delaney
96c1187f47 RSS parse torrent episodes like 1x01 as well as S01E01. Closes #2749.
--HG--
branch : magao-dev
2016-11-06 15:26:48 +11:00
Tim Delaney
64f9cbbf54 Allow episode zero (special) and leading zeroes in RSS episode filter.
--HG--
branch : magao-dev
2016-11-06 22:51:33 +11:00
Tim Delaney
601649f49a Save rule on enable/disable even if not selected. Closes #6163.
--HG--
branch : magao-dev
2016-11-06 13:52:12 +11:00
Tim Delaney
cecff159a0 Move old RSS items to separate config file. Closes #6167.
--HG--
branch : magao-dev
2016-11-06 12:00:09 +11:00
Yez Ezey
f6dbf2454d Fix extratorrent searchengine. Closes #5773
They changed to magnet link.
2016-11-05 22:31:17 +09:00
Anton Lashkov
1233c5b67b Fix name of variable same as class member 2016-11-04 21:44:00 +04:00
Anton Lashkov
36901295b2 Simplify if statement 2016-11-04 21:44:00 +04:00
Anton Lashkov
a372d22fb2 Add missing else 2016-11-04 21:44:00 +04:00
Anton Lashkov
1785c54b83 Fix mistake in getting value from model 2016-11-04 21:44:00 +04:00
Chocobo1
bb4e67684c QJson: update to 5e3b9b84b225f4612e09ef05aa6d8c23379e4e71 2016-11-04 01:33:25 +08:00
sledgehammer999
05387edbfa Merge pull request #5881 from Chocobo1/trackerfilter_crash
Fix crash in TrackerFiltersList::removeItem()
2016-11-03 15:20:04 +02:00
sledgehammer999
b358809328 Merge pull request #5760 from borouhin/patch-1
Don't request client SSL certificate (closes issue #3883)
2016-11-02 23:34:00 +02:00
sledgehammer999
259b5e51c4 Don't ever stop seeding forced torrents. Closes #5784. 2016-11-02 18:25:09 +02:00
sledgehammer999
4128f01aa8 Don't revert save path value in the Dialog when metadata are received. Closes #5482. 2016-11-02 18:10:10 +02:00
sledgehammer999
146d4e049a Some more compiler warnings fixed. 2016-11-02 17:49:50 +02:00
sledgehammer999
9f8dfbc51c Fix warning due to stupid typo. 2016-11-01 22:24:55 +02:00
sledgehammer999
e10c2abf3b Delete old rss favicon before assigning new one. 2016-11-01 18:25:47 +02:00
sledgehammer999
841676fd36 WINDOWS: Fix python auto install, deletion of installer and use 3.5.x series for Vista+. Closes #5871. 2016-11-01 18:25:42 +02:00
sledgehammer999
05f4270d01 WEBUI: Changed meaning of the value of the 'dl_limit', 'up_limit', 'alt_dl_limit' and 'alt_up_limit' tokens.
The value is expressed in bytes and not in KiB.
2016-11-01 18:25:36 +02:00
sledgehammer999
e440fc3d17 Fix setting a speed limit. 2016-11-01 17:51:57 +02:00
sledgehammer999
3081a8bb3f Add libtorrent's DHT bootstrap node to our bootstrap list. 2016-11-01 03:42:38 +02:00
sledgehammer999
660b8cdb7e Use the new API to add DHT bootstrap nodes for libtorrent 1.1.x and simplify the code a bit. 2016-11-01 03:42:33 +02:00
sledgehammer999
afe930cbee Use new libtorrent 1.1.2+ utility function to generate client ID instead. 2016-11-01 03:42:28 +02:00
sledgehammer999
e054f63746 Make sure that paths are loaded/saved using slashes as dir separators. 2016-11-01 03:42:22 +02:00
sledgehammer999
59b570cf62 Display message about libtorrent plugins for the correct case. 2016-11-01 03:42:17 +02:00
sledgehammer999
f391b24b1d Migrate last setting related to interfaces to the new system. 2016-11-01 03:42:12 +02:00
sledgehammer999
7bf06cd6e6 Fix save/load of interface address setting. 2016-11-01 03:42:07 +02:00
sledgehammer999
f885c6375a Use better variable names for tracker announce IP setting. 2016-11-01 03:42:01 +02:00
sledgehammer999
db4b30ad48 Fix values for unsetting speed limits. 2016-11-01 03:41:56 +02:00
sledgehammer999
6053390bf5 Unify and simplify setting to use proxy for torrents only. 2016-11-01 03:41:51 +02:00
sledgehammer999
5cbc7b16c0 Guard the flag used for deferred session configure. 2016-11-01 03:41:45 +02:00
sledgehammer999
1757973f88 Misc fixes. 2016-11-01 03:41:40 +02:00
sledgehammer999
10cd45dc81 Fix setting limits to unlimited. 2016-11-01 03:41:35 +02:00
sledgehammer999
a5ae86512a Rename IP filtering functions and settings names. 2016-11-01 03:06:58 +02:00
sledgehammer999
b97cb7422f Export torrents added only after the setting was enabled. 2016-11-01 03:06:58 +02:00
sledgehammer999
124eddc68c Merge pull request #5342 from glassez/session
Optimize BitTorrent::Session settings applying
2016-11-01 03:02:29 +02:00
sledgehammer999
23a88b5d69 Merge pull request #5879 from darksom/master
Update portugueseBR.nsi
2016-10-31 00:55:20 +02:00
Chocobo1
aba625d544 Fix potential crash. Closes #5873. 2016-10-30 16:10:44 +08:00
Chocobo1
f8dc8ad4ad Refactor 2016-10-30 15:53:59 +08:00
DaRKSoM
1a9781d66f Update portugueseBR.nsi 2016-10-30 00:33:22 -02:00
sledgehammer999
a42b4ef0a0 Merge pull request #5868 from BouRock/patch-1
Turkish translation of NSIS installer strings.
2016-10-29 18:02:34 +03:00
Burak Yavuz
b382ae2233 Turkish translation 2016-10-27 20:55:47 +03:00
sledgehammer999
3e12d958e9 Merge pull request #5855 from Chocobo1/tray_icon_crash
Fix tray icon crash
2016-10-24 19:25:11 +03:00
Yez Ezey
81ec2e60a9 Sort torrent names case insensitively 2016-10-24 19:50:30 +09:00
Chocobo1
c49bb2daad The intended action is set the bit to 1, not flipping it. 2016-10-23 20:13:04 +08:00
Chocobo1
59942531df Fix crash when restoring from tray. Closes #5854. 2016-10-23 19:58:46 +08:00
Yez Ezey
4e33af41dd Add --disable-qt-dbus to configure if $host_os is macOS 2016-10-21 14:49:09 +09:00
Yez Ezey
42929e7783 Fix downloadFromURL bug. Closes #5844 2016-10-20 19:53:23 +09:00
sledgehammer999
07f141af2e Merge pull request #5822 from ngosang/plugins
[Search engine] Update Plugins
2016-10-18 01:34:57 +03:00
ngosang
d249e9e7c6 [Search engine] Remove TorrentReactor plugin 2016-10-11 22:51:54 +02:00
ngosang
7c13f71481 [Search engine] Update Demonoid plugin 2016-10-11 22:48:21 +02:00
Yez Ezey
26052802ca Change QSettings to IniFormat on macOS. Closes #5770 #5808
On macOS 10.12 Sierra, Apple changed the behaviour of CFPreferencesSetValue()
truncating data after a null character. https://bugreports.qt.io/browse/QTBUG-56344
Due to this, we have to move from native plist to IniFormat.
2016-10-08 14:05:30 +09:00
sledgehammer999
829425831f Properly fix the handling of default save path store/load. Bug introduced in dd34663224 2016-10-06 16:54:15 +03:00
sledgehammer999
7b04dd4106 Merge pull request #5746 from erikssm/master
fix default save path bug
2016-10-06 16:39:44 +03:00
erikssm
d2e911c3ea fix default save path bug 2016-10-05 18:54:36 +03:00
sledgehammer999
6960245a06 Merge pull request #5777 from yezezey/macosx_debug
Fix Mac OS X Build (Closes #5763)
2016-09-30 18:29:34 +03:00
Yez Ezey
c30e61904d Fix Mac OS X Build (Closes #5763)
Deleted offending code
    setUnifiedTitleAndToolBarOnMac(false);
which was a workaround to avoid bug https://bugreports.qt.io/browse/QTBUG-7305
The bug was fixed at Qt 4.6.2 https://github.com/Blizzard/qt4/blob/master/dist/changes-4.6.2
2016-09-27 05:09:38 +09:00
sledgehammer999
bec4617128 Merge pull request #5749 from yezezey/master
fixed extratorrent search not working v.3.3.7 #5736
2016-09-24 00:02:53 +03:00
sledgehammer999
b3a7954363 Use a subdomain to redirect to the actual URL for search plugins.
Will allow to move around the plugins in the git repo with the 3.4.0 release.
2016-09-23 23:16:24 +03:00
Yez Ezey
3a744a954b Fixed extratorrent search not working Closes #5736 #5753
The original code accumulates all the <td> texts between the description
link and the number of seeders into self.current_item["size"]:
    <td>248.72</td><td>&nbsp;MB<td> => "248.72 MB".
ExtraTorrents changed the table design, added the Added column and joined
the number and its unit:
    <td>8d</td><td>248.72&nbsp;MB</td> => "8d 248.72 MB"
This commit stores only the last <td> text in self.current_item["size"].
2016-09-23 03:52:12 +09:00
borouhin
501a2d7c45 Don't request client SSL certificate (closes issue #3883) 2016-09-21 02:42:51 +03:00
sledgehammer999
3ea81be2cc Merge pull request #5731 from thalieht/webui_port
Fix WEBUI port overflow
2016-09-13 23:54:01 +03:00
sledgehammer999
a7253c5ead Update UAC nsis plugin to 0.2.4c. Building the installer with nsis 3.0 (final) is possible now. Closes #5556. 2016-09-12 17:15:39 +03:00
sledgehammer999
05d226a103 Fix travis again.
I wish the homebrew guys didn't break it so often and the travis guys updated their images more frequently.
2016-09-12 02:29:40 +03:00
thalieht
6ec1c61b06 fix webui port overflow 2016-09-11 23:41:14 +03:00
sledgehammer999
6ea9325868 Sync translations from Transifex and run lupdate. 2016-09-11 22:07:25 +03:00
sledgehammer999
943cc86eb9 Merge pull request #5686 from ngosang/minor_fix
Fix warning in geoipdatabase.cpp
2016-09-04 01:51:48 -05:00
ngosang
83d6a28030 Fix warning in geoipdatabase.cpp 2016-08-29 22:11:05 +02:00
sledgehammer999
d411d8b3a1 Merge pull request #5549 from briankendall/smtp_ssl_bug_fixes
Fixes bug where sending email could silently fail
2016-08-25 20:45:11 -05:00
sledgehammer999
89d91500f1 Merge pull request #5648 from SagePtr/patch-1
Update geoipdatabase.cpp to allow larger GeoLite2-Country database (issue #5609)
2016-08-25 20:42:06 -05:00
SagePtr
c63da264d7 Update geoipdatabase.cpp
Updated MaxMind database limit from 10MB to 64MB. I hope it will be enough
for few years. Fix for issue #5609
2016-08-26 02:23:17 +02:00
Brian Kendall
da412571e4 Better error handling with smtp communication.
Adds log messages for a number of situations where sending an email will silently fail, in particular when attempting to create an unencrypted connection to an SMTP server that requires SSL
2016-08-25 17:57:26 -04:00
sledgehammer999
5f01065614 Merge pull request #5670 from ngosang/torrentz2
[Search engine] Update Torrentz2 search engine
2016-08-24 01:38:49 -05:00
ngosang
77b27abc94 [Search engine] Update Torrentz2 search engine 2016-08-24 00:46:09 +02:00
sledgehammer999
025ee32281 Merge pull request #5576 from Chocobo1/msiexec
Call system msiexec.exe directly
2016-08-23 11:29:53 -05:00
sledgehammer999
ddb8badcc9 Fix deletion via the context menu. Broken by #5616. 2016-08-23 18:56:50 +03:00
sledgehammer999
c30882e1d1 Merge pull request #5631 from ngosang/remove_search_engines
[Search engine] Update search engines
2016-08-23 10:21:27 -05:00
ngosang
b0c9c8a2aa [Search engine] Update Torrentz search engine 2016-08-22 23:25:54 +02:00
ngosang
4e2de98903 [Search engine] Remove BTDigg search engine 2016-08-13 21:38:14 +02:00
ngosang
9234f2f15d [Search engine] Remove KickassTorrents search engine 2016-08-10 20:41:03 +02:00
sledgehammer999
2ba4319850 Merge pull request #5617 from Chocobo1/hotkeys
Use "Standard Shortcuts" defined by Qt whenever possible.
2016-08-10 10:59:16 -05:00
Chocobo1
85add9a5c8 Use "Standard Shortcuts" defined by Qt whenever possible. 2016-08-10 23:09:15 +08:00
sledgehammer999
e94e8d3e7f Merge pull request #5616 from pieniacy/master
Add torrent and files deletion with Shift+Delete hotkey
2016-08-10 04:57:57 -05:00
pieniacy
5f4114ae76 Add torrent and files deletion with Shift+Delete hotkey 2016-08-06 02:52:49 +02:00
sledgehammer999
affebf3431 Merge pull request #5575 from Chocobo1/explorer
Avoid spawning a new explorer.exe process when selecting "Open containing folder"
2016-08-05 08:10:28 -05:00
Bert Verhelst
b00a9d4398 Update icon size of pngs to 256px + make pause icon wider 2016-08-03 22:49:05 -07:00
Chocobo1
9cb01dedba Avoid spawning a new explorer.exe process when selecting "Open containing
folder". Closes #5564.
2016-08-04 00:50:11 +08:00
sledgehammer999
382b5cae8f Merge pull request #5567 from itsdani/master
Fix 6-hour speedplot point push rate #5545
2016-08-02 04:17:50 -05:00
Daniel Segesdi
76580e4766 Fix 6-hour speedplot point push rate. Close #5545 2016-08-02 10:59:01 +02:00
Chocobo1
a64538b964 Call system msiexec.exe directly 2016-07-23 13:39:22 +08:00
Chocobo1
f448587271 Add function windowsSystemPath() 2016-07-23 13:39:13 +08:00
Chocobo1
bb956b8453 Refactor 2016-07-23 11:25:33 +08:00
Chocobo1
8742d7aa45 Uncrustify misc.cpp 2016-07-23 11:23:16 +08:00
sledgehammer999
d3ece7417d Upgrade pkg-config travis-ci for OS X.
Fixes 'zlib not found` errors.
Details: https://github.com/Homebrew/brew/issues/563
2016-07-21 14:43:47 +03:00
sledgehammer999
f264214e69 Update qt-translations and related installer files. 2016-07-20 01:32:39 +03:00
sledgehammer999
a7e2162cdc Sync translations from Transifex and run lupdate. 2016-07-20 00:48:45 +03:00
Brian Kendall
630871214f Hiding SSL / SMTP option when building without SSL support
The SMTP server always uses unencrypted connections in this case so showing the check box is misleading
2016-07-18 18:37:48 -04:00
sledgehammer999
4e8c509157 Merge pull request #5409 from Chocobo1/RTL_option
Fix icons are missing when using RTL languages in Options dialog
2016-07-17 15:47:13 -05:00
sledgehammer999
991502432c Merge pull request #5474 from Chocobo1/travis
[TravisCI] lock-on to libtorrent-rasterbar 1.0.9 version
2016-07-17 13:57:00 -05:00
sledgehammer999
53e3f8a239 Merge pull request #5408 from Chocobo1/run_ext
Fix external program command too long error in Windows
2016-07-17 10:18:18 -05:00
Chocobo1
1e1471c7c6 Workaround space issues in file path
References:
https://github.com/qbittorrent/qBittorrent/issues/5439#issuecomment-228616817
https://github.com/qbittorrent/qBittorrent/issues/5439#issuecomment-232214712
2016-07-16 11:27:51 +08:00
Chocobo1
3846a5b875 Invoke system's cmd.exe directly. 2016-07-16 11:19:33 +08:00
Chocobo1
705d7730dc Fix upper-bound limit of command line for "Run External Program" in Windows. Closes #5399. 2016-07-16 10:25:22 +08:00
sledgehammer999
5e114c0f2e Merge pull request #5443 from glassez/save_folder
Do not create save folder in advance. Closes #5422
2016-07-05 06:48:52 -05:00
Chocobo1
959676164b [TravisCI] lock-on to libtorrent-rasterbar 1.0.9 version 2016-07-01 21:23:30 +08:00
Vladimir Golovnev (Glassez)
c4e9291db4 Do not create save folder in advance
Closes #5422.
2016-06-26 16:48:11 +03:00
Chocobo1
6b48cab5e3 Fix icons are missing when using RTL languages in Options dialog. Closes #5398. 2016-06-21 16:06:57 +08:00
sledgehammer999
dbd079dfb8 Merge pull request #5389 from glassez/type_assert
Show type name in btjson.cpp@processMap assert
2016-06-20 08:58:21 -05:00
Vladimir Golovnev (Glassez)
bb17d4a8dd Show type name in btjson.cpp@processMap assert
This may help to solve #5381
2016-06-20 16:08:10 +03:00
Vladimir Golovnev (Glassez)
b5fe749f0b Use new libtorrent-1.1 settings API 2016-06-20 08:30:02 +03:00
Vladimir Golovnev (Glassez)
b2cb473b63 Don't use Preferences in BitTorrent::Session 2016-06-20 08:30:02 +03:00
sledgehammer999
ce22d031f6 Merge pull request #5058 from ngosang/remove_filters
[search engine] Remove filters from Torrentreactor, BTDigg and Demonoid
2016-06-19 18:39:17 -05:00
sledgehammer999
e7b4292d3c Sync translations from Transifex and run lupdate. 2016-06-20 02:35:45 +03:00
sledgehammer999
e3e7636de8 Fix parsing of eMule .DAT filters. Closes #5281. 2016-06-20 02:24:37 +03:00
sledgehammer999
57a4b9f8b6 Fix API_VERSION and API_VERSION_MIN numbers. 2016-06-20 02:15:11 +03:00
sledgehammer999
d060b0d342 Don't use QCollator for sorting on Windows. Closes #5238 and #5240. 2016-06-08 22:53:59 +03:00
sledgehammer999
39a81f30ff Merge pull request #5296 from Chocobo1/run_ext
Replace QProgress::startDetached with std::detatch.
2016-06-08 13:15:32 -05:00
sledgehammer999
6d4f46c8ae Merge pull request #5179 from Chocobo1/fix_ui
Cleanup Connection page
2016-06-08 13:13:23 -05:00
Chocobo1
5efc45190a Fix widget name collision.
Small cleanup on Downloads page.
2016-06-07 20:49:27 +08:00
Chocobo1
0ad33bf9ac Let user able to specifiy a filter when choosing an IP filter file 2016-06-07 20:49:27 +08:00
Chocobo1
d32c9470a0 Fix reload button size is not the same size as "..." button.
Rename Connection tab page
2016-06-07 20:49:27 +08:00
Chocobo1
c85a0a41ba Rename "options.ui" to "optionsdlg.ui"
Rename class name "options_imp" to "OptionsDialog"
Rename "options_imp.cpp" to "optionsdlg.h"
2016-06-07 20:49:27 +08:00
Chocobo1
97ee63fc78 Move options ui as a pointer member variable 2016-06-07 20:49:27 +08:00
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
sledgehammer999
fd996f15f0 Merge pull request #5339 from evsh/files-tooltip
Fix empty tooltips showed at the progress bar borders
2016-06-02 14:53:14 -05: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
sledgehammer999
978d1e1d3e Merge pull request #5336 from ngosang/pythonversion
Update Python version requirements
2016-06-02 07:20:25 -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
sledgehammer999
307f2919a3 Merge pull request #5334 from evsh/uncrustify
uncrustify: replace "add" with "force" for sp_ parameters
2016-06-01 18:30:47 -05: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
Eugene Shalygin
f9aeb5783d uncrustify: replace "add" with "force" for sp_ parameters
This will make uncrustify able to remove excessive spaces
2016-05-31 18:51:59 +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
sledgehammer999
da1d6b0063 Merge pull request #5329 from ngosang/torrentz
[Search engine] Update Torrentz
2016-05-30 19:20:54 -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
sledgehammer999
fee8aba610 Merge pull request #5317 from ngosang/piratebay
[Search engine] Update PirateBay
2016-05-28 18:20:48 -05:00
ngosang
47a252e517 [Search engine] Update PirateBay 2016-05-28 18:22:02 +02:00
sledgehammer999
f373ca82c6 Merge pull request #5316 from ngosang/minorfixx
Minor fix: typo and two warnings
2016-05-28 09:19:34 -05: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
sledgehammer999
6f16890475 Merge pull request #5306 from evsh/search-visited-link-colors
Use QPalette::LinkVisited color for downloaded items in search results
2016-05-26 16:15:35 -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
e2bf462a45 Fix gcc 6 compilation with qmake. See #5237. 2016-05-24 14:05:07 +03: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
57a61c48a2 Merge pull request #5270 from evsh/uncrustify
update uncrustify config
2016-05-22 20:12:37 -05:00
Eugene Shalygin
7f40e42ddc update uncrustify config 2016-05-23 02:40:08 +02: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
sledgehammer999
673b86c6e3 Merge pull request #5258 from glassez/alert_notify
Use new alert dispathing API. Fixes compilation with libtorrent-1.1.x
2016-05-17 02:36:31 -05: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
sledgehammer999
4f78a50add Merge pull request #5249 from evsh/auto-remove-torrents
Fix a typo in TorrentFileGuard and a crash when adding torrent via magnet link
2016-05-15 15:59:37 -05: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
sledgehammer999
140016c068 Merge pull request #5223 from evsh/uncrustify
uncrustify: add constructor initialization list options
2016-05-09 14:28:55 -05:00
sledgehammer999
e22664da0f Merge pull request #5090 from evsh/auto-remove-torrents
Add option to automatically remove .torrent files upon adding
2016-05-09 07:05:09 -05: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
sledgehammer999
fecf8501cb Merge pull request #5230 from Chocobo1/filterTracker
Fix "IP Filtering - Apply to trackers" wasn't being applied
2016-05-08 09:16:40 -05:00
Chocobo1
71143d1417 Use qmake built-in test function files to locate translation files 2016-05-08 21:47:28 +08:00
Chocobo1
f4f4e31a7a Use POSIX shell 2016-05-08 21:47:28 +08:00
Chocobo1
926cbb18ea Re-enable cache for linux builds
Enable cache for OSX builds
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
Eugene Shalygin
9e177a0a81 uncrustify: add constructor initialization list options 2016-05-06 01:29:09 +02:00
Chocobo1
d25430f377 Cleanup headers
Move `class NaturalCompare` to .cpp file
2016-05-04 16:35:26 +08:00
Chocobo1
f89d7c2f67 Suppress warning on OSX builds 2016-05-04 12:44:36 +08:00
sledgehammer999
f45ec40392 Merge pull request #5189 from evsh/uncrustify
uncrustify: honour pointer and reference symbols alignment rules
2016-05-03 15:06:20 -05: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
Eugene Shalygin
f702d43973 cmake: mark libtorrent and qtsingleapplication include dirs as system 2016-05-01 02:54:37 +02:00
sledgehammer999
0143799623 Don't show added torrent notification during startup. 2016-04-30 01:38:24 +03:00
Eugene Shalygin
da379702a2 uncrustify: honour pointer and reference symbols alignment rules
Stick the '*' and '&' symbols to the variable name if there is one.
Also fix empty function bodies collapse option: replace it with the
eat_blanks_before_close_brace setting.
2016-04-26 15:21:09 +02:00
sledgehammer999
ef6e848756 Display notifications when a torrent is added. Closes #334 and #915. 2016-04-25 20:07:26 +03:00
sledgehammer999
31d04cffd9 Merge pull request #5181 from glassez/ext
Fix .!qB extension is added when disabled (#5141 regression hotfix)
2016-04-25 11:49:13 -05: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
sledgehammer999
e3265dd934 Merge pull request #5176 from evsh/cmake
cmake: reflect qmake project changes
2016-04-25 01:51:59 -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
f80df53532 Merge pull request #5162 from evsh/uncrustify
uncrustify: add "slots" to WORDs keywords.
2016-04-24 10:47:22 -05:00
sledgehammer999
7d0bdc2863 Merge pull request #5160 from ngosang/trackersfix
Fix Add tracker dialog bugs
2016-04-24 10:45:01 -05:00
sledgehammer999
071b3981f7 Merge pull request #5143 from evsh/cmake
Cmake: clean cmake files
2016-04-24 10:40:43 -05:00
sledgehammer999
ff8b0944a2 Merge pull request #5140 from glassez/coding
Add coding style rule for header inclusion order
2016-04-24 10:40:10 -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
Eugene Shalygin
e809b042aa Add "slots" to WORDS keyword.
Uncrustify inserts line break between an access specifier and "slots".
However, it keeps these words combinations if "Q_SLOTS" is used.
Its built-in parser classifies "Q_SLOTS" as WORD token, thus let's add
"slots" to that class.
2016-04-23 01:57:28 +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
Vladimir Golovnev (Glassez)
1bf24acff7 Add coding style rule for header inclusion order 2016-04-20 15:40:28 +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
36f894d0d8 Merge pull request #3976 from jleclanche/master
License file copy/paste fixes
2016-04-17 12:20:35 -05: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
sledgehammer999
2c459e8f74 Merge pull request #5132 from evsh/cmake
cmake: fix resources initialization and simplify QtSingleApplication linkage
2016-04-17 10:28:59 -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
e4c0da4ed4 Merge pull request #5083 from glassez/coding
Fix coding style rules. Closes #5075
2016-04-13 08:49:01 -05:00
Vladimir Golovnev (Glassez)
f89819bbdb Fix coding style rules
Closes #5075
2016-04-13 16:24:38 +03:00
sledgehammer999
32490f1ef6 Merge pull request #4995 from Chocobo1/border
Search UI tweaks
2016-04-13 07:11:31 -05:00
sledgehammer999
a33cfc26dc Merge pull request #5085 from glassez/nova2dl
Use nova2dl.py script instead of DownloadManager. Closes #5026
2016-04-13 07:07:01 -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
sledgehammer999
8cb4e7934e Merge pull request #5104 from evsh/cmake
cmake: reflect qmake project changes
2016-04-12 15:21:41 -05:00
sledgehammer999
e3409228da Fix qt5 bundle on OSX. Closes #4014. 2016-04-12 23:19:02 +03:00
Chocobo1
1099a5006f Cleanup header include
Code formatting
2016-04-13 02:45:08 +08:00
sledgehammer999
87e8bc5722 Change gpg signing key.
I forgot the passphrase to the old one.
2016-04-12 20:07:04 +03: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
acef6ad973 Merge pull request #5069 from Chocobo1/dpi
More DPI changes
2016-04-05 17:18:18 -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
f651062991 Let windows handle all widgets scaling.
Declare ourselves as a Non DPI–aware app.
Tested with Qt 5.6.
2016-04-04 16:44:44 +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
cd2496215e Merge pull request #5043 from evsh/uncrustify
update uncrustify config
2016-04-03 16:50:49 -05:00
sledgehammer999
2b0ad4477e Fix memory leak. 2016-04-04 00:10:18 +03:00
Eugene Shalygin
57605cb840 update uncrustify config 2016-03-31 15:56:19 +02:00
sledgehammer999
93d8cadaaf Bump API_VERSION and API_VERSION_MIN. 2016-03-29 23:15:11 +03:00
sledgehammer999
fdc44871ca Fix public key commit again. 2016-03-28 22:15:24 +03:00
sledgehammer999
7f6e6264a8 Fix newlines in previous commit. 2016-03-28 22:13:33 +03:00
sledgehammer999
3db384efd5 Add public key used for signing source tarballs and binaries. 2016-03-28 22:10:54 +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
sledgehammer999
0c3813c9c5 Merge pull request #5022 from ngosang/torlock2
[Search engine] Added TorLock search engine. Fix #5012
2016-03-28 13:17:05 -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
1eb6b05bbb Merge pull request #4961 from glassez/codingstyle
Add new Coding Style rules for some c++11 features
2016-03-26 06:42:43 -05:00
Vladimir Golovnev (Glassez)
645c3bf69f Add new Coding Style rules for some c++11 features 2016-03-26 08:11:52 +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
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
3b5d27093a Merge pull request #4975 from evsh/uncrustify
update uncrustify config
2016-03-20 13:22:48 -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
Eugene Shalygin
1a0bc3cf66 update uncrustify config 2016-03-18 17:51:19 +01: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
sledgehammer999
e48649ac3e Merge pull request #4463 from buinsky/b
Change appearance of speed labels in status bar
2016-03-16 18:26:31 -05:00
sledgehammer999
f91fa45860 Merge pull request #4561 from Chocobo1/appveyor
Add appveyor support
2016-03-16 16:28:35 -05:00
Chocobo1
c15ddbc53c Add appveyor support 2016-03-17 02:29:00 +08: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
sledgehammer999
1fb020fb3a Merge pull request #4939 from Chocobo1/option_tab_sel
Fix tab icons messed up.
2016-03-13 15:30:40 -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
sledgehammer999
e21c346183 Merge pull request #4935 from evsh/cmake
cmake: fix library namaes for Qt5 version of QtSingleApplication
2016-03-10 14:30:41 -06:00
Eugene Shalygin
5fbac5da5b cmake: fix library namaes for Qt5 version of QtSingleApplication
At least on Gentoo they start with 'Qt5', not 'Qt'
2016-03-09 23:32:35 +01:00
Chocobo1
e7ff5eb6b1 Minor refactor 2016-03-09 14:08:44 +08:00
sledgehammer999
d41031ebf7 Merge pull request #4925 from evsh/cmake
cmake: copy qt version requirements from autotools
2016-03-07 15:52:15 -06: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
sledgehammer999
8656c1897d Merge pull request #4922 from evsh/cmake
cmake: fix man installation
2016-03-07 14:17:02 -06:00
Eugene Shalygin
6800c1a6ad cmake: fix man installation
Fix copy-n-paste error: for non-GUI build we have to install
qbittorrent-nox.1, but not qbittorrent.1.
2016-03-07 15:15:38 +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
45617e086c Merge pull request #4908 from evsh/cmake
cmake: fix systemd unit install path
2016-03-05 13:05:30 -06:00
Eugene Shalygin
5996738030 cmake: fix systemd unit install path 2016-03-05 19:23:43 +01: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
sledgehammer999
96c2947283 Merge pull request #4849 from Chocobo1/run_ext_slash
Save "Run external program" input as is. Closes #4830.
2016-03-05 08:51:14 -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
8b559a8b51 Merge pull request #4824 from starius/mxe-compat
compatibility with MXE
2016-03-04 17:25:57 -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
sledgehammer999
6ff929e567 Merge pull request #4784 from glassez/asm
Implement Advanced Saving Management subsystem
2016-03-04 17:22:06 -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
Boris Nagaev
f4dc5c6809 configure: pass variable QMAKE_LRELEASE to qmake 2016-03-03 07:54:34 +03:00
Boris Nagaev
e4c8862cc5 winconf-mingw.pri: clean library names
* remove versions from libraries,
  * remove *.dll from libraries
    (actual name of library files can be "libfoo.a")
2016-03-03 07:52:57 +03:00
Boris Nagaev
39d8f09c38 winconf.pri: change example library path for build
Path with "<", ">" causes errors when building in MXE.
http://mxe.cc/

Removing or commenting out these hardcoded paths is not
desirable, as they serve as a guide (on what to edit) for
the newcomers that want to build on windows.

See https://github.com/qbittorrent/qBittorrent/pull/4824#issuecomment-186936960
2016-03-03 07:52:57 +03:00
Boris Nagaev
fa2a1ad6d3 winconf.pri: use mask "win32-g++*"
Mask "win32-g++" doesn't match MXE.
Mask "win32-g++*" match MXE.
See http://stackoverflow.com/a/14523545
See http://mxe.cc
2016-03-03 07:50:20 +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
sledgehammer999
12e1cae93c Merge pull request #4810 from Chocobo1/addtor_fixup
Remove additional vertical spacer.
2016-02-21 09:46:35 -06: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
sledgehammer999
09d3f73154 Merge pull request #4772 from glassez/fix_crash
Fix crash caused by AdvancedSettings::addRow()
2016-02-08 14:29:37 -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
sledgehammer999
232af6b802 Merge pull request #4733 from glassez/fix
Fix upgrade corrupted fastresume file
2016-02-01 09:25:11 -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
sledgehammer999
f23cd9204c Merge pull request #4623 from glassez/libt11
Add libtorrent v1.1 basic support
2016-01-31 05:57:10 -06: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
Vladimir Golovnev (Glassez)
31be920ba4 Don't use wide strings in libtorrent 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
sledgehammer999
43aede8d63 Merge pull request #4716 from ngosang/max_ratio
[Web UI] Fix max_ratio precision. Closes #4707
2016-01-30 11:59:47 -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
Zach Bacon
f975187e48 tests if qmake is in path properly 2016-01-20 18:26:55 -05: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
sledgehammer999
d31ccbde15 Merge pull request #4620 from buinsky/WebUI_add_style
WebUI: Move style of dynamic table header to CSS
2016-01-20 13:16:06 -06:00
Zach Bacon
8f875962b2 fixes qmake pathing and also fixes a type in configure.ac 2016-01-20 12:47:53 -05: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
sledgehammer999
b79b5a01cc Merge pull request #4586 from glassez/geoip_nogui
Allow GeoIP in NoGUI builds
2016-01-17 11:48:53 -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
sledgehammer999
5e0252c152 Merge pull request #4341 from pmzqla/delete-label
WebUI: Allow to remove the label assigned to a torrent
2016-01-13 17:09:00 -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
049e622e3c Merge pull request #4547 from Chocobo1/doc_link_fix
Update CONTRIBUTING.md
2016-01-12 12:37:41 -06:00
Chocobo1
26fceae7e5 Update uncrustify script link. 2016-01-12 13:05:09 +08: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
3a99e3b755 Various updates on the Windows configuration file. 2016-01-11 19:44:44 +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
76c075395a Merge pull request #4542 from vlakoff/translation
Work on French translation for installer
2016-01-11 10:12:12 -06:00
vlakoff
bb9516c5cb Complete French translation for installer 2016-01-11 15:57:19 +01:00
vlakoff
0779b29022 Fixes in French translation for installer 2016-01-11 15:27:01 +01: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
b863e77b63 Fix newlines in wiki rendering. 2016-01-10 14:56:53 +02:00
sledgehammer999
5e6c38a524 Add info and files for coding style. Issue #2192. 2016-01-10 14:50:05 +02: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
sledgehammer999
9b4a0d3dee Merge pull request #4521 from buinsky/WebUI
WebUI: Move some styles into css
2016-01-10 06:19:29 -06:00
sledgehammer999
1b44eaf6fe Merge pull request #4518 from schnurlos/patch-2
Update german.nsi
2016-01-10 06:19:10 -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
schnurlos
c5c540469f Update german.nsi
Translated the "A previous installation was detected ..." text.
2016-01-07 18:05:09 +01: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
05b557c27f Merge pull request #4515 from ngosang/es-translation
Update installer translations in Spanish language
2016-01-06 17:49:09 -06:00
sledgehammer999
abcdd105e3 Don't require GUI libs for qt4 nox build. Closes #4404. 2016-01-07 01:41:40 +02:00
ngosang
6202156f97 Update installer translations in Spanish language 2016-01-07 00:34:37 +01: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
e07562beae Merge pull request #4497 from dzmat/patch-1
Update russian.nsi
2016-01-05 10:38:07 -06: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
dzmat
59c6a0f736 Update russian.nsi
Translated new string/
2016-01-04 17:32:01 +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
Vladimir Golovnev (qlassez)
881108057d Use DownloadManager by DNSUpdater 2016-01-04 05:51:50 +03:00
Vladimir Golovnev (qlassez)
e378a65508 Use DownloadManager by ProgramUpdater
Closes #2023
2016-01-04 05:49:02 +03:00
Vladimir Golovnev (qlassez)
12c151eb69 Save RSS cookies to common cookie storage
Closes #4305
2016-01-04 05:45:30 +03:00
Naikel Aparicio
fa34f0efcc Implemented WebUI interface for the new Watched Folders feature 2016-01-03 22:08:55 +02:00
sledgehammer999
06be9edfe1 Remove watch folders permanently only if the user accepts the Preferences dialog. 2016-01-03 22:08:55 +02:00
sledgehammer999
9c88959651 Make it scroll horizontally when necessary. 2016-01-03 22:08:55 +02:00
sledgehammer999
ecc19ff23e Fix translated string. 2016-01-03 22:08:55 +02:00
sledgehammer999
429a1ba78a Method to update the watch path parameters. 2016-01-03 22:08:55 +02:00
sledgehammer999
990e33a4b1 Don't add the watch folder before the user closes the Preferences window. 2016-01-03 22:08:55 +02:00
sledgehammer999
56ca80eb78 Support loading multiple magnets/hashes/urls per .magnet file in the watched folder(one per line). Closes #217. 2016-01-03 22:08:55 +02:00
Vladimir Golovnev (qlassez)
ed7fb20758 Fix setting custom download location for watched folder 2016-01-03 22:08:55 +02:00
sledgehammer999
bc92f156c1 Improve the "Watch folders" UI. Closes #4300. 2016-01-03 22:08:55 +02:00
sledgehammer999
e9547f7a1c Indicate to the user that he's going to download the new version.
Indicate from the installer that the old version was detected and no settings will be deleted.
Closes #4320.
2016-01-03 17:54:04 +02:00
sledgehammer999
c700b8c5c5 Move the 'qBittorrent-resume' file even when no magnets were recovered. Also make sure to rename it with a unique name. Closes #4334. 2016-01-03 16:26:36 +02:00
sledgehammer999
17f1a7d22a Merge pull request #2885 from evsh/peers-show-files
Add column with list of currently downloading files
2016-01-02 11:48:10 -06:00
sledgehammer999
15652025d3 Update native names for Chinese locales. Closes #4381. 2016-01-02 18:55:36 +02:00
sledgehammer999
ef1261de45 Merge pull request #4441 from naikel/upload_fix
Multiple Torrents Uploads Fix.  Closes #4428
2015-12-31 16:27:03 -06:00
Dmitry Victorov
a564b96ccf Set qBittorrent as default torrent app in Mac OS 2015-12-29 13:54:50 +03:00
sledgehammer999
76c16e0994 Merge pull request #4283 from Chocobo1/travis
[Travis CI] Don't build with Qt4 on OSX
2015-12-28 17:40:16 -06:00
sledgehammer999
719e71264b Merge pull request #4282 from buinsky/master
WebUI: Show filtered torrents number
2015-12-28 17:23:49 -06:00
sledgehammer999
7a0f04e667 Merge pull request #4435 from Chocobo1/crash_fix
Crash fix for #4280
2015-12-27 07:57:02 -06:00
sledgehammer999
bd85ce02da Merge pull request #4438 from glassez/tmpfolder
Fix moving torrents to Temp after app restart. Closes #4434.
2015-12-27 07:33:03 -06:00
buinsky
2691bb1540 Fix paused, active and inactive filters 2015-12-27 09:22:45 +03:00
Naikel Aparicio
c9293dd2d1 Fixed bug when uploading several files and only the last one was considered. 2015-12-26 20:55:13 -04:30
filipporig8
d3b47f45ab Update webui run program parameters 2015-12-24 14:43:28 +01:00
Vladimir Golovnev (qlassez)
30f4036c97 Fix moving torrents to Temp after app restart
Closes #4434
2015-12-23 14:13:49 +03:00
Vladimir Golovnev (Glassez)
405b06319d Move base RSS code to Core. 2015-12-22 14:07:03 +03:00
Vladimir Golovnev (qlassez)
0bffa066db Make DownloadManager to save/load cookies 2015-12-22 14:02:14 +03:00
Chocobo1
edbfff62e8 Fix typo 2015-12-22 12:43:38 +08:00
Chocobo1
deb9a6b37f Simplify statement 2015-12-22 12:40:51 +08:00
Chocobo1
07de39ff17 Add check for null. Fix provided by glassez.
Closes #4280.
2015-12-22 12:39:02 +08:00
sledgehammer999
db459b2400 Merge pull request #3832 from glassez/search
Search Engine code redesign (Issue #2433).
2015-12-21 11:13:38 -06:00
Vladimir Golovnev (Glassez)
ac365c5efb Fix coding style (Issue #2192). 2015-12-20 21:52:26 +03:00
Vladimir Golovnev (Glassez)
54979e6b53 Move basic search-related code into Core.
Also use qBittorrent torrent file download routines instead of
nova2dl.py script.
2015-12-20 19:20:59 +03:00
Eugene Shalygin
768b67d275 Add column with list of currently downloading files
Add a new column to peers list that shows list of files which are
downloaded right now from a peer. The column is empty if we do not
download anything from the given peer.
2015-12-20 01:45:35 +01:00
Eugene Shalygin
0a92cb74a5 functions for retrieving list of currently downloading files 2015-12-20 01:45:35 +01:00
Eugene Shalygin
efed388402 Revert "Remove unused parameter."
This reverts commit 87347cf0e5.
2015-12-20 01:45:35 +01:00
sledgehammer999
e4679a6eaf Merge pull request #4299 from Fale/patch-2
Fix lrelease version due to the default Qt5 build
2015-12-18 09:36:07 -06:00
Fabio Alessandro Locati
981bbae75f Fix lrelease version due to the default Qt5 build
As title
2015-12-18 12:53:31 +01:00
sledgehammer999
c3b4ebdc1b Merge pull request #3960 from Chocobo1/iso3166
Update country codes
2015-12-17 16:51:51 -06:00
sledgehammer999
450b1e75c9 Fix linux build. 2015-12-13 17:29:55 +02:00
sledgehammer999
82e02f7118 Don't apply some settings again if they weren't changed. Closes #4278. 2015-12-13 16:58:32 +02:00
sledgehammer999
2d25edd4d6 Don't recheck twice after 'Force Recheck' with 'Recheck torrents on completion' enabled. Closes #4274. 2015-12-13 14:33:16 +02:00
Chocobo1
fa92a10f15 Turn off warning on OSX builds: unused-local-typedefs
Reorder option list, sort by lt_branch then qt then gui
2015-12-10 21:11:20 +08:00
sledgehammer999
ebe6d1b603 Fix resolution of peer host names. Closes #4307. 2015-12-09 17:52:34 +02:00
d3fault
07599b5923 Add 'never show again' checkbox/pref to auto-exit confirm dialog 2015-12-09 01:01:48 -07:00
Jesse Connop
41dbb82cc2 Always update native session's announce_ip setting 2015-12-08 21:55:34 +13:00
sledgehammer999
39ad4d65e8 Sync translations from Transifex and run lupdate. 2015-12-08 00:15:50 +02:00
sledgehammer999
91a99c6903 Fix possible deadlock during application exit. 2015-12-07 23:59:45 +02:00
sledgehammer999
3e0f8a1e4e Bump WebUI API_VERSION. 2015-12-07 23:59:39 +02:00
sledgehammer999
970e21fc33 Change update URL to FossHub. Closes #4188. 2015-12-07 23:59:34 +02:00
sledgehammer999
9e20553dab Follow project coding style. Issue #2192. 2015-12-07 23:59:28 +02:00
sledgehammer999
87347cf0e5 Remove unused parameter. 2015-12-07 23:59:23 +02:00
buinsky
b10f04abbd WebUI: Show filtered torrents number 2015-12-07 23:27:45 +03:00
Chocobo1
d203f39f0a Update ISO 3166 country codes. Closes #3942. 2015-12-07 09:44:55 +08:00
sledgehammer999
75d4e2a2f2 Merge pull request #4109 from buinsky/master
WebUI: Implement peers tab
2015-12-06 13:34:25 -06:00
buinsky
05a2e5a92e Implement torrent peers table in WebUI 2015-12-06 22:21:28 +03:00
buinsky
00c765be1b Implement sync/torrent_peers request 2015-12-06 22:21:24 +03:00
buinsky
aea6c38b33 Follow project coding style. Issue #2192. 2015-12-06 22:07:47 +03:00
buinsky
1e3a57ad92 Rename 'context_menu' variable to 'torrents_table_context_menu' 2015-12-06 22:07:44 +03:00
buinsky
805f0d4c90 Rename 'myTable' variable to 'torrentsTable' 2015-12-06 22:07:42 +03:00
buinsky
2275060022 Split the DynamicTable class into 2 classes 2015-12-06 22:07:39 +03:00
buinsky
c9b74c2742 Add seeds tab to WebUI 2015-12-06 22:07:37 +03:00
Vladimir Golovnev (Glassez)
8754fd5646 Move Search-related files into Gui. 2015-12-06 21:25:40 +03:00
Vladimir Golovnev (Glassez)
3797cc767f Fix search-related file/class names. 2015-12-06 21:25:40 +03:00
sledgehammer999
2aa8c07d0e Merge pull request #3860 from glassez/base
Rename Core to Base (Closes #3733).
2015-12-06 11:03:51 -06:00
Vladimir Golovnev (Glassez)
9db93e5d8f Rename Core to Base (Closes #3733). 2015-12-06 14:27:00 +03:00
sledgehammer999
29b0200f62 Merge pull request #4269 from glassez/rss_magnet
Fix RSS isn't automarking articles as read. Closes #4260.
2015-12-06 05:16:21 -06:00
Vladimir Golovnev (Glassez)
696ce427a8 Fix RSS isn't automarking articles as read
Closes: #4260, #4233, #4221, #4133
2015-12-06 14:04:31 +03:00
sledgehammer999
17ac4b90be Use simpler DEFINE for detecting Qt5 so moc will work too. 2015-12-05 22:20:49 +02:00
sledgehammer999
623ab03492 Merge pull request #4203 from glassez/hotfixes
Hotfixes
2015-12-05 14:14:13 -06:00
sledgehammer999
b3e4d8487b Add clarifying comment. 2015-12-05 21:22:01 +02:00
sledgehammer999
bae5c6a1db Partially revert b4c9c7cde. 2015-12-05 21:18:52 +02:00
sledgehammer999
658a73e610 Merge pull request #4208 from glassez/upgrade
Improve upgrade to v3.3. Fixes #4195.
2015-12-05 12:14:37 -06:00
Vladimir Golovnev (Glassez)
bdac97147f Improve upgrade to v3.3. Fixes #4195. 2015-12-05 20:38:17 +03:00
sledgehammer999
78462dfa6c Merge pull request #4225 from glassez/export
Improve torrent export feature. Closes #4205.
2015-12-05 11:25:25 -06:00
sledgehammer999
8362cb5e4f Merge pull request #4262 from glassez/scandirs
Fix scan dirs settings saving. Closes #4254, #4239, #4187.
2015-12-05 11:17:41 -06:00
sledgehammer999
ae3c473490 Merge pull request #4250 from Chocobo1/contributing
Add CONTRIBUTING.md
2015-12-05 10:13:36 -06:00
Vladimir Golovnev (Glassez)
8014d74210 Fix scan dirs settings saving. Closes #4254, #4239, #4187. 2015-12-05 17:48:57 +03:00
Chocobo1
71bdd353d3 Add CONTRIBUTING.md 2015-12-05 11:24:01 +08:00
Bert Verhelst
ad7bce76d8 Added stylized icons for the main actions bar
This will look like this:
https://goo.gl/tV7duh
2015-12-04 21:45:12 +01:00
Vladimir Golovnev (Glassez)
7cc5a3e050 Improve torrent export feature. Closes #4205. 2015-12-03 20:18:10 +03:00
Vladimir Golovnev (Glassez)
6bf2c5a946 Remove unused LineEdit slot. Fix compiler warning. 2015-11-30 19:58:19 +03:00
Vladimir Golovnev (Glassez)
9853187051 Fix wrong encoding for listen failed error message. 2015-11-30 19:55:13 +03:00
sledgehammer999
f4ef0633c9 Merge pull request #4170 from vlakoff/filtering-v3
Support wildcards for filtering torrent list and torrent content
2015-11-29 18:13:58 -06:00
sledgehammer999
91c3de4620 Merge pull request #4145 from Chocobo1/misc_fix
Misc fixes
2015-11-29 18:13:39 -06:00
sledgehammer999
6545ba9a35 Merge pull request #4074 from Chocobo1/lineEdit
Use QLineEdit built-in ClearButton
2015-11-29 18:13:19 -06:00
sledgehammer999
797861a9c0 Merge pull request #4059 from Chocobo1/prop_cleanup
Properties widget cleanup
2015-11-29 18:13:05 -06:00
sledgehammer999
8df192e8dd Merge pull request #4051 from takiz/qblabels
"Set as default label" option
2015-11-29 18:12:37 -06:00
sledgehammer999
6f2eccd62f Merge pull request #4015 from naikel/cookies
[WebUI] Add save path, cookies and labels when adding torrents
2015-11-29 18:12:10 -06:00
sledgehammer999
a7777a48e3 Bump to v3.4.0alpha 2015-11-30 00:16:49 +02:00
sledgehammer999
b4c9c7cde4 Delete from the repo the qt4 translations used in the Windows installer. 2015-11-30 00:12:30 +02:00
sledgehammer999
8ad82fc748 Update Changelog. 2015-11-29 21:51:14 +02:00
sledgehammer999
6e5aab7e98 Sync translations from Transifex and run lupdate. 2015-11-29 21:43:11 +02:00
sledgehammer999
fd39efd846 Fix cases where the fastresume was wrongly overwritten when in 'Missing Files' status. Closes #3602. 2015-11-29 18:40:24 +02:00
sledgehammer999
86dba7bd21 Don't rebind listen port on 'network configuration changed' signal when we listen on any address. Closes #4139. 2015-11-29 14:30:49 +02:00
sledgehammer999
ac3b01e02e Merge pull request #4177 from ngosang/webui_color
[WebUI] Change colors in selected filters and torrents.
2015-11-29 06:25:47 -06:00
sledgehammer999
c267036427 Merge pull request #4178 from ngosang/torrentzup
[searchengine] Update Torrentz trackers
2015-11-29 06:16:00 -06:00
sledgehammer999
0a0c8f307b Merge pull request #4175 from glassez/seq_dl
Prevent return cached "sequential download" state. Closes #4167.
2015-11-29 06:15:22 -06:00
Chocobo1
b2bf1b3425 Reduce mainwindow border width 2015-11-29 00:21:08 +08:00
vlakoff
692cac1dc5 Support wildcards for filtering torrent list and torrent content 2015-11-26 19:02:43 +01:00
Vladimir Golovnev (Glassez)
e804e6e91a Prevent return cached "sequential download" state. Closes #4167. 2015-11-26 15:09:11 +03:00
Vladimir Golovnev (Glassez)
67e90d8d2a Make setSequentialDownload/setFirstLastPiecePriority independent. 2015-11-26 15:08:01 +03:00
sledgehammer999
88abe2baff Fix shutdown dialog. Closes #4171. 2015-11-25 18:30:43 +02:00
sledgehammer999
23748547a2 Merge pull request #4150 from glassez/coding_style
Improve CODING_GUIDELINES.md.
2015-11-23 10:19:50 -06:00
sledgehammer999
0b68c2356c Merge pull request #4111 from dpeukert/master
WebUI: Change selected color
2015-11-23 10:18:03 -06:00
sledgehammer999
0aaf4d1050 Update Changelog. 2015-11-22 22:08:33 +02:00
sledgehammer999
ce535c9492 Bump version status. 2015-11-22 22:08:21 +02:00
sledgehammer999
3e6d76245c Bump WebUI API_VERSION. 2015-11-22 22:08:16 +02:00
sledgehammer999
18f3517efa New translation: Esperanto
Also re-run lupdate.
2015-11-22 22:08:10 +02:00
sledgehammer999
09e85900d7 Sync translations from Transifex and run lupdate. 2015-11-22 22:08:04 +02:00
sledgehammer999
6e09028682 Switch to Qt5 by default. 2015-11-22 22:07:59 +02:00
Vladimir Golovnev (Glassez)
59427ed6af Improve CODING_GUIDELINES.md. 2015-11-21 11:25:14 +03:00
Chocobo1
c19e660306 Change text description for half-open connection 2015-11-20 12:08:40 +08:00
Chocobo1
067a8bf108 Fix -1 is displayed instead of C_INFINITY symbol 2015-11-20 12:05:06 +08:00
sledgehammer999
340288f308 Merge pull request #4114 from glassez/fix-4105
Fix default save path for magnet. Closes #4105.
2015-11-18 11:36:12 -06:00
sledgehammer999
b76428420e Merge pull request #4136 from glassez/remove_labels
Fix 'Remove unused labels'. Closes #4066.
2015-11-18 11:07:03 -06:00
sledgehammer999
22d9427e20 Fix reordering of first column with Qt5. Closes #2835. 2015-11-18 18:14:24 +02:00
sledgehammer999
2e3cce6755 Merge pull request #4135 from Chocobo1/speedplot_color
Fix Speed graph legend is illegible on dark background. Closes #4134.
2015-11-18 04:14:32 -06:00
Vladimir Golovnev (Glassez)
3f9b568808 Fix 'Remove unused labels'. Closes #4066. 2015-11-18 12:52:06 +03:00
Chocobo1
a74bac20c4 Fix Speed graph legend is illegible on dark background. Closes #4134. 2015-11-18 14:41:29 +08:00
sledgehammer999
ee6b968f2f Don't save/load the session state. We configure it anyway. 2015-11-17 23:03:56 +02:00
sledgehammer999
00fae05507 Don't ask the user questions in nox build when in non-interactive mode. Closes #3875. 2015-11-17 23:00:33 +02:00
sledgehammer999
9718b7d9ba New view for errored torrents. 2015-11-17 19:29:05 +02:00
sledgehammer999
bf0319f7b2 Fix status string for errored torrents. 2015-11-17 19:18:50 +02:00
sledgehammer999
5b232528cc Fixup previous commit. 2015-11-16 02:58:41 +02:00
dsimakov
1f17a7836d 1. In option window add column 'download path' for watched folders and enlarge heigth.
2. Change logic checkbox in column 'download here': if it checked,
   then torrent file will download to watchdir, if state is unchecked,
   will be use download path from next column.
2015-11-16 02:45:23 +02:00
Vladimir Golovnev (Glassez)
e183c12bed Fix default save path for magnet. Closes #4105. 2015-11-14 09:38:01 +03:00
Daniel Peukert
3901f1555d WebUI: Change selected color
The selected color was little bit too close to the progress bar color.
2015-11-14 00:23:33 +01:00
sledgehammer999
84f6a82d98 Merge pull request #4062 from glassez/speedup
Some TransferListWidget speedup.
2015-11-13 11:14:43 -06:00
Naikel Aparicio
753c9556fd Cookies support on WebUI when downloading torrent from a URL. Modified download and upload windows to allow autocompletion of browsers.
Fixed the spinner in the WebUI upload page. Modified height of the WebUI download page.

Fixed all the JavaScript functions for download and upload pages.
2015-11-10 10:02:20 -04:30
sledgehammer999
100cff1738 Merge pull request #3856 from ngosang/fix_search
[searchengine] Fix invalid plugin message and detect new plugin URL from clipboard
2015-11-10 03:15:59 -06:00
sledgehammer999
d12ab5c048 Sync translations from Transifex and run lupdate. 2015-11-10 01:13:25 +02:00
sledgehammer999
055ad080a1 Pass the alertMask to the session constructor to not lose initial alerts. 2015-11-10 00:23:59 +02:00
sledgehammer999
c771703c34 Merge pull request #3932 from Chocobo1/refactor
Refactor
2015-11-09 15:29:19 -06:00
sledgehammer999
cf1c934083 Merge pull request #3961 from Chocobo1/comment_click
Make URL in "Add Torrent File..." clickable
2015-11-09 15:27:56 -06:00
sledgehammer999
c40bab0555 Merge pull request #4094 from ngosang/webui_ipv6
[WebUI] Patch mootools-more to fix IPv6 problem. Closes #3621
2015-11-09 11:23:25 -06:00
Chocobo1
ccec11e568 Follow project coding style. Issue #2192. 2015-11-09 20:31:50 +08:00
Chocobo1
0eaf991d6f Use QLineEdit built-in ClearButton (Qt5 only) 2015-11-09 20:30:50 +08:00
Chocobo1
fadb208299 Fix compile warning:
warning: enumeration value 'Unknown' not handled in switch [-Wswitch]
2015-11-09 16:14:29 +08:00
Chocobo1
a6d2f5186f Avoid falling through the switch case 2015-11-09 16:10:04 +08:00
ngosang
80f7e7868d [searchengine] Update Torrentz trackers 2015-11-09 04:10:57 +01:00
ngosang
40bdeb6c2d [WebUI] Change colors in selected filters and torrents. 2015-11-09 03:38:37 +01:00
ngosang
e0be09dd81 [WebUI] Patch mootools-more to fix IPv6 problem. Closes #3621 2015-11-09 01:57:40 +01:00
sledgehammer999
45dbfe80a1 Merge pull request #4035 from Chocobo1/reduce_cache
Reduce max value of "Disk cache size"
2015-11-08 04:26:22 -06:00
Chocobo1
db45c11d84 Reduce max value of "Disk cache size" to 1536MB. Closes to #4028. 2015-11-08 13:58:28 +08:00
sledgehammer999
80a9896a4e Merge pull request #4080 from ngosang/privacy
Change personal email
2015-11-07 18:09:50 -06:00
ngosang
9fefdc0fbb Change personal email 2015-11-07 23:40:11 +01:00
Chocobo1
af90eadf71 Cleanup "Content" page layout
Limit lineEdit maximum size
2015-11-07 15:51:29 +08:00
sledgehammer999
a16d0f8d28 Don't connect to "any interface" when the configured network interface is missing. Closes #3943, #2741, #1159, #844 and #143. 2015-11-07 02:06:07 +02:00
sledgehammer999
472fff06dc Merge pull request #3984 from glassez/root_path
Fix TorrentHandle path methods. Closes #3847.
2015-11-06 16:03:48 -06:00
takiz
d336c7c02c "Set as default label" option 2015-11-06 23:43:10 +05:00
Vladimir Golovnev (Glassez)
91ffbfcf68 Some TransferListWidget speedup.
Handle data changed event for all torrents at once.
2015-11-06 08:38:09 +03:00
Chocobo1
7005af3047 Cleanup "Peers" page layout
Cleanup "HTTP Sources" page layout
Cleanup "Speed" page layout
2015-11-05 20:06:38 +08:00
Chocobo1
ff67d29573 Cleanup "Trackers" page layout 2015-11-05 18:37:29 +08:00
sledgehammer999
5cf976bbb2 Better fix for e6b7a429ea. 2015-11-04 23:37:35 +02:00
sledgehammer999
e6b7a429ea Fix reporting of tracker status. Closes #3101. 2015-11-04 19:13:09 +02:00
sledgehammer999
12072e2b69 Always apply filter for manually banned IPs. Related #3988. 2015-11-04 17:15:37 +02:00
sledgehammer999
4cecb585bc Merge pull request #3444 from ngosang/webui_labels
[Web UI] Labels implementation
2015-11-03 16:31:05 -06:00
sledgehammer999
66ce5c2557 Merge pull request #3332 from ngosang/addtrackers2
Automatically add trackers to new downloads. Closes #262
2015-11-02 10:51:59 -06:00
sledgehammer999
f7f23d2ae9 Merge pull request #3809 from ngosang/webui_optim
[Web UI] Code cleanup and little change in contextual menu
2015-11-01 17:38:55 -06:00
sledgehammer999
e204562f4d Merge pull request #4037 from glassez/label
Fix 'Append label to save path'. Closes #4031.
2015-11-01 11:12:16 -06:00
Vladimir Golovnev (Glassez)
c38987fc03 Provide torrent paths to external program. 2015-11-01 17:09:15 +03:00
Vladimir Golovnev (Glassez)
501ab07024 Fix TorrentHandle path methods. Closes #3847. 2015-11-01 17:09:09 +03:00
sledgehammer999
d0ebe08bf5 Merge pull request #3604 from Chocobo1/deletion
Don't remove torrent contents parent folder, even it is empty.
2015-11-01 07:35:03 -06:00
Chocobo1
4fcd107ff3 Don't remove torrent contents parent folder, even it is empty. Closes #2244. 2015-11-01 21:01:55 +08:00
Vladimir Golovnev (Glassez)
25feee2366 Fix 'Append label to save path'. Closes #4031. 2015-11-01 11:26:57 +03:00
sledgehammer999
a39ce57094 Merge pull request #4022 from glassez/vector
Fix PieceAvailabilityBar::intToFloatVector(). Closes #3937.
2015-10-29 15:59:29 -05:00
Vladimir Golovnev (Glassez)
f7150edd44 Fix DownloadedPiecesBar::bitfieldToFloatVector(). 2015-10-29 14:49:01 +03:00
Vladimir Golovnev (Glassez)
be78188691 Fix PieceAvailabilityBar::intToFloatVector(). Closes #3937. 2015-10-29 14:46:43 +03:00
sledgehammer999
c75725e2d8 Fix printing of avg download speed in General button. Closes #4013. 2015-10-28 01:47:01 +02:00
sledgehammer999
9b6122c328 Fix corner case of reseting 'm_hasSeedStatus' in 3a29d70dd5. 2015-10-28 01:46:53 +02:00
sledgehammer999
99ba8a6a53 Merge pull request #3990 from naikel/payload_fix
Changed payload functions from int to qlonglong in TorrentHandle class
2015-10-27 03:48:22 -05:00
sledgehammer999
3a29d70dd5 Correctly set the 'm_hasSeedStatus' parameter on different situations. 2015-10-26 00:53:04 +02:00
Naikel Aparicio
2a2c947602 Changed payload functions from int to qlonglong in TorrentHandle class 2015-10-25 14:29:12 -04:30
sledgehammer999
cd3dc3d645 Merge pull request #3343 from Chocobo1/tx_list
Minor style change in transfer list & filters
2015-10-25 10:09:40 -05:00
sledgehammer999
f74c68e121 React again to finished torrents when previously unselected files have finished downloading. 2015-10-25 17:03:22 +02:00
sledgehammer999
bfd30dcabc Don't put finished torrents in seed_mode.
Seed mode has special function in libtorrent. It is used to skip hash checking when adding a torrent and consider it complete.
2015-10-25 17:03:14 +02:00
Chocobo1
5d3ba06e9d Use thin border for transfer list 2015-10-25 14:06:06 +08:00
Chocobo1
e275c3ba52 Add helper function: Get DPI scaled icon size (device-dependent) 2015-10-25 14:06:06 +08:00
Chocobo1
3335a111e1 Use a larger spacing between filters
Simplify code
2015-10-25 14:06:06 +08:00
sledgehammer999
f7c8a499d5 Unload the GeoIP db when disabled. 2015-10-25 02:54:27 +03:00
sledgehammer999
ad7ad8f596 Faster GeoIP lookups.
QCache results in speed decrease.
See https://github.com/qbittorrent/qBittorrent/pull/3488#issuecomment-124731983
2015-10-25 02:54:19 +03:00
sledgehammer999
ef5b3b90c3 Don't save the GeoIP nodes beforehand.
It saves a lot of memory and isn't much faster.
2015-10-25 02:54:11 +03:00
sledgehammer999
787b824d90 Merge pull request #3323 from Chocobo1/prop_bar
Availability bar, progress bar, button group improvements
2015-10-24 06:45:12 -05:00
Jerome Leclanche
0070dcf550 LICENSE: Fix mixed indenting 2015-10-22 20:17:54 +03:00
Jerome Leclanche
213cefb001 LICENSE: Remove copy/paste error 2015-10-22 20:16:48 +03:00
Chocobo1
7e6dfa759c Replace horizontal line with border 2015-10-22 17:34:22 +08:00
Chocobo1
c6a6f85a5e Use theme color for background in PropertiesWidget 2015-10-22 17:34:22 +08:00
Chocobo1
421b45c553 Add tooltips/legend for availability bar & progress bar 2015-10-22 17:34:22 +08:00
sledgehammer999
0507876080 Merge pull request #3967 from glassez/webui
Cast MaxRatioAction to int when store as JSON. Closes #3939.
2015-10-19 15:15:45 -05:00
Vladimir Golovnev (Glassez)
52db762677 Cast MaxRatioAction to int when store as JSON. Closes #3939. 2015-10-19 21:14:41 +03:00
sledgehammer999
94037cd017 Merge pull request #3949 from netswap/patch-1
[german.nsi] Little fixes
2015-10-19 11:21:56 -05:00
Chocobo1
a16de62103 Make URL in "Add Torrent File..." clickable. Closes #3928. 2015-10-19 11:57:03 +08:00
sledgehammer999
df8def02f5 Merge pull request #3933 from glassez/streamops
Register stream operators for enum classes. Closes #3921.
2015-10-18 15:09:59 -05:00
sledgehammer999
d60f2fc7df Fix another potential crash when memory allocation failed.
See commit e95fce3084.
Related issues #3877 and #2673.
2015-10-17 18:21:33 +03:00
sledgehammer999
cc9ffc4767 Use the actual function names for debug logging. 2015-10-17 17:41:53 +03:00
sledgehammer999
f6a620cf6e Merge pull request #3951 from glassez/const
Fix possible compilation error. Closes #3947.
2015-10-16 04:55:23 -05:00
Vladimir Golovnev
a7cf8cea3f Fix possible compilation error. Closes #3947. 2015-10-16 12:02:47 +03:00
netswap
4cec06e67c [german.nsi] Little fixes
Line 6: "auf dem" instead of "am" (oriented at https://support.microsoft.com/de-de/kb/140443; more commonly used)
Line 41: "aus" instead of "in" (makes more sense imo)

Anyone else fluent in German can discuss for sure. Only because I changed something it does not mean it is *completely* right, eh? ;-)
2015-10-15 22:38:36 +02:00
sledgehammer999
41c953de46 Merge pull request #3938 from glassez/path
Use default save path if save path is not set.
2015-10-14 18:43:43 -05:00
Vladimir Golovnev (Glassez)
986bb1a8ac Use default save path if save path is not set. 2015-10-13 21:58:25 +03:00
Vladimir Golovnev
a7ff38d389 Register stream operators for enum classes. Closes #3921. 2015-10-13 10:39:17 +03:00
Chocobo1
f530bb7537 Fix availability label & progress label clipped on high DPI displays, closes #3237. 2015-10-12 15:34:22 +08:00
Chocobo1
b5adbaef78 Fix availability bar & progress bar height being too small on high DPI displays 2015-10-12 15:12:42 +08:00
sledgehammer999
4a271d358f Merge pull request #3918 from glassez/winfix
Fix compilation on Windows.
2015-10-11 16:26:46 -05:00
Vladimir Golovnev (Glassez)
d9e51c220e Fix compilation on Windows. 2015-10-11 15:07:20 +03:00
sledgehammer999
d413c2061c Merge pull request #3859 from glassez/simplify
Simplify Session/TorrentHandle classes.
2015-10-11 04:19:51 -05:00
sledgehammer999
9646794bb1 Merge pull request #3844 from glassez/added_time
Use libtorrent::torrent_status::added_time (Closes #3764).
2015-10-11 04:14:30 -05:00
Vladimir Golovnev (Glassez)
d40495a4be Simplify Session/TorrentHandle classes. 2015-10-11 08:05:57 +03:00
Vladimir Golovnev (Glassez)
b63a68c9db Use libtorrent::torrent_status::added_time (Closes #3764). 2015-10-11 07:58:56 +03:00
sledgehammer999
1ba1f90058 Merge pull request #3845 from glassez/drop_unused
Drop unused TorrentHandle methods.
2015-10-10 13:06:10 -05:00
sledgehammer999
8d025949d9 Merge pull request #3838 from glassez/wswitch
Fix compiler warnings (Closes #3826).
2015-10-10 13:01:27 -05:00
sledgehammer999
4291a08d47 Merge pull request #3649 from glassez/savepathlabel
Fix 'Append label to save path'. Closes #3495.
2015-10-10 12:45:20 -05:00
sledgehammer999
3eac05b229 Fix broken .desktop file icon for some locales. See #3905. 2015-10-09 17:53:26 +03:00
sledgehammer999
e39f8fafb1 Bump WebUI API_VERSION. 2015-10-09 16:46:20 +03:00
sledgehammer999
50b9438fb6 Cleaner way to disable linux qt5 builds on Travis. 2015-10-09 06:01:14 +03:00
sledgehammer999
357dfca3e0 Optimize text color for dark themes v2. Closes #3815. 2015-10-09 02:05:15 +03:00
sledgehammer999
8f8218c515 Fix Qt5 nox build on non-Windows. 2015-10-07 21:29:21 +03:00
sledgehammer999
10e3009c46 Enable Qt5 compilation for OS X on Travis. 2015-10-07 21:29:16 +03:00
sledgehammer999
cc5a737836 Fix Coverity Scan builds. 2015-10-05 23:39:43 +03:00
sledgehammer999
19ad58c394 Merge pull request #3685 from glassez/cpp11
Add C++11 support.
2015-10-05 11:53:42 -05:00
sledgehammer999
8a905bed5d Merge pull request #3879 from Chocobo1/avail_bar_crash
Fix potential crash when memory allocation failed. Closes #3877.
2015-10-05 11:30:23 -05:00
sledgehammer999
f781cc18a6 Merge pull request #3852 from ngosang/filemanagers
Fix Konqueror detection in Plasma (KDE5)
2015-10-05 04:09:57 -05:00
sledgehammer999
db174614f2 Add forum link in README. Closes #3853. 2015-10-04 22:30:44 +03:00
sledgehammer999
b9a061680d Fix broken donation link. Closes #3771. 2015-10-04 22:26:56 +03:00
sledgehammer999
63df3090d5 Fix python detection when the 'Anaconda' software is installed. Closes #3731. 2015-10-04 12:10:07 +03:00
sledgehammer999
ff8ff72eab Merge pull request #3863 from netswap/patch-1
[german.nsi] Added letter "p"
2015-10-04 03:37:30 -05:00
sledgehammer999
8b547644b0 Merge pull request #3165 from Chocobo1/rss_sort
Sort labels in RSS Downloader dialog
2015-10-03 18:52:46 -05:00
Chocobo1
8605c4d4d3 Follow project coding style. Issue #2192. 2015-10-02 04:17:27 +08:00
Chocobo1
e95fce3084 Fix potential crash when memory allocation failed. Closes #3877. 2015-10-02 04:08:24 +08:00
Chocobo1
cf91685f6f Sort labels in RSS Downloader dialog, closes #3140. 2015-09-28 00:30:43 +08:00
netswap
e3e3f9a745 Added letters
The letter "p" was missing in "Dateiverknüpfung" in line 47 & 49
2015-09-26 15:05:36 +02:00
ngosang
6a1497de92 [searchengine] Detect new plugin URL from clipboard 2015-09-25 11:15:41 +02:00
ngosang
fc65ba4ced [searchengine] Fix invalid plugin message 2015-09-24 18:17:50 +02:00
ngosang
73fb0a6309 Fix Konqueror detection in Plasma (KDE5) 2015-09-24 15:53:44 +02:00
Vladimir Golovnev (Glassez)
2a411987db Bump minimum supported version of gcc to 4.8. 2015-09-24 13:26:25 +03:00
sledgehammer999
79617949c1 Merge pull request #3849 from ngosang/fix_rss_crash
Fix RSS crash when deleting RSS feeds. Closes #3846
2015-09-23 17:04:45 -05:00
ngosang
c3921ce2fe Fix RSS crash when deleting RSS feeds. Closes #997, #2152, #2461, #3718, #3747, #3766, #3806, #3814, #3829 and #3846. 2015-09-23 23:51:39 +02:00
Vladimir Golovnev (Glassez)
228f51fff9 Drop unused method TorrentHandle::firstFileSavePath(). 2015-09-23 21:55:04 +03:00
Vladimir Golovnev (Glassez)
08ee439a47 Drop unused method TorrentHandle::savePathParsed(). 2015-09-22 20:39:09 +03:00
Vladimir Golovnev (Glassez)
1a67282dd3 Fix Qt4 qmake warning (unknown QT: concurrent). 2015-09-22 19:34:07 +03:00
Vladimir Golovnev (Glassez)
d2f1216987 Fix compiler warnings (Closes #3826). 2015-09-21 11:45:40 +03:00
Vladimir Golovnev (Glassez)
b519700e33 Use c++11 enum classes instead of macros. 2015-09-18 08:33:22 +03:00
Vladimir Golovnev (Glassez)
12d9898b5d Enable c++11 support. 2015-09-18 08:33:12 +03:00
sledgehammer999
ef39fb0709 Merge pull request #3811 from ngosang/rss_refresh
[RSS] Removes refresh message when adding a new feed
2015-09-17 18:09:59 -05:00
sledgehammer999
f068f63f0d Merge pull request #3745 from cbodley/webui-savepath
RFC: [Web UI] add save_path to /query/torrents and /sync/maindata
2015-09-17 17:14:44 -05:00
sledgehammer999
57ca831d4d Merge pull request #3730 from Gelmir/rss_save
Couple o' fixes to RSS
2015-09-17 17:02:27 -05:00
ngosang
093c5d84d2 [RSS] Removes refresh message when adding a new feed 2015-09-17 19:17:52 +02:00
ngosang
e922275c72 [Web UI] Clean up JavaScript code 2015-09-17 17:48:38 +02:00
ngosang
52ff53b0b0 [Web UI] Reorder "Super seeding mode" option in right click menu 2015-09-17 17:22:09 +02:00
Chocobo1
65d3ca8c3f Capitalize items 2015-09-17 18:08:12 +08:00
Chocobo1
a16c264aa3 RSS Downloader dialog cleanup 2015-09-17 18:08:12 +08:00
sledgehammer999
4642a35de7 Don't limit the number of torrents that can be announced to the tracker/dht/lsd. Closes #3473. 2015-09-16 22:03:20 +03:00
sledgehammer999
50822a7476 Merge pull request #3071 from ppolewicz/interface_bind_fixes
Interface bind fixes
2015-09-16 13:04:52 -05:00
Pawel Polewicz
f108e67dcc Call setListeningPort() when state of network interface changes (closes qbittorrent/qBittorrent#475, closes qbittorrent/qBittorrent#3072) 2015-09-16 14:32:49 +02:00
Pawel Polewicz
fb22940639 Small refactor in Session::setListeningPort() 2015-09-16 14:32:49 +02:00
ngosang
9c7bb08a03 Automatically add trackers to new downloads. 2015-09-16 11:43:57 +02:00
sledgehammer999
b4680e82b7 Merge pull request #3765 from jsayol/patch-1
Allow adding torrent link from Torcache
2015-09-15 18:52:53 -05:00
sledgehammer999
cbf683878a Show current label in the torrent context menu. Closes #3776. 2015-09-16 02:43:48 +03:00
Josep Sayol
fd5d3d0a48 Allow adding torrent link from Torcache
Recent changes in Torcache prevent adding (or drag-and-dropping) a torrent link into qBittorrent. Modifying DownloadManager to always spoof the HTTP Referer header to the file itself being downloaded solves this.
2015-09-16 05:08:53 +07:00
sledgehammer999
5cb022c7b1 Merge pull request #3736 from Chocobo1/option
Cleanup in options_imp
2015-09-15 17:03:45 -05:00
sledgehammer999
145950e766 Optimize text color for dark themes. Closes #3633. 2015-09-15 23:23:49 +03:00
sledgehammer999
8bde7d45b8 Try to avoid loading a corrupted configuration file. Also log errors encountered while saving/loading the configuration. Closes #3503. 2015-09-14 02:23:13 +03:00
Chocobo1
e0935fe14f Follow project coding style. Issue #2192. 2015-09-10 15:24:38 +08:00
Chocobo1
c27aa7723e Options GUI layout cleanups: Speed Page
Move uTP options to it's own section
2015-09-10 15:24:38 +08:00
Casey Bodley
87b26a8dcc webui: add save_path to /query/torrents
Signed-off-by: Casey Bodley <cbodley@gmail.com>
2015-09-07 16:25:07 -04:00
sledgehammer999
0b2b07e98e Sync translations from Transifex and run lupdate. 2015-09-04 23:30:39 +03:00
sledgehammer999
581d544f61 Fix typos. Make ìTP untranslatable. Use American variation of words. Closes #3654. 2015-09-04 23:14:02 +03:00
sledgehammer999
aa5fbd461f Merge pull request #3734 from ngosang/rss_sidebar
Fix RSS panel position not saved. Closes #3732
2015-09-04 13:53:05 -05:00
sledgehammer999
5394b77086 Merge pull request #3725 from Chocobo1/osx
TravisCI: build on osx
2015-09-03 03:24:27 -05:00
Chocobo1
7028c2712a Reorder code in options_imp::loadOptions() according to GUI layout 2015-09-03 15:19:05 +08:00
Chocobo1
89be63da02 TravisCI: build on osx 2015-09-03 12:51:54 +08:00
ngosang
4f504f597d Fix RSS panel position not saved 2015-09-03 04:45:47 +02:00
ngosang
a9e9a9c835 [Web UI] Changes in labels implementation 2015-09-03 03:16:07 +02:00
Felipe Barriga Richards
4ae2f6c33b webui (js): feature: Added complete support for labels (add/set/reset/display/filter) #648
Changes:
- added list of labels on the lower-left corner
- added support to add/set/reset labels on context menu
- added support to filter torrents by label
2015-09-03 03:16:07 +02:00
Felipe Barriga Richards
76d93c23b7 webui (c++): feature: added labels support. #648 2015-09-03 03:16:07 +02:00
sledgehammer999
9d051ea523 Merge pull request #3713 from ngosang/translate_countries
Allows translation of country names. Closes #3710
2015-09-02 16:48:14 -05:00
sledgehammer999
ff279681ac Merge pull request #3599 from pmzqla/strings
Misc translatable strings changes
2015-09-02 16:47:20 -05:00
Gabriele
5cc5552d9b Use infinity symbol rather than -1 for nb_connections 2015-09-02 23:34:17 +02:00
Gabriele
42c74f9553 Avoid concatenation when dealing with translatable strings
Concatenation could be problematic with RTL languages.
2015-09-02 23:34:17 +02:00
Gabriele
420fa82e8d Put some string placeholders between quotes 2015-09-02 23:26:19 +02:00
sledgehammer999
70f2086202 Merge pull request #3567 from ngosang/rssfixes
[RSS] Several changes in RSSs. Closes #3560
2015-09-02 14:24:25 -05:00
ngosang
ee21562426 [RSS] Handle more types of RSS feeds 2015-09-02 20:10:44 +02:00
ngosang
b6c707c080 [RSS] Simplify string translation 2015-09-02 20:00:38 +02:00
ngosang
2eaeead67c [RSS] Allow multiple selection in RSS torrents list 2015-09-02 19:36:45 +02:00
ngosang
7c7da44622 [RSS] Don't hide the elements in Unread list when clicked 2015-09-02 19:12:39 +02:00
ngosang
7c6da30705 [RSS] More precise message and code simplification in RSS feeds deletion 2015-09-02 19:12:32 +02:00
ngosang
2955bb5488 [RSS] Improve error handling when a RSS feed doesn't contain torrents 2015-09-02 19:06:33 +02:00
ngosang
b78ccf289e [RSS] Fix contextual menu in RSS torrents list 2015-09-02 19:01:59 +02:00
ngosang
b9b7786477 [RSS] Trim elements text in RSS articles 2015-09-02 18:51:39 +02:00
ngosang
c3592304b6 [RSS] Handle magnet links as torrents instead of news URLs. Closes #3560 2015-09-02 18:51:39 +02:00
Nick Tiskov
2442411a5e Fix: Adding RSS rule with a new label doesn't add this label to UI. 2015-08-31 02:12:02 +03:00
Nick Tiskov
f5c0cddea5 Fix: Label changes to first item in RSS rule list are forgotten, because checkRegex calls updateMustLineValidity, which saves the rule before new label can be applied. 2015-08-31 01:48:30 +03:00
sledgehammer999
51e0e485f4 Merge pull request #3592 from pmzqla/favicon
Try to download favicon.png when the download of favicon.ico fails
2015-08-30 15:35:53 -05:00
Gabriele
3889b4c101 Try to download favicon.png when the download of favicon.ico fails
This was done only when favicon.ico couldn't be decoded, but not when
favicon.ico could not be downloaded at all.
2015-08-30 22:28:06 +02:00
sledgehammer999
247ba02bb8 Merge pull request #3586 from pmzqla/configure
configure: don't depend on GNU sed
2015-08-30 13:52:34 -05:00
sledgehammer999
25c6d8bf6b Merge pull request #3561 from pmzqla/proxy-torrent
Add an option to allow the use of proxies only for torrents
2015-08-30 12:38:16 -05:00
sledgehammer999
cf72318d74 Merge pull request #2633 from Chocobo1/my_dev2
Fix wrong default download directory in Windows. Closes #2625.
2015-08-30 10:59:24 -05:00
Gabriele
a8c05ca02e Add https_proxy env variable
This forces Python to use the HTTP proxy for HTTPS connections.
2015-08-30 17:46:12 +02:00
Gabriele
1c8abd5c3b Add an option to allow the use of proxies only for torrents
Closes #2701.
2015-08-30 17:46:11 +02:00
Chocobo1
6ebe3897fb Fix wrong default download directory in Windows. Closes #2625. 2015-08-30 23:45:34 +08:00
sledgehammer999
9faa44eabf Merge pull request #3581 from pmzqla/redirect
DownloadManager: fix downloads after a redirection
2015-08-30 09:43:18 -05:00
sledgehammer999
f81ffdb78e Merge pull request #3644 from Chocobo1/graph_btn
Change "Select Graphs" from QToolButton to QComboBox
2015-08-30 08:59:00 -05:00
Chocobo1
2997c0fd1e Change "Select Graphs" from QToolButton to QComboBox 2015-08-30 21:38:05 +08:00
sledgehammer999
193d273f00 Merge pull request #3636 from Chocobo1/moveOption_del
Move option "Confirm torrent deletion" to Behavior page
2015-08-30 08:34:54 -05:00
Chocobo1
e54cd8499e Move option "Confirm torrent deletion" to Behavior page 2015-08-30 21:28:16 +08:00
ngosang
c984902fbf Allows translation of country names 2015-08-30 15:09:15 +02:00
sledgehammer999
45cbf4bf25 Merge pull request #3481 from Chocobo1/moveOption
Move option "Ignore transfer limits on local network" to Speed page
2015-08-30 07:58:30 -05:00
Chocobo1
2204f27de1 Follow project coding style. Issue #2192. 2015-08-30 20:35:33 +08:00
sledgehammer999
735b1cc6b9 Merge pull request #3470 from ngosang/reorder_buttons
Change Queue buttons order in the Toolbar (GUI & Web UI)
2015-08-30 07:10:20 -05:00
sledgehammer999
a0da4a844c Merge pull request #3625 from Chocobo1/native_path
Use native path separators
2015-08-30 07:07:58 -05:00
sledgehammer999
45ef98b077 Update ax_boost_base.m4 to fix ppc64le detection. 2015-08-30 04:50:30 +03:00
sledgehammer999
ef7de49ec8 Fix dolphin detection for KDE5. 2015-08-29 23:49:14 +03:00
sledgehammer999
e937344761 Fix a bug with highlighting selected file on Windows. Closes #3185. 2015-08-29 23:49:09 +03:00
sledgehammer999
f3c3912923 Merge pull request #2544 from pmzqla/select-destination
Select the file of single file torrents when opening the destination folder
2015-08-29 12:49:52 -05:00
Gabriele
e728710430 Select the file of single file torrents when opening destination folder
Also, add the support for Nautilus (Gnome 3), Caja and Nemo.
2015-08-29 16:09:22 +02:00
sledgehammer999
ddd6533812 Merge pull request #3701 from onto/master
SpeedPlotView: fix render graphs with zero speed
2015-08-29 07:28:02 -05:00
Anton Lashkov
0d74131edd SpeedPlotView: fix render graphs with zero speed 2015-08-29 11:24:51 +04:00
Chocobo1
cf3a87ed55 Use native path separators, fixup of 030dd9e, 3baec1c. 2015-08-29 14:17:21 +08:00
sledgehammer999
632cba8b30 Merge pull request #3638 from Fale/patch-1
Fix minimum libtorrent-rasterbar version
2015-08-17 15:49:46 -05:00
Vladimir Golovnev (Glassez)
0afa4d260c Fix 'Append label to save path'. Closes #3495. 2015-08-17 18:37:00 +03:00
Fabio Alessandro Locati
3f2303a479 Fix minimum libtorrent-rasterbar version
as title
2015-08-17 10:13:20 +02:00
Gabriele
7bfa847d01 configure: don't depend on GNU sed
Closes #3169.
2015-08-07 00:11:42 +02:00
sledgehammer999
331219dda8 Write BOM to german.nsi. Closes #3574, #3566 2015-08-05 23:24:21 +03:00
Gabriele
b2df917011 DownloadManager: fix downloads after a redirection
Closes #3580.
2015-08-05 21:41:57 +02:00
Chocobo1
b727ce3b29 Remove filters frame 2015-08-05 12:56:23 +08:00
Chocobo1
0e1eaa518b Alignment cleanup 2015-08-05 12:56:23 +08:00
sledgehammer999
f893131b8d Less verbose compilation output. Closes #3565. 2015-08-04 19:17:01 +03:00
sledgehammer999
2ec1d9e39e New translation: Slovenian
Also re-run lupdate.
2015-08-04 19:14:02 +03:00
sledgehammer999
bd2f9e436c Sync translations from Transifex and run lupdate. 2015-08-04 19:03:32 +03:00
sledgehammer999
ea38e4da4d Merge pull request #2699 from pmzqla/copyurl-search
Add "Copy description page URL" button in search tab
2015-08-04 18:45:31 +03:00
Gabriele
4d66a0929c Add "Copy description page URL" button in search tab
Closes #2371.
2015-08-04 11:18:46 +02:00
sledgehammer999
0520f01510 Merge pull request #3550 from Chocobo1/title_fix
Add back "qBittorrent" in program updater title, closes #3549.
2015-08-04 11:53:03 +03:00
Chocobo1
deaf322740 Add back "qBittorrent" in program updater title, closes #3549. 2015-08-04 13:07:14 +08:00
sledgehammer999
929cd30e33 Merge pull request #3517 from glassez/strict_aliasing
Fix strict-aliasing warning.
2015-08-03 02:50:22 +03:00
sledgehammer999
eef2a0a200 Merge pull request #3537 from ngosang/fixwarnings
Fix 3 compiler warnings
2015-08-02 16:10:24 +03:00
ngosang
fbb47ce08f Fix 3 compiler warnings 2015-08-02 14:22:47 +02:00
sledgehammer999
f746760ccf Merge pull request #3505 from pmzqla/search-close
searchengine: fix crash when a tab with a running search is closed
2015-08-02 15:21:30 +03:00
Gabriele
67c0f47928 searchengine: remove size constraints to search button 2015-08-02 14:04:11 +02:00
Gabriele
7c00e80f7a searchengine: use kill() instead of terminate() on Windows 2015-08-02 14:04:11 +02:00
Gabriele
3a9cf70228 searchengine: use a single string for the search results number label 2015-08-02 14:04:11 +02:00
Gabriele
0f35bac605 searchengine: don't use strings to determine the status of search processes
'&' symbols are dynamically added to strings, making comparisons
unreliable.
2015-08-02 14:04:07 +02:00
Gabriele
1b24feb4f4 searchengine: drop unused flag and related code 2015-08-02 13:53:12 +02:00
Gabriele
ee8a492954 searchengine: fix crash when closing tab with running search
If a tab is closed, the search process gets terminated. This can take
a while and by the time searchFinished() is executed, activeSearchTab
is null, leading to a crash. Fix this by waiting for the process to
terminate and make sure activeSearchTab is not null when used.
2015-08-02 13:49:42 +02:00
sledgehammer999
e3cb9de365 Bump minimum libtorrent version required to 1.0.6. 2015-07-31 23:29:59 +03:00
sledgehammer999
a217988dbb Merge pull request #3515 from glassez/parser
Fix HTTP header parsing. Closes #3511.
2015-07-31 02:38:04 +03:00
sledgehammer999
81c6de48dc Don't use geoip for Travis CI. 2015-07-30 23:45:35 +03:00
sledgehammer999
1217d8d021 Merge pull request #3497 from Chocobo1/ext_param_early
Fix "Run External Program Launches too Early" issue
2015-07-30 11:28:08 +03:00
sledgehammer999
3362766cb5 Merge pull request #3512 from Chocobo1/travis
Migrate TravisCI to container-based infrastructure
2015-07-30 11:27:29 +03:00
Vladimir Golovnev (Glassez)
34da3e653d Fix strict-aliasing warning. 2015-07-30 09:38:25 +03:00
Vladimir Golovnev (Glassez)
ddb5c0052d Fix HTTP header parsing. Closes #3511. 2015-07-30 08:57:52 +03:00
Chocobo1
a8f0acecb7 Migrate TravisCI to container-based infrastructure, closes #3506. 2015-07-30 12:02:00 +08:00
sledgehammer999
8f1f57afe4 Remove obsolete Boost configurations. 2015-07-30 01:51:55 +03:00
sledgehammer999
0209a9f41d Merge pull request #3228 from Chocobo1/win_build
Compilation on windows
2015-07-30 00:21:11 +03:00
sledgehammer999
bf3a6d1c20 Merge pull request #3455 from Chocobo1/label_fix
Fix '&' character in label name becomes accelerator key, closes #3454.
2015-07-29 23:30:25 +03:00
sledgehammer999
256793aad7 Merge pull request #3447 from glassez/filters
Fix label filter. Closes #3429.
2015-07-29 23:28:47 +03:00
sledgehammer999
a56c21551d Merge pull request #3458 from Chocobo1/path_fix
Use `rootPath()` in save path field
2015-07-29 23:24:51 +03:00
sledgehammer999
fce3a2d5c0 Merge pull request #3457 from Chocobo1/ext_param
Add more "Run External Program" parameters
2015-07-29 23:17:19 +03:00
sledgehammer999
675298bc73 Merge pull request #3483 from glassez/bandwidth
Fix Bandwidth Scheduler. Closes #3376.
2015-07-29 22:28:22 +03:00
sledgehammer999
6985b553af Merge pull request #3494 from glassez/drop_libtorrent_0
Drop libtorrent 0.16.x support.
2015-07-29 22:15:45 +03:00
Gabriele
885eb64df3 Follow project coding style. Issue #2192. 2015-07-29 19:58:22 +02:00
Chocobo1
2ce9aa20a5 Fix "Run External Program Launches too Early" issue, closes #2107. 2015-07-28 18:21:56 +08:00
Chocobo1
be34f29b05 Fix warnings by qmake -Wall, cleanups 2015-07-28 16:55:01 +08:00
Chocobo1
077e94342f Add path to openssl, cleanups 2015-07-28 16:55:01 +08:00
Chocobo1
09d7d9a360 Update .gitignore 2015-07-28 16:55:01 +08:00
sledgehammer999
438ee23d2c Bump version status. 2015-07-28 03:07:42 +03:00
sledgehammer999
4f2d74f793 Merge pull request #3374 from ngosang/webui_info
[Web UI] Add information in General tab
2015-07-28 03:03:45 +03:00
sledgehammer999
0e62a52e59 Merge pull request #3493 from ngosang/python
Improve Python detection
2015-07-28 02:59:25 +03:00
sledgehammer999
369561f8f7 Fix typo in string which prevents word substitution. 2015-07-28 02:05:29 +03:00
ngosang
69812bbf18 Converts the string "Seeded for" to lowercase 2015-07-26 14:33:11 +02:00
ngosang
e33570625f [Web UI] Fix friendlyUnit() implementation. Related to #2719 2015-07-26 14:31:11 +02:00
ngosang
2132704e1d [Web UI] Add information in General tab 2015-07-26 14:27:59 +02:00
ngosang
38a6f4cc34 Improve Python detection 2015-07-26 14:15:40 +02:00
sledgehammer999
626a3b10d3 [webui] Fix ugly 'C++' wrapping in About dialog. 2015-07-26 00:35:04 +03:00
sledgehammer999
c7fa778732 Merge pull request #2702 from pmzqla/rss-count
Add count of unread items to RSS tab label
2015-07-26 00:29:47 +03:00
Vladimir Golovnev (Glassez)
e72cc4eaf9 Drop libtorrent 0.16.x support. 2015-07-25 19:00:18 +03:00
Gabriele
c48407e038 Add count of unread items to RSS tab label
Closes #2681.
2015-07-25 11:57:03 +02:00
sledgehammer999
7c7bb14a93 Sync translations from Transifex and run lupdate. 2015-07-25 03:24:44 +03:00
sledgehammer999
f9dc76928c Merge pull request #3467 from ngosang/webui_refresh
[Web UI] Massive increase in performance.
2015-07-23 01:17:57 +03:00
sledgehammer999
5b7ea0e611 Merge pull request #3186 from glassez/geoip
New GeoIP manager.
2015-07-22 23:59:00 +03:00
sledgehammer999
5437674fdf Fix installing search plugin by drag-n-dropping file. 2015-07-22 23:29:57 +03:00
sledgehammer999
21f18d015d Fix installing search plugin from local file. 2015-07-22 23:29:50 +03:00
sledgehammer999
47d9c12f4b Fix segfault on Linux due to early initialization of global var.
Utils::Misc::pythonVersion() gets called before the Logger is initialized.
2015-07-22 23:29:43 +03:00
sledgehammer999
f6bbd9377f Improve checks for python. Print python version and path to log. 2015-07-22 23:29:35 +03:00
Chocobo1
3baec1c327 Add more "Run External Program" parameters, closes #3053, #238, #1291, #1522. 2015-07-22 15:25:31 +08:00
Chocobo1
bd657fe9ae Move option "Ignore transfer limits on local network" to Speed page 2015-07-22 14:52:24 +08:00
Vladimir Golovnev (Glassez)
64ebc5cfd6 Fix Bandwidth Scheduler. Closes #3376. 2015-07-22 08:54:23 +03:00
Vladimir Golovnev (Glassez)
84922dcdcf Fix need restart to enable/disable peer countries resolution. 2015-07-22 08:07:13 +03:00
Vladimir Golovnev (Glassez)
79976fbfce Implement new GeoIPManager class. 2015-07-22 08:06:51 +03:00
Vladimir Golovnev (Glassez)
c702a7e426 Improve DownloadManager.
Now we can use downloaded data directly without saving to file.
We also can disable redirection to Magnet URI handling (useful for
non-torrent files downloading).
2015-07-21 09:50:39 +03:00
Vladimir Golovnev (Glassez)
336519b7b5 Move compression functions to Utils::Gzip. 2015-07-21 09:37:32 +03:00
sledgehammer999
dfb2f8b3b3 Merge pull request #3469 from ngosang/search_py32
[search engine] Fix cpu_count in old Python versions
2015-07-21 01:58:01 +03:00
sledgehammer999
8b99e29dc0 Fixup previous commits on python search. 2015-07-21 01:56:14 +03:00
sledgehammer999
d6af4683bb Merge pull request #2624 from pmzqla/python
Prefer python3 over python2
2015-07-21 01:55:14 +03:00
ngosang
32c813eece [search engine] Fix cpu_count in old Python versions 2015-07-20 19:12:58 +02:00
ngosang
03f86a71de Change Queue buttons order in the Toolbar (GUI & Web UI) 2015-07-20 04:44:29 +02:00
ngosang
2db942e606 [Web UI] Massive increase in performance. 2015-07-20 02:13:44 +02:00
sledgehammer999
6668018b45 Static order of items in the transferlist menu. 2015-07-20 02:48:11 +03:00
sledgehammer999
f21cafb605 Merge pull request #3410 from ngosang/preview
Minor changes in the GUI (Preview file & Forece Resume)
2015-07-20 02:46:40 +03:00
sledgehammer999
3864a7fdc6 Fix compiler warning for unused variable. 2015-07-20 00:13:18 +03:00
Chocobo1
ff8f37b262 Save trimmed string in preference 2015-07-20 01:16:15 +08:00
sledgehammer999
783f17ec4d Merge pull request #3456 from Chocobo1/localhost
Fix translated localhost address (::ffff:127.0.0.1) is not recognized
2015-07-19 19:37:59 +03:00
sledgehammer999
46a0eb4aa4 Update Changelog. 2015-07-19 19:34:54 +03:00
sledgehammer999
2de5390c08 Merge pull request #3433 from ngosang/webui_extlinks
[Web UI] Open external links in a new window/tab
2015-07-19 18:57:59 +03:00
sledgehammer999
bfaa0789f0 Merge pull request #3428 from ngosang/webui_queuenum
[Web UI] Fix sort by queue number
2015-07-19 18:52:18 +03:00
sledgehammer999
eb73e7c1d4 Merge pull request #3150 from ngosang/add_peer_dialog
Add multiple peers in Peers addition dialog. Closes #1563, #2245, #3133, #1419, #3287, #1419
2015-07-19 18:33:10 +03:00
ngosang
63ed69789b Allow to copy all peers with a keyboard shortcut 2015-07-19 13:04:30 +02:00
sledgehammer999
983c19eb29 Merge pull request #2676 from pmzqla/copytrackers
Allow to copy all the trackers with a keyboard shortcut
2015-07-19 14:04:28 +03:00
ngosang
cef3c9a34d Add multiple peers in Peers addition dialog. Closes #1563, #2245, #3133, #1419, #3287, #1419 2015-07-19 13:04:00 +02:00
Chocobo1
030dd9eed8 Use rootPath() in save path field 2015-07-19 18:17:28 +08:00
Chocobo1
6721363f8c Resave in Qt designer 2015-07-19 16:04:25 +08:00
Chocobo1
8bb2e98b90 Fix localhost address (::ffff:127.0.0.1) is not recognized when connecting to WebUI 2015-07-19 14:48:58 +08:00
Chocobo1
58b600198f Fix '&' character in label name becomes accelerator key, closes #3454. 2015-07-19 13:41:44 +08:00
sledgehammer999
5281593bb6 Fix qt5 compilation with QtConcurrent. 2015-07-18 21:06:50 +03:00
sledgehammer999
0b20794672 Fixup speedwidget code. 2015-07-18 19:31:51 +03:00
sledgehammer999
8dd7014af6 Merge pull request #2757 from onto/master
Upload/download speed graph widget.
2015-07-18 19:30:29 +03:00
Anton Lashkov
7b736b6ae3 Add speedwidget based on QGraphicsView 2015-07-18 00:54:36 +04:00
Vladimir Golovnev (Glassez)
d475ab3881 Fix label filter. Closes #3429. 2015-07-16 14:39:25 +03:00
sledgehammer999
b26724d12b Merge pull request #3437 from ngosang/extratorrent
[search engine] Remove the word 'torrent' in ExtraTorrent results
2015-07-16 00:47:23 +03:00
sledgehammer999
3d71ea5bc0 Merge pull request #3431 from Chocobo1/announce
DHT announce
2015-07-16 00:16:44 +03:00
ngosang
1f4d01e512 [Web UI] Changes in Force Resume icon and menu order 2015-07-15 23:12:12 +02:00
ngosang
9dbb2720b0 Changes in Force Resume icon and menu order 2015-07-15 22:46:24 +02:00
ngosang
808f07250e Minor changes in Preview File dialog 2015-07-15 22:46:24 +02:00
sledgehammer999
ed45ff89f8 Merge pull request #2861 from DoumanAsh/search_status_tab
Search status tab
2015-07-15 23:07:59 +03:00
sledgehammer999
d59440f99e Fix printing of the copyright symbol in the About dialog. 2015-07-15 22:45:13 +03:00
sledgehammer999
b80ced2b3a Don't add a torrent which doesn't have a matching .torrent file to its .fastresume file. Closes #3346. 2015-07-15 21:01:07 +03:00
Chocobo1
8873900df3 Also reannounce to DHT when "Force reannounce to all trackers" is selected 2015-07-15 07:05:04 +08:00
Chocobo1
4d6bde9731 Remove announce to DHT after editing tracker list 2015-07-15 07:05:04 +08:00
Chocobo1
fb1772f019 Rewrite TrackerList::reannounceSelected(), now it can force reannounce DHT 2015-07-15 07:05:04 +08:00
ngosang
cc503b36e8 [search engine] Remove the word 'torrent' in ExtraTorrent results 2015-07-15 00:27:09 +02:00
ngosang
0fe99fe10f [Web UI] Open external links in a new window/tab 2015-07-14 12:16:01 +02:00
DoumanAsh
e2aa8056af Search status uses tab's status 2015-07-14 09:03:27 +03:00
ngosang
10bba1a632 [Web UI] Fix sort by queue number 2015-07-14 01:48:05 +02:00
sledgehammer999
5e400d3117 Merge pull request #3377 from BlaXpirit/recheck-confirmation-setting
Implement an option to disable confirmation of torrent recheck
2015-07-14 00:32:53 +03:00
sledgehammer999
39e0c560cf Update color scheme of completed.png icon. 2015-07-13 23:44:55 +03:00
sledgehammer999
bf13238ccf Merge pull request #3385 from ngosang/webui_addtracker
[Web UI] Fix empty trackers addition
2015-07-13 23:37:14 +03:00
sledgehammer999
5b56717501 Merge pull request #3394 from ngosang/json3
[Web UI] Fix API Content Types. Closes #3393
2015-07-13 23:36:34 +03:00
sledgehammer999
de84bb9824 Merge pull request #3407 from glassez/seqdl
Fix restore sequential download state.
2015-07-13 23:35:17 +03:00
DoumanAsh
496f843016 Replace indent to 4 spaces 2015-07-13 09:31:23 +03:00
sledgehammer999
c1e2ddc843 Merge pull request #3384 from ngosang/webui_upnp
[Web UI] New option Web UI port UPNP. Closes #3358
2015-07-13 00:46:58 +03:00
ngosang
ac74f14408 Increase API_VERSION 2015-07-12 23:08:43 +02:00
ngosang
3a44b94cc7 [Web UI] New option Web UI port UPNP. Closes #3358 2015-07-12 23:07:49 +02:00
sledgehammer999
948b2c0410 Merge pull request #3375 from ngosang/completed_filter
Add Force Seeding state to Completed filter
2015-07-12 15:44:01 +03:00
sledgehammer999
d4151c1832 Merge pull request #3395 from ngosang/content_percent
Fix progress calculation in Content tab. Closes #2639 Closes #2752
2015-07-12 15:42:46 +03:00
sledgehammer999
365d039209 Merge pull request #3386 from ngosang/webuibug
[Web UI] Fix an error in Content tab when the torrent doesn't have me…
2015-07-12 14:39:13 +03:00
sledgehammer999
40c9727cb9 Merge pull request #3383 from ngosang/webui_port
[Web UI] Ports between 1 and 65535 as in the GUI. Closes #1602
2015-07-12 14:33:39 +03:00
sledgehammer999
e6946042ae Merge pull request #3382 from ngosang/webui_trackmenu
[Web UI] Torrent download from hash. Closes #1173
2015-07-12 14:27:40 +03:00
Vladimir Golovnev (Glassez)
8e03f01518 Fix restore sequential download state. 2015-07-12 13:56:24 +03:00
ngosang
6413537f45 [Web UI] Fix API Content Types. Closes #3393 2015-07-12 01:29:03 +02:00
ngosang
e20a24ab2e Fix progress calculation in Content tab. Closes #2639 Closes #2752 2015-07-12 01:27:16 +02:00
ngosang
47c31c8b03 [Web UI] Ports between 1 and 65535 as in the GUI. Closes #1602 2015-07-12 01:24:34 +02:00
ngosang
f0d32e2cde [Web UI] Torrent download from hash. Closes #1173 2015-07-12 01:21:09 +02:00
ngosang
62b803e268 [Web UI] Fix empty trackers addition 2015-07-11 15:35:53 +02:00
ngosang
9ea56ea5d4 [Web UI] Fix an error in Content tab when the torrent doesn't have metadata 2015-07-09 18:11:04 +02:00
Oleh Prypin
7474c05209 Implement an option to disable confirmation of torrent recheck 2015-07-08 23:29:31 +03:00
sledgehammer999
647140c7c7 Merge pull request #3371 from ngosang/webuialterdl
[Web UI] Fix alternative global rate limits. Closes #3359
2015-07-08 21:19:08 +03:00
sledgehammer999
46c54e51ee Update Changelog. 2015-07-08 19:19:11 +03:00
sledgehammer999
9eee92b5c6 Merge pull request #3372 from ngosang/torrentz_speed
[search engine] Fix Python 2 implementation of Torrentz
2015-07-08 18:25:57 +03:00
ngosang
ac2c8a3d30 Add Force Seeding state to Completed filter 2015-07-08 16:01:10 +02:00
ngosang
ee44fd54b6 [search engine] Fix Python 2 implementation of Torrentz 2015-07-08 11:04:50 +02:00
ngosang
0ed8ea9599 [Web UI] Additional checks in Options dialog 2015-07-08 09:53:01 +02:00
ngosang
d9ef7c1b32 [Web UI] Reorder Options dialog code 2015-07-08 09:06:41 +02:00
ngosang
357334fb46 [Web UI] Fix alternative global rate limits. 2015-07-08 06:47:59 +02:00
sledgehammer999
d0b54b0797 Merge pull request #3348 from ngosang/webuistates
[Web UI] Fix missing torrent states.
2015-07-04 02:24:32 +03:00
ngosang
768e87b0da [Web UI] Fix missing torrent states. 2015-07-04 01:04:10 +02:00
sledgehammer999
14187978c0 Update Chinese locale names for WebUI too. 2015-07-03 22:52:08 +03:00
sledgehammer999
cac91737ac Sync translations from Transifex and run lupdate. 2015-07-03 22:34:36 +03:00
sledgehammer999
0b18e7bd60 Add unicodestrings.h to core.pri 2015-07-03 22:22:14 +03:00
sledgehammer999
61705fdd42 Partially revert fb7ba92f6 and split the Chinese locales into 3.
Chinese Simplified, Chinese Traditional(Taiwan), Chinese Traditional(Hong Kong).
Closes #3262.
2015-07-03 22:20:32 +03:00
sledgehammer999
6dd3795b7a Fix Properties bar size when started minimized to tray. Closes #3206. 2015-07-03 22:09:37 +03:00
sledgehammer999
2e0c3f8751 Merge pull request #3329 from glassez/state
Fix missing torrent states. Closes #3302.
2015-07-03 21:58:57 +03:00
sledgehammer999
e1e8471728 Merge pull request #3324 from pmzqla/sort-eta-master
Fix sorting torrents by ETA
2015-07-03 21:55:52 +03:00
Heiko Becker
3c66997427 Add missing QDataStream include
Fixes building with Qt 5.5.0-beta.
2015-06-30 22:04:34 +03:00
Vladimir Golovnev (Glassez)
5ec2af7b5a Fix missing torrent states. 2015-06-30 11:14:41 +03:00
Gabriele
d3b23e4b81 Fix sorting torrents by ETA
Same as #2966.
Related issue: #2965.
2015-06-29 21:03:44 +02:00
Gabriele
d76a84048b Increase priority value of "High"
It was observed that setting the priority of a file to High has almost
no effect, so increase its value.
2015-06-29 02:01:51 +03:00
Gabriele
f21fbff1a8 Use enums instead of values when dealing with file priorities
Manually backported commit 10880e10f1 from v3_2_x branch.
2015-06-29 02:00:50 +03:00
sledgehammer999
c17a56cb8b Merge pull request #3318 from ngosang/searchorder
Fix column sort in search engine. Closes #2621
2015-06-29 01:42:17 +03:00
ngosang
b23608ec35 Fix column sort in search engine. Closes #2621 2015-06-28 23:51:09 +02:00
sledgehammer999
a8df699441 Merge pull request #3197 from ngosang/webui_websources
[Web UI] Add Web Seeds (HTTP Sources) tab
2015-06-28 19:34:23 +03:00
sledgehammer999
1b430abb16 Don't use a default upload limit. Closes #3275. 2015-06-28 19:21:47 +03:00
sledgehammer999
e4062e0f35 Sync translations from Transifex and run lupdate. 2015-06-28 18:18:44 +03:00
ngosang
e6f2926ccd [Web UI] Don't update the tabs if tab's panel is collapsed 2015-06-28 16:36:46 +02:00
ngosang
263d45ca9d [Web UI] Use camelCase in variable names 2015-06-28 16:36:46 +02:00
ngosang
8e4b9f30bb [Web UI] Add Web Seeds (HTTP Sources) tab 2015-06-28 16:36:45 +02:00
sledgehammer999
f12b300298 Partially revert e675625d0d.
It causes problems with Travis CI builds because travis checks out the branch which might have newer commits and not find our particular commit.
2015-06-28 16:43:04 +03:00
sledgehammer999
2db4a661ee Merge pull request #3251 from Chocobo1/unicode_fix
Fix MSVC2013 complains on Unicode characters
2015-06-28 16:12:47 +03:00
sledgehammer999
3c6ee3d57f Merge pull request #3317 from ngosang/search_eng
Cosmetics changes in search engine
2015-06-28 16:11:20 +03:00
Chocobo1
e2a1211513 Mention github contributors in thanks.html 2015-06-28 21:08:21 +08:00
Chocobo1
436b3a472a Move translators & thanks to its own file
Add HTML header & cleanup
2015-06-28 21:08:20 +08:00
sledgehammer999
f177ecd50c Merge pull request #3313 from Chocobo1/travis
Travis script update
2015-06-28 16:07:51 +03:00
Chocobo1
e675625d0d Switch to libtorrent git repository
Reduce clone depth to 1
Fix missing variable when compiling for coverity scan
2015-06-28 21:02:41 +08:00
ngosang
326a74425f Cosmetics changes in search engine 2015-06-28 14:38:17 +02:00
sledgehammer999
a217d97fda Merge pull request #3304 from Chocobo1/menu_cap
Capitalize menu item
2015-06-28 15:17:37 +03:00
sledgehammer999
6959084f98 Merge pull request #3315 from Chocobo1/disk_space
Update disk space label after changing partition, closes #3309.
2015-06-28 15:16:29 +03:00
sledgehammer999
216bf9b477 Merge pull request #3279 from ngosang/webui_newoptions
[Web UI] Add new options
2015-06-28 15:15:35 +03:00
Chocobo1
3efb311076 Better message for users 2015-06-28 19:37:31 +08:00
ngosang
3ac9b2525e Increase API_VERSION due to changes in #3279, #3197, #3226 and #3040 2015-06-28 13:33:56 +02:00
ngosang
831b47b8f9 [Web UI] Add new options 2015-06-28 13:33:51 +02:00
ngosang
ff10eafcbc Follow project coding style. Issue #2192. 2015-06-28 13:32:57 +02:00
Chocobo1
38c0dbfc95 Update disk space label after changing partition, closes #3309. 2015-06-28 19:32:54 +08:00
Chocobo1
e739e81205 Fix compilation on MSVC2013 by moving unicode strings to
"unicodestrings.h". Closes #3059.
2015-06-28 19:18:57 +08:00
sledgehammer999
1bcfae5265 Merge pull request #3308 from ngosang/torrentreactorimp
[search engine] Update TorrentReactor
2015-06-28 14:13:25 +03:00
ngosang
b249b461d7 [search engine] Update TorrentReactor 2015-06-28 12:54:34 +02:00
sledgehammer999
af79ba433c Merge pull request #3307 from ngosang/extratorrentimp
[search engine] Update ExtraTorrent
2015-06-28 13:46:08 +03:00
sledgehammer999
14013c80c0 Merge pull request #3270 from Chocobo1/info_box
Reorder layout in information box
2015-06-28 13:45:25 +03:00
ngosang
85a7c7303d [search engine] Update ExtraTorrent 2015-06-28 12:36:33 +02:00
sledgehammer999
f94214ae14 Merge pull request #3291 from ngosang/torrent_creator
Add 16 KiB, 8 MiB and 16 MiB piece sizes in Torrent Creator. Closes #2656
2015-06-28 13:31:06 +03:00
sledgehammer999
ca4fbe40dd Merge pull request #3306 from ngosang/torrentzimp
[search engine] Update Torrentz
2015-06-28 13:30:31 +03:00
ngosang
91818417be Add 16 KiB, 8 MiB and 16 MiB piece sizes in Torrent Creator 2015-06-28 12:26:24 +02:00
ngosang
577ace4971 Follow project coding style. Issue #2192. 2015-06-28 12:26:03 +02:00
Chocobo1
776d91f663 Add connectionsLimit() back 2015-06-28 18:15:17 +08:00
sledgehammer999
b9ed94a098 Merge pull request #3292 from glassez/resumedata
Fix save resume data for torrents w/o metadata. Closes  #1488.
2015-06-28 12:43:00 +03:00
sledgehammer999
800630a813 Merge pull request #3290 from glassez/trackers
Fix trackers removing (#2892 regression).
2015-06-28 12:42:34 +03:00
sledgehammer999
4854a1b2ee Merge pull request #3311 from ngosang/btdiggimp
[search engine] Update BTDigg
2015-06-28 12:32:47 +03:00
sledgehammer999
bcfb8f1f53 Merge pull request #3312 from ngosang/kickassimp
[search engine] Update KickassTorrents
2015-06-28 12:30:30 +03:00
ngosang
2afa282190 [search engine] Update BTDigg 2015-06-27 21:33:50 +02:00
ngosang
2b2ffca7d0 [search engine] Update Torrentz 2015-06-27 21:00:47 +02:00
ngosang
650e7018a7 [search engine] Update KickassTorrents 2015-06-27 18:25:20 +02:00
Chocobo1
1e0ac5c5f1 Capitalize menu item, missed in b4a855f. 2015-06-26 14:16:57 +08:00
Vladimir Golovnev (Glassez)
b9c087f46c Fix save resume data for torrents w/o metadata. 2015-06-24 18:49:55 +03:00
Chocobo1
9d5cfbcda9 Preserve plain text formatting 2015-06-24 19:28:31 +08:00
Vladimir Golovnev (Glassez)
ffe6292237 Fix trackers removing. 2015-06-24 14:09:43 +03:00
sledgehammer999
9d97c05889 Merge pull request #3282 from ngosang/search_check
[search engine] Fix novaprinter.py version number
2015-06-23 18:22:13 +03:00
sledgehammer999
2658b39434 Merge pull request #3283 from glassez/rss
Fix add torrent dialog is not shown (#2892 regression).
2015-06-23 18:21:24 +03:00
sledgehammer999
f6cf07a147 Merge pull request #3284 from glassez/about
Fix ugly 'C++' wrapping in About dialog.
2015-06-23 18:21:13 +03:00
Vladimir Golovnev (Glassez)
4752fa5301 Fix ugly 'C++' wrapping in About dialog. 2015-06-23 13:22:52 +03:00
Vladimir Golovnev (Glassez)
f40d3d1fc6 Fix add torrent dialog is not shown. 2015-06-23 11:19:34 +03:00
ngosang
d7ffabe7ca [search engine] Fix novaprinter.py version number 2015-06-23 09:46:19 +02:00
Chocobo1
b318f54fdf Force set "plain text" format to reduce attack vector. 2015-06-22 22:10:33 +08:00
Chocobo1
661ddd75b6 Allow wordWrap for "Save Path" & "Comment" 2015-06-22 13:32:32 +08:00
sledgehammer999
bc97208516 Merge pull request #3187 from glassez/model
Improve TorrentModel class (Issue #2433).
2015-06-21 16:32:30 +03:00
Vladimir Golovnev (Glassez)
64c8f61bb1 Improve TorrentModel class. 2015-06-21 16:28:21 +03:00
sledgehammer999
7699b7ce6f Merge pull request #3271 from glassez/rename
Fix torrent renaming (3715e8d2 regression).
2015-06-21 16:00:49 +03:00
Vladimir Golovnev (Glassez)
347832d852 Fix torrent renaming (3715e8d2 regression). 2015-06-21 13:32:48 +03:00
Chocobo1
50b3a24371 Change Comment field from QTextBrowser to QLabel 2015-06-21 13:52:11 +08:00
Chocobo1
4d5512dcca Reorder layout in information box 2015-06-21 13:20:19 +08:00
sledgehammer999
2e6c890883 Partially revert 30f21259f8.
Fixes Linux issue for when the theme doesn't have a corresponding icon.
2015-06-21 00:56:18 +03:00
sledgehammer999
f94d733c62 Minimize to tray only if the relevant option is enabled. 2015-06-20 23:28:40 +03:00
sledgehammer999
9032808112 Fix sorting by queue. 2015-06-20 20:05:49 +03:00
sledgehammer999
a22137e06e Merge pull request #3240 from ngosang/webui_interface
[Web UI] Changes in menus, new features and reordered Options.
2015-06-20 19:31:06 +03:00
ngosang
973518694e [Web UI] Tabs indentation replaced with spaces 2015-06-20 18:18:36 +02:00
ngosang
d6caf1c839 [Web UI] Reorder the tabs/groups in Options window 2015-06-20 18:04:23 +02:00
ngosang
6f7dca1f83 [Web UI] Option to hide Top Toolbar 2015-06-20 18:04:18 +02:00
sledgehammer999
dbbf1a8fce Merge pull request #2690 from Chocobo1/dev4
Don't close downloadFromURL dialog when showing empty url warning.
2015-06-20 18:50:51 +03:00
sledgehammer999
27e18f0eb8 Merge pull request #2643 from mayankasthana/tab_FocusChange
Download-from-URL textbox change focus on tab key
2015-06-20 18:43:37 +03:00
ngosang
bbc667cb78 [Web UI] Changes in menus to keep the client's style 2015-06-20 17:36:13 +02:00
sledgehammer999
74d757f0f1 Delete tempfile when downloading favicon.ico. Closes #3257. 2015-06-20 18:21:20 +03:00
sledgehammer999
a224650281 Merge pull request #3078 from Chocobo1/props_widget
Revamp general tab info, closes #982
2015-06-20 16:50:32 +03:00
sledgehammer999
54abcfcd93 Merge pull request #3260 from glassez/sort
Fix torrent state sort order (#2892 regression).
2015-06-20 16:40:47 +03:00
sledgehammer999
627d74233b Merge pull request #3245 from glassez/upgrade
Upgrade to v3.3
2015-06-20 16:33:32 +03:00
Vladimir Golovnev (Glassez)
b29f6916cb Implement upgrage code. 2015-06-20 16:23:10 +03:00
Vladimir Golovnev (Glassez)
7041a96fda Fix torrent state sort order. 2015-06-20 16:03:56 +03:00
Chocobo1
6bc42cfd1a Add functionality to new data fields, cleanups 2015-06-20 20:42:44 +08:00
Chocobo1
bd8b8a8c8f Use warning message box instead of critical 2015-06-20 20:36:35 +08:00
sledgehammer999
cf1a62cec3 Merge pull request #2719 from Chocobo1/dev6
Fix potential out-of-bound access in misc::friendlyUnit()
2015-06-20 02:46:47 +03:00
sledgehammer999
fd6fcffa67 Merge pull request #3247 from glassez/ratio
Fix ratio limit for new torrents. Closes #3210.
2015-06-19 18:53:40 +03:00
sledgehammer999
75fecf9645 Merge pull request #3226 from ngosang/webui_dhtport
[Web UI] Remove DHT port setting. Closes #3225
2015-06-18 23:37:53 +03:00
Vladimir Golovnev (Glassez)
04f3f9d29d Fix ratio limit for new torrents. 2015-06-18 16:28:52 +03:00
sledgehammer999
fb7ba92f69 Rename Chinese translation files. Closes #2936. 2015-06-17 23:06:08 +03:00
sledgehammer999
c259666e43 Merge pull request #2803 from Chocobo1/shutdown
WebUI: add delay in shutdown command in order to send out response msg
2015-06-17 22:58:49 +03:00
Gabriele
6609d3e89f Don't use list of versions for the Python fallback detection on Windows
Always pick the newest versions among those installed.
2015-06-17 21:30:35 +02:00
Gabriele
f4c44ce128 Don't specify the Python version required in the notification
Both python2 and python3 are supported.
2015-06-17 21:30:35 +02:00
Gabriele
a8276dd70f Update link to the Windows Python installer
From v2.7.3 to v3.4.3.
2015-06-17 21:30:35 +02:00
Gabriele
0c23d22472 Show notification if Python is not found and a search is started
Also, don't bother starting a search if it's known that Python is
not available.
2015-06-17 21:30:12 +02:00
Gabriele
e34cc79dad Use python3 and python2 instead of python on Linux
Prefer python3 over python2 when both are available.

Both python2 and python3 should always exists.
More info at: http://legacy.python.org/dev/peps/pep-0394/
2015-06-17 21:29:20 +02:00
Vladimir Golovnev (Glassez)
de712c6ba9 Use native QDir::removeRecursively() in Qt5. 2015-06-17 19:19:56 +03:00
sledgehammer999
1396c63525 Merge pull request #3224 from glassez/fastresume
Fix resume torrents without metadata.
2015-06-17 19:12:22 +03:00
Vladimir Golovnev (Glassez)
8cc9c64ff8 Fix resume torrents without metadata. 2015-06-17 19:06:48 +03:00
Chocobo1
64665146e1 Expose more data fields 2015-06-17 23:20:34 +08:00
Chocobo1
cdec6c9027 Add new data fields, capitialize labels, cleanups 2015-06-17 23:20:34 +08:00
sledgehammer999
0172ab1f50 Merge pull request #3242 from glassez/hotfixes
Fix some #2892 regressions. Closes #3210.
2015-06-17 17:45:14 +03:00
Vladimir Golovnev (Glassez)
d76c4554e2 Fix MaxRatio ignoring. 2015-06-17 14:45:47 +03:00
Vladimir Golovnev (Glassez)
3d09f579d0 Fix torrent creation date loss. 2015-06-17 11:21:41 +03:00
Chocobo1
e95a017e33 Fix potential out-of-bound access of units[i] 2015-06-17 08:03:51 +08:00
sledgehammer999
2c91157926 Update settings for Coverity Scan. 2015-06-17 00:19:00 +03:00
sledgehammer999
d2697cd124 Merge pull request #2957 from Chocobo1/coverity_scan
Hookup to Coverity Scan, Closes #2601
2015-06-17 00:13:51 +03:00
sledgehammer999
061fbeff56 Merge pull request #3234 from glassez/openfile
Fix crash when cancel open file dialog.
2015-06-16 22:55:57 +03:00
Vladimir Golovnev (Glassez)
77b3a0c4cd Fix crash when cancel open file dialog.
Closes #3232.
2015-06-16 09:09:08 +03:00
ngosang
8340abbe63 [Web UI] Remove DHT port setting. Closes #3225 2015-06-15 11:00:36 +02:00
sledgehammer999
3f8e76ce93 Clear missing files flag when resuming or force rechecking. Fixes issues in #2750. 2015-06-15 00:48:28 +03:00
sledgehammer999
a2c48646ae New translation: Indonesian. 2015-06-14 23:43:21 +03:00
sledgehammer999
78f5b960a0 Sync translations from Transifex and run lupdate. 2015-06-14 23:28:28 +03:00
sledgehammer999
f6236d13d1 Merge pull request #3190 from Chocobo1/ratio_fix_master
Improve ratio calculation formula
2015-06-14 23:02:34 +03:00
sledgehammer999
6b56a8accf Merge pull request #3211 from yurivict/compile-issues
Added missing include <cstdlib>
2015-06-14 21:50:13 +03:00
sledgehammer999
9febd608c6 Merge pull request #3216 from Chocobo1/rm
Fix additional file included in #3167
2015-06-14 21:49:21 +03:00
sledgehammer999
e4282c10c7 Merge pull request #2847 from Chocobo1/move_stats
Revamp menu items
2015-06-14 20:21:27 +03:00
sledgehammer999
575578428c Merge pull request #3167 from Chocobo1/opt_ip_filter_tracker
Add checkbox option for IpFilterTrackers, closes #3154.
2015-06-14 20:15:12 +03:00
Chocobo1
6e1bfdef4c Fix additional file included in 32a712f 2015-06-15 00:02:07 +08:00
Chocobo1
36da49667a Resave in Qt Designer 2015-06-14 20:01:14 +08:00
Chocobo1
ade1936f9c Remove menu items: "Visit Website" and "Report a Bug".
Many issues opened on github should be asked on forum first, and the links are already present in "About" window.
2015-06-14 20:01:14 +08:00
Chocobo1
580642b08e Rename "Execution Log" to "Log".
Rename "When Downloads Done" to "On Downloads Done".
2015-06-14 20:01:14 +08:00
Chocobo1
b4a855f4c1 Move statistics from Tools to View
Reorder & add separators in Help menu

Rename `Auto-Shutdown on downloads completion` to `When downloads done`

Capitalize menu items, modify accelerator
2015-06-14 20:01:11 +08:00
Chocobo1
32a712f005 Add checkbox option for IpFilterTrackers, closes #3154. 2015-06-14 19:10:11 +08:00
Yuri
ea2b2937b9 Added missing include <cstdlib> for rand(3) 2015-06-14 03:17:12 -07:00
Yuri
a86961a22e Added missing include <cstdlib> for rand(3) 2015-06-14 03:14:27 -07:00
Chocobo1
2299580dc9 Improve ratio calculation formula. Closes #3096. 2015-06-14 17:45:40 +08:00
sledgehammer999
77786bb8bb Add translator to credits. 2015-06-14 12:28:08 +03:00
sledgehammer999
9ee67364c2 Merge pull request #3209 from ngosang/minor_fixes
Code clean up
2015-06-14 11:40:41 +03:00
ngosang
4a76526417 Code clean up
This changes were proposed by @PiotrNawrot in these PRs: #2967, #2970.
2015-06-14 10:35:32 +02:00
sledgehammer999
f89c44e1a0 Merge pull request #2938 from dartraiden/master
Fixed typos, spelling correction
2015-06-14 11:20:15 +03:00
dartraiden
8ac83cfd42 Fixed typos, spelling correction 2015-06-14 10:55:46 +03:00
sledgehammer999
f5b0008158 Merge pull request #2805 from ngosang/typo_revision
Changes in typography
2015-06-13 22:06:12 +03:00
sledgehammer999
1be26cf2bd Merge pull request #2808 from ngosang/AnnounceToAllTrackers
Change default preferences
2015-06-13 21:39:45 +03:00
ngosang
e01a61d816 changes in typography 2015-06-13 20:04:20 +02:00
sledgehammer999
25e04ee2f3 Merge pull request #3191 from Chocobo1/neg_loop_master
Fix potential negative loop bound
2015-06-13 21:03:41 +03:00
sledgehammer999
4d848e99f0 Merge pull request #3004 from ngosang/cppcheck_fixes
Cppcheck: scope reduction & unused variables
2015-06-13 20:16:53 +03:00
sledgehammer999
157b1eadfa Merge pull request #3203 from glassez/unistd
Fix qbittorrent-nox compilation.
2015-06-13 09:33:44 +03:00
Vladimir Golovnev (Glassez)
5798fb959d Fix qbittorrent-nox compilation. 2015-06-13 09:20:16 +03:00
sledgehammer999
35e04a795d Merge pull request #3194 from glassez/save_path
Fix BitTorrent::TorrentHandle class.
2015-06-13 01:51:27 +03:00
sledgehammer999
e22f7570fe Merge pull request #3192 from who-me/patch-1
Update qBittorrent.appdata.xml (invalid tag)
2015-06-13 01:47:58 +03:00
sledgehammer999
93bbda851a Merge pull request #3188 from glassez/datetime
Fix time_t 0 special meaning.
2015-06-13 01:46:12 +03:00
sledgehammer999
2c34aa4ea2 Merge pull request #3179 from DoumanAsh/legittorrents_update
[search engine] Update Legit Torrent to remove sgmllib
2015-06-13 01:44:28 +03:00
sledgehammer999
4f5ce16dcb Merge pull request #3176 from DoumanAsh/py3_remove_cache
[search engine] Remove python3 cache during updateNova()
2015-06-13 01:38:58 +03:00
sledgehammer999
df2068d734 Merge pull request #3010 from ngosang/user-agent
Changes in User-Agents
2015-06-13 01:37:21 +03:00
DoumanAsh
033817f70b [search engine] Update Legit Torrent to remove sgmllib 2015-06-12 18:23:56 +03:00
Vladimir Golovnev (Glassez)
9c28977001 Fix adjustActualSavePath() when torrent is moving. 2015-06-12 15:37:52 +03:00
Vladimir Golovnev (Glassez)
a55a27508a Fix append .!qB extension when it disabled. 2015-06-12 15:35:20 +03:00
who-me
031d14e320 Update qBittorrent.appdata.xml
Usage of the <updatecontact/> breaks validation. The correct tag is <update_contact/> as per info on this page:
http://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-update_contact
2015-06-12 13:48:53 +03:00
Chocobo1
817b595222 Fix potential negative loop bound.
QTorrentHandle::num_files() could return -1 in these cases.
2015-06-12 17:09:22 +08:00
Vladimir Golovnev (Glassez)
56df8c2dd0 Fix time_t 0 special meaning.
Return null QDateTime object when converting from 0 time_t value.
2015-06-12 09:36:01 +03:00
ngosang
3715e8d2c8 Change default preferences 2015-06-12 02:09:01 +02:00
ngosang
ad2a18b3bc Changes in User-Agent 2015-06-12 01:30:01 +02:00
ngosang
3eb61cfe83 Cppcheck: scope reduction & unused variables 2015-06-12 01:16:21 +02:00
DoumanAsh
1222dab6f8 [search engine] Remove python3 cache during updateNova() 2015-06-12 01:30:35 +03:00
sledgehammer999
8897001567 Merge pull request #2844 from ngosang/search_version
[Search engine] Show the version of search engines
2015-06-12 01:20:23 +03:00
ngosang
930161a0dd [Search engine] Show the version of search engines 2015-06-11 23:37:50 +02:00
sledgehammer999
3aa0a845cd Merge pull request #2892 from glassez/bittorrent
Core classes redesign (Issue #2433).
2015-06-11 23:54:05 +03:00
sledgehammer999
cc8419d344 Fix python detection from reigstry when multiple versions are installed. Update fallback mechanism for newer versions. 2015-06-11 23:45:18 +03:00
sledgehammer999
f3dd93a42c Merge pull request #2832 from pmzqla/rss-liveupdate
Update matching RSS articles while editing rules
2015-06-11 22:56:31 +03:00
sledgehammer999
13da85e859 Merge pull request #3164 from ngosang/demonoid
[search engine] Add Demonoid search engine
2015-06-11 22:39:44 +03:00
ngosang
cd5f904b53 Minor fixes in search engines 2015-06-11 19:06:29 +02:00
ngosang
274cde0396 [search engine] Add Demonoid search engine 2015-06-11 18:24:18 +02:00
sledgehammer999
3d40834c57 Merge pull request #2550 from DoumanAsh/multiprocessor_search
[search engine] Replace threading with multiprocessing
2015-06-11 19:14:11 +03:00
DoumanAsh
920aefddde [search engine] Final enhancements. 2015-06-11 07:52:27 +03:00
DoumanAsh
7dafb384e9 [search engine] Cosmetic update TorrentReactor 2015-06-11 07:47:39 +03:00
DoumanAsh
2fc1487603 [search engine] re-factoring of code 2015-06-11 07:47:37 +03:00
DoumanAsh
d6d0f422f5 [search engine] engines update 2015-06-11 07:45:55 +03:00
DoumanAsh
bef8106d0f [search engine] Nova2 multiprocessing 2015-06-11 07:45:53 +03:00
sledgehammer999
e502ce38ec Merge pull request #2670 from DoumanAsh/safe_url_retrieve
[search engine] Exception free url_retrieve
2015-06-11 02:22:02 +03:00
Vladimir Golovnev (Glassez)
7d73bddfd2 Split some "header only" sources. 2015-06-10 10:58:20 +03:00
DoumanAsh
86a0eaf317 Exception free retrieve_url()
Set 2 second timeout and handle any possible connection error
Return empty string to engine in case of connection exception
2015-06-10 08:15:23 +03:00
Vladimir Golovnev (Glassez)
5f288d228d Fix coding style (Issue #2192). 2015-06-09 21:30:57 +03:00
Vladimir Golovnev (Glassez)
191cdc2849 Move utilities to core/utils folder.
Also move the names to Utils namespace.
2015-06-09 21:30:56 +03:00
Vladimir Golovnev (Glassez)
427688cb34 Remove unused sources. 2015-06-09 21:30:53 +03:00
Vladimir Golovnev (Glassez)
d16d1fdb3a Redesign main core classes. 2015-06-09 21:30:42 +03:00
sledgehammer999
832272bf3a Merge pull request #2672 from DoumanAsh/abort_search_on_exit
Aborting search engine process during closure. Close #2671
2015-06-09 01:49:36 +03:00
sledgehammer999
d87cea1fb7 Merge pull request #2880 from Chocobo1/alluppercase
Use AllUppercase for label text
2015-06-08 01:41:01 +03:00
sledgehammer999
dabbc49c20 Merge pull request #2882 from pmzqla/openfile-enter
Allow to Open files from the properties pane by pressing "Enter"
2015-06-08 01:22:40 +03:00
sledgehammer999
9daf9e612b Merge pull request #2935 from Chocobo1/add_tray_menu
Add "Add link to torrent" menu in TrayIconMenu. Closes #2918.
2015-06-08 00:51:38 +03:00
sledgehammer999
46e2e5342b Merge pull request #2996 from Chocobo1/tray_icon
Enable to choose dark/light tray icons on all platforms.
2015-06-03 23:59:16 +03:00
sledgehammer999
c682d87a65 Merge pull request #2999 from LazyBui/master
Treating Alt Global Rate Limits Like Regular Global Rate Limits
2015-06-03 23:48:13 +03:00
sledgehammer999
101b0ee58e Merge pull request #3011 from ngosang/start_minimize
Fix Start Minimized checkbox in Options
2015-06-03 23:07:32 +03:00
Vladimir Golovnev (Glassez)
60c0939e05 Fix coding style (Issue #2192).
Also split filesystemwatcher.h into .h/.cpp files.
2015-06-03 22:11:44 +03:00
Vladimir Golovnev (Glassez)
d32bb52390 Don't add core to INCLUDEPATH. 2015-06-03 22:11:43 +03:00
Vladimir Golovnev (Glassez)
4b5e7e6168 Move network related code to core/net. 2015-06-03 22:11:41 +03:00
Vladimir Golovnev (Glassez)
3eeed813d6 Implement new download manager. 2015-06-03 22:11:40 +03:00
Vladimir Golovnev (Glassez)
f1bce0b8e0 Fix downloadthread.* coding style (Issue #2192). 2015-06-03 22:11:39 +03:00
Vladimir Golovnev (Glassez)
98dfb6302d Fix shutdownconfirm.* coding style (Issue #2192). 2015-06-03 22:11:38 +03:00
Vladimir Golovnev (Glassez)
d87a9bf7ec Move GUI-related sources into gui subdir. 2015-06-03 22:11:36 +03:00
sledgehammer999
2b7c47c789 Merge pull request #3092 from Chocobo1/focus_default
Change default focus button in various dialog, closes #3085
2015-06-03 21:35:17 +03:00
sledgehammer999
bafb189244 Merge pull request #3136 from Chocobo1/exit
Change option text "Confirmation on exit when torrents are active"
2015-06-03 21:05:00 +03:00
Chocobo1
ab91fb87ea Change option text "Confirmation on exit when torrents are active" 2015-06-03 13:25:36 +08:00
sledgehammer999
2ad10ea47e Merge pull request #3006 from ngosang/translate_search
Make strings translatable in search engine
2015-06-01 17:08:37 +03:00
sledgehammer999
fc28f261cf Merge pull request #2534 from ngosang/disable_chbox
Disable Auto piece size checkbox when creating a new torrent
2015-06-01 16:55:09 +03:00
sledgehammer999
a84518d69f Merge pull request #2542 from ngosang/search_tab
Change width of columns in search tab. Closes #764
2015-06-01 16:33:31 +03:00
sledgehammer999
17cba898e9 Merge pull request #3005 from ngosang/wasted
Web UI: Display wasted data with friendly units. Closes #2994
2015-06-01 16:03:59 +03:00
sledgehammer999
736f20538d Merge pull request #3040 from ngosang/webui_global_slot
Web UI: New config - Global maximum number of upload slots. Closes #2997
2015-06-01 15:57:44 +03:00
sledgehammer999
6cee7483ba Merge pull request #3041 from ngosang/webui_fix_torrentinfo
Web UI: Fix Max connections and Time active in transfer panel. Closes #2993
2015-06-01 15:26:50 +03:00
sledgehammer999
50a5e830ac Merge pull request #3086 from ngosang/webui_titlebar
Web UI: Changes in title bar, translatable strings and style
2015-06-01 15:21:57 +03:00
sledgehammer999
81b3517166 Merge pull request #3021 from ngosang/improve_torrentz
[search engine] Improve torrentz engine to return more results
2015-06-01 13:32:58 +03:00
sledgehammer999
14b5d15268 Merge pull request #3020 from ngosang/fix_piratebay
[search engine] Fix thepiratebay engine. Closes #3012
2015-06-01 13:29:59 +03:00
Chocobo1
e75de01809 Set default focus to no button in exit confirm box 2015-05-26 15:03:42 +08:00
Chocobo1
a29f2dcfaa Set default focus to ok button in add new torrent dlg 2015-05-24 15:12:07 +08:00
Chocobo1
2b2bc11d7d Set default focus to cancel button in delete confirm dlg, closes #3085 2015-05-24 15:11:37 +08:00
ngosang
7129ad47f4 Web UI: Minor changes in style 2015-05-23 22:18:52 +02:00
ngosang
dcdb319653 Web UI: Complete translatable strings 2015-05-23 20:35:25 +02:00
ngosang
c5ce99ebec Web UI: Changes in title bar 2015-05-23 19:20:04 +02:00
ngosang
e46c238f15 [search engine] Fix thepiratebay. Closes #3012 2015-05-20 08:01:41 +02:00
Vladimir Sinenko
56ee6dac08 Fixed sort order for datetime columns with empty values (closes #2988)
A small fix belonging to #2531.
During the sorting empty QDateTime values are shuffled around due to
unstable sort in QSortFilterProxyModel (see #2526 and #2158), causing
the transfer list items to constantly change order.

Fixed by using an already existing correct comparison (with a torrent
hash fallback).
2015-05-19 22:10:57 +06:00
LazyBui
23ec562375 Making alternate download/upload configuration behave like global download/upload configuration so as to allow boundless down/up 2015-05-17 12:58:29 -05:00
sledgehammer999
2c1d76c87f Merge pull request #3027 from ngosang/fix_webui_all
Web UI: Fix resumeAll and pauseAll. Closes #3016
2015-05-17 18:44:11 +03:00
sledgehammer999
d222dece92 Merge pull request #3039 from ngosang/webui_relative_urls
Web UI: Fix login and logout relative URLs. Closes #3038
2015-05-17 18:43:38 +03:00
ngosang
8b06f72a94 Web UI: Fix Max connections and Time active in transfer information 2015-05-17 15:47:37 +02:00
ngosang
2e05777dc5 Web UI: New config - Global maximum number of upload slots 2015-05-17 14:40:34 +02:00
ngosang
dd71355e8a Web UI: Fix login and logout relative URLs 2015-05-17 13:48:06 +02:00
sledgehammer999
c92eb1b17d Merge pull request #3019 from Chocobo1/icons_path
Fix wrong path in .ui files
2015-05-17 12:37:03 +03:00
ngosang
a90ec4cce7 Web UI: Fix resumeAll and pauseAll. Closes #3016 2015-05-15 22:49:03 +02:00
Chocobo1
f1c2eae264 Fix wrong path for icons.qrc 2015-05-16 01:08:45 +08:00
ngosang
28fcbe9bc5 [search engine] Improve torrentz engine to return more results 2015-05-15 18:34:28 +02:00
ngosang
b18138bad0 Change width of columns in search tab. Closes #764 2015-05-15 14:25:51 +02:00
ngosang
0ef728d385 Fix Start Minimized checkbox in Options 2015-05-14 21:48:09 +02:00
ngosang
bd6afc2d86 Make strings translatable in seach engine 2015-05-14 14:39:30 +02:00
ngosang
de3c84bd0b Web UI: Display wasted data with friendly units. Closes #2994 2015-05-14 13:35:48 +02:00
sledgehammer999
e788445fe2 Bump to 3.3.0alpha 2015-05-13 23:33:22 +03:00
sledgehammer999
88237fbd1e Update Copyright year. 2015-05-13 23:23:53 +03:00
sledgehammer999
6fba6796b8 Fix typo in configure script. 2015-05-13 23:04:12 +03:00
sledgehammer999
2a2cb313cf Merge pull request #2990 from LazyBui/master
Removing the confusion caused by moving GeoIP code/.dat
2015-05-13 22:58:32 +03:00
Chocobo1
30f21259f8 Enable to choose dark/light tray icons on all platforms. 2015-05-13 21:50:15 +08:00
LazyBui
be62c34e46 Removing the confusion caused by moving GeoIP code/.dat to a different directory 2015-05-13 00:15:10 -05:00
sledgehammer999
e2ac4ebf9d Merge pull request #2977 from pmzqla/configure-whitespace
configure: don't fail when $CPPFLAGS starts with a white space
2015-05-11 19:03:57 +03:00
Gabriele
b67a10c4a1 configure: don't fail when $CPPFLAGS starts with a white space 2015-05-11 13:49:20 +02:00
sledgehammer999
fc52248bf7 Correctly detect FreeBSD when configuring.
Thanks to yurivict for helping.
Closes #2962.
2015-05-11 00:29:46 +03:00
sledgehammer999
4725022f7e Fix configure typo. 2015-05-11 00:29:42 +03:00
sledgehammer999
a3574d3e28 Merge pull request #2846 from Noctem/fixVariableNames
Fix variable names
2015-05-10 17:53:26 +03:00
Chocobo1
04300c11c3 Hookup to Coverity Scan, Closes #2601 2015-05-10 15:07:36 +08:00
Chocobo1
1d6263385b Use AllUppercase for label text 2015-05-10 14:13:25 +08:00
sledgehammer999
24c2f73a9d Update Changelog. 2015-05-10 04:17:32 +03:00
sledgehammer999
0f122df5f3 Change name of make target that creates the release tarball. The old name conflicts with the 'dist' folder. 2015-05-10 04:17:22 +03:00
sledgehammer999
1ba8ce7345 Sync translations from Transifex and run lupdate. 2015-05-10 03:03:07 +03:00
sledgehammer999
8a5d2208a5 Fix UI freeze when right clicking on a torrent with libtorrent 1.0.x.
Thanks to pmzqla for finding the root issue.
Closes #2365 #2388.
2015-05-10 02:31:35 +03:00
sledgehammer999
18e2bb6f60 Fix updating of Error/Warning trackers counter. 2015-05-09 20:39:38 +03:00
sledgehammer999
6c579950f6 Correctly detect trackers with invalid TLDs or IPv4/IPv6 addresses. 2015-05-09 20:39:29 +03:00
sledgehammer999
e378f28fb7 Use a single scrollbar for all filters in the sidepanel. 2015-05-09 20:39:20 +03:00
sledgehammer999
1f55c7aa6b Merge pull request #2866 from heirecka/master
Use DATADIR for installation of icons and appdata
2015-05-08 22:38:38 +03:00
sledgehammer999
2704e5577f Merge pull request #2948 from Chocobo1/res_compress
Increase resource files compression level
2015-05-08 22:06:04 +03:00
Chocobo1
010bf80b90 Increase resource files compression level, the result is 1.9% smaller binary size 2015-05-08 15:33:40 +08:00
DoumanAsh
62776df9e1 Aborting search engine process during closure. Close #2671 2015-05-05 19:29:13 +03:00
Chocobo1
72c5bce6a4 Add "Add link to torrent" menu in TrayIconMenu. Closes #2918. 2015-05-04 00:59:00 +08:00
sledgehammer999
6e4fbcf017 Fix linux build. 2015-05-03 01:21:06 +03:00
sledgehammer999
bf463d48d5 Bump version status. 2015-05-03 00:27:59 +03:00
sledgehammer999
3a3027e17c Update Changelog. 2015-05-03 00:27:44 +03:00
sledgehammer999
1a9b13b829 Sync translations from Transifex and run lupdate. 2015-05-03 00:08:02 +03:00
sledgehammer999
6644fe0714 Tell Windows to wait during shutdown by creating a ShutdownBlockReason.
Huge thanks to paolo-sz for bringing this to my attention, for the various patches he tried to submit and for testing.
See issue #1984 for complete history.
Closes #1535.
2015-05-02 23:55:58 +03:00
sledgehammer999
6c1740f78f Fix typo in configure script help description. 2015-05-02 23:51:51 +03:00
sledgehammer999
0994d258e2 Use absolute path to nox binary in the systemd service file. Also generate the service file with configure. Closes #2914. 2015-05-02 23:46:34 +03:00
sledgehammer999
d14805d065 Merge pull request #2863 from racam/master
login.html escape quotes + add qbittorrent-nox to gitignore + bug with startup info with qbittorrent-nox
2015-05-02 23:09:10 +03:00
racam
d7ac142885 Enhancement of the webui preference and of the quote escape for javascript 2015-05-01 21:59:36 +02:00
sledgehammer999
452b643e0c Merge pull request #2898 from glassez/app_quit
Fix aboutToQuit signal is not emitted on Windows.
2015-04-30 14:28:54 +03:00
Vladimir Golovnev (Glassez)
0a3406ea80 Fix aboutToQuit signal is not emitted on Windows.
In some cases QApplication::aboutToQuit() and
QApplication::commitDataRequest() signals not emitted on
Windows. This happened when qBittorrent is started with both "Show
minimized" and "Minimize to system tray" enabled.
2015-04-30 13:15:06 +03:00
sledgehammer999
3d41aced2b Merge pull request #2923 from pmzqla/webui-session
WebUI: create a new session for each user
2015-04-30 02:30:03 +03:00
Gabriele
8017680055 WebUI: create a new session for each user
Closes #2919.
2015-04-29 16:13:43 +02:00
sledgehammer999
167d20083d Merge pull request #2875 from pmzqla/qvarianthash
WebUI: Convert torrent list from QVariantHash to QVariantMap
2015-04-28 22:10:19 +03:00
racam
80b526d1af add qbittorrent-nox to the .gitignore 2015-04-27 23:29:21 +02:00
sledgehammer999
866f9654eb Merge pull request #2876 from pmzqla/webui-forcestart
WebUI: Implement 'Force Start' feature.
2015-04-16 22:22:57 +03:00
Gabriele
41fa59f164 Allow to Open files from the properties pane by pressing "Enter"
Allow to open only one file at a time and ignore keypresses when
multiple items are selected.
2015-04-16 18:50:11 +02:00
Gabriele
b5b40abb56 WebUI: Implement 'Force Start' feature. 2015-04-16 18:32:31 +02:00
sledgehammer999
2c5edf8652 Implement 'Force Start' feature. Closes #270. 2015-04-15 18:13:24 +03:00
sledgehammer999
f555fca5e0 Merge pull request #2531 from pmzqla/stable-list
Don't reorder the torrents in the transfer list if not necessary
2015-04-15 18:11:34 +03:00
Gabriele
1f77a03eb6 Don't reorder the torrents in the transfer list if not necessary
The current sorting algorithm is not stable and causes undesidered
rearrangements of the transfer list when different torrents have same
values in respect to the current sorting criterion. Fix this by using
the priority, the seed date and the hash of the torrents as fallback
values to determine the order.

Closes #2158.
Closes #2526.
2015-04-15 11:43:22 +02:00
Gabriele
fff1436e26 WebUI: Convert torrent list from QVariantHash to QVariantMap
Currently QJsonDocument::fromVariant() does not support QVariantHash,
so convert the torrent list to QVariantMap.

Closes #2849.
2015-04-14 20:36:25 +02:00
Gabriele
1b2e65011d Follow project coding style. Issue #2192. 2015-04-13 21:16:44 +02:00
sledgehammer999
79a9696703 Merge pull request #2869 from zywo/french.nsi
Update french.nsi
2015-04-13 17:36:44 +03:00
zywo
43bf51a4c8 Update french.nsi 2015-04-13 14:43:13 +01:00
sledgehammer999
7aab10b68f Merge pull request #2499 from ngosang/torrent_name
Changes torrent name when metadata is retrieved. Closes #2360.
2015-04-13 13:27:12 +03:00
ngosang
20d7f37fd0 Changes torrent name when metadata is retrieved 2015-04-13 10:49:29 +02:00
Heiko Becker
f3b82e24c8 Use DATADIR for installation of icons and appdata
This allow installing icons, appdata and desktop files into a
directory outside the prefix. This comes in handy on a multiarch
layout, where arch specific stuff goes into /usr/${host}/{bin,lib}
but arch independent files still into /usr/share.
2015-04-12 23:22:37 +02:00
sledgehammer999
6aceac152d Adjust color scheme for dark themes. Closes #1359. 2015-04-12 16:25:06 +03:00
sledgehammer999
4493fd9c31 Allow to use system QJson. Closes #1744. 2015-04-12 14:01:32 +03:00
sledgehammer999
3047681951 Don't include the GeoIP database in the repo. Inadvertently added by commit ff9a281b72. Issue #2837. 2015-04-12 01:07:41 +03:00
sledgehammer999
b117393345 Revert "Make Qt4 usage explicit." due to #2835.
This reverts commit 86f9cc1b8c.

Conflicts:
	configure
2015-04-11 23:43:55 +03:00
sledgehammer999
3c58b0cc9a Revert "WebUI: Use QVariantMap instead of QVariantHash"
This reverts commit d49c79d032.
2015-04-11 12:43:22 +03:00
sledgehammer999
daaac6fd10 Merge pull request #2852 from pmzqla/qvarianthash
WebUI: Use QVariantMap instead of QVariantHash
2015-04-10 22:11:06 +03:00
Gabriele
d49c79d032 WebUI: Use QVariantMap instead of QVariantHash
Currently QJsonDocument::fromVariant() does not support QVariantHash,
so use QVariantMap instead.

Closes #2849.
2015-04-10 13:17:23 +02:00
David Christenson
307ae459f2 Fix variable names
Change undeclared identifiers `running_` and `paramsQueue_` to their
proper names.
2015-04-07 20:49:45 -06:00
sledgehammer999
7af4928b18 Merge pull request #2826 from pmzqla/webui-queueing
WebUI: Check if torrent queueing is enabled before changing torrent priorities
2015-04-07 21:33:43 +03:00
sledgehammer999
970e7440c6 Merge pull request #2840 from pmzqla/numfiles
Use out of range value when the number of files can't be determined
2015-04-07 21:32:02 +03:00
Gabriele
52c8a570e1 Use out of range value when the number of files can't be determined
Trying to get the number of files of a torrent with no metadata causes
a crash. Prevent this by first checking if the metadata is available.
If the number of files can't be determined, -1 will be returned.

Closes #2522.
2015-04-06 23:48:49 +02:00
sledgehammer999
0cab34aa11 Merge pull request #2833 from pmzqla/osx-trayicon
Don't use HTML in tray icon pop-up on OSX
2015-04-06 02:06:23 +03:00
sledgehammer999
28eeef93f6 Merge pull request #2816 from pmzqla/sortdates
Put torrents with invalid "Last Activity" value or no "Ratio Limit" at the bottom of the list
2015-04-05 22:16:47 +03:00
Gabriele
f02db79c52 Put torrents with no ratio limit at the bottom 2015-04-05 20:44:09 +02:00
Gabriele
0a51b57a54 Put torrents with invalid "Last Activity" value at the bottom of the list
Closes #2809.
2015-04-05 20:44:07 +02:00
Gabriele
98350bae5d Follow project coding style. Issue #2192. 2015-04-05 20:44:03 +02:00
sledgehammer999
dcc73afd73 Save widget states under different paths when using Qt5. Closes #2340. 2015-04-05 20:49:26 +03:00
sledgehammer999
4612abb41e Make qmake regenerate recursively all makefiles in subdirectories when reconfiguring. Closes #2111. 2015-04-05 20:21:06 +03:00
sledgehammer999
8a2a719227 Update .travis.yml 2015-04-05 19:53:17 +03:00
sledgehammer999
72f03b4002 Make libtorrent-rasterbar 0.16.x usage explicit. 2015-04-05 19:46:48 +03:00
sledgehammer999
86f9cc1b8c Make Qt4 usage explicit. 2015-04-05 19:14:00 +03:00
sledgehammer999
de5912b3b5 Install appdata xml file along with the other files. 2015-04-05 19:01:23 +03:00
sledgehammer999
4627776165 Move appdata xml to dist. 2015-04-05 18:58:33 +03:00
sledgehammer999
39b59974ad Merge pull request #2147 from alxpl/patch-1
Create qBittorrent.appdata.xml
2015-04-05 18:53:10 +03:00
sledgehammer999
6b3555bd90 Add systemd configure option. Closes #921. 2015-04-05 16:37:28 +03:00
sledgehammer999
26404e2cc4 Add systemd service file.
Thanks to leigh123linux and pmzqla.
2015-04-05 16:37:12 +03:00
sledgehammer999
66bb7ce52c Drop pkg-config version requirement to 0.23. Closes #2645. 2015-04-05 14:17:22 +03:00
Gabriele
a582f2e5ed Don't use HTML in tray icon pop-up on OSX
Closes #2830.
2015-04-04 19:22:27 +02:00
Gabriele
027a08c92e Update matching RSS articles while editing rules
Save the rules as soon as they are edited so that the matching
articles tree is immediately updated.

Closes #2829.
2015-04-04 19:21:33 +02:00
Gabriele
6e91a108bd WebUI: Check if torrent queueing is enabled before changing torrent priorities 2015-04-03 18:02:39 +02:00
sledgehammer999
d2ffbc44f1 Merge pull request #2721 from Chocobo1/dev7
Initialize class members
2015-04-02 14:50:11 +03:00
sledgehammer999
3294d895a1 Merge pull request #2652 from pmzqla/content-table
WebUI: changes to torrent file list
2015-04-02 11:53:19 +03:00
Chocobo1
ab6ccd9f5b Initialize member m_apstate 2015-04-02 14:15:58 +08:00
sledgehammer999
954214c364 Merge pull request #2730 from LazyBui/master
Implementing support for session-based download and upload statistics
2015-04-01 20:25:23 +03:00
sledgehammer999
02df947ce7 Merge pull request #2784 from ngosang/torrentz_trackers
[search engine] Update Torrentz trackers list
2015-04-01 14:23:30 +03:00
ngosang
e0b399e2a1 [search engine] Update Torrentz trackers list 2015-03-31 16:21:26 +02:00
sledgehammer999
2e9593b797 Merge pull request #2812 from schnurlos/patch-3
Update about_imp.h
2015-03-31 08:41:49 +03:00
sledgehammer999
4c2b072ae2 Fix 'Resumed' filter counter. 2015-03-31 01:59:49 +03:00
schnurlos
2c9667e144 Update about_imp.h
Added schnurlos as 2nd german translator
2015-03-30 22:03:15 +02:00
sledgehammer999
ec61907ea1 Merge pull request #2806 from ngosang/translators
Update translators
2015-03-30 19:04:45 +03:00
ngosang
7172b48d9b Update translators 2015-03-30 15:56:10 +02:00
Chocobo1
1037d7f335 Webui: add delay in shutdown command in order to send out response msg 2015-03-30 13:50:53 +08:00
sledgehammer999
c6bfcd0d02 Bump version status. 2015-03-29 21:11:36 +03:00
sledgehammer999
8c671fa0c1 Update Changelog. 2015-03-29 21:09:33 +03:00
sledgehammer999
25afb8a338 New translation: Hindi(India). 2015-03-29 21:09:18 +03:00
sledgehammer999
4929085a5d Sync translations from Transifex and run lupdate. 2015-03-29 21:07:28 +03:00
sledgehammer999
276ca0ab84 Change the color scheme used(mostly for light backgrounds). 2015-03-29 20:45:17 +03:00
sledgehammer999
74fc92137a Merge pull request #2800 from pmzqla/icons-leftpanel
Set icon size to 16x16 in the left panel
2015-03-29 20:35:36 +03:00
Gabriele
ad271bb549 Set icon size to 16x16 in the left panel 2015-03-29 18:41:23 +02:00
sledgehammer999
75e1101321 Merge pull request #2797 from pmzqla/completed-status
WebUI: Implement a 'Completed' status
2015-03-29 19:06:18 +03:00
Gabriele
e3a5ba09c4 WebUI: Implement a 'Completed' status 2015-03-29 18:00:59 +02:00
sledgehammer999
f9e7345776 Implement a 'Completed' status. Closes #2326 #2483 #939. 2015-03-28 21:25:32 +02:00
sledgehammer999
8420559e05 Implement 'Error' and 'Warning' views in the tracker list. Closes #1077. Partially implements #33. 2015-03-28 16:54:09 +02:00
sledgehammer999
9b0ea3a055 Allow the user to disable filters from the side panel. 2015-03-28 16:54:01 +02:00
sledgehammer999
ff1aaa8733 Refactor side panel code. Encapsulate each widget's logic in their own subclass. 2015-03-28 16:53:53 +02:00
sledgehammer999
1bb968f9fd Remove unused code from the side panel filters. 2015-03-28 16:53:44 +02:00
sledgehammer999
96d7bfb4ad Update the UI when trackers or Url seeds are added either via the WebUI or via merging duplicate torrents. 2015-03-28 16:53:36 +02:00
sledgehammer999
a85b6df314 Fix side panel resizing of elements. 2015-03-28 16:53:27 +02:00
sledgehammer999
f0d5ce4b98 Implement tracker list in the side panel. Closes #170. 2015-03-28 16:53:19 +02:00
sledgehammer999
36d2bee557 Merge pull request #2789 from Chocobo1/translation
Update installer translations: Traditional Chinese
2015-03-28 03:51:10 +02:00
Chocobo1
62604af2d0 Update installer translations: Traditional Chinese 2015-03-27 20:51:00 +08:00
sledgehammer999
238a799d38 Merge pull request #2783 from ngosang/spanish_translation
Update Spanish translations (installer)
2015-03-26 19:24:34 +02:00
sledgehammer999
9570df5651 Merge pull request #2780 from MrStukov/patch-2
Update russian.nsi
2015-03-26 19:23:49 +02:00
ngosang
ff97f9eba6 Update Spanish translations (installer) 2015-03-26 13:53:55 +01:00
sledgehammer999
133d92dd2e Merge pull request #2677 from pmzqla/connection
Remove dead connection from MainWindow
2015-03-26 03:38:27 +02:00
sledgehammer999
ccf6f71646 Merge pull request #2774 from schnurlos/master
Update german.nsi
2015-03-26 03:36:23 +02:00
Alexander
7baa8da185 Update russian.nsi
replaced the word "откывать" to "открывать" -> this is the correct translation of the word "open"
2015-03-25 23:24:11 +03:00
schnurlos
dbccc6bbaa Update german.nsi
Filled with german translation.
2015-03-24 20:48:12 +01:00
sledgehammer999
2fa061a898 Don't break RTL locales. 2015-03-20 00:02:50 +02:00
sledgehammer999
a40f30dd5e Fix speed printing in the tray icon and in the title bar. Closes #2737. 2015-03-19 01:02:05 +02:00
sledgehammer999
5a20bdcef3 Fix the deletion of torrents when using the context menu of the label sidepanel.
It now uses the same logic as the code that deletes torrents when using the context menu of the transferlist.
Closes #2729.
2015-03-16 23:57:03 +02:00
LazyBui
4dadf96925 Implementing support for session-based download and upload statistics 2015-03-16 09:41:39 -05:00
Chocobo1
3e6706a371 Don't close downloadFromURL dialog when showing empty url warning 2015-03-09 15:34:53 +08:00
Gabriele
def4b92588 Remove dead connection from MainWindow
shutdownCleanUp() had been removed with 458b216b74 ("MainWindow cleanups.")
2015-03-08 16:58:09 +01:00
Gabriele
48c1bd58dd Allow to copy all the trackers with a keyboard shortcut
If multiple trackers are selected, Ctrl+C will copy only one of them
while the context menu will copy all of them. Fix this inconsistency.

Closes #2675.
2015-03-08 12:50:22 +01:00
Gabriele
1e4d11801e WebUI: Add title attribute to filename cells in content tab
This will show the entire file path in a tooltip. This is useful
especially since bb1649a797 ("WebUI: return full paths to files).
2015-03-04 22:25:43 +01:00
Gabriele
dd112c1e1b WebUI: Simplify the code for the update of the content table 2015-03-04 22:25:26 +01:00
Gabriele
4db757839c WebUI: Return full path to files
It's otherwise impossible to know the structure of a torrent.
2015-03-04 20:03:46 +01:00
Artem S. Tashkinov
4f8155e612 Let's check if the torrent file can actually be opened before passing it to libtorrent
If we don't have enough permissions, libtorrent will spew a pretty useless, irrelevant and almost wrong message: "Failed to load the torrent: torrent file is not a dictionary"
2015-03-03 00:22:45 +05:00
Mayank Asthana
cf89d892c6 Download-from-URL textbox changes focus on tab key 2015-03-03 00:27:16 +05:30
sledgehammer999
19b9a84576 Merge pull request #2623 from ADTC/optimize-png
Optimize PNG for torrentz like #2598
2015-03-01 14:54:42 +02:00
sledgehammer999
3a79c7a37e Merge pull request #2629 from pmzqla/configure-comp
Use correct operator to compare strings in configure script
2015-03-01 14:48:32 +02:00
Gabriele
6b248492ca Use correct operator to compare strings in configure script
To compare strings, = should be used instead of ==.

Closes #2627.
2015-02-28 14:39:36 +01:00
ADTC
1109464dad Optimize PNG - torrentz
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-27 05:52:46 +08:00
sledgehammer999
112d4b8c71 Merge pull request #2512 from ngosang/torrentz
New feature: Torrentz search engine
2015-02-26 18:46:35 +02:00
sledgehammer999
54975e1c41 Merge pull request #2563 from pmzqla/encoding-check
WebUI: Use regular expression to check if gzip is accepted
2015-02-26 18:45:09 +02:00
sledgehammer999
09d7c2777f Merge pull request #2613 from DoumanAsh/btdigg_fix
[search engine] Remove custom HTTPSConnection. Fix #2594
2015-02-26 18:22:27 +02:00
sledgehammer999
906ffdf4b6 Merge pull request #2598 from ADTC/optimize-png
Optimize PNG (lossless compression)
2015-02-26 18:21:25 +02:00
sledgehammer999
784c3da3b5 Merge pull request #2611 from Chocobo1/my_dev
Let the OS decide the default interface regardless of IPv4/IPv6. Closes #2156.
2015-02-25 18:01:28 +02:00
Chocobo1
45149f3277 Let the OS decide the default interface regardless of IPv4/IPv6. Closes #2156. 2015-02-25 22:52:12 +08:00
sledgehammer999
42b9e3d2c4 Merge pull request #2614 from glassez/indent_size
Fix indentation size in qtlibtorrent/* files.
2015-02-25 16:23:39 +02:00
Vladimir Golovnev (Glassez)
0e4ef42ddf Fix indentation size in qtlibtorrent/* files. 2015-02-25 12:48:40 +03:00
ngosang
fa6f4c6948 New feature: Torrentz search engine 2015-02-24 19:56:34 +01:00
DoumanAsh
2d4f183771 [search engine] Remove custom HTTPSConnection in btdigg. Fix #2594 #2425 2015-02-24 19:02:22 +03:00
sledgehammer999
92757b9f22 Follow project coding style. Issue #2192. 2015-02-23 22:38:29 +02:00
sledgehammer999
89db090cb9 Hold the Preferences lock the absolute minimum time. 2015-02-23 20:01:03 +02:00
sledgehammer999
153f3328f3 Randomize the listening port only on startup. 2015-02-23 20:00:55 +02:00
sledgehammer999
2c90ded9aa Fix qmake files. 2015-02-23 20:00:48 +02:00
ADTC
51a9d6572e Optimize PNG - search engines
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-23 18:36:47 +08:00
ADTC
286b247bf7 Optimize PNG - other icons
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-23 18:36:22 +08:00
ADTC
21bcb838b9 Optimize PNG - skin icons
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-23 18:35:50 +08:00
ADTC
508d54ac81 Optimize PNG - oxygen icons
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-23 18:35:13 +08:00
ADTC
f3e015f20e Optimize PNG - flags
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-23 18:31:36 +08:00
ADTC
2d81ffb001 Optimize PNG - line edit images
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)

For clear_left.png, Beyond Compare shows important difference when
compared with original. However, the optimized file itself works fine.

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-23 18:29:37 +08:00
ADTC
2f88d4aea8 Optimize PNG - qBittorrent icon
Reduced PNG sizes using PNGGauntlet for Windows (3 passes)

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-23 18:26:50 +08:00
sledgehammer999
1bf7e3cafa Move the searchengine code back into its original place. 2015-02-23 03:44:29 +02:00
sledgehammer999
b93d784571 Revert "Change Update URL for search engines"
This reverts commit 24a1c9b16e.
2015-02-23 03:41:57 +02:00
Gabriele
8b65db69c4 WebUI: Use regular expression to check if gzip is accepted
The previous code caused a crash in case "gzip" was at the end of the
string with no quality factor (;q=*) specified.
2015-02-17 20:19:56 +01:00
sledgehammer999
cff3485988 Merge pull request #2554 from john-peterson/icon
Fix filter icons. Issue #2553
2015-02-15 21:56:52 +02:00
John Sebastian Peterson
92f490cde8 Fix filter icons. Issue #2553 2015-02-15 02:29:41 +01:00
sledgehammer999
970a72cff2 Merge pull request #2543 from ngosang/update_url
Change Update URL for search engines
2015-02-12 21:12:53 +02:00
ngosang
24a1c9b16e Change Update URL for search engines 2015-02-12 18:00:26 +01:00
sledgehammer999
d4eaaf81e4 Merge pull request #2535 from ngosang/rss_warnings
Removes several warnings related with RSS
2015-02-12 17:31:16 +02:00
sledgehammer999
f62197f868 Merge pull request #2537 from ngosang/kickass_searchengine
Updated URL in kickasstorrents search engine
2015-02-12 16:09:54 +02:00
sledgehammer999
ac1e66fc71 Merge pull request #2490 from pmzqla/webui-checkbox
WebUI: Fix checkboxes of the watched folder list in the preferences
2015-02-12 16:07:53 +02:00
sledgehammer999
3b677053c7 Merge pull request #2487 from pmzqla/webui-negativeoffset
WebUI: Fix negative offsets when requesting torrent list
2015-02-12 16:06:29 +02:00
sledgehammer999
58c9a094f4 Merge pull request #2486 from pmzqla/webui-title
WebUI: Update browser title even with no transfer going on
2015-02-12 16:06:08 +02:00
sledgehammer999
33c5eccf13 Merge pull request #2493 from ADTC/issue-2452
Add "Copy name" option in right-click menu of torrent list
2015-02-12 16:04:59 +02:00
ngosang
ba2bb9be5b Updated URL in kickasstorrents search engine 2015-02-11 17:56:05 +01:00
ngosang
90a18da499 Removes several warnings related with RSS 2015-02-11 01:39:27 +01:00
ngosang
d206b00a88 Disable Auto piece size when creating a new torrent 2015-02-11 00:53:42 +01:00
sledgehammer999
0058abeefa Merge pull request #2467 from buinsky/master
Some canges in WebUI
2015-02-10 15:43:32 +02:00
buinsky
902db2b938 Group setting torrents download limit 2015-02-10 14:25:08 +03:00
buinsky
cf55751fbe Group setting torrents upload limit 2015-02-10 14:25:06 +03:00
buinsky
facab1681a Add ability to set super seeding mode for torrents 2015-02-10 14:25:04 +03:00
buinsky
28f573e9a8 Fix processHash function
Fix processHash function to not use QVariantHash as result because of QJsonDocument doesn't support QVariantHash variables in Qt 5.
2015-02-10 14:25:01 +03:00
buinsky
8931eec5b0 Use server refresh interval
Use torrents table refresh interval from server in web-client.
2015-02-10 14:24:59 +03:00
buinsky
c4332fe9a9 Add processing double click on torrent
Starting/pausing torrent by double-clicking on it.
2015-02-10 14:24:57 +03:00
buinsky
0fee2216d0 Add shortcut key for deleting selected torrents
Added processing of pressing 'Delete' key on keyboard.
2015-02-10 14:24:54 +03:00
buinsky
28b976bdb8 Place 'Resumed' filter before 'Paused' 2015-02-10 14:24:52 +03:00
buinsky
623797a6c4 Follow project coding style. Issue #2192. 2015-02-10 14:24:50 +03:00
buinsky
f5f9e206fb Add 'Resumed' filter 2015-02-10 14:09:17 +03:00
buinsky
0f56440dec Fix alternative speed limits toggle behavior 2015-02-10 14:09:15 +03:00
buinsky
135599acc4 Center vertically text in progress bar 2015-02-10 14:09:12 +03:00
buinsky
18b036545c Fix 'Resume all' & 'Pause all' actions 2015-02-10 14:09:10 +03:00
buinsky
1d5e52fc55 Fix friendlyDuration function 2015-02-10 14:09:07 +03:00
buinsky
ba86d16e78 Use compact style of JSON data 2015-02-10 14:09:05 +03:00
buinsky
bed0784a2d Follow project coding style. Issue #2192. 2015-02-10 14:09:02 +03:00
buinsky
d17f21af45 Queueing flag relocation in sync/maindata response 2015-02-10 14:09:00 +03:00
sledgehammer999
7bea5abb8d Merge pull request #2525 from ngosang/remove_empty_labels
Change "remove empty labels" to "remove unused labels".
2015-02-10 08:56:40 +02:00
sledgehammer999
503cca5a7e Merge pull request #2501 from ngosang/sort_state
Changes sort order of the status column
2015-02-10 08:55:17 +02:00
ngosang
d046b7a532 Change "remove empty labels" to "remove unused labels". 2015-02-10 01:46:27 +01:00
sledgehammer999
99cc29c18e Merge pull request #2504 from ngosang/remove_empty_labels
New feature: Remove empty labels
2015-02-10 02:18:28 +02:00
ngosang
ea111c664f New feature: Remove empty labels 2015-02-10 01:12:16 +01:00
sledgehammer999
eff45b9e14 Merge pull request #2488 from DoumanAsh/piratebay_fix
[searchengine] Fix piratebay. Closes #2270
2015-02-09 22:45:41 +02:00
DoumanAsh
503626bde8 [searchengine] Fix piratebay. Closes #2270 2015-02-09 21:13:57 +03:00
ngosang
57ab7fcf64 Changes sort order of the status column 2015-02-09 18:13:51 +01:00
sledgehammer999
b7898cccd0 Merge pull request #2508 from ngosang/mininova_search
Fix: error in mininova search engine
2015-02-09 19:09:54 +02:00
sledgehammer999
f84a22f403 Merge pull request #2506 from ngosang/white_bar
Removes white bar in the labels list. Closes #1151.
2015-02-09 19:09:16 +02:00
sledgehammer999
8bd0470fbb Merge pull request #2523 from ngosang/percent
Small change in progress bar percentage
2015-02-09 19:02:58 +02:00
ngosang
2da3ad3234 Removes white bar in the labels list. Closes #1151. 2015-02-09 17:38:54 +01:00
ngosang
0e89ec3737 Small change in progress bar percentage 2015-02-09 17:32:00 +01:00
ADTC
d0c523ed00 Changed "caption" to "name" in code for consistency
To maintain consistency with the actual English menu item, the variable
names and method name have been changed to reflect the menu item text.

Per comments in PR qbittorrent#2493

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-09 11:19:33 +08:00
ngosang
5d3f68e422 Add icon to "Copy name" option and change item ordering
The Copy icon is added to the menu item. This is in tandem with other
uses of the same icon, such as "Copy" (in log), "Copy selected" (in peer
list), "Copy tracker url", etc.

Also changed the ordering to have the new option appear before the
existing "Copy magnet link" icon.

This is as per comments in PR qbittorrent#2493

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-09 11:19:31 +08:00
Chris Hirst
91aad83cad Add "Copy name" option in right-click menu of torrent list
Implementation of feature request #2452
https://github.com/qbittorrent/qBittorrent/issues/2452

Adds a new option in the right-click menu of the torrent list to copy
the name(s) of selected torrent(s) to the clipboard. This is similar to
the existing option to copy the magnet links to the clipboard.

This patch was originally authored by Chris Hirst (ciaobaby). I changed
the item name from "Copy caption" to "Copy name" (the torrent list
column header says "Name"), and I added the missing line in the header
file.

Note: Translations are not updated for the English menu item "Copy
name".

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-09 11:19:29 +08:00
ngosang
1bd9b6ae1a Fix: error in mininova search engine 2015-02-09 01:46:00 +01:00
sledgehammer999
2859856034 Merge pull request #2518 from pmzqla/date-logs
Use system format to display dates in logs
2015-02-09 00:17:36 +02:00
Gabriele
8890d244e2 WebUI: Update browser title even with no transfer going on 2015-02-08 23:10:41 +01:00
Gabriele
09c8d17c94 WebUI: Fix negative offsets when requesting torrent list
If the offset is negative, it must be added to the current list size.
2015-02-08 23:09:45 +01:00
Gabriele
2a351ea9a4 WebUI: Fix checkboxes of the watched folder list in the preferences
The 'checked' attribute does not require any value, so for unckecked
checkboxes nothing should be added.

Fix f16b7614a1.
2015-02-08 23:07:07 +01:00
Gabriele
8fa3a714c2 Use system format to display dates in logs 2015-02-08 23:05:47 +01:00
sledgehammer999
8eaaa41573 Merge pull request #2484 from ngosang/create_torrent
Fix: default settings in "Create Torrent" dialog
2015-02-09 00:02:09 +02:00
ngosang
85610b3b7d Fix Create Torrent dialog 2015-02-08 22:45:27 +01:00
sledgehammer999
c6248fb162 Merge pull request #2449 from glassez/redesign
First preparations for Redesign (#2433)
2015-02-08 22:50:22 +02:00
Vladimir Golovnev (Glassez)
898d454b78 Follow project coding style (Issue #2192). 2015-02-08 20:38:04 +03:00
Vladimir Golovnev (Glassez)
2707f5205f Fix prefjson::setPreferences() doesn't actually save. 2015-02-08 19:44:56 +03:00
Vladimir Golovnev (Glassez)
8e1698d563 Implement Preferences::changed() signal. 2015-02-08 19:37:04 +03:00
Vladimir Golovnev (Glassez)
458b216b74 MainWindow cleanups.
All MainWindow child widgets use constructors with 'parent' parameter
that allows parent widget to delete them at its destruction.
Some other MainWindow cleanup code replaced to destructor.
Application manages MainWindow instance and remove it when aboutToQuit()
signal emitted.
2015-02-08 19:36:52 +03:00
Vladimir Golovnev (Glassez)
0c50a8b98b Put all application logic into Application class.
Application process message and split it into params list itself (this
prevents code duplication).
Application store params unless other components ready to process them.
Application incapsulate all QMacApplication and SessionApplication logic
(this is too small to have separate classes).
2015-02-08 19:33:18 +03:00
Vladimir Golovnev (Glassez)
8b95bb233d Fix main(). 2015-02-08 19:28:03 +03:00
Vladimir Golovnev (Glassez)
2dd473eb28 Use unmodified QtSingleApplication on Windows.
Get running application instance PID without QtSingleApplication
modification.
2015-02-08 19:27:45 +03:00
Vladimir Golovnev (Glassez)
e52a8fb0b0 Fix misc::getUserIDString() on Windows.
Return current user name now (and not constant "0").
Also use Unicode version of GetUserName().
2015-02-05 19:10:46 +03:00
Vladimir Golovnev (Glassez)
ff9a281b72 Change project directory structure.
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
2015-02-05 19:10:26 +03:00
sledgehammer999
e4c7f52bb3 Merge pull request #2463 from Noctem/QFont
Include QFont headers for OS X
2015-02-02 23:34:15 +02:00
David Christenson
2b480f60f9 Include QFont headers for OS X
Fix compilation on OS X >10.8 by including headers for QFont.
2015-02-01 17:06:59 -07:00
sledgehammer999
d0b476a4be Merge pull request #2464 from Noctem/stdlib-flags
Fix OS X compilation and packaging
2015-02-02 00:21:02 +02:00
David Christenson
bdb722893f Fix C++11 compliance
Fix compiler error when compiling with -std=c++11
 "invalid suffix on literal; C++11 requires a space between literal and
 identifier [-Wreserved-user-defined-literal]"
2015-02-01 13:32:00 -07:00
David Christenson
3f22bf1186 Use c++11 config instead of hard coding flags
Tell qtmake to use c++11 and let it handle the configuration changes.
2015-02-01 13:31:47 -07:00
sledgehammer999
6209d8838a Show info hash in the torrent details in 'Add New Torrent' dialog.
Initial work by chrishirst.
Closes #2385.
2015-02-01 18:29:00 +02:00
sledgehammer999
cb9a5c5018 Merge pull request #2480 from ngosang/copy_peers
Copy selected peers (IP:Port)
2015-02-01 15:51:52 +02:00
ngosang
17eb2dd3cc Copy selected peers (IP:Port) 2015-02-01 12:04:24 +01:00
sledgehammer999
71b6c6ffd7 Merge pull request #2470 from Noctem/minor
Update build-aux, configure, and .gitignore
2015-02-01 01:59:42 +02:00
sledgehammer999
2b24fe09c5 Save the new save path first in the history. Closes #2382. 2015-02-01 01:38:24 +02:00
sledgehammer999
38455af791 Follow project coding style. Issue #2192. 2015-02-01 01:27:51 +02:00
sledgehammer999
d45aff9169 Merge pull request #260 from sledgehammer999/add_new_torrent_layout
Improve usability of 'Add new torrent' dialog. Implements issue #225.
2015-02-01 01:21:09 +02:00
sledgehammer999
b465b3c68a Improve usability of 'Add new torrent' dialog. Implements issue #225. 2015-02-01 01:18:49 +02:00
sledgehammer999
d66273b10a Show error status when a torrent is missing files. 2015-01-31 20:06:50 +02:00
sledgehammer999
45b2432513 Don't touch torrents whose files are missing (like when their drive isn't plugged in).
Closes #342 #2308 2469.
2015-01-31 20:06:49 +02:00
David Christenson
26bf838a0b Bootstrap and update build-aux 2015-01-29 17:49:41 -07:00
David Christenson
3eabb5946b Update .gitignore 2015-01-29 17:49:25 -07:00
David Christenson
1506999968 Fix OS X packaging
Remove erroneous Prefix entry from the Mac qt.conf, change translation
install location.
2015-01-29 15:57:08 -07:00
David Christenson
87c272207f Add libc++ flags on OS X
QT5 on OS X apparently does not add '-stdlib=libc++' to CXXFLAGS or
LFLAGS, so they must be added by us for compilation to succeed.
2015-01-28 03:22:36 -07:00
sledgehammer999
95c75bb8c8 Merge pull request #2374 from pmzqla/slider-bandwidth
Allow bandwidth values up to 65535 KiB/s
2015-01-28 00:49:16 +02:00
sledgehammer999
eeee24a0b3 Make 'TorrentPersistentData' similar to 'Preferences' class. 2015-01-27 17:34:21 +02:00
sledgehammer999
70985480d6 Follow project coding style. Issue #2192. 2015-01-27 17:34:20 +02:00
sledgehammer999
dcf5d4d0ee Merge branch 'optimize-persistent-data' of git://github.com/sorokin/qBittorrent
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2015-01-27 15:21:26 +02:00
Ivan Sorokin
e3349092ad Refactor TorrentPersistentData
Conflicts:
	src/mainwindow.cpp
	src/mainwindow.h
	src/qtlibtorrent/qbtsession.cpp
	src/qtlibtorrent/qtorrenthandle.cpp
	src/transferlistwidget.cpp
	src/webui/btjson.cpp
2015-01-25 02:58:54 +03:00
Ivan Sorokin
70a114eb13 Speedup persistent data
Conflicts:
	src/mainwindow.cpp
	src/mainwindow.h
2015-01-25 02:58:54 +03:00
sledgehammer999
061e71337b Initialize logger at the beginning of program to avoid threading issues. 2015-01-23 19:05:19 +02:00
sledgehammer999
087417c8a6 Change the code to use the Logger class instead. 2015-01-23 19:05:18 +02:00
sledgehammer999
a7527aa9a7 Remove unused signal from LogListWidget. 2015-01-23 19:05:17 +02:00
sledgehammer999
8966bcacea Follow project coding style. Issue #2192. 2015-01-23 19:05:16 +02:00
sledgehammer999
91fc9e69ee Make the GUI log listen to the logger class. 2015-01-23 19:05:15 +02:00
sledgehammer999
1504bbfe43 Logger base class. 2015-01-23 19:05:14 +02:00
sledgehammer999
39c9bb0800 Merge pull request #2445 from buinsky/WebUI3
Web API: rename 'json' scope to 'query'
2015-01-23 16:41:42 +02:00
sledgehammer999
e67c4390ed Merge pull request #2429 from pmzqla/watched-folders
WebUI: Fix watched folders on Gecko
2015-01-23 01:28:35 +02:00
buinsky
b30ec46048 Web API: rename 'json' scope to 'query' 2015-01-23 01:37:12 +03:00
sledgehammer999
f2c6981711 Merge pull request #2389 from buinsky/WebUI3
Web API: Implement sync/maindata request
2015-01-23 00:36:12 +02:00
buinsky
574c57ee18 Use sync/maindata request in WebUI 2015-01-23 01:13:42 +03:00
buinsky
383c0e1418 Implement sync/maindata request 2015-01-23 01:13:38 +03:00
buinsky
0d43ee7076 Follow project coding style. Issue #2192. 2015-01-18 16:27:17 +03:00
buinsky
bf0f9dd275 Implement functions for generating partial responses of requests. 2015-01-18 16:27:05 +03:00
sledgehammer999
71eec8e2e0 Merge pull request #2407 from glassez/coding_guide
Fix internal conflicts in CODING_GUIDELINES.md.
2015-01-18 12:03:02 +02:00
Vladimir Golovnev (Glassez)
187180f986 Fix internal conflicts in CODING_GUIDELINES.md. 2015-01-17 23:20:41 +03:00
Gabriele
f16b7614a1 WebUI: Fix watched folders on Gecko
Passing objects to push() seems to be broken on Firefox, making the
preferences impossibile to use when there are watched folders.
Fix this by passing strings instead of elements.
2015-01-17 14:06:53 +01:00
Gabriele
c5db1157f1 Allow bandwidth values up to 65535 KiB/s
The slider has a max value, but it's changed whenever a value greater
than it is specified.

Note: 65535 is the maximum value allowed by libtorrent.

Closes #2373.
2015-01-17 14:00:29 +01:00
Gabriele
737f6c5b4e Split speedlimitdlg.h into speedlimitdlg.cpp and speedlimitdlg.h 2015-01-11 01:22:28 +01:00
sledgehammer999
74fcee2d7d Merge pull request #2332 from buinsky/WebUI2
WebUI: Change torrent model
2015-01-10 16:37:26 +02:00
sledgehammer999
aca42b8ccc Merge pull request #2378 from glassez/python_reg
Improve Windows Registry searching for Python.
2015-01-10 15:23:12 +02:00
Vladimir Golovnev (Glassez)
b45eb28099 Fix heap corruption. Closes #2342.
Fix heap corruption during Registry access.
2015-01-10 14:48:42 +03:00
Vladimir Golovnev (Glassez)
f851875ad1 Improve Windows Registry searching for Python.
Simplify logic of related functions.
Make sure that all open handles are closed.
Explicitly use Unicode versions of Windows API functions.
Prevent max subkey length overwrite.
Use Windows API style of variable names.
2015-01-10 13:17:21 +03:00
sledgehammer999
6757cc0bfe Merge pull request #2377 from pmzqla/spelling
Fix few spelling mistakes
2015-01-08 23:09:09 +02:00
Gabriele
d7161dcab1 Fix few spelling mistakes
s/Pieces size/Piece size/
s/uknown/unknown/

Closes #2367.
2015-01-08 18:42:58 +01:00
buinsky
04f1c0c238 WebUI: Change torrent model
Improvements:
- added functions, which may be used to reorder and hiding columns in torrents table
- new columns can be easily added to torrents table
2015-01-06 22:49:02 +03:00
sledgehammer999
68c06c7485 Rename the 'Unpaused' filter to 'Resumed'. 2015-01-04 01:32:31 +02:00
sledgehammer999
93f557b747 Coalesce changes in the Preferences class in a much shorter timeframe. 2015-01-04 01:20:37 +02:00
sledgehammer999
ca2dc325f5 Detect uknown command line parameters. 2014-12-28 12:31:37 +02:00
sledgehammer999
8bfd333c60 Touch up previous commit. 2014-12-28 12:31:36 +02:00
Vladimir Golovnev (Glassez)
afdc1ee93e HOTFIX: Correct command line parameters defaults. 2014-12-28 12:31:35 +02:00
sledgehammer999
96585ca73e Merge pull request #2322 from john-peterson/save4
fixing save state on change
2014-12-26 20:32:29 +02:00
John Sebastian Peterson
6de317ee13 Fix Properties widget state saving
readSettings changed CurrentTab and Visible by calling saveSettings

some slot connections were wrong
2014-12-26 19:28:50 +01:00
sledgehammer999
f21b0b4f6d Merge pull request #2321 from john-peterson/filter
adding inverse for paused filter
2014-12-26 20:11:15 +02:00
John Sebastian Peterson
89f34b4ae7 Add 'unpaused' torrent filter
the inverse of paused because complete and active have an inverse
2014-12-26 19:04:36 +01:00
sledgehammer999
5f8a49313e Merge pull request #2320 from pmzqla/webui-pausederror
WebUI: Add torrents paused because of errors in Paused and Download list
2014-12-26 19:38:49 +02:00
sledgehammer999
7a86180bb3 Merge pull request #2338 from jleclanche/master
Remove direct references to Qt4 in man pages
2014-12-26 19:38:01 +02:00
Jerome Leclanche
f91ed057ea Remove direct references to Qt4 in man pages 2014-12-26 18:27:34 +01:00
sledgehammer999
e8cb840836 Fix sorting by port column in peers view. 2014-12-26 17:30:09 +02:00
Gabriele
71bef1852d WebUI: Add torrents paused because of errors in Paused and Download list
Torrents paused because of errors are considered as torrents paused and in
download in the regular UI. Do the same in the WebUI for consistency.

Closes #2319.
2014-12-21 20:44:35 +01:00
sledgehammer999
91ec84b317 Merge pull request #2301 from pmzqla/checkuri-fix
WebUI: Specify URI size
2014-12-21 16:05:07 +02:00
sledgehammer999
db45d81f4c Merge pull request #2313 from glassez/cmdline
Improve command line parsing.
2014-12-21 15:57:22 +02:00
Vladimir Golovnev (Glassez)
5200999007 Improve command line parsing. 2014-12-21 16:29:01 +03:00
sledgehammer999
d888d4e897 Merge pull request #2046 from pmzqla/toolbar-menu
Allow minor toolbar customizations
2014-12-21 14:37:29 +02:00
Gabriele
0ebfea6c68 Add a context menu to the toolbar to change the position of the text
Closes #1145.
2014-12-21 13:27:45 +01:00
sledgehammer999
33fe829eb4 Merge pull request #2314 from glassez/daemon
Fix qbittorrent-nox daemon (discussed in #2300).
2014-12-21 13:51:09 +02:00
Vladimir Golovnev (Glassez)
1f110e9fb1 Fix qbittorrent-nox daemon. 2014-12-21 14:26:12 +03:00
Gabriele
442f45d42a Add texts to the icons on the toolbar
The toolbar follows the system style to display texts associated to
icons. Since no specific text is provided, the text used for the action
associated to the button will be used. This could make some of the
buttons rather big.

Add short texts to the icons so that each button uses a reasonable
amount of space.
2014-12-21 11:47:25 +01:00
sledgehammer999
6d6e3042c2 Merge pull request #2302 from buinsky/WebUI2
Accept multiple files at once. Closes #2253
2014-12-21 01:09:07 +02:00
buinsky
cb5b0f891c Accept multiple files at once. Closes #2253 2014-12-21 01:39:53 +03:00
sledgehammer999
bbd0dfb298 Merge pull request #2098 from DoumanAsh/int_search_combo
Add combo box for fast search engine switch
2014-12-20 21:56:52 +02:00
sledgehammer999
bea3a175fd Merge pull request #1549 from Gelmir/add_paused_rss
Support overriding global "Add paused" option in RSS on per rule basis
2014-12-20 20:05:24 +02:00
sledgehammer999
7b24157ce3 Merge pull request #2303 from Gelmir/gattrs
Normalize line endings
2014-12-20 19:59:03 +02:00
sledgehammer999
b46a0ea9b2 Use the 'fastest_upload' setting as seed choking algorithm. 2014-12-20 19:55:25 +02:00
buinsky
2d0099238a Follow project coding style. Issue #2192. 2014-12-20 20:53:58 +03:00
sledgehammer999
1110617896 Don't block peers that use privileged ports. 2014-12-20 19:48:54 +02:00
sledgehammer999
17c62bdd08 Fix incomplete commit 94ae9544d. Thanks @pmzqla for noticing and helping. 2014-12-20 19:31:38 +02:00
Nick Tiskov
385bbe0df6 Normalize EOL 2014-12-20 20:29:17 +03:00
Nick Tiskov
197c201269 Add .gitattributes 2014-12-20 20:26:26 +03:00
sledgehammer999
b5c00df107 Merge pull request #2309 from john-peterson/save3
saving properties window state when changed
2014-12-20 18:43:02 +02:00
John Sebastian Peterson
cbb8cbf052 saving properties window state when changed
to not lose it on an unclean exit
2014-12-20 17:09:35 +01:00
sledgehammer999
94ae9544d8 Fix 'Open Containing Folder' on unselected file. 2014-12-20 17:40:06 +02:00
sledgehammer999
7bc7b0e6b8 Merge pull request #2307 from pmzqla/webui-altspeed
WebUI: Alternative speed limits fixes
2014-12-20 16:56:53 +02:00
sledgehammer999
506d9caf09 Merge pull request #2296 from buinsky/master
WebUI: Set global upload max limit to 10000 KB/s
2014-12-20 16:52:58 +02:00
sledgehammer999
edba48a0b6 Merge pull request #2299 from glassez/webui_tr
WebUI: Improve translation macro.
2014-12-20 16:20:22 +02:00
sledgehammer999
6daaaa6b24 Merge pull request #2297 from pmzqla/filename-extension
Filename extension fixes
2014-12-20 15:47:42 +02:00
sledgehammer999
298bab7dd7 Use the configure script to prepare the build in Mac OSX too. Closes #2295. 2014-12-20 15:35:43 +02:00
sledgehammer999
ea2b650e7f Merge pull request #2293 from john-peterson/save2
saving splitter state on change
2014-12-20 15:12:03 +02:00
sledgehammer999
6c7eeb5c5b Merge pull request #2289 from glassez/fix_main
Improve program startup code.
2014-12-20 15:06:56 +02:00
Gabriele
fd86bafb38 WebUI: Be consistent with variable names 2014-12-19 17:34:52 +01:00
Gabriele
280aa95ef6 WebUI: Fix initial state of the alternative speed limits icon 2014-12-19 17:34:20 +01:00
Gabriele
a69515850c WebUI: Specify URI size
In some cases, args_ can't be empty. Specify the number of expected args.

Fix 2023ec043c ("WebUI: Check URI of GET and POST requests")
2014-12-19 17:09:36 +01:00
Vladimir Golovnev (Glassez)
48d4cf4f36 WebUI: Drop old translation hack. 2014-12-18 21:51:33 +03:00
Vladimir Golovnev (Glassez)
d80a14a2e1 WebUI: Improve translation macro.
Now we use QBT_TR(translatable string)QBT_TR.
2014-12-18 21:51:19 +03:00
Nick Tiskov
ef14b83134 Support overriding global "Add paused" option in RSS on per rule basis 2014-12-18 17:02:22 +03:00
sledgehammer999
f43d8f1139 Merge pull request #2292 from DoumanAsh/legit_torrents_small_fix
Small fix of import in legittorrents engine
2014-12-16 22:30:06 +02:00
Gabriele
e41de25919 Open files with ".!qB" appended to the filename
Filenames do not include ".!qB" in the file list, so the generated
path could be wrong.
2014-12-16 11:10:42 +01:00
Gabriele
301294fbff Remove unneeded check on filenames
The same check is performed in fsutils::fileExtension()
2014-12-16 11:10:04 +01:00
buinsky
9d51dcb663 WebUI: Set global upload max limit to 10000 KB/s 2014-12-16 05:01:55 +03:00
John Sebastian Peterson
e76ccd5926 saving splitter state on change
to not lose it on unclean exit
2014-12-15 23:26:44 +01:00
DoumanAsh
e357cf6231 Add combo box for fast search engine switch 2014-12-16 01:19:31 +03:00
DoumanAsh
722f1aaee8 Small fix of import in legittorrents engine 2014-12-16 01:19:19 +03:00
sledgehammer999
159f5dc06d Merge pull request #2291 from DoumanAsh/vertor_remove
Remove vertor engine. Closes #2260.
2014-12-15 22:57:09 +02:00
Vladimir Golovnev (Glassez)
96727f3206 Use forward declarations in main.cpp. 2014-12-15 21:43:01 +03:00
DoumanAsh
3b4548fe73 Remove vertor engine. Closes #2260.
Reason: tracker is closed and redirect to TorrentReactor
2014-12-15 21:01:41 +03:00
sledgehammer999
cac63e85e9 Merge pull request #2290 from john-peterson/save
saving torrent list view when changed
2014-12-15 17:25:49 +02:00
John Sebastian Peterson
5cab5bd129 saving torrent list view when changed
bc its otherwise forgotten by an unclean exit
2014-12-15 16:12:13 +01:00
sledgehammer999
ba054f34c8 Merge pull request #2172 from sorokin/fix-space-key
Implement sane behavior of space key in torrent content list. Closes #140.
2014-12-15 17:09:56 +02:00
Vladimir Golovnev (Glassez)
ede6715e72 Simplify main() logic.
Add Application class.
Put application initialization code to Application class.
Place some code into separate functions.
2014-12-15 17:24:31 +03:00
sledgehammer999
3d7ca1da77 Merge pull request #2284 from pmzqla/webui-features
WebUI changes
2014-12-14 23:18:58 +02:00
Gabriele
3be4257ad9 WebUI: MochaUI: Use same cursors on Gecko and WebKit 2014-12-14 21:26:39 +01:00
Gabriele
76999b598c WebUI: Prevent default action of links
This prevents anchors from being added to the URL.
2014-12-14 21:26:39 +01:00
Gabriele
2023ec043c WebUI: Check URI of GET and POST requests 2014-12-14 21:26:39 +01:00
Gabriele
e4da128fbb WebUI: Check that all and only the needed parameters are provided
Issue #1560.
2014-12-14 21:24:37 +01:00
Gabriele
f89baa4cf5 WebUI: Use case insensitive parameters for POST requests 2014-12-14 21:24:37 +01:00
Gabriele
6211a9855a WebUI: Assign min width to speed limit labels
Try to prevent continuous changes in the width of the labels.
2014-12-14 21:24:37 +01:00
Gabriele
2c930862c5 WebUI: Align elements in footer 2014-12-14 21:24:37 +01:00
Gabriele
f45e48c32a WebUI: Show connection status in the statusbar 2014-12-14 21:24:32 +01:00
Gabriele
f1477319ef WebUI: Show DHT nodes in the statubar 2014-12-14 20:16:44 +01:00
Gabriele
2aa344bb0a WebUI: Add missing comments 2014-12-14 16:20:37 +01:00
Gabriele
accfbdd304 WebUI: Use translated strings for speed limits dialogue 2014-12-14 16:20:37 +01:00
Gabriele
c53b19d6c1 WebUI: Allow to control the alternative speed limits
setGlobalDownloadLimit and setGlobalUploadLimit will now modify the
alternative speed limits if they are currently enabled and the regular
speed limits otherwise.

Add also two new commands to toggle the state of the alternative speed
limits and get their current state.

Closes #2203.
2014-12-14 16:20:37 +01:00
Gabriele
25e8cad16c WebUI: Update transfer info when speed limits are changed 2014-12-14 16:20:37 +01:00
Gabriele
b3a537f575 WebUI: Don't cache transfer info values
In this way speed limits are instantly updated.
2014-12-14 16:20:37 +01:00
Gabriele
9bd24a1408 Follow project coding style. Issue #2192. 2014-12-14 16:20:37 +01:00
Gabriele
16dcf39823 WebUI: Use relative sizes when saving panel height
This should prevent situations in which the properties panel completely
covers the transferlist on page load.

Save also the height whenever the window is resized since that changes
the height of the panels without saving the height.
2014-12-14 16:20:37 +01:00
Gabriele
95bf2ffc51 WebUI: Define some functions on load
These function shouldn't be called when the page is not loaded yet,
so it makes sense to define them later.
2014-12-14 16:20:37 +01:00
Gabriele
f740a4f30b WebUI: Make transfer info look like in the regular UI
The string for the transfer info was not translated as it should have.
Drop it completely.
2014-12-14 16:20:37 +01:00
Gabriele
e9d5a76d9c WebUI: Never show scrollbars in rate limits dialogue
A different DPI setting might make the elements in the dialogue big
enough to make the scrollbars appear, but not big enough to make them
useful. So, never show them.
2014-12-14 16:20:36 +01:00
Gabriele
f775e68666 WebUI: Use correct max ratio value
Closes #183.
2014-12-14 16:20:22 +01:00
sledgehammer999
50492902aa Merge pull request #2283 from pmzqla/speed-limits
Alternative speed limits changes
2014-12-14 16:44:48 +02:00
Gabriele
d202a59671 Don't forget alternative speed limits changes 2014-12-14 11:47:20 +01:00
Gabriele
9b5fea1987 Don't put limits to the alternative speed limits 2014-12-14 11:47:08 +01:00
sledgehammer999
47e7b3fac2 Merge pull request #2277 from buinsky/master
Some changes in WebUI
2014-12-14 02:11:46 +02:00
buinsky
98deac97a0 Precise setting of upload/download limits 2014-12-14 00:58:37 +03:00
buinsky
c95e181378 Disable flooding debug messages 2014-12-14 00:58:35 +03:00
buinsky
364e4277ec Show upload and download limits in status bar 2014-12-14 00:58:18 +03:00
Vladimir Golovnev (Glassez)
1fcca6f434 Fix main.cpp indentation. Issue #2192. 2014-12-13 20:22:35 +03:00
Vladimir Golovnev (Glassez)
ebd71bbe4c Avoid unnecessary classes creation. 2014-12-13 19:42:11 +03:00
sledgehammer999
4665dd6ea2 Run lupdate. 2014-12-13 16:17:16 +02:00
sledgehammer999
11ef0f8729 Correct RSS tooltip text from 18e0d122fb. 2014-12-13 16:14:13 +02:00
sledgehammer999
45313040d0 Run lupdate. 2014-12-13 15:50:54 +02:00
sledgehammer999
7f7aaabec1 Add better translation notes for some strings. 2014-12-13 15:49:50 +02:00
sledgehammer999
c0ecaa6f58 Merge pull request #2274 from pmzqla/headless-password
headless: Update default password hash
2014-12-13 13:05:45 +02:00
sledgehammer999
7be2291f3f Merge pull request #2276 from pmzqla/valign
Vertical align right-aligned elements of the transfer list
2014-12-13 13:05:23 +02:00
buinsky
1b4dad214a Fix setting session id 2014-12-13 01:29:59 +03:00
Gabriele
04d2deabb5 Vertical align right-aligned elements of the transfer list
Same as d19b7a777f ("Vertical align right-aligned header text")
2014-12-12 21:23:12 +01:00
Gabriele
9a534f62d5 headless: Update default password hash
Use the md5 of 'adminadmin'.
2014-12-12 15:26:40 +01:00
sledgehammer999
861c8e9ffa Merge pull request #2262 from pmzqla/webui-changes
WebUI: Misc changes
2014-12-12 00:55:05 +02:00
Gabriele
7a58a3fe43 WebUI: Ensure that no concurrent timers exist 2014-12-11 22:05:40 +01:00
Gabriele
fdc975d900 WebUI: Add readonly attribute to comment textarea
Torrent comments should not be editable.
2014-12-11 00:02:11 +01:00
Gabriele
005e378cbd WebUI: Don't change cursor style for the file list
Changing the cursor is misleading, no operation can be done.
2014-12-11 00:02:11 +01:00
Gabriele
1332ca318b WebUI: Adjust size of columns in property panels 2014-12-11 00:02:11 +01:00
Gabriele
b46ecb4351 WebUI: Decrease frequency of updates of property panel
Now that the properties are loaded immediately when the selected torrent
or the property tab is changed, the frequency of the updates can be
reduced without affecting the user experience.

New update intervals:
 * General: 5 seconds (10 if qBT is not reachable)
 * Tracker list: 10 seconds (20 if qBT is not reachable)
 * File list: 5 seconds (10 if qBT is not reachable)
2014-12-11 00:02:11 +01:00
Gabriele
ac507261f8 WebUI: Remove extra parethesis 2014-12-11 00:02:11 +01:00
Gabriele
408cc7101e WebUI: Update torrent properties immediately
Don't wait for new data to be fetched, request them as soon as
they are required, i.e. when a property tab is loaded or when a
different torrent is selected.
2014-12-11 00:02:09 +01:00
Gabriele
c54271638b WebUI: Load properties tabs once
Don't reload HTML on tab change. Load the entire structure once and
keep the unused bits hidden.

Keep also the JS code separately, one file per tab.

NOTE: tabs content is not loaded. This will be fixed in the next commit.
2014-12-11 00:00:35 +01:00
Gabriele
cb9ed13d69 WebUI: Fix minor error
No timer is set when the functions are directly called.
2014-12-11 00:00:35 +01:00
Gabriele
d06d7b1f6d WebUI: MochaUI: Show entire error message 2014-12-11 00:00:35 +01:00
Gabriele
aded5422d8 WebUI: MochaUI: Check for undefined functions 2014-12-11 00:00:35 +01:00
sledgehammer999
6884845446 Ensure that the priority column has enough width when queueing is enabled. Closes #2263. 2014-12-11 00:04:33 +02:00
Gabriele
d055613125 WebUI: Make column width less variable in transferlist
Each column has a fixed width that allows to read its content.
The column for the name of the torrents has a variable width with an
upper and a lower constraint.

If the width of the page is not sufficient to fit the table, a scrollbar
will appear.
2014-12-10 21:56:37 +01:00
Gabriele
5fb32da49f WebUI: Center progressbars in trasferlist 2014-12-10 21:56:33 +01:00
Gabriele
0a512e41c9 WebUI: Select username on login page load
On logout, the input field is not empty. Select its content.
2014-12-10 21:56:27 +01:00
Gabriele
57e9165bb4 WebUI: Translate page title everywhere 2014-12-10 21:56:06 +01:00
sledgehammer999
1820a03f1d Merge pull request #2254 from buinsky/master
WebUI: Some changes
2014-12-10 22:50:35 +02:00
sledgehammer999
7e16094ac6 Merge pull request #2268 from pmzqla/file-ext
Ignore .!qB when extracting file extensions
2014-12-10 22:19:20 +02:00
buinsky
2c93330ce9 Add space before priority menu item 2014-12-10 06:45:24 +03:00
buinsky
76e30ecf78 Dynamically show 'Start' and 'Pause' menu items 2014-12-10 06:44:41 +03:00
buinsky
2a712a81ea Add sequential downloading menu items 2014-12-10 04:50:39 +03:00
buinsky
6644791458 Follow project coding style. Issue #2192. 2014-12-10 04:50:21 +03:00
buinsky
44992056cf Restore selected filter on page load 2014-12-09 23:49:11 +03:00
buinsky
5b604ac251 Save torrent list sort order in local storage 2014-12-09 23:49:09 +03:00
buinsky
b4f39add08 Update torrent list after operations with torrents.
Immediately update torrent list after some operations with torrents.
Such as changing priority, adding torrent, pause/resume, etc.
2014-12-09 23:49:07 +03:00
buinsky
e8ad465c5f Follow project coding style. Issue #2192. 2014-12-09 23:49:05 +03:00
buinsky
57a4f3ed19 Hide priority menu items when queueing is disabled 2014-12-09 23:48:45 +03:00
Gabriele
2389495d96 Ignore .!qB when extracting file extensions 2014-12-09 21:32:26 +01:00
alxpl
9e181e2e3d Create qBittorrent.appdata.xml
fixes #1701

An appdata file for inclusion in the upcoming software centers as per the new freedesktop.org specs.

It should be placed in /usr/share/appdata/ similar to the way .desktop files are placed in /usr/share/applications/, e.g. if you have a "$(datadir)/applications" definition in your makefiles, you need to add a "$(datadir)/appdata" as well.

Please, skim through the file in case I made a mistake and please, include it in the 3.1.x branch as well.
Of course you are free to modify it as you see fit, e.g. change the license, change copyright info, use your own screenshots, etc., just make sure it passes validation.

Thanks!

http://people.freedesktop.org/~hughsient/appdata/
http://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html
2014-12-08 00:01:40 +02:00
buinsky
28fad54cc4 Add higest and lowest priority icons into toolbar 2014-12-08 00:33:38 +03:00
buinsky
69506ec505 Follow project coding style. Issue #2192. 2014-12-08 00:14:55 +03:00
buinsky
ba40408c8d Images cache control code edit 2014-12-07 23:50:06 +03:00
buinsky
dbc5ffee75 Follow project coding style. Issue #2192. 2014-12-07 23:33:36 +03:00
sledgehammer999
513f71e000 Sync translations from Transifex and run lupdate. 2014-12-07 22:01:37 +02:00
sledgehammer999
dcfe95f04b Merge pull request #2224 from pmzqla/webui-updates
WebUI changes
2014-12-07 17:23:54 +02:00
Gabriele
0b6d5c662a WebUI: Use CSS to alternate row colors in transferlist
Keep the old code for IE < 9, the majority of the browsers
shouldn't need it.

Also, keep the CSS code in one place.
2014-12-07 15:53:33 +01:00
Gabriele
8a4028fc84 WebUI: Remove unused variable 2014-12-07 15:53:33 +01:00
Gabriele
d7071a81bd WebUI: Keep current preference for the title style in a variable
Read persistent value only when required.
2014-12-07 15:53:33 +01:00
Gabriele
6ee1c8851f WebUI: Update title immediately when showing/hiding rates 2014-12-07 15:53:33 +01:00
Gabriele
2226f166ac WebUI: Fix increasing frequency of XHR requests
ajaxfn() is called every time the torrent list is filtered. This function
calls itself after a predefined amount of time by setting a timer. If
the function is called manually without destroying the timer, the
frequency of the XHR requests will increase.

Fix this by saving a reference to each timer that is created so that
they can be later destroyed.

Add also two helper functions to request updated data safely.
2014-12-07 15:53:33 +01:00
Gabriele
aab2c34257 Follow project coding style. Issue #2192. 2014-12-07 15:53:28 +01:00
sledgehammer999
3672363207 Merge pull request #2191 from glassez/webui
WebUI: Implement server-side filtering, sorting and limit/offset.
2014-12-07 15:42:01 +02:00
sledgehammer999
14d27d982d Fix compilation with libtorrent 0.16.x. 2014-12-07 15:28:55 +02:00
Vladimir Golovnev (Glassez)
0e87b96beb WebUI: Drop client-side sorting. 2014-12-07 16:28:03 +03:00
Vladimir Golovnev (Glassez)
e279dcf904 WebUI: Implement limit/offset. 2014-12-07 16:28:01 +03:00
Vladimir Golovnev (Glassez)
59ff08c107 WebUI: Implement server-side sorting. 2014-12-07 16:27:59 +03:00
Vladimir Golovnev (Glassez)
8ff03d162d WebUI: Fix transferlist.html indentation. 2014-12-07 16:27:56 +03:00
Vladimir Golovnev (Glassez)
d938643c38 WebUI: Drop client-side filtering. 2014-12-07 16:27:54 +03:00
Vladimir Golovnev (Glassez)
0488ddafa5 WebUI: Fix indentation.
Fix indentation in client.js and dynamicTable.js.
2014-12-07 16:25:52 +03:00
Vladimir Golovnev (Glassez)
1a1db877bf Use QTorrentHandle::torrentState() in btjson. 2014-12-07 16:13:39 +03:00
Vladimir Golovnev (Glassez)
5edf0e251f WebUI: Implement server-side torrent filtering. 2014-12-07 16:13:37 +03:00
Vladimir Golovnev (Glassez)
e887f574d7 Implement QTorrentHandle torrentState() and eta(). 2014-12-07 16:13:33 +03:00
Vladimir Golovnev (Glassez)
c24610ec80 WebUI: Improve btjson.* indentation. 2014-12-07 16:13:32 +03:00
sledgehammer999
78d4258dac Remove unused variable. 2014-12-07 15:09:56 +02:00
sledgehammer999
cd52d1820d Show reason why a peer was blocked. Needs libtorrent 1.0.x. 2014-12-07 15:09:16 +02:00
sledgehammer999
96ec6777e6 Follow project coding style. Issue #2192. 2014-12-07 12:11:18 +02:00
sledgehammer999
08f96ae7d7 Save RSS cache in folder called rss. 2014-12-07 11:54:09 +02:00
sledgehammer999
e331850b70 Merge pull request #1147 from maxrd2/rss_text
RSS Feed plain text description is not formatted.
2014-12-07 11:47:26 +02:00
sledgehammer999
7736415945 Merge pull request #1122 from maxrd2/rss_html
RSS Feed was not displaying remote images in html description.
2014-12-07 11:46:41 +02:00
Mladen Milinkovic
2c6df559e8 RSS Feed was not displaying remote images in html description. Closes #1119 2014-12-07 01:36:44 +01:00
Mladen Milinkovic
195b46673a RSS Feed will format plain text descriptions 2014-12-07 01:31:18 +01:00
sledgehammer999
f8e25984ae Fix for commit 35e964f66. 2014-12-07 01:39:49 +02:00
sledgehammer999
8449203b27 Add info about the proxy password being saved unencrypted. Closes #1490. 2014-12-06 21:05:34 +02:00
sledgehammer999
734301326b Rearreange header includes in Peerlist widget. 2014-12-06 19:24:07 +02:00
sledgehammer999
35e964f66d Implement peer relevance column. Closes #1630. 2014-12-06 19:07:26 +02:00
sledgehammer999
dc04ff511f Merge pull request #1546 from Gelmir/add_paused
Partially revert 14310f9b05
2014-12-06 17:04:13 +02:00
sledgehammer999
541cc4db24 Merge pull request #2242 from pmzqla/webui-password
Don't overwrite WebUI password when changing preferences
2014-12-05 12:12:41 +02:00
Gabriele
ef0b4c6ee2 Don't overwrite WebUI password when changing preferences
The input field to change password does not contain the actual
password, but its hash. When the preferences are saved, the hashed
password is considered as a new password.
Prevent this by comparing the new password with the hash of the
previous password.

Closes #2241.
2014-12-04 19:09:28 +01:00
sledgehammer999
60bc22119d Update Changelog. 2014-12-03 02:07:52 +02:00
sledgehammer999
da9396ca94 Fix compilation on ARM. Closes #2204. 2014-12-02 14:32:47 +02:00
sledgehammer999
8882895f5e Merge pull request #2230 from pmzqla/searchengine-kat
searchengine: Update KickassTorrents url
2014-12-02 11:28:39 +02:00
sledgehammer999
d24b67f77b Merge pull request #2229 from pmzqla/vertical-align
Vertical align right-aligned header text
2014-12-02 11:27:51 +02:00
Gabriele
ad949c69b5 searchengine: Update KickassTorrents url
Closes #2228.
2014-12-02 00:17:07 +01:00
Gabriele
d19b7a777f Vertical align right-aligned header text
Since e907306b41 ("Right align header text that also has right-aligned
row text"), right-aligned elements are no longer centered vertically.
This can be noticed with some Qt styles (e.g. Breeze).
2014-12-01 23:04:24 +01:00
Nick Tiskov
9a87afb562 Use TorrentTempData for overriding "add torrents paused" functionality 2014-11-30 20:20:38 +03:00
sledgehammer999
f5048a4586 Merge pull request #2201 from buinsky/master
WebUI: Some changes
2014-11-30 15:11:29 +02:00
sledgehammer999
e5e22eb925 Fix the language selection in the combobox when the system locale only has a lang equivalent and not a lang_COUNTRY one. Closes #1786. 2014-11-30 15:07:43 +02:00
buinsky
740617e5ce Use localStorage instead of cookies 2014-11-30 12:44:33 +03:00
buinsky
5e8c62e539 Add "Speed in title bar" item to menu
* file: src/Icons/oxygen/checked.png
  copyright: Victor Buinsky <allok.victor@gmail.com>
2014-11-30 10:39:27 +03:00
buinsky
b0e138d669 Set images cache expiry time to 300000 seconds 2014-11-30 10:30:20 +03:00
buinsky
632fd84e54 Fix context menu width 2014-11-30 10:30:02 +03:00
buinsky
39e135e40a Fix menu width 2014-11-30 10:27:33 +03:00
sledgehammer999
5d79fcdafd WINDOWS: Fix automatic python download. Commit 0799dc2 broke this. Closes #2076. 2014-11-30 00:34:25 +02:00
sledgehammer999
575125485e Enable backtrace support for mingw builds too. 2014-11-29 23:15:04 +02:00
sledgehammer999
f88ceed2b6 Let Qt decide the size of the statusbar. 2014-11-29 23:13:33 +02:00
sledgehammer999
9d548814a3 Resize and crop the icons used in the status bar. 2014-11-29 23:13:21 +02:00
sledgehammer999
12cd143f75 Merge pull request #2061 from pmzqla/speed-indicators
Show current speed limits in the status bar
2014-11-29 23:11:49 +02:00
sledgehammer999
6c0b74b94b Merge pull request #2214 from Gelmir/trace
Fix backtrace functionality under MinGW
2014-11-29 16:50:06 +02:00
Nick Tiskov
2df2b6f4eb Always disable ASLR for debug builds - otherwise debugging will fail 2014-11-29 16:40:23 +03:00
Nick Tiskov
6bab65e5b4 Produce demangled backtraces under MinGW 2014-11-29 16:40:18 +03:00
sledgehammer999
9e6a4da542 Merge pull request #2210 from alfrix/gui_fix
GUI: Streamline Properties Widget. Closes #2159
2014-11-29 15:35:21 +02:00
Nick Tiskov
2dd3d1fb22 Fix indentation for long addresses and filenames 2014-11-29 16:17:37 +03:00
Nick Tiskov
cb60519c44 Fix backtrace generation on Mingw: to resolve local functions we need to export them 2014-11-29 16:17:36 +03:00
Nick Tiskov
ba9f6a3531 Follow project coding style. Issue #2192. 2014-11-29 16:17:32 +03:00
sledgehammer999
0689a1735d Merge pull request #2206 from alfrix/prio_buttons
Add top and bottom priority hotkeys and buttons to menu and toolbar
2014-11-29 15:16:26 +02:00
sledgehammer999
b9ce4d48a0 Merge pull request #802 from Gelmir/rss_match_time_limit
Add setting to ignore RSS rule matches for X days
2014-11-29 12:56:25 +02:00
Alfredo Monclus
d28ca2eddc Add hotkeys and buttons for Top and Bottom priorities 2014-11-26 19:41:29 -03:00
Alfredo Monclus
7314c57852 GUI: Streamline Properties Widget. Closes #2159
Merge select buttons and filtering into one line
2014-11-26 18:48:12 -03:00
sledgehammer999
9d79e7679a Fix configure message printing order. 2014-11-26 15:28:07 +02:00
sledgehammer999
f46a7c1d3f Fix detection of Qt5. 2014-11-26 15:26:12 +02:00
sledgehammer999
17f56a7744 Update coding style. Closes #2091. 2014-11-26 15:10:43 +02:00
sledgehammer999
ecf3dd123e Don't display weird text in the 'Last Activity' column when the time is invalid. 2014-11-26 14:51:52 +02:00
sledgehammer999
e907306b41 Right align header text that also has right-aligned row text. Closes #2188. 2014-11-26 14:40:15 +02:00
sledgehammer999
f61675d98a Merge pull request #2207 from pmzqla/rss-rules
Fix RSS "OR" condition in "must not contain" rules.
2014-11-26 13:37:16 +02:00
sledgehammer999
ed829bc93a Revert "Temporarily disable Travis CI tests against libtorrent 1.0.x until #1878 is resolved."
This reverts commit 7029f4dcd2.
2014-11-26 02:19:49 +02:00
sledgehammer999
89726d4566 Remove useless includes. 2014-11-26 02:19:48 +02:00
sledgehammer999
a8766058f3 Use parse_magnet_uri() where possible. 2014-11-26 02:19:47 +02:00
sledgehammer999
f413e8b121 Stop using internal libtorrent API. Closes #2202. 2014-11-26 02:19:46 +02:00
sledgehammer999
cbbf14b0f8 Follow project coding style. Issue #2192. 2014-11-26 02:19:44 +02:00
Nick Tiskov
806a4a2e6a Add setting to ignore RSS rule matches for X days 2014-11-26 01:55:25 +03:00
Gabriele
c6dbe8ea60 Don't use white spaces as separator in RSS "must not contain" rules
This RegExp uses both white spaces and | as separator.
Use only the latter and drop the RegExp as it is no longer required.
2014-11-25 19:38:18 +01:00
Gabriele
5dede9e433 Use correct separator for "OR" condition in RSS rules
Although RSS rules were correctly parsed, the wrong separator for the
"OR" condition was used to re-generate the string of the rule displayed
in the preferences.

Closes #2205.
2014-11-25 19:19:20 +01:00
sledgehammer999
060d3fc5b9 Merge pull request #2153 from pmzqla/webui-versioninfo
WebUI: Allow to retrieve web API version and qBT version
2014-11-23 22:07:59 +02:00
sledgehammer999
8ce91e153d Merge pull request #2125 from buinsky/master
WEBUI: Some fixes
2014-11-23 21:54:42 +02:00
sledgehammer999
202e816d08 Use VERSION_BUILD where possible. Revert a change from previous commit. 2014-11-23 20:59:30 +02:00
sledgehammer999
6a2c82fe72 Merge pull request #2189 from glassez/version
Improve version.pri to set a version number only in one place.
2014-11-23 20:58:39 +02:00
sledgehammer999
950574c4c5 Make configure detect qmake with different names. Closes #1924. 2014-11-23 20:24:57 +02:00
sledgehammer999
3008d12c3c Try to fix FreeBSD detection with configure. 2014-11-23 20:04:54 +02:00
sledgehammer999
09c9968210 Fix QtBus detection with configure. 2014-11-23 19:59:47 +02:00
sledgehammer999
112dd20395 Make configure search for sed. 2014-11-23 19:59:27 +02:00
sledgehammer999
441f63d9af LINUX: Fix build with libtorrent 1.0.x. Closes #1878. 2014-11-23 19:43:14 +02:00
buinsky
2275735b81 Change of number of decimal places to 1
Change of number of decimal places to 1 in speed and size values.
2014-11-23 16:53:41 +03:00
buinsky
b2876b7f66 Show speed in title 2014-11-23 16:38:52 +03:00
Gabriele
d6169b14dd WebUI: Allow to retrieve qBittorrent version
New GET method:
 * version/qbittorrent: qBittorrent version

Closes #1872.
2014-11-22 20:47:32 +01:00
Gabriele
8b5512c244 WebUI: Assign a version to the Web API and allow to get it
New GET methods:
 * version/api: current API version
 * version/api_min: min API version supported

The API version is an integer and it's returned as plain text.

Whenever the API is changed, the api version is increased.

Whenever the API is changed in a way that is not backward compatible,
api_min is increased.
2014-11-22 20:47:32 +01:00
Gabriele
1154ea3873 Change indentation to 4 spaces. Issue #2192. 2014-11-22 20:47:32 +01:00
Vladimir Golovnev (Glassez)
103ee6d7d9 Improve version.pri.
Now you can set a version number only in one place.
2014-11-22 22:27:00 +03:00
buinsky
f44f676729 Update priority icons
Update priority icons
2014-11-20 17:26:38 +03:00
buinsky
5cc90844a5 Fixing setting speed limit of torrent in WEBUI
Fixing setting speed limit of torrent in WEBUI when global speed limit
is not set.
2014-11-20 17:26:36 +03:00
sledgehammer999
d6f309b7a6 Merge pull request #2177 from pmzqla/open-select
Implement open and select file in file manager [Linux]
2014-11-16 23:19:12 +02:00
Gabriele
0b14860e40 Implement open and select file in file manager [Linux]
Only few file managers are able to select files when started from the
command line.

xdg-mime is required to retrieve the default file manager. If it's not
available or the file manager is not able to automatically select files,
the containing directory will be opened as usual.
2014-11-16 21:28:30 +01:00
sledgehammer999
8f9c7b79ed Fix nox compilation. 2014-11-16 22:28:28 +02:00
sledgehammer999
f35e06540e Load torrents that have big metadata file. Closes #1889. 2014-11-16 21:25:53 +02:00
sledgehammer999
0adb9fcbce Escape backslashes. Issue #800. 2014-11-16 20:58:43 +02:00
sledgehammer999
bba8e18812 Merge pull request #744 from Gelmir/open_select
[Windows] Implement open & select file in file manager
2014-11-16 20:44:22 +02:00
Nick Tiskov
be99c45944 Fix opening of samba shares 2014-11-16 21:03:56 +03:00
Nick Tiskov
997b16a24a Implement open & select file in file manager [Windows only] 2014-11-16 21:03:51 +03:00
sledgehammer999
7dd4e4aca8 Merge pull request #2174 from sorokin/fix-empty-combobox
Fix emptying of 'piece size' combobox when user enable 'auto' checkbox and no files are selected
2014-11-16 18:15:06 +02:00
sledgehammer999
f12dc7ca36 Merge pull request #2173 from sorokin/placeholder-text-torrent-list
Set placeholder text to torrent content filter.
2014-11-16 18:02:55 +02:00
Ivan Sorokin
98a900e67d Fix emptying of piece size combobox when user checks "auto" checkbox.
The function computePathSize returns -1 if file isn't found, not 0.
2014-11-16 18:33:31 +03:00
Ivan Sorokin
376df3218d Set piece size to (max) 4Mb instead of empty string when created torrent
is very large.
2014-11-16 18:33:31 +03:00
sledgehammer999
e0d6e609e3 Documenting the project's coding guidelines. Closes #2091. 2014-11-16 17:25:58 +02:00
Ivan Sorokin
6780791d60 Set placeholder text to torrent content filter.
In commit afb03725ad it was implemented
for torrent list filter. Now it is here for files filter.
2014-11-16 18:09:38 +03:00
Ivan Sorokin
97d08a5b2f Implement sane behavior of space key in torrent content list. Closes #140.
Definitions:

Selection in QTreeView consist of two things:

   currentIndex -- is a (dotted) cell where user clicked last time. Note
                   that it is a cell
   selectedIndexes -- is a set of cells (blue) of current selection.

Checkboxes in torrent content lists are belong to COL_NAME column.

Problem:

The problem is that spacebar toggled checkbox only in currentIndex
index. This has two consequences:

  1. It is impossible to toggle checkboxes on multiple rows
     simultaneously.
  2. If currentIndex is not in COL_NAME column a space key doesn't work
     at all. This problem is amplifyed by the fact that SelectionBehavior
     is set to SelectRows. So visually it is impossible to tell which
     column does it belong to. For end user it looks like "space doesn't
     work sometimes".

This patch addresses the problem by implementing TorrentContentTreeView
derived from QTreeView and overridding keyPressEvent(QKeyEvent*).

The code of TorrentContentTreeView::keyPressEvent is written under
inspiration from QAbstractItemView::keyPressEvent and
QItemDelegate::editorEvent.
2014-11-16 17:19:04 +03:00
sledgehammer999
9088b1af84 Merge pull request #800 from Gelmir/smart_ep
Implement episode filter for rss downloader
2014-11-16 14:48:56 +02:00
sledgehammer999
ae1cecca2f Merge pull request #2163 from sorokin/optimize-prioritize-files
Reduce the number of torrent_handle::torrent_file() calls in QTorrentHandle::prioritize_files()
2014-11-16 13:39:36 +02:00
Ivan Sorokin
404c8972af Reduce the number of torrent_handle::torrent_file() calls in QTorrentHandle::prioritize_files(). Closes #2161.
It was reported (#2161) that enabling/disabling a downloading of a file
is considerably slow on libtorrent 1.0.3, but not on 0.16.x. The problem
is that a function torrent_file() in libttorrent 1.0.3 does a deep copy
of torrent_info, while get_torrent_info() in libtorrent 0.16.x only
returns a reference.
2014-11-16 03:37:51 +03:00
sledgehammer999
150a401632 Merge pull request #2156 from jleclanche/master
Fix configure script when running with dash
2014-11-12 18:04:46 +02:00
Jerome Leclanche
5a3927a22d Fix configure script when running with dash
`test 1 == 1` will fail using dash as the default shell. The `test 1 = 1`
syntax works in both Bash and Dash.
2014-11-12 14:54:07 +01:00
Nick Tiskov
60c4306502 Fix missing icon for open action in file list 2014-11-12 11:51:09 +03:00
Nick Tiskov
18e0d122fb Add tooltip to episode filter text edit 2014-11-12 11:50:43 +03:00
Nick Tiskov
0564ceea9f Implement episode filter for rss downloader 2014-11-12 11:50:42 +03:00
sledgehammer999
e8bec885cb Merge pull request #2145 from pmzqla/webui
Make Web API locale independent
2014-11-12 00:32:00 +02:00
Gabriele
b4acb2ef52 Use localeCompare to sort torrent list by name 2014-11-10 13:57:01 +01:00
Gabriele
ed83070517 Use raw data to sort columns
Store the raw data retrieved in a new data-raw attribute and use
these to sort the columns.

In addition, make the ETA column sortable.
2014-11-10 13:57:01 +01:00
Gabriele
ec592f8175 Remove unneeded parameters from helper functions for WebUI 2014-11-10 13:57:01 +01:00
Gabriele
aedf579d77 WebUI: make API locale independet
Sizes are now given in bytes.
Dates are Unix timestamps and converted to ISO 8601 in the web UI.
Numbers are not converted to strings.
-1 is returned for undefined values.

Some keys have been splitted:

Torrent list (json/torrents)
 * num_seeds: Torrent seeds connected to
 * num_complete: Torrent seeds in the swarm
 * num_leechs: Torrent leechers connected to
 * num_incomplete: Torrent leechers in the swarm

Torrent generic properties (propertiesGeneral/hash)
 * total_uploaded: Total data uploaded
 * total_uploaded_session: Total data uploaded this session
 * total_downloaded: Total data dowloaded
 * total_downloaded_session: Total data downloaded this session
 * time_elapsed: Torrent elapsed time
 * seeding_time: Torrent elapsed time while complete
 * nb_connections: Torrent connection count
 * nb_connections_limit: Torrent connection count limit

Global transfer info (json/transferInfo)
 * dl_info_speed: Global downalod rate
 * dl_info_data: Data downloaded this session
 * up_info_speed: Global upload rate
 * up_info_data: Data uploaded this session

Closes #1524.
2014-11-10 13:57:01 +01:00
Gabriele
8cc7a3573e Show current speed limits in the status bar
Closes #1316.
2014-11-09 23:00:45 +01:00
Gabriele
f46e660679 Adjust the size of the elements in the statusbar
Use the same height for all the elements and try to prevent
variations of the speed labels.
2014-11-09 23:00:45 +01:00
sledgehammer999
d642ddc795 Merge pull request #2150 from pmzqla/webui-fix
WebUI: Don't empty transfer list before updating it
2014-11-09 23:02:32 +02:00
Gabriele
09fde676ae WebUI: Don't empty transfer list before updating it
This causes the list from disappearing in IE 10.
No longer needed table rows are deleted anyway.
2014-11-09 21:19:38 +01:00
sledgehammer999
4dbc235c70 Use rgb values to match colors before commit ad116e. Taken from qcolor_p.cpp. 2014-11-09 13:59:36 +02:00
sledgehammer999
6d64f2430c Merge pull request #2140 from sorokin/fix-torrent-removal
Fix torrent removal. Closes #2132
2014-11-09 13:09:38 +02:00
sledgehammer999
9d770ea48b Merge pull request #2144 from sorokin/up-down-scrolling
Speed up scrolling with up/down keys
2014-11-09 13:07:00 +02:00
sledgehammer999
21139f9d29 Merge pull request #2142 from sorokin/repaint
Misc changes in TorrentModel and TransferListWidget
2014-11-09 13:06:39 +02:00
Ivan Sorokin
5986c1dbc9 Cache QRegExp in misc::parseHtmlLinks()
This commit should improve performance when user navigating through
torrent list using up/down keys. A scrolling through all the list
(276 torrents) took:

    Total wall time:                            18.813s
    Total CPU time:                              3.210s
    misc::parseHtmlLinks():                      0.096s

misc::parseHtmlLinks() is 8th most hottest function on
this use case.
2014-11-09 12:57:14 +03:00
Ivan Sorokin
9023232653 Cache icons in TorrentContentModel
This commit caches icons in TorrentContentModel in the same way they are
cached in TorrentModel.

This commit should improve performance when user navigating through
torrent list using up/down keys. A scrolling through all the list
(276 torrents) took:

    Total wall time:                            18.813s
    Total CPU time:                              3.210s
    IconProvider::generateDifferentSizes():      0.170s

IconProvider::generateDifferentSizes is 5th most hottest function on
this use case.
2014-11-09 12:57:14 +03:00
Ivan Sorokin
976982ba09 Now user-created labels "all" and "none" works as regular labels 2014-11-09 03:59:49 +03:00
Ivan Sorokin
f235c0ae6c Merge label filter into TransferListSortModel
This also fixes a bug that when label filter contains special symbols
from regex, the label filter may match torrents with multiple different
labels.
2014-11-09 03:58:50 +03:00
Ivan Sorokin
8bafc5e216 Merge StatusSortFilterProxyModel into TransferListSortModel
I thought merging all 3 sort-filter proxy models into one should
speedup dataChanged() signal. As turned out this is not the case. The
time difference is within inaccuracy range, so this doesn't affect
performance.

But I still think it is good to merge them into one proxy model as it
simplifies code.
2014-11-09 03:58:50 +03:00
Ivan Sorokin
cf2cb29826 Split transferlistsortmodel into .h and .cpp 2014-11-09 03:58:50 +03:00
Ivan Sorokin
0976918ca2 Call updateTorrentNumbers() once per every model refresh, not once for every row changed
Torrent numbers were recalculated on every dataChanged() signal. The previous commit
greatly increases the number of dataChanged() signals.

HEAD^^:
    Total wall clock:                 97.069s
    updateTorrentNumbers() time:       0.033s

HEAD^:
    Total wall clock:                 96.132s
    updateTorrentNumbers() time:       0.179s

HEAD:
    Total wall clock:                 95.535s
    updateTorrentNumbers() time:       0.047s

After this commit the time of updateTorrentNumbers() is (almost) back to
the level that it was in HEAD^^.
2014-11-09 03:58:50 +03:00
Ivan Sorokin
e5c024967d Emit TorrentModel::dataChanged() signal only for specific rows, not for the entire table
In commit b50d733 TorrentModel moved from a periodic refresh, to using
postStatusUpdate(). In this transition I forgot to remove emition of
dataChanged() signal for the entire table.

According to my measurements this commit reduce CPU usage of qbittorrent
by a factor of 3:

Before:
   Total wall clock:                                      97.07s
   CPU time:                                              21.77s
   - Time spent in TransferListDelegate::paint():         14.60s
   - Time spent in TorrentModel::forceModelRefresh():      1.44s
   - Time spent in TorrentModel::stateUpdated():           0.02s

After:
   Total wall clock:                                      96.13s
   CPU time:                                               6.68s
   - Time spent in TransferListDelegate::paint():          2.63s
   - Time spent in TorrentModel::forceModelRefresh():     <0.01s
   - Time spent in TorrentModel::stateUpdated():           1.73s

As it is seen the time spent in painting is reduced by a factor of 6 (14.60->2.63) at
the cost of slightly increased time of notifications that model is
changed (1.44->1.73). The next commits attempt to address this issue.
2014-11-09 03:58:50 +03:00
Ivan Sorokin
2e55c1f307 Optimize torrentRow a bit
The problem is that torrentRow() does linear search over the list of all
available torrents. So it doesn't scale well for large number of
torrents. Removing the copying of QString from linear search
inner loop, speed up it considerably.

The proper solution should be using hash table instead of linear search.
This require more radical changes in TorrentModel and may be done in a
separate commit.
2014-11-09 03:48:58 +03:00
sledgehammer999
a07f25aa67 Merge pull request #2124 from pmzqla/webui
Misc changes to the WebUI
2014-11-09 01:51:38 +02:00
Gabriele
97c1b17cf0 Show a spinner while torrents are being uploaded 2014-11-09 00:30:37 +01:00
Gabriele
3d1617b2de Upload torrents on user command
Don't upload the torrents as soon as they are selected.

Also, adjust the HTML code to better place the upload button.
2014-11-09 00:28:41 +01:00
Gabriele
ee3a736787 WebUI: Return error in case uploaded files are not torrents 2014-11-09 00:28:41 +01:00
Gabriele
8b8c9d3573 Rotate expand image to better suit its use in the UI 2014-11-09 00:28:36 +01:00
Gabriele
c255ba675a Center images in top menu 2014-11-09 00:28:18 +01:00
Gabriele
7b49ab2a48 Add missing images and fix few paths
These images are used in CSS rules, but are missing.

Images taken from MochaUI git repo.
2014-11-09 00:28:18 +01:00
Gabriele
465ff473f1 Drop Firefox specific code
This change improves the responsiveness while resizing panels.
The code was intended to fix bugs in really old versions of Firefox.
2014-11-09 00:28:18 +01:00
Gabriele
e83e46b08a Fix panel height calculation in Opera 2014-11-09 00:28:18 +01:00
Gabriele
7b73e96863 Fix errors in width and height calculations
border-left/right/top/bottom are not numbers.
2014-11-09 00:28:18 +01:00
Gabriele
dc0591997a Bump Internet Explorer compatibility 2014-11-09 00:28:18 +01:00
Gabriele
30a25e1de4 Workaround to make invisible buttons clickable on IE 2014-11-09 00:28:18 +01:00
Gabriele
d106c12aa2 Restricts hacks and workarounds to IE < 9 2014-11-09 00:28:18 +01:00
Gabriele
66a91a6e3a Remove XML encoding declaration from HTML files 2014-11-09 00:27:53 +01:00
Gabriele
0d2e9a9473 Reduce font size of priority combo boxes
They were too big in some cases (e.g. Firefox on Linux).
2014-11-09 00:25:40 +01:00
Gabriele
fa706b24be Use fake tristate checkbox on IE < 9 only 2014-11-09 00:25:40 +01:00
Gabriele
92cc8f7211 Fix disappearing transferlist list when zooming in the browser
When the page is zoomed in the browser, the transferlist doesn't fit
in the page and is moved below the left column, disappearing completely.

Allow elements to overlap the handle to prevent this from happening.

The error message is moved in the status bar since it's wrongly placed
because of the overlap.

Closes #603.
2014-11-09 00:25:40 +01:00
Gabriele
4f28fb5680 Minimize width of first column in transfer list 2014-11-09 00:25:40 +01:00
Gabriele
afde16c252 Change color of table header in bottom panel and add some padding 2014-11-09 00:25:40 +01:00
Gabriele
c516c0ac12 Center vertically "+" image in tracker list 2014-11-09 00:25:40 +01:00
Gabriele
af9e40d83d Alternate background color for torrent content
CSS3 support required.
2014-11-09 00:25:40 +01:00
Gabriele
b01c1f3b9a Don't show white parts when hovering over the elements of the menu 2014-11-09 00:25:40 +01:00
Gabriele
4ff999d1c5 Change background color of rows of torrent content 2014-11-09 00:25:40 +01:00
Gabriele
c9db08f0f4 Change background color of filterlist on hover 2014-11-09 00:25:40 +01:00
Gabriele
59abcc554d Remove "Downloaded" from transferlist header and reduce column width 2014-11-09 00:25:40 +01:00
Gabriele
863dc71100 Focus username input on load 2014-11-09 00:25:40 +01:00
Gabriele
0bfad7dce6 Add type attribute to style tag 2014-11-09 00:25:40 +01:00
Gabriele
5e77d99a5e Add alt attribute to images 2014-11-09 00:25:40 +01:00
Gabriele
b2e86bae7e Remove extra double quotes 2014-11-09 00:25:34 +01:00
sledgehammer999
f5c93e0b4d Merge pull request #2129 from glassez/webui
WebUI Fixes
2014-11-09 01:21:00 +02:00
Ivan Sorokin
c37e5abeff Fix torrent removal. Closes #2132
It was reported that qbittorrent crashes on Mac OS X when user deletes
torrents from label view when label filter is active.

The callstack of the crash is the following:

1   abort + 129
2   __assert_rtn + 321
3   QTorrentHandle::total_size() const + 124
4   TorrentModelItem::data(int, int) const + 307
5   TorrentModel::data(QModelIndex const&, int) const + 255
6   QSortFilterProxyModel::data(QModelIndex const&, int) const + 109
7   QSortFilterProxyModel::data(QModelIndex const&, int) const + 109
8   QSortFilterProxyModel::data(QModelIndex const&, int) const + 109
9   QItemDelegate::rect(QStyleOptionViewItem const&, QModelIndex const&, int) const + 75
10  QItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const + 172
11  TransferListDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const + 14
12  QTreeView::indexRowSizeHint(QModelIndex const&) const + 887
13  QTreeViewPrivate::layout(int, bool, bool) + 462
14  QTreeView::doItemsLayout() + 356
15  QTreeViewPrivate::updateScrollBars() + 109
16  QTreeView::scrollTo(QModelIndex const&, QAbstractItemView::ScrollHint) + 124
17  TransferListWidget::currentChanged(QModelIndex const&, QModelIndex const&) + 548
18  TransferListWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 641
19  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2196
20  QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved(QModelIndex const&, int, int) + 3729
21  QItemSelectionModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 398
22  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2196
23  QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) + 78
24  QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) + 106
25  QSortFilterProxyModelPrivate::remove_proxy_interval(QVector<int>&, QVector<int>&, int, int, QModelIndex const&, Qt::Orientation, bool) + 58
26  QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) + 265
27  QSortFilterProxyModelPrivate::source_items_about_to_be_removed(QModelIndex const&, int, int, Qt::Orientation) + 232
28  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2196
29  QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) + 78
30  QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) + 106
31  QSortFilterProxyModelPrivate::remove_proxy_interval(QVector<int>&, QVector<int>&, int, int, QModelIndex const&, Qt::Orientation, bool) + 58
32  QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) + 265
33  QSortFilterProxyModelPrivate::source_items_about_to_be_removed(QModelIndex const&, int, int, Qt::Orientation) + 232
34  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2196
35  QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) + 78
36  QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) + 106
37  QSortFilterProxyModelPrivate::remove_proxy_interval(QVector<int>&, QVector<int>&, int, int, QModelIndex const&, Qt::Orientation, bool) + 58
38  QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) + 265
39  QSortFilterProxyModelPrivate::source_items_about_to_be_removed(QModelIndex const&, int, int, Qt::Orientation) + 232
40  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2196
41  QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) + 78
42  QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) + 106
43  TorrentModel::removeTorrent(QString const&) + 81
44  TorrentModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 345
45  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2196
46  QBtSession::deletedTorrent(QString const&) + 56
47  QBtSession::deleteTorrent(QString const&, bool) + 2855
48  TransferListWidget::deleteSelectedTorrents() + 292
49  TransferListWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 230
50  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2196
51  QAction::activate(QAction::ActionEvent) + 227
52  QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) + 77
53  QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) + 470
54  QWidget::event(QEvent*) + 687
55  QMenu::event(QEvent*) + 617
56  QApplicationPrivate::notify_helper(QObject*, QEvent*) + 194
57  QApplication::notify(QObject*, QEvent*) + 2716
58  SessionApplication::notify(QObject*, QEvent*) + 21
59  QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
60  QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 448
61  qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) + 1300
62  -[NSWindow _reallySendEvent:] + 759
63  -[NSWindow sendEvent:] + 368
64  -[QCocoaPanel sendEvent:] + 113
65  -[NSApplication sendEvent:] + 2238
66  -[QNSApplication sendEvent:] + 97
67  -[NSApplication run] + 711
68  QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1522
69  QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 77
70  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 370
71  QMenu::exec(QPoint const&, QAction*) + 103
72  TransferListWidget::displayListMenu(QPoint const&) + 8741
73  TransferListWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 622
74  QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2196
75  QWidget::event(QEvent*) + 3082
76  QFrame::event(QEvent*) + 45
77  QAbstractScrollArea::viewportEvent(QEvent*) + 108
78  QAbstractItemView::viewportEvent(QEvent*) + 1390
79  QTreeView::viewportEvent(QEvent*) + 218
80  QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 37
81  QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 115
82  QApplicationPrivate::notify_helper(QObject*, QEvent*) + 178
83  QApplication::notify(QObject*, QEvent*) + 5742
84  SessionApplication::notify(QObject*, QEvent*) + 21
85  QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
86  qt_sendSpontaneousEvent(QObject*, QEvent*) + 45
87  qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) + 1378
88  -[NSWindow _reallySendEvent:] + 5682
89  -[NSWindow sendEvent:] + 368
90  -[QCocoaWindow sendEvent:] + 113
91  -[NSApplication sendEvent:] + 2238
92  -[QNSApplication sendEvent:] + 97
93  -[NSApplication run] + 711
94  QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1522
95  QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 77
96  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 370
97  QCoreApplication::exec() + 199
98  main + 3415
99  start + 52

As we can see the user deleted some torrent (48). QBtSession deleted the torrent
from libtorrent::session (47) and emitted a signal (46), about torrent deletion.
In responce to the signal (43) the TorrentModel notifies (42) its views about a change.
After a long chain of notifications (42-6) the view requested (5) a value of
total_size from TorrentModel. QTorrentHandle is already invalid as the torrent
was removed in (47). So we've got a crash in (3).

The fix is relatively straightforward: do notify TorrentModel about removal not after,
but before torrent is removed from libtorrent::session. This commit does the same
thing to TorrentSpeedMonitor.

This bug reveals a major flaw in a design: currently we have a several components all
subscribed to the torrent removal signal. Signal is delivered to them in arbitrary
order, but they access each other in the handlers of this signal. E.g. TorrentModel
can access TorrentSpeedMonitor. This doesn't lead to a crash because
TorrentSpeedMonitor returns MAX_ETA when ETA is queried for unknown torrent.
2014-11-09 00:25:59 +03:00
sledgehammer999
3202ad368f Merge pull request #2141 from sorokin/fix-a-warning
Fix a warning
2014-11-08 21:21:43 +02:00
Ivan Sorokin
6bbfd0aeb7 Fix a warning 2014-11-08 19:00:04 +03:00
sledgehammer999
c9e13dfe8b Merge pull request #2120 from sorokin/ip-filter-moc
split filterparserthread into .h and .cpp and (probably) fixes #2119
2014-11-08 14:35:23 +02:00
Vladimir Golovnev (Glassez)
cd0bcacd9f WebUI: Fix upload window closing on old browsers. 2014-11-07 15:53:11 +03:00
Vladimir Golovnev (Glassez)
d85c3170b2 WebUI: Add charset attribute to text content types. 2014-11-05 20:24:17 +03:00
Vladimir Golovnev (Glassez)
7b7f88ae4f WebUI: Fix WebAPI returned data. 2014-11-05 20:24:02 +03:00
Ivan Sorokin
da867fd022 Split trackerlogin into .h and .cpp 2014-11-05 03:10:39 +03:00
Ivan Sorokin
ed197a193d Split statusbar into .h and .cpp 2014-11-05 03:10:39 +03:00
Ivan Sorokin
6347700ee3 Move libtorrent includes to .cpp
This commit probably fixes #2119.

The only important change in this commit is moving
session::get_ip_filter() from FilterParserThread::processFilterFile() to
FilterParserThread::run(). Previously we called it in main thread, but
now we calls it in worker thread. I don't now what libtorrent contract
about threads, but I assume that if it is ok to set_ip_filter from
other thread, it is ok to get it.
2014-11-05 03:10:39 +03:00
Ivan Sorokin
17f5ffcaec Split filterparserthread into .h and .cpp 2014-11-05 03:10:39 +03:00
sledgehammer999
a63d4e3400 Merge pull request #2117 from glassez/webui
WebUI Fixes
2014-11-03 17:00:34 +02:00
Vladimir Golovnev (Glassez)
0660398c28 Replace Mascot with qBittorrent logo on WebUI login page. 2014-11-03 16:31:41 +03:00
Vladimir Golovnev (Glassez)
651bf4f9aa Fix status returned to banned user. 2014-11-03 16:31:40 +03:00
sledgehammer999
6f14b34470 WEBUI: Protect against timing attacks. Closes #2108. 2014-11-02 21:41:29 +02:00
sledgehammer999
09ab5c37ce Merge pull request #2077 from pmzqla/columns
Add new columns to transfer list
2014-11-02 21:00:35 +02:00
Gabriele
b63f647c2c Add "Total Size" column to transfer list
This column shows the total size of the related torrent taking into
account also the unwanted data.

Closes #1233.
2014-11-02 19:56:03 +01:00
Gabriele
b1af99ffba Add "Last Activity" column to transfer list
This column shows the time elapsed since the related torrent has
received or sent a chunk.

Closes #517.
2014-11-02 19:56:03 +01:00
Gabriele
a501f9d223 Add "Last Seen Complete" column to transfer list
This column shows when we or one of our peers last saw a complete
copy of the related torrent.

Closes #483.
2014-11-02 19:15:10 +01:00
sledgehammer999
ea486d45c9 Merge pull request #2110 from sorokin/o1-torrent-speed-monitor
O(1) torrent speed monitor
2014-11-02 19:55:03 +02:00
Ivan Sorokin
51c9d358b4 Implement O(1) SpeedSample::average() instead of O(N) 2014-11-02 20:03:49 +03:00
Ivan Sorokin
4ff08ff691 New improved Sample in TorrentSpeedMonitor 2014-11-02 20:03:49 +03:00
Ivan Sorokin
0d311062f3 Unused function 2014-11-02 20:03:49 +03:00
sledgehammer999
d62498b48c Merge pull request #2106 from sorokin/fix-memleak-in-torrentmodel
Fix a memleak in torrentmodel.
2014-11-02 16:43:04 +02:00
sledgehammer999
37d83cf6a8 Merge pull request #2092 from pmzqla/cleanup
Remove unused code
2014-11-02 16:41:40 +02:00
sledgehammer999
4f2b7c2e10 Merge pull request #2081 from sorokin/split
Split a few files into .h and .cpp
2014-11-02 16:40:41 +02:00
sledgehammer999
cfa28ec68c Merge pull request #2080 from sorokin/cleanup-torrent-model
Cleanup torrent model item
2014-11-02 16:36:52 +02:00
sledgehammer999
73a05a67a4 Merge pull request #2057 from pmzqla/sort-content
Put directories first when sorting torrent content by name
2014-11-02 16:28:25 +02:00
sledgehammer999
6d5c9ff7d4 Merge pull request #2095 from DoumanAsh/piratebay_https
Return https connection for piratebay
2014-11-02 15:48:40 +02:00
sledgehammer999
08de7f7439 Merge pull request #2059 from sorokin/fix-eta
Fix ETA calculation
2014-11-02 15:41:40 +02:00
sledgehammer999
46f3009e4b Merge pull request #2051 from pmzqla/filter-input
Improve input box to filter torrent list
2014-11-02 15:25:49 +02:00
sledgehammer999
238703cb0e Remove unused variables. 2014-11-02 15:03:53 +02:00
sledgehammer999
9e6d57057f Add back contact info in the copyright notices. 2014-11-02 15:03:40 +02:00
sledgehammer999
c8e72ff409 Merge pull request #1890 from glassez/webui
WebUI Core Redesign
2014-11-02 15:02:22 +02:00
Ivan Sorokin
9771cb796c Unused include 2014-11-02 15:37:07 +03:00
Ivan Sorokin
807960b768 Fix a memleak in torrentmodel.
Perhaps we should finally move to C++11 and std::unique_ptr?
2014-11-02 14:56:19 +03:00
Vladimir Golovnev (Glassez)
8a65dbaa4f WebUI core redesign. 2014-11-02 13:54:48 +03:00
DoumanAsh
b4e31c9a1b Use https for Piratebay search plugin. Closes #2093 2014-10-30 21:30:45 +03:00
Gabriele
fe030f1540 Remove unused code
Leftovers of 4ec176b683 ("Make possible to move file to .unwanted
directory after downloading")
2014-10-28 23:12:22 +01:00
Vladimir Golovnev (Glassez)
9853a9fec9 Modify Http parser/generator classes. 2014-10-26 19:52:15 +03:00
Vladimir Golovnev (Glassez)
3d20f2f670 Prepare WebUI resources.
Html/Css/JavaScript files displacement.
Also add new icon.
2014-10-26 19:52:01 +03:00
Gabriele
bdf27451ad Put directories first when sorting torrent content by name
Closes #1594.
2014-10-25 21:14:56 +02:00
Ivan Sorokin
8f0d49bb1b Remove default argument from TorrentPersistentData::setAddedDate() 2014-10-25 16:12:17 +04:00
Ivan Sorokin
16eb407453 Split src/torrentpersistentdata into .h and .cpp 2014-10-25 16:12:17 +04:00
Ivan Sorokin
e1b4c5534e Split src/transferlistfilterswidget into .h and .cpp 2014-10-25 16:12:17 +04:00
Ivan Sorokin
03b06fbf81 Split src/transferlistdelegate into .h and .cpp 2014-10-25 16:12:17 +04:00
Ivan Sorokin
2d98b8f192 Call TorrentModelItem::state() directly in getTorrentStatusReport
There is no point in wraping/unwraping QVariant.
2014-10-25 14:25:26 +04:00
Ivan Sorokin
80297697dd Remove mutable fields from TorrentModelItem
The querying of TR_STATUS doesn't affect color and icon now.
2014-10-25 14:25:25 +04:00
Ivan Sorokin
ad116edac7 Use Qt::GlobalColor to refer to color instead of string
Qt uses binary search to convert string to QColor, we don't need that
binary search at all. This patch could be considered as optimization, but
in reality creating QColor takes only 0.2% of time. So it should be visible
at all.

This could be considered as cleanup for not calling expensive functions
from non-expensive ones.
2014-10-25 14:25:21 +04:00
sledgehammer999
b0f767e699 Merge pull request #2060 from glassez/fwd_decl_fixes
Fix libtorrent types forward declaration errors/warnings.
2014-10-21 17:25:57 +03:00
sledgehammer999
e750ae3a79 Use boost:bind() as the docs show. Allows compilation with older gcc versions. 2014-10-21 16:28:06 +03:00
Vladimir Golovnev (Glassez)
ab2d506e09 Fix libtorrent types forward declaration errors/warnings. 2014-10-21 16:33:04 +04:00
Ivan Sorokin
637246c1c7 Cleaup includes 2014-10-21 12:13:56 +04:00
Ivan Sorokin
5f0d6f3c6d Fix incorrect ETA calculation 2014-10-21 12:13:52 +04:00
Gabriele
ea1d7afdef Focus transfer list on startup
The torrent list filter will be focused otherwise and its placeholder
text will be hidden on startup.
2014-10-20 19:58:31 +02:00
Gabriele
afb03725ad Add placeholder text to the input to filter the torrent list
Users can mistakenly think the input box is to search for torrents
and not to filter the torrent list. A placeholder text will make things
clear.
2014-10-20 19:58:31 +02:00
Gabriele
1a63f6af1b Show input box to filter torrent list only when the list is shown
It's misleading to show the filter on every tab when it works only
for the torrent list.
2014-10-20 19:57:39 +02:00
sledgehammer999
ce4ef37820 Remove superfluous semicolon(;). 2014-10-20 20:39:13 +03:00
sledgehammer999
c2f2d0a363 Don't show multiple unlock UI dialogs. Closes #2040. 2014-10-20 20:34:46 +03:00
sledgehammer999
2203d0a043 Merge pull request #2041 from sorokin/optimize-natural-sort
Optimize misc::naturalSort()
2014-10-19 18:57:14 +03:00
Ivan Sorokin
a278261806 Optimize misc::naturalSort()
Previous implementation used QRegExp to find a first digit. That is
utterly ineffective.

When torrent list is sorted by name (a column that uses the naturalSort() for
comparison), naturalSort could take 18.6% of the time of the UI thread. Optimize it
so now it takes 1% of the time of the UI thread.
2014-10-19 14:20:16 +04:00
sledgehammer999
9b71e4ffc9 Use the correct character encoding for exceptions coming from libtorrent. 2014-10-18 17:22:50 +03:00
sledgehammer999
89ae72d5c4 Merge pull request #2042 from sorokin/optimize-includes
Optimize includes
2014-10-18 16:42:30 +03:00
sledgehammer999
d02984cbed Merge pull request #2027 from pmzqla/system_icons
Increase maximum size of system icons
2014-10-18 15:10:29 +03:00
sledgehammer999
7c03167cde Merge pull request #2026 from pmzqla/master
Make Windows icons suitable for high dpi screens
2014-10-18 14:27:51 +03:00
sledgehammer999
dd711bf377 Merge pull request #2035 from pmzqla/torrentpath
Allow relative torrent paths when qBittorrent is already running
2014-10-18 14:27:14 +03:00
Gabriele
05929b78c6 Allow relative torrent paths when qBittorrent is already running
Adding new torrents from the command line while qBittorrent was
already running was possible only providing the absolute path to
the file.
2014-10-18 13:04:18 +02:00
sledgehammer999
aca4731145 Merge pull request #2031 from pmzqla/panel
Set minimum width of the left panel in the preferences
2014-10-18 13:43:40 +03:00
sledgehammer999
c2e0baa6a6 Merge pull request #2034 from pmzqla/sections
Don't stretch the last section in the transfer list
2014-10-18 13:31:39 +03:00
Ivan Sorokin
de5f38a160 Speedup compilation speed
libtorrent has a relatively heavy headers, that take lots of time to
process. This commit removes unnecessary includes of libtorrent headers
and replaces them with forward declarations.

I had to move some functions in QBtSession from slots to regular
functions because moc'ed file want to see complete types of all
parameters of slots.

"time make" of full rebuild before this series of commits:

real    13m35.937s
user    12m1.295s
sys     1m25.908s

after:

real    10m54.390s
user    9m31.167s
sys     1m12.580s
2014-10-18 12:19:05 +04:00
Ivan Sorokin
f6732e87f2 Remove inclusion of "qtracker.h" in "qbtsession.h" 2014-10-18 12:19:05 +04:00
Ivan Sorokin
b2e3739da2 Replace include of <libtorrent/session.hpp> with forward declaration 2014-10-18 12:19:05 +04:00
Ivan Sorokin
c9b27e032b Remove inclusion of alertdispatch.h from qbtsession.h 2014-10-18 12:19:04 +04:00
Ivan Sorokin
83dd35dbc9 Make alertdispatcher.h self contained and replace include libtorrent/session with forward declaration 2014-10-18 12:19:04 +04:00
Ivan Sorokin
5ea1a4c3cc Remove inclusion of <QThread> from misc.h 2014-10-18 12:19:04 +04:00
Ivan Sorokin
be338b969c Remove unneccessary includes of libtorrent in misc.h 2014-10-18 12:19:04 +04:00
Gabriele
fc02b11f65 Don't stretch the last section in the transfer list
Since the content of some sections is right aligned, automatically
resizing the width of the last one to fill the header could be
sometimes undesired.

Let the user choose the width of each section and never change his
preference.
2014-10-15 16:22:33 +02:00
Gabriele
93abeb3643 Set minimum width of the left panel in the preferences
Change also the default width and set it to the minimum.
This minimum width prevents the horizontal scrollbar from appearing.

The size of the items in the list depends on the Qt style, so the
left panel could be few pixels larger than required with some of them.
2014-10-14 22:52:30 +02:00
Gabriele
5b7ee14416 Make Windows icons suitable for high dpi screens
The maximum size of the icons is now 256x256 pixels so that
Windows can correctly scale them.

The 256x256 layer for the main icon was created upscaling the
192x192 png available in the source tree. Hence, the icon might
not be perfect at the maximum size.

The icon for the file association was made from scratch and it's
visually similar to the previous icon.
2014-10-14 17:52:22 +02:00
sledgehammer999
f9dc945730 Merge pull request #2025 from BrunoReX/search_term
Fix search inconsistency between Python versions
2014-10-14 17:11:40 +03:00
sledgehammer999
cae032039b Merge pull request #2030 from pmzqla/tooltips
Remove unneeded tooltip
2014-10-14 17:10:35 +03:00
Gabriele
becab3a013 Remove unneeded tooltip 2014-10-14 00:15:31 +02:00
Gabriele
616895b2c9 Increase maximum size of system icons
System icons were limited to a size 24x24 pixels, while the embedded
icons are 32x32 pixels big.
2014-10-13 18:54:05 +02:00
Bruno Barbieri
f288162e99 Fix search inconsistency between Python versions
Closes #2012
2014-10-13 07:42:06 -03:00
sledgehammer999
eab13982a2 Merge pull request #1543 from john-peterson/ssd
adding a save resume data interval option
2014-10-13 02:18:52 +03:00
John S. Peterson
d27bff4df4 adding a save resume data interval option
because some SSD users oppose frequent disk writes
2014-10-12 20:14:09 +02:00
sledgehammer999
d38bff0ca5 Merge pull request #1967 from DoumanAsh/pirateBay_uptade
Pirate bay engine update
2014-10-12 19:23:33 +03:00
DoumanAsh
a62e30ea88 Pirate bay search engine update 2014-10-12 20:15:18 +04:00
sledgehammer999
0e0e8f7c27 Merge pull request #2005 from BrunoReX/python3_utf8
Fix search engine encoding issues with python3 on Windows
2014-10-12 19:06:34 +03:00
sledgehammer999
91e53971b2 Merge pull request #1997 from BrunoReX/torrentreactor_fix
Fix TorrentReactor search plugin
2014-10-12 17:12:22 +03:00
sledgehammer999
f50eac4c15 Merge pull request #2022 from sorokin/for-sledgehammer
a small optimization, a micro optimization and a fix
2014-10-12 17:06:34 +03:00
sledgehammer999
e10e2e1719 Change the program updater's URL for Windows and Mac OS X. Closes #1954. 2014-10-12 16:42:33 +03:00
Ivan Sorokin
b995a9d75e Fix race condition in QAlertDispatcher
It was possible that QAlertDispatcher::dispatch() could access (lock)
mutex that was destroyed by main thread. Fix this by moving mutex into a
tag.
2014-10-12 12:25:56 +04:00
Ivan Sorokin
333978f1ff Use std::vector instead of std::deque in QAlertDispatcher
As we never use {push,pop}_front std::vector works here perfectly.
Also reserve memory for std::vector out of lock.

This could be considered as an optimization, but in reality this is just
using right container in right place. According to my measurements total
speedup is under 0.2%.
2014-10-12 12:25:47 +04:00
Ivan Sorokin
d89d9c2f75 Fewer calls to torrent_handle::info_hash() 2014-10-12 12:09:52 +04:00
Bruno Barbieri
698e5ef0f1 Replace deprecated sgmllib with HTMLParser/html.parser 2014-10-05 18:04:10 -03:00
Bruno Barbieri
2bdfd140cb Fix search engine encoding issues with python3 on Windows
Closes #1996
2014-10-05 17:03:43 -03:00
Bruno Barbieri
dc8853cd87 Fix TorrentReactor search plugin 2014-10-04 07:20:42 -03:00
sledgehammer999
e3d079ccb3 Merge pull request #1983 from sorokin/buffer-overrun-prop-widget
Fix heap-buffer-overrun in PropertiesWidget::displayFilesListMenu
2014-10-01 22:53:30 +03:00
Ivan Sorokin
ddd2025968 Fix heap-buffer-overrun in PropertiesWidget::displayFilesListMenu 2014-10-01 23:20:01 +04:00
sledgehammer999
2bc9e2c1a5 Merge pull request #1955 from paolo-sz/master
Correctly detect python in PATH
2014-09-25 14:27:18 +03:00
paolo-sz
b47fba49cc Correctly detect python in PATH 2014-09-25 09:28:58 +02:00
sledgehammer999
8408f56d6f Fix large cache support on amd64 arch pt2. 2014-09-21 14:01:58 +03:00
sledgehammer999
97419f840a Consider queued items before deciding to 'auto-shutdown on downloads completion'. Closes #1942. 2014-09-21 13:50:32 +03:00
sledgehammer999
0650d28da7 Merge pull request #1941 from Gelmir/magnet_redirect
Work around magnet redirection in feeds
2014-09-21 13:36:47 +03:00
sledgehammer999
88baa710fd Merge pull request #1947 from Gelmir/x64_cache_fix
Fix large cache support on amd64 arch
2014-09-21 13:11:32 +03:00
sledgehammer999
66f46d56f6 Merge pull request #1951 from masux/master
This fix qbittorrent/qBittorrent#1949
2014-09-21 12:12:10 +03:00
masux
f1e0ef87a4 This fix qbittorrent/qBittorrent#1949 2014-09-21 09:16:59 +02:00
Nick Tiskov
65f570b816 Fix large cache support on amd64 arch 2014-09-19 17:42:40 +04:00
Nick Tiskov
a7e445c575 Work around magnet redirection in feeds 2014-09-16 00:35:46 +04:00
sledgehammer999
94043e60c7 Merge pull request #1919 from masux/master
Fixed extratorrent.cc search engine.
2014-09-15 17:38:06 +03:00
Martin Janco
1290d7cac4 Fixed extratorrent.cc search engine. 2014-09-15 16:29:20 +02:00
sledgehammer999
79191b3f34 Sync translations from Transifex and run lupdate. 2014-09-15 00:33:21 +03:00
lojack5
ac3efb664a fix import torrent with "Keep incomplete torrents in:" ticked
* also had to account for "Append the label of the torrent to the save path",
  but again, this was only an issue when "Keep incomplete torrents in:" is
  selected

* A multi-file torrent with only one file (ie: a single file within a folder),
  was being treated as a single-file torrent, making it impossible to import.
  Multi-file torrent detection code was copied from libtorrent.  The
  information is available in libtorrent (under torrent_info::m_multifile),
  however it's a private member and I chose to go with copying the code that
  determines it, rather than modifying a library qBittorrent depends on.

Conflicts:
	src/torrentimportdlg.cpp
2014-09-15 00:05:13 +03:00
sledgehammer999
59379942ac Don't display the Search Engine tab by default. 2014-09-14 22:20:58 +03:00
sledgehammer999
b6d4030cd8 WINDOWS: Search first in PATH for python. Closes #956. 2014-09-14 22:20:57 +03:00
sledgehammer999
1144555eca WINDOWS: Can now correctly detect 64bit and 32bit python installations on 64bit Windows. Closes #1148 #445 #795 #1708. 2014-09-14 22:20:56 +03:00
sledgehammer999
574abc7cdb WINDOWS: Don't create keys in the registry if python isn't found. Closes #1370. 2014-09-14 22:20:55 +03:00
sledgehammer999
0799dc293c WINDOWS: Check for python before creating the search engine tab. Prevents the creation of python specific files in the user's PC if no python is found. Closes #1370. 2014-09-14 22:20:36 +03:00
sledgehammer999
5528f60a15 SMTP: send the local hostname as FQDN. See discussion in #1845 for more info. 2014-09-13 18:00:51 +03:00
sledgehammer999
f9aee5e3ab Forward declare classes where possible in 'TransferListWidget'. 2014-09-13 16:49:16 +03:00
sledgehammer999
baf9d21072 Show stalled downloads that are uploading under the 'Active' filter. Closes #1654." 2014-09-13 16:49:11 +03:00
sledgehammer999
6a6e562f60 Merge pull request #1925 from diger/haiku
Fix Qt5 support
2014-09-11 23:45:05 +03:00
diger
e7f1dacd6c Fix Qt5 support 2014-09-11 08:44:25 +06:00
sledgehammer999
cc4d17fbf0 Merge pull request #1819 from diger/haiku
Add patches for support Haiku (https://www.haiku-os.org)
2014-09-04 14:43:52 +03:00
diger
c22190fbf7 Add patches for support Haiku (https://www.haiku-os.org) 2014-09-04 13:23:16 +06:00
sledgehammer999
2a5393cf53 SMTP: Fix edge case where nothing was sent when no authentication was needed. Relates to #1845. 2014-09-02 17:31:44 +03:00
sledgehammer999
bf0ed595c7 Don't use IPv4 addresses when the user has enabled IPv6 address in the settings. 2014-09-02 14:45:42 +03:00
sledgehammer999
a708c642ef SMTP: Fix finding the local address. 2014-09-02 14:25:54 +03:00
sledgehammer999
487ca568b8 SMTP: Send the IP of the configured Network Interface. Relates to #1845. 2014-09-01 15:07:05 +03:00
sledgehammer999
54bf386794 SMTP: Support multiline greeting from server in INIT state. Thanks to Ivanov Juriy for helping identify the problem. Relates to #1845. 2014-08-31 14:32:09 +03:00
sledgehammer999
f22f7cf17a Fix available disk space label on single file torrents. 2014-08-31 00:05:38 +03:00
sledgehammer999
45e95e6cc2 Don't translate file extensions. Closes #1907. 2014-08-30 21:54:57 +03:00
sledgehammer999
94fc2f9c3d Don't display the context menu in 'Content' and 'HTTP Sources' buttons when no torrent is selected. It prevents crashes. Closes #1906, #1900. 2014-08-30 19:52:57 +03:00
sledgehammer999
de5ad05d0a Merge pull request #1902 from YuriIvanov/issue#1650
Add peer port column to PeerListWidget. Closes #1650.
2014-08-30 19:27:19 +03:00
sledgehammer999
11d39ba6ef Right align numerical values in the transfer list. Partially revert 51a9a9aab. Closes #1903. 2014-08-30 18:36:20 +03:00
Ivanov Juriy
d5f372fae8 Add peer port column to PeerListWidget. Closes #1650. 2014-08-30 15:28:59 +04:00
sledgehammer999
7753bc38e9 Merge pull request #1895 from YuriIvanov/issue#1845
add host address parameter to helo smtp request
2014-08-28 23:18:37 +03:00
sledgehammer999
495800d6e9 Possible fix for crash in RSS code. Closes #1901. 2014-08-28 19:00:57 +03:00
sledgehammer999
611bddf485 Merge pull request #1881 from benhutchins/feature-webui-safe
Fix Help menu links in WebUI
2014-08-28 18:29:42 +03:00
sledgehammer999
7029f4dcd2 Temporarily disable Travis CI tests against libtorrent 1.0.x until #1878 is resolved. 2014-08-26 01:16:21 +03:00
sledgehammer999
dd89d3507e Make Travis CI test against libtorrent 1.0.x too. 2014-08-26 00:57:24 +03:00
sledgehammer999
0b8fad69fa Option to disable connections not supported by proxies. Closes #1894. 2014-08-26 00:32:10 +03:00
sledgehammer999
cd99f0ea43 Don't disable DHT/LSD/UPnP in the GUI when anonymous mode is enabled. 2014-08-25 19:22:44 +03:00
Ivanov Juriy
a7ad34418f add host address parameter to helo smtp request 2014-08-25 14:26:30 +04:00
sledgehammer999
58ad90fa9c Set 'Cancel' as the default button in the shutdown confirmation dialog. 2014-08-23 23:22:47 +03:00
sledgehammer999
7c80277c04 Sync translations from Transifex and run lupdate. 2014-08-23 22:31:49 +03:00
sledgehammer999
f6156217d0 Added 'Shutdown now' button in shutdown confirmation dialog. Closes #969. 2014-08-23 22:22:03 +03:00
sledgehammer999
634000e7a9 Split ShutdownConfirmDlg into .h/.cpp files. 2014-08-23 21:55:38 +03:00
sledgehammer999
66b375de07 Don't listen on IPv6 address by default. Prevents network connectivity problems. Closes #1880. 2014-08-23 21:55:36 +03:00
Benjamin Hutchins
89fda12597 Removed essentially useless "Visit website" iframe and changed it to a regular link. Improves fix qbittorrent/qBittorrent#1343 2014-08-15 22:29:50 -04:00
Benjamin Hutchins
9143c440a5 Removed broken "Documentation" iframe from the webui. Improves fix qbittorrent/qBittorrent#1343 2014-08-15 22:29:50 -04:00
Benjamin Hutchins
afc5601697 Removed broken Report a bug iframe from the webui. fixes qbittorrent/qBittorrent#1343 2014-08-15 22:29:50 -04:00
sledgehammer999
2b061dab0a Sync translations from Transifex and run lupdate. 2014-08-15 13:52:14 +03:00
sledgehammer999
3e734ab4f6 Add 'Open' and 'Open Containing Folder' entries in the content's right-click menu. Closes #1143. 2014-08-15 12:53:18 +03:00
sledgehammer999
efb3936ef1 Fix the adding of .torrent files via http links which was broken by 30bc5a1da6. 2014-08-15 11:33:09 +03:00
sledgehammer999
12302ee86f Sort finished torrents by completed date when sorting by queue number. 2014-08-15 02:19:25 +03:00
sledgehammer999
bef61b695f Don't mix finished/unifinished torrents when sorting by ETA. Closes #1688. 2014-08-15 02:19:21 +03:00
sledgehammer999
e294b2f456 Added 'Ratio Limit' column. Closes #936. 2014-08-14 21:05:53 +03:00
sledgehammer999
e0190d5576 Add 'Completed' column. Closes #1241. 2014-08-14 20:22:02 +03:00
sledgehammer999
fe0df04ea8 Sync translations from Transifex and run lupdate. 2014-08-10 01:28:31 +03:00
sledgehammer999
35736b8bb4 Show disk space while retrieving metadata. Closes #1693. 2014-08-09 23:10:20 +03:00
sledgehammer999
36cba3b354 When qBT is launched with a magnet don't show it in the transferlist while the metadata are being loaded in the background. 2014-08-09 22:07:49 +03:00
sledgehammer999
30bc5a1da6 Show the loaded torrents in the transferlist when qBT is launched with a torrent/magnet and the AddNewTorrentDialog is showing. Closes #1564. 2014-08-09 21:15:17 +03:00
sledgehammer999
6cb7de33f6 Don't shrink transferlist rows when scrolling horizontally. Closes #1613. 2014-08-08 23:32:54 +03:00
sledgehammer999
061d4fc721 Revert "Fix WebUI sort by size/speed for some locales (with comma as decimal point)."
This reverts commit 87d118e87c.
2014-08-08 03:03:57 +03:00
sledgehammer999
2729abfd32 Revert "Fix WebUI sort by ratio for some locales (with comma as decimal point)."
This reverts commit c3942fb0b3.
2014-08-08 03:03:40 +03:00
sledgehammer999
d44df4f985 Don't localize double numbers in the webui. Closes #1525. 2014-08-08 02:59:48 +03:00
sledgehammer999
4908ed4e78 Run lupdate. 2014-08-08 00:12:42 +03:00
sledgehammer999
9819353c9d Sync translations from Transifex. 2014-08-08 00:11:26 +03:00
sledgehammer999
80d6a5a73e Allow disabling of OS cache. This will prevent RAM increases on Windows when seeding many files. Closes #1699. 2014-08-07 23:09:58 +03:00
sledgehammer999
7763a6d2d5 Limit max cache to 1800MiB for 32bits compiled binaries and to 4GiB for other. Closes #1698. 2014-08-07 23:09:57 +03:00
sledgehammer999
97cf824c4d Fix checkbox for 'Copy .torrent files to' setting, which was broken by b70621. Closes #1748. 2014-08-06 01:08:13 +03:00
sledgehammer999
6e6d285a02 Fix compilation on MACOS. 2014-08-05 14:54:28 +03:00
sledgehammer999
15d3df380c Migrate everything to use the new Preferences class and not access directly the qbittorrent.ini file.(webui) 2014-08-05 02:34:22 +03:00
sledgehammer999
d8d95d2195 Migrate everything to use the new Preferences class and not access directly the qbittorrent.ini file. 2014-08-05 02:34:21 +03:00
sledgehammer999
da6ce859c0 Cache preferences in memory. Closes #1272, #1523, #1694. 2014-08-05 02:33:50 +03:00
sledgehammer999
d0e0b25c9e Installer correctly associates torrents and magnet links with qBittorrent under non-admin accounts. Closes #291 #527 #579 #614 #964. 2014-07-30 00:09:57 +03:00
sledgehammer999
25c923c69e Merge pull request #1470 from glassez/assoc
Fix Windows file associations creation
2014-07-20 20:23:01 +03:00
sledgehammer999
8f32f86453 Merge pull request #1782 from sorokin/alert-disp-qt5
Fix alertdispatcher.cpp compilability on Qt5.
2014-07-20 20:21:29 +03:00
sledgehammer999
6e76d5cf41 Run lupdate. 2014-07-16 00:48:12 +03:00
sledgehammer999
eb3ca94172 Sync translations from Transifex. 2014-07-16 00:44:48 +03:00
sledgehammer999
e2748ec3ac Remove deprecated feature of separate DHT port. 2014-07-16 00:17:21 +03:00
sledgehammer999
08e14cdc26 Fix possible crashes. Closes #1814. 2014-07-14 22:00:40 +03:00
sledgehammer999
397268d4cc Merge pull request #1824 from bryanroscoe/rememberLocation
Scan Folder dialog now remembers last location
2014-07-14 09:03:47 +03:00
Bryan Roscoe
f6a324a1bd Scan Folder dialog now remembers last location
Also fix fs_utils spacing
2014-07-13 19:50:57 -05:00
Bryan Roscoe
27afbaf7e7 Fix column resizing issues 2014-07-13 17:03:58 -05:00
sledgehammer999
7419e930ab Indentation fixes. 2014-07-06 23:18:37 +03:00
sledgehammer999
d6d20074be Merge pull request #1447 from BrunoReX/hibernation
Add option to hibernate computer in Auto-Shutdown menu
2014-07-06 23:11:29 +03:00
sledgehammer999
9a18b50751 Some fixes for commit 6dabf50781. 2014-07-06 21:39:27 +03:00
sledgehammer999
3ad1cc8289 Merge pull request #1779 from sorokin/move-storage
Speedup and fix a bug in torrent moving.
2014-07-06 19:19:59 +03:00
sledgehammer999
63aa41ee42 Merge pull request #1778 from sorokin/fix-warn
Suppress warning about signed/unsigned mismatch.
2014-07-06 19:08:19 +03:00
Bruno Barbieri
00e09435b2 Add option to hibernate computer in Auto-Shutdown menu 2014-07-06 06:13:36 -03:00
Ivan Sorokin
6dabf50781 Speedup and fix a bug in torrent moving.
This commit implements a map where qbittorrent store a state of
current torrent movings. This commit speed up
torrents moving a bit and also fix a bug when qbittorrent doesn't do
cleanup action when a single torrent is moved several times without
waiting for a previous move to complete.

How it worked before.

Libtorrent has a function torrent_handle::move_storage() that allows to move a
torrent to a specific directory. This function is asynchorous. It means that
this function quits instantaneously and when the actual operation
completes the alert 'storage_moved_alert' or
'storage_moved_failed_alert' will be sent. The storage_moved_alert contains a
torrent_handle and a new path to where the torrent is moved.

During handling of storage_moved_alert, qbittorrent needs not only new path,
but also an old path to perform some of cleanup actions (like removing an old
folder if it is empty). This was achieved by storing a value named
'previous save path' in TorrentPersistentData. A previous save path is
written when move_storage() is issued and is read when
storage_moved_alert is received.

Problems.

This mechanism has two negative aspects:

1. TorrentPersistentData is very slow. As torrent_handle::move_storage() is asynchoronous,
TorrentPersistentData is responsible for more that 99.8% of time
QTorrentHandle::move_storage(). This percent could be higher when there
are lots of torrents and lower when there are few of them.

2. TorrentPersistentData stores only one previous path. But many
move_storage()'s could be issued without waiting for previous to
complete. Subsequent move_storage()'s overwrites previous save path of a
previous move.

A fix.

The fix is simple. Before issueing move_storage() the oldPath is stored in
a special map called 'torrentMoveStates'. When a storage_moved_alert
is received the map is consulted and an alert is handled.

When user moves torrent when previous moving have not yet finished, the
new location is saved in a field 'queuedPath' the same map. When
torrent moving is completed (or failed) qbittorrent attemps to perform
move again to the queued location.

Future direction.

This fix removes one slow read and one slow write to
TorrentPersistentData on torrent moving, but there is still exists
TorrentPersistentData::saveSavePath in handleStorageMovedAlert(), so
overall time for UI hang should be reduced only threefold. A speeding up
TorrentPersistentData should be addressed in a separate commit.

I don't know if I should clean up torrentMoveStates when torrent is
deleted. In any case, torrent could be deleted when corresponding alert
is in alert queue. So if we decide to clean up torrentMoveStates, then
we should not treat receiving alert from unknown torrent as a error.
2014-06-23 11:21:24 +04:00
Ivan Sorokin
ce9da1ba1e Fix alertdispatcher.cpp compilability on Qt5. 2014-06-23 00:14:58 +04:00
Ivan Sorokin
fddd337e34 Suppress warning about signed/unsigned mismatch. 2014-06-22 19:48:21 +04:00
sledgehammer999
273725d9dc Fix file renaming. 2014-06-18 23:41:52 +03:00
sledgehammer999
c673b1a7d7 Bring mainwindow in front when notification is clicked and other windows are in front. 2014-06-18 23:22:25 +03:00
sledgehammer999
7e9b47948b Run lupdate. 2014-06-10 23:22:39 +03:00
sledgehammer999
66c08bcc5d Sync translations from Transifex. 2014-06-10 23:19:43 +03:00
sledgehammer999
03072050fb Update search engines versions.txt file. Closes #1745. 2014-06-08 23:58:30 +03:00
sledgehammer999
d58d87a691 Use completed time from libtorrent directly. Closes #1726. 2014-06-07 14:44:08 +03:00
sledgehammer999
07f76f4939 Merge pull request #1733 from glassez/fix_build
Fix building with Qt5 (missing QObject decl).
2014-06-04 21:55:52 +03:00
sledgehammer999
a361c0ea03 Use the torrent_status for the queue_position too. 2014-06-04 20:26:23 +03:00
sledgehammer999
83ba59de51 Merge pull request #1720 from glassez/webui
WebUI Fixes
2014-06-04 19:51:45 +03:00
Vladimir Golovnev (Glassez)
446a9efe9e Fix building with Qt5 (missing QObject decl). 2014-06-04 17:38:35 +04:00
Vladimir Golovnev (Glassez)
ec092414b5 Fix Windows file associations creation.
Now qBittorrent create global ProgId during installation (using HKLM hive)
and allow to associate .torrent files with it (using HKCU).
2014-06-04 17:37:28 +04:00
Vladimir Golovnev (Glassez)
9f310318c2 Use new JSON parser/generator.
Qt4: Use QJson (http://qjson.sourceforge.net).
Qt5: Use native Qt JSON API.
2014-06-04 17:01:41 +04:00
Vladimir Golovnev (Glassez)
f9c3719d12 Add QJson files. 2014-06-04 17:01:40 +04:00
Vladimir Golovnev (Glassez)
6e59877cee Remove old JSON classes. 2014-06-04 17:01:39 +04:00
Vladimir Golovnev (Glassez)
268562bff3 Fix HTTP request parsing on Qt5. 2014-06-04 17:01:39 +04:00
sledgehammer999
b198c074d6 Merge pull request #1730 from sorokin/no-dyn-cast
split handling of alerts into several functions and use switch instead of dynamic_casts
2014-06-04 14:57:56 +03:00
Ivan Sorokin
510818d631 Replaced dynamic_cast with switch on alert type.
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2014-06-04 11:08:31 +04:00
Ivan Sorokin
1244a46cbb Extract alert handling to separate functions. 2014-06-04 11:08:31 +04:00
sledgehammer999
27c641ffaa Rework the GUI code for private torrents. 2014-06-04 00:49:03 +03:00
sledgehammer999
b9bdd1c985 Merge pull request #1731 from sorokin/cr
copyright notices for alert dispatcher
2014-06-04 00:47:40 +03:00
Ivan Sorokin
32c203d2e6 Copyright notices for alert dispatcher. 2014-06-04 01:40:00 +04:00
sledgehammer999
a6fa27467f Fix previous commits. 2014-06-03 21:19:25 +03:00
sledgehammer999
c8035dff1e Merge pull request #1703 from sorokin/alerts
Use torrent_status to be more efficient.
2014-06-03 21:18:39 +03:00
Ivan Sorokin
c2a23f2265 use stats_alert in TorrentSpeedMonitor
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2014-06-02 00:35:27 +04:00
Ivan Sorokin
6f38616193 extract torrent statistics from torrent speed monitor to separate file 2014-06-02 00:31:45 +04:00
Ivan Sorokin
b50d7331c7 use post_status_update()
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2014-06-02 00:31:45 +04:00
Ivan Sorokin
eb46326d23 use set_alert_dispatch instead of timer to get an alerts from libtorrent
libtorrent allows setting a custom dispatch handler that is invoked in
libtorrent thread when new alerts are incoming. QAlertDispatcher is a
class that allows to translate these alerts to UI thread.

The concept is very simple:

1. On initialization QAlertDispatcher constructor calls set_alert_dispatch() passing
 QAlertDispatcher::dispatch as argument.

2. On deinitialization destructor calls set_alert_dispatch() passing a empty
 function. (line 25) libtorrent handles thos and switches back to queuing
 alerts in queue.

3. QAlertDispatcher::dispatch() adds alert to queue and notifies UI thread that new
 alerts are incoming. Enqueuing is done in function enqueueToMainThread().
 The invariant of class is the following:

    if alert queue is not empty, in message loop of UI thread contains a queued
    invocation of deliverSignal().

4. When message loop is pumped UI thread execute deliverSignal() function.
 It emit appropriate signal and if queue is still not empty (for example
 if slot doesn't grab alerts) rewind enqueuing to main thread.

This is a idea. But here is some details.

1. When QAlertDispatcher is destoyed, libtorrent still can call
QAlertDispatcher::dispatch a few times after destruction. This is
handled by passing a "tag". A tag is a object that references QAlertDispatch.
Tag could be invalidated. So on destruction QAlertDispatcher invalidates a tag
and then unsubscribes from alerts. When QAlertDispatcher::dispatch is called
with invalid tag it simply discard an alert.

    Therefore we could drop a few alerts during unsubscription. So we unsubscribe
    only at exit when missing some alerts is not a problem.

2. Another problem is in QBtSession::saveFastResumeData(). It pumps alert
queue synchronously. My first attempt was to destroy QAlertDispatcher
and then pump libtorrent queue. But as I was afraid of losing alerts I
supported synchronous querying of alerts in QAlertDispatcher.
(QAlertDispatcher::getPendingAlerts)

Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2014-06-02 00:31:45 +04:00
Ivan Sorokin
329b754197 cache torrent_status 2014-06-02 00:31:42 +04:00
Ivan Sorokin
5af778bc93 don't make the same request to TorrentModelItem twice 2014-05-25 12:32:09 +04:00
Ivan Sorokin
1c98c11dd0 speed up icon loading 2014-05-25 12:32:09 +04:00
Ivan Sorokin
bbc4080a5d fewer calls to hash() 2014-05-25 12:32:09 +04:00
sledgehammer999
5d2663660d Count magnet links in the 'downloading' filter and make them prevent system inhibition. Closes #1558 2014-05-15 22:01:27 +03:00
sledgehammer999
659e0b7fef Fix tracker announcing problem(hit-and-run) when many torrents are being active. Closes #1571 2014-05-15 21:37:31 +03:00
sledgehammer999
c0b3ad7ee3 Fix crash when the selected torrent disappears from the transfer list. Closes #1661 2014-05-15 20:59:34 +03:00
sledgehammer999
81fa246687 Merge pull request #1685 from sorokin/fix-exception-in-prop-widget
Don't show availability bar for magnet links
2014-05-15 00:26:41 +03:00
Ivan Sorokin
765253234c Don't show availability bar for magnet links
This commit fixes an exception in PropertiesWidget:

"Caught exception in PropertiesWidget::loadDynamicData():  invalid
torrent handle used"

This exception occurs when an user clicks on a torrent that doesn't have
a metadata (when a magnet link is not resolved yet). One should not call
torrent_handle::get_torrent_info when torrent doesn't have a metadata.
2014-05-15 01:21:56 +04:00
sledgehammer999
e0ae505bb9 Fix nox build on MAC OSX. 2014-05-13 19:23:58 +03:00
sledgehammer999
5dea64ca16 Merge pull request #1676 from sorokin/fix-open-file
fix issue #1674: AddNewTorrentDialog is shown again and again even if checkbox "dont ask me again" is set
2014-05-12 14:52:47 +03:00
Ivan Sorokin
93bacc62f1 fix issue #1674: AddNewTorrentDialog is shown again and again even if checkbox "dont ask me again" is set 2014-05-11 19:37:33 +04:00
sledgehammer999
baaf575eee Fix libtorrent 1.0.0 compilation. Closes #1659 2014-05-10 00:13:20 +03:00
sledgehammer999
e6b2919eb2 Support out of srcdir builds. 2014-05-08 00:57:11 +03:00
sledgehammer999
9714b2ede9 Fix weird ratio values when torrent was imported or downloaded history was lost due to crash. 2014-05-05 21:30:15 +03:00
sledgehammer999
f99f5f5c7e Enable system tray in MACOSX (Nick Korotysh). 2014-05-05 21:23:32 +03:00
sledgehammer999
c5804aac3c Update README file. 2014-05-04 16:28:29 +03:00
sledgehammer999
3c61e2a881 Merge pull request #1437 from Fisiu/master
Use markdown for readme file.
2014-05-04 06:24:04 -07:00
Mariusz Fik
756584043b Use markdown in README and display travis-ci build status for master branch.
Signed-off-by: Mariusz Fik <fisiu@opensuse.org>
2014-05-04 15:17:36 +02:00
sledgehammer999
b93d093af1 Updated Changelog. 2014-05-04 15:41:47 +03:00
sledgehammer999
32becf1fca Fix RSS feed icon. The tmp file gets deleted in the feed destructor. Closes #1639 2014-05-04 15:38:28 +03:00
sledgehammer999
4376e81f78 Fix autoupdater. Send our user-agent to sourceforge.net
Conflicts:
	src/programupdater.cpp
2014-05-04 15:38:12 +03:00
sledgehammer999
71e5c9e17b Fix code style.
(thanks to glassez)
2014-05-04 15:31:27 +03:00
sledgehammer999
08af87abb8 Fix Travis. 2014-05-04 15:31:26 +03:00
sledgehammer999
380438f99b Migrate the build system to autotools. 2014-05-04 15:28:58 +03:00
sledgehammer999
e8c14f3507 Use the new Http classes. 2014-05-04 15:28:56 +03:00
sledgehammer999
6096506bd6 Implement alternatives to QHttpRequestHeader and QHttpResponseHeader. 2014-05-04 15:28:55 +03:00
sledgehammer999
ef3f7d18c9 Fix compilation with Qt5. 2014-05-04 15:28:54 +03:00
Vladimir Golovnev (Glassez)
ba1f4a9b7f Update QtSingleApplication. 2014-05-02 00:00:05 +03:00
Nick Tiskov
138c3dc3cb Fix translations bundled with Qt. 2014-05-02 00:00:04 +03:00
Vladimir Golovnev (Glassez)
ce3aac5f9d Fix functions and macros using to support both Qt4 and Qt5. 2014-05-02 00:00:03 +03:00
sledgehammer999
763d8a392f Revert "Point travis to the new svn repo of libtorrent."
This reverts commit f1d807da4f.
2014-05-01 23:56:21 +03:00
sledgehammer999
f1d807da4f Point travis to the new svn repo of libtorrent. 2014-03-01 13:00:44 +02:00
sledgehammer999
0303d2bf55 Merge pull request #1421 from alfrix/queue_sort
Fix queue sorting order fixes #1120
2014-02-11 00:02:45 +02:00
alfrix
85cfe464f9 Fix queue sorting order fixes #1120 2014-02-09 21:27:42 -03:00
sledgehammer999
33b0a2b55f Fix missing percentage signs. Closes #1392. 2014-02-06 00:49:17 +02:00
sledgehammer999
72ae2cb503 Pretty up last commit. 2014-02-05 21:22:14 +02:00
sledgehammer999
b2544f867c Merge pull request #1365 from alfrix/master
Add button for links in toolbar (fixes #450)
2014-02-05 21:19:57 +02:00
sledgehammer999
acb32d41fa Merge pull request #1375 from glassez/win-startup
Fix qBittorrent run on Windows startup.
2014-02-05 21:12:23 +02:00
sledgehammer999
3cd72e5e63 Merge pull request #1382 from bob23450/master
Fix nox build. Closes #1368
2014-02-05 21:05:48 +02:00
bob23450
6b26adfed2 Fix nox build. Closes #1368 2014-02-05 09:17:27 +01:00
Vladimir Golovnev (Glassez)
64b06c4612 Fix qBittorrent run on Windows startup. 2014-02-03 21:12:47 +04:00
alfrix
494fc54e6f Add button for links in toolbar (fixes #450 2014-02-02 16:48:51 -03:00
sledgehammer999
f5cd39cfba Merge pull request #1328 from glassez/webui-sort
Fix WebUI sort by size/speed (part 2)
2014-02-02 10:12:01 -08:00
sledgehammer999
c59793b33f Correctly restore 'name' column width when loading magnet links in the 'Add new torrent dialog'. Closes #1334. 2014-02-02 20:05:51 +02:00
sledgehammer999
202006bdd1 Reuse code in AddNewTorrentDialog. #894. 2014-02-02 20:05:50 +02:00
sledgehammer999
7348b8903c Correctly resize 'name' column of the content tab. Closes #1360. 2014-02-02 20:05:14 +02:00
sledgehammer999
a27867ae2b Bring dialog boxes in the front when qbt doesn't have focus.
Code inspired by glassez patch.
2014-02-01 14:02:37 +02:00
Vladimir Golovnev (Glassez)
c3942fb0b3 Fix WebUI sort by ratio for some locales (with comma as decimal point). 2014-01-27 08:44:36 +04:00
Vladimir Golovnev (Glassez)
87d118e87c Fix WebUI sort by size/speed for some locales (with comma as decimal point). 2014-01-27 08:39:47 +04:00
sledgehammer999
a5a0ca7159 Don't re-announce to trackers when torrent is paused. Closes #1310. 2014-01-26 16:29:53 +02:00
sledgehammer999
77329a2609 Launch external programs async and don't block. Closes #1252. 2014-01-26 14:28:58 +02:00
sledgehammer999
bf291dbfb1 Don't show a popup menu when no torrent is selected. 2014-01-26 14:28:57 +02:00
sledgehammer999
0a3dadf3fb Merge pull request #1325 from Gelmir/stats_percent
Fix missing percent sign in stats dialog
2014-01-26 04:05:18 -08:00
sledgehammer999
9ccb4e2781 Add our WM_CLASS in the .desktop file so window managers know how to group our windows. 2014-01-26 13:46:50 +02:00
sledgehammer999
3404d1e05f Explicitle tell that we don't support freedesktop's startup notify standard. Fixes GNOME issues. Closes #1217. 2014-01-26 13:45:33 +02:00
sledgehammer999
2f0b869639 Fix overstretched options dialog. Closes #1293. 2014-01-26 13:29:29 +02:00
sledgehammer999
5afb0a1ab0 Fix windows file association. 2014-01-26 13:09:37 +02:00
Nick Tiskov
ab8ff9f362 Fix missing percent sign in stats dialog 2014-01-26 15:05:09 +04:00
sledgehammer999
aaa723d3ec Run lupdate. 2014-01-26 02:18:36 +02:00
sledgehammer999
79b3e5ab60 Merge pull request #1324 from Gelmir/rename_amount_columns
Use shorter names for amount columns in main UI
2014-01-25 15:48:40 -08:00
Nick Tiskov
1dd8fa3c58 Use shorter names for amount columns in main UI 2014-01-25 23:28:34 +04:00
sledgehammer999
b7f84dabf5 Improvements on the behavior of the program updater(closes #1282):
1. Check for updates every hour
2. Don't check again for this session if the user chose to ignore the new version
3. Display a message if the user checked for updates via the menu item and there isn't one
4. Remove dead code
2014-01-25 21:03:24 +02:00
sledgehammer999
7428c2c0b1 Fix extratorrents search plugin. 2014-01-25 21:03:23 +02:00
sledgehammer999
8bbdcc78ce Statistics: handle case where user has gone back to older version. 2014-01-25 21:03:23 +02:00
sledgehammer999
e4e3a56c9d Merge pull request #1323 from glassez/webui_sort
Fix sorting by size in WebUI with Cyrillic languages
2014-01-25 10:47:30 -08:00
Vladimir Golovnev (Glassez)
7fce5ab268 Fix sorting by size in WebUI when non-default locale used. 2014-01-25 22:30:22 +04:00
Vladimir Golovnev (Glassez)
1aa70bedb7 Improve HttpConnection::translateDocument(). 2014-01-25 22:29:15 +04:00
sledgehammer999
36ff9be42e Merge pull request #1319 from Gelmir/fix_missing_sep
Fix missing separator in QDesktopServices methods
2014-01-23 09:47:07 -08:00
Nick Tiskov
d0ebcae069 Fix missing separator in QDesktopServices methods 2014-01-23 19:57:47 +04:00
sledgehammer999
b8040e4b4d Allow 2 decimals when setting the share ratio. Closes #1303. 2014-01-23 00:25:09 +02:00
sledgehammer999
532be11b2a Update Changelog. 2014-01-23 00:03:27 +02:00
sledgehammer999
be097048fd Fix share ratio text. 2014-01-22 23:43:57 +02:00
sledgehammer999
c167b47a2e Merge pull request #1095 from Gelmir/separators
Use native separators where appropriate
2014-01-22 10:28:58 -08:00
Nick Tiskov
5854a2883b Convert fsutils class to namespace 2014-01-22 20:12:46 +04:00
Nick Tiskov
bd9dcf1247 Hack around QDesktopServices::openUrl to support network shares 2014-01-22 20:12:42 +04:00
Nick Tiskov
6e77d12ac6 Update dialogs 2014-01-22 19:37:32 +04:00
Nick Tiskov
4390530cbe Update Main UI 2014-01-22 19:37:31 +04:00
Nick Tiskov
ae8356aae5 Update RSS Classes 2014-01-22 19:37:30 +04:00
Nick Tiskov
a8e57d3a7e Update misc classes 2014-01-22 19:37:30 +04:00
Nick Tiskov
6346716df6 Update SearchEngine classes
Guaranteed to work with qt-style separators internally; guaranteed to call native OS environment using native separators
2014-01-22 19:37:29 +04:00
Nick Tiskov
cb7f35d994 Update WebUI classes
Guaranteed to show paths with native separators to user
2014-01-22 19:37:28 +04:00
Nick Tiskov
237420546b Update QBtSession
Guaranteed to accept strings with native and qt-style separators; guaranteed to use qt-style separators internally, guaranteed to call libtorrent API with native separators
2014-01-22 19:37:27 +04:00
Nick Tiskov
32b90a7b6d Update QTorrentHandle
Guaranteed to accept strings with both native and qt-style separators; guaranteed to use native separators with libtorrent API
2014-01-22 19:37:26 +04:00
Nick Tiskov
b706210349 Update options UI
Guaranteed to work with strings with qt-style separators internally, shows string with native separators to the user
2014-01-22 19:37:26 +04:00
Nick Tiskov
48250c7b76 Update Preferences class
Preferences class setters are guaranteed to accept string with both native and qt-style separators, getters are guaranteed to return string with qt-style separators
2014-01-22 19:37:25 +04:00
Nick Tiskov
1334386a1b Rework fsutils class to only use Qt-style separators
fsutils methods are guaranteed to accept strings with both native and qt-style separators and return strings with qt-style separators where appropriate
2014-01-22 19:37:24 +04:00
sledgehammer999
3749a30af2 Improvements on accurateDoubleToString(). 2014-01-21 17:40:52 +02:00
sledgehammer999
bb7c2dd9c6 Improvements on statistics saving. 2014-01-21 17:40:30 +02:00
sledgehammer999
0d139234fe Fix condition checking in statistics saving. 2014-01-21 16:57:20 +02:00
sledgehammer999
441d1d08ba Convert more accurately decimal numbers to text. 2014-01-21 02:12:27 +02:00
sledgehammer999
4d3672f894 Save statistics every 15min and only if there was new traffic. Fixes #1288 and partially #1272. 2014-01-21 02:12:27 +02:00
sledgehammer999
3ee5c89856 Reposition statistics menu item. 2014-01-21 02:12:26 +02:00
sledgehammer999
b4f4b4412a Merge pull request #1299 from btdigg/master
Fix issue with SSL under Win32 (btdigg python2)
2014-01-19 12:26:10 -08:00
BTDigg research team
99a5695fb7 Fix issue with SSL under Win32 2014-01-19 21:03:53 +01:00
sledgehammer999
3159012dbb Merge pull request #1286 from alderz/fix_peer_sorting
Fix peers and seeds sorting in transfer list.
2014-01-18 09:57:56 -08:00
sledgehammer999
e30dee6319 Fix 'preview file' regression. Closes #1285. 2014-01-18 15:03:50 +02:00
Angel Alonso
aa9001522c Fix peers and seeds sorting in transfer list.
When active peers (or seeds) of two torrents are the same we sort by total peers
(or seeds).
2014-01-18 11:53:44 +01:00
sledgehammer999
ceba1dc734 Don't count paused torrents for the autoshutdown. Closes #1280. 2014-01-16 16:17:10 +02:00
sledgehammer999
a92148424f Merge pull request #1269 from lavoiesl/retina
Added basic retina support
2014-01-12 05:13:27 -08:00
Sébastien Lavoie
e7a95f310e Issue #1251 - Added basic retina support 2014-01-12 08:06:41 -05:00
sledgehammer999
1be62d0db5 Merge pull request #1266 from Gelmir/rss_doublesave_fix
Fix rss settings corruption when checking regexp box. Closes #1191.
2014-01-12 02:39:39 -08:00
Nick Tiskov
150e9bb452 Fix rss settings corruption when checking regexp and going to other rule. 2014-01-11 23:25:41 +04:00
sledgehammer999
1b8083bbc6 Correctly remove isohunt engine. 2014-01-11 18:31:56 +02:00
sledgehammer999
5bf7106e5c Merge pull request #1258 from Gelmir/selective_reannounce
Support selective reannounce with libtorrent 1.0
2014-01-11 08:20:15 -08:00
sledgehammer999
eef45adb44 Merge pull request #1259 from Gelmir/proto
Show actual protocol for listen_*_alert
2014-01-11 08:19:57 -08:00
sledgehammer999
7db279998a Remove isohunt search engine. 2014-01-11 18:13:32 +02:00
sledgehammer999
a479aaa28e Fix piratebay search engine. 2014-01-11 18:11:08 +02:00
Nick Tiskov
f319678457 Support selective reannounce with libtorrent 1.0 2014-01-08 15:25:53 +04:00
Nick Tiskov
d9ee9c7b0f Show actual protocol for listen_succeeded_alert and listen_failed_alert log messages.
Delete protocol mentioning from setListeningPort
2014-01-08 14:06:26 +04:00
sledgehammer999
0ce28eb28f Merge pull request #1250 from botanegg/cppcheck
Corrections from running cppcheck v2.
2014-01-05 16:22:18 -08:00
Konstantin Goncharik
f29c04d935 In preferences.h now argument is const references 2014-01-05 20:06:29 +08:00
Konstantin Goncharik
a77a6b5a8b In statsdialog.cpp fix initialization iEnd 2014-01-05 19:41:58 +08:00
sledgehammer999
ab89edb589 Merge pull request #1238 from botanegg/cppcheck
Corrections from running cppcheck.
2014-01-04 15:07:48 -08:00
sledgehammer999
959cbb9308 Fix notifications with xfce4-notifyd. 2014-01-04 19:40:05 +02:00
sledgehammer999
f898443e78 Force write settings to disk before exiting. 2014-01-04 19:24:48 +02:00
Konstantin Goncharik
8a882e7323 In smtp.cpp fix 'ct' reassign. 2014-01-04 01:46:11 +08:00
Konstantin Goncharik
edd7f8e5f5 In rssdownloadrule.{cpp,h} 'RssDownloadRule::operator==' made const. 2014-01-04 01:29:31 +08:00
Konstantin Goncharik
a2b3ad7958 In qbtsession.cpp exception made caught by reference 2014-01-04 01:24:32 +08:00
Konstantin Goncharik
bc22447a6a In qtorrenthandle.cpp exception made caught by reference 2014-01-04 01:19:30 +08:00
sledgehammer999
423d60cced Delete temporary after they aren't needed. Closes #1188. 2014-01-02 22:43:17 +02:00
sledgehammer999
ecfd06cfe9 Ensure that the options window will always be placed onscreen. Closes #1226. 2014-01-02 21:09:45 +02:00
sledgehammer999
ed54f0f7c3 Ensure that at least one column in the tranferlist is always visible. Closes #1165. 2014-01-02 20:49:35 +02:00
sledgehammer999
fce950b788 Allow to resize the columns in Add New Torrent dialog. Closes #1207 #676 2014-01-02 19:44:23 +02:00
sledgehammer999
5512576022 Preview now correctly uses the selected file. Closes #1222 #1182. 2014-01-02 18:29:05 +02:00
sledgehammer999
3daae802eb Merge pull request #1221 from arvidn/master
compatibility fixes for libtorrent 1.0 (trunk)
2014-01-01 10:58:19 -08:00
arvidn
c1c824bcf7 don't use deprecated libtorrent functions 2014-01-01 10:04:22 -08:00
arvidn
3b4f9d2eeb fix libtorrent 1.0 compatibility 2013-12-31 17:00:14 -08:00
sledgehammer999
e380a17c82 Do cleanup work in an earlier stage to ensure correct conf saving. 2013-12-31 00:44:04 +02:00
sledgehammer999
1648cdc4bc Sort labels in 'Add new torrent' dialog. Closes #1150 #411. 2013-12-29 18:47:24 +02:00
sledgehammer999
86b8f3190a Merge pull request #1201 from qwerty12/master
Make sleep and shutdown functions work on systemd's logind
2013-12-26 08:09:51 -08:00
sledgehammer999
e6b20d461e Merge pull request #1199 from Gelmir/stats_new
Minor improvements to stats gathering/dialog
2013-12-26 08:08:30 -08:00
Faheem Pervez
22c8f600df Make sleep and shutdown functions work on systemd's logind 2013-12-23 11:41:07 +00:00
sledgehammer999
e6de7d2d3a Fix previous commit. 2013-12-22 23:46:03 +02:00
sledgehammer999
88b5550540 Second attempt at fixing saving settings on shutdown. 2013-12-22 23:11:53 +02:00
Nick Tiskov
b4e9a9bbc0 1. Use a better icon for stats dialog.
2. Use more reliable session_status.total_download/upload for statistics
2013-12-23 00:01:21 +04:00
sledgehammer999
c87856d846 Lock toolbar in place. Closes #1144. 2013-11-30 14:15:57 +02:00
sledgehammer999
2b7c3a1547 Fix resizing grip location. Closes #1146. 2013-11-30 14:05:18 +02:00
sledgehammer999
3f434570ea Run lupdate. 2013-11-30 13:19:25 +02:00
sledgehammer999
046420e7bd Fix build system under Ubuntu 13.10. Closes #1061 #1130 #1124. 2013-11-26 23:49:30 +02:00
sledgehammer999
08e369e52d Merge pull request #1125 from Gelmir/typo
Fix 'peer from PEX' message
2013-11-24 15:04:02 -08:00
Nick Tiskov
5d6e71c9ca Fix 'peer from PEX' message 2013-11-24 18:21:31 +04:00
sledgehammer999
4a84b6a911 Fix linux compilation. 2013-11-23 15:33:01 +02:00
sledgehammer999
b0e8c1139f Merge pull request #1109 from doadin/patch-1
Fix Typo
2013-11-23 05:07:29 -08:00
sledgehammer999
d7da120063 Run lupdate. 2013-11-23 15:05:37 +02:00
sledgehammer999
cc92f172e3 Check for program updates every 15min and allow the user to manually check for updates through the help menu. 2013-11-23 14:58:03 +02:00
sledgehammer999
e637ff188c Output a more generic message when blocking IPs and don't use italics in the log. 2013-11-23 13:30:50 +02:00
sledgehammer999
35e9253e9c Run lupdate. 2013-11-21 18:37:53 +02:00
sledgehammer999
7345a64696 Add tooltip for the peers' flags. Closes #1068. 2013-11-21 18:13:21 +02:00
sledgehammer999
b1e682ef41 Improve the message of the deletion dialog. Closes #1073. 2013-11-21 18:13:19 +02:00
sledgehammer999
475aa6aad8 Merge pull request #1105 from Gelmir/stats
Add statistics dialog
2013-11-21 06:38:07 -08:00
sledgehammer999
2dc7708c36 Improve detection of conf.pri. 2013-11-20 00:30:12 +02:00
sledgehammer999
8d04b04aae Revert "Don't prefer TCP connections over uTP."
This reverts commit a052963775.
2013-11-20 00:30:00 +02:00
doadin
f7dc57ee97 Fix Typo 2013-11-18 16:38:43 -05:00
sledgehammer999
3d9f3eb1b3 Correctly update tracker tier number in the trackers tab. Closes #1075. 2013-11-18 01:32:08 +02:00
sledgehammer999
683aca7fdf Fix WebUI link to 'Anonymous mode' explanation. Closes #1093. 2013-11-17 21:17:48 +02:00
Nick Tiskov
f12b64d36a Add dialog to show statistics 2013-11-17 02:16:25 +04:00
Nick Tiskov
687e7a1343 Collect and save alltime UL/DL samples 2013-11-17 02:05:44 +04:00
sledgehammer999
144dd5c2a8 Correctly detect if the browser supports gzip compression. 2013-11-16 21:48:20 +02:00
sledgehammer999
35da156ad2 WebUI: Don't gzip too small payloads. 2013-11-16 20:24:56 +02:00
sledgehammer999
f09328c13c Fix inhibit system functionality. Closes #766. 2013-11-16 19:29:50 +02:00
sledgehammer999
ad69cbb318 Merge pull request #1099 from birdie-github/master
Fix Help -> About and always show a peer IP address as a tooltip
2013-11-16 08:55:03 -08:00
Artem S. Tashkinov
ea4ab62531 Always show a peer IP address as a tool tip
Helps to see a peer IP address when reverse name resolution is enabled.
2013-11-14 18:04:36 +05:00
Artem S. Tashkinov
8b874f5538 Remove hardcoded Lucida Grande and decrease a font size 2013-11-14 17:24:30 +05:00
sledgehammer999
d1921933f4 Merge pull request #1091 from ZachThibeau/master
added fontfix for osx. Closes #1017
2013-11-11 13:38:45 -08:00
Zach Thibeau
2a7aa98afd added fontfix for osx 2013-11-11 03:38:20 -05:00
sledgehammer999
1c2b54a935 Merge pull request #1060 from alderz/master
Add a keyboard shortcut to "Add link to torrent" and fix some png sRGB profiles.
2013-11-10 02:58:20 -08:00
sledgehammer999
44edd75c1e Merge pull request #1083 from ZachThibeau/master
Updated search plugin's URL
2013-11-10 02:57:03 -08:00
Zach Thibeau
dac46e02c3 Updated search plugin's URL 2013-11-09 23:39:29 -05:00
sledgehammer999
3bc1d4afd0 Fix indentation in lineedit code. 2013-11-10 04:11:01 +02:00
sledgehammer999
60a1937bf9 Expand folders when filtering files. Closes #1076. 2013-11-10 04:10:38 +02:00
sledgehammer999
68cc35e3fd Hide empty folders after filtering. Closes #74. 2013-11-10 03:30:04 +02:00
sledgehammer999
b909dd41c5 Small optimization of WebUI responses when there isn't a data payload. 2013-11-09 20:03:54 +02:00
sledgehammer999
c284fd5412 Case insensitive sort in Peers list. Closes #1066. 2013-11-09 20:03:33 +02:00
sledgehammer999
0b41e3958e Revert "fix missing conf.pri error". The WARNING message during configure is harmless. The file is found during make. Closes #1042.
This reverts commit 807f1cfb94.
2013-11-09 19:45:36 +02:00
sledgehammer999
51a9a9aabb Make all columns and headers use the same text alignment in the transferlist. 2013-11-09 19:39:13 +02:00
sledgehammer999
6bfdf80a4d Sync translations from Transifex. 2013-11-05 23:51:18 +02:00
sledgehammer999
4003d7f951 Fix compilation with qt < 4.8.0. Closes #1043. 2013-11-05 23:06:20 +02:00
sledgehammer999
ade66629b1 Fix WebUI gzip compression. Closes #1037. 2013-11-05 22:57:33 +02:00
Angel Alonso
7c897f70e2 Strip some png to fix incorrect sRGB profiles.
libpng complained about incorrent sRGB profiles in some png's.
"libpng: iCCP: known incorrect sRGB profile".
2013-11-01 20:23:02 +01:00
Angel Alonso
139434b40c Add a key shortcut to "Add link to torrent..."
"Ctrl-Shift-O" will open the "Add link to torrent..." window.
2013-11-01 19:47:05 +01:00
sledgehammer999
ae63830b7d Update Translator's info. 2013-10-27 16:07:02 +02:00
sledgehammer999
4dc800cf0c Increase the .torrent size limit when a link to torrent is provided. Closes #879. 2013-10-27 15:33:55 +02:00
sledgehammer999
ecb6dbabda Run lupdate. 2013-10-24 23:27:27 +03:00
sledgehammer999
660e0650ce Allow to clear the UI lock password. Closes #973. 2013-10-24 23:23:56 +03:00
sledgehammer999
12082a14b7 Run lupdate [skip ci] 2013-10-24 01:58:39 +03:00
sledgehammer999
0da5c8be3a Fix typo again. 2013-10-24 01:57:57 +03:00
sledgehammer999
0070c66339 Run lupdate. 2013-10-24 00:27:13 +03:00
sledgehammer999
53e0526a1e Windows: Don't remove file associations if they aren't our own. 2013-10-24 00:15:22 +03:00
sledgehammer999
27d72bd9bf Fix 'append label to save path' with magnet links. 2013-10-23 23:58:42 +03:00
sledgehammer999
fc3da963d2 Revert "Remove "Force reannounce" action". Closes #958. 2013-10-23 23:58:41 +03:00
sledgehammer999
45e9ca4b11 Update Changelog. [skip ci] 2013-10-23 22:40:27 +03:00
sledgehammer999
cff6db201f Run lupdate. 2013-10-23 22:25:15 +03:00
sledgehammer999
b4dca951b2 Drop libtorrent 0.15.x support. 2013-10-23 22:19:58 +03:00
sledgehammer999
243abaf524 Improve comment in gCompress(). 2013-10-23 22:19:57 +03:00
sledgehammer999
870aba8439 Document better some translatable strings. 2013-10-23 22:19:56 +03:00
sledgehammer999
585954c988 Fix typo. 2013-10-23 22:19:55 +03:00
sledgehammer999
1ca1c4be7e Run lupdate. 2013-10-22 22:52:24 +03:00
sledgehammer999
1c128c65f0 Don't use deprecated function when adding magnets. 2013-10-22 22:29:25 +03:00
sledgehammer999
8f955fe110 Distinguish more torrent states. 2013-10-22 21:34:27 +03:00
sledgehammer999
bd9c231a0b Enable gzip compression in the webui. 2013-10-21 00:04:32 +03:00
sledgehammer999
ccc46a0a77 Added instructions for managing translations with Transifex. 2013-10-20 20:29:37 +03:00
sledgehammer999
ba464ab0f5 Run lupdate. 2013-10-20 20:29:36 +03:00
sledgehammer999
32ef3035b7 Update transifex config file. 2013-10-20 20:29:33 +03:00
sledgehammer999
2b9f79fafe Expose new translations and improve language code. 2013-10-20 20:29:32 +03:00
sledgehammer999
88c64ccf0a New translation: English(United Kingdom). 2013-10-20 20:29:31 +03:00
sledgehammer999
3527fc338b New translation: English(Australia). 2013-10-20 20:29:31 +03:00
sledgehammer999
751980e87c Synced .desktop file translation from Transifex. 2013-10-20 20:29:30 +03:00
sledgehammer999
71fa34da13 Sync translations from Transifex. 2013-10-20 20:29:29 +03:00
sledgehammer999
e50d5611f8 Merge pull request #1007 from Gelmir/fix_showrss
Fix RSS items not being marked read when the item is a magnet link.
2013-10-20 08:22:00 -07:00
sledgehammer999
82cd484fad Merge pull request #1008 from Gelmir/null-ref
Fix possible null-pointer dereference.
2013-10-20 08:21:14 -07:00
sledgehammer999
8a8c2fbabf Merge pull request #977 from leigh123linux/patch-1
Revert 984acc581. fix missing conf.pri error
2013-10-20 04:29:06 -07:00
sledgehammer999
18b9de831f Turn off the scheduler when the user manually changes the rate limits mode. 2013-10-20 14:18:47 +03:00
sledgehammer999
d0893bc1c7 Allow the scheduler to have a start time that's after the end time. Closes #980. 2013-10-20 13:46:55 +03:00
sledgehammer999
c9a8430463 Make the scheduler timeout every 1.5s. 2013-10-20 13:28:35 +03:00
sledgehammer999
9e7b5913b7 Correct version.pri 2013-10-20 13:25:21 +03:00
Nick Tiskov
abde611391 Fix possible null-pointer dereference. 2013-10-20 01:33:22 +04:00
Nick Tiskov
1341b7ea78 Fix RSS items not being marked read when the item is a magnet link. 2013-10-20 00:59:36 +04:00
sledgehammer999
ac622077db Merge pull request #983 from Gelmir/sched_fixup
Remember Alt bandwidth on shutdown.
2013-10-19 10:58:27 -07:00
Nick Tiskov
382155bc26 Prepare bandwidth scheduler code 2013-10-19 21:35:26 +04:00
sledgehammer999
af11343945 Partial revert of e7c27c9b8b. Single file preview works again. 2013-10-15 00:39:36 +03:00
sledgehammer999
5bf9d7d69a Revert "Remove obsolete IP_HIDDEN column from peer list." Closes #970.
This reverts commit c8d51e91f4.
2013-10-14 14:57:51 +03:00
sledgehammer999
ff789fc493 Show external IP in the log. Closes #968. 2013-10-13 23:19:15 +03:00
sledgehammer999
97fe948f6c Expose all available translation in the WebUI. Closes #976. 2013-10-13 22:17:11 +03:00
leigh123linux
807f1cfb94 fix missing conf.pri error 2013-10-13 11:05:30 +01:00
sledgehammer999
4ad68ac800 Bump to 3.2.0alpha 2013-10-12 17:57:32 +03:00
sledgehammer999
276377138e Update changelog. 2013-10-12 17:46:32 +03:00
sledgehammer999
a23198324f Updated Translators' info. 2013-10-12 16:52:42 +03:00
sledgehammer999
7712ca3efd Add the new translation to the build. 2013-10-12 16:52:42 +03:00
sledgehammer999
389c5fb114 New translation: Vietnamese. 2013-10-12 15:20:22 +03:00
sledgehammer999
a360e222e8 Updated translations from Transifex. 2013-10-12 15:20:20 +03:00
sledgehammer999
87e9adb666 Update translations for .desktop file. 2013-10-12 15:20:18 +03:00
sledgehammer999
d15107c1b4 Add Transifex client config. 2013-10-12 15:10:02 +03:00
sledgehammer999
e08ae6b668 Fix magnet metadata loading. Update the queue and save_path correctly in all use cases. 2013-10-09 23:34:00 +03:00
sledgehammer999
c6bc4d2cd2 Run lupdate. 2013-10-06 18:45:20 +03:00
sledgehammer999
08cd1c9b0c Option to disallow bringing the torrent dialog to the front. 2013-10-06 18:42:56 +03:00
sledgehammer999
909716849e Update Changelog. 2013-10-06 17:40:56 +03:00
sledgehammer999
3e0ea7b490 Run lupdate. 2013-10-06 15:17:46 +03:00
sledgehammer999
4402c7a8ef Merge pull request #942 from Gelmir/fix_fg_win_link
Fix linkers errors with AllowSetForegroundWindow function
2013-10-06 04:37:20 -07:00
sledgehammer999
672cd5a999 Merge pull request #955 from Gelmir/remove_obsolete_tr
Remove obsolete translation string (not used anywhere)
2013-10-06 04:36:45 -07:00
sledgehammer999
14310f9b05 Improve loading of magnet metadata in the background.
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2013-10-06 13:49:23 +03:00
Nick Tiskov
d0a4b2da79 Remove obsolete translation string (not used anywhere) 2013-10-04 17:55:39 +04:00
sledgehammer999
1e802f2090 Really fix compilation with 0.15.x. 2013-10-01 22:57:51 +03:00
sledgehammer999
c311080d8d Fix compilation with libtorrent 0.15.x. 2013-10-01 18:52:25 +03:00
sledgehammer999
6a45e9dbd7 Don't save resume data when torrent has an error. Prevents removing possibly useful .fastresume file and writing garbage. 2013-10-01 01:57:35 +03:00
sledgehammer999
bbf47b0907 Optimize torrentperistentdata parameters and add utility funtions for previous commit. 2013-10-01 01:57:35 +03:00
sledgehammer999
a1a5fb065e Backup/recover torrent persistent data into each individual .fastresume file. This should mitigate the problem of users losing their torrents' settings/savepath/label after qbt wasn't shutdown cleanly. 2013-10-01 01:57:34 +03:00
Nick Tiskov
36ae095c69 Fix linkers errors with AllowSetForegroundWindow function 2013-09-27 14:07:47 +04:00
sledgehammer999
4ac19e2b27 Fix encoding and don't let the OS automatically choose a port. 2013-09-20 21:23:26 +03:00
sledgehammer999
08138307da Refactor code for reporting listen failure/success. 2013-09-19 23:43:21 +03:00
sledgehammer999
eeb43d6bfd Increase the log size to accomodate for users with many torrents (>100). 2013-09-19 23:41:04 +03:00
sledgehammer999
4cd134a35e Remove unnecessary check. 2013-09-19 00:15:30 +03:00
sledgehammer999
2b03f2382a Merge pull request #900 from glassez/btf
Bringing the AddNewTorrentDialog to the front.
2013-09-18 13:59:15 -07:00
Vladimir Golovnev (Glassez)
dbf8675de3 Some improvements of requesting pid of running instance code. 2013-09-18 19:55:55 +04:00
Vladimir Golovnev (Glassez)
b78ea79d30 Bringing the AddNewTorrentDialog to the front. 2013-09-17 16:27:38 +04:00
sledgehammer999
89b82778e6 Add interface to request the pid of the running instance. 2013-09-17 16:27:37 +04:00
sledgehammer999
da561ccd38 Fix gcc warning [-Wreorder]. 2013-09-14 16:11:04 +03:00
sledgehammer999
11ebb9f0f7 Run lupdate. 2013-09-14 15:26:16 +03:00
sledgehammer999
e7c27c9b8b Polish Preview window. Closes #908. 2013-09-14 15:26:15 +03:00
sledgehammer999
0f298397b3 Simplify various if-else and QString::number. 2013-09-14 15:16:50 +03:00
sledgehammer999
70215bd3ff Fixed rounding bugs with floating numbers v2. 2013-09-14 15:15:30 +03:00
sledgehammer999
fcebe1e485 Improve the scheduler ui settings. 2013-09-14 12:59:29 +03:00
sledgehammer999
ae8c6ecf1c Run lupdate. 2013-09-12 15:35:01 +03:00
sledgehammer999
62cc91efc4 Better description in download from url dialog. 2013-09-12 15:31:30 +03:00
sledgehammer999
774d749eef Redesigned scheduler code logic. Closes #903. 2013-09-11 18:54:47 +03:00
sledgehammer999
2fc53613cd Fix compilation error. 2013-09-11 01:11:04 +03:00
sledgehammer999
135165d856 Run lupdate. 2013-09-11 00:38:33 +03:00
sledgehammer999
0ea8fd6996 Allow to enter only info-hashes in the download dialog. 2013-09-11 00:28:19 +03:00
sledgehammer999
f8fdd58e20 Visually close downloadrurl dialog before opening addnewtorrent dialog. 2013-09-10 23:23:45 +03:00
sledgehammer999
6e9ed4ead7 Update naturalSorting in the Peers tab. 2013-09-10 18:34:15 +03:00
sledgehammer999
d09b0d5f72 Fixed rounding bugs with floating numbers. 2013-09-10 18:16:01 +03:00
sledgehammer999
251d5b1921 Fix string typo and rerun lupdate. 2013-09-02 14:19:00 +03:00
sledgehammer999
4f8ccd0dfc Visually show that the private flag are respected and that PEX/DHT/LSD is disabled. Closes #880. 2013-09-01 22:29:53 +03:00
sledgehammer999
04430a4cdd Run lupdate. 2013-09-01 20:46:35 +03:00
sledgehammer999
c7aa2cb684 Display a message when a link to a search plugin is invalid. Closes #892. 2013-09-01 20:42:44 +03:00
sledgehammer999
65012bc517 Run lupdate. 2013-09-01 17:48:29 +03:00
sledgehammer999
0b0e137175 Mark strings as translatable. Closes #893. 2013-09-01 17:47:06 +03:00
sledgehammer999
6bea659d50 Fix ETA calculation when some files are downloaded and marked afterwards as 'do not download'. 2013-09-01 17:01:11 +03:00
sledgehammer999
37f821556e Merge trackers when torrent already exists instead of showing an AddNewTorrent dialog. 2013-09-01 17:01:02 +03:00
sledgehammer999
532bec5d87 Fix typo in comment. 2013-09-01 17:00:52 +03:00
sledgehammer999
74a1cce46c Simplify busy wait. 2013-09-01 17:00:22 +03:00
sledgehammer999
6cdbf6f869 Simplify checks. 2013-09-01 17:00:12 +03:00
sledgehammer999
51cde405f9 Always override AddTorrentsInPause setting when downloading in the background. 2013-09-01 16:59:55 +03:00
sledgehammer999
17c122e5ad Don't show the progress bar in AddNewTorrent dialog when not necessary. 2013-09-01 16:59:23 +03:00
sledgehammer999
4f99b04a42 Merge pull request #818 from Gelmir/metadata2
Load magnet metadata inside AddNewTorrentDialog
2013-09-01 06:57:14 -07:00
Nick Tiskov
c8cc727aea Add progress indicator for metadata retrieval 2013-08-28 19:14:52 +04:00
Nick Tiskov
8ca7603f38 Load magnet metadata inside AddNewTorrentDialog 2013-08-28 19:08:22 +04:00
sledgehammer999
af40488e5c Merge pull request #824 from Gelmir/creation_limits
Add option to ignore global share ratio limits for created torrents
2013-08-07 12:04:55 -07:00
Nick Tiskov
a1298fbf58 Add option to ignore global share ratio limits for torrents created in qBt. 2013-08-07 22:34:57 +04:00
sledgehammer999
f276ad568e Fixed naturalSort. When a single digit number was followed by text+numbers, the string wouldn't sort correctly. 2013-08-03 19:06:18 +03:00
sledgehammer999
a1f82db5d5 Re-updated .ts files. 2013-08-03 19:06:15 +03:00
sledgehammer999
9bd8b90dbe Merge pull request #833 from Gelmir/tr
Fix translation monstrosity in about dialog
2013-08-03 08:49:12 -07:00
sledgehammer999
ed49c3ad31 Update .ts files and remove obsolete strings. 2013-08-03 16:23:39 +03:00
sledgehammer999
3c813d456c Updated Danish translation from Transifex. 2013-08-03 16:15:31 +03:00
sledgehammer999
881c2babe5 Updated Romanian translation from Transifex. 2013-08-03 16:14:57 +03:00
sledgehammer999
2a8b530b46 Updated Korean translation from Transifex. 2013-08-03 16:14:21 +03:00
sledgehammer999
1b2de035b4 Updated Finnish translation from Transifex. 2013-08-03 16:13:45 +03:00
sledgehammer999
2ea427bd24 Updated German translation from Transifex. 2013-08-03 16:13:08 +03:00
sledgehammer999
02fab15e7b Updated Greek translation from Transifex. 2013-08-03 16:12:23 +03:00
sledgehammer999
3b43d48836 Updated Catalan translation from Transifex. 2013-08-03 16:11:45 +03:00
sledgehammer999
94cfba6f23 Updated Swedish translation from Transifex. 2013-08-03 16:10:50 +03:00
sledgehammer999
06cd53ab92 Updated Serbian translation from Transifex. 2013-08-03 16:10:19 +03:00
sledgehammer999
68602cb375 Updated Georgian translation from Transifex. 2013-08-03 16:09:42 +03:00
sledgehammer999
ecaa81da0f Updated Polish translation from Transifex. 2013-08-03 16:08:25 +03:00
sledgehammer999
d3e744d0fb Updated Chinese translation from Transifex. 2013-08-03 16:07:50 +03:00
sledgehammer999
d57381a524 Updated Turkish translation from Transifex. 2013-08-03 16:07:11 +03:00
sledgehammer999
b033beec60 Updated Lithuanian translation from Transifex. 2013-08-03 16:06:36 +03:00
sledgehammer999
d05761f1f0 Updated Hebrew translation from Transifex. 2013-08-03 16:06:03 +03:00
sledgehammer999
6ed0d4bc1c Updated French translation from Transifex. 2013-08-03 16:05:20 +03:00
sledgehammer999
75ff773068 Updated Ukrainian translation from Transifex. 2013-08-03 16:04:28 +03:00
sledgehammer999
caf1a050c8 Updated Dutch translation from Transifex. 2013-08-03 16:03:43 +03:00
sledgehammer999
4cd3c144dc Updated Chinese(Taiwan) translation from Transifex. 2013-08-03 16:02:24 +03:00
sledgehammer999
4d51cc6c0f Updated Bulgarian translation from Transifex. 2013-08-03 16:01:38 +03:00
sledgehammer999
f3e90265fd Updated Armenian translation from Transifex. 2013-08-03 16:00:50 +03:00
sledgehammer999
d97c1d2b6b Updated Hungarian translation from Transifex. 2013-08-03 15:59:52 +03:00
sledgehammer999
ec4490a7cb Updated Spanish translation from Transifex. 2013-08-03 15:59:10 +03:00
sledgehammer999
d03261480d Updated Portuguese translation from Transifex. 2013-08-03 15:58:08 +03:00
sledgehammer999
b610ab4825 Updated Croatian translation from Transifex. 2013-08-03 15:57:19 +03:00
sledgehammer999
4662bcf112 Updated Belarusian translation from Transifex. 2013-08-03 15:56:05 +03:00
sledgehammer999
890f9a7e19 Updated Slovak translation from Transifex. 2013-08-03 15:55:14 +03:00
sledgehammer999
7f713cbd8c Updated Russian translation from Transifex. 2013-08-03 15:54:34 +03:00
sledgehammer999
0841e91ac7 Updated Portuguese(Brazil) translation from Transifex. 2013-08-03 15:53:20 +03:00
sledgehammer999
73d1abd6f0 Updated Norwegian translation from Transifex. 2013-08-03 15:52:23 +03:00
sledgehammer999
f6f69ddf63 Updated Japanese translation from Transifex. 2013-08-03 15:50:55 +03:00
sledgehammer999
abe3cf9323 Updated Italian translation from Transifex. 2013-08-03 15:50:20 +03:00
sledgehammer999
213fd9ffb7 Updated Galician translation from Transifex. 2013-08-03 15:48:57 +03:00
sledgehammer999
e67156b403 Updated Czech translation from Transifex. 2013-08-03 15:46:35 +03:00
sledgehammer999
5ccf3adb4d Updated Basque translation from Transifex. 2013-08-03 15:45:18 +03:00
sledgehammer999
115855a177 Updated Arabic translation from Transifex. 2013-08-03 15:42:19 +03:00
sledgehammer999
a052963775 Don't prefer TCP connections over uTP. 2013-08-03 15:22:20 +03:00
Nick Tiskov
84b4e7b65e Fix translation monstrosity 2013-08-01 13:24:35 +04:00
sledgehammer999
c96eff2c15 Updated NSIS script. 2013-07-29 20:31:15 +03:00
sledgehammer999
7d99b21c20 Updated norwegian translation by tomaso. 2013-07-28 20:19:51 +03:00
sledgehammer999
224772f4c2 Merge pull request #821 from Gelmir/nostrace_mingw
Don't force stacktrace with mingw
2013-07-28 10:15:50 -07:00
Nick Tiskov
02c161be60 Don't force stacktrace with mingw 2013-07-28 20:31:01 +04:00
sledgehammer999
53c1846757 Complete utorrent-compatible flags support. 2013-07-28 18:19:06 +03:00
sledgehammer999
17d3a51285 Merge pull request #819 from Gelmir/unicode_exceptions
Use Unicode for libtorrent alert messages.
2013-07-28 06:26:01 -07:00
Nick Tiskov
ed0acede20 Use Unicode for libtorrent alert messages. 2013-07-28 17:09:07 +04:00
sledgehammer999
14808d2bef Merge pull request #794 from Gelmir/rss_feed_del_multi
Show delete action when multiple feeds are selected
2013-07-27 12:12:08 -07:00
sledgehammer999
4cd4ad457b Merge pull request #786 from Gelmir/inputDlg_autoexpand
Resize input dialogs to fit contents
2013-07-27 12:10:43 -07:00
Nick Tiskov
bb6d7ba2ff Show delete action when multiple feeds are selected 2013-07-27 23:01:14 +04:00
Nick Tiskov
cc04ebd45f Try to center AutoExpandableDialog on the same screen as main window
If main window is unavailable use the screen, where the mouse cursor is.
2013-07-27 22:57:33 +04:00
sledgehammer999
0e72583c1f Merge pull request #793 from Gelmir/f2_edit
Enable edit/rename via F2 or double click in various places
2013-07-27 11:48:31 -07:00
sledgehammer999
7d4a3e007e Merge pull request #711 from constantined/unwanted-fix
Make possible to move file to .unwanted directory after downloading
2013-07-27 09:24:26 -07:00
sledgehammer999
6c89df7206 Remove unnecessary code from qbtsession. 2013-07-27 18:07:57 +03:00
sledgehammer999
dd78744695 Updated spanish translation by alfrix. 2013-07-27 18:07:56 +03:00
sledgehammer999
d1020b0dc7 Merge pull request #815 from meequz/master
Update Belarusian translation on master
2013-07-27 07:57:49 -07:00
meequz
8664a4d7ba Update Belarusian translation on master 2013-07-27 15:21:22 +03:00
Nick Tiskov
de3108e1e5 Move textBox geometry updates into showEvent:
1. Makes QFontMetrics more accurate (~50%) for custom DPI systems
2. Makes it possible to have fixed dialog size yet again (like in old dialog box) and still allow to autoexpand the textBox
2013-07-27 14:14:01 +04:00
Nick Tiskov
fd8a2e05a4 Use AutoExpandableDialog instead of QInputDialog wherever possible 2013-07-27 14:14:00 +04:00
Nick Tiskov
e028fa9be0 Add auto resizable input dialog class 2013-07-27 14:14:00 +04:00
Nick Tiskov
42e81b9d19 Support edit/delete/double click hotkeys in rss feed list and rule list. 2013-07-27 14:13:38 +04:00
Nick Tiskov
107906928a Enable delete hotkey in web seed and tracker list.
Make delete hotkey in transfer list non-global.
2013-07-27 14:13:37 +04:00
Nick Tiskov
7adf012f9c Enable edit/rename via F2 or double click in various places 2013-07-27 14:13:37 +04:00
sledgehammer999
13cd42f053 Merge pull request #812 from Gelmir/travis_next
Rework travis script
2013-07-27 03:03:10 -07:00
Nick Tiskov
e1750c8994 Rework travis script 2013-07-27 13:02:18 +04:00
sledgehammer999
82171f5a08 Update translations. 2013-07-27 01:34:54 +03:00
sledgehammer999
7a16146f6f Convert misc class to a namespace instead. 2013-07-27 01:34:52 +03:00
sledgehammer999
4f063a478c Fix Travis CI again. 2013-07-27 01:34:51 +03:00
sledgehammer999
864202c757 Use system geoip for Travis CI. 2013-07-27 01:00:10 +03:00
sledgehammer999
4b42480f74 Fix Travis CI to build against libtorrent 0.16.x instead. 2013-07-26 23:23:39 +03:00
sledgehammer999
9924bb94b2 Make Travis CI shut up a bit. 2013-07-26 23:03:48 +03:00
sledgehammer999
19a5fc03aa Merge pull request #807 from kraleksandr/master
Some corrections for RU translation
2013-07-26 12:22:06 -07:00
sledgehammer999
836a7c8517 Merge pull request #808 from meequz/master
Updated Belarusian translation
2013-07-26 12:20:38 -07:00
sledgehammer999
3104c6aba0 Merge pull request #731 from john-peterson/build
Adding Travis CI script
2013-07-26 12:17:21 -07:00
Mikhail Varantsou
e192fd35c4 Updated Belarusian translation 2013-07-26 15:33:20 +03:00
sledgehammer999
235bb7c3a4 Use system language as default language. Closes #780. 2013-07-26 02:10:10 +03:00
kraleksandr
fbd97aea3f Some corrections for RU translation 2013-07-25 23:39:55 +04:00
sledgehammer999
6d9c3bc644 Merge pull request #798 from Gelmir/kickass
Fix kickass torrents search plugin
2013-07-23 12:14:41 -07:00
Nick Tiskov
aa327fb2df Fix kickass torrents search plugin 2013-07-23 22:23:45 +04:00
sledgehammer999
080377b662 Respect UI lock when clicking on tray notification. Closes #784. 2013-07-22 01:46:10 +03:00
sledgehammer999
798bd2388b Allow more fine tuning of uploads. Closes #684. 2013-07-22 01:41:01 +03:00
sledgehammer999
102b2dc738 Fix text size problem on Windows with custom DPI. (closes #758)
On Windows FontMetrics seem to be broken when custom DPI is set by the user.
2013-07-21 23:03:14 +03:00
sledgehammer999
fca0c8ace4 Update changelog. 2013-07-21 22:20:40 +03:00
sledgehammer999
522d68ab0b Sort invalid dates regardless of sorting order. 2013-07-21 22:13:53 +03:00
sledgehammer999
a730c27aef Optimize binary size under MSVC linker. 2013-07-21 21:52:43 +03:00
sledgehammer999
743134856e Merge pull request #788 from dartraiden/rustranslate
russian translation: typos
2013-07-21 06:20:34 -07:00
dartraiden
47291ea7e7 russian translation: typos 2013-07-19 18:52:13 +04:00
sledgehammer999
85d4946486 Merge pull request #756 from Gelmir/no_read_on_failed_dl
Do not mark articles read if download has failed
2013-07-17 13:48:09 -07:00
Nick Tiskov
b6c59fd70b Do not mark articles read if download has failed
This change includes: always try to download unread articles matching ruleset already present in list (aka redownload failed items)
2013-07-18 00:21:20 +04:00
sledgehammer999
050aadd3fa Update NSIS croatian translation by delakroa. 2013-07-15 02:45:53 +03:00
sledgehammer999
05fc956e61 Updated NSIS spanish translation by alfrix. 2013-07-14 14:57:22 +03:00
sledgehammer999
323de569df Sort invalid dates always at the bottom. Closes #106 and #735. 2013-07-14 14:54:29 +03:00
sledgehammer999
216778be64 Updated NSIS portuguesBR translation by marinho. 2013-07-14 13:51:30 +03:00
sledgehammer999
25f8740751 Updated portuguese-BR translation by marinho. 2013-07-13 00:19:53 +03:00
sledgehammer999
0cfa3ba06d Merge pull request #765 from Gelmir/no_newline_for_rename
Forbid newlines in rename torrent dialog.
2013-07-11 14:44:51 -07:00
sledgehammer999
8711722257 Updated Czech translation by vilim. 2013-07-12 00:02:53 +03:00
sledgehammer999
bf59997bac Updated NSIS Czech translation by vilim. 2013-07-12 00:02:09 +03:00
sledgehammer999
a36c52ea44 Fix NSIS for included qt translations. Closes #762. 2013-07-11 23:59:26 +03:00
Nick Tiskov
c6329f6327 Forbid newlines in rename torrent dialog. 2013-07-11 14:16:13 +04:00
sledgehammer999
f261c18d73 Merge pull request #755 from Gelmir/stacktrace_gh_md
Wrap stacktrace output in GitHub MarkDown code tags.
2013-07-10 12:07:59 -07:00
sledgehammer999
e604d78c3c Update copyright info for MAC bundle. 2013-07-09 22:55:51 +03:00
sledgehammer999
64a26e596e Update NSIS scripts. 2013-07-09 21:00:11 +03:00
sledgehammer999
af997c5802 Updated Qt translations. 2013-07-09 20:56:41 +03:00
sledgehammer999
f6e4ff1ab9 Use naturalSort in search. 2013-07-09 20:37:14 +03:00
sledgehammer999
09abc9d8b7 Use naturalSort in TorrentContentFilterModel. 2013-07-09 20:13:58 +03:00
sledgehammer999
18edf7a20c Minor change in lessThan signature. 2013-07-09 20:13:57 +03:00
sledgehammer999
7f858dfef5 Updated NSIS japanese translation by hasimoto. 2013-07-09 14:08:03 +03:00
Nick Tiskov
625cebcaad Wrap stacktrace output in GitHub MarkDown code tags. 2013-07-09 14:50:15 +04:00
sledgehammer999
b00950aa7a Merge pull request #749 from Gelmir/transferlistsort
Use number-aware sort in transfer list
2013-07-08 08:08:41 -07:00
sledgehammer999
267f30414d Fix compilation under gcc. 2013-07-08 18:04:53 +03:00
Nick Tiskov
89e3500a8e Move number-aware comparison logic into misc class. 2013-07-08 18:50:53 +04:00
Nick Tiskov
2fa0f86df4 Use number-aware sort in transfer list 2013-07-08 18:03:19 +04:00
sledgehammer999
ea0d10ebc0 Merge pull request #753 from devastatorius/patch-1
Update lithuanian.nsi
2013-07-08 04:29:54 -07:00
sledgehammer999
5c95048b74 Merge pull request #752 from Gelmir/nsis_ru
Add Russian NSIS translation
2013-07-08 04:26:05 -07:00
Nick Tiskov
32a8105590 Add Russian NSIS translation 2013-07-08 13:11:43 +04:00
devastatorius
6584de3a19 Update lithuanian.nsi 2013-07-08 12:02:05 +03:00
sledgehammer999
1047f14680 Updated croatian translation by delakroa. 2013-07-08 01:08:08 +03:00
sledgehammer999
da169fd26e Updated NSIS basque translation by aramendi. 2013-07-08 00:33:51 +03:00
sledgehammer999
2ee57ddb20 Updated NSIS portuguese translation by marques. 2013-07-08 00:30:34 +03:00
sledgehammer999
b1b29b06fe Updated NSIS galician translation by marcos. 2013-07-07 15:26:23 +03:00
sledgehammer999
f8ce9fa98d Updated NSIS norwegian translation by tomaso. 2013-07-07 15:14:52 +03:00
sledgehammer999
f3e0bf3584 Updated NSIS norwegian translation by tomaso. 2013-07-07 14:54:16 +03:00
sledgehammer999
b7758fd6ba Updated NSIS arabic translation by SDERAWI. 2013-07-07 13:53:52 +03:00
sledgehammer999
a284f47c42 Add ommitted string in the NSIS translations. 2013-07-07 12:37:28 +03:00
sledgehammer999
686fd33f3e Updated NSIS japanese translation by hashimoto. 2013-07-07 12:24:59 +03:00
sledgehammer999
3fc1f4e162 Merge pull request #687 from Gelmir/asserts_fix
Fix failing asserts (rss settings are not saved).
2013-07-06 14:32:44 -07:00
sledgehammer999
803dc1a571 Updated NSIS galician translation by marcos. 2013-07-06 20:21:48 +03:00
sledgehammer999
33890c297f Updated NSIS basque translation by aramendi. 2013-07-06 20:17:52 +03:00
sledgehammer999
98403e3816 Updated arabic translation by SDERAWI. 2013-07-06 20:10:59 +03:00
Christophe Dumez
7f7802680b Update configure script to stop requiring libboost-thread 2013-07-06 20:01:32 +03:00
sledgehammer999
47ffe15793 Updated NSIS norwegian translation by tomaso. 2013-07-06 19:56:40 +03:00
sledgehammer999
52b2cba8e2 Updated NSIS arabic translation by SDERAWI. 2013-07-06 19:53:14 +03:00
sledgehammer999
82a0c4585c Merge pull request #622 from john-peterson/column
Adding "Save path" column
2013-07-06 07:29:33 -07:00
sledgehammer999
ea3c6b6b09 Write BOM to NSIS scripts. 2013-07-06 15:03:26 +03:00
sledgehammer999
8bd5576b1f Update changelog. 2013-07-06 12:31:01 +03:00
sledgehammer999
c085648063 Update galician translation by marcos. 2013-07-06 12:28:03 +03:00
sledgehammer999
f1845813a0 Merge pull request #748 from Gelmir/peersort
Allow to sort peer list either by country or by IP
2013-07-06 02:06:30 -07:00
Nick Tiskov
c8d51e91f4 Remove obsolete IP_HIDDEN column from peer list. 2013-07-06 04:07:09 +04:00
Nick Tiskov
ba014d0033 Allow to sort peer list either by country or by IP 2013-07-06 04:04:03 +04:00
sledgehammer999
b486d419dc Update basque translation by aramendi 2013-07-05 00:14:49 +03:00
sledgehammer999
b5d447e6d0 Update japanese translation by hashimoto. 2013-07-04 23:20:18 +03:00
sledgehammer999
33d9ae1e4a Update norwegian translation by Tomaso. 2013-07-04 23:18:20 +03:00
sledgehammer999
d8afccf948 Update italian translation by bovirus. 2013-07-04 23:17:45 +03:00
sledgehammer999
2a4e8c1b63 Merge pull request #743 from Gelmir/ru_ts_new
Russian translation update
2013-07-04 12:25:18 -07:00
Nick Tiskov
30bf0a4c5f Russian translation remaster.
1. A couple of translation fixes.
2. File updated with line numbers (now you can finally see dialog mockups and code snippets in Linguist)
2013-07-04 13:15:37 +04:00
sledgehammer999
e1d85627a8 Updated translations. 2013-07-04 02:47:17 +03:00
sledgehammer999
44a4889074 Preserve original style on about dialog. 2013-07-04 02:40:06 +03:00
sledgehammer999
64fabfed5b Norwegian translation by Tomaso. 2013-07-04 02:24:13 +03:00
sledgehammer999
7b04e8204f Merge pull request #736 from Gelmir/tr_drop_unneeded
Translations fixes
2013-07-03 15:02:39 -07:00
sledgehammer999
65621e2886 Merge pull request #739 from Gelmir/rc_proper_encoding
Use UCS-2 LE encoding for windows resource file
2013-07-03 08:42:49 -07:00
sledgehammer999
23b52f3d11 Update translations. 2013-07-03 18:25:18 +03:00
sledgehammer999
fbaaf10ee5 Update Portuguese translation by Sérgio Marques. 2013-07-03 18:18:33 +03:00
Nick Tiskov
f1a3a1424f Use UCS-2 LE encoding for windows resource file 2013-07-03 19:01:39 +04:00
sledgehammer999
073b09ab41 Update changelog. 2013-07-03 17:02:02 +03:00
sledgehammer999
d4dd04cbdc Call updateDiskSpaceLabel() manually in onSavePathChanged(). Closes #715. 2013-07-03 16:57:47 +03:00
Nick Tiskov
8e7ef66011 Translations fixes
Do not translate strings, which should not be translated
Remove unnecessary/unused strings.
2013-07-03 15:44:30 +04:00
John Peterson
6fde7050ec Adding Travis CI script
because a build test reduce commits with build errors
2013-07-03 10:02:01 +02:00
sledgehammer999
164f3b761d Merge pull request #732 from alfrix/translations
Translations: update spanish
2013-07-02 14:07:50 -07:00
sledgehammer999
04ad78404c Update NSIS script. 2013-07-02 21:32:01 +03:00
sledgehammer999
1e6aa54f0e Use default choking algorithm. fastest_upload is too biased towards fast peers. 2013-07-02 20:45:59 +03:00
sledgehammer999
a29f858f77 Merge pull request #376 from Gelmir/feedreader_atom
Support Atom feeds
2013-07-02 10:14:02 -07:00
Nick Tiskov
7c1e91f256 Support Atom feeds 2013-07-02 21:02:45 +04:00
Alfre
2dece90144 Translations: update spanish 2013-07-02 11:56:58 -03:00
sledgehammer999
bc605fe09e Merge pull request #619 from sledgehammer999/notification_on_finish
Actually show the tray notification when a torrent finishes downloading.
2013-07-01 14:28:02 -07:00
sledgehammer999
d52d64cbaf Merge pull request #677 from Gelmir/rss_old_redl
Respect article limit during feed updates
2013-07-01 14:17:12 -07:00
Nick Tiskov
050893d8df Prevent auto(re)downloading of RSS articles, which exceed article limit. 2013-07-02 00:58:17 +04:00
sledgehammer999
0c514a0f07 Update windows binary metadata. 2013-07-01 23:17:37 +03:00
sledgehammer999
147068afbf Update changelog 2013-07-01 23:12:00 +03:00
sledgehammer999
cdc893a6cf Merge pull request #229 from Hyperz/master
Default/native look for the search filter
2013-07-01 13:08:44 -07:00
sledgehammer999
84c2ba2f4e Merge pull request #653 from Gelmir/evict_cache
Allow controling cache expiry timer
2013-07-01 13:00:04 -07:00
constantined
4ec176b683 Make possible to move file to .unwanted directory after downloading 2013-07-01 12:47:24 +03:00
Nick Tiskov
6b660d505c Allow control of cache expiry interval (libtorrent 0.16.10 allocator can now return cache to kernel) 2013-07-01 12:58:20 +04:00
Nick Tiskov
2647d9e994 Revert "Merge pull request #259 from sledgehammer999/revert_disk_cache"
This reverts commit a796df9019.
2013-07-01 12:58:19 +04:00
Nick Tiskov
70a0de8de5 Fix failing asserts (rss settings are not saved).
See Pull #675
2013-07-01 12:52:23 +04:00
Nick Tiskov
454dbd5cd8 Do not autoDL items based on rules still being edited. 2013-07-01 12:43:40 +04:00
sledgehammer999
a4085ef68c Merge pull request #727 from Gelmir/rename_on_index_changes
Properly rename torrent which changes position in filter model
2013-06-30 14:11:40 -07:00
Nick Tiskov
0e09717a02 Properly rename torrents, when index is moved out of current filter model or changes position inside filter model while rename window stays open 2013-07-01 00:56:12 +04:00
sledgehammer999
647f81ff84 Merge pull request #683 from Gelmir/rss_proper_drag_move
Fix Drag/Move event in RSS widget
2013-06-30 12:50:15 -07:00
sledgehammer999
2c7441b31d Merge pull request #682 from Gelmir/rss_dnd_sameplace
Repopulate the feed tree after drag&drop to same location
2013-06-30 12:48:39 -07:00
sledgehammer999
3d9b4988d9 Update changelog. 2013-06-30 16:00:58 +03:00
sledgehammer999
e797365e3d Change description of random port checkbox. 2013-06-30 15:57:46 +03:00
sledgehammer999
a261ab14ee Port spinbox is now disabled correctly. 2013-06-30 15:52:37 +03:00
sledgehammer999
be5a1ae272 Seed rand only at one place. 2013-06-30 15:32:45 +03:00
tungnian lee
9913484f68 new fix for selecting random port when system starts up 2013-06-30 15:15:44 +03:00
tungnian lee
2de8b9112d more clean up for feature selecting a random port when starts up 2013-06-30 15:15:43 +03:00
tungnian lee
75e28bb3e6 Made changes for clean up and fix the problem that a new ramdon port is set every time a setting is saved. 2013-06-30 15:15:42 +03:00
sledgehammer999
7a99eb8e23 Write BOM in NSIS translations' files. 2013-06-30 15:14:45 +03:00
sledgehammer999
0b15515f59 Update NSIS scripts to use unicode version of installer. 2013-06-30 14:43:23 +03:00
sledgehammer999
9ff7eab83b Fixed compilation with libtorrent 0.15.x 2013-06-30 02:45:02 +03:00
sledgehammer999
b32a68318c Ensure that all tranferlist columns have a size > 0. 2013-06-29 18:16:23 +03:00
sledgehammer999
029505bf1d Impove drawing speed of peers list when there are many peers. 2013-06-29 18:10:45 +03:00
sledgehammer999
01307b377e Improve drawing speed of transferlist with many torrents. 2013-06-29 17:58:41 +03:00
sledgehammer999
0322002b46 Update maintainer info in About dialog. 2013-06-29 15:37:08 +03:00
sledgehammer999
e5617f4cde Update AUTHORS file. 2013-06-29 14:46:19 +03:00
sledgehammer999
64dad99c36 Ensure that all columns in the peerlist are showing. 2013-06-29 13:28:29 +03:00
sledgehammer999
f227130388 Simplify code. 2013-06-27 15:29:02 +03:00
sledgehammer999
38d78b7606 Change seeding algorithm. Increase connections per second. 2013-06-27 15:25:23 +03:00
Christophe Dumez
a77be2f6ce Merge pull request #705 from sledgehammer999/peer_tab2
Use new Libtorrent version define.
2013-06-16 04:37:25 -07:00
sledgehammer999
1ad9d9b4e0 Use new Libtorrent version define. 2013-06-16 14:34:00 +03:00
Christophe Dumez
f4e5d7bc11 Merge pull request #636 from sledgehammer999/libtorrent_trunk
Fix compilation with libtorrent 1.x.x.
2013-06-08 10:35:05 -07:00
sledgehammer999
22e2bafa7a Fix compilation with libtorrent 1.x.x v2 2013-06-08 18:21:15 +03:00
Nick Tiskov
562e9ce108 Drag'n'Drop fixups.
1. Proper event handling
2. Allow folder moving
3. Allow moving into folders
2013-06-08 19:04:42 +04:00
Christophe Dumez
b8598bfc14 Merge pull request #594 from ccerrillo/master
changes in mootools breaks the context menu
2013-06-08 05:54:08 -07:00
Christophe Dumez
2a31d378a5 Merge pull request #606 from sledgehammer999/peer_tab
Show utorrent compatible peer flags. Implements issue #531.
2013-06-08 05:48:09 -07:00
Christophe Dumez
a33a959f63 Merge pull request #629 from sledgehammer999/temp_tor_data
Store TorrentTempData only in memory. Partially implements #583.
2013-06-08 05:41:46 -07:00
Christophe Dumez
1ff3818e6b Merge pull request #662 from micheleolivo/master
Italians strings fixed
2013-06-08 05:10:48 -07:00
Nick Tiskov
116fa8936a Add missing QTreeWidget::dropEvent to d'n'd atempt occuring in same location.
Remove 'Overwrite attempt' dialog as obsolete. Now moving item, e.g. from folder to same folder, will just make it the last child of the folder.
2013-06-04 18:47:01 +04:00
sledgehammer999
78663b9c27 Fix peer flags. 2013-05-24 19:18:03 +03:00
Christophe Dumez
0213b5f511 Add missing break statement in proxy code 2013-05-22 20:43:02 +03:00
Michele Olivo
559e0ac218 Fixed a couple of Italians strings. 2013-05-21 11:50:03 +02:00
sledgehammer999
94b58ca229 Fix compilation with libtorrent 1.x.x. 2013-05-07 22:57:18 +03:00
sledgehammer999
7aa3eff845 Add constness and value by reference in TorrentTempData. 2013-05-04 21:29:18 +03:00
sledgehammer999
9a0a26dae1 Store TorrentTempData only in memory. Partially implements #583. 2013-05-04 17:56:26 +03:00
John Peterson
d1c3a07ba6 Adding "Save path" column
because it's useful when moving files

It's the same path as in properties because that's consistent
2013-05-01 09:05:14 +02:00
sledgehammer999
a30dc3a823 Actually show the tray notification when a torrent finishes downloading. 2013-04-30 23:52:32 +03:00
sledgehammer999
8464720d99 Show utorrent compatible peer flags. Implements issue #531. 2013-04-22 20:48:50 +03:00
sledgehammer999
4f667c6e7d Merge pull request #600 from sledgehammer999/trans_it_nsis
Updated italian translation of NSIS installer by bovirus.
2013-04-20 02:08:02 -07:00
sledgehammer999
365ba4341a Updated italian translation of NSIS installer by bovirus. 2013-04-20 12:06:34 +03:00
ccerrillo
c928987313 mootools change break context menu
Fx.Tween in mootols 1.4.5  no longer sets visibility to hidden, so when the context menu dissapear, if you put the mouse in the space where the menu were showed is still there but with opacity to 0 and cannot click to nothing below that area

So i emulated the old behaviour with OnComplete event.

Additionally i changed the use of deprecated $empty
2013-04-17 20:41:24 +03:00
Christophe Dumez
d5aa316613 Merge pull request #513 from Gelmir/creator_root
Fix: using files/folder in disk root for torrent creation fails
2013-04-14 03:06:29 -07:00
Christophe Dumez
43271d3ea7 Merge pull request #568 from alfrix/master
Updated Spanish Translation
2013-04-14 03:05:16 -07:00
Christophe Dumez
9aa0041422 Merge pull request #584 from sledgehammer999/it_translation
Update italian translation by bovirus.
2013-04-14 03:04:46 -07:00
Christophe Dumez
f0e98e2828 Merge pull request #587 from sledgehammer999/update_disklabel
Update disk space label in add new torrent dialog. Fixes issue #282.
2013-04-14 03:04:27 -07:00
sledgehammer999
1e7668608a Update disk space label in add new torrent dialog. Fixes issue #282. 2013-04-14 05:26:25 +03:00
sledgehammer999
f918e7f0b0 Merge pull request #586 from sledgehammer999/nsis_it
Updated italian language of nsis installer by bovirus.
2013-04-13 18:02:04 -07:00
sledgehammer999
a685349ae6 Updated italian language of nsis installer by bovirus. 2013-04-14 03:58:24 +03:00
sledgehammer999
7c2e679c8b Update italian translation by bovirus. 2013-04-14 03:45:54 +03:00
Alfre
b6e16fbdc0 Update Spanish translation 2013-04-10 15:06:23 -03:00
Christophe Dumez
a2d3a1c41c Merge pull request #543 from sledgehammer999/master
Really fix issue #405 and #536.
2013-04-01 12:23:04 -07:00
sledgehammer999
4af28bfe81 Really fix issue #405 and #536. 2013-04-01 21:37:36 +03:00
Christophe Dumez
4ba5e43933 Improve peer host name resolution (closes #360)
- Take a QString in argument to avoid converting it twice. The caller already
  has the IP as a QString.
- Fix bug where hostnames coming from the cache would not the displayed.
- Fix bug where the resolved hostnames would not be displayed if the IP we know
  does not match the first one in the QHostInfo::addresses() list. It may come
  later in the list or may be formatted differently (possible with IPv6).
- Avoid requesting again host names for IPs that were already requested recently
  but whose resolution did not return a useful hostname.
2013-03-28 21:47:45 +02:00
Nick Tiskov
6debc1e958 Fix unhandled exception when trying to create torrents from files/folder in disk root. 2013-03-21 20:56:39 +04:00
Christophe Dumez
9651d8736b Fix legittorrents search plugin (closes #515) 2013-03-20 21:16:28 +02:00
Christophe Dumez
07ec2cce31 Update Italian translation 2013-03-16 22:26:40 +02:00
Christophe Dumez
698171bbcf Updated Basque translation 2013-03-16 22:01:48 +02:00
Christophe Dumez
3519cb281f Merge pull request #499 from Driim/add_torrent_icon_fix
Fix missing "Add torrent file" icon
2013-03-12 10:37:18 -07:00
Driim
df23fc1de2 delete not needed space 2013-03-11 22:52:49 +04:00
Driim
f445c8f872 Fix add torrent icon version 3 2013-03-11 22:50:32 +04:00
Driim
eb035e2199 Fix add torrent icon version 2 2013-03-11 22:45:32 +04:00
Driim
dac3a1a0ca Fix missing "Add torrent file" icon 2013-03-11 19:33:57 +04:00
Christophe Dumez
902aa4503e Merge pull request #496 from Gelmir/libz
Use <OS_name>conf.pri files to control libz linkage
2013-03-10 13:15:02 -07:00
Nick Tiskov
314fc003b3 Use <OS_name>conf.pri file to control libz linkage 2013-03-11 00:04:40 +04:00
Christophe Dumez
c36b2774ed Merge pull request #469 from Gelmir/ul_eta
ETA calculation for seed_only torrents; ETA column sorting
2013-03-10 12:53:26 -07:00
Nick Tiskov
ec08bfac07 Improve code readability in speed monitor 2013-03-10 23:25:24 +04:00
Christophe Dumez
cd754fd239 Update Norwegian translation 2013-03-10 21:24:15 +02:00
Christophe Dumez
a6e7588593 Merge pull request #495 from Gelmir/ru_ts
Update Russian translation.
2013-03-10 12:13:46 -07:00
Nick Tiskov
008ba33ce9 Update Russian translation. 2013-03-10 23:06:09 +04:00
Christophe Dumez
f49ba3e93d Avoid using #define 2013-03-10 20:31:06 +02:00
Christophe Dumez
e98fb61400 Link against lz 2013-03-10 20:29:46 +02:00
Christophe Dumez
13e57fb9dd Merge pull request #471 from daimor/master
Correctly handle HTTP responses with gzipped encoded content.
2013-03-10 11:08:57 -07:00
Christophe Dumez
7234a93293 Merge pull request #462 from Gelmir/webui_json
Multiple JSON parses fixes
2013-03-10 11:04:15 -07:00
Christophe Dumez
56cff16b07 Update language files 2013-03-10 20:03:21 +02:00
Christophe Dumez
aa74244abb Update Changelog 2013-03-10 20:02:35 +02:00
Christophe Dumez
a998f4c980 Merge pull request #464 from Gelmir/log_clear
Allow clearing of execution log and peer ban log
2013-03-10 11:01:33 -07:00
Christophe Dumez
5f2fe1d5a6 Update Changelog 2013-03-10 19:57:59 +02:00
Christophe Dumez
f01c301839 Merge pull request #480 from Gelmir/create_torrent_tiers
Support tracker tiers / groups in torrent creator
2013-03-10 10:56:28 -07:00
Nick Tiskov
0c0c7459f1 Cosmetic fix for eta sorting in torrent list: 'infinity' must always come last 2013-03-10 20:59:19 +04:00
Nick Tiskov
34a88c83f0 Calculate eta for seed only torrents using ratio limits 2013-03-10 20:59:19 +04:00
Nick Tiskov
a8f29e51c5 Cosmetic fixes to torrent creator 2013-03-10 20:58:23 +04:00
Nick Tiskov
964b321458 Ignore multiple sequential newlines in torrent creator 2013-03-10 20:41:59 +04:00
Nick Tiskov
dec726c0ae Add tooltip in torrent creation dialog as a hint on tracker tiers 2013-03-10 20:41:58 +04:00
Nick Tiskov
025f4f9737 Support tracker mirrors in torrent creator 2013-03-10 20:41:58 +04:00
Nick Tiskov
66b982ad03 Minor refactoring for json parser 2013-03-10 20:40:08 +04:00
Nick Tiskov
3309706964 Allow clearing of execution log and peer ban log 2013-03-10 20:31:46 +04:00
Nick Tiskov
9d275d6d34 Allow bool lists in json values 2013-03-10 20:03:53 +04:00
Nick Tiskov
91f9a46c18 Allow semicolon in json values (Windows paths support) 2013-03-10 20:03:52 +04:00
Dmitry Maslennikov
e017ba6863 add cookies for redirect, cookies for auto download torrent from rss, add support gzip 2013-03-10 19:15:33 +04:00
Christophe Dumez
9c7807ded4 Merge pull request #494 from sledgehammer999/fix_downloadbar
Fix the downloadbar for libtorrent > 0.16.7
2013-03-10 08:14:38 -07:00
sledgehammer999
0fa0be2d0e Pass the correct flag in torrent_handle::status for libtorrent > 0.15 2013-03-10 17:08:40 +02:00
sledgehammer999
4e0dc5d51a Merge pull request #478 from sledgehammer999/win_backtrace
Move backtrace support to windows specific pri files and other minor improvements. v2
2013-03-10 04:21:55 -07:00
Christophe Dumez
14bfc4f4ed Merge pull request #434 from Gelmir/session_end
Attempt to fix data loss during session end v2
2013-03-10 00:53:41 -08:00
Christophe Dumez
7039e2b10f Merge pull request #441 from sledgehammer999/git_ignore
Ignore some files.
2013-03-10 00:50:14 -08:00
Christophe Dumez
e5f0edaa0a Merge pull request #456 from Gelmir/fix_webui_ap
Allow/Fix special characters in json replies in WebUI
2013-03-10 00:48:45 -08:00
Christophe Dumez
72dd95a81e Update Changelog 2013-03-10 10:36:21 +02:00
Christophe Dumez
4e2750262d Merge pull request #466 from Gelmir/webseed_menu
Add context menu to web seed list
2013-03-10 00:35:21 -08:00
Christophe Dumez
3b60c23178 Merge pull request #485 from sledgehammer999/cp_mgn_uri
Enable 'copy magnet uri' for torrents without metadata too.
2013-03-09 23:57:57 -08:00
sledgehammer999
12a6ecf353 Enable 'copy magnet uri' for torrents without metadata too. Fixes issue #458. 2013-03-05 23:15:39 +02:00
sledgehammer999
c5b5241964 Enable backtrace support by default on Windows. 2013-03-03 03:11:07 +02:00
sledgehammer999
eb0d1748c3 Fix compilation without backtrace support on Windows. 2013-03-03 03:11:01 +02:00
sledgehammer999
1f0d4ce871 Move Windows backtrace functionality to the windows specific *.pri files. 2013-03-03 00:52:51 +02:00
Nick Tiskov
b64caf2cb8 Remove add/remove buttons in web seed list, since context menu is now implemented. 2013-02-28 23:04:12 +04:00
Nick Tiskov
b286bead09 Add context menu for web seeds: add, remove, copy, edit. 2013-02-28 23:00:04 +04:00
Nick Tiskov
dc4d0a7078 Allow/Fix special characters in json replies in WebUI 2013-02-25 16:28:15 +04:00
sledgehammer999
5ec68f3ca0 Ignore some files. 2013-02-18 00:29:15 +02:00
Christophe Dumez
da3406b811 Simplify the code a bit now that QIniSettings uses qBittorrent / qBittorrent by default 2013-02-16 20:04:48 +02:00
Christophe Dumez
6c753ac183 Have QIniSettings use qBittorrent / qBittorrent by default 2013-02-16 19:33:07 +02:00
Christophe Dumez
1549a443c5 Have Preferences subclass QIniSettings privately to discourage bad usage. 2013-02-16 19:30:44 +02:00
Nick Tiskov
28df59b9e6 Attempt to fix data loss during session end 2013-02-16 17:46:34 +04:00
Christophe Dumez
1f25e6d0fe Merge pull request #423 from Gelmir/rss_rulelist
Changing regexp/wildcard mode should update article list matches
2013-02-16 05:36:42 -08:00
Christophe Dumez
47f5d165a8 Merge pull request #427 from sledgehammer999/update_def_path
Fix case where the default save wasn't getting updated in the addition d...
2013-02-16 05:34:27 -08:00
Christophe Dumez
13a195d73b Merge pull request #426 from sledgehammer999/fix_dont_show
Fix 'dont show' dialog when downloading torrent. Closes issue #405.
2013-02-16 05:33:00 -08:00
sledgehammer999
04e4295140 Fix case where the default save wasn't getting updated in the addition dialog. 2013-02-12 00:31:47 +02:00
sledgehammer999
fe98c36abf Fix 'dont show' dialog when downloading torrent. Closes issue #405. 2013-02-11 23:38:33 +02:00
Christophe Dumez
ee84af0826 Update Norwegian translation 2013-02-11 12:44:11 +02:00
Christophe Dumez
e1d09303f9 Update language files 2013-02-11 12:42:39 +02:00
Christophe Dumez
3749817e1b Merge pull request #347 from Gelmir/ru_lang
Fix Russian translation
2013-02-11 02:41:59 -08:00
Nick Tiskov
a6e862d9ea More updates to Russian translation 2013-02-11 14:22:51 +04:00
Nick Tiskov
c28641ba94 Fix Russian translation for d3b4ec77bc 2013-02-11 14:03:41 +04:00
Nick Tiskov
5e5d8118c7 Changing regexp/wildcard mode should update article list matches 2013-02-11 13:58:00 +04:00
Christophe Dumez
b0a01f60f7 Merge pull request #419 from Gelmir/license
Remove unprintable 0x0C from license text
2013-02-10 11:06:44 -08:00
Nick Tiskov
c04095673f Remove unprintable 0x0C from license text 2013-02-10 22:46:03 +04:00
Christophe Dumez
88d22e4309 Merge pull request #415 from Gelmir/edit_tracker
Allow to edit tracker URI
2013-02-10 10:44:27 -08:00
Nick Tiskov
e05cce9b59 Small fix to tracker editing 2013-02-10 22:39:15 +04:00
Nick Tiskov
a7a4557b29 fixup! Use QInputDilog for tracker editing 2013-02-10 22:07:37 +04:00
Nick Tiskov
4cb783d5bf Use QInputDilog for tracker editing 2013-02-10 22:07:36 +04:00
Nick Tiskov
cd830768d6 Allow to edit tracker URI 2013-02-10 22:05:51 +04:00
Christophe Dumez
6f46c60360 Update Hebrew translation 2013-02-09 23:06:09 +02:00
Christophe Dumez
d9d63141bb Merge pull request #396 from karimodm/master
Fix to Issue #395: Preview feature absent when .!qB extensions added
2013-02-09 10:34:10 -08:00
Andrea Villa
b6f156b7dd Reverting fs_utils.cpp and fixing callers instead 2013-02-09 18:55:10 +01:00
Christophe Dumez
a647968a6f Merge pull request #414 from Gelmir/cpy_tracker_fix
Fix copy tracker build failure
2013-02-09 09:41:03 -08:00
Nick Tiskov
93c64d03e3 Fix copy tracker build failure 2013-02-09 21:18:52 +04:00
Christophe Dumez
6fddbd8178 Merge pull request #206 from Driim/master
Copy tracker URL
2013-02-09 07:53:11 -08:00
Christophe Dumez
67ca3315fd Merge pull request #374 from Gelmir/feedreader_lang
Fix spacing in Russian translation in article list
2013-02-09 07:50:16 -08:00
Christophe Dumez
168de06d47 Merge pull request #391 from sledgehammer999/win_installer
Major refactoring on the windows installer scripts
2013-02-09 07:46:53 -08:00
Christophe Dumez
3ee79afe4f Merge pull request #402 from bovirus/patch-2
Update src/lang/qbittorrent_it.ts by bovirus
2013-02-09 07:36:51 -08:00
Christophe Dumez
a3163a419a Merge pull request #404 from sledgehammer999/del_whitespace
Remove leading and trailing whitespace when choosing filenames. Fixes is...
2013-02-09 07:34:44 -08:00
sledgehammer999
a2e4e2ad37 Remove leading and trailing whitespace when choosing filenames. Fixes issue #401. 2013-02-07 21:31:24 +02:00
ROBERTO
367b17e315 Update src/lang/qbittorrent_it.ts 2013-02-07 14:25:58 +01:00
Andrea
ccd50262c6 FIX: Redeclared Variable 2013-02-05 03:44:54 +01:00
Andrea
c7efd0dd05 Fix Preview for .!qB extended files 2013-02-05 01:46:00 +01:00
sledgehammer999
287e2a7c2d Update README.txt. 2013-02-02 03:54:31 +02:00
sledgehammer999
9618cc1628 Update instructions in README.txt. 2013-02-02 03:28:07 +02:00
sledgehammer999
d435eae35c Include third party plugins used by the scripts. 2013-02-02 03:04:15 +02:00
sledgehammer999
80021c4ef6 Move the check for already running instance just before the actual installation. 2013-02-02 02:52:14 +02:00
sledgehammer999
d959a5918c Remove unused label. 2013-02-02 02:52:11 +02:00
sledgehammer999
5b092b3aea Updated language tables with all the strings. 2013-02-02 02:52:09 +02:00
sledgehammer999
749e668a03 Remove file associations only if qbt is associated. Fixes issue #307. 2013-02-02 02:52:06 +02:00
sledgehammer999
257f75a201 Reserve dll for faster execution. 2013-02-02 02:52:04 +02:00
sledgehammer999
cfa1e8441b Added some logging for a few actions. 2013-02-02 02:52:01 +02:00
sledgehammer999
5b66b7a24f Run unistaller silently before proceeding with the install. 2013-02-02 02:51:59 +02:00
sledgehammer999
78ee01b03c The installer now checks if qbt is running before proceeding. 2013-02-02 02:51:56 +02:00
sledgehammer999
653d49ab3c Offer to launch qbt after installation. 2013-02-02 02:51:54 +02:00
sledgehammer999
c13776d000 Add more info to the system about the unistaller. 2013-02-02 02:51:52 +02:00
sledgehammer999
e71facf6d6 Add version info to the installer executable. 2013-02-02 02:51:49 +02:00
sledgehammer999
f2f2dad402 Split removal of configuration files to 2 options. 2013-02-02 02:51:47 +02:00
sledgehammer999
c6ba3b4ca3 Change title of installer to show the qbt's version. 2013-02-02 02:51:45 +02:00
sledgehammer999
feadedf8ef Support adding of windows firewall rule. 2013-02-02 02:51:42 +02:00
sledgehammer999
ccce8f58c9 Updated translations.nsi 2013-02-02 02:51:27 +02:00
sledgehammer999
e85efb828d Create language tables for all the available languages. 2013-02-02 02:50:35 +02:00
sledgehammer999
4d739d4050 Refactor windows installer script to accomodate further translation. Also split it up so it is easier to maintain and extend. 2013-02-02 02:44:33 +02:00
Dmitriy Falko
b172196512 Merge pull request #2 from qbittorrent/master
Up-to-date commit
2013-01-28 06:08:05 -08:00
Christophe Dumez
3e7329fb07 Merge pull request #377 from Gelmir/feedreader_statesave
Save article 'read' state on exit
2013-01-28 04:11:30 -08:00
Nick Tiskov
9b121fd5d0 Save article 'read' state on exit 2013-01-28 14:53:04 +04:00
Christophe Dumez
405885209b Update Finnish translation 2013-01-27 18:49:36 +02:00
Nick Tiskov
12f0954c4c Fix spacing in Russian translation in article list 2013-01-27 13:39:25 +04:00
Christophe Dumez
8046ba4103 Merge pull request #361 from sledgehammer999/torrent_creator
Fix torrent creator when saving to a non-latin path in Windows.
2013-01-26 12:35:41 -08:00
Christophe Dumez
dce5c217c8 Merge pull request #329 from Gelmir/iface_hrNames
Show human readable interface names
2013-01-26 12:31:59 -08:00
Christophe Dumez
0161e64481 Update Norwegian translation 2013-01-26 22:21:00 +02:00
sledgehammer999
b768005f44 Merge pull request #337 from Gelmir/stacktrace_win
Support stacktrace on Windows
2013-01-26 12:15:09 -08:00
Christophe Dumez
6838edb4fe Merge pull request #358 from Gelmir/raise_wnd
Raise main window when starting another instance w/o params
2013-01-26 11:59:09 -08:00
sledgehammer999
2309c25aa4 Fix null termination of wsave_path. 2013-01-26 20:35:50 +02:00
Nick Tiskov
1090e87f3a fixup! Raise main window when starting another instance w/o params 2013-01-26 22:22:17 +04:00
Nick Tiskov
104b2aecdc fixup! Show human readable interface names (mostly affects Windows) 2013-01-26 21:24:38 +04:00
Christophe Dumez
465eaf028e Update Changelog 2013-01-26 19:09:13 +02:00
Christophe Dumez
2a76ddb81d Remove binary translations now that they are generated at configure time 2013-01-26 19:08:04 +02:00
Christophe Dumez
3f2098ff5d Merge pull request #332 from Gelmir/ts_conftime
Create translations at configure time
2013-01-26 09:07:30 -08:00
Christophe Dumez
13cd4815ee Add Legit Torrents search plugin 2013-01-26 16:09:00 +02:00
Nick Tiskov
5eaf4201ae Fixes: 1) Building fails w/o "CONFIG += strace_win" 2) mingw build
Commenting Mingw release flags section for now. Strace is not reliable with mingw (only calls to other libraries are resolved, internal calls show up as addresses).
2013-01-25 22:52:12 +04:00
Christophe Dumez
606ee3c883 Update Portuguese translation 2013-01-25 17:54:03 +02:00
Christophe Dumez
a1a73af7da Update Finnish translation 2013-01-23 22:07:21 +02:00
sledgehammer999
ed26846a54 Null terminate the wide string in torrent creator. 2013-01-23 17:30:44 +02:00
sledgehammer999
e7125d21cb Fix torrent creator when saving to a non-latin path in Windows. 2013-01-23 14:19:18 +02:00
Christophe Dumez
64fb49e085 Merge pull request #359 from sledgehammer999/qt_translate
Update Qt translations from qt 4.8.4
2013-01-22 21:52:48 -08:00
sledgehammer999
0c0a90c6c2 Update Qt translations from qt 4.8.4 2013-01-22 19:04:38 +02:00
Nick Tiskov
5ca5441a48 Support raising window when UI is locked 2013-01-22 17:36:14 +04:00
Nick Tiskov
88960556e3 Raise main window when starting another instance w/o params 2013-01-22 15:38:09 +04:00
Christophe Dumez
d3b4ec77bc Update date in About dialog copyright 2013-01-20 13:01:51 +02:00
Christophe Dumez
08dc932d00 Fixes to Italian translation 2013-01-20 12:20:51 +02:00
Christophe Dumez
d6b99a8d70 Add plugin versions.txt file for python3 2013-01-20 00:00:58 +02:00
Christophe Dumez
e13eeeed60 Update plugin versions 2013-01-19 23:59:26 +02:00
Christophe Dumez
b71570bdf7 Fix duplicate results in piratebay results 2013-01-19 23:27:51 +02:00
Nick Tiskov
a9cffd8863 Support stacktrace on Windows
adds 'strace_win' CONFIG option
2013-01-19 22:07:20 +04:00
Christophe Dumez
0ace60a39b Use HTTPS for btdigg 2013-01-19 19:36:52 +02:00
Christophe Dumez
d740b051cb Really fix kat search engine with python3 2013-01-19 19:29:51 +02:00
Christophe Dumez
f369e22de0 Fix kat.ph search with python3 2013-01-19 18:54:18 +02:00
Christophe Dumez
64fd3044b1 Fix compilation error with libtorrent v0.15 2013-01-19 18:16:47 +02:00
Christophe Dumez
bcd81c0791 Better fix for --no-splash argument 2013-01-19 16:38:34 +02:00
Christophe Dumez
965f7f5d26 Fix support for --no-splash command line argument 2013-01-19 16:24:31 +02:00
Christophe Dumez
636e052faa Remove "Force reannounce" action
Does not work as intended.
2013-01-16 20:03:32 +02:00
Christophe Dumez
6e1f250470 Stop listening on port 4433 since we do not support SSL torrents 2013-01-16 19:07:22 +02:00
Nick Tiskov
92e24e332a Create translations at configure time 2013-01-16 00:21:41 +04:00
Christophe Dumez
687d192e71 Merge pull request #330 from sledgehammer999/win_installer
Some improvements/fixes to the windows installer script
2013-01-13 08:50:07 -08:00
sledgehammer999
4f1cb5ab7c Store language settings for the installer. Use them in the unistaller too. 2013-01-13 18:07:21 +02:00
sledgehammer999
2fbc979136 Remove qBittorrent Start Menu folder when uninstalling. Partially fixes #291. 2013-01-13 18:07:18 +02:00
Nick Tiskov
3e98bd49e2 Show human readable interface names (mostly affects Windows) 2013-01-13 17:44:14 +04:00
Christophe Dumez
186bbd7fc3 Safer check 2013-01-13 13:01:58 +02:00
Christophe Dumez
34fc7407a2 Fix possible crash in loadPeers() (closes #222) 2013-01-13 12:53:34 +02:00
Christophe Dumez
aecf069975 Require password to exit qBittorrent from tray icon when locked (closes #311) 2013-01-12 19:18:39 +02:00
Christophe Dumez
ec90fc480c Bump mootools to 1.4.5 2013-01-12 18:55:02 +02:00
Christophe Dumez
4012a64327 Update Italian translation 2013-01-10 18:59:50 +02:00
Christophe Dumez
646c6b6e64 Fix torrentreactor engine plugin 2013-01-09 19:16:44 +02:00
Christophe Dumez
3eae8b3db2 Update language files 2013-01-09 19:06:09 +02:00
Christophe Dumez
8148f9a95a Merge pull request #320 from Gelmir/lang_ru
Update Russian translation.
2013-01-09 09:05:04 -08:00
Nick Tiskov
a756c264f9 Update Russian translation. 2013-01-09 20:30:24 +04:00
Christophe Dumez
add29f9a5c Remove torrentdownloads.ws search plugin (Pretty much dead...) 2013-01-08 22:24:21 +02:00
Christophe Dumez
6a16ca31a2 Really use HTTPS link for isohunt engine 2013-01-08 21:51:51 +02:00
Christophe Dumez
b1cf8c16df Use HTTPS link for thepiratebay.se 2013-01-08 21:47:24 +02:00
Christophe Dumez
5b2947764d Use HTTPS link for isohunt 2013-01-08 21:41:16 +02:00
Christophe Dumez
452fdbcc6f Use HTTPS link for kat.ph plugin 2013-01-08 21:34:28 +02:00
Christophe Dumez
1b3a758f28 Search plugins: Properly uncompress gzipped responses in retrieve_url() 2013-01-08 21:30:43 +02:00
Christophe Dumez
4db73d421d Remove outdated torrentz link 2013-01-08 20:08:40 +02:00
Christophe Dumez
643840d969 Remove btjunkie search plugin 2013-01-08 18:57:54 +02:00
Christophe Dumez
062b7733b1 Merge pull request #310 from Gelmir/ru_ts
Update Russian translation
2013-01-03 07:08:03 -08:00
Nick Tiskov
8302b9e1d7 Update Russian translation 2013-01-03 14:52:34 +04:00
Christophe Dumez
12bd5c9dd7 Update Italian translation 2013-01-02 18:25:53 +02:00
sledgehammer999
57a609a62c Merge pull request #301 from Gelmir/static_favicon
Use qico plugin in static build. Required for RSS favicon capabilities.
2012-12-30 08:43:56 -08:00
Christophe Dumez
26228e747d Merge pull request #299 from Gelmir/anon_mode_help_external
Anonymous mode link is not opened in default browser.
2012-12-30 02:22:22 -08:00
Christophe Dumez
6f88b072d1 Merge pull request #300 from Gelmir/uploaded_column
Main view column changes
2012-12-30 02:21:44 -08:00
Nick Tiskov
f55ea07c1d Move QTPLUGIN qmake macro to src.pro. 2012-12-29 20:06:15 +04:00
Nick Tiskov
0cdb833aa6 Use qico plugin in static build. Required for RSS favicon capabilities. 2012-12-28 15:40:22 +04:00
Nick Tiskov
54e99b73d6 Fix 'Amount Uploaded' contradiction between main view and properties widget 2012-12-27 17:57:31 +04:00
Nick Tiskov
680998f9c2 Add 'Uploaded' column to main view 2012-12-27 17:55:40 +04:00
Nick Tiskov
12d062cd7e Anonymous mode link is not opened in default browser. 2012-12-27 16:54:11 +04:00
Christophe Dumez
bb1663636a Merge pull request #259 from sledgehammer999/revert_disk_cache
Partially revert commit aeb5fa. See issue #258.
2012-12-26 11:33:47 -08:00
Christophe Dumez
c19b33afc1 Merge pull request #296 from sledgehammer999/minor_optimize
Another minor optimization in qbtsession.
2012-12-26 11:24:35 -08:00
Christophe Dumez
7fba885d48 Merge pull request #295 from sledgehammer999/optimize_torrent_addittion
Optimize torrent addittion of huge torrents
2012-12-26 11:24:03 -08:00
sledgehammer999
aee105ec6c Another minor optimization in qbtsession. 2012-12-26 20:24:36 +02:00
sledgehammer999
b6cedbe4af Optimize the preview of huge torrents. Fixes issue #288. 2012-12-26 20:07:52 +02:00
sledgehammer999
c8753c96db Optimize the addittion of huge torrents. Fixes issue #288. 2012-12-26 20:06:38 +02:00
Christophe Dumez
1a5056763c Update Portuguese translation 2012-12-13 19:20:16 +02:00
Christophe Dumez
6621a7aa1c Fixes to Simplified Chinese translation 2012-12-13 19:18:32 +02:00
Christophe Dumez
737e9393f4 Fixes to Simplified Chinese translation 2012-12-09 14:33:17 +02:00
sledgehammer999
38f1d27223 Make the disk cache default to 128MB. 2012-12-03 23:28:56 +02:00
Christophe Dumez
37016aebad Merge pull request #267 from john-peterson/master
Reenable OS cache on Windows
2012-12-03 10:12:58 -08:00
Christophe Dumez
d6e067d654 Revert "Reenable OS cache on Windows"
This reverts commit 8a27c79716.
2012-12-03 20:12:08 +02:00
John Peterson
6894a4b640 Removing option to disable the OS disk cache because it has limited use and is unreliable in Windows. 2012-12-03 18:05:05 +01:00
Christophe Dumez
8a27c79716 Reenable OS cache on Windows 2012-12-03 18:52:07 +02:00
John Peterson
f2c05131c3 Merge branch 'master' of https://github.com/qbittorrent/qBittorrent 2012-12-03 17:34:33 +01:00
John Peterson
31ffbb1edd Enabling Windows disk cache (and adding option to disable it) to prevent a relatively prevalent ERROR_INVALID_PARAMETER.
From my test only the write cache was the culprit, if this can be confirmed the read cache can be disabled by default if that has a benefit.

(Other systems are unchanged.)
2012-12-03 17:27:11 +01:00
Christophe Dumez
177e6738e4 Merge pull request #254 from sledgehammer999/fix_default_path
Fix behaviour of the torrent addition dialog. The 'set as default path' ...
2012-12-01 07:51:20 -08:00
sledgehammer999
47c40b04e4 Remove equality check from QBtSession::setDefaultSavePath(). 2012-12-01 17:48:18 +02:00
sledgehammer999
a899209a01 Optimize check of paths in qbtsession. 2012-12-01 15:40:18 +02:00
Christophe Dumez
ef9cb84b01 Merge pull request #264 from sledgehammer999/qbtsession_optimize
Minor optimization in qbtsession.
2012-12-01 05:05:13 -08:00
sledgehammer999
3e979931d0 Make a setter for defaultSave path in qbtsession and do some other optimizations to avoid potential pitfalls. 2012-12-01 14:48:08 +02:00
sledgehammer999
60c3244faa Don't touch qbtsession here. 2012-12-01 14:11:20 +02:00
sledgehammer999
bd89dca0af Minor optimization in qbtsession. 2012-12-01 14:08:46 +02:00
Christophe Dumez
b97c6cadee Merge pull request #256 from sledgehammer999/fix_dir_separators
Fix dir separators
2012-12-01 00:07:27 -08:00
sledgehammer999
1a965cc0bd Partially revert commit aeb5fa. See issue #258. 2012-12-01 02:20:09 +02:00
sledgehammer999
4749fa45e8 Improve the display of paths in the 'Add new torrent' dialog. 2012-11-30 01:38:01 +02:00
sledgehammer999
6b7bd55931 Improve the handling of native directory separators. 2012-11-30 01:37:08 +02:00
sledgehammer999
a50aa2d8e5 Save preferences before updating QBtSession. 2012-11-30 01:32:11 +02:00
sledgehammer999
93cdd1b98c Update the qbtsession when set a new default path. 2012-11-28 02:02:54 +02:00
sledgehammer999
d6353fc3b2 Fix behaviour of the torrent addition dialog. The 'set as default path' didn't work as intended. Closes issues #251 and #243. 2012-11-28 01:48:01 +02:00
Christophe Dumez
1809de7f1a Fix "Couldn't set environment variable..." message on start up (closes #245) 2012-11-24 10:47:05 +02:00
Hyperz
2e3cd114bc Changed LineEdit border style to system default 2012-11-17 12:54:35 +01:00
Driim
694477855b Change icon for "Copy tracker URL" 2012-11-15 22:16:06 +04:00
Driim
84322976ba Copy tracker URL to the clipboard
- code cleanup
2012-11-15 22:04:26 +04:00
Christophe Dumez
b7de633090 Belarusian translation update by Воронцов Михаил 2012-11-15 19:36:54 +02:00
Christophe Dumez
6faa227df3 Sort previewable extension in alphabetical order 2012-11-11 19:27:05 +02:00
Christophe Dumez
051341a42a Add m4v to the list of previewable file extensions (closes #216)
Also optimize the misc::isPreviewable() function.
2012-11-11 19:23:10 +02:00
Christophe Dumez
634be0012f Merge pull request #215 from sledgehammer999/create_torrent
Open stream in binary mode. Fixes issue #161
2012-11-10 09:54:33 -08:00
Christophe Dumez
5a4dee374c Merge pull request #208 from denizdogan/master
Fix typo: 'occured'
2012-11-10 09:03:34 -08:00
Christophe Dumez
f32818d811 Merge pull request #211 from Gelmir/master
Small fix for for RSS regexp, should fix #210
2012-11-10 09:02:34 -08:00
Nick Tiskov
7d49e8868c Fix 'must not contain' regexp with '|' character
Checking if we are using regexp was done in setMustContain and
setMustNotContain before m_useRegex  was even read, corrupting the
value.
Only m_mustNotContain is affected because of how
RssDownloadRule::setMustNotContain handles read string when m_useRegex
is false.
2012-11-08 23:18:51 +04:00
Deniz Dogan
bd3dd337c1 Replace 'occured' with 'occurred' everywhere, except compiled lang files. 2012-11-07 02:38:22 +01:00
Driim
d85ff9e088 Add feature: copy tracker URL 2012-11-06 23:03:19 +04:00
Dmitriy Falko
c82174de6b Merge pull request #1 from qbittorrent/master
update
2012-11-06 10:43:59 -08:00
Christophe Dumez
05330632f2 Update Norwegian translation 2012-10-17 22:15:18 +03:00
sledgehammer999
7d1e2e2b2a Open stream in binary mode. Fixes issue #161 2012-10-17 19:21:27 +03:00
Christophe Dumez
76f959599f Fixes to Italian translation 2012-10-14 09:47:53 +03:00
Christophe Dumez
66a4777413 Update language files 2012-10-08 21:35:51 +03:00
Christophe Dumez
65660004c5 Update Changelog 2012-10-08 21:34:41 +03:00
Christophe Dumez
22ed4c08f8 Merge pull request #151 from sledgehammer999/windows_startup
Add option to start qbt with Windows startup.
2012-10-08 11:32:03 -07:00
sledgehammer999
3dd7ac0549 Add option to start qbt with Windows startup. 2012-10-07 23:58:27 +03:00
Christophe Dumez
89d3678adc Update language files 2012-10-07 19:18:11 +03:00
Christophe Dumez
aeb5fa036c Update max write cache size to 2048MB and set it to automatic by default (closes #148) 2012-10-07 19:17:38 +03:00
Christophe Dumez
6cf2f942e7 Fix cookie support for RSS feeds (closes #119) 2012-10-07 17:25:17 +03:00
Christophe Dumez
8758be5912 Fix timezone parsing in RSS (closes #136) 2012-10-07 17:04:55 +03:00
Christophe Dumez
c6edf31480 Add confirmation dialog for "Force recheck" action (closes #131) 2012-10-07 16:21:11 +03:00
Christophe Dumez
c221b08982 Update language files 2012-10-07 16:09:33 +03:00
Christophe Dumez
2fc9382d7e Merge pull request #137 from dance/master
Russian translation fixes
2012-10-07 06:08:47 -07:00
Christophe Dumez
26314fae01 No longer fallback to ANY interface if the user-selected interface cannot be found (closes #143) 2012-10-07 16:04:07 +03:00
Christophe Dumez
573dac0b91 Do not store created torrent in memory before writing it to a file (closes #133) 2012-10-07 15:42:32 +03:00
Christophe Dumez
3bc85c29ae Merge pull request #145 from sledgehammer999/fix_encoding_problem
Fix command-line encoding problem on Windows (closes #139)
2012-10-06 22:55:33 -07:00
sledgehammer999
51bc6bd95a Fix encoding problem. Fixes #139 2012-10-07 01:17:22 +03:00
dance
3598235906 russian translation: some more fixes 2012-10-03 01:14:12 +04:00
dance
b651cdb4a1 russian translation: checked, fixed and nearly everything is translated now 2012-10-02 00:20:08 +04:00
Christophe Dumez
7bd9139d28 Properly recover from HTTP parsing errors (Web UI)
May be related to issue #68.
2012-09-29 14:26:52 +03:00
Christophe Dumez
32bfd8741f Fix handling of simultaneous connections in Web UI.
May be related to issue #68.
2012-09-29 14:11:07 +03:00
Christophe Dumez
51aae059e3 Fix "Skip hash check" feature in torrent import dialog (closes #128) 2012-09-29 13:59:46 +03:00
Christophe Dumez
c7f1f52f1c Add Basque locale to Web UI 2012-09-28 17:48:19 +03:00
Christophe Dumez
222e89a782 Update Basque translation 2012-09-28 17:46:11 +03:00
Christophe Dumez
1b54b4dbb7 Fix homepage link in Web UI (closes #118) 2012-09-23 19:30:53 +03:00
Christophe Dumez
f347bdeab5 Update language files 2012-09-23 15:09:36 +03:00
Dirk Neukirchen
559ac673e2 updated apache ssl-faq links 2012-09-23 15:08:55 +03:00
Christophe Dumez
806ab07865 Import new trackers from magnet link in case of duplicate torrent (closes #111) 2012-09-23 11:09:01 +03:00
Christophe Dumez
819dcacae0 Make sure new RSS download rules apply to existing articles as well, not just new ones
May be related to #116.
2012-09-23 10:25:25 +03:00
Christophe Dumez
7e57a63ec5 Disabling systray icon no longer disables file association settings (closes #114) 2012-09-22 14:00:58 +03:00
Christophe Dumez
3e294d6918 Update Italian translation 2012-09-20 20:54:32 +03:00
Christophe Dumez
a214823dcf Update Italian author 2012-09-20 20:50:43 +03:00
Christophe Dumez
5488d55ca2 Norwegian translation update 2012-09-20 20:48:31 +03:00
Christophe Dumez
459d2c5408 OS/2 fixes by Silvan Scherrer 2012-09-20 20:45:53 +03:00
Christophe Dumez
f691ce2238 Merge pull request #105 from sledgehammer999/packaging_scripts
Packaging script for Windows.
2012-09-18 13:01:49 -07:00
sledgehammer999
38f825c8c6 Updated installer script to ommit specific translations. 2012-09-18 22:57:16 +03:00
sledgehammer999
948702e98b Packaging script for Windows. 2012-09-18 22:54:43 +03:00
Christophe Dumez
4c24f5f513 Remove qt translations for locales that are not supported by qBittorrent 2012-09-18 22:52:31 +03:00
Christophe Dumez
b0972fdc94 Merge pull request #103 from sledgehammer999/translations
Update Qt translations to v4.8.3
2012-09-18 12:49:45 -07:00
sledgehammer999
7f10f04025 Added translations from Qt 4.8.3 and updated some others. 2012-09-18 21:59:01 +03:00
Christophe Dumez
eb726c42c6 Fix torrent temporary path functionality 2012-09-18 20:02:52 +03:00
Christophe Dumez
b2b959d5e3 Improve Mac packaging.
We now ship qt translations.
2012-09-16 10:37:47 +03:00
Christophe Dumez
6f693bc36e Merge pull request #98 from sledgehammer999/windows_build2
Added version info for the binary.
2012-09-15 23:06:21 -07:00
Christophe Dumez
adb82dfc2e Merge pull request #97 from sledgehammer999/windows_build
Some typo fix and library names fix.
2012-09-15 23:04:48 -07:00
sledgehammer999
aa8e4ccdef Added version info for the binary. 2012-09-16 04:17:51 +03:00
sledgehammer999
37dec0d927 Some typo fix and library names fix. 2012-09-16 04:15:57 +03:00
Christophe Dumez
847da2b106 Update Italian translation 2012-09-15 18:25:00 +03:00
Christophe Dumez
0088c67fa7 Add new Italian translator's name to about dialog 2012-09-15 18:20:12 +03:00
Christophe Dumez
312263da49 Small build fix 2012-09-15 17:47:30 +03:00
Christophe Dumez
d12c5cdf55 Address encoding issues when using search engine on Windows (closes #29) 2012-09-15 16:54:09 +03:00
Christophe Dumez
8a12382f1f Fix issue with temporary directory not being taken into consideration
Closes issue #94.
2012-09-15 15:53:33 +03:00
Christophe Dumez
64f944b571 Merge pull request #95 from sledgehammer999/update_windows_build
Updated Windows build conf files.
2012-09-15 03:44:14 -07:00
sledgehammer999
b8720b8d1c Updated Windows build conf files. 2012-09-15 12:12:10 +03:00
Christophe Dumez
83efb442ae Update language files 2012-09-15 10:06:27 +03:00
Christophe Dumez
cf3f0a606d Add Hebrew translation 2012-09-15 10:05:50 +03:00
Spencer Oliver
2508d54c10 session: always output anonymous status
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-09-13 19:04:54 +03:00
Spencer Oliver
e3c78d3a81 options: ensure ui matches options
If we set anonymous mode make sure the ui is disabled to match.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-09-13 19:03:11 +03:00
Christophe Dumez
a5a9b47ce4 Update Italian translation. 2012-09-13 18:50:11 +03:00
Christophe Dumez
d09a0f6167 "Completed On" column is not updated until restart (closes #84) 2012-09-10 21:09:22 +03:00
Christophe Dumez
c79e801929 Disable search completion (closes #89) 2012-09-10 19:43:30 +03:00
Christophe Dumez
2a5c9ae382 OS/2 Fixes from Silvan Scherrer 2012-09-06 15:40:50 +03:00
Christophe Dumez
7af964cfe6 Merge pull request #81 from veeti/fix-compile
Fix case for header inclusions
2012-09-02 21:46:19 -07:00
Veeti Paananen
e482900754 Fix case for header inclusions
Fixes building on case-sensitive filesystems.
2012-09-03 00:11:46 +03:00
Christophe Dumez
de43a0b7a1 Bypass cache when uploading a torrent file in Web UI (closes #68) 2012-09-02 21:41:11 +03:00
Christophe Dumez
cf7bc882f5 Fix possible crash due to labels (closes #64) 2012-09-01 13:51:04 +03:00
Christophe Dumez
06c8e658aa Correctly escape transfer list filter value typed by user 2012-08-28 18:36:10 +03:00
Christophe Dumez
7aa39e42c1 Fix label-based filtering of torrents whose label contains special characters 2012-08-28 18:27:33 +03:00
Christophe Dumez
ca2a659970 Made progress calculation more efficient in torrent content model
Stop to address issue #24.
2012-08-27 22:01:35 +03:00
Christophe Dumez
f73f267997 TorrentContentModel clean up 2012-08-27 21:11:54 +03:00
Christophe Dumez
d7ea394993 Great improve size calculation in torrent content model
Step to address issue #24.
2012-08-27 21:04:24 +03:00
Christophe Dumez
3f755de80b TorrentContentModel code cleanup 2012-08-26 21:33:52 +03:00
Christophe Dumez
00945e5749 Stop updating file priorities regularly in torrent content panel
Performance improvement to address issue #24.
2012-08-26 20:59:51 +03:00
Christophe Dumez
c43c362903 TorrentContentModel code clean up 2012-08-26 20:52:53 +03:00
Christophe Dumez
268dad58f6 TorrentContentModel code clean up 2012-08-26 20:43:27 +03:00
Christophe Dumez
61511201db TorrentContentModel code clean up 2012-08-26 20:35:18 +03:00
Christophe Dumez
38daa23be2 TorrentContentModel code clean up 2012-08-26 20:15:55 +03:00
Christophe Dumez
45ba858022 TorrentContentModel code clean up 2012-08-26 20:08:26 +03:00
Christophe Dumez
8ad821c468 Simplify TorrentContentModel code 2012-08-26 19:55:09 +03:00
Christophe Dumez
5fe5c4d147 Simplify TorrentContentModel code 2012-08-26 19:49:29 +03:00
Christophe Dumez
f3e465c142 TorrentContentModel: Simplify progress update code 2012-08-26 18:45:41 +03:00
Christophe Dumez
d849ac32f9 Make TorrentContentModel populating more efficient
Step to improve issue #24.
2012-08-26 18:31:16 +03:00
Christophe Dumez
e0114ebffc TorrentContentModel: Get rid of useless member 2012-08-26 18:26:06 +03:00
Christophe Dumez
0fdacf4d54 Use polymorphism to distinguish folder / file items in torrent content model
Step to address issue #24.
2012-08-26 18:10:32 +03:00
Christophe Dumez
30be83d445 Optimizations to TorrentContentModel
First step to address issue #24.
2012-08-26 15:00:37 +03:00
Christophe Dumez
e9d075049b Add "clear" functionality to search field (closes #59) 2012-08-26 10:12:30 +03:00
Christophe Dumez
c7c627015d Fix encoding problem for detected XDG Download folder (closes #53)
Only affects Linux.
2012-08-25 16:53:02 +03:00
Christophe Dumez
d62554aaba Minor code clean up 2012-08-25 16:34:00 +03:00
Christophe Dumez
d2a6887248 Fix crash when a fastresume file is empty (closes #52) 2012-08-24 19:19:54 +03:00
Christophe Dumez
879f8f080d Attempt to use qBittorrent icon from theme if available (closes #49) 2012-08-23 21:22:15 +03:00
Christophe Dumez
10f147ff40 Update Changelog 2012-08-21 20:13:00 +03:00
Driim
23ea811095 Add setting to copy .torrent files for finished downloads (closes issue #22)
Patch edited by Christophe Dumez.
2012-08-21 20:10:53 +03:00
Christophe Dumez
dac0d67717 Fixes to Web UI shutdown command 2012-08-21 18:50:09 +03:00
Christophe Dumez
399d957142 Make uTP rate limited by default 2012-08-21 17:49:23 +03:00
Christophe Dumez
368ae43849 Web UI shutdown fix. 2012-08-20 17:50:41 +03:00
Christophe Dumez
669d5a12a2 Fixes to Web UI shutdown button 2012-08-19 22:15:44 +03:00
Christophe Dumez
0fe09aa088 Merge pull request #40 from ngaro/master
Add shutdown button to the Web UI
2012-08-19 11:57:28 -07:00
Nikolas Garofil
6711c58ff1 Remove icon (ugly), fix localization 2012-08-19 20:43:15 +02:00
Nikolas Garofil
2b02ec3a4e Shutdownbutton in webui 2012-08-19 19:25:21 +02:00
Christophe Dumez
e664047c5a RSS code clean up 2012-08-19 17:36:03 +03:00
Christophe Dumez
d7c36c9c3c RSS code clean up 2012-08-19 17:22:30 +03:00
Christophe Dumez
82fbb351dd RSS code clean up 2012-08-19 17:01:35 +03:00
Christophe Dumez
726c5c5f7f Update Changelog 2012-08-19 16:10:15 +03:00
Christophe Dumez
99089356f5 Merge pull request #35 from ngaro/master
Enables the -nox version to optionally run in the background
2012-08-19 06:05:33 -07:00
Christophe Dumez
fd2ba6f635 RSS code clean up 2012-08-19 15:48:28 +03:00
Christophe Dumez
0d1f9fcc58 RSS code clean up 2012-08-19 15:12:08 +03:00
Christophe Dumez
a70e565edb RSS code clean up 2012-08-19 15:00:07 +03:00
Christophe Dumez
0efcdbaf52 RSS code clean up 2012-08-19 14:55:30 +03:00
Christophe Dumez
12e24ade70 Remove outdated function definition 2012-08-19 14:36:04 +03:00
Christophe Dumez
7b659add36 Update Arabic translation 2012-08-19 11:51:17 +03:00
Christophe Dumez
d1e30cacf8 Keep RSS articles sorted by date in memory do avoid sorting them all the time
Optimization to address issue #34.
2012-08-19 11:46:50 +03:00
Christophe Dumez
aecdc57cd4 RSS: Cache number of unread articles in a feed instead of computing it every time.
Optimization to address issue #34.
2012-08-18 22:25:21 +03:00
Christophe Dumez
58bc10fc47 Do not override RSS feed title if the user renamed it 2012-08-18 21:30:15 +03:00
Christophe Dumez
ad7c9ace50 Do not save RSS feed to disk unless it has changed.
Stop to address issue #34.
2012-08-18 21:26:22 +03:00
Nikolas Garofil
b897708a41 forgot to change the string 2012-08-18 18:34:36 +02:00
Nikolas Garofil
d1060ac5f3 Completed previous commit
Added some suggestions for the previous commit from Christophe Dumez
and made sure the argument directly after -d is looked at.
2012-08-18 18:11:27 +02:00
Nikolas Garofil
b8e5cc01c1 shouldDaemonize en qcritical 2012-08-18 18:03:03 +02:00
Christophe Dumez
a26723a57a RSS: parse lastBuildDate tag and abort parsing if the feed has not changed since last time.
Optimization to address issue #34.
2012-08-18 18:43:20 +03:00
Nikolas Garofil
1811ec6cab Optional daemon-mode for qbittorrent-nox 2012-08-18 17:33:51 +02:00
Christophe Dumez
c50c9239ea Move RSS parsing to another thread to avoid freezing the UI
RSS items are now displayed as soon as they have been parsed
instead of displaying all of them in one batch once the whole
feed is parsed.

First step to address issue #34.
2012-08-18 18:06:29 +03:00
Christophe Dumez
820d94e014 Fix wiki link for "Anonymous Mode" feature (#25) 2012-08-14 20:57:40 +03:00
Christophe Dumez
c03f2bffce Update URL for search plugins updater (closes #25) 2012-08-14 20:42:52 +03:00
Christophe Dumez
9c61acc95d Fix crash when using unauthorized characters in label names (closes #19) 2012-08-12 17:57:17 +03:00
Christophe Dumez
e62abdd651 Remove unused function 2012-08-12 10:13:26 +03:00
Christophe Dumez
75cf25de62 Remember queue position for torrents without metadata (closes #17) 2012-08-12 09:56:36 +03:00
Christophe Dumez
6a8f09f9ee Fixes to Italian translation 2012-08-10 21:26:53 +03:00
Christophe Dumez
7340f1dc26 Update language files 2012-08-10 14:24:49 +03:00
Christophe Dumez
a78cc700c0 Merge pull request #12 from Simo91/patch-1
Update src/lang/qbittorrent_it.ts
2012-08-10 04:21:04 -07:00
Christophe Dumez
41d4096890 Bump version to 3.1.0alpha 2012-08-10 11:24:02 +03:00
Christophe Dumez
8104c41332 Fix possible crash when adding a tracker to a magnet torrent without metadata (Closes #1034254) 2012-08-10 11:21:03 +03:00
Christophe Dumez
81b0a7f785 Handle exceptions in readAlerts() 2012-08-10 11:20:55 +03:00
Simone
7f0875cda7 Update src/lang/qbittorrent_it.ts 2012-07-26 23:48:59 +03:00
1778 changed files with 541376 additions and 223365 deletions

58
.appveyor.yml Normal file
View File

@@ -0,0 +1,58 @@
version: '{branch}-{build}'
# Do not build on tags (GitHub only)
skip_tags: true
image: Visual Studio 2017
branches:
except: # blacklist
- coverity_scan
environment:
REPO_DIR: &REPO_DIR c:\qbittorrent
CACHE_DIR: &CACHE_DIR c:\qbt_cache
QBT_VER_URL: https://builds.shiki.hu/appveyor/version
QBT_LIB_URL: https://builds.shiki.hu/appveyor/qbt_libraries.7z
# project directory
clone_folder: *REPO_DIR
# cache size should < 100MB (after compressing with fastest option):
# see: https://www.appveyor.com/docs/build-cache#save-update-cache-before-build-finishes
cache:
- *CACHE_DIR
clone_depth: 50
install:
# check if library needs update
- appveyor DownloadFile "%QBT_VER_URL%" -FileName "c:\version_new" && SET /P newVersion=<"c:\version_new"
- IF EXIST "%CACHE_DIR%\version" (SET /P oldVersion=<"%CACHE_DIR%\version")
- IF NOT EXIST "%CACHE_DIR%\version" (SET updateCache=1)
- IF NOT "%oldVersion%" == "%newVersion%" (SET updateCache=1)
# update library
- IF "%updateCache%" == "1" (ECHO "--- Will redownload libraries ---" &&
RMDIR /S /Q "%CACHE_DIR%" & MKDIR "%CACHE_DIR%" &&
appveyor DownloadFile "%QBT_LIB_URL%" -FileName "c:\qbt_lib.7z" && 7z x "c:\qbt_lib.7z" -o"%CACHE_DIR%" > nul &&
COPY "c:\version_new" "%CACHE_DIR%\version")
# Qt stay compressed in cache
- 7z x "%CACHE_DIR%\qt5_32.7z" -o"c:\qbt" > nul
before_build:
# setup env
- CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
- SET PATH=%PATH%;c:\qbt\qt5_32\bin;%CACHE_DIR%\jom;
# setup project
- COPY /Y "%CACHE_DIR%\winconf.pri" "%REPO_DIR%"
- COPY /Y "%CACHE_DIR%\winconf-msvc.pri" "%REPO_DIR%"
# workarounds
- MKLINK /J "c:\qbt\base" "%CACHE_DIR%\base"
build_script:
- cd "%REPO_DIR%"
- qmake qbittorrent.pro && cd src && qmake src.pro
- jom -j2 -f Makefile.Release
test: off

12
.editorconfig Normal file
View File

@@ -0,0 +1,12 @@
# EditorConfig is awesome: http://EditorConfig.org
root = true
[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[**.yml]
indent_size = 2

7
.gitattributes vendored Normal file
View File

@@ -0,0 +1,7 @@
core.eol=lf
* text eol=lf
*.zip binary
*.png binary
*.ico binary
*.qm binary
*.icns binary

14
.github/ISSUE_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,14 @@
**Please provide the following information**
### qBittorrent version and Operating System:
### If on linux, libtorrent and Qt version:
### What is the problem:
### What is the expected behavior:
### Steps to reproduce:
### Extra info(if any):

28
.gitignore vendored
View File

@@ -1,14 +1,36 @@
src/geoip/GeoIP.dat
src/gui/geoip/GeoIP.dat
src/gui/geoip/GeoIP.dat.gz
src/qbittorrent
qbittorrent.pro.user
src/qbittorrent-nox
src/release
src/debug
qbittorrent.pro.user*
conf.pri
Makefile
Makefile*
*.pyc
*.log
# Compiled object files
*.o
*.pdb
*.exe
# Generated MOC, resource and UI files
moc_*.cpp
moc_*.h
qrc_*.cpp
ui_*.h
*.moc
src/lang/qbittorrent_*.qm
.DS_Store
.qmake.stash
src/qbittorrent.app
*.dmg
#Autotools junk
aclocal.m4
autom4te.cache/*
config.status
src/icons/qbt-theme/build-icons/node_modules/
src/icons/skin/build-icons/node_modules/
src/icons/skin/build-icons/icons/*.png

196
.travis.yml Normal file
View File

@@ -0,0 +1,196 @@
language: cpp
os:
- linux
- osx
osx_image: xcode7.3
env:
matrix:
# Uncomment when Travis upgraded "Ubuntu 12.04 LTS" to a newer version whose repo will have a more up-to-date libtorrent package
#- lt_branch=dist gui=true
#- lt_branch=dist gui=false
- lt_branch=RC_1_0 gui=true build_system=cmake
- lt_branch=RC_1_0 gui=false build_system=cmake
- lt_branch=RC_1_0 gui=true build_system=qmake
- lt_branch=RC_1_0 gui=false build_system=qmake
global:
- secure: "OI9CUjj4lTb0HwwIZU5PbECU3hLlAL6KC8KsbwohG8/O3j5fLcnmDsK4Ad9us5cC39sS11Jcd1kDP2qRcCuST/glVNhLkcjKkiQerOfd5nQ/qL4JYfz/1mfP5mdpz9jHKzpLUIG+TXkbSTjP6VVmsb5KPT+3pKEdRFZB+Pu9+J8="
- coverity_branch: coverity_scan
matrix:
allow_failures:
- env: lt_branch=RC_1_0 gui=true build_system=cmake
- env: lt_branch=RC_1_0 gui=false build_system=cmake
branches:
except:
- search_encoding_windows
- v2_9_x
notifications:
email:
on_success: change
on_failure: change
cache:
ccache: true
directories:
- $HOME/hombebrew_cache
# opt-in Ubuntu Trusty
dist: trusty
# container-based builds
sudo: false
addons:
coverity_scan:
project:
name: "qbittorrent/qBittorrent"
description: "Build submitted via Travis CI"
build_command_prepend: "./bootstrap.sh && ./configure $qbtconf"
build_command: make
branch_pattern: $coverity_branch
notification_email: sledgehammer999@qbittorrent.org
apt:
sources:
# sources list: https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
- ubuntu-toolchain-r-test
#- boost-latest
- sourceline: 'ppa:qbittorrent-team/qbittorrent-stable'
- sourceline: 'ppa:beineri/opt-qt551-trusty'
- sourceline: 'ppa:adrozdoff/cmake'
packages:
# packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
- [autoconf, automake, colormake]
- [cmake, ninja-build]
- libssl-dev
- [libboost-dev, libboost-system-dev]
- libtorrent-rasterbar-dev
- [qt55base, qt55svg, qt55tools]
- [gcc-6, g++-6]
before_install:
# only allow specific build for coverity scan, others will stop
- if [ "$TRAVIS_BRANCH" = "$coverity_branch" ] && ! [ "$TRAVIS_OS_NAME" = "linux" -a "$lt_branch" = "RC_1_0" -a "$gui" = true -a "$build_system" = "qmake" ]; then exit ; fi
- shopt -s expand_aliases
- alias make="colormake -j3" # Using nprocs/2 sometimes may fail (gcc is killed by system)
#- libt_path="$HOME/libt_install"
#- ltconf="$ltconf --prefix="$libt_path" --disable-geoip"
- qbt_path="$HOME/qbt_install"
- qbtconf="$qbtconf --prefix="$qbt_path" PKG_CONFIG_PATH="$libt_path/lib/pkgconfig":/opt/qt55/lib/pkgconfig:$PKG_CONFIG_PATH"
# options for specific branches
- if [ "$gui" = false ]; then qbtconf="$qbtconf --disable-gui" ; fi
- |
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
# setup virtual display for after_success target
if [ "$gui" = true ]; then export "DISPLAY=:99.0" && /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 ; fi ;
# Qt 5
PATH=/opt/qt55/bin:${PATH}
if [ "$build_system" = "cmake" ]; then
COMPILER_VERSION=6
export CXX="${CXX}-${COMPILER_VERSION}" CC="${CC}-${COMPILER_VERSION}"
fi
fi
# print settings
- echo $lt_branch
- echo $gui
- echo $build_system
- echo $ltconf
- echo $qbtconf
install:
#- |
#if [ "$TRAVIS_OS_NAME" = "linux" ]; then
# build libtorrent from source
#if [ "$lt_branch" != "dist" ]; then
#cd "$HOME" && pwd && git clone --depth 1 https://github.com/arvidn/libtorrent.git --branch $lt_branch
#cd libtorrent && ./autotool.sh && ./configure $ltconf && make install
#fi
#fi
- |
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
# dependencies
brew update > /dev/null
brew outdated "pkg-config" || brew upgrade "pkg-config"
brew install colormake ccache zlib qt
PATH="/usr/local/opt/ccache/libexec:$PATH"
brew link --force zlib qt
wget https://builds.shiki.hu/homebrew/version
if ! cmp --quiet "version" "$HOME/hombebrew_cache/version" ; then
echo "Cached files are different from server. Downloading new ones."
# First delete old files
rm -r "$HOME/hombebrew_cache"
mkdir "$HOME/hombebrew_cache"
cp "version" $HOME/hombebrew_cache
cd "$HOME/hombebrew_cache"
wget https://builds.shiki.hu/homebrew/libtorrent-rasterbar.rb
wget https://builds.shiki.hu/homebrew/libtorrent-rasterbar-1.0.11+git20170910.6d5625e0ea.el_capitan.bottle.tar.gz
fi
# Copy custom libtorrent bottle to homebrew's cache so it can find and install it
# Also install our custom libtorrent formula by passing the local path to it
# These 2 files are restored from Travis' cache.
cp "$HOME/hombebrew_cache/libtorrent-rasterbar-1.0.11+git20170910.6d5625e0ea.el_capitan.bottle.tar.gz" "$(brew --cache)"
brew install "$HOME/hombebrew_cache/libtorrent-rasterbar.rb"
if [ "$build_system" = "cmake" ]; then
brew outdated cmake || brew upgrade cmake
brew install ninja
ln -s /usr/local/opt/qt/mkspecs /usr/local/mkspecs
ln -s /usr/local/opt/qt/plugins /usr/local/plugins
fi
MY_CMAKE_OPENSSL_HINT="-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/"
fi
- |
if [ "$TRAVIS_BRANCH" != "$coverity_branch" ]; then
export use_ccache=true
ccache -V && ccache --show-stats && ccache --zero-stats
fi
script:
- if [ "$TRAVIS_BRANCH" = "$coverity_branch" ]; then exit ; fi # skip usual build when running coverity scan
- |
cd "$TRAVIS_BUILD_DIR"
if [ "$build_system" = "cmake" ]; then
mkdir build
cd build
cmake -DGUI=${gui} -DCMAKE_INSTALL_PREFIX="$qbt_path" "$MY_CMAKE_OPENSSL_HINT" \
-G "Ninja" -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE ..
BUILD_TOOL="ninja"
fi
if [ "$build_system" = "qmake" ]; then
./bootstrap.sh && ./configure $qbtconf
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
sed -i "" -e "s/^\(CC.*&&\).*$/\1 $CC/" src/Makefile # workaround for Qt & ccache: https://bugreports.qt.io/browse/QTBUG-31034
sed -i "" -e "s/^\(CXX.*&&\).*$/\1 $CXX/" src/Makefile
sed -i "" -e 's/^\(CXXFLAGS.*\)$/\1 -Wno-unused-local-typedefs -Wno-inconsistent-missing-override/' src/Makefile
fi
BUILD_TOOL="make"
fi
- $BUILD_TOOL && $BUILD_TOOL install
after_success:
- if [ "$gui" = true ]; then qbt_exe="qbittorrent" ; else qbt_exe="qbittorrent-nox" ; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd "$qbt_path/bin" ; fi
- |
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ "$build_system" = "qmake" ]; then
macdeployqt "$TRAVIS_BUILD_DIR/src/$qbt_exe.app"
cd "$TRAVIS_BUILD_DIR/src/$qbt_exe.app/Contents/MacOS"
else
cd "$qbt_path/$qbt_exe.app/Contents/MacOS"
fi
fi
- ./$qbt_exe --version
after_script:
- if [ "$use_ccache" = true ]; then ccache --show-stats ; fi

19
.tx/config Normal file
View File

@@ -0,0 +1,19 @@
[main]
host = https://www.transifex.com
[qbittorrent.qbittorrent_master]
file_filter = src/lang/qbittorrent_<lang>.ts
lang_map = pt: pt_PT
source_file = src/lang/qbittorrent_en.ts
source_lang = en
type = QT
minimum_perc = 23
mode = developer
[qbittorrent.qbittorrentdesktop_master]
source_file = src/icons/qBittorrent.desktop
source_lang = en
type = DESKTOP
minimum_perc = 23
mode = developer

92
5B7CC9A2.asc Normal file
View File

@@ -0,0 +1,92 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQINBFcNIIwBEACpGHvHW9ku7rwCSc2Dv4gh3MO3HPoP7Ba4RiEKwa7SCbPzc0DL
JypV4gNfnrpiO7bWVh5v+otbZTkQeNXWbx6hDUa2e5GCCuJifIu3PxpmMcNJFvvF
nk5QRf6dtz4Sm2x6joYprvsEUjyk+wHC016/0g7yhc/w0sclXlpKK+8Pl5DFrf5C
i5uljy3oJgl54D2yYAvxu3BrdTVKhLVYADUf1Fl3b5pV7VJwr+9wGuTqkORe1rpi
9NGWXUaTmKF8+XAJxlbYIUOZQpQ02clFxz0T7o/+m74N8tK9j7g8H2Q3QwtKi0q1
gI48LqI/EuZHIaRz/3pEVISlIpWzGqBL/G4I/UtzJLHyvySsqWXAKllKpk97XX77
XxFy3VL3fR7o4IohAj5fD083X8tuBIP2dxmHzxHTWveKBlEV6C4MdtVRow8ia3lu
RKLz6PF0hBBpebAP4MWAN8cy4ePBCe9BvyI2+3tPgqtlC2tEZLnRru6mtagPi4sj
Yo/iFkSQdTXrxeyrMJh161gsWl16JeAfz4Dq8IBoUA1hXIjfM9FcIv1rCY6Y8JwS
TtWMGYtzIcqE71wZxqnJuyFZkgC14NDTLgUwLf8XJOTWlMW9CY+tStjjw+sNoIPf
p7YQCmss4p5J8flnxH4xJ8ogOHxENidA+Z/J9mtGjxXIXHavPlO3IEg/DwARAQAB
tHFzbGVkZ2VoYW1tZXI5OTkgKFVzZWQgZm9yIHNpZ25pbmcgcUJpdHRvcnJlbnQg
c291cmNlIHRhcmJhbGxzIGFuZCBiaW5hcmllcyB2Mi4pIDxzbGVkZ2VoYW1tZXI5
OTlAcWJpdHRvcnJlbnQub3JnPokCNwQTAQgAIQUCVw0gjAIbAwULCQgHAgYVCAkK
CwIEFgIDAQIeAQIXgAAKCRBuSi0CW3zJojB2D/0bKlelRDQDtWzfRyxrdhe5pgAt
x1AsN/Cl7h8zlbAw38bL+jQ2/GmtzwzEqPfQc7IFnbeg0PZ58p7Hikj9h6JEhkyA
1qekkriclUmblEwDne3TjPixqgoBfNcDQu74dT08XpM8auFQo31/jJ104903o0O5
+CPOPn2KTdwpcSpwAVIj/3H96gZWegJDNpdByJUVbzYCt1erJ6I0ZURKhzU1VTJj
ZdEGB2YsvYpt5rsi41IYZZG33jMsPxSDDNJ/MiLXxkn08ZawNET6fnkEJJ37n9Pw
82lTZjFEFU+KTMT7dNjIejWCRgHVLgW8sO2lCPqMiFfWymD/N3sFpBO+UI86y5ds
hfGFAWcgSq9pVjuW4sbX3PntBnoNd+geDD1Ic4rP3jHRe5HuYGhtHO6xv/r7HeY5
HiShCTSSDBJqFmhfjrCo0nISKnzyxgO/rY9vFlwXsKkTyL7s53ONkjwK34WmGnya
tXdjBWShzAiTfF5hephfBSszmoBG2C8Jcu6P5n4buBY4RCsEa+6jE0R1vCtmpVwx
WrXOeN2kGYMpAkPK1L69Le0FofgUDKlaFMv7KRl4R367xNRukYrsKwVlontJ+Y72
X5t1BeRn8VSp0IzhssNXM8a4bTE8lvs889DOS2vgWEHIi0iyIesJYWPs4AKUw4rG
EDwWxtTS0a7Rfx3DxLRWc2xlZGdlaGFtbWVyOTk5IChVc2VkIGZvciBzaWduaW5n
IGdpdCBjb21taXRzL3RhZ3MvZXRjLikgPGhhbW1lcmVkOTk5QHFiaXR0b3JyZW50
Lm9yZz6JAh8EMAEIAAkFAlhie1ICHQAACgkQbkotAlt8yaILIhAAp25o1BbUG2Zk
At3cSrTFnZSCA7nEygbSUv1Uek33JZfY0Apw5qEM8lQCMZk+mhdrSQCYUJcQlruN
zJcJf4CH+VGE23xkI3Kf0nGp9Cjn/q6b1hLIPe5rimvw5pTAejFtebcYY/ZJIB8Z
H1ebuzfqBZ/9k7eYTarZ/ZsgG8YptB0RXBQWOMaSEKwdeo2m7HXHgK3blQiqbuJJ
uyPbid01Wus4AVN47/FKgDNswPs8irYZsu5yakgpi2KLycGDtSiN5XFHI4xbC0zM
srR7Cz0/fC+klhGcuxbw0V0It7UUIitgCcTPHXkukUU8i2+AGMyKa1HjchsXDdLg
DIs6KIurp2ve7znKOz7h1aX8cOBmB/QYeYAx9jRRkePMIRT8V1lRwfvJlJxx1+G3
e2gJLjqTN8a08KHHjdY/S0ZFERxSlmOym2uf/y6di1ipDPxo8xvDuS5kDbdZLC0t
XijlsH8ONK27KNuWhucG8zHzKQvnPw2qN06SZq4FjbSmAkkuYs56heLEXMzFr75k
SE8rUoQQ+ABG9gU46GEvKlZxqSwXgGnb1X6K7h8svjMh/NlAU358p8Sra4Ru5tz4
jUu9MoVEw5Lbjcrsnp6/4Kk1Q2ckBNt43nv8/+C7NsC3xi6BrOInuaKHZ4QsTuzJ
m1/A4zlKRnUi6T98DXfIYnNuV9NSmAWJAjkEEwEIACMFAlhiemMCGwMHCwkIBwMC
AQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBuSi0CW3zJor6yD/9N2U0INx0nYpGkmvah
yVG/vw2S6hhKK+03AN+RrtddNRg4aBf/gmOvRWQhAmFnXOBA7fO09wgcljaV5tVb
MYyYZvHhK0o2/sli2p/M5N8ZxchRHypjxUSEyG9ZQ06QG5DVhh4HtM8nIN+UcwTV
C5QjyoWZvHf+tNroyFeh7zT+w4kX1VxgynTQr5LGdYsrVA3CFyT3zsBWV3dMae23
22CHOirsBBLwairHUsWW+BdThT3MkKYpTEV0jkH4OyAXhJYcS5IjjtKQ8UpZE9dw
f4saJ0TnXNe7goPRZtH7UjPwfVbtYK4y8QklWUTRxgoBxNwSC5X7Flg+3xXxE/VU
U4cehyRkH64i7MJDoFkqh5JtjkgIz+kuTTXb7xR0Wf+JXrGMybZTR8xth2TEMC20
1FT5L5+0vH1WRzL7bhlaU3EXyCnoH8sDvMEClZbibbew+rf7fC3tFU41ohUT0HDl
zlyfVjRvBHWMTgfpWKBV2m/qP941xTJ9VHxOlAB02XKUZYwFt07CpH+yjMOCOzA4
cTPBD3mGRuft0V0BJ8bA5bcTly/GBciRX0Y5oIeHZGgq2czb0sywSYT6mPoQMFNM
B+Cwr4pm90r1DMMfW518onF2itwyN/Id0FsWDhsLJHKluBJw52C3OnxCuToVutTm
xntqpPVv62LaeVeWQqxIieTJErRQc2xlZGdlaGFtbWVyXzk5OSAoVXNlZCBmb3Ig
c2lnbmluZyBnaXQgY29tbWl0cy90YWdzL2V0YykgPGhhbW1lcmVkOTk5QGdtYWls
LmNvbT6JAjkEEwEIACMFAlhifeICGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIX
gAAKCRBuSi0CW3zJolcCD/9xPBNEkFtnhTW89th0TFZnB5oykCQjyefquvQs8KWT
C92/1VizHi4ZxDehHWP9IKVWT3ZJthj5ZXBSedyl1tHnwkyrUYBW9roQwtDWPncK
pXl/HsE6p3q6EIus+g6YJo4UvYachJFAZATZp1WDBPIswziHGzaL0tndFWZuVM8V
QD0tfPQsS1qCDVv6+B1JWZDnA1JzdSG/uzPhL95q/ff6JmNbfSAVedK2PyqYshnC
KWBx6Yna/0ColBuDFho8+bDuHPQcM35xyjPosVD7moXQiY4yMAJ+VzwEBaCFleI0
RBWw8/+qyoFqfIKwdq8G+7I9LjWpBiN2+uQBZ+OAvsMWyRShLopxt3JluPTtL6xb
Ca6dglOdlaOS/A6FK7u05k/8kQMDS5Jq2/rpfTPRl1/weCaJZgfRIBosk1Mon/pR
p1zd0abM4t7BcGQpwSkKAmqlKCrWf886EFQT0CJTBo8q7pzgpVraWWPVsmAOdkfU
YcKBgz1A2uMSAxypkSzaDZkIVj6I7gwiGk7IMYx1OK7Ev46h/x4Z7kgT0y3DYYOq
ggVEKQ+15Krn7bZ35s8vbZdfnVKPSXdCC8jkIMBmGmRX6cgZZ3OXZlrrHht5icgJ
5Z2d1M4JUoEZVUr2xNZkkaMk01NAIpGgKvIS6yHuj6vE4GMJ+A/qEW6J60/3YHRe
0bkCDQRXDSCMARAAqMIVJizEJp205c546IN75xeYiFszNXcs3768IY8bOoWj+rTw
t2wIwtL/3O5K2dG79CSt2H5o6BPKmq43tOO60YW3Yk3m9BB/gnAVqk0QOPr5O8+y
eBzdElU8CZh6y6zZMWugSkNmTDm6jZzPhgNjcjrit/dl9+0DGqJQcqoD8WzEWNcW
rMHVz9cDewnLSVkwR758mZMaIiL7R10MZ++tNrC0j69UINqx+9z1r1J07+NNnxqS
TxVRcbjPYtM9E+tUiVFS2HPWN9ShVDkBAEdoWh90qzRaMiFl2NGNGOD1iHx/xr06
RMeGEEXt2vhSlhfMW2YQW+UD2jzlFbARf53v39MUKKscGuIpBhxGw3JCq4l6qLW/
bDkgnoXlOhZDmhQm6OpsjAyk9IEdd3ponSc7yYD3mUkJKR9eTaALD5t6TQGyNHak
b4UfoXtE2RR78cbPlLIwag7eQ8GsNA+dfjowmOZdojx3ROsHZdGQwb0YFLjuKAus
A3TY+lCfbS6kzE2iI2DuaW+3dICcLrYuibbVb0CBNHyD+8KEtczdur/wm0lhqyVJ
kGyZKZT8C2cPxywKgy1Rn6F8Yfmj0Lna3nvtaZu0ZUS4/8Lit5PcOso1lSmYBuD6
yq+GEAMCnUmn1Pm8eZRMlxxQuTPvyJKQrRDhbtAAr472MSnoJKlS4SfaUF0AEQEA
AYkCHwQYAQgACQUCVw0gjAIbDAAKCRBuSi0CW3zJomZDD/9IJmzd5hiEzntlp84p
yIJcfyIRe4KImvldAy6T02OSIbF1HzCNnwmqIPob6MOdMZ+KNwMK0htRkrRr/zM0
34+lBiWKZt+tVYHu49ioTYXEjAc5qDJE09Sq7HceQnhgE48f1n54XGT5G2w5gw+/
a8Qn1SceE44VwXafL3E1gKaOrrsb1UH/AJhp+W4VMu+7bLXu7h1tN6v2PhvCYvBt
3zyy8Q8xfJ2x7/D1lbF8ATJAiZ/km9x5bRm7OGRliVYaUe1nyR42fZOj3CBmAR0+
lZLgjriqdMXrs+qlBbrmAhkn0XPQXAeaPifKoKIGDAUWIsqDHqM7imMGT+MR9APf
Sw8M4enOJWL+HnKpVBEARCEDpaFpJ3u7QRucFybpEhvIymoNftyw+urId2Eg2K33
NypeZo3M1K2LC65f2Ta7f/sZcIDUTbgW+m334fgVl1KptDA5DX3U9lTci7mi4uPu
AFtbWrB1di4jYrxXYuzFm5g4xTb0Hw3kYIB6WXF+I7i0JaGOTHxPC5X5lIAZrYrk
xh+1n1Y1CY+TC8JcTzwORJIbFFm9tD/BHXa4849k4DVvFYCZkhq+/56FKZfoVByh
B+x+2GaMlsBm1uPniO4lAakFPpIi0kaap4UVayQ/7ak+BhscAIHZUy6NtgZkuvW3
xdpwp07LYo2ilhMI8RnzmtoRmg==
=UBeB
-----END PGP PUBLIC KEY BLOCK-----

77
AUTHORS
View File

@@ -1,4 +1,7 @@
Author:
Current maintainer:
* Sledgehammer999 <sledgehammer999@qbittorrent.org>
Original author:
* Christophe Dumez <chris@qbittorrent.org>
Contributors:
@@ -11,9 +14,10 @@ Contributors:
* Grigis Gaëtan <cipher16@gmail.com>
* Christian Kandeler <zambesi@users.sourceforge.net>
* Silvan Scherrer <silvan.scherrer@aroa.ch>
* Nick Tiskov <daymansmail@gmail.com>
Code from other projects:
* files src/qtsingleapp/* src/lineedit/*
* files src/qtsingleapplication/* src/lineedit/*
copyright: Nokia Corporation
license: LGPL
@@ -25,8 +29,20 @@ Code from other projects:
copyright: Dan Haim <negativeiq@users.sourceforge.net>
license: BSD
* file src/stacktrace_win.h
copyright: Quassel Project
license: GPLv2/3
Images Authors:
* files: src/Icons/*.png
* files: src/icons/skin/qbittorrent-tray.svg (and related pngs)
copyright: Provided by HVS <hvs linuxmail org> (raster first proposal) and Atif Afzal(@atfzl github) <atif5801@gmail.com> (vectorized and modified)
license: GPLv2+
* files: src/qbittorrent_file.ico src/icons/fileicon.svg
copyright: 'uknown.svg' (LGPLv3+) from Oxygen Icon Theme was used as base which was slightly modified and 'qbittorrent-tray.svg' (GPLv2+) was overlayed above it.
license: GPLv3+
* files: src/icons/*.png
copyright: Gnome Icon Theme
license: GPLv2
url: http://ftp.acc.umu.se/pub/GNOME/sources/gnome-icon-theme
@@ -36,21 +52,21 @@ Images Authors:
license: LGPL
url: http://www.oxygen-icons.org
* files: src/Icons/flags/*.png
copyright: Mark James <mjames@gmail.com>
license: Public Domain
url: http://www.famfamfam.com
* files: src/icons/flags/*.svg
copyright: lipis/flag-icon-css
license: MIT
url: https://github.com/lipis/flag-icon-css/
* files: src/Icons/skin/*.png
* files: src/icons/skin/*.png
files: src/menuicons/YYxYY/*.png
copyright: Mateusz Tobola <tobejodok@qbittorrent.org>
license: GPLv2
* file: src/Icons/skin/tabs.gif
* file: src/icons/skin/tabs.gif
copyright: Greg Houston <gregory.houston@gmail.com>
license: MIT
* file: src/Icons/skin/qbittorrent_mono*
* file: src/icons/skin/qbittorrent_mono*
copyright: Daniel Eguren <deguren@gmail.com>
license: LGPL
@@ -69,43 +85,56 @@ Images Authors:
* file: src/search_engine/engines/torrentreactor.png
copyright: Downloaded from torrentreactor.net
* file: src/icons/oxygen/checked.png
copyright: Victor Buinsky <allok.victor@gmail.com>
* file: src/icons/skin/ratio.png
copyright: Fatcow Web Hosting
license: Creative Commons Attribution 3.0 License
url: http://www.fatcow.com/free-icons
Translations authors:
* files: src/lang/*.ts
* file: src/icons/qBittorrent.desktop
copyright:
- Arabic: SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com)
- Arabic: SDERAWI (abz8868@msn.com), sn51234 (nesseyan@gmail.com) and Ibrahim Saed ibraheem_alex(Transifex)
- Armenian: Hrant Ohanyan (hrantohanyan@mail.am)
- Basque: Xabier Aramendi (azpidatziak@gmail.com)
- Belarusian: Mihas Varantsou (meequz@gmail.com)
- Brazilian: Nick Marinho (nickmarinho@gmail.com)
- Bulgarian: Tsvetan & Boyko Bankoff (emerge_life@users.sourceforge.net)
- Catalan: Francisco Luque Contreras (frannoe@ya.com)
- Chinese (Simplified): Guo Yue (yue.guo0418@gmail.com)
- Chinese (Traditional): Yi-Shun Wang (dnextstep@gmail.com)
- Chinese (Traditional): Yi-Shun Wang (dnextstep@gmail.com) and 冥王歐西里斯 s8321414(Transifex)
- Croatian: Oliver Mucafir (oliver.untwist@gmail.com)
- Czech: Jirka Vilim (web@tets.cz)
- Czech: Jirka Vilim (web@tets.cz) and Petr Cernobila abr(Transifex)
- Danish: Mathias Nielsen (comoneo@gmail.com)
- Dutch: Pieter Heyvaert (pieter_heyvaert@hotmail.com)
- English: Christophe Dumez (chris@qbittorrent.org)
- Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net)
- English(Australia): Robert Readman readmanr(Transifex)
- English(United Kingdom): Robert Readman readmanr(Transifex)
- Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net), Pekka Niemi (pekka.niemi@iki.fi) and Jiri Grönroos artnay(Transifex)
- French: Christophe Dumez (chris@qbittorrent.org)
- Galician: Marcos Lans (marcoslansgarza@gmail.com)
- Galician: Marcos Lans (marcoslansgarza@gmail.com) and antiparvos(Transifex)
- Georgian: Beqa Arabuli (arabulibeqa@yahoo.com)
- German: Niels Hoffmann (zentralmaschine@users.sourceforge.net)
- Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net) and Stephanos Antaris (santaris@csd.auth.gr)
- Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net), Stephanos Antaris (santaris@csd.auth.gr), sledgehammer999(hammered999@gmail.com) and Γιάννης Ανθυμίδης Evropi(Transifex)
- Hebrew: David Deutsch (d.deffo@gmail.com)
- Hungarian: Majoros Péter (majoros.j.p@t-online.hu)
- Italian: Matteo Sechi (bu17714@gmail.com)
- Italian: bovirus (bovirus@live.it) and Matteo Sechi (bu17714@gmail.com)
- Japanese: Masato Hashimoto (cabezon.hashimoto@gmail.com)
- Korean: Jin Woo Sin (jin828sin@users.sourceforge.net)
- Lithuanian: Naglis Jonaitis (njonaitis@gmail.com)
- Norwegian: Tomaso
- Polish: Mariusz Fik (fisiu@opensuse.org)
- Portuguese: Nick Marinho (nickmarinho@gmail.com)
- Romanian: Obada Denis (obadadenis@users.sourceforge.net)
- Russian: Nick Khazov (m2k3d0n at users.sourceforge.net)
- Portuguese: Sérgio Marques smarquespt(Transifex)
- Portuguese(Brazil): Nick Marinho (nickmarinho@gmail.com)
- Romanian: Obada Denis (obadadenis@users.sourceforge.net), Adrian Gabor Adriannho(Transifex) and Mihai Coman z0id(Transifex)
- Russian: Nick Khazov (m2k3d0n at users.sourceforge.net), Alexey Morsov (samurai@ricom.ru), Nick Tiskov Dayman(daymansmail (at) gmail (dot) com), Dmitry DmitryKX(Transifex) and kraleksandr kraleksandr(Transifex)
- Serbian: Anaximandar Milet (anaximandar at operamail.com)
- Slovak: helix84
- Spanish: Francisco Luque Contreras (frannoe@ya.com)
- Swedish: Daniel Nylander (po@danielnylander.se)
- Spanish: Francisco Luque Contreras (frannoe@ya.com), Alfredo Monclus alfrix(Transifex) and José Antonio Moray moray33(Transifex)
- Swedish: Daniel Nylander (po@danielnylander.se) and Emil Hammarberg Ooglogput(Transifex)
- Turkish: Hasan Yilmaz (iletisim@hedefturkce.com)
- Ukrainian: Oleh Prypin (blaxpirit@gmail.com)
- Ukrainian: Oleh Prypin (blaxpirit@gmail.com) and zubr139(Transifex)
- Vietnamese: Anh Phan ppanhh(Transifex)
license: GPLv2

56
CMakeLists.txt Normal file
View File

@@ -0,0 +1,56 @@
cmake_minimum_required(VERSION 3.5)
cmake_policy(VERSION 3.5)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
include(FunctionReadVersion)
read_version("${CMAKE_CURRENT_SOURCE_DIR}/version.pri" VER_MAJOR VER_MINOR VER_BUGFIX VER_BUILD VER_STATUS)
# message(STATUS "Project version is: ${VER_MAJOR}.${VER_MINOR}.${VER_BUGFIX}.${VER_BUILD} (${VER_STATUS})")
project(qBittorrent VERSION ${VER_MAJOR}.${VER_MINOR}.${VER_BUGFIX}.${VER_BUILD})
set(PROJECT_VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUGFIX}")
if (NOT VER_BUILD EQUAL 0)
set(PROJECT_VERSION "${PROJECT_VERSION}.${VER_BUILD}")
endif()
set(PROJECT_VERSION "${PROJECT_VERSION}${VER_STATUS}")
add_definitions(-DQBT_VERSION_MAJOR=${VER_MAJOR})
add_definitions(-DQBT_VERSION_MINOR=${VER_MINOR})
add_definitions(-DQBT_VERSION_BUGFIX=${VER_BUGFIX})
add_definitions(-DQBT_VERSION_BUILD=${VER_BUILD})
add_definitions(-DQBT_VERSION="v${PROJECT_VERSION}")
add_definitions(-DQBT_VERSION_2="${PROJECT_VERSION}")
if (UNIX AND NOT APPLE)
include(GNUInstallDirs)
endif (UNIX AND NOT APPLE)
if(WIN32)
include(winconf)
endif(WIN32)
# we need options here, because they are used not only in "src" subdir, but in the "dist" dir too
include(CMakeDependentOption)
option(SYSTEM_QTSINGLEAPPLICATION
"Use the system qtsingleapplication library or shipped one otherwise")
option(GUI "Allows to disable GUI for headless running. Disables QtDBus and the GeoIP Database" ON)
option(WEBUI "Allows to disable the WebUI." ON)
if (WIN32)
option(STACKTRACE_WIN "")
else (WIN32)
cmake_dependent_option(SYSTEMD "Install the systemd service file (headless only)" OFF
"NOT GUI" OFF)
cmake_dependent_option(DBUS "Enable use of QtDBus (GUI only)" ON "GUI" OFF)
endif(WIN32)
add_subdirectory(src)
add_subdirectory(dist)

320
CODING_GUIDELINES.md Normal file

File diff suppressed because it is too large Load Diff

35
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,35 @@
# Filing an issue
### Must read
* If you aren't sure, you can ask on the [**forum**](http://forum.qbittorrent.org) or read our [**wiki**](http://wiki.qbittorrent.org) first.
* Do a quick **search**. Others might already reported the issue.
* Write in **English**!
* Provide **version** information: (You can find version numbers at menu `Help -> About -> Libraries`)
```
qBittorrent:
Qt:
libtorrent:
boost:
OS version:
```
* Provide **steps** to reproduce the problem, it will be easier to pinpoint the fault.
* **Screenshots**! A screenshot is worth a thousand words. just upload it. [(How?)](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests)
### Good to know
* **Be patient**. The dev team is small and resource limited. Devs finding their free time, analyzing the problem and fixing the issue, it all takes time. :clock3:
* If you can code, why not become a **contributor** by fixing the issue and open a pull request? :wink:
* Harsh words or threats won't help your situation. What's worse, your complain will (very likely) to be **ignored**. :fearful:
# Opening a pull request
### Must read
* Read our [**coding guidelines**](https://github.com/qbittorrent/qBittorrent/blob/master/CODING_GUIDELINES.md). There are some scripts to help you: [uncrustify script](https://raw.githubusercontent.com/qbittorrent/qBittorrent/master/uncrustify.cfg), [astyle script](https://gist.github.com/Chocobo1/539cee860d1eef0acfa6), [(related thread)](https://github.com/qbittorrent/qBittorrent/issues/2192).
* Keep the title **short** and provide a **clear** description about what your pull request does.
* Provide **screenshots** for UI related changes.
* Keep your git commit history **clean** and **precise**. Commits like `xxx fixup` should not appear.
* If your commit fix a reported issue (for example #4134), add the following message to the commit `Closes #4134.`. Example [here](https://github.com/qbittorrent/qBittorrent/commit/a74bac20c4e8de9776bf9bb77fdc7526135d1988).
### Good to know
* **Search** pull request history! Others might already implemented your idea and is waiting to be merged (or got rejected already). Save your precious time by doing a search first.
* When resolving merge conflicts, do `git rebase <target_branch_name>`, don't do `git pull`. Then you can start fixing the conflicts. Here is a good explanation: [link](https://www.atlassian.com/git/tutorials/merging-vs-rebasing).

80
COPYING
View File

@@ -12,15 +12,15 @@ exception statement from your version.
----------
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -69,8 +69,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@@ -124,7 +124,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@@ -182,7 +182,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@@ -239,7 +239,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@@ -269,7 +269,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -291,64 +291,4 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
END OF TERMS AND CONDITIONS

1255
Changelog

File diff suppressed because it is too large Load Diff

10
INSTALL
View File

@@ -14,15 +14,11 @@ qBittorrent - A BitTorrent client in C++ / Qt4
- pkg-config executable
- libtorrent-rasterbar by Arvid Norberg (>= 0.15.0)
- libtorrent-rasterbar by Arvid Norberg (>= 1.0.6)
-> http://www.libtorrent.net
Be careful: another library (the one used by rTorrent) uses a similar name.
- libboost 1.34.x (libboost-filesystem°) + libasio
or
- libboost >= 1.35.x (libboost-system, libboost-filesystem°)
°libboost-filesystem is not needed if libtorrent-rasterbar >= v0.16.x is used
- libboost >= 1.35.x (libboost-system)
- python >= 2.3 (needed by search engine)
* Run time only dependency
@@ -44,7 +40,7 @@ qBittorrent - A BitTorrent client in C++ / Qt4
- pkg-config executable
- libtorrent-rasterbar by Arvid Norberg (>= v0.15.0)
- libtorrent-rasterbar by Arvid Norberg (>= v1.0.6)
-> http://www.libtorrent.net
Be careful: another library (the one used by rTorrent) uses a similar name.

40
README
View File

@@ -1,40 +0,0 @@
qBittorrent - A BitTorrent client in Qt4
------------------------------------------
Description:
********************************
qBittorrent is a bittorrent client programmed in C++ / Qt4 that uses
libtorrent (sometimes called rblibtorrent) by Arvid Norberg.
It aims to be a good alternative to all other bittorrent clients
out there. qBittorrent is fast, stable and provides unicode
support as well as many features.
This product includes GeoLite data created by MaxMind, available from
http://maxmind.com/
Installation:
********************************
For installation, follow the instructions from INSTALL file, but simple:
./configure
make && make install
qbittorrent
will install and execute qBittorrent hopefully without any problem.
For more information please visit:
http://www.qbittorrent.org
or our wiki here:
http://wiki.qbittorrent.org
Please report any bug (or feature request) to:
http://bugs.qbittorrent.org
You can also meet me (chris-qBT) on IRC:
#qbittorrent on irc.freenode.net
------------------------------------------
Christophe Dumez <chris@qbittorrent.org>

53
README.md Normal file
View File

@@ -0,0 +1,53 @@
qBittorrent - A BitTorrent client in Qt
------------------------------------------
[![TravisCI Status](https://travis-ci.org/qbittorrent/qBittorrent.svg?branch=master)](https://travis-ci.org/qbittorrent/qBittorrent)
[![AppVeyor Status](https://ci.appveyor.com/api/projects/status/github/qbittorrent/qBittorrent?branch=master&svg=true)](https://ci.appveyor.com/project/qbittorrent/qBittorrent)
[![Coverity Status](https://scan.coverity.com/projects/5494/badge.svg)](https://scan.coverity.com/projects/5494)
********************************
### Description:
qBittorrent is a bittorrent client programmed in C++ / Qt that uses
libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
It aims to be a good alternative to all other bittorrent clients
out there. qBittorrent is fast, stable and provides unicode
support as well as many features.
This product includes GeoLite data created by MaxMind, available from
https://www.maxmind.com/
### Installation:
For installation, follow the instructions from INSTALL file, but simple:
```
./configure
make && make install
qbittorrent
```
will install and execute qBittorrent hopefully without any problem.
### Public key:
Starting from v3.3.4 all source tarballs and binaries are signed.<br />
The key currently used is 4096R/[5B7CC9A2](https://pgp.mit.edu/pks/lookup?op=get&search=0x6E4A2D025B7CC9A2) with fingerprint `D8F3DA77AAC6741053599C136E4A2D025B7CC9A2`.<br />
You can also download it from [here](https://github.com/qbittorrent/qBittorrent/raw/master/5B7CC9A2.asc).<br />
**PREVIOUSLY** the following key was used to sign the v3.3.4 source tarballs and v3.3.4 Windows installer **only**: 4096R/[520EC6F6](https://pgp.mit.edu/pks/lookup?op=get&search=0xA1ACCAE4520EC6F6) with fingerprint `F4A5FD201B117B1C2AB590E2A1ACCAE4520EC6F6`.<br />
### Misc:
For more information please visit:
http://www.qbittorrent.org
or our wiki here:
http://wiki.qbittorrent.org
Use the forum for troubleshooting before reporting bugs:
http://forum.qbittorrent.org
Please report any bug (or feature request) to:
http://bugs.qbittorrent.org
You can also meet me (sledgehammer_999) on IRC:
`#qbittorrent on irc.freenode.net`
------------------------------------------
sledgehammer999 <sledgehammer999@qbittorrent.org>

View File

@@ -1,61 +0,0 @@
qBittorrent - A BitTorrent client in Qt4
------------------------------------------
This is the eComStation (OS/2) qBittorrent part of the readme. See also README for more general information.
Building qBittorrent
********************
Requirements
============
- gcc based build env (recommended gcc v4.4.2 or greater)
- Qt4 for eCS (OS/2) dev package (see http://svn.netlabs.org/qt4 for more information)
- libtorrent-rasterbar for eCS (OS/2) port (see http://svn.netlabs.org/ports for more information)
- boost for eCS (OS/2) port (see http://svn.netlabs.org/ports for more information)
How to build
============
First you need to create the conf.pri file in the same dir as this readme.os2 is.
the conf.pri file has the following content:
##### conf.pri content beginn #####
BINDIR = ./bin
INCDIR = ./include
LIBDIR = ./lib
DATADIR = ./share
CONFIG += staticlib
INCLUDEPATH += x:/trees/libtorrent/trunk/include
LIBS += -Lx:/trees/libtorrent/trunk/src/.libs \
-Lx:/trees/boost/trunk/stage/lib \
-Lx:/trees/openssl \
-Lx:/extras/lib
##### conf.pri content end #####
Of course all the above path references have to be adjusted to your build env.
It should now be easy to build qBittorrent:
Simply type:
$ qmake
Followed by:
$ make
If all works fine you should get a working qbittorrent executable.
If you have any question regarding the eCS (OS/2) port of qBittorrent you can meet me (_diver) on IRC:
#netlabs on irc.freenode.net
------------------------------------------
Silvan Scherrer <silvan.scherrer@aroa.ch>

4
bootstrap.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
aclocal -I m4
autoconf

347
build-aux/compile Executable file

File diff suppressed because it is too large Load Diff

1421
build-aux/config.guess vendored Executable file

File diff suppressed because it is too large Load Diff

1807
build-aux/config.sub vendored Executable file

File diff suppressed because it is too large Load Diff

501
build-aux/install-sh Executable file

File diff suppressed because it is too large Load Diff

215
build-aux/missing Executable file
View File

@@ -0,0 +1,215 @@
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
scriptversion=2013-10-28.13; # UTC
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try '$0 --help' for more information"
exit 1
fi
case $1 in
--is-lightweight)
# Used by our autoconf macros to check whether the available missing
# script is modern enough.
exit 0
;;
--run)
# Back-compat with the calling convention used by older automake.
shift
;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
to PROGRAM being missing or too old.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
Supported PROGRAM values:
aclocal autoconf autoheader autom4te automake makeinfo
bison yacc flex lex help2man
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
'g' are ignored when checking the name.
Send bug reports to <bug-automake@gnu.org>."
exit $?
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing $scriptversion (GNU Automake)"
exit $?
;;
-*)
echo 1>&2 "$0: unknown '$1' option"
echo 1>&2 "Try '$0 --help' for more information"
exit 1
;;
esac
# Run the given program, remember its exit status.
"$@"; st=$?
# If it succeeded, we are done.
test $st -eq 0 && exit 0
# Also exit now if we it failed (or wasn't found), and '--version' was
# passed; such an option is passed most likely to detect whether the
# program is present and works.
case $2 in --version|--help) exit $st;; esac
# Exit code 63 means version mismatch. This often happens when the user
# tries to use an ancient version of a tool on a file that requires a
# minimum version.
if test $st -eq 63; then
msg="probably too old"
elif test $st -eq 127; then
# Program was missing.
msg="missing on your system"
else
# Program was found and executed, but failed. Give up.
exit $st
fi
perl_URL=http://www.perl.org/
flex_URL=http://flex.sourceforge.net/
gnu_software_URL=http://www.gnu.org/software
program_details ()
{
case $1 in
aclocal|automake)
echo "The '$1' program is part of the GNU Automake package:"
echo "<$gnu_software_URL/automake>"
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
echo "<$gnu_software_URL/autoconf>"
echo "<$gnu_software_URL/m4/>"
echo "<$perl_URL>"
;;
autoconf|autom4te|autoheader)
echo "The '$1' program is part of the GNU Autoconf package:"
echo "<$gnu_software_URL/autoconf/>"
echo "It also requires GNU m4 and Perl in order to run:"
echo "<$gnu_software_URL/m4/>"
echo "<$perl_URL>"
;;
esac
}
give_advice ()
{
# Normalize program name to check for.
normalized_program=`echo "$1" | sed '
s/^gnu-//; t
s/^gnu//; t
s/^g//; t'`
printf '%s\n' "'$1' is $msg."
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
case $normalized_program in
autoconf*)
echo "You should only need it if you modified 'configure.ac',"
echo "or m4 files included by it."
program_details 'autoconf'
;;
autoheader*)
echo "You should only need it if you modified 'acconfig.h' or"
echo "$configure_deps."
program_details 'autoheader'
;;
automake*)
echo "You should only need it if you modified 'Makefile.am' or"
echo "$configure_deps."
program_details 'automake'
;;
aclocal*)
echo "You should only need it if you modified 'acinclude.m4' or"
echo "$configure_deps."
program_details 'aclocal'
;;
autom4te*)
echo "You might have modified some maintainer files that require"
echo "the 'autom4te' program to be rebuilt."
program_details 'autom4te'
;;
bison*|yacc*)
echo "You should only need it if you modified a '.y' file."
echo "You may want to install the GNU Bison package:"
echo "<$gnu_software_URL/bison/>"
;;
lex*|flex*)
echo "You should only need it if you modified a '.l' file."
echo "You may want to install the Fast Lexical Analyzer package:"
echo "<$flex_URL>"
;;
help2man*)
echo "You should only need it if you modified a dependency" \
"of a man page."
echo "You may want to install the GNU Help2man package:"
echo "<$gnu_software_URL/help2man/>"
;;
makeinfo*)
echo "You should only need it if you modified a '.texi' file, or"
echo "any other file indirectly affecting the aspect of the manual."
echo "You might want to install the Texinfo package:"
echo "<$gnu_software_URL/texinfo/>"
echo "The spurious makeinfo call might also be the consequence of"
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
echo "want to install GNU make:"
echo "<$gnu_software_URL/make/>"
;;
*)
echo "You might have modified some files without having the proper"
echo "tools for further handling them. Check the 'README' file, it"
echo "often tells you about the needed prerequisites for installing"
echo "this package. You may also peek at any GNU archive site, in"
echo "case some other package contains this missing '$1' program."
;;
esac
}
give_advice "$1" | sed -e '1s/^/WARNING: /' \
-e '2,$s/^/ /' >&2
# Propagate the correct exit status (expected to be 127 for a program
# not found, 63 for a program that failed due to version mismatch).
exit $st
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,127 @@
# - Try to find libtorrent-rasterbar
#
# If not using pkg-config, you can pre-set LibtorrentRasterbar_CUSTOM_DEFINITIONS
# for definitions unrelated to Boost's separate compilation (which are already
# decided by the LibtorrentRasterbar_USE_STATIC_LIBS variable).
#
# Once done this will define
# LibtorrentRasterbar_FOUND - System has libtorrent-rasterbar
# LibtorrentRasterbar_INCLUDE_DIRS - The libtorrent-rasterbar include directories
# LibtorrentRasterbar_LIBRARIES - The libraries needed to use libtorrent-rasterbar
# LibtorrentRasterbar_DEFINITIONS - Compiler switches required for using libtorrent-rasterbar
# LibtorrentRasterbar_OPENSSL_ENABLED - libtorrent-rasterbar uses and links against OpenSSL
find_package(Threads REQUIRED)
find_package(PkgConfig QUIET)
macro(_detect_boost_components _outComponets librariesList)
string(REGEX MATCHALL "boost_[a-z_]+[-a-z]*" _boost_libraries "${librariesList}")
string(REGEX REPLACE "boost_([a-z_]+)[-a-z]*" "\\1" ${_outComponets} "${_boost_libraries}")
endmacro()
if(PKG_CONFIG_FOUND)
pkg_check_modules(PC_LIBTORRENT_RASTERBAR QUIET libtorrent-rasterbar)
endif()
if(LibtorrentRasterbar_USE_STATIC_LIBS)
set(LibtorrentRasterbar_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
set(CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_STATIC_LIBRARY_SUFFIX})
endif()
if(PC_LIBTORRENT_RASTERBAR_FOUND)
set(LibtorrentRasterbar_DEFINITIONS ${PC_LIBTORRENT_RASTERBAR_CFLAGS})
else()
if(LibtorrentRasterbar_CUSTOM_DEFINITIONS)
set(LibtorrentRasterbar_DEFINITIONS ${LibtorrentRasterbar_CUSTOM_DEFINITIONS})
else()
# Without pkg-config, we can't possibly figure out the correct build flags.
# libtorrent is very picky about those. Let's take a set of defaults and
# hope that they apply. If not, you the user are on your own.
set(LibtorrentRasterbar_DEFINITIONS
-DTORRENT_USE_OPENSSL
-DTORRENT_DISABLE_GEO_IP
-DBOOST_ASIO_ENABLE_CANCELIO
-DUNICODE -D_UNICODE -D_FILE_OFFSET_BITS=64)
endif()
if(NOT LibtorrentRasterbar_USE_STATIC_LIBS)
list(APPEND LibtorrentRasterbar_DEFINITIONS
-DTORRENT_LINKING_SHARED
-DBOOST_SYSTEM_DYN_LINK -DBOOST_CHRONO_DYN_LINK)
endif()
endif()
message(STATUS "libtorrent definitions: ${LibtorrentRasterbar_DEFINITIONS}")
find_path(LibtorrentRasterbar_INCLUDE_DIR libtorrent
HINTS ${PC_LIBTORRENT_RASTERBAR_INCLUDEDIR} ${PC_LIBTORRENT_RASTERBAR_INCLUDE_DIRS}
PATH_SUFFIXES libtorrent-rasterbar)
find_library(LibtorrentRasterbar_LIBRARY NAMES torrent-rasterbar libtorrent
HINTS ${PC_LIBTORRENT_RASTERBAR_LIBDIR} ${PC_LIBTORRENT_RASTERBAR_LIBRARY_DIRS})
if(LibtorrentRasterbar_USE_STATIC_LIBS)
set(CMAKE_FIND_LIBRARY_SUFFIXES ${LibtorrentRasterbar_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})
endif()
set(LibtorrentRasterbar_LIBRARIES ${LibtorrentRasterbar_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})
set(LibtorrentRasterbar_INCLUDE_DIRS ${LibtorrentRasterbar_INCLUDE_DIR})
# Without pkg-config, we can't possibly figure out the correct boost dependencies
if (LibtorrentRasterbar_CUSTOM_BOOST_DEPENDENCIES)
set(_boost_components "${LibtorrentRasterbar_CUSTOM_BOOST_DEPENDENCIES}")
else(LibtorrentRasterbar_CUSTOM_BOOST_DEPENDENCIES)
if(PC_LIBTORRENT_RASTERBAR_FOUND)
_detect_boost_components(_boost_components "${PC_LIBTORRENT_RASTERBAR_LIBRARIES}")
else()
# all possible boost dependencies
set(_boost_components
date_time
system
chrono
random
thread
)
endif()
endif(LibtorrentRasterbar_CUSTOM_BOOST_DEPENDENCIES)
list(SORT _boost_components)
message(STATUS "Libtorrent Boost dependencies: ${_boost_components}")
find_package(Boost REQUIRED COMPONENTS ${_boost_components})
set(LibtorrentRasterbar_LIBRARIES ${LibtorrentRasterbar_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
foreach(_boost_cmpnt IN LISTS _boost_components)
list(APPEND LibtorrentRasterbar_LIBRARIES "Boost::${_boost_cmpnt}")
endforeach(_boost_cmpnt)
set(LibtorrentRasterbar_INCLUDE_DIRS ${LibtorrentRasterbar_INCLUDE_DIRS})
list(FIND LibtorrentRasterbar_DEFINITIONS -DTORRENT_USE_OPENSSL LibtorrentRasterbar_ENCRYPTION_INDEX)
if(LibtorrentRasterbar_ENCRYPTION_INDEX GREATER -1)
find_package(OpenSSL REQUIRED)
set(LibtorrentRasterbar_LIBRARIES ${LibtorrentRasterbar_LIBRARIES} OpenSSL::SSL OpenSSL::Crypto)
set(LibtorrentRasterbar_OPENSSL_ENABLED ON)
endif()
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set LibtorrentRasterbar_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(LibtorrentRasterbar DEFAULT_MSG
LibtorrentRasterbar_LIBRARY
LibtorrentRasterbar_INCLUDE_DIR)
mark_as_advanced(LibtorrentRasterbar_INCLUDE_DIR LibtorrentRasterbar_LIBRARY
LibtorrentRasterbar_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES
LibtorrentRasterbar_ENCRYPTION_INDEX)
if (LibtorrentRasterbar_FOUND AND NOT TARGET LibtorrentRasterbar::LibTorrent)
add_library(LibtorrentRasterbar::LibTorrent UNKNOWN IMPORTED)
set_target_properties(LibtorrentRasterbar::LibTorrent PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
IMPORTED_LOCATION "${LibtorrentRasterbar_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${LibtorrentRasterbar_INCLUDE_DIRS}"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${LibtorrentRasterbar_INCLUDE_DIRS}"
INTERFACE_LINK_LIBRARIES "${LibtorrentRasterbar_LIBRARIES}"
INTERFACE_COMPILE_OPTIONS "${LibtorrentRasterbar_DEFINITIONS}"
)
endif()

View File

@@ -0,0 +1,94 @@
# - Try to find the QtSingleApplication includes and library
# which defines
#
# QTSINGLEAPPLICATION_FOUND - system has QtSingleApplication
# QTSINGLEAPPLICATION_INCLUDE_DIR - where to find header QtSingleApplication
# QTSINGLEAPPLICATION_LIBRARIES - the libraries to link against to use QtSingleApplication
# QTSINGLEAPPLICATION_LIBRARY - where to find the QtSingleApplication library (not for general use)
# copyright (c) 2013 TI_Eugene ti.eugene@gmail.com
#
# Redistribution and use is allowed according to the terms of the FreeBSD license.
SET(QTSINGLEAPPLICATION_FOUND FALSE)
IF(QT4_FOUND)
message(STATUS "Looking for Qt4 single application library")
FIND_PATH(QTSINGLEAPPLICATION_INCLUDE_DIR QtSingleApplication
# standard locations
/usr/include
/usr/include/QtSolutions
# qt4 location except mac's frameworks
"${QT_INCLUDE_DIR}/QtSolutions"
# mac's frameworks
${FRAMEWORK_INCLUDE_DIR}/QtSolutions
)
SET(QTSINGLEAPPLICATION_NAMES ${QTSINGLEAPPLICATION_NAMES}
QtSolutions_SingleApplication-2.6 libQtSolutions_SingleApplication-2.6)
FIND_LIBRARY(QTSINGLEAPPLICATION_LIBRARY
NAMES ${QTSINGLEAPPLICATION_NAMES}
PATHS ${QT_LIBRARY_DIR}
)
ELSEIF(Qt5Core_FOUND)
message(STATUS "Looking for Qt5 single application library")
FOREACH(TOP_INCLUDE_PATH in ${Qt5Core_INCLUDE_DIRS} ${FRAMEWORK_INCLUDE_DIR})
FIND_PATH(QTSINGLEAPPLICATION_INCLUDE_DIR QtSingleApplication ${TOP_INCLUDE_PATH}/QtSolutions)
IF(QTSINGLEAPPLICATION_INCLUDE_DIR)
BREAK()
ENDIF()
ENDFOREACH()
SET(QTSINGLEAPPLICATION_NAMES ${QTSINGLEAPPLICATION_NAMES}
Qt5Solutions_SingleApplication-2.6 libQt5Solutions_SingleApplication-2.6
QtSolutions_SingleApplication-2.6 libQtSolutions_SingleApplication-2.6)
GET_TARGET_PROPERTY(_QT5_CORELIBRARY Qt5::Core LOCATION)
GET_FILENAME_COMPONENT(_QT5_CORELIBRARYPATH ${_QT5_CORELIBRARY} PATH)
FIND_LIBRARY(QTSINGLEAPPLICATION_LIBRARY
NAMES ${QTSINGLEAPPLICATION_NAMES}
PATHS ${_QT5_CORELIBRARYPATH}
)
ENDIF()
IF (QTSINGLEAPPLICATION_LIBRARY AND QTSINGLEAPPLICATION_INCLUDE_DIR)
SET(QTSINGLEAPPLICATION_LIBRARIES ${QTSINGLEAPPLICATION_LIBRARY})
SET(QTSINGLEAPPLICATION_FOUND TRUE)
IF (CYGWIN)
IF(BUILD_SHARED_LIBS)
# No need to define QTSINGLEAPPLICATION_USE_DLL here, because it's default for Cygwin.
ELSE(BUILD_SHARED_LIBS)
SET (QTSINGLEAPPLICATION_DEFINITIONS -DQTSINGLEAPPLICATION_STATIC)
ENDIF(BUILD_SHARED_LIBS)
ENDIF (CYGWIN)
ENDIF (QTSINGLEAPPLICATION_LIBRARY AND QTSINGLEAPPLICATION_INCLUDE_DIR)
IF (QTSINGLEAPPLICATION_FOUND)
IF (NOT QtSingleApplication_FIND_QUIETLY)
MESSAGE(STATUS "Found QtSingleApplication: ${QTSINGLEAPPLICATION_LIBRARY}")
MESSAGE(STATUS " includes: ${QTSINGLEAPPLICATION_INCLUDE_DIR}")
ENDIF (NOT QtSingleApplication_FIND_QUIETLY)
ELSE (QTSINGLEAPPLICATION_FOUND)
IF (QtSingleApplication_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find QtSingleApplication library")
ENDIF (QtSingleApplication_FIND_REQUIRED)
ENDIF (QTSINGLEAPPLICATION_FOUND)
MARK_AS_ADVANCED(QTSINGLEAPPLICATION_INCLUDE_DIR QTSINGLEAPPLICATION_LIBRARY)
if(NOT TARGET QtSingleApplication::QtSingleApplication)
add_library(QtSingleApplication::QtSingleApplication UNKNOWN IMPORTED)
set_target_properties(QtSingleApplication::QtSingleApplication PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${QTSINGLEAPPLICATION_INCLUDE_DIR}"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${QTSINGLEAPPLICATION_INCLUDE_DIR}"
)
if(EXISTS "${QTSINGLEAPPLICATION_LIBRARY}")
set_target_properties(QtSingleApplication::QtSingleApplication PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
IMPORTED_LOCATION "${QTSINGLEAPPLICATION_LIBRARY}")
endif()
endif(NOT TARGET QtSingleApplication::QtSingleApplication)

View File

@@ -0,0 +1,26 @@
#######
# Find systemd service dir
# sets variables
# SYSTEMD_FOUND
# SYSTEMD_SERVICES_INSTALL_DIR
find_package(PkgConfig QUIET REQUIRED)
if (NOT SYSTEMD_FOUND)
pkg_check_modules(SYSTEMD "systemd")
endif(NOT SYSTEMD_FOUND)
if (SYSTEMD_FOUND AND "${SYSTEMD_SERVICES_INSTALL_DIR}" STREQUAL "")
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE}
--variable=systemdsystemunitdir systemd
OUTPUT_VARIABLE SYSTEMD_SERVICES_INSTALL_DIR)
string(REGEX REPLACE "[ \t\n]+" "" SYSTEMD_SERVICES_INSTALL_DIR
"${SYSTEMD_SERVICES_INSTALL_DIR}")
elseif (NOT SYSTEMD_FOUND AND SYSTEMD_SERVICES_INSTALL_DIR)
message (FATAL_ERROR "Variable SYSTEMD_SERVICES_INSTALL_DIR is\
defined, but we can't find systemd using pkg-config")
endif()
if (SYSTEMD_FOUND)
message(STATUS "systemd services install dir: ${SYSTEMD_SERVICES_INSTALL_DIR}")
endif(SYSTEMD_FOUND)

View File

@@ -0,0 +1,28 @@
# function for parsing version variables that are set in version.pri file
# the version identifiers there are defined as follows:
# VER_MAJOR = 3
# VER_MINOR = 4
# VER_BUGFIX = 0
# VER_BUILD = 0
# VER_STATUS = alpha
function(read_version priFile outMajor outMinor outBugfix outBuild outStatus)
file(STRINGS ${priFile} _priFileContents REGEX "^VER_.+")
# message(STATUS "version.pri version contents: ${_priFileContents}")
# the _priFileContents variable contains something like the following:
# VER_MAJOR = 3;VER_MINOR = 4;VER_BUGFIX = 0;VER_BUILD = 0;VER_STATUS = alpha # Should be empty for stable releases!
set(_regex "VER_MAJOR += +([0-9]+);VER_MINOR += +([0-9]+);VER_BUGFIX += +([0-9]+);VER_BUILD += +([0-9]+);VER_STATUS += +([0-9A-Za-z]+)?")
# note quotes around _regex, they are needed because the variable contains semicolons
string(REGEX MATCH "${_regex}" _tmp "${_priFileContents}")
if (NOT _tmp)
message(FATAL_ERROR "Could not detect project version number from ${priFile}")
endif()
# message(STATUS "Matched version string: ${_tmp}")
set(${outMajor} ${CMAKE_MATCH_1} PARENT_SCOPE)
set(${outMinor} ${CMAKE_MATCH_2} PARENT_SCOPE)
set(${outBugfix} ${CMAKE_MATCH_3} PARENT_SCOPE)
set(${outBuild} ${CMAKE_MATCH_4} PARENT_SCOPE)
set(${outStatus} ${CMAKE_MATCH_5} PARENT_SCOPE)
endfunction()

View File

@@ -0,0 +1,38 @@
macro(configure_msvc_runtime)
if(MSVC)
# Default to statically-linked runtime.
if("${MSVC_RUNTIME}" STREQUAL "")
set(MSVC_RUNTIME "static")
endif()
# Set compiler options.
set(variables
CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELWITHDEBINFO
)
if(${MSVC_RUNTIME} STREQUAL "static")
message(STATUS
"MSVC -> forcing use of statically-linked runtime."
)
foreach(variable ${variables})
if(${variable} MATCHES "/MD")
string(REGEX REPLACE "/MD" "/MT" ${variable} "${${variable}}")
endif()
endforeach()
else()
message(STATUS
"MSVC -> forcing use of dynamically-linked runtime."
)
foreach(variable ${variables})
if(${variable} MATCHES "/MT")
string(REGEX REPLACE "/MT" "/MD" ${variable} "${${variable}}")
endif()
endforeach()
endif()
endif()
endmacro()

View File

@@ -0,0 +1,49 @@
###############################################################
#
# Copyright 2011 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
# may not use this file except in compliance with the License. You may
# obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###############################################################
MACRO (GLIBC_DETECT _VERSION)
# there are multiple ways to detect glibc, but given nmi's
# cons'd up paths I will trust only gcc. I guess I could also use
# ldd --version to detect.
set(_GLIB_SOURCE_DETECT "
#include <limits.h>
#include <stdio.h>
int main()
{
printf(\"%d%d\",__GLIBC__, __GLIBC_MINOR__);
return 0;
}
")
file (WRITE ${CMAKE_CURRENT_BINARY_DIR}/build/cmake/glibc.cpp "${_GLIB_SOURCE_DETECT}\n")
try_run(POST26_GLIBC_DETECTED
POST26_GLIBC_COMPILE
${CMAKE_CURRENT_BINARY_DIR}/build/cmake
${CMAKE_CURRENT_BINARY_DIR}/build/cmake/glibc.cpp
RUN_OUTPUT_VARIABLE GLIBC_VERSION )
if (GLIBC_VERSION AND POST26_GLIBC_COMPILE )
set(${_VERSION} ${GLIBC_VERSION})
else()
message(STATUS "NOTE: Could not detect GLIBC_VERSION from compiler")
endif()
ENDMACRO (GLIBC_DETECT)

View File

@@ -0,0 +1,28 @@
# - macro similar to target_link_libraries, which links Qt components
# names of the components are pased in Qt4/Qt5 agnostic way (Core, DBus, Xml...)
# and the macro links Qt4 ones if QT4_FOUND is set or Qt5 ones if not
macro (target_link_qt_components target)
if (QT4_FOUND)
foreach(_cmp ${ARGN})
if ("${_cmp}" STREQUAL "PRIVATE" OR
"${_cmp}" STREQUAL "PUBLIC" OR
"${_cmp}" STREQUAL "INTERFACE")
list(APPEND _QT_CMPNTS "${_cmp}")
else()
list(APPEND _QT_CMPNTS "Qt4::Qt${_cmp}")
endif()
endforeach()
else (QT4_FOUND)
foreach(_cmp ${ARGN})
if ("${_cmp}" STREQUAL "PRIVATE" OR
"${_cmp}" STREQUAL "PUBLIC" OR
"${_cmp}" STREQUAL "INTERFACE")
list(APPEND _QT_CMPNTS "${_cmp}")
else()
list(APPEND _QT_CMPNTS "Qt5::${_cmp}")
endif()
endforeach()
endif (QT4_FOUND)
target_link_libraries(${target} ${_QT_CMPNTS})
endmacro()

Some files were not shown because too many files have changed in this diff Show More