Commit graph

365 commits

Author SHA1 Message Date
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
01307b377e Improve drawing speed of transferlist with many torrents. 2013-06-29 17:58:41 +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
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
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
13e57fb9dd Merge pull request #471 from daimor/master
Correctly handle HTTP responses with gzipped encoded content.
2013-03-10 11:08:57 -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
3309706964 Allow clearing of execution log and peer ban log 2013-03-10 20:31:46 +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
sledgehammer999
0fa0be2d0e Pass the correct flag in torrent_handle::status for libtorrent > 0.15 2013-03-10 17:08:40 +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
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
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
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
d09a0f6167 "Completed On" column is not updated until restart (closes #84) 2012-09-10 21:09:22 +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
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
2747481816 Code clean up 2012-07-02 19:57:16 +03:00
Christophe Dumez
02c4be4eaa Fix "Open destination folder" functionality to consider torrent root folder 2012-07-02 19:51:26 +03:00
Christophe Dumez
85d2fd8ce0 Fix torrent availability computation 2012-06-28 18:10:22 +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
23848be6eb Fix compilation error with libtorrent v0.15 2012-05-20 16:37:22 +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
b1f1fbf114 Optimize QTorrentHandle 2012-02-21 20:12:04 +02: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
0c9dbc15f9 Remove misc::time_tToQString() 2012-02-18 15:37:51 +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
fb60a6489b Fix potential bug when moving single file torrents to tmp folder (closes #932861) 2012-02-15 21:13:42 +02:00
Christophe Dumez
9eea35f530 Fix banning of IPv6 peers 2011-12-28 11:31:46 +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
Christophe Dumez
7381b0dcf6 Code clean up 2011-04-23 17:20:44 +00:00
Christophe Dumez
8589eb7c0f Code optimization 2011-04-21 18:57:43 +00:00
Christophe Dumez
284fbf5512 Code clean up 2011-04-21 15:16:54 +00:00
Christophe Dumez
52e7d4ad03 Simplify uTP settings 2011-04-17 18:11:03 +00:00
Christophe Dumez
b41bcdc605 Make use of new libtorrent feature to set file priorities before adding a torrent 2011-04-17 15:27:18 +00:00
Christophe Dumez
0ead6f72c6 Code optimization 2011-04-17 15:00:48 +00:00
Christophe Dumez
104ebbc9a1 Save fast resume data periodically only for torrents that need it 2011-04-17 14:54:47 +00:00
Christophe Dumez
982098a205 Avoid saving fast resume data twice upon exit under certain conditions 2011-04-17 14:52:25 +00:00
Christophe Dumez
641b38690c Added uTP support 2011-04-17 14:42:38 +00:00
Christophe Dumez
ea433c0619 Fix error in last commit 2011-04-17 10:36:50 +00:00
Christophe Dumez
8847df60e1 Fix another deprecation warning with libtorrent v0.16 2011-04-17 10:36:28 +00:00
Christophe Dumez
3995af6489 Initial port to libtorrent v0.16 2011-04-17 10:29:44 +00:00
Christophe Dumez
4412476109 Started to fix compilation with libtorrent v0.16 2011-04-16 20:08:32 +00:00
Christophe Dumez
c85cb8799e FEATURE: qBittorrent can update dynamic DNS services (DynDNS, no-ip) 2011-04-15 13:02:39 +00:00
Christophe Dumez
fd4f46485c Improve last patch 2011-04-13 17:32:28 +00:00
Christophe Dumez
3154461f28 Fix initialization problem with some private trackers 2011-04-13 17:18:56 +00:00
Christophe Dumez
da32321f10 FEATURE: Added UPnP/NAT-PMP port forward for the Web UI port 2011-04-12 19:50:05 +00:00
Christophe Dumez
fd8157f6ba Do not delete unwanted files that were already present when adding the torrent 2011-04-10 15:00:27 +00:00
Christophe Dumez
58bfa6f1bb FEATURE: Added support for secure SMTP connection (SSL)
FEATURE: Added support for SMTP authentication
2011-04-09 17:39:51 +00:00
Christophe Dumez
0a6f591cf5 Remove stylesheets from options.ui 2011-04-09 09:03:04 +00:00
Christophe Dumez
2a4abe6a77 Fix nox compilation 2011-04-05 17:29:55 +00:00
Christophe Dumez
c63503aaa6 Use ConsoleKit to shutdown the system instead of HAL (deprecated)
use UPower to suspend the system instead of HAL (deprecated)
Rewrote computer shutdown/suspend code to avoid data loss
2011-04-05 16:22:16 +00:00
Christophe Dumez
a24dc147ab Sync program preferences before computer shutdown to avoid loss 2011-03-26 08:37:42 +00:00
Christophe Dumez
78fe44ec01 Process alerts more frequently 2011-03-19 15:48:45 +00:00
Christophe Dumez
536bd85fd0 Another fix for torrent addition from Web browser 2011-03-19 13:58:34 +00:00
Christophe Dumez
53b6a25442 Added %n (torrent name) parameter to external program call 2011-03-18 18:28:19 +00:00
Christophe Dumez
a4c1b93a42 Added debug output 2011-03-14 19:18:52 +00:00
Christophe Dumez
e142aafea1 Do not report torrent being checked as queued 2011-03-13 09:40:31 +00:00
Christophe Dumez
09da69918e Make sure the .unwanted folder is removed on soft deletion 2011-03-13 09:28:27 +00:00
Christophe Dumez
e0c2e3dd2c Code clean up 2011-03-13 09:13:13 +00:00
Christophe Dumez
15d3b07f34 Improve folder removal behavior 2011-03-10 18:34:28 +00:00
Christophe Dumez
feeecbf395 Fix root folder being cut off if the torrent comes from a scanned folder (Christian Kandeler) 2011-03-10 17:46:56 +00:00
Christophe Dumez
879a010c3d Code clean up: Use Qt for File I/O instead of boost 2011-03-10 17:36:11 +00:00
Christophe Dumez
82e41f36ee FEATURE: Added per-torrent ratio limiting (Christian Kandeler) 2011-03-07 19:26:44 +00:00
Christophe Dumez
d06e0b639e Fix compilation with Qt 4.6 2011-03-03 19:20:49 +00:00
Christophe Dumez
d1cfb4f066 Should fix writings on NTFS when using Linux 2011-03-03 19:10:18 +00:00
Christophe Dumez
efa1f4ebb4 Fix compilation with libtorrent v0.14 2011-03-03 18:19:42 +00:00
Christophe Dumez
c2e5ecaaa0 BUGFIX: Fix compilation with namespaced Qt (Christian Kandeler) 2011-02-27 15:41:05 +00:00
Christophe Dumez
8b9971003d FEATURE: Added option to bypass Web UI authentication for localhost 2011-02-27 09:34:42 +00:00
Christophe Dumez
79cdad47f1 Code optimization 2011-02-26 19:56:15 +00:00