Commit graph

262 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Christophe Dumez
c05e6ba580 Fix compilation error on Windows
Fix possible encoding problem on Windows (torrent creation tool)
Fix compilation with boost >= v1.46
2011-02-26 15:04:15 +00:00
Christophe Dumez
2da5e03741 Share ratio can now go over 100 2011-02-24 17:36:20 +00:00
Christophe Dumez
217937217d Fix torrent upload from Web UI (Windows) 2011-02-22 18:35:42 +00:00
Christophe Dumez
af1dfd41ab Disable OS cache for aligned files to reduce memory consumption
Code cleanup
2011-02-22 18:02:15 +00:00
Christophe Dumez
12d1e852f4 Another encoding fix 2011-02-10 18:59:55 +00:00
Christophe Dumez
802d262776 Revert encoding changes since they appear to be wrong 2011-02-10 18:48:31 +00:00
Christophe Dumez
04b63829d7 Fix download from URLs on Windows
Fix possible encoding problems in paths (Windows)
2011-02-07 20:13:46 +00:00
Christophe Dumez
c5a831b8ec Use slashes instead of antislashes in URLs (Windows) 2011-02-07 17:10:06 +00:00
Christophe Dumez
4c7a5633da FEATURE: IP address reported to trackers is now customizable 2011-02-05 15:44:48 +00:00
Christophe Dumez
76d3e9033d FEATURE: Added auto-shutdown confirmation dialog 2011-02-05 14:51:31 +00:00
Christophe Dumez
8238c13dc0 Performance improvement on ARM 2011-01-25 17:04:55 +00:00
Christophe Dumez
783004ae58 Some more code clean up 2011-01-24 17:58:57 +00:00
Christophe Dumez
47c2f2e30a Stop using load_file from libtorrent 2011-01-23 19:31:48 +00:00
Christophe Dumez
d24abc3088 Fix labeling in RSS downloader 2011-01-15 18:23:19 +00:00
Christophe Dumez
ab8e35b6b4 Really get rid of nox dependency in nox mode 2011-01-15 08:48:20 +00:00
Christophe Dumez
22c785b951 Code clean up 2011-01-13 20:57:10 +00:00
Christophe Dumez
eb0053fe48 Fix possible crashes in full allocation mode 2011-01-13 20:38:38 +00:00
Christophe Dumez
e931209860 Fix possible crash on adding magnet links 2011-01-12 16:53:11 +00:00
Christophe Dumez
ae3632e5c1 Fix typo 2011-01-10 21:00:45 +00:00
Christophe Dumez
a62169001e Remove outdated comment 2011-01-09 17:16:51 +00:00
Christophe Dumez
c1aec8671a Added back removal of uneeded files on torrent deletion (but not do remove the ones that are complete) 2011-01-08 13:41:15 +00:00
Christophe Dumez
01b9e5c754 Stop removing unneeded files on torrent soft deletion since those are hidden now 2011-01-08 13:36:29 +00:00
Christophe Dumez
3ccb2fddff BUGFIX: Do not allocate space for unwanted files (preallocation mode) 2011-01-08 13:31:57 +00:00
Christophe Dumez
b03fa32624 Avoid possible crash on exit when the IP filter is enabled 2011-01-03 21:24:57 +00:00
Christophe Dumez
30d94d7c4d Prioritize first and last pieces when sequential download is enabled 2011-01-02 14:00:23 +00:00
Christophe Dumez
1b08c087c0 FEATURE: Added auto-suspend upon downloads completion feature 2010-12-31 13:36:32 +00:00
Christophe Dumez
5696944c6f Code clean up 2010-12-30 19:12:03 +00:00
Christophe Dumez
cc4e1c5bbe Remove empty folders on torrent soft deletion
Code clean up
2010-12-29 20:29:55 +00:00
Christophe Dumez
be32669baf Fix scan directories saving (closes #694768) 2010-12-27 19:26:21 +00:00
Christophe Dumez
b060f967d7 FEATURE: Added a button to reload the IP filter 2010-12-25 14:47:52 +00:00
Christophe Dumez
af63ba9a8d FEATURE: Give feedback regarding the IP filter parsing 2010-12-25 14:07:28 +00:00
Christophe Dumez
897d0be08e Display execution log as a tab instead of a modal window 2010-12-20 18:07:36 +00:00
Christophe Dumez
4614764552 Fix possible encoding problem on non-utf8 systems 2010-12-18 18:51:24 +00:00
Christophe Dumez
d124c24e89 Improved ETA calculation 2010-12-18 15:34:38 +00:00
Christophe Dumez
15ab369f62 Fix possibly uncaught invalid_handle exception 2010-12-18 08:45:39 +00:00
Christophe Dumez
e72d9de34a Make sure we don't move completed torrent to the temp directory for checking 2010-12-11 19:30:14 +00:00
Christophe Dumez
ec37673a21 Simplify program preferences 2010-12-05 16:36:02 +00:00
Christophe Dumez
3feffdf8fa Started to simplify program preferences (merged UPnP/NAT-PMP) 2010-12-05 16:29:18 +00:00
Christophe Dumez
b41aa38f39 Code clean up 2010-12-04 14:15:16 +00:00
Christophe Dumez
79e595c195 Code optimization 2010-12-02 17:36:08 +00:00
Christophe Dumez
ebf252ce86 Added debug 2010-12-02 17:20:25 +00:00
Christophe Dumez
efe5ca6242 Added debug 2010-12-02 17:10:34 +00:00
Christophe Dumez
0dbcf5653d Code clean up 2010-12-02 17:02:13 +00:00
Christophe Dumez
6744ee8a4d BUGFIX: Improve magnet save path handling (clsoes #683395) 2010-12-01 19:20:27 +00:00
Christophe Dumez
20630e91ec Simplified addMagnetUri function 2010-12-01 19:05:26 +00:00
Christophe Dumez
5d86930c80 Fix qBtSession important initialization problem
Fix qBittorrent shutdown problem (closes #682576)
2010-11-29 16:55:23 +00:00
Christophe Dumez
0fcbcd0dcd Fix to advanced properties 2010-11-28 21:12:42 +00:00
Christophe Dumez
e5eaea8949 Code clean up 2010-11-28 12:25:24 +00:00
Christophe Dumez
3b3642bbba Initial support for libtorrent v0.16 (still a lot of deprecation warning but it compiles...) 2010-11-28 10:29:59 +00:00
Christophe Dumez
28eddb74ed Updated Hungarian translation, added some debug 2010-11-27 08:56:24 +00:00
Christophe Dumez
19db0d471f Signal / slot fixes 2010-11-24 20:31:14 +00:00
Christophe Dumez
8a5dc1f239 Fix compilation on Windows (Remove using namespace libtorrent; from headers) 2010-11-22 21:55:32 +00:00
Christophe Dumez
efe5e7b068 Cleaned up QBtSession destructor code 2010-11-22 19:14:50 +00:00
Christophe Dumez
d8af5d681c Fix possible infinite loop in qBtSession constructor (when Web UI is enabled) 2010-11-21 19:46:06 +00:00
Christophe Dumez
0b9f9aa0d7 Fix compilation errors with libtorrent < 0.15.5 2010-11-21 09:58:24 +00:00
Christophe Dumez
c77eb35f5b FEATURE: Optimized and improved the peer country resolution code
FEATURE: Optimized and improved the locale preferences code
COSMETIC: Use country flags by Mark James (Thanks to Dmytro Pukha)
2010-11-20 15:59:17 +00:00
Christophe Dumez
a3db4790a7 Simplified proxy settings
Fix deprecation warnings with libtorrent v0.15.4+
2010-11-18 20:05:56 +00:00
Christophe Dumez
299b0f90bc Fix qbittorrent-nox compilation errors
Silent a compilation warning in qbtsession when using libtorrent v0.14.x
2010-11-18 18:36:45 +00:00
Christophe Dumez
e5032a52c4 Importance code refactoring related to the "preferences" code - Greatly improves performance 2010-11-16 20:34:31 +00:00
Christophe Dumez
3144bfebc7 Fix possible issue with queueing 2010-11-15 17:51:58 +00:00
Christophe Dumez
5cd376d2c3 Code clean up 2010-11-14 19:22:39 +00:00
Christophe Dumez
9c67aaf641 Several fixes to the new torrent model (still buggy) 2010-11-14 18:46:16 +00:00
Christophe Dumez
126e2e7c75 Code clean up 2010-11-13 21:15:52 +00:00
Christophe Dumez
e11545c8a3 Fix crash when hiding RSS and then showing it again 2010-11-13 20:14:59 +00:00
Christophe Dumez
c387c15eb0 Fix possible rule saving issue
Matching articles are now previewable in the rss downloader dialog
Make sure Rss downloading is enabled before checking for matching rules
2010-11-13 19:36:46 +00:00
Christophe Dumez
8b83d60732 Made good progress on the new rss feed downloader 2010-11-13 10:49:22 +00:00
Christophe Dumez
390508e7db Fix possible crash on qBittorrent shutdown 2010-10-31 14:19:55 +00:00
Christophe Dumez
6c1eda8755 Code optimization
Made code to listen on a particular interface more robust
2010-10-30 22:40:28 +00:00
Christophe Dumez
bee507cb45 Fix possible crash when deleting a torrent without metadata 2010-10-28 16:50:45 +00:00
Christophe Dumez
166dad51d5 FEATURE: qBittorrent can update itself from Sourceforge (Windows/Mac OS X only) 2010-10-23 21:46:05 +00:00
Christophe Dumez
90dd337069 FEATURE: Added a torrent import assistant to seed or keep downloading outside torrents 2010-10-23 16:21:56 +00:00
Christophe Dumez
46b75b760f Auto-disable to auto-shutdown feature 2010-10-21 16:54:10 +00:00