Commit graph

262 commits

Author SHA1 Message Date
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
da561ccd38 Fix gcc warning [-Wreorder]. 2013-09-14 16:11:04 +03:00
sledgehammer999
a052963775 Don't prefer TCP connections over uTP. 2013-08-03 15:22:20 +03:00
Nick Tiskov
ed0acede20 Use Unicode for libtorrent alert messages. 2013-07-28 17:09:07 +04:00
sledgehammer999
6c89df7206 Remove unnecessary code from qbtsession. 2013-07-27 18:07:57 +03:00
sledgehammer999
798bd2388b Allow more fine tuning of uploads. Closes #684. 2013-07-22 01:41:01 +03: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
1e6aa54f0e Use default choking algorithm. fastest_upload is too biased towards fast peers. 2013-07-02 20:45:59 +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
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
9ff7eab83b Fixed compilation with libtorrent 0.15.x 2013-06-30 02:45:02 +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
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
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
0213b5f511 Add missing break statement in proxy code 2013-05-22 20:43:02 +03:00
sledgehammer999
94b58ca229 Fix compilation with libtorrent 1.x.x. 2013-05-07 22:57:18 +03:00
sledgehammer999
9a0a26dae1 Store TorrentTempData only in memory. Partially implements #583. 2013-05-04 17:56:26 +03: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
da3406b811 Simplify the code a bit now that QIniSettings uses qBittorrent / qBittorrent by default 2013-02-16 20:04:48 +02:00
Andrea Villa
b6f156b7dd Reverting fs_utils.cpp and fixing callers instead 2013-02-09 18:55:10 +01:00
Christophe Dumez
64fd3044b1 Fix compilation error with libtorrent v0.15 2013-01-19 18:16:47 +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
Christophe Dumez
c19b33afc1 Merge pull request #296 from sledgehammer999/minor_optimize
Another minor optimization in qbtsession.
2012-12-26 11:24:35 -08:00
sledgehammer999
aee105ec6c Another minor optimization in qbtsession. 2012-12-26 20:24:36 +02:00
sledgehammer999
c8753c96db Optimize the addittion of huge torrents. Fixes issue #288. 2012-12-26 20:06:38 +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
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
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
bd89dca0af Minor optimization in qbtsession. 2012-12-01 14:08:46 +02:00
Deniz Dogan
bd3dd337c1 Replace 'occured' with 'occurred' everywhere, except compiled lang files. 2012-11-07 02:38:22 +01: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
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
806ab07865 Import new trackers from magnet link in case of duplicate torrent (closes #111) 2012-09-23 11:09:01 +03:00
Christophe Dumez
eb726c42c6 Fix torrent temporary path functionality 2012-09-18 20:02:52 +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
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
Christophe Dumez
d2a6887248 Fix crash when a fastresume file is empty (closes #52) 2012-08-24 19:19:54 +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
75cf25de62 Remember queue position for torrents without metadata (closes #17) 2012-08-12 09:56:36 +03:00
Christophe Dumez
81b0a7f785 Handle exceptions in readAlerts() 2012-08-10 11:20:55 +03:00
BotanEgg
bb11d11a72 Itr cache 2012-07-14 06:28:23 +08:00
Константин Гончарик
abf8c179fc Use preincrement for iterators instead of postincrement 2012-07-13 21:48:19 +03:00
Christophe Dumez
90373897d6 Fix permission problems on Windows (closes #1020227) 2012-07-05 19:10:13 +03:00
Christophe Dumez
a85ddada25 Minor code refactoring 2012-07-05 18:46:25 +03:00
Christophe Dumez
5d5bf403a8 Fix hiding of unwanted files 2012-07-02 20:30:45 +03:00
Christophe Dumez
74079b2c86 Support custom save path / label for RSS feeds using magnet links 2012-06-24 16:48:40 +03:00
Christophe Dumez
5a65580169 Add support for RSS feeds using magnet links (Closes #1016379) 2012-06-24 10:27:32 +03:00
Christophe Dumez
39ea57fe29 Mac compilation fix 2012-06-24 09:59:12 +03:00
Christian Kandeler
55a6bc3855 Check for magnet links in watched folders.
Look for files ending with ".magnet" and interpret their contents as a
magnet link.
This allows scripts to collect magnet links from the web and let
qBittorrent download them non-interactively.
2012-05-30 22:28:53 +03:00
Frédéric Brière
91af418254 Don't trip on absence of global ratio in QBtSession::processBigRatios()
QBtSession::processBigRatios() must fetch the global ratio, if
applicable, before checking for NO_RATIO_LIMIT.

LP: #835217
2012-05-27 21:40:12 +03:00
Christophe Dumez
9a964d871d Rewrite code for returning information about torrents as JSON (Web UI)
- The new code is simpler, cleaner and more efficient
2012-05-26 20:42:44 +03:00
Christophe Dumez
d55f3b5aff RSS: Better cookies support 2012-05-20 16:03:10 +03:00
Christophe Dumez
0f291629cc Move FileSystem utility functions out of misc.h
Use new fs_utils.h instead.
2012-05-16 21:19:05 +03:00
Christophe Dumez
c502edf9e1 Brand new torrent addition dialog 2012-05-15 19:57:31 +03:00
Christophe Dumez
82e2b3a6cd Fix possible compilation error on Windows 2012-05-02 17:35:22 +03:00
Christophe Dumez
bcb29fb5fa Make sure .unwanted parent is removed if empty (Closes #946826) 2012-03-17 16:36:02 +02:00
Christophe Dumez
41b57a0878 Make sure OS-created files do not prevent "empty" folder removal
Mac OS X creates .DS_Store files and Windows creates .Thumbs.db
files which can prevent otherwise empty folders removal.
2012-03-17 15:41:32 +02:00
Christophe Dumez
90b520651b RSS downloader should not ignore "Do not start automatically" rule
Closes #946910.
2012-03-08 20:18:52 -08:00
Christophe Dumez
a2d9cce181 Code clean up 2012-02-20 21:46:02 +02:00
Christophe Dumez
06ccae591e Coding style changes 2012-02-20 21:32:58 +02:00
Christophe Dumez
f3448125c3 Coding style clean up 2012-02-20 19:56:07 +02:00
Christophe Dumez
a8a7b61ea9 Coding style clean up 2012-02-20 19:30:53 +02:00
Christophe Dumez
d53ca1d096 Fix import of new trackers when adding a torrent with same hash (Closes #747000) 2012-02-19 20:01:11 +02:00
Christophe Dumez
a53a70742d Drop support for libtorrent v0.14.x 2012-02-18 16:44:20 +02:00
Christophe Dumez
b43e641d21 Remove misc::removeEmptyFolder() 2012-02-18 13:38:48 +02:00
Christophe Dumez
c25586b500 Remove misc::safeRemove(): shouldn't be needed 2012-02-18 12:49:05 +02:00
Christophe Dumez
0d0c7559bf Optimize converter between QString and sha1_hash 2012-02-16 21:17:15 +02:00
Christophe Dumez
de4559659d Code clean up 2012-02-16 21:04:02 +02:00
Christophe Dumez
f6b7b8bd6e Get rid of libboost-filesystem dependency if libtorrent >= v0.16.x is used 2011-10-25 20:56:54 +03:00
Christophe Dumez
33325cdfee Update DHT bootstrap nodes 2011-10-16 11:30:50 +03:00
Christophe Dumez
422b483d78 Fix ratio calculation for purely seeded torrents 2011-10-16 09:41:59 +03:00
Christophe Dumez
74081bc6f8 Completly disable Windows cache 2011-10-08 13:36:27 +03:00
Christophe Dumez
76ca967d70 Fix torrent loading problem from Web UI on Windows. 2011-10-04 22:18:59 +03:00
Christophe Dumez
c7043d5c39 Add some more debug output 2011-10-04 19:06:16 +03:00
Christophe Dumez
2f7b20c704 Use qputenv/qgetenv from Qt for better cross compatibility 2011-10-02 17:04:16 +03:00
Christophe Dumez
341a88c2ef BUGFIX: Fix ratio calculation (use all_time_download) 2011-09-27 17:11:50 +03:00
Christophe Dumez
ce6348bc32 Code clean up 2011-09-25 15:04:51 +03:00
Christophe Dumez
5990615248 Add support for anonymous mode
This mode was added in libtorrent v0.16 and should be used in
addition to a SOCKS5 proxy.
2011-09-20 20:15:47 +03:00
Christophe Dumez
ed5e55f85d Add advanced setting to announce to all trackers 2011-09-18 20:05:30 +03:00
Christophe Dumez
94f92aa4f9 Add setting to ignore slow torrents in queueing system
Closes https://bugs.launchpad.net/qbittorrent/+bug/799703
2011-09-18 19:34:29 +03:00
Christophe Dumez
3282e53e93 Multi-tracker: announce to all trackers to avoid stalling issues
with libtorrent.
2011-09-06 19:08:55 +03:00
Christophe Dumez
8c491cc831 Disable announce_to_all_trackers to comply with the multi-tracker
specification
2011-08-08 20:49:47 +03:00
Christophe Dumez
6d9e519cdc Fix important memory usage problem in log tab 2011-06-20 22:28:55 +03:00
Christophe Dumez
921512e51d Add make dist target 2011-06-18 13:35:25 +00:00
Christophe Dumez
170b0798fd Revert recent memory fix for Windows 2011-06-11 07:49:34 +00:00
Christophe Dumez
4795e9980b Fix possible memory problem on Windows 2011-06-07 18:48:43 +00:00
Christophe Dumez
02fbd6a135 Fix compilation warnings in smtp.h (cgreco) 2011-06-05 16:08:30 +00:00
Christophe Dumez
122db6a77e Fix exceptions on Windows XP when IPv6 is disabled (Thanks paolo zambotti) 2011-05-05 16:16:20 +00:00
Christophe Dumez
b59dded2a4 Update proxy settings in Web UI 2011-05-01 12:00:23 +00:00
Christophe Dumez
65883317c3 FEATURE: Proxy can be disabled for peer connections 2011-05-01 11:22:17 +00:00