Commit graph

159 commits

Author SHA1 Message Date
Vladimir Golovnev (Glassez)
c982813acb Create basic cookies management dialog 2016-04-11 19:14:28 +03: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
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
Eugene Shalygin
1336cb7a61 Implement search filters in the proxy model. Partially closes #972 2016-04-04 02:09:32 +02:00
Eugene Shalygin
1d6a1db491 cmake: make it compile on OS X 2016-03-28 19:59:11 +02: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
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
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
Chocobo1
09194f8e1b TravisCI: switch to Trusty image. Closes #4953.
Drop workaround for gcc-4.8
2016-03-21 00:24:30 +08: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
Chocobo1
e7ff5eb6b1 Minor refactor 2016-03-09 14:08:44 +08: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
8372c819e9 Merge pull request #4903 from evsh/cmake
fix cmake build
2016-03-05 08:51:34 -06: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
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
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
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
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
b099a766e6 Don't merge trackers for private torrents. Closes #2928. 2016-02-15 03:24:22 +02: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
Chocobo1
a667f900c5 Set "Show splash screen on start up" option default to off 2016-02-07 10:48:51 +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
Vladimir Golovnev (Glassez)
034bd83915 Manage save path in one place 2016-02-04 11:42:30 +03:00
Chocobo1
325ba48601 Add "Hide zero values" option. Closes #3543. 2016-02-03 12:05:55 +08:00
Vladimir Golovnev (Glassez)
c57aaf0216 Create MagnetUri object from BC link or HASH string 2016-01-31 21:32:41 +03:00
Vladimir Golovnev (Glassez)
decfae7b8a Add libtorrent v1.1 basic support 2016-01-31 14:04:25 +03:00
Vladimir Golovnev (Glassez)
c93ada1e7b Prepare for libtorrent v1.1 support 2016-01-31 10:40:55 +03:00
sledgehammer999
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
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
sledgehammer999
44624d0003 Fix loading *.magnet files from watched folders. Closes #4701. 2016-01-28 23:59:02 +02: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
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
d3c38da04d Merge pull request #4565 from glassez/fixes
Fix some bugs (reported by Coverity Scan)
2016-01-17 16:18:40 -06:00
sledgehammer999
c2a26d39af Merge pull request #4577 from glassez/hotfix
[IMPORTANT] Fix loading corrupted .fastresume file
2016-01-17 11:49:58 -06:00
Vladimir Golovnev (Glassez)
3df802cef7 Delete unused include 2016-01-17 10:12:55 +03:00
Vladimir Golovnev (Glassez)
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
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
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
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
Boris Nagaev
4706733846 convert includes like <Windows.h> to lowercase
There is header file windows.h, not Windows.h.
MinGW on Linux build machine is filename case-sensitive.
2016-01-05 23:29:26 +03:00
sledgehammer999
6ccf2f9232 Merge pull request #4020 from glassez/rss
RSS code redesign (Issue #2433).
2016-01-05 10:29:13 -06:00
sledgehammer999
52d08f7112 Merge pull request #4413 from glassez/dlmgr
Improve Download Manager. Closes #4305
2016-01-05 10:10:08 -06:00
Vladimir Golovnev (Glassez)
6662081044 Improve RSS parsing logic. 2016-01-04 06:59:07 +03:00
Vladimir Golovnev (Glassez)
28ed981082 Redesign RSS base classes. 2016-01-04 06:37:54 +03:00
Vladimir Golovnev (Glassez)
6f7ae728eb Move base RSS names to Rss namespace. 2016-01-04 06:19:02 +03:00
Vladimir Golovnev (Glassez)
67758cb092 Fix coding style (Issue #2192). 2016-01-04 06:16:20 +03:00
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
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
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
sledgehammer999
bc92f156c1 Improve the "Watch folders" UI. Closes #4300. 2016-01-03 22:08:55 +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
Naikel Aparicio
c9293dd2d1 Fixed bug when uploading several files and only the last one was considered. 2015-12-26 20:55:13 -04:30
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
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