Compare commits
309 Commits
master
...
archive/1.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3f664bac2 | ||
|
|
7e2eb46371 | ||
|
|
50b4e5d9d7 | ||
|
|
1877078a1d | ||
|
|
34824793f2 | ||
|
|
c10a83d0aa | ||
|
|
c69ed31bd8 | ||
|
|
d91990d69f | ||
|
|
ede6ebe35d | ||
|
|
9bf484361a | ||
|
|
f3c5c943f1 | ||
|
|
46b27daaa9 | ||
|
|
0e15874d7d | ||
|
|
d43cca556d | ||
|
|
077073e059 | ||
|
|
2bde2c823b | ||
|
|
84499c1cc1 | ||
|
|
e7914ed520 | ||
|
|
cbb7c6119d | ||
|
|
808758cd16 | ||
|
|
983440ab20 | ||
|
|
dab76ff653 | ||
|
|
27917fa769 | ||
|
|
53db6a2e01 | ||
|
|
a3186c642c | ||
|
|
9c2db32532 | ||
|
|
4b58aa10ea | ||
|
|
107c2aca80 | ||
|
|
9117823cbd | ||
|
|
52e1c0d8cd | ||
|
|
8fac7ed86e | ||
|
|
fad83d56e8 | ||
|
|
42c6af12e0 | ||
|
|
4427e612af | ||
|
|
2dcc3368b0 | ||
|
|
ad252697bc | ||
|
|
e38ce4fb20 | ||
|
|
f7d6dcb425 | ||
|
|
d35de1986b | ||
|
|
b18f1cddbc | ||
|
|
00cf7a8f34 | ||
|
|
1afef3425f | ||
|
|
18cc95933a | ||
|
|
aeb6b96987 | ||
|
|
318b81f62b | ||
|
|
14e34c8f03 | ||
|
|
cfec86be75 | ||
|
|
0fe3d4d1af | ||
|
|
f42564b1aa | ||
|
|
ae1ac12ff8 | ||
|
|
b96833d92c | ||
|
|
49ea917368 | ||
|
|
0aacfca848 | ||
|
|
ebd6229c77 | ||
|
|
fb0d46fefe | ||
|
|
964c5fbc4f | ||
|
|
b70aabd129 | ||
|
|
0f73da5a6a | ||
|
|
8a2d110ef6 | ||
|
|
eefa2f49a0 | ||
|
|
1f94e7db20 | ||
|
|
ce54df008a | ||
|
|
88346a5722 | ||
|
|
98f65f13cf | ||
|
|
d880cfa8d2 | ||
|
|
f9d30b7071 | ||
|
|
80ab83b363 | ||
|
|
bb4927d513 | ||
|
|
2f64f74325 | ||
|
|
442a42a1e2 | ||
|
|
342ddbe4ad | ||
|
|
9601ca2f86 | ||
|
|
e0356b7f10 | ||
|
|
9698b36523 | ||
|
|
840eff412e | ||
|
|
37471572da | ||
|
|
f046f0e1cf | ||
|
|
ab76923de3 | ||
|
|
b20c95bb6a | ||
|
|
045533bcb8 | ||
|
|
3106f54c35 | ||
|
|
ba6b6cfd77 | ||
|
|
4e4fbbc87c | ||
|
|
dac3c5d3e9 | ||
|
|
1ca215d8f5 | ||
|
|
7dff5178e6 | ||
|
|
87a8085ef7 | ||
|
|
4f59847ef7 | ||
|
|
257f3274d0 | ||
|
|
810f332ae8 | ||
|
|
1d49ec4bfb | ||
|
|
49d2a544a8 | ||
|
|
5e13fae1ee | ||
|
|
613ca12bc2 | ||
|
|
1e38e4865d | ||
|
|
3ae023774f | ||
|
|
790dcc49ca | ||
|
|
43c8d0ead2 | ||
|
|
87cc010d5b | ||
|
|
65c8b04723 | ||
|
|
c5ffbd04e8 | ||
|
|
80318855f9 | ||
|
|
040337982f | ||
|
|
e89251b545 | ||
|
|
0661c70594 | ||
|
|
3b1e93bf88 | ||
|
|
43d5df5a0a | ||
|
|
3ef8ddac10 | ||
|
|
b72ae5d5cc | ||
|
|
bacb57a795 | ||
|
|
45eecc5c25 | ||
|
|
8a092a2f79 | ||
|
|
12a6be4e20 | ||
|
|
bf7b9ec09f | ||
|
|
10181dc7ee | ||
|
|
30cb3673f1 | ||
|
|
5ce2bbcbcc | ||
|
|
feaee5f344 | ||
|
|
97fb9f8aee | ||
|
|
dd86ac9bcc | ||
|
|
1fbf983ff6 | ||
|
|
e4c72c7dce | ||
|
|
0c9a3751e4 | ||
|
|
0e9c61d4be | ||
|
|
b5fdadc2aa | ||
|
|
7d10b60811 | ||
|
|
87e77565fc | ||
|
|
ce191efc54 | ||
|
|
3360c9c754 | ||
|
|
63c314843e | ||
|
|
be2b266ba8 | ||
|
|
1458db6b03 | ||
|
|
16ba61dbf5 | ||
|
|
46352b6f13 | ||
|
|
82d15c856a | ||
|
|
5315620ca2 | ||
|
|
40d6716e74 | ||
|
|
efec531c75 | ||
|
|
cc7e6d1ff2 | ||
|
|
e2b9d5d936 | ||
|
|
5f8fef7996 | ||
|
|
03a37062d4 | ||
|
|
0534b24609 | ||
|
|
130d7c08a0 | ||
|
|
ea6a6ec9bc | ||
|
|
d0da82de21 | ||
|
|
8cc74af9c3 | ||
|
|
f75c0cf096 | ||
|
|
244ba86b8a | ||
|
|
054cc120de | ||
|
|
fbdb1479ad | ||
|
|
ec8c45e940 | ||
|
|
1b29b6bfc9 | ||
|
|
158bfbcb6e | ||
|
|
a37d739b0b | ||
|
|
353795f02a | ||
|
|
798b27cf34 | ||
|
|
acd64e6381 | ||
|
|
70c588dba6 | ||
|
|
8d10642ec7 | ||
|
|
76eac8b51c | ||
|
|
a168265753 | ||
|
|
eafb404b7b | ||
|
|
fa42b06e34 | ||
|
|
56b806ce78 | ||
|
|
c2427ccb7d | ||
|
|
090de9bfa8 | ||
|
|
cd2084b421 | ||
|
|
4b5dc6bc28 | ||
|
|
9486b24907 | ||
|
|
7ee5547066 | ||
|
|
c432b82e69 | ||
|
|
26d58d4057 | ||
|
|
1cf863a022 | ||
|
|
8660209d28 | ||
|
|
bbd862e086 | ||
|
|
f7f00de52c | ||
|
|
baaafefb89 | ||
|
|
262279b27f | ||
|
|
3c33018079 | ||
|
|
fb23f229fb | ||
|
|
2e3a9ce28c | ||
|
|
a0f90acfc8 | ||
|
|
34d34b785c | ||
|
|
90053270d5 | ||
|
|
a1df9626e5 | ||
|
|
84e58626a9 | ||
|
|
761586b2a8 | ||
|
|
57f1409a55 | ||
|
|
14bfebdb98 | ||
|
|
95e40aa64b | ||
|
|
b246457b91 | ||
|
|
0c39331295 | ||
|
|
66c986c305 | ||
|
|
ccfead4e6c | ||
|
|
88e5c07564 | ||
|
|
40633277d8 | ||
|
|
d60c595599 | ||
|
|
fc6edca315 | ||
|
|
bd8dcbce91 | ||
|
|
7adf503bb6 | ||
|
|
67c0069c7a | ||
|
|
4094601f6e | ||
|
|
3178582312 | ||
|
|
2f6d98693d | ||
|
|
1e4f53b716 | ||
|
|
4731d4814f | ||
|
|
584226db96 | ||
|
|
135a0ca7e9 | ||
|
|
892e642502 | ||
|
|
6f7e814e76 | ||
|
|
39e8fd772b | ||
|
|
2a5e346313 | ||
|
|
4fb8fe54c9 | ||
|
|
acf59dd287 | ||
|
|
f2d80343c7 | ||
|
|
f15971bdeb | ||
|
|
6afe33d584 | ||
|
|
53853f043e | ||
|
|
bc0612d951 | ||
|
|
edb60072f5 | ||
|
|
b1dbca37c3 | ||
|
|
7bde1e549a | ||
|
|
9e04988422 | ||
|
|
cccd1b8436 | ||
|
|
5f20e2139d | ||
|
|
ab9842e4c1 | ||
|
|
240c60aa74 | ||
|
|
d8bdaff0cc | ||
|
|
4a4ffdab63 | ||
|
|
d83a748401 | ||
|
|
dac94c5038 | ||
|
|
ed5e080b6d | ||
|
|
cbab9cd823 | ||
|
|
971308416b | ||
|
|
8564f45e59 | ||
|
|
6948c81d01 | ||
|
|
7665f5394a | ||
|
|
7b31434287 | ||
|
|
bba9c1a54f | ||
|
|
73b3ff8a0f | ||
|
|
67b85a9f89 | ||
|
|
165b97751d | ||
|
|
26fc7cf13f | ||
|
|
c0cced9747 | ||
|
|
cd391ca749 | ||
|
|
8ecc336152 | ||
|
|
9280a9609e | ||
|
|
a118d3e7d5 | ||
|
|
61b9e4ae0e | ||
|
|
1a9376b7ea | ||
|
|
2edaeae60e | ||
|
|
01ed7d6012 | ||
|
|
3152dd1a9a | ||
|
|
560604ade9 | ||
|
|
766a055d65 | ||
|
|
073f8ff544 | ||
|
|
43982adc3a | ||
|
|
922e34f025 | ||
|
|
bf69584b99 | ||
|
|
470deeb8ed | ||
|
|
d880015eae | ||
|
|
f6b6a44d4c | ||
|
|
4332627a33 | ||
|
|
6182d5f14b | ||
|
|
40ab319f64 | ||
|
|
a2e0eae18a | ||
|
|
f5b398aaea | ||
|
|
9402ab1781 | ||
|
|
e10a02b4e2 | ||
|
|
26eb9e9658 | ||
|
|
4d1ff54c03 | ||
|
|
c861110047 | ||
|
|
1170675310 | ||
|
|
7e56c5568c | ||
|
|
8eb7eb7dae | ||
|
|
f23520664a | ||
|
|
ce638455fd | ||
|
|
21050caaa6 | ||
|
|
325746bfa0 | ||
|
|
f853ac209b | ||
|
|
da309c66c3 | ||
|
|
897ef1135d | ||
|
|
ab89338dac | ||
|
|
537c596e21 | ||
|
|
d03d1f1483 | ||
|
|
af25aee9e2 | ||
|
|
ad6f16f69d | ||
|
|
78eabc66a8 | ||
|
|
feb54cd785 | ||
|
|
c873360ca6 | ||
|
|
10ad76b2f4 | ||
|
|
63ede39505 | ||
|
|
f26f9c6331 | ||
|
|
2102c0b910 | ||
|
|
d71b4a132e | ||
|
|
e3a55b8923 | ||
|
|
a5178a875c | ||
|
|
9d416efbd2 | ||
|
|
e481be0ccd | ||
|
|
4abb436e34 | ||
|
|
753f624805 | ||
|
|
063564655e | ||
|
|
54a3e04e26 | ||
|
|
bbee37f54f | ||
|
|
ca7ad6daf3 | ||
|
|
f4ccc4bd79 | ||
|
|
fc717fbc0e | ||
|
|
0e6f48d1de |
213
ChangeLog
213
ChangeLog
@ -1,4 +1,215 @@
|
|||||||
Deluge 0.9.03 - "1.0.0_RC3" (In-Development)
|
Deluge 1.0.7 (10 December 2008)
|
||||||
|
GtkUI:
|
||||||
|
* Fix #636 not setting the daemon's config directory when using --config= with the UI in classic mode.
|
||||||
|
* Fix some minor bugs in ConnectionManager
|
||||||
|
|
||||||
|
Debian:
|
||||||
|
* Fix #571 notification-daemon-xfce dependency circle
|
||||||
|
|
||||||
|
Misc:
|
||||||
|
* Fix #547 add description to name field per HIG entry 2.1.1.1
|
||||||
|
* libtorrent updates
|
||||||
|
|
||||||
|
Plugins:
|
||||||
|
* Point default blocklist url to our server and up interval to 4 days
|
||||||
|
|
||||||
|
Deluge 1.0.6 (01 December 2008)
|
||||||
|
Core:
|
||||||
|
* Fix #475 catch unicode decoding errors
|
||||||
|
* Add an option to not include IP overhead in rate limiting (this is equivalent
|
||||||
|
to how 0.5.x behaves)
|
||||||
|
* Have default blocklist url point to our server
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Display the proper downloaded value in the statistics tab
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
* Fix broken graphic in new release dialog
|
||||||
|
|
||||||
|
Deluge 1.0.5 (09 November 2008)
|
||||||
|
GtkUI:
|
||||||
|
* Increase the per-torrent stop share ratio max to 99999.0
|
||||||
|
* Fix #528 make sure gtkui config file is written before exiting
|
||||||
|
* Fix UDP tracker support
|
||||||
|
|
||||||
|
WebUi:
|
||||||
|
* Javascript auto refresh for both templates.
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
* Fix #577 adding torrents by drag n' drop
|
||||||
|
* Fix association in Vista
|
||||||
|
* Fix WebUI launch
|
||||||
|
|
||||||
|
Debian:
|
||||||
|
* SID packages now requires Boost 1.36
|
||||||
|
|
||||||
|
Ubuntu:
|
||||||
|
* Jaunty packages are now provided
|
||||||
|
|
||||||
|
Deluge 1.0.4 (31 October 2008)
|
||||||
|
Core:
|
||||||
|
* Fix #560 force an int value for global max connections
|
||||||
|
* Fix #545 use proper values in ratio calculation
|
||||||
|
* Fix UPnP again..
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Fix #565 wait for the deluged process to start to prevent defunct processes
|
||||||
|
|
||||||
|
OS X:
|
||||||
|
* Fix issues with gettext
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
* Fix starting on non-English versions of Windows
|
||||||
|
|
||||||
|
Deluge 1.0.3 (18 October 2008)
|
||||||
|
Core:
|
||||||
|
* Fix upnp - it should work on more routers now too
|
||||||
|
* Fix issue where Deluge would send improper stats to the tracker after a
|
||||||
|
pause/resume.
|
||||||
|
* Fix issue where fastresume files would be rejected when using FAT32. This
|
||||||
|
would cause the torrent to be rechecked on every startup.
|
||||||
|
* Fix ip filtering
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Re-add the "Max Connections Per Second" option with a default setting of 20
|
||||||
|
|
||||||
|
WebUI:
|
||||||
|
* Fix White template for Opera
|
||||||
|
|
||||||
|
Misc:
|
||||||
|
* Deluge will now use a system libtorrent library if available.
|
||||||
|
* The build system will no longer build libtorrent if a system library is
|
||||||
|
detected.
|
||||||
|
|
||||||
|
Deluge 1.0.2 (10 October 2008)
|
||||||
|
Core:
|
||||||
|
* Fix issue where torrents will not be properly added to the session
|
||||||
|
|
||||||
|
Deluge 1.0.1 (10 October 2008)
|
||||||
|
Core:
|
||||||
|
* Change the default max global upload slots to 4 instead of -1 since libtorrent
|
||||||
|
will automatically open more slots to meet the upload speed limit.
|
||||||
|
* Fix display of tracker error messages
|
||||||
|
* Fix add_torrent_url() to download the torrent file in a thread to prevent
|
||||||
|
the main thread from blocking and causing the daemon to freeze.
|
||||||
|
* Removed the 'Maximum Connections Per Second' setting and replaced it with a
|
||||||
|
default setting of 20. This should alleviate speed issues some are experiencing.
|
||||||
|
* Changed max half-open connections default limit to 8 on XP/2000 and 4 on Vista
|
||||||
|
* Prevent being able to set file priorities for compactly allocated torrents as
|
||||||
|
it is not intended to work.
|
||||||
|
* Fix freezing on start-up issues on systems that do not have a properly
|
||||||
|
configured localhost entry.
|
||||||
|
* Change max connections default setting to 200
|
||||||
|
* Fix issue with invalid bencoding from some trackers
|
||||||
|
* Plenty of libtorrent updates that should improve core stability
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Improve performance of files tab by only updating when values change
|
||||||
|
|
||||||
|
Misc:
|
||||||
|
* Fix #187 set a 5 second timer to save the config file after a config value
|
||||||
|
has been changed.
|
||||||
|
* Fix #503 change the boost lib detection logic to first look for -mt and
|
||||||
|
if not available, fall back to regular boost lib (non-multithreaded)
|
||||||
|
|
||||||
|
WebUI:
|
||||||
|
* Add enable "Auto Add" checkbox
|
||||||
|
|
||||||
|
Deluge 1.0.0 - "Sharks Are Bulletproof" (21 September 2008)
|
||||||
|
Core:
|
||||||
|
* Include GeoIP database for country look-ups
|
||||||
|
* Fix upgrading from 0.5.x state where torrents would have no trackers
|
||||||
|
|
||||||
|
Deluge 0.9.09 - "1.0.0_RC9" (15 September 2008)
|
||||||
|
Core:
|
||||||
|
* Bug fixes in libtorrent including a crash when the tracker doesn't
|
||||||
|
have 'announce' in it's url.
|
||||||
|
* Fix fastresume issue causing loss of data by deleting the fastresume file
|
||||||
|
before writing a new one
|
||||||
|
* Fix #475 the use of unicode paths when adding torrents
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Fix add torrent dialog closing preventing another dialog from being shown
|
||||||
|
* Fix various issues when not using English
|
||||||
|
* Fix setting file priorities on folders
|
||||||
|
|
||||||
|
Deluge 0.9.08 - "1.0.0_RC8" (27 August 2008)
|
||||||
|
Core:
|
||||||
|
* Attempt to automatically upgrade a 0.5.x state file to new format
|
||||||
|
* Tracker errors now change the tracker status
|
||||||
|
|
||||||
|
Plugins:
|
||||||
|
* Fix bug in Blocklist that prevented downloading a new file every X days
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Sort filenames alphabetically in add torrent dialog
|
||||||
|
* Fix setting file priorities on folders
|
||||||
|
* Fix #453 allow showing of text in the toolbar buttons
|
||||||
|
|
||||||
|
Deluge 0.9.07 - "1.0.0_RC7" (18 August 2008)
|
||||||
|
Core:
|
||||||
|
* Fix loading torrents from state when fastresume file is missing
|
||||||
|
* Fix UPnP
|
||||||
|
* Fix to prevent Deluge from segfaulting when trying to autoadd an incomplete torrent file
|
||||||
|
* Fix #407 possible negative ETA
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Add 'edit' to edit trackers dialog
|
||||||
|
* Improve performance of initial torrent list load
|
||||||
|
* Fix hiding the bottom pane when disabling all the tabs
|
||||||
|
* Fix not showing new torrents if you don't use the All label first
|
||||||
|
* Fix size units to be more accurate
|
||||||
|
* Fix torrentview sorting to be persistent
|
||||||
|
* Fix not displaying file list when state changes
|
||||||
|
* Expand root folder in files tab by default
|
||||||
|
|
||||||
|
Null:
|
||||||
|
* Fix #415 crash when using 'config-set' with no parameters
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
* Fix Vista slowness issue
|
||||||
|
* Fix properly shutting Deluge down when system shuts down
|
||||||
|
* Fix opening folders/files
|
||||||
|
|
||||||
|
Deluge 0.9.06 - "1.0.0_RC6" (13 August 2008)
|
||||||
|
Core:
|
||||||
|
* Fix CPU spikes
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Fix move storage dialog when connected to a remote daemon
|
||||||
|
|
||||||
|
Deluge 0.9.05 - "1.0.0_RC5" (04 August 2008)
|
||||||
|
Core:
|
||||||
|
* Fix deluged running with ssh X forwarding by removing the Gnome lib import
|
||||||
|
* Save resume data periodically to help prevent data loss
|
||||||
|
* Fix queue order shuffling on restart
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Handle shutting down more cleanly
|
||||||
|
* Add translators to credits
|
||||||
|
|
||||||
|
Plugins:
|
||||||
|
* Improve the Blocklist plugin preferences page.
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
* Fix drag n' drop support
|
||||||
|
|
||||||
|
Deluge 0.9.04 - "1.0.0_RC4" (29 July 2008)
|
||||||
|
Core:
|
||||||
|
* Fix building with gcc 4.3
|
||||||
|
* Fix do not create torrentfiles folder unless 'copy_torrent_file' is True
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Add drag n' drop support for adding .torrent files
|
||||||
|
* Double-clicking on host in ConnectionManager now will connect to that host
|
||||||
|
* Fix selecting torrents when right-clicking on them in torrentview and filestab
|
||||||
|
* Fix new release check
|
||||||
|
* Display 'total_wanted' instead of 'total_size' in Size column
|
||||||
|
* Fix displaying of torrents when language is not English
|
||||||
|
* Fix the view options to be persistent between sessions
|
||||||
|
* Fix signalreceiver when switching between daemons
|
||||||
|
|
||||||
|
Deluge 0.9.03 - "1.0.0_RC3" (21 July 2008)
|
||||||
Core:
|
Core:
|
||||||
* File progress fixes from libtorrent
|
* File progress fixes from libtorrent
|
||||||
* Fix building on FreeBSD
|
* Fix building on FreeBSD
|
||||||
|
|||||||
621
LICENSE
Normal file
621
LICENSE
Normal file
@ -0,0 +1,621 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 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.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
92
README
Normal file
92
README
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
==========================
|
||||||
|
Deluge BitTorrent Client
|
||||||
|
==========================
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
Andrew Resch
|
||||||
|
Marcos Pinto
|
||||||
|
Martijn Voncken
|
||||||
|
Sadrul Habib Chowdhury
|
||||||
|
|
||||||
|
Homepage: http://deluge-torrent.org
|
||||||
|
|
||||||
|
==========================
|
||||||
|
License
|
||||||
|
==========================
|
||||||
|
Deluge is under the GNU GPLv3 license.
|
||||||
|
Icon data/pixmaps/deluge.svg and derivatives in data/icons are copyright
|
||||||
|
Andrew Wedderburn and are under the GNU GPLv3.
|
||||||
|
All other icons in data/pixmaps are copyright Andrew Resch and are under
|
||||||
|
the GNU GPLv3.
|
||||||
|
|
||||||
|
==========================
|
||||||
|
Contact/Support:
|
||||||
|
==========================
|
||||||
|
|
||||||
|
We have two options available for support:
|
||||||
|
|
||||||
|
Our Forum, at http://forum.deluge-torrent.org
|
||||||
|
or
|
||||||
|
Our IRC Channel, at #deluge on Freenode
|
||||||
|
|
||||||
|
==========================
|
||||||
|
Installation Instructions:
|
||||||
|
==========================
|
||||||
|
|
||||||
|
First, make sure you have the proper build dependencies installed. On a normal
|
||||||
|
Debian or Ubuntu system:
|
||||||
|
|
||||||
|
sudo apt-get install g++ make python-all-dev python-all python-dbus \
|
||||||
|
python-gtk2 python-notify librsvg2-common python-xdg python-support \
|
||||||
|
subversion libboost-dev libboost-python-dev libboost-iostreams-dev \
|
||||||
|
libboost-thread-dev libboost-date-time-dev libboost-filesystem-dev \
|
||||||
|
libboost-serialization-dev libssl-dev zlib1g-dev python-setuptools
|
||||||
|
|
||||||
|
The names of the packages may vary depending on your OS / distro.
|
||||||
|
|
||||||
|
Once you have the needed libraries installed, build and install by running:
|
||||||
|
|
||||||
|
$ python setup.py build
|
||||||
|
$ sudo python setup.py install
|
||||||
|
|
||||||
|
|
||||||
|
==========================
|
||||||
|
FAQ
|
||||||
|
==========================
|
||||||
|
|
||||||
|
How to start the various user-interfaces
|
||||||
|
|
||||||
|
Gtk:
|
||||||
|
deluge --ui gtk
|
||||||
|
Console:
|
||||||
|
deluge --ui null
|
||||||
|
Web:
|
||||||
|
deluge --ui web
|
||||||
|
Go to http://localhost:8112/ default-password = "deluge"
|
||||||
|
|
||||||
|
I started "deluge" but i don't see the gtk-ui
|
||||||
|
|
||||||
|
The deluge command remembers the last interface it started. Be explicit and type one of the full "deluge -u <interface>" commands listed above.
|
||||||
|
|
||||||
|
Why is deluge still listed in my system tray even after I close it ?
|
||||||
|
|
||||||
|
You closed the gtk user-interface but you did not close the daemon. Choose "Quit & Shutdown Daemon" to close both Daemon and gtk-ui.
|
||||||
|
|
||||||
|
How do I start the daemon ?
|
||||||
|
|
||||||
|
deluged
|
||||||
|
|
||||||
|
How do I start the daemon with logging to console ?
|
||||||
|
|
||||||
|
deluged -d
|
||||||
|
|
||||||
|
I can't connect to the daemon from another machine
|
||||||
|
|
||||||
|
* Configure the daemon to allow remote connections
|
||||||
|
* Restart the daemon.
|
||||||
|
|
||||||
|
Note: do not do this on a public ip , use the webui for unsecure networks.
|
||||||
|
|
||||||
|
I upgraded from 0.5 and plugin x is missing
|
||||||
|
|
||||||
|
1.0 is a rewrite, all old 0.5 plugins have to be rewritten.
|
||||||
23
TODO
23
TODO
@ -1,23 +0,0 @@
|
|||||||
For 0.6 release:
|
|
||||||
* Translations
|
|
||||||
* Add progress bars for downloading and importing lists instead of hanging (blocklist)
|
|
||||||
|
|
||||||
After 0.6 release:
|
|
||||||
* Address issue where torrents will redownload if the storage is moved outside
|
|
||||||
of deluge.
|
|
||||||
* Implement add by hash
|
|
||||||
* Figure out easy way for user-made plugins to add i18n support.
|
|
||||||
* Restart daemon function
|
|
||||||
* Docstrings!
|
|
||||||
* Add wizard
|
|
||||||
* Advanced (pieces) progress bar
|
|
||||||
* Add method for plugins to add labels
|
|
||||||
* Add context menus for labels.. ie. setting options for all torrents in label
|
|
||||||
* Implement caching in core
|
|
||||||
* Use the batch torrent status info as a cache for other torrent status requests
|
|
||||||
* Add number of torrents to labels
|
|
||||||
* Proxy stuff
|
|
||||||
* Webseed
|
|
||||||
* Enable/disable webui from within gtkui
|
|
||||||
* Notifications
|
|
||||||
* create a clamav plugin to scan files
|
|
||||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,5 +1,5 @@
|
|||||||
deluge-torrent (0.9.02-1) unstable; urgency=low
|
deluge-torrent (1.0.7-1) unstable; urgency=low
|
||||||
|
|
||||||
* RC2 release
|
* 1.0.7
|
||||||
|
|
||||||
-- Andrew Resch (andar) <andrewresch@gmail.com> Tue, 17 Jul 2008 16:31:14 -0800
|
-- Andrew Resch (andar) <andrewresch@gmail.com> Wed, 10 Dec 2008 20:10:00 -0000
|
||||||
|
|||||||
2
debian/control
vendored
2
debian/control
vendored
@ -7,7 +7,7 @@ Standards-Version: 3.7.2
|
|||||||
|
|
||||||
Package: deluge-torrent
|
Package: deluge-torrent
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon | notification-daemon-xfce, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
||||||
Conflicts: deluge-torrent-common
|
Conflicts: deluge-torrent-common
|
||||||
Replaces: deluge-torrent-common
|
Replaces: deluge-torrent-common
|
||||||
Description: A Bittorrent client written in Python/PyGTK
|
Description: A Bittorrent client written in Python/PyGTK
|
||||||
|
|||||||
2
debian/control.debian-lenny
vendored
2
debian/control.debian-lenny
vendored
@ -7,7 +7,7 @@ Standards-Version: 3.7.2
|
|||||||
|
|
||||||
Package: deluge-torrent
|
Package: deluge-torrent
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon | notification-daemon-xfce, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
||||||
Description: A Bittorrent client written in Python/PyGTK
|
Description: A Bittorrent client written in Python/PyGTK
|
||||||
Deluge is a Bittorrent client, created using Python and GTK+.
|
Deluge is a Bittorrent client, created using Python and GTK+.
|
||||||
.
|
.
|
||||||
|
|||||||
4
debian/control.debian-sid
vendored
4
debian/control.debian-sid
vendored
@ -2,12 +2,12 @@ Source: deluge-torrent
|
|||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Andrew Resch (andar) <andrewresch@gmail.com>
|
Maintainer: Andrew Resch (andar) <andrewresch@gmail.com>
|
||||||
Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-all, python-support (>= 0.5.3), libboost-dev (>= 1.33.1), libboost-thread-dev (>= 1.33.1), libboost-date-time-dev (>= 1.33.1), libboost-filesystem-dev (>= 1.33.1), libboost-serialization-dev (>= 1.33.1), libboost-program-options-dev (>= 1.33.1), libboost-regex-dev (>= 1.33.1), libboost-python-dev (>= 1.33.1), zlib1g-dev, libssl-dev, dpatch, python-setuptools
|
Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-all, python-support (>= 0.5.3), libboost1.36-dev (>= 1.36), libboost-thread1.36-dev (>= 1.36), libboost-date-time1.36-dev (>= 1.36), libboost-filesystem1.36-dev (>= 1.36), libboost-serialization1.36-dev (>= 1.36), libboost-program-options1.36-dev (>= 1.36), libboost-regex1.36-dev (>= 1.36), libboost-python1.36-dev (>= 1.36), zlib1g-dev, libssl-dev, dpatch, python-setuptools
|
||||||
Standards-Version: 3.7.2
|
Standards-Version: 3.7.2
|
||||||
|
|
||||||
Package: deluge-torrent
|
Package: deluge-torrent
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon | notification-daemon-xfce, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
||||||
Description: A Bittorrent client written in Python/PyGTK
|
Description: A Bittorrent client written in Python/PyGTK
|
||||||
Deluge is a Bittorrent client, created using Python and GTK+.
|
Deluge is a Bittorrent client, created using Python and GTK+.
|
||||||
.
|
.
|
||||||
|
|||||||
2
debian/control.ubuntu-gutsy
vendored
2
debian/control.ubuntu-gutsy
vendored
@ -7,7 +7,7 @@ Standards-Version: 3.7.2
|
|||||||
|
|
||||||
Package: deluge-torrent
|
Package: deluge-torrent
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon | notification-daemon-xfce, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
||||||
Description: A Bittorrent client written in Python/PyGTK
|
Description: A Bittorrent client written in Python/PyGTK
|
||||||
Deluge is a Bittorrent client, created using Python and GTK+.
|
Deluge is a Bittorrent client, created using Python and GTK+.
|
||||||
.
|
.
|
||||||
|
|||||||
2
debian/control.ubuntu-hardy
vendored
2
debian/control.ubuntu-hardy
vendored
@ -7,7 +7,7 @@ Standards-Version: 3.7.2
|
|||||||
|
|
||||||
Package: deluge-torrent
|
Package: deluge-torrent
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-xdg, python-notify, notification-daemon | notification-daemon-xfce, python-dbus, librsvg2-common, python-pyopenssl, python-setuptools
|
||||||
Description: A Bittorrent client written in Python/PyGTK
|
Description: A Bittorrent client written in Python/PyGTK
|
||||||
Deluge is a Bittorrent client, created using Python and GTK+.
|
Deluge is a Bittorrent client, created using Python and GTK+.
|
||||||
.
|
.
|
||||||
|
|||||||
120
debian/copyright
vendored
120
debian/copyright
vendored
@ -1,20 +1,19 @@
|
|||||||
This package was debianized by Adam Cécile (Le_Vert) <gandalf@le-vert.net> on
|
This package was debianized by Marcos Pinto (markybob) <markybob@gmail.com> on
|
||||||
Wed, 15 Nov 2006 22:03:13 +0100.
|
Fri, 31 Jul 2008 22:03:13 +0100.
|
||||||
|
|
||||||
It was downloaded from http://www.deluge-torrent.org/
|
It was downloaded from http://www.deluge-torrent.org/
|
||||||
|
|
||||||
Upstream Author: Zach Tibbitts <zach@collegegeek.org>
|
Upstream Authors & Copyright:
|
||||||
Alon Zakai <kripkensteiner@gmail.com>
|
Andrew Resch
|
||||||
Marcos Pinto
|
Marcos Pinto
|
||||||
|
Sadrul Habib Chowdhury
|
||||||
Copyright: (C) 2006, Zach Tibbitts <zach@collegegeek.org>
|
Martijn Voncken
|
||||||
(C) 2006, Alon Zakai <kripkensteiner@gmail.com>
|
|
||||||
|
|
||||||
License:
|
License:
|
||||||
|
|
||||||
This package is free software; you can redistribute it and/or modify
|
This package is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 3 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This package is distributed in the hope that it will be useful,
|
This package is distributed in the hope that it will be useful,
|
||||||
@ -39,65 +38,62 @@ License:
|
|||||||
On Debian systems, the complete text of the GNU General
|
On Debian systems, the complete text of the GNU General
|
||||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||||
|
|
||||||
libtorrent/* are (C) 2006, A. Zakai ('Kripken') <kripkensteiner@gmail.com>
|
libtorrent is (C) 2003-2008 Arvid Norberg arvid@cs.umu.se and its
|
||||||
and distributed unders term of GNU General Public License.
|
python bindings were initially written by Daniel Wallin in 2006.
|
||||||
|
It is distributed unders terms of the BSD License below:
|
||||||
|
|
||||||
This code is baded on libtorrent which is (C) 2003 Arvid Norberg and
|
Redistribution and use in source and binary forms, with or without
|
||||||
distributed under terms of the license below :
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
* Redistributions of source code must retain the above copyright
|
||||||
modification, are permitted provided that the following conditions
|
notice, this list of conditions and the following disclaimer.
|
||||||
are met:
|
* Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in
|
||||||
|
the documentation and/or other materials provided with the distribution.
|
||||||
|
* Neither the name of the author nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
notice, this list of conditions and the following disclaimer.
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
* Redistributions in binary form must reproduce the above copyright
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
notice, this list of conditions and the following disclaimer in
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
the documentation and/or other materials provided with the distribution.
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
* Neither the name of the author nor the names of its
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
contributors may be used to endorse or promote products derived
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
from this software without specific prior written permission.
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
"libtorrent/include/libtorrent/asio*" are (C) 2003-2008 Christopher
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
M. Kohlhoff <chris@kohlhoff.com> and distributed under terms of the Boost
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
Software License, Version 1.0 :
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
"libtorrent/include/libtorrent/asio*" are (C) 2003-2006 Christopher
|
Permission is hereby granted, free of charge, to any person or organization
|
||||||
M. Kohlhoff <chris@kohlhoff.com> and distributed under terms of the Boost
|
obtaining a copy of the software and accompanying documentation covered by
|
||||||
Software License, Version 1.0 :
|
this license (the "Software") to use, reproduce, display, distribute,
|
||||||
|
execute, and transmit the Software, and to prepare derivative works of the
|
||||||
|
Software, and to permit third-parties to whom the Software is furnished to
|
||||||
|
do so, all subject to the following:
|
||||||
|
The copyright notices in the Software and this entire statement, including
|
||||||
|
the above license grant, this restriction and the following disclaimer,
|
||||||
|
must be included in all copies of the Software, in whole or in part, and
|
||||||
|
all derivative works of the Software, unless such copies or derivative
|
||||||
|
works are solely in the form of machine-executable object code generated by
|
||||||
|
a source language processor.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person or organization
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
obtaining a copy of the software and accompanying documentation covered by
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
this license (the "Software") to use, reproduce, display, distribute,
|
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||||
execute, and transmit the Software, and to prepare derivative works of the
|
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||||
Software, and to permit third-parties to whom the Software is furnished to
|
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||||
do so, all subject to the following:
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
The copyright notices in the Software and this entire statement, including
|
"deluge/i18n/*" are (C) 2006 Rosetta Contributors and Canonical Ltd 2006 and distributed
|
||||||
the above license grant, this restriction and the following disclaimer,
|
|
||||||
must be included in all copies of the Software, in whole or in part, and
|
|
||||||
all derivative works of the Software, unless such copies or derivative
|
|
||||||
works are solely in the form of machine-executable object code generated by
|
|
||||||
a source language processor.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
|
||||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
|
||||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
|
||||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
"po/*" are (C) 2006 Rosetta Contributors and Canonical Ltd 2006 and distributed
|
|
||||||
under the same license as the deluge software.
|
under the same license as the deluge software.
|
||||||
|
|
||||||
The Debian packaging is (C) 2006-2007, Adam Cécile (Le_Vert)
|
The Debian packaging is (C) 2006-2008, Marcos Pinto (markybob)
|
||||||
<gandalf@le-vert.net> and is licensed under the GPL, see above.
|
<markybob@gmail.com> and is licensed under GPL3, see above.
|
||||||
|
|||||||
3
debian/manpages
vendored
3
debian/manpages
vendored
@ -1 +1,2 @@
|
|||||||
debian/deluge.1
|
deluge/docs/man/deluge.1
|
||||||
|
deluge/docs/man/deluged.1
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# common.py
|
# common.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007, 2008 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007, 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,20 +21,13 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
"""Common functions for various parts of Deluge to use."""
|
"""Common functions for various parts of Deluge to use."""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import platform
|
||||||
|
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
import xdg, xdg.BaseDirectory
|
import xdg, xdg.BaseDirectory
|
||||||
@ -42,22 +35,18 @@ import xdg, xdg.BaseDirectory
|
|||||||
LT_TORRENT_STATE = {
|
LT_TORRENT_STATE = {
|
||||||
"Queued": 0,
|
"Queued": 0,
|
||||||
"Checking": 1,
|
"Checking": 1,
|
||||||
"Connecting": 2,
|
"Downloading Metadata": 2,
|
||||||
"Downloading Metadata": 3,
|
"Downloading": 3,
|
||||||
"Downloading": 4,
|
"Finished": 4,
|
||||||
"Finished": 5,
|
"Seeding": 5,
|
||||||
"Seeding": 6,
|
"Allocating": 6,
|
||||||
"Allocating": 7,
|
|
||||||
"Paused": 8,
|
|
||||||
0: "Queued",
|
0: "Queued",
|
||||||
1: "Checking",
|
1: "Checking",
|
||||||
2: "Connecting",
|
2: "Downloading Metadata",
|
||||||
3: "Downloading Metadata",
|
3: "Downloading",
|
||||||
4: "Downloading",
|
4: "Finished",
|
||||||
5: "Finished",
|
5: "Seeding",
|
||||||
6: "Seeding",
|
6: "Allocating",
|
||||||
7: "Allocating",
|
|
||||||
8: "Paused"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TORRENT_STATE = [
|
TORRENT_STATE = [
|
||||||
@ -121,11 +110,13 @@ def get_default_download_dir():
|
|||||||
def windows_check():
|
def windows_check():
|
||||||
"""Checks if the current platform is Windows. Returns True if it is Windows
|
"""Checks if the current platform is Windows. Returns True if it is Windows
|
||||||
and False if not."""
|
and False if not."""
|
||||||
import platform
|
return platform.system() in ('Windows', 'Microsoft')
|
||||||
if platform.system() in ('Windows', 'Microsoft'):
|
|
||||||
return True
|
def vista_check():
|
||||||
else:
|
return platform.release() == "Vista"
|
||||||
return False
|
|
||||||
|
def osx_check():
|
||||||
|
return platform.system() == "Darwin"
|
||||||
|
|
||||||
def get_pixmap(fname):
|
def get_pixmap(fname):
|
||||||
"""Returns a pixmap file included with deluge"""
|
"""Returns a pixmap file included with deluge"""
|
||||||
@ -145,7 +136,7 @@ def get_logo(size):
|
|||||||
def open_file(path):
|
def open_file(path):
|
||||||
"""Opens a file or folder."""
|
"""Opens a file or folder."""
|
||||||
if windows_check():
|
if windows_check():
|
||||||
os.startfile("'%s'" % path)
|
os.startfile("%s" % path)
|
||||||
else:
|
else:
|
||||||
subprocess.Popen(["xdg-open", "%s" % path])
|
subprocess.Popen(["xdg-open", "%s" % path])
|
||||||
|
|
||||||
@ -220,6 +211,7 @@ def build_menu_radio_list(value_list, callback, pref_value=None,
|
|||||||
|
|
||||||
if show_notset:
|
if show_notset:
|
||||||
menuitem = gtk.RadioMenuItem(group, notset_label)
|
menuitem = gtk.RadioMenuItem(group, notset_label)
|
||||||
|
menuitem.set_name(notset_label)
|
||||||
if pref_value < notset_lessthan and pref_value != None:
|
if pref_value < notset_lessthan and pref_value != None:
|
||||||
menuitem.set_active(True)
|
menuitem.set_active(True)
|
||||||
if show_activated and pref_value == 1:
|
if show_activated and pref_value == 1:
|
||||||
@ -232,6 +224,7 @@ def build_menu_radio_list(value_list, callback, pref_value=None,
|
|||||||
menuitem = gtk.SeparatorMenuItem()
|
menuitem = gtk.SeparatorMenuItem()
|
||||||
menu.append(menuitem)
|
menu.append(menuitem)
|
||||||
menuitem = gtk.MenuItem(_("Other..."))
|
menuitem = gtk.MenuItem(_("Other..."))
|
||||||
|
menuitem.set_name(_("Other..."))
|
||||||
menuitem.connect("activate", callback)
|
menuitem.connect("activate", callback)
|
||||||
menu.append(menuitem)
|
menu.append(menuitem)
|
||||||
|
|
||||||
@ -266,13 +259,13 @@ def show_other_dialog(string, default=None):
|
|||||||
def fsize(fsize_b):
|
def fsize(fsize_b):
|
||||||
"""Returns formatted string describing filesize
|
"""Returns formatted string describing filesize
|
||||||
fsize_b should be in bytes
|
fsize_b should be in bytes
|
||||||
Returned value will be in either KB, MB, or GB
|
Returned value will be in either KiB, MiB, or GiB
|
||||||
"""
|
"""
|
||||||
fsize_kb = fsize_b / 1024.0
|
fsize_kb = fsize_b / 1024.0
|
||||||
if fsize_kb < 1000:
|
if fsize_kb < 1024:
|
||||||
return "%.1f KiB" % fsize_kb
|
return "%.1f KiB" % fsize_kb
|
||||||
fsize_mb = fsize_kb / 1024.0
|
fsize_mb = fsize_kb / 1024.0
|
||||||
if fsize_mb < 1000:
|
if fsize_mb < 1024:
|
||||||
return "%.1f MiB" % fsize_mb
|
return "%.1f MiB" % fsize_mb
|
||||||
fsize_gb = fsize_mb / 1024.0
|
fsize_gb = fsize_mb / 1024.0
|
||||||
return "%.1f GiB" % fsize_gb
|
return "%.1f GiB" % fsize_gb
|
||||||
@ -319,7 +312,7 @@ def ftime(seconds):
|
|||||||
def is_url(url):
|
def is_url(url):
|
||||||
"""A simple regex test to check if the URL is valid."""
|
"""A simple regex test to check if the URL is valid."""
|
||||||
import re
|
import re
|
||||||
return bool(re.search('^(https?|ftp)://', url))
|
return bool(re.search('^(https?|ftp|udp)://', url))
|
||||||
|
|
||||||
def fetch_url(url):
|
def fetch_url(url):
|
||||||
"""Downloads a torrent file from a given
|
"""Downloads a torrent file from a given
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# component.py
|
# component.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007, 2008 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007, 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
import gobject
|
import gobject
|
||||||
from deluge.log import LOG as log
|
from deluge.log import LOG as log
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# config.py
|
# config.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
"""Configuration class used to access/create/modify configuration files."""
|
"""Configuration class used to access/create/modify configuration files."""
|
||||||
|
|
||||||
@ -65,6 +57,10 @@ class Config:
|
|||||||
# Save
|
# Save
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
|
# This will get set with a gobject.timeout_add whenever a config option
|
||||||
|
# is set.
|
||||||
|
self.save_timer = None
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
@ -99,6 +95,7 @@ class Config:
|
|||||||
pkl_file.close()
|
pkl_file.close()
|
||||||
if filedump == self.config:
|
if filedump == self.config:
|
||||||
# The config has not changed so lets just return
|
# The config has not changed so lets just return
|
||||||
|
self.save_timer = None
|
||||||
return
|
return
|
||||||
except (EOFError, IOError):
|
except (EOFError, IOError):
|
||||||
log.warning("IOError: Unable to open file: '%s'", filename)
|
log.warning("IOError: Unable to open file: '%s'", filename)
|
||||||
@ -110,6 +107,8 @@ class Config:
|
|||||||
except IOError:
|
except IOError:
|
||||||
log.warning("IOError: Unable to save file '%s'", filename)
|
log.warning("IOError: Unable to save file '%s'", filename)
|
||||||
|
|
||||||
|
self.save_timer = None
|
||||||
|
|
||||||
def set(self, key, value):
|
def set(self, key, value):
|
||||||
"""Set the 'key' with 'value'."""
|
"""Set the 'key' with 'value'."""
|
||||||
# Sets the "key" with "value" in the config dict
|
# Sets the "key" with "value" in the config dict
|
||||||
@ -128,6 +127,11 @@ class Config:
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# We set the save_timer for 5 seconds if not already set
|
||||||
|
log.debug("save_timer: %s", self.save_timer)
|
||||||
|
if not self.save_timer:
|
||||||
|
self.save_timer = gobject.timeout_add(5000, self.save)
|
||||||
|
|
||||||
def get(self, key):
|
def get(self, key):
|
||||||
"""Get the value of 'key'. If it is an invalid key then get() will
|
"""Get the value of 'key'. If it is an invalid key then get() will
|
||||||
return None."""
|
return None."""
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# configmanager.py
|
# configmanager.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
import gobject
|
import gobject
|
||||||
import os
|
import os
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# alertmanager.py
|
# alertmanager.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,22 +21,20 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
"""The AlertManager handles all the libtorrent alerts."""
|
"""The AlertManager handles all the libtorrent alerts."""
|
||||||
|
|
||||||
import gobject
|
import gobject
|
||||||
|
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
import deluge.libtorrent as lt
|
try:
|
||||||
|
import deluge.libtorrent as lt
|
||||||
|
except ImportError:
|
||||||
|
import libtorrent as lt
|
||||||
|
if not (lt.version_major == 0 and lt.version_minor == 14):
|
||||||
|
raise ImportError("This version of Deluge requires libtorrent 0.14!")
|
||||||
|
|
||||||
from deluge.log import LOG as log
|
from deluge.log import LOG as log
|
||||||
|
|
||||||
class AlertManager(component.Component):
|
class AlertManager(component.Component):
|
||||||
@ -92,9 +90,13 @@ class AlertManager(component.Component):
|
|||||||
while alert is not None:
|
while alert is not None:
|
||||||
# Loop through all alerts in the queue
|
# Loop through all alerts in the queue
|
||||||
# Do some magic to get the alert type as a string
|
# Do some magic to get the alert type as a string
|
||||||
alert_type = str(type(alert)).split("'")[1].split(".")[2]
|
alert_type = str(type(alert)).split("'")[1].split(".")[-1]
|
||||||
# Display the alert message
|
# Display the alert message
|
||||||
log.debug("%s: %s", alert_type, alert.message())
|
try:
|
||||||
|
log.debug("%s: %s", alert_type, alert.message())
|
||||||
|
except RuntimeError:
|
||||||
|
log.debug("%s", alert_type)
|
||||||
|
|
||||||
# Call any handlers for this alert type
|
# Call any handlers for this alert type
|
||||||
if alert_type in self.handlers.keys():
|
if alert_type in self.handlers.keys():
|
||||||
for handler in self.handlers[alert_type]:
|
for handler in self.handlers[alert_type]:
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# autoadd.py
|
# autoadd.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2008 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,19 +21,17 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import deluge.libtorrent as lt
|
try:
|
||||||
|
import deluge.libtorrent as lt
|
||||||
|
except ImportError:
|
||||||
|
import libtorrent as lt
|
||||||
|
if not (lt.version_major == 0 and lt.version_minor == 14):
|
||||||
|
raise ImportError("This version of Deluge requires libtorrent 0.14!")
|
||||||
|
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
from deluge.configmanager import ConfigManager
|
from deluge.configmanager import ConfigManager
|
||||||
from deluge.log import LOG as log
|
from deluge.log import LOG as log
|
||||||
@ -42,7 +40,7 @@ MAX_NUM_ATTEMPTS = 10
|
|||||||
|
|
||||||
class AutoAdd(component.Component):
|
class AutoAdd(component.Component):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
component.Component.__init__(self, "AutoAdd", depend=["TorrentManager"], interval=3000)
|
component.Component.__init__(self, "AutoAdd", depend=["TorrentManager"], interval=5000)
|
||||||
# Get the core config
|
# Get the core config
|
||||||
self.config = ConfigManager("core.conf")
|
self.config = ConfigManager("core.conf")
|
||||||
|
|
||||||
@ -100,6 +98,8 @@ class AutoAdd(component.Component):
|
|||||||
log.debug("Attempting to open %s for add.", filename)
|
log.debug("Attempting to open %s for add.", filename)
|
||||||
_file = open(filename, "rb")
|
_file = open(filename, "rb")
|
||||||
filedump = _file.read()
|
filedump = _file.read()
|
||||||
|
if not filedump:
|
||||||
|
raise RuntimeError, "Torrent is 0 bytes!"
|
||||||
_file.close()
|
_file.close()
|
||||||
except IOError, e:
|
except IOError, e:
|
||||||
log.warning("Unable to open %s: %s", filename, e)
|
log.warning("Unable to open %s: %s", filename, e)
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# core.py
|
# core.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007, 2008 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007, 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
import locale
|
import locale
|
||||||
@ -46,7 +38,14 @@ import gobject
|
|||||||
import threading
|
import threading
|
||||||
import socket
|
import socket
|
||||||
|
|
||||||
import deluge.libtorrent as lt
|
try:
|
||||||
|
import deluge.libtorrent as lt
|
||||||
|
except ImportError:
|
||||||
|
import libtorrent as lt
|
||||||
|
if not (lt.version_major == 0 and lt.version_minor == 14):
|
||||||
|
raise ImportError("This version of Deluge requires libtorrent 0.14!")
|
||||||
|
|
||||||
|
|
||||||
import deluge.configmanager
|
import deluge.configmanager
|
||||||
import deluge.common
|
import deluge.common
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
@ -67,7 +66,7 @@ DEFAULT_PREFS = {
|
|||||||
"download_location": deluge.common.get_default_download_dir(),
|
"download_location": deluge.common.get_default_download_dir(),
|
||||||
"listen_ports": [6881, 6891],
|
"listen_ports": [6881, 6891],
|
||||||
"copy_torrent_file": False,
|
"copy_torrent_file": False,
|
||||||
"torrentfiles_location": os.path.join(deluge.common.get_default_download_dir(), "torrentfiles"),
|
"torrentfiles_location": deluge.common.get_default_download_dir(),
|
||||||
"plugins_location": os.path.join(deluge.configmanager.get_config_dir(), "plugins"),
|
"plugins_location": os.path.join(deluge.configmanager.get_config_dir(), "plugins"),
|
||||||
"state_location": os.path.join(deluge.configmanager.get_config_dir(), "state"),
|
"state_location": os.path.join(deluge.configmanager.get_config_dir(), "state"),
|
||||||
"prioritize_first_last_pieces": False,
|
"prioritize_first_last_pieces": False,
|
||||||
@ -81,12 +80,13 @@ DEFAULT_PREFS = {
|
|||||||
"enc_out_policy": 1,
|
"enc_out_policy": 1,
|
||||||
"enc_level": 2,
|
"enc_level": 2,
|
||||||
"enc_prefer_rc4": True,
|
"enc_prefer_rc4": True,
|
||||||
"max_connections_global": -1,
|
"max_connections_global": 200,
|
||||||
"max_upload_speed": -1.0,
|
"max_upload_speed": -1.0,
|
||||||
"max_download_speed": -1.0,
|
"max_download_speed": -1.0,
|
||||||
"max_upload_slots_global": -1,
|
"max_upload_slots_global": 4,
|
||||||
"max_half_open_connections": -1,
|
"max_half_open_connections": (lambda: deluge.common.windows_check() and
|
||||||
"max_connections_per_second": -1,
|
(lambda: deluge.common.vista_check() and 4 or 8)() or -1)(),
|
||||||
|
"max_connections_per_second": 20,
|
||||||
"ignore_limits_on_local_network": True,
|
"ignore_limits_on_local_network": True,
|
||||||
"max_connections_per_torrent": -1,
|
"max_connections_per_torrent": -1,
|
||||||
"max_upload_slots_per_torrent": -1,
|
"max_upload_slots_per_torrent": -1,
|
||||||
@ -111,6 +111,7 @@ DEFAULT_PREFS = {
|
|||||||
"move_completed": False,
|
"move_completed": False,
|
||||||
"move_completed_path": deluge.common.get_default_download_dir(),
|
"move_completed_path": deluge.common.get_default_download_dir(),
|
||||||
"new_release_check": True,
|
"new_release_check": True,
|
||||||
|
"rate_limit_ip_overhead": True
|
||||||
}
|
}
|
||||||
|
|
||||||
class Core(
|
class Core(
|
||||||
@ -131,7 +132,7 @@ class Core(
|
|||||||
if self.config["allow_remote"]:
|
if self.config["allow_remote"]:
|
||||||
hostname = ""
|
hostname = ""
|
||||||
else:
|
else:
|
||||||
hostname = "localhost"
|
hostname = "127.0.0.1"
|
||||||
|
|
||||||
# Setup the xmlrpc server
|
# Setup the xmlrpc server
|
||||||
try:
|
try:
|
||||||
@ -152,30 +153,16 @@ class Core(
|
|||||||
self.register_introspection_functions()
|
self.register_introspection_functions()
|
||||||
|
|
||||||
# Initialize gettext
|
# Initialize gettext
|
||||||
if deluge.common.windows_check():
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
locale.setlocale(locale.LC_ALL, '')
|
if hasattr(locale, "bindtextdomain"):
|
||||||
else:
|
locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
||||||
locale.setlocale(locale.LC_MESSAGES, '')
|
if hasattr(locale, "textdomain"):
|
||||||
locale.bindtextdomain("deluge",
|
|
||||||
pkg_resources.resource_filename(
|
|
||||||
"deluge", "i18n"))
|
|
||||||
locale.textdomain("deluge")
|
locale.textdomain("deluge")
|
||||||
|
gettext.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
||||||
gettext.bindtextdomain("deluge",
|
|
||||||
pkg_resources.resource_filename(
|
|
||||||
"deluge", "i18n"))
|
|
||||||
gettext.textdomain("deluge")
|
gettext.textdomain("deluge")
|
||||||
gettext.install("deluge",
|
gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
||||||
pkg_resources.resource_filename(
|
|
||||||
"deluge", "i18n"))
|
|
||||||
# Setup signals
|
|
||||||
try:
|
|
||||||
import gnome.ui
|
|
||||||
self.gnome_client = gnome.ui.Client()
|
|
||||||
self.gnome_client.connect("die", self._shutdown)
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
# Setup signals
|
||||||
signal.signal(signal.SIGINT, self._shutdown)
|
signal.signal(signal.SIGINT, self._shutdown)
|
||||||
signal.signal(signal.SIGTERM, self._shutdown)
|
signal.signal(signal.SIGTERM, self._shutdown)
|
||||||
if not deluge.common.windows_check():
|
if not deluge.common.windows_check():
|
||||||
@ -183,9 +170,11 @@ class Core(
|
|||||||
else:
|
else:
|
||||||
from win32api import SetConsoleCtrlHandler
|
from win32api import SetConsoleCtrlHandler
|
||||||
from win32con import CTRL_CLOSE_EVENT
|
from win32con import CTRL_CLOSE_EVENT
|
||||||
|
from win32con import CTRL_SHUTDOWN_EVENT
|
||||||
result = 0
|
result = 0
|
||||||
def win_handler(ctrl_type):
|
def win_handler(ctrl_type):
|
||||||
if ctrl_type == CTRL_CLOSE_EVENT:
|
log.debug("ctrl_type: %s", ctrl_type)
|
||||||
|
if ctrl_type == CTRL_CLOSE_EVENT or ctrl_type == CTRL_SHUTDOWN_EVENT:
|
||||||
self._shutdown()
|
self._shutdown()
|
||||||
result = 1
|
result = 1
|
||||||
return result
|
return result
|
||||||
@ -212,16 +201,28 @@ class Core(
|
|||||||
|
|
||||||
# Start the libtorrent session
|
# Start the libtorrent session
|
||||||
log.debug("Starting libtorrent session..")
|
log.debug("Starting libtorrent session..")
|
||||||
self.session = lt.session(fingerprint)
|
self.session = lt.session(fingerprint, flags=0)
|
||||||
|
|
||||||
# Set the user agent
|
# Set the user agent
|
||||||
self.settings = lt.session_settings()
|
self.settings = lt.session_settings()
|
||||||
self.settings.user_agent = "Deluge %s" % deluge.common.get_version()
|
self.settings.user_agent = "Deluge %s" % deluge.common.get_version()
|
||||||
|
|
||||||
# Set lazy bitfield
|
# Load the GeoIP DB for country look-ups if available
|
||||||
|
geoip_db = pkg_resources.resource_filename("deluge", os.path.join("data", "GeoIP.dat"))
|
||||||
|
if os.path.exists(geoip_db):
|
||||||
|
self.session.load_country_db(geoip_db)
|
||||||
|
|
||||||
|
# Set session settings
|
||||||
self.settings.lazy_bitfields = 1
|
self.settings.lazy_bitfields = 1
|
||||||
|
self.settings.send_redundant_have = True
|
||||||
self.session.set_settings(self.settings)
|
self.session.set_settings(self.settings)
|
||||||
|
|
||||||
|
# Create an ip filter
|
||||||
|
self.ip_filter = lt.ip_filter()
|
||||||
|
# This keeps track of the timer to set the ip filter.. We do this a few
|
||||||
|
# seconds aftering adding a rule so that 'batch' adding of rules isn't slow.
|
||||||
|
self._set_ip_filter_timer = None
|
||||||
|
|
||||||
# Load metadata extension
|
# Load metadata extension
|
||||||
self.session.add_extension(lt.create_metadata_plugin)
|
self.session.add_extension(lt.create_metadata_plugin)
|
||||||
|
|
||||||
@ -281,6 +282,8 @@ class Core(
|
|||||||
self.new_release_timer = None
|
self.new_release_timer = None
|
||||||
self.config.register_set_function("new_release_check",
|
self.config.register_set_function("new_release_check",
|
||||||
self._on_new_release_check)
|
self._on_new_release_check)
|
||||||
|
self.config.register_set_function("rate_limit_ip_overhead",
|
||||||
|
self._on_rate_limit_ip_overhead)
|
||||||
|
|
||||||
self.config.register_change_callback(self._on_config_value_change)
|
self.config.register_change_callback(self._on_config_value_change)
|
||||||
# Start the AlertManager
|
# Start the AlertManager
|
||||||
@ -322,6 +325,9 @@ class Core(
|
|||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.debug("handle_thread: %s", e)
|
log.debug("handle_thread: %s", e)
|
||||||
|
|
||||||
|
def shutdown(self):
|
||||||
|
pass
|
||||||
|
|
||||||
def _shutdown(self, *data):
|
def _shutdown(self, *data):
|
||||||
"""This is called by a thread from shutdown()"""
|
"""This is called by a thread from shutdown()"""
|
||||||
log.info("Shutting down core..")
|
log.info("Shutting down core..")
|
||||||
@ -396,9 +402,12 @@ class Core(
|
|||||||
# Run the plugin hooks for 'post_torrent_add'
|
# Run the plugin hooks for 'post_torrent_add'
|
||||||
self.plugins.run_post_torrent_add(torrent_id)
|
self.plugins.run_post_torrent_add(torrent_id)
|
||||||
|
|
||||||
def export_add_torrent_url(self, url, save_path, options):
|
def export_add_torrent_url(self, url, options):
|
||||||
log.info("Attempting to add url %s", url)
|
log.info("Attempting to add url %s", url)
|
||||||
|
|
||||||
|
threading.Thread(target=self.fetch_torrent_url_thread, args=(self.export_add_torrent_file, url, options)).start()
|
||||||
|
|
||||||
|
def fetch_torrent_url_thread(self, callback, url, options):
|
||||||
# Get the actual filename of the torrent from the url provided.
|
# Get the actual filename of the torrent from the url provided.
|
||||||
filename = url.split("/")[-1]
|
filename = url.split("/")[-1]
|
||||||
|
|
||||||
@ -415,8 +424,7 @@ class Core(
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
# Add the torrent to session
|
# Add the torrent to session
|
||||||
return self.export_add_torrent_file(
|
return callback(filename, filedump, options)
|
||||||
filename, filedump, options)
|
|
||||||
|
|
||||||
def export_remove_torrent(self, torrent_ids, remove_torrent, remove_data):
|
def export_remove_torrent(self, torrent_ids, remove_torrent, remove_data):
|
||||||
log.debug("Removing torrent %s from the core.", torrent_ids)
|
log.debug("Removing torrent %s from the core.", torrent_ids)
|
||||||
@ -463,7 +471,8 @@ class Core(
|
|||||||
# Build the status dictionary
|
# Build the status dictionary
|
||||||
try:
|
try:
|
||||||
status = self.torrents[torrent_id].get_status(keys)
|
status = self.torrents[torrent_id].get_status(keys)
|
||||||
except KeyError:
|
except KeyError, e:
|
||||||
|
log.debug(e)
|
||||||
# The torrent_id is not found in the torrentmanager, so return None
|
# The torrent_id is not found in the torrentmanager, so return None
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@ -480,7 +489,8 @@ class Core(
|
|||||||
for torrent_id in torrent_ids:
|
for torrent_id in torrent_ids:
|
||||||
try:
|
try:
|
||||||
status = self.torrents[torrent_id].get_status(keys)
|
status = self.torrents[torrent_id].get_status(keys)
|
||||||
except KeyError:
|
except KeyError, e:
|
||||||
|
log.debug(e)
|
||||||
return None
|
return None
|
||||||
# Get the leftover fields and ask the plugin manager to fill them
|
# Get the leftover fields and ask the plugin manager to fill them
|
||||||
leftover_fields = list(set(keys) - set(status.keys()))
|
leftover_fields = list(set(keys) - set(status.keys()))
|
||||||
@ -520,6 +530,8 @@ class Core(
|
|||||||
config = deluge.common.pythonize(config)
|
config = deluge.common.pythonize(config)
|
||||||
# Load all the values into the configuration
|
# Load all the values into the configuration
|
||||||
for key in config.keys():
|
for key in config.keys():
|
||||||
|
if isinstance(config[key], unicode) or isinstance(config[key], str):
|
||||||
|
config[key] = config[key].encode("utf8")
|
||||||
self.config[key] = config[key]
|
self.config[key] = config[key]
|
||||||
|
|
||||||
def export_get_listen_port(self):
|
def export_get_listen_port(self):
|
||||||
@ -609,11 +621,12 @@ class Core(
|
|||||||
|
|
||||||
def export_block_ip_range(self, range):
|
def export_block_ip_range(self, range):
|
||||||
"""Block an ip range"""
|
"""Block an ip range"""
|
||||||
try:
|
self.ip_filter.add_rule(range[0], range[1], 1)
|
||||||
self.ip_filter.add_rule(range[0], range[1], 1)
|
|
||||||
except AttributeError:
|
# Start a 2 second timer (and remove the previous one if it exists)
|
||||||
self.export_reset_ip_filter()
|
if self._set_ip_filter_timer:
|
||||||
self.ip_filter.add_rule(range[0], range[1], 1)
|
gobject.source_remove(self._set_ip_filter_timer)
|
||||||
|
self._set_ip_filter_timer = gobject.timeout_add(2000, self.session.set_ip_filter, self.ip_filter)
|
||||||
|
|
||||||
def export_reset_ip_filter(self):
|
def export_reset_ip_filter(self):
|
||||||
"""Clears the ip filter"""
|
"""Clears the ip filter"""
|
||||||
@ -710,11 +723,11 @@ class Core(
|
|||||||
self.config_value_changed(key, value)
|
self.config_value_changed(key, value)
|
||||||
|
|
||||||
def _on_set_torrentfiles_location(self, key, value):
|
def _on_set_torrentfiles_location(self, key, value):
|
||||||
# First try to create the new directory
|
if self.config["copy_torrent_file"]:
|
||||||
try:
|
try:
|
||||||
os.makedirs(value)
|
os.makedirs(value)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.debug("Unable to make directory: %s", e)
|
log.debug("Unable to make directory: %s", e)
|
||||||
|
|
||||||
def _on_set_state_location(self, key, value):
|
def _on_set_state_location(self, key, value):
|
||||||
if not os.access(value, os.F_OK):
|
if not os.access(value, os.F_OK):
|
||||||
@ -802,7 +815,11 @@ class Core(
|
|||||||
|
|
||||||
def _on_set_max_connections_global(self, key, value):
|
def _on_set_max_connections_global(self, key, value):
|
||||||
log.debug("max_connections_global set to %s..", value)
|
log.debug("max_connections_global set to %s..", value)
|
||||||
self.session.set_max_connections(value)
|
# Add this in to overwrite bad float values in the config, to prevent
|
||||||
|
# future issues with 1.1
|
||||||
|
if type(value) is not int:
|
||||||
|
self.config[key] = int(value)
|
||||||
|
self.session.set_max_connections(int(value))
|
||||||
|
|
||||||
def _on_set_max_upload_speed(self, key, value):
|
def _on_set_max_upload_speed(self, key, value):
|
||||||
log.debug("max_upload_speed set to %s..", value)
|
log.debug("max_upload_speed set to %s..", value)
|
||||||
@ -903,7 +920,7 @@ class Core(
|
|||||||
from urllib2 import urlopen
|
from urllib2 import urlopen
|
||||||
try:
|
try:
|
||||||
self.new_release = urlopen(
|
self.new_release = urlopen(
|
||||||
"http://download.deluge-torrent.org/version-1.0").read().strip()
|
"http://download.deluge-torrent.org/version").read().strip()
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.debug("Unable to get release info from website: %s", e)
|
log.debug("Unable to get release info from website: %s", e)
|
||||||
return
|
return
|
||||||
@ -929,3 +946,8 @@ class Core(
|
|||||||
else:
|
else:
|
||||||
if self.new_release_timer:
|
if self.new_release_timer:
|
||||||
gobject.source.remove(self.new_release_timer)
|
gobject.source.remove(self.new_release_timer)
|
||||||
|
|
||||||
|
def _on_rate_limit_ip_overhead(self, key, value):
|
||||||
|
log.debug("%s: %s", key, value)
|
||||||
|
self.settings.rate_limit_ip_overhead = value
|
||||||
|
self.session.set_settings(self.settings)
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# daemon.py
|
# daemon.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
import deluge.configmanager
|
import deluge.configmanager
|
||||||
import deluge.common
|
import deluge.common
|
||||||
|
|||||||
130
deluge/core/oldstateupgrader.py
Normal file
130
deluge/core/oldstateupgrader.py
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
#
|
||||||
|
# oldstateupgrader.py
|
||||||
|
#
|
||||||
|
# Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
|
#
|
||||||
|
# Deluge is free software.
|
||||||
|
#
|
||||||
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
|
# GNU General Public License, as published by the Free Software
|
||||||
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# deluge 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 deluge. If not, write to:
|
||||||
|
# The Free Software Foundation, Inc.,
|
||||||
|
# 51 Franklin Street, Fifth Floor
|
||||||
|
# Boston, MA 02110-1301, USA.
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
import os
|
||||||
|
import os.path
|
||||||
|
import pickle
|
||||||
|
import cPickle
|
||||||
|
import shutil
|
||||||
|
|
||||||
|
try:
|
||||||
|
import deluge.libtorrent as lt
|
||||||
|
except ImportError:
|
||||||
|
import libtorrent as lt
|
||||||
|
if not (lt.version_major == 0 and lt.version_minor == 14):
|
||||||
|
raise ImportError("This version of Deluge requires libtorrent 0.14!")
|
||||||
|
|
||||||
|
from deluge.configmanager import ConfigManager
|
||||||
|
import deluge.core.torrentmanager
|
||||||
|
from deluge.log import LOG as log
|
||||||
|
|
||||||
|
#start : http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286203
|
||||||
|
def makeFakeClass(module, name):
|
||||||
|
class FakeThing(object):
|
||||||
|
pass
|
||||||
|
FakeThing.__name__ = name
|
||||||
|
FakeThing.__module__ = '(fake)' + module
|
||||||
|
return FakeThing
|
||||||
|
|
||||||
|
class PickleUpgrader(pickle.Unpickler):
|
||||||
|
def find_class(self, module, cname):
|
||||||
|
# Pickle tries to load a couple things like copy_reg and
|
||||||
|
# __builtin__.object even though a pickle file doesn't
|
||||||
|
# explicitly reference them (afaict): allow them to be loaded
|
||||||
|
# normally.
|
||||||
|
if module in ('copy_reg', '__builtin__'):
|
||||||
|
thing = pickle.Unpickler.find_class(self, module, cname)
|
||||||
|
return thing
|
||||||
|
return makeFakeClass(module, cname)
|
||||||
|
# end: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286203
|
||||||
|
|
||||||
|
class OldStateUpgrader:
|
||||||
|
def __init__(self):
|
||||||
|
self.config = ConfigManager("core.conf")
|
||||||
|
self.state05_location = os.path.join(self.config["config_location"], "persistent.state")
|
||||||
|
self.state10_location = os.path.join(self.config["state_location"], "torrents.state")
|
||||||
|
if os.path.exists(self.state05_location) and not os.path.exists(self.state10_location):
|
||||||
|
# If the 0.5 state file exists and the 1.0 doesn't, then let's upgrade it
|
||||||
|
self.upgrade05()
|
||||||
|
|
||||||
|
def upgrade05(self):
|
||||||
|
try:
|
||||||
|
state = PickleUpgrader(open(self.state05_location, "rb")).load()
|
||||||
|
except Exception, e:
|
||||||
|
log.debug("Unable to open 0.5 state file: %s", e)
|
||||||
|
return
|
||||||
|
|
||||||
|
new_state = deluge.core.torrentmanager.TorrentManagerState()
|
||||||
|
for ti, uid in state.torrents.items():
|
||||||
|
torrent_path = os.path.join(self.config["config_location"], "torrentfiles", ti.filename)
|
||||||
|
try:
|
||||||
|
torrent_info = None
|
||||||
|
log.debug("Attempting to create torrent_info from %s", torrent_path)
|
||||||
|
_file = open(torrent_path, "rb")
|
||||||
|
torrent_info = lt.torrent_info(lt.bdecode(_file.read()))
|
||||||
|
_file.close()
|
||||||
|
except (IOError, RuntimeError), e:
|
||||||
|
log.warning("Unable to open %s: %s", filepath, e)
|
||||||
|
|
||||||
|
# Copy the torrent file to the new location
|
||||||
|
import shutil
|
||||||
|
shutil.copyfile(torrent_path, os.path.join(self.config["state_location"], str(torrent_info.info_hash()) + ".torrent"))
|
||||||
|
|
||||||
|
# Set the file prioritiy property if not already there
|
||||||
|
if not hasattr(ti, "priorities"):
|
||||||
|
ti.priorities = [1] * torrent_info.num_files()
|
||||||
|
|
||||||
|
# Create the new TorrentState object
|
||||||
|
new_torrent = deluge.core.torrentmanager.TorrentState(
|
||||||
|
torrent_id=str(torrent_info.info_hash()),
|
||||||
|
filename=ti.filename,
|
||||||
|
save_path=ti.save_dir,
|
||||||
|
compact=ti.compact,
|
||||||
|
paused=ti.user_paused,
|
||||||
|
total_uploaded=ti.uploaded_memory,
|
||||||
|
max_upload_speed=ti.upload_rate_limit,
|
||||||
|
max_download_speed=ti.download_rate_limit,
|
||||||
|
file_priorities=ti.priorities,
|
||||||
|
queue=state.queue.index(ti)
|
||||||
|
)
|
||||||
|
# Append the object to the state list
|
||||||
|
new_state.torrents.append(new_torrent)
|
||||||
|
|
||||||
|
# Now we need to write out the new state file
|
||||||
|
try:
|
||||||
|
log.debug("Saving torrent state file.")
|
||||||
|
state_file = open(
|
||||||
|
os.path.join(self.config["state_location"], "torrents.state"), "wb")
|
||||||
|
cPickle.dump(new_state, state_file)
|
||||||
|
state_file.close()
|
||||||
|
except IOError, e:
|
||||||
|
log.warning("Unable to save state file: %s", e)
|
||||||
|
return
|
||||||
|
|
||||||
|
# Rename the persistent.state file
|
||||||
|
try:
|
||||||
|
os.rename(self.state05_location, self.state05_location + ".old")
|
||||||
|
except Exception, e:
|
||||||
|
log.debug("Unable to rename old persistent.state file! %s", e)
|
||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# pluginmanager.py
|
# pluginmanager.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
"""PluginManager for Core"""
|
"""PluginManager for Core"""
|
||||||
|
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# signalmanager.py
|
# signalmanager.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007, 2008 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007, 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
import deluge.xmlrpclib as xmlrpclib
|
import deluge.xmlrpclib as xmlrpclib
|
||||||
import socket
|
import socket
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# torrent.py
|
# torrent.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007, 2008 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007, 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,21 +21,19 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
"""Internal Torrent class"""
|
"""Internal Torrent class"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import deluge.libtorrent as lt
|
try:
|
||||||
|
import deluge.libtorrent as lt
|
||||||
|
except ImportError:
|
||||||
|
import libtorrent as lt
|
||||||
|
if not (lt.version_major == 0 and lt.version_minor == 14):
|
||||||
|
raise ImportError("This version of Deluge requires libtorrent 0.14!")
|
||||||
|
|
||||||
import deluge.common
|
import deluge.common
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
from deluge.configmanager import ConfigManager
|
from deluge.configmanager import ConfigManager
|
||||||
@ -111,6 +109,9 @@ class Torrent:
|
|||||||
tracker["tier"] = value.tier
|
tracker["tier"] = value.tier
|
||||||
self.trackers.append(tracker)
|
self.trackers.append(tracker)
|
||||||
|
|
||||||
|
# Set the allocation mode
|
||||||
|
self.compact = options["compact_allocation"]
|
||||||
|
|
||||||
# Various torrent options
|
# Various torrent options
|
||||||
self.set_max_connections(options["max_connections_per_torrent"])
|
self.set_max_connections(options["max_connections_per_torrent"])
|
||||||
self.set_max_upload_slots(options["max_upload_slots_per_torrent"])
|
self.set_max_upload_slots(options["max_upload_slots_per_torrent"])
|
||||||
@ -121,8 +122,6 @@ class Torrent:
|
|||||||
if options.has_key("file_priorities"):
|
if options.has_key("file_priorities"):
|
||||||
self.set_file_priorities(options["file_priorities"])
|
self.set_file_priorities(options["file_priorities"])
|
||||||
|
|
||||||
# Set the allocation mode
|
|
||||||
self.compact = options["compact_allocation"]
|
|
||||||
# Where the torrent is being saved to
|
# Where the torrent is being saved to
|
||||||
self.save_path = options["download_location"]
|
self.save_path = options["download_location"]
|
||||||
# Status message holds error info about the torrent
|
# Status message holds error info about the torrent
|
||||||
@ -184,11 +183,18 @@ class Torrent:
|
|||||||
self.remove_at_ratio = remove_at_ratio
|
self.remove_at_ratio = remove_at_ratio
|
||||||
|
|
||||||
def set_file_priorities(self, file_priorities):
|
def set_file_priorities(self, file_priorities):
|
||||||
log.debug("setting %s's file priorities: %s", self.torrent_id, file_priorities)
|
|
||||||
if len(file_priorities) != len(self.files):
|
if len(file_priorities) != len(self.files):
|
||||||
log.debug("file_priorities len != num_files")
|
log.debug("file_priorities len != num_files")
|
||||||
|
self.options["file_priorities"] = self.handle.file_priorities()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if self.compact:
|
||||||
|
log.debug("setting file priority with compact allocation does not work!")
|
||||||
|
self.file_priorities = self.handle.file_priorities()
|
||||||
|
return
|
||||||
|
|
||||||
|
log.debug("setting %s's file priorities: %s", self.torrent_id, file_priorities)
|
||||||
|
|
||||||
self.handle.prioritize_files(file_priorities)
|
self.handle.prioritize_files(file_priorities)
|
||||||
|
|
||||||
if 0 in self.file_priorities:
|
if 0 in self.file_priorities:
|
||||||
@ -210,6 +216,13 @@ class Torrent:
|
|||||||
"""Sets trackers"""
|
"""Sets trackers"""
|
||||||
if trackers == None:
|
if trackers == None:
|
||||||
trackers = []
|
trackers = []
|
||||||
|
for value in self.handle.trackers():
|
||||||
|
tracker = {}
|
||||||
|
tracker["url"] = value.url
|
||||||
|
tracker["tier"] = value.tier
|
||||||
|
trackers.append(tracker)
|
||||||
|
self.trackers = trackers
|
||||||
|
return
|
||||||
|
|
||||||
log.debug("Setting trackers for %s: %s", self.torrent_id, trackers)
|
log.debug("Setting trackers for %s: %s", self.torrent_id, trackers)
|
||||||
tracker_list = []
|
tracker_list = []
|
||||||
@ -241,8 +254,7 @@ class Torrent:
|
|||||||
if ltstate == LTSTATE["Queued"] or ltstate == LTSTATE["Checking"]:
|
if ltstate == LTSTATE["Queued"] or ltstate == LTSTATE["Checking"]:
|
||||||
self.state = "Checking"
|
self.state = "Checking"
|
||||||
return
|
return
|
||||||
elif ltstate == LTSTATE["Connecting"] or ltstate == LTSTATE["Downloading"] or\
|
elif ltstate == LTSTATE["Downloading"] or ltstate == LTSTATE["Downloading Metadata"]:
|
||||||
ltstate == LTSTATE["Downloading Metadata"]:
|
|
||||||
self.state = "Downloading"
|
self.state = "Downloading"
|
||||||
elif ltstate == LTSTATE["Finished"] or ltstate == LTSTATE["Seeding"]:
|
elif ltstate == LTSTATE["Finished"] or ltstate == LTSTATE["Seeding"]:
|
||||||
self.state = "Seeding"
|
self.state = "Seeding"
|
||||||
@ -280,7 +292,7 @@ class Torrent:
|
|||||||
|
|
||||||
left = status.total_wanted - status.total_done
|
left = status.total_wanted - status.total_done
|
||||||
|
|
||||||
if left == 0 or status.download_payload_rate == 0:
|
if left <= 0 or status.download_payload_rate == 0:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -297,19 +309,11 @@ class Torrent:
|
|||||||
else:
|
else:
|
||||||
status = self.status
|
status = self.status
|
||||||
|
|
||||||
up = self.total_uploaded + status.total_payload_upload
|
# Return -1.0 if the downloaded bytes is 0, this is to represent infinity
|
||||||
down = status.total_done
|
if status.all_time_download == 0:
|
||||||
|
return -1.0
|
||||||
|
|
||||||
# Convert 'up' and 'down' to floats for proper calculation
|
return float(status.all_time_upload) / float(status.all_time_download)
|
||||||
up = float(up)
|
|
||||||
down = float(down)
|
|
||||||
|
|
||||||
try:
|
|
||||||
ratio = up / down
|
|
||||||
except ZeroDivisionError:
|
|
||||||
return 0.0
|
|
||||||
|
|
||||||
return ratio
|
|
||||||
|
|
||||||
def get_files(self):
|
def get_files(self):
|
||||||
"""Returns a list of files this torrent contains"""
|
"""Returns a list of files this torrent contains"""
|
||||||
@ -323,7 +327,7 @@ class Torrent:
|
|||||||
for index, file in enumerate(files):
|
for index, file in enumerate(files):
|
||||||
ret.append({
|
ret.append({
|
||||||
'index': index,
|
'index': index,
|
||||||
'path': file.path,
|
'path': file.path.decode("utf8", "ignore"),
|
||||||
'size': file.size,
|
'size': file.size,
|
||||||
'offset': file.offset
|
'offset': file.offset
|
||||||
})
|
})
|
||||||
@ -395,7 +399,8 @@ class Torrent:
|
|||||||
full_status = {
|
full_status = {
|
||||||
"distributed_copies": distributed_copies,
|
"distributed_copies": distributed_copies,
|
||||||
"total_done": self.status.total_done,
|
"total_done": self.status.total_done,
|
||||||
"total_uploaded": self.total_uploaded + self.status.total_payload_upload,
|
"total_uploaded": self.status.all_time_upload,
|
||||||
|
"all_time_download": self.status.all_time_download,
|
||||||
"state": self.state,
|
"state": self.state,
|
||||||
"paused": self.status.paused,
|
"paused": self.status.paused,
|
||||||
"progress": progress,
|
"progress": progress,
|
||||||
@ -431,9 +436,16 @@ class Torrent:
|
|||||||
"stop_at_ratio": self.stop_at_ratio,
|
"stop_at_ratio": self.stop_at_ratio,
|
||||||
"remove_at_ratio": self.remove_at_ratio
|
"remove_at_ratio": self.remove_at_ratio
|
||||||
}
|
}
|
||||||
|
def ti_name():
|
||||||
|
if self.handle.has_metadata():
|
||||||
|
try:
|
||||||
|
return self.torrent_info.name().decode("utf8", "ignore")
|
||||||
|
except UnicodeDecodeError:
|
||||||
|
return self.torrent_info.name()
|
||||||
|
|
||||||
|
return self.torrent_id
|
||||||
fns = {
|
fns = {
|
||||||
"name": self.torrent_info.name,
|
"name": ti_name,
|
||||||
"private": self.torrent_info.priv,
|
"private": self.torrent_info.priv,
|
||||||
"total_size": self.torrent_info.total_size,
|
"total_size": self.torrent_info.total_size,
|
||||||
"num_files": self.torrent_info.num_files,
|
"num_files": self.torrent_info.num_files,
|
||||||
@ -447,9 +459,6 @@ class Torrent:
|
|||||||
"peers": self.get_peers,
|
"peers": self.get_peers,
|
||||||
}
|
}
|
||||||
|
|
||||||
self.status = None
|
|
||||||
self.torrent_info = None
|
|
||||||
|
|
||||||
# Create the desired status dictionary and return it
|
# Create the desired status dictionary and return it
|
||||||
status_dict = {}
|
status_dict = {}
|
||||||
|
|
||||||
@ -464,6 +473,9 @@ class Torrent:
|
|||||||
elif key in fns:
|
elif key in fns:
|
||||||
status_dict[key] = fns[key]()
|
status_dict[key] = fns[key]()
|
||||||
|
|
||||||
|
self.status = None
|
||||||
|
self.torrent_info = None
|
||||||
|
|
||||||
return status_dict
|
return status_dict
|
||||||
|
|
||||||
def apply_options(self):
|
def apply_options(self):
|
||||||
@ -531,7 +543,7 @@ class Torrent:
|
|||||||
def move_storage(self, dest):
|
def move_storage(self, dest):
|
||||||
"""Move a torrent's storage location"""
|
"""Move a torrent's storage location"""
|
||||||
try:
|
try:
|
||||||
self.handle.move_storage(dest)
|
self.handle.move_storage(dest.encode("utf8"))
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@ -545,6 +557,7 @@ class Torrent:
|
|||||||
self.torrent_id)
|
self.torrent_id)
|
||||||
log.debug("Saving fastresume file: %s", path)
|
log.debug("Saving fastresume file: %s", path)
|
||||||
try:
|
try:
|
||||||
|
self.delete_fastresume()
|
||||||
fastresume = open(path, "wb")
|
fastresume = open(path, "wb")
|
||||||
fastresume.write(resume_data)
|
fastresume.write(resume_data)
|
||||||
fastresume.close()
|
fastresume.close()
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# torrentmanager.py
|
# torrentmanager.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007, 2008 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2007, 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
"""TorrentManager handles Torrent objects"""
|
"""TorrentManager handles Torrent objects"""
|
||||||
|
|
||||||
@ -40,12 +32,19 @@ import time
|
|||||||
|
|
||||||
import gobject
|
import gobject
|
||||||
|
|
||||||
import deluge.libtorrent as lt
|
try:
|
||||||
|
import deluge.libtorrent as lt
|
||||||
|
except ImportError:
|
||||||
|
import libtorrent as lt
|
||||||
|
if not (lt.version_major == 0 and lt.version_minor == 14):
|
||||||
|
raise ImportError("This version of Deluge requires libtorrent 0.14!")
|
||||||
|
|
||||||
|
|
||||||
import deluge.common
|
import deluge.common
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
from deluge.configmanager import ConfigManager
|
from deluge.configmanager import ConfigManager
|
||||||
from deluge.core.torrent import Torrent
|
from deluge.core.torrent import Torrent
|
||||||
|
import deluge.core.oldstateupgrader
|
||||||
|
|
||||||
from deluge.log import LOG as log
|
from deluge.log import LOG as log
|
||||||
|
|
||||||
@ -53,23 +52,23 @@ class TorrentState:
|
|||||||
def __init__(self,
|
def __init__(self,
|
||||||
torrent_id=None,
|
torrent_id=None,
|
||||||
filename=None,
|
filename=None,
|
||||||
total_uploaded=None,
|
total_uploaded=0,
|
||||||
trackers=None,
|
trackers=None,
|
||||||
compact=None,
|
compact=False,
|
||||||
paused=None,
|
paused=False,
|
||||||
save_path=None,
|
save_path=None,
|
||||||
max_connections=None,
|
max_connections=-1,
|
||||||
max_upload_slots=None,
|
max_upload_slots=-1,
|
||||||
max_upload_speed=None,
|
max_upload_speed=-1.0,
|
||||||
max_download_speed=None,
|
max_download_speed=-1.0,
|
||||||
prioritize_first_last=None,
|
prioritize_first_last=False,
|
||||||
file_priorities=None,
|
file_priorities=None,
|
||||||
queue=None,
|
queue=None,
|
||||||
auto_managed=None,
|
auto_managed=True,
|
||||||
is_finished=False,
|
is_finished=False,
|
||||||
stop_ratio=2.00,
|
stop_ratio=2.00,
|
||||||
stop_at_ratio=False,
|
stop_at_ratio=False,
|
||||||
remove_at_ratio=True
|
remove_at_ratio=False
|
||||||
):
|
):
|
||||||
self.torrent_id = torrent_id
|
self.torrent_id = torrent_id
|
||||||
self.filename = filename
|
self.filename = filename
|
||||||
@ -144,6 +143,8 @@ class TorrentManager(component.Component):
|
|||||||
self.alerts.register_handler("tracker_alert", self.on_alert_tracker)
|
self.alerts.register_handler("tracker_alert", self.on_alert_tracker)
|
||||||
self.alerts.register_handler("tracker_warning_alert",
|
self.alerts.register_handler("tracker_warning_alert",
|
||||||
self.on_alert_tracker_warning)
|
self.on_alert_tracker_warning)
|
||||||
|
self.alerts.register_handler("tracker_error_alert",
|
||||||
|
self.on_alert_tracker_error)
|
||||||
self.alerts.register_handler("storage_moved_alert",
|
self.alerts.register_handler("storage_moved_alert",
|
||||||
self.on_alert_storage_moved)
|
self.on_alert_storage_moved)
|
||||||
self.alerts.register_handler("torrent_resumed_alert",
|
self.alerts.register_handler("torrent_resumed_alert",
|
||||||
@ -157,11 +158,15 @@ class TorrentManager(component.Component):
|
|||||||
|
|
||||||
self.signals = component.get("SignalManager")
|
self.signals = component.get("SignalManager")
|
||||||
|
|
||||||
|
# Run the old state upgrader before loading state
|
||||||
|
deluge.core.oldstateupgrader.OldStateUpgrader()
|
||||||
|
|
||||||
# Try to load the state from file
|
# Try to load the state from file
|
||||||
self.load_state()
|
self.load_state()
|
||||||
|
|
||||||
# Save the state every 5 minutes
|
# Save the state every 5 minutes
|
||||||
self.save_state_timer = gobject.timeout_add(300000, self.save_state)
|
self.save_state_timer = gobject.timeout_add(300000, self.save_state)
|
||||||
|
self.save_resume_data_timer = gobject.timeout_add(290000, self.save_resume_data)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
# Save state on shutdown
|
# Save state on shutdown
|
||||||
@ -216,7 +221,7 @@ class TorrentManager(component.Component):
|
|||||||
|
|
||||||
def get_resume_data_from_file(self, torrent_id):
|
def get_resume_data_from_file(self, torrent_id):
|
||||||
"""Returns an entry with the resume data or None"""
|
"""Returns an entry with the resume data or None"""
|
||||||
fastresume = None
|
fastresume = ""
|
||||||
try:
|
try:
|
||||||
_file = open(
|
_file = open(
|
||||||
os.path.join(
|
os.path.join(
|
||||||
@ -308,8 +313,14 @@ class TorrentManager(component.Component):
|
|||||||
else:
|
else:
|
||||||
storage_mode = lt.storage_mode_t(1)
|
storage_mode = lt.storage_mode_t(1)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Try to encode this as utf8 if needed
|
||||||
|
options["download_location"] = options["download_location"].encode("utf8")
|
||||||
|
except UnicodeDecodeError:
|
||||||
|
pass
|
||||||
|
|
||||||
# Fill in the rest of the add_torrent_params dictionary
|
# Fill in the rest of the add_torrent_params dictionary
|
||||||
add_torrent_params["save_path"] = str(options["download_location"])
|
add_torrent_params["save_path"] = options["download_location"]
|
||||||
|
|
||||||
add_torrent_params["storage_mode"] = storage_mode
|
add_torrent_params["storage_mode"] = storage_mode
|
||||||
add_torrent_params["paused"] = True
|
add_torrent_params["paused"] = True
|
||||||
@ -492,9 +503,10 @@ class TorrentManager(component.Component):
|
|||||||
for torrent_state in state.torrents:
|
for torrent_state in state.torrents:
|
||||||
for t in ordered_state:
|
for t in ordered_state:
|
||||||
if torrent_state.queue < t.queue:
|
if torrent_state.queue < t.queue:
|
||||||
ordered_state.insert(0, torrent_state)
|
ordered_state.insert(ordered_state.index(t), torrent_state)
|
||||||
break
|
break
|
||||||
ordered_state.append(torrent_state)
|
if torrent_state not in ordered_state:
|
||||||
|
ordered_state.append(torrent_state)
|
||||||
|
|
||||||
for torrent_state in ordered_state:
|
for torrent_state in ordered_state:
|
||||||
try:
|
try:
|
||||||
@ -552,6 +564,11 @@ class TorrentManager(component.Component):
|
|||||||
# We return True so that the timer thread will continue
|
# We return True so that the timer thread will continue
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
def save_resume_data(self):
|
||||||
|
"""Saves resume data for all the torrents"""
|
||||||
|
for torrent in self.torrents.values():
|
||||||
|
torrent.write_fastresume()
|
||||||
|
|
||||||
def queue_top(self, torrent_id):
|
def queue_top(self, torrent_id):
|
||||||
"""Queue torrent to top"""
|
"""Queue torrent to top"""
|
||||||
if self.torrents[torrent_id].get_queue_position() == 0:
|
if self.torrents[torrent_id].get_queue_position() == 0:
|
||||||
@ -699,6 +716,15 @@ class TorrentManager(component.Component):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
log.debug("torrent_id doesn't exist.")
|
log.debug("torrent_id doesn't exist.")
|
||||||
|
|
||||||
|
def on_alert_tracker_error(self, alert):
|
||||||
|
log.debug("on_alert_tracker_error")
|
||||||
|
torrent = self.torrents[str(alert.handle.info_hash())]
|
||||||
|
tracker_status = "%s: %s" % (_("Error"), alert.msg)
|
||||||
|
try:
|
||||||
|
torrent.set_tracker_status(tracker_status)
|
||||||
|
except KeyError:
|
||||||
|
log.debug("torrent_id doesn't exist.")
|
||||||
|
|
||||||
def on_alert_storage_moved(self, alert):
|
def on_alert_storage_moved(self, alert):
|
||||||
log.debug("on_alert_storage_moved")
|
log.debug("on_alert_storage_moved")
|
||||||
log.debug("save_path: %s", alert.handle.save_path())
|
log.debug("save_path: %s", alert.handle.save_path())
|
||||||
@ -721,4 +747,3 @@ class TorrentManager(component.Component):
|
|||||||
torrent_id = str(alert.handle.info_hash())
|
torrent_id = str(alert.handle.info_hash())
|
||||||
self.torrents[torrent_id].update_state()
|
self.torrents[torrent_id].update_state()
|
||||||
component.get("SignalManager").emit("torrent_state_changed", torrent_id)
|
component.get("SignalManager").emit("torrent_state_changed", torrent_id)
|
||||||
|
|
||||||
|
|||||||
39
deluge/data/GEOIP_LICENSE.txt
Normal file
39
deluge/data/GEOIP_LICENSE.txt
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
There are two licenses, one for the C library software, and one for
|
||||||
|
the database.
|
||||||
|
|
||||||
|
SOFTWARE LICENSE (C library)
|
||||||
|
|
||||||
|
The GeoIP C Library is licensed under the LGPL. For details see
|
||||||
|
the COPYING file.
|
||||||
|
|
||||||
|
OPEN DATA LICENSE (GeoLite Country and GeoLite City databases)
|
||||||
|
|
||||||
|
Copyright (c) 2008 MaxMind, Inc. All Rights Reserved.
|
||||||
|
|
||||||
|
All advertising materials and documentation mentioning features or use of
|
||||||
|
this database must display the following acknowledgment:
|
||||||
|
"This product includes GeoLite data created by MaxMind, available from
|
||||||
|
http://maxmind.com/"
|
||||||
|
|
||||||
|
Redistribution and use with or without modification, are permitted provided
|
||||||
|
that the following conditions are met:
|
||||||
|
1. Redistributions must retain the above copyright notice, this list of
|
||||||
|
conditions and the following disclaimer in the documentation and/or other
|
||||||
|
materials provided with the distribution.
|
||||||
|
2. All advertising materials and documentation mentioning features or use of
|
||||||
|
this database must display the following acknowledgement:
|
||||||
|
"This product includes GeoLite data created by MaxMind, available from
|
||||||
|
http://maxmind.com/"
|
||||||
|
3. "MaxMind" may not be used to endorse or promote products derived from this
|
||||||
|
database without specific prior written permission.
|
||||||
|
|
||||||
|
THIS DATABASE IS PROVIDED BY MAXMIND, INC ``AS IS'' AND ANY
|
||||||
|
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL MAXMIND BE LIABLE FOR ANY
|
||||||
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||||
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
DATABASE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
BIN
deluge/data/GeoIP.dat
Normal file
BIN
deluge/data/GeoIP.dat
Normal file
Binary file not shown.
BIN
deluge/data/pixmaps/deluge.ico
Normal file
BIN
deluge/data/pixmaps/deluge.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
433
deluge/data/pixmaps/deluge.xpm
Normal file
433
deluge/data/pixmaps/deluge.xpm
Normal file
@ -0,0 +1,433 @@
|
|||||||
|
/* XPM */
|
||||||
|
static char * deluge_xpm[] = {
|
||||||
|
"32 32 398 2",
|
||||||
|
" c None",
|
||||||
|
". c #7B869E",
|
||||||
|
"+ c #7B869D",
|
||||||
|
"@ c #A5ADBE",
|
||||||
|
"# c #A7AFBE",
|
||||||
|
"$ c #8894A9",
|
||||||
|
"% c #A4ADBD",
|
||||||
|
"& c #A7AFBF",
|
||||||
|
"* c #95A0B4",
|
||||||
|
"= c #6F7E99",
|
||||||
|
"- c #A0AABD",
|
||||||
|
"; c #8594AD",
|
||||||
|
"> c #8A98B1",
|
||||||
|
", c #A7B3C6",
|
||||||
|
"' c #8496AF",
|
||||||
|
") c #5B6F90",
|
||||||
|
"! c #8F9EB6",
|
||||||
|
"~ c #8194AF",
|
||||||
|
"{ c #7C91AF",
|
||||||
|
"] c #8096B3",
|
||||||
|
"^ c #859BB8",
|
||||||
|
"/ c #A0B1C8",
|
||||||
|
"( c #728CAD",
|
||||||
|
"_ c #758BAA",
|
||||||
|
": c #849AB7",
|
||||||
|
"< c #6F8AAE",
|
||||||
|
"[ c #7591B3",
|
||||||
|
"} c #7995B8",
|
||||||
|
"| c #7A97B9",
|
||||||
|
"1 c #86A0C0",
|
||||||
|
"2 c #93ABC7",
|
||||||
|
"3 c #6585AE",
|
||||||
|
"4 c #5A78A0",
|
||||||
|
"5 c #879FBE",
|
||||||
|
"6 c #6485AF",
|
||||||
|
"7 c #698CB5",
|
||||||
|
"8 c #6E91BA",
|
||||||
|
"9 c #7295BD",
|
||||||
|
"0 c #7497BF",
|
||||||
|
"a c #7296BF",
|
||||||
|
"b c #89A6C8",
|
||||||
|
"c c #809FC4",
|
||||||
|
"d c #436B9C",
|
||||||
|
"e c #7B99BE",
|
||||||
|
"f c #5378A6",
|
||||||
|
"g c #446A9A",
|
||||||
|
"h c #4B6F9C",
|
||||||
|
"i c #5577A2",
|
||||||
|
"j c #6183AE",
|
||||||
|
"k c #6D92BD",
|
||||||
|
"l c #7097C3",
|
||||||
|
"m c #6E96C1",
|
||||||
|
"n c #8DACCF",
|
||||||
|
"o c #6C93BF",
|
||||||
|
"p c #587DA9",
|
||||||
|
"q c #446592",
|
||||||
|
"r c #1B4075",
|
||||||
|
"s c #204478",
|
||||||
|
"t c #2F5081",
|
||||||
|
"u c #496791",
|
||||||
|
"v c #4F6B94",
|
||||||
|
"w c #5879A4",
|
||||||
|
"x c #6B93BE",
|
||||||
|
"y c #6E97C2",
|
||||||
|
"z c #8EADCF",
|
||||||
|
"A c #5E89BA",
|
||||||
|
"B c #3E669A",
|
||||||
|
"C c #567198",
|
||||||
|
"D c #24477A",
|
||||||
|
"E c #315281",
|
||||||
|
"F c #365685",
|
||||||
|
"G c #3A5A86",
|
||||||
|
"H c #405E8A",
|
||||||
|
"I c #567197",
|
||||||
|
"J c #577298",
|
||||||
|
"K c #516E97",
|
||||||
|
"L c #6187B3",
|
||||||
|
"M c #7098C4",
|
||||||
|
"N c #85A7CC",
|
||||||
|
"O c #5280B6",
|
||||||
|
"P c #305C92",
|
||||||
|
"Q c #5A759B",
|
||||||
|
"R c #2B4D7E",
|
||||||
|
"S c #3B5A88",
|
||||||
|
"T c #4C6991",
|
||||||
|
"U c #597397",
|
||||||
|
"V c #60799D",
|
||||||
|
"W c #5C769A",
|
||||||
|
"X c #587298",
|
||||||
|
"Y c #637C9E",
|
||||||
|
"Z c #5D769B",
|
||||||
|
"` c #526F96",
|
||||||
|
" . c #5B84B0",
|
||||||
|
".. c #759BC6",
|
||||||
|
"+. c #7398C4",
|
||||||
|
"@. c #325D95",
|
||||||
|
"#. c #4C6A94",
|
||||||
|
"$. c #3B5B87",
|
||||||
|
"%. c #44628C",
|
||||||
|
"&. c #5B7599",
|
||||||
|
"*. c #6D84A5",
|
||||||
|
"=. c #647D9F",
|
||||||
|
"-. c #6784A8",
|
||||||
|
";. c #7194BD",
|
||||||
|
">. c #769EC9",
|
||||||
|
",. c #709AC4",
|
||||||
|
"'. c #7293B8",
|
||||||
|
"). c #6D86A9",
|
||||||
|
"!. c #526E96",
|
||||||
|
"~. c #5782B1",
|
||||||
|
"{. c #7A9EC8",
|
||||||
|
"]. c #5D8ABC",
|
||||||
|
"^. c #325485",
|
||||||
|
"/. c #4F6C94",
|
||||||
|
"(. c #3D5C88",
|
||||||
|
"_. c #5E779B",
|
||||||
|
":. c #7489A8",
|
||||||
|
"<. c #667FA1",
|
||||||
|
"[. c #8BA3C1",
|
||||||
|
"}. c #8BAED4",
|
||||||
|
"|. c #83A9D3",
|
||||||
|
"1. c #82A8D2",
|
||||||
|
"2. c #7FA6D1",
|
||||||
|
"3. c #7CA4CE",
|
||||||
|
"4. c #7AA0CC",
|
||||||
|
"5. c #708EB4",
|
||||||
|
"6. c #5F789C",
|
||||||
|
"7. c #4E6C96",
|
||||||
|
"8. c #5986B9",
|
||||||
|
"9. c #7FA2CA",
|
||||||
|
"0. c #4B7CB2",
|
||||||
|
"a. c #2B5387",
|
||||||
|
"b. c #567199",
|
||||||
|
"c. c #305282",
|
||||||
|
"d. c #506B93",
|
||||||
|
"e. c #7187A5",
|
||||||
|
"f. c #6F85A3",
|
||||||
|
"g. c #8EA4BF",
|
||||||
|
"h. c #9DBBDC",
|
||||||
|
"i. c #8EB2D9",
|
||||||
|
"j. c #8DB1D8",
|
||||||
|
"k. c #8AAED6",
|
||||||
|
"l. c #84AAD3",
|
||||||
|
"m. c #7EA5D0",
|
||||||
|
"n. c #779FCC",
|
||||||
|
"o. c #6C8BB0",
|
||||||
|
"p. c #5E779A",
|
||||||
|
"q. c #5178A6",
|
||||||
|
"r. c #5C89BC",
|
||||||
|
"s. c #7198C4",
|
||||||
|
"t. c #325486",
|
||||||
|
"u. c #4C6993",
|
||||||
|
"v. c #5E789B",
|
||||||
|
"w. c #778CA8",
|
||||||
|
"x. c #7389A7",
|
||||||
|
"y. c #B6CADF",
|
||||||
|
"z. c #9ABBDF",
|
||||||
|
"A. c #9BBCE0",
|
||||||
|
"B. c #9ABCDF",
|
||||||
|
"C. c #97B9DE",
|
||||||
|
"D. c #93B6DB",
|
||||||
|
"E. c #8CB1D8",
|
||||||
|
"F. c #85ABD4",
|
||||||
|
"G. c #7CA4CF",
|
||||||
|
"H. c #749BC9",
|
||||||
|
"I. c #6783A6",
|
||||||
|
"J. c #56739C",
|
||||||
|
"K. c #5283B8",
|
||||||
|
"L. c #6F96C3",
|
||||||
|
"M. c #4E7BAE",
|
||||||
|
"N. c #42618D",
|
||||||
|
"O. c #3E5C88",
|
||||||
|
"P. c #667E9F",
|
||||||
|
"Q. c #7288A7",
|
||||||
|
"R. c #8EA1BA",
|
||||||
|
"S. c #B9CFE7",
|
||||||
|
"T. c #A6C5E6",
|
||||||
|
"U. c #A7C6E6",
|
||||||
|
"V. c #A5C4E6",
|
||||||
|
"W. c #A1C1E3",
|
||||||
|
"X. c #93B6DC",
|
||||||
|
"Y. c #8AAFD7",
|
||||||
|
"Z. c #80A7D1",
|
||||||
|
"`. c #769FCC",
|
||||||
|
" + c #6992BF",
|
||||||
|
".+ c #5D789D",
|
||||||
|
"++ c #5483B9",
|
||||||
|
"@+ c #5281B7",
|
||||||
|
"#+ c #688FBB",
|
||||||
|
"$+ c #557198",
|
||||||
|
"%+ c #1E4277",
|
||||||
|
"&+ c #3F5E88",
|
||||||
|
"*+ c #687FA0",
|
||||||
|
"=+ c #6F85A5",
|
||||||
|
"-+ c #A0B2C8",
|
||||||
|
";+ c #BFD5ED",
|
||||||
|
">+ c #B3CFED",
|
||||||
|
",+ c #B2CFED",
|
||||||
|
"'+ c #AFCCEB",
|
||||||
|
")+ c #A9C8E8",
|
||||||
|
"!+ c #A2C2E4",
|
||||||
|
"~+ c #99BADF",
|
||||||
|
"{+ c #78A1CD",
|
||||||
|
"]+ c #6C97C6",
|
||||||
|
"^+ c #5D88B7",
|
||||||
|
"/+ c #4779B2",
|
||||||
|
"(+ c #7295BE",
|
||||||
|
"_+ c #3C6699",
|
||||||
|
":+ c #2B4F83",
|
||||||
|
"<+ c #59749A",
|
||||||
|
"[+ c #657D9E",
|
||||||
|
"}+ c #6C83A3",
|
||||||
|
"|+ c #A3B4CA",
|
||||||
|
"1+ c #C7DDF2",
|
||||||
|
"2+ c #BFD9F4",
|
||||||
|
"3+ c #BDD7F2",
|
||||||
|
"4+ c #B8D3F0",
|
||||||
|
"5+ c #B0CDEC",
|
||||||
|
"6+ c #9CBDE0",
|
||||||
|
"7+ c #91B4DA",
|
||||||
|
"8+ c #79A1CD",
|
||||||
|
"9+ c #5F8DBF",
|
||||||
|
"0+ c #4578B1",
|
||||||
|
"a+ c #6B90BA",
|
||||||
|
"b+ c #446A9B",
|
||||||
|
"c+ c #2D5184",
|
||||||
|
"d+ c #577299",
|
||||||
|
"e+ c #305181",
|
||||||
|
"f+ c #5B749A",
|
||||||
|
"g+ c #6C82A2",
|
||||||
|
"h+ c #98AAC3",
|
||||||
|
"i+ c #D2E5F6",
|
||||||
|
"j+ c #CAE2FA",
|
||||||
|
"k+ c #C6DEF8",
|
||||||
|
"l+ c #BED8F3",
|
||||||
|
"m+ c #B4D0EE",
|
||||||
|
"n+ c #9EBEE1",
|
||||||
|
"o+ c #92B5DB",
|
||||||
|
"p+ c #78A0CD",
|
||||||
|
"q+ c #6B96C5",
|
||||||
|
"r+ c #5D8BBE",
|
||||||
|
"s+ c #5081B7",
|
||||||
|
"t+ c #4276AF",
|
||||||
|
"u+ c #6489B4",
|
||||||
|
"v+ c #4B6E9B",
|
||||||
|
"w+ c #2C5284",
|
||||||
|
"x+ c #234679",
|
||||||
|
"y+ c #4C6990",
|
||||||
|
"z+ c #6C82A3",
|
||||||
|
"A+ c #738AA9",
|
||||||
|
"B+ c #D9E9F9",
|
||||||
|
"C+ c #D3E9FF",
|
||||||
|
"D+ c #CCE3FB",
|
||||||
|
"E+ c #C2DBF5",
|
||||||
|
"F+ c #B6D2EF",
|
||||||
|
"G+ c #AAC8E8",
|
||||||
|
"H+ c #9DBEE1",
|
||||||
|
"I+ c #90B3DA",
|
||||||
|
"J+ c #759ECB",
|
||||||
|
"K+ c #6893C4",
|
||||||
|
"L+ c #5A89BC",
|
||||||
|
"M+ c #4D7EB5",
|
||||||
|
"N+ c #3F73AD",
|
||||||
|
"O+ c #6386B1",
|
||||||
|
"P+ c #486A96",
|
||||||
|
"Q+ c #2A5082",
|
||||||
|
"R+ c #58739A",
|
||||||
|
"S+ c #375685",
|
||||||
|
"T+ c #5F789B",
|
||||||
|
"U+ c #ADBED3",
|
||||||
|
"V+ c #D4E9FE",
|
||||||
|
"W+ c #CFE6FD",
|
||||||
|
"X+ c #C2DCF6",
|
||||||
|
"Y+ c #A8C7E7",
|
||||||
|
"Z+ c #719BC9",
|
||||||
|
"`+ c #6490C1",
|
||||||
|
" @ c #5685BA",
|
||||||
|
".@ c #487AB2",
|
||||||
|
"+@ c #3F70A8",
|
||||||
|
"@@ c #6B8BB2",
|
||||||
|
"#@ c #3F608D",
|
||||||
|
"$@ c #536F97",
|
||||||
|
"%@ c #1F4377",
|
||||||
|
"&@ c #224679",
|
||||||
|
"*@ c #46638D",
|
||||||
|
"=@ c #6880A0",
|
||||||
|
"-@ c #6F86A5",
|
||||||
|
";@ c #BBCDE0",
|
||||||
|
">@ c #CEE4FC",
|
||||||
|
",@ c #C0DAF4",
|
||||||
|
"'@ c #A5C4E5",
|
||||||
|
")@ c #96B9DD",
|
||||||
|
"!@ c #88AED6",
|
||||||
|
"~@ c #7CA3CE",
|
||||||
|
"{@ c #719BC8",
|
||||||
|
"]@ c #6692C2",
|
||||||
|
"^@ c #5987BA",
|
||||||
|
"/@ c #4C7CB3",
|
||||||
|
"(@ c #4672A5",
|
||||||
|
"_@ c #728DB1",
|
||||||
|
":@ c #385884",
|
||||||
|
"<@ c #3C5C89",
|
||||||
|
"[@ c #385886",
|
||||||
|
"}@ c #26497B",
|
||||||
|
"|@ c #4B6790",
|
||||||
|
"1@ c #6980A1",
|
||||||
|
"2@ c #768BA9",
|
||||||
|
"3@ c #9CB1CA",
|
||||||
|
"4@ c #B9D3EE",
|
||||||
|
"5@ c #ADCAEA",
|
||||||
|
"6@ c #9EBFE2",
|
||||||
|
"7@ c #90B4DA",
|
||||||
|
"8@ c #87ACD5",
|
||||||
|
"9@ c #7EA4CE",
|
||||||
|
"0@ c #749CC8",
|
||||||
|
"a@ c #6993C1",
|
||||||
|
"b@ c #5C89BB",
|
||||||
|
"c@ c #4F7DB1",
|
||||||
|
"d@ c #5D80AC",
|
||||||
|
"e@ c #617EA4",
|
||||||
|
"f@ c #3A547B",
|
||||||
|
"g@ c #2A4C7E",
|
||||||
|
"h@ c #1C4176",
|
||||||
|
"i@ c #27497B",
|
||||||
|
"j@ c #45628D",
|
||||||
|
"k@ c #60799C",
|
||||||
|
"l@ c #7288A6",
|
||||||
|
"m@ c #7D91AD",
|
||||||
|
"n@ c #859FBE",
|
||||||
|
"o@ c #93B4D7",
|
||||||
|
"p@ c #8FB2D8",
|
||||||
|
"q@ c #86ABD2",
|
||||||
|
"r@ c #7EA4CD",
|
||||||
|
"s@ c #759CC8",
|
||||||
|
"t@ c #6A94C2",
|
||||||
|
"u@ c #5C89BA",
|
||||||
|
"v@ c #547EAE",
|
||||||
|
"w@ c #7994B6",
|
||||||
|
"x@ c #44628A",
|
||||||
|
"y@ c #375786",
|
||||||
|
"z@ c #476590",
|
||||||
|
"A@ c #4C6890",
|
||||||
|
"B@ c #5B7498",
|
||||||
|
"C@ c #667EA0",
|
||||||
|
"D@ c #6F86A7",
|
||||||
|
"E@ c #738CAD",
|
||||||
|
"F@ c #7592B7",
|
||||||
|
"G@ c #779AC1",
|
||||||
|
"H@ c #779DC7",
|
||||||
|
"I@ c #6993C0",
|
||||||
|
"J@ c #5B86B6",
|
||||||
|
"K@ c #7B97BB",
|
||||||
|
"L@ c #5A769E",
|
||||||
|
"M@ c #394E6E",
|
||||||
|
"N@ c #21426C",
|
||||||
|
"O@ c #45638E",
|
||||||
|
"P@ c #496691",
|
||||||
|
"Q@ c #1D4176",
|
||||||
|
"R@ c #41608B",
|
||||||
|
"S@ c #4C6891",
|
||||||
|
"T@ c #506D95",
|
||||||
|
"U@ c #4E6B94",
|
||||||
|
"V@ c #4B6A95",
|
||||||
|
"W@ c #5176A3",
|
||||||
|
"X@ c #7C99BC",
|
||||||
|
"Y@ c #6280A8",
|
||||||
|
"Z@ c #3E567A",
|
||||||
|
"`@ c #25446F",
|
||||||
|
" # c #395987",
|
||||||
|
".# c #214579",
|
||||||
|
"+# c #294C7E",
|
||||||
|
"@# c #315383",
|
||||||
|
"## c #3D5C8A",
|
||||||
|
"$# c #43618D",
|
||||||
|
"%# c #5C769C",
|
||||||
|
"&# c #6D84A6",
|
||||||
|
"*# c #405E8B",
|
||||||
|
"=# c #375179",
|
||||||
|
"-# c #1B304F",
|
||||||
|
";# c #2E5181",
|
||||||
|
"># c #415F8C",
|
||||||
|
",# c #547098",
|
||||||
|
"'# c #486590",
|
||||||
|
")# c #43618E",
|
||||||
|
"!# c #476690",
|
||||||
|
"~# c #6981A4",
|
||||||
|
"{# c #677FA3",
|
||||||
|
"]# c #496690",
|
||||||
|
"^# c #2E5283",
|
||||||
|
"/# c #294467",
|
||||||
|
"(# c #32507C",
|
||||||
|
"_# c #325684",
|
||||||
|
":# c #335484",
|
||||||
|
"<# c #3F5E8B",
|
||||||
|
"[# c #3E5F8D",
|
||||||
|
"}# c #345887",
|
||||||
|
"|# c #305383",
|
||||||
|
"1# c #2A4466",
|
||||||
|
" ",
|
||||||
|
" . + ",
|
||||||
|
" @ # ",
|
||||||
|
" $ % & * ",
|
||||||
|
" = - ; > , ' ",
|
||||||
|
" ) ! ~ { ] ^ / ( ",
|
||||||
|
" _ : < [ } | 1 2 3 ",
|
||||||
|
" 4 5 6 7 8 9 0 a b c ",
|
||||||
|
" d e f g h i j k l m n o ",
|
||||||
|
" p q r r s t u v w x y z A ",
|
||||||
|
" B C r D E F G H I J K L M N O ",
|
||||||
|
" P Q R S T U V W I X Y Z ` ...+. ",
|
||||||
|
" @.#.$.%.&.*.=.-.;.>.,.'.).V !.~.{.]. ",
|
||||||
|
" ^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0. ",
|
||||||
|
" a.b.c.d.e.f.g.h.i.i.j.k.l.m.n.o.p.q.r.s. ",
|
||||||
|
" t.u.F v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M. ",
|
||||||
|
" N.c.O.P.Q.R.S.T.U.V.W.A.X.Y.Z.`. +.+++@+#+ ",
|
||||||
|
" $+%+&+*+=+-+;+>+,+'+)+!+~+i.|.{+]+^+++/+(+_+ ",
|
||||||
|
" :+<+r G [+}+|+1+2+3+4+5+T.6+7+F.8+]+9+K.0+a+b+ ",
|
||||||
|
" c+d+r e+f+g+h+i+j+k+l+m+)+n+o+l.p+q+r+s+t+u+v+ ",
|
||||||
|
" w+Q r x+y+z+A+B+C+D+E+F+G+H+I+|.J+K+L+M+N+O+P+ ",
|
||||||
|
" Q+R+r r S+T+*+U+V+W+X+F+Y+A.j.2.Z+`+ @.@+@@@#@ ",
|
||||||
|
" $@%@r &@*@=@-@;@>@,@,+'@)@!@~@{@]@^@/@(@_@:@ ",
|
||||||
|
" <@[@r r }@|@1@2@3@4@5@6@7@8@9@0@a@b@c@d@e@f@ ",
|
||||||
|
" g@b.h@r r i@j@k@l@m@n@o@p@q@r@s@t@u@v@w@x@ ",
|
||||||
|
" y@z@r r r %@y@A@B@C@D@E@F@G@H@I@J@K@L@M@ ",
|
||||||
|
" N@O@P@Q@r r r s e+R@S@T@` U@V@W@X@Y@Z@ ",
|
||||||
|
" `@ #Q y@Q@r r .#+#@#[@##$#%#&#*#=# ",
|
||||||
|
" -#;#>#d+,#'#)#!#u.Q ~#{#]#^#/# ",
|
||||||
|
" (#_#:# #<#$#[#}#|#1# ",
|
||||||
|
" ",
|
||||||
|
" "};
|
||||||
@ -1,2 +1,2 @@
|
|||||||
Flag images found at http://www.hahn-hotel.com/flags/
|
From: http://famfamfam.com/lab/icons/flags/
|
||||||
"All sets provided by us are free to use to anyone, for commercial or non-commercial websites."
|
"These flag icons are available for free use for any purpose with no requirement for attribution."
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.0
|
Version=1.0
|
||||||
Name=Deluge
|
Name=Deluge BitTorrent Client
|
||||||
GenericName=Bittorrent Client
|
GenericName=Bittorrent Client
|
||||||
Comment=Transfer files using the Bittorrent protocol
|
Comment=Transfer files using the Bittorrent protocol
|
||||||
Exec=deluge
|
Exec=deluge
|
||||||
|
|||||||
45
deluge/docs/man/deluge.1
Normal file
45
deluge/docs/man/deluge.1
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
.TH DELUGE 1 "November 2008" "1.0.6"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
deluge - a bittorrent client
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B deluge [options] [torrent]
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.br
|
||||||
|
.P
|
||||||
|
Deluge utilizes a client/server model, with 'deluged' being the daemon process and 'deluge' being used to launch a user-interface.
|
||||||
|
.br
|
||||||
|
.P
|
||||||
|
By default, Deluge will run in 'Classic' mode where the daemon functionality will be hidden and the GtkUI will automatically launch a 'deluged' process. You can turn this off in the Preferences dialog.
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
.I [torrent]
|
||||||
|
List of ".torrent" files to add to the download queue.
|
||||||
|
.TP
|
||||||
|
.I --version
|
||||||
|
Show program's version number and exit.
|
||||||
|
.TP
|
||||||
|
.I -h, --help
|
||||||
|
Show this help message and exit.
|
||||||
|
.TP
|
||||||
|
.I -c CONFIG, --config=CONFIG
|
||||||
|
Sets the configuration path.
|
||||||
|
.TP
|
||||||
|
.I -u UI, --ui=UI
|
||||||
|
The UI that you wish to launch, current options include: gtk, web or null
|
||||||
|
.TP
|
||||||
|
.I -l LOGFILE, --logfile=LOGFILE
|
||||||
|
Output to designated logfile instead of stdout
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.B Homepage:
|
||||||
|
http://www.deluge-torrent.org/
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
This manual page was written by Andrew Resch <andrew.resch@gmail.com>.
|
||||||
|
.br
|
||||||
|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation
|
||||||
|
.br
|
||||||
45
deluge/docs/man/deluged.1
Normal file
45
deluge/docs/man/deluged.1
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
.TH DELUGED 1 "November 2008" "1.0.6"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
deluged - a bittorrent client daemon
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B deluged [options]
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.br
|
||||||
|
.P
|
||||||
|
Deluge utilizes a client/server model, with 'deluged' being the daemon process and 'deluge' being used to launch a user-interface.
|
||||||
|
.br
|
||||||
|
.P
|
||||||
|
By default, 'deluged' will run as a daemon, to prevent this you can run deluged with the \-d option. This option is useful for running deluged with the start-stop-daemon.
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
.I --version
|
||||||
|
Show program's version number and exit.
|
||||||
|
.TP
|
||||||
|
.I -h, --help
|
||||||
|
Show this help message and exit.
|
||||||
|
.TP
|
||||||
|
.I -p PORT, --port=PORT
|
||||||
|
Port daemon will listen on, default is 58846
|
||||||
|
.TP
|
||||||
|
.I -d, --do-not-daemonize
|
||||||
|
Do not daemonize
|
||||||
|
.TP
|
||||||
|
.I -c CONFIG, --config=CONFIG
|
||||||
|
Sets the configuration path.
|
||||||
|
.TP
|
||||||
|
.I -l LOGFILE, --logfile=LOGFILE
|
||||||
|
Output to designated logfile instead of stdout
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.B Homepage:
|
||||||
|
http://www.deluge-torrent.org/
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
This manual page was written by Andrew Resch <andrew.resch@gmail.com>.
|
||||||
|
.br
|
||||||
|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation
|
||||||
|
.br
|
||||||
@ -1,13 +1,13 @@
|
|||||||
#
|
#
|
||||||
# error.py
|
# error.py
|
||||||
#
|
#
|
||||||
# Copyright (C) 2008 Andrew Resch ('andar') <andrewresch@gmail.com>
|
# Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com>
|
||||||
#
|
#
|
||||||
# Deluge is free software.
|
# Deluge is free software.
|
||||||
#
|
#
|
||||||
# You may redistribute it and/or modify it under the terms of the
|
# You may redistribute it and/or modify it under the terms of the
|
||||||
# GNU General Public License, as published by the Free Software
|
# GNU General Public License, as published by the Free Software
|
||||||
# Foundation; either version 2 of the License, or (at your option)
|
# Foundation; either version 3 of the License, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# deluge is distributed in the hope that it will be useful,
|
# deluge is distributed in the hope that it will be useful,
|
||||||
@ -21,15 +21,7 @@
|
|||||||
# 51 Franklin Street, Fifth Floor
|
# 51 Franklin Street, Fifth Floor
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
#
|
#
|
||||||
# In addition, as a special exception, the copyright holders give
|
|
||||||
# permission to link the code of portions of this program with the OpenSSL
|
|
||||||
# library.
|
|
||||||
# You must obey the GNU General Public License in all respects for all of
|
|
||||||
# the code used other than OpenSSL. If you modify file(s) with this
|
|
||||||
# exception, you may extend this exception to your version of the file(s),
|
|
||||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
|
||||||
# this exception statement from your version. If you delete this exception
|
|
||||||
# statement from all source files in the program, then also delete it here.
|
|
||||||
|
|
||||||
class DelugeError(Exception):
|
class DelugeError(Exception):
|
||||||
def __init__(self, value):
|
def __init__(self, value):
|
||||||
|
|||||||
@ -1,172 +1,151 @@
|
|||||||
deluge/scripts/wiki_docgen.py
|
|
||||||
deluge/scripts/state_upgrade.py
|
|
||||||
deluge/core/daemon.py
|
|
||||||
deluge/core/signalmanager.py
|
|
||||||
deluge/core/torrent.py
|
|
||||||
deluge/core/core.py
|
|
||||||
deluge/core/__init__.py
|
|
||||||
deluge/core/torrentmanager.py
|
|
||||||
deluge/core/pluginmanager.py
|
|
||||||
deluge/core/autoadd.py
|
deluge/core/autoadd.py
|
||||||
|
deluge/core/signalmanager.py
|
||||||
|
deluge/core/torrentmanager.py
|
||||||
|
deluge/core/daemon.py
|
||||||
|
deluge/core/torrent.py
|
||||||
|
deluge/core/pluginmanager.py
|
||||||
|
deluge/core/oldstateupgrader.py
|
||||||
|
deluge/core/__init__.py
|
||||||
|
deluge/core/core.py
|
||||||
deluge/core/alertmanager.py
|
deluge/core/alertmanager.py
|
||||||
deluge/main.py
|
|
||||||
deluge/component.py
|
|
||||||
deluge/pluginmanagerbase.py
|
|
||||||
deluge/error.py
|
|
||||||
deluge/configmanager.py
|
|
||||||
deluge/log.py
|
|
||||||
deluge/config.py
|
deluge/config.py
|
||||||
deluge/__init__.py
|
deluge/pluginmanagerbase.py
|
||||||
deluge/ui/ui.py
|
deluge/SimpleXMLRPCServer.py
|
||||||
deluge/ui/webui/scripts/extract_template_strings.py
|
|
||||||
deluge/ui/webui/scripts/template_strings.py
|
|
||||||
deluge/ui/webui/tests/multicall_notepad.py
|
|
||||||
deluge/ui/webui/tests/test_all.py
|
|
||||||
deluge/ui/webui/json_api.py
|
|
||||||
deluge/ui/webui/pages.py
|
|
||||||
deluge/ui/webui/torrent_add.py
|
|
||||||
deluge/ui/webui/config_tabs_deluge.py
|
|
||||||
deluge/ui/webui/webserver_common.py
|
|
||||||
deluge/ui/webui/config_tabs_webui.py
|
|
||||||
deluge/ui/webui/torrent_move.py
|
|
||||||
deluge/ui/webui/config_forms.py
|
|
||||||
deluge/ui/webui/webui.py
|
|
||||||
deluge/ui/webui/page_decorators.py
|
|
||||||
deluge/ui/webui/components.py
|
|
||||||
deluge/ui/webui/deluge_webserver.py
|
|
||||||
deluge/ui/webui/apache.py
|
|
||||||
deluge/ui/webui/debugerror.py
|
|
||||||
deluge/ui/webui/torrent_options.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/widgets.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/core/exceptions.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/core/__init__.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/utils/safestring.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/utils/translation.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/utils/functional.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/utils/encoding.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/utils/http.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/utils/__init__.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/utils/datastructures.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/django/__init__.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/util.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/forms.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/models.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/fields.py
|
|
||||||
deluge/ui/webui/lib/newforms_portable/__init__.py
|
|
||||||
deluge/ui/webui/lib/webpy022/request.py
|
|
||||||
deluge/ui/webui/lib/webpy022/webapi.py
|
|
||||||
deluge/ui/webui/lib/webpy022/wsgi.py
|
|
||||||
deluge/ui/webui/lib/webpy022/debugerror.py
|
|
||||||
deluge/ui/webui/lib/webpy022/cheetah.py
|
|
||||||
deluge/ui/webui/lib/webpy022/net.py
|
|
||||||
deluge/ui/webui/lib/webpy022/http.py
|
|
||||||
deluge/ui/webui/lib/webpy022/__init__.py
|
|
||||||
deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py
|
|
||||||
deluge/ui/webui/lib/webpy022/httpserver.py
|
|
||||||
deluge/ui/webui/lib/webpy022/form.py
|
|
||||||
deluge/ui/webui/lib/webpy022/db.py
|
|
||||||
deluge/ui/webui/lib/web.py
|
|
||||||
deluge/ui/webui/lib/__init__.py
|
|
||||||
deluge/ui/webui/lib/json.py
|
|
||||||
deluge/ui/webui/lib/static_handler.py
|
|
||||||
deluge/ui/webui/lib/pythonize.py
|
|
||||||
deluge/ui/webui/lib/newforms_plus.py
|
|
||||||
deluge/ui/webui/render.py
|
|
||||||
deluge/ui/webui/web.py
|
|
||||||
deluge/ui/webui/__init__.py
|
|
||||||
deluge/ui/webui/register_menu.py
|
|
||||||
deluge/ui/null/deluge_shell.py
|
|
||||||
deluge/ui/null/__init__.py
|
|
||||||
deluge/ui/signalreceiver.py
|
|
||||||
deluge/ui/client.py
|
|
||||||
deluge/ui/__init__.py
|
|
||||||
deluge/ui/gtkui/connectionmanager.py
|
|
||||||
deluge/ui/gtkui/ipcinterface.py
|
|
||||||
deluge/ui/gtkui/options_tab.py
|
|
||||||
deluge/ui/gtkui/addtorrenturl.py
|
|
||||||
deluge/ui/gtkui/preferences.py
|
|
||||||
deluge/ui/gtkui/addtorrentdialog.py
|
|
||||||
deluge/ui/gtkui/torrentdetails.py
|
|
||||||
deluge/ui/gtkui/peers_tab.py
|
|
||||||
deluge/ui/gtkui/mainwindow.py
|
|
||||||
deluge/ui/gtkui/coreconfig.py
|
|
||||||
deluge/ui/gtkui/menubar.py
|
|
||||||
deluge/ui/gtkui/statistics_tab.py
|
|
||||||
deluge/ui/gtkui/gtkui.py
|
|
||||||
deluge/ui/gtkui/sidebar.py
|
|
||||||
deluge/ui/gtkui/systemtray.py
|
|
||||||
deluge/ui/gtkui/toolbar.py
|
|
||||||
deluge/ui/gtkui/torrentview.py
|
|
||||||
deluge/ui/gtkui/files_tab.py
|
|
||||||
deluge/ui/gtkui/signals.py
|
|
||||||
deluge/ui/gtkui/queuedtorrents.py
|
|
||||||
deluge/ui/gtkui/__init__.py
|
|
||||||
deluge/ui/gtkui/removetorrentdialog.py
|
|
||||||
deluge/ui/gtkui/details_tab.py
|
|
||||||
deluge/ui/gtkui/pluginmanager.py
|
|
||||||
deluge/ui/gtkui/dbusinterface.py
|
|
||||||
deluge/ui/gtkui/listview.py
|
|
||||||
deluge/ui/gtkui/aboutdialog.py
|
|
||||||
deluge/ui/gtkui/statusbar.py
|
|
||||||
deluge/ui/gtkui/edittrackersdialog.py
|
|
||||||
deluge/common.py
|
|
||||||
deluge/plugins/testp/testp/ui.py
|
|
||||||
deluge/plugins/testp/testp/gtkui.py
|
|
||||||
deluge/plugins/testp/testp/core.py
|
|
||||||
deluge/plugins/testp/testp/__init__.py
|
|
||||||
deluge/plugins/testp/setup.py
|
|
||||||
deluge/plugins/testp/build/lib/testp/ui.py
|
|
||||||
deluge/plugins/testp/build/lib/testp/gtkui.py
|
|
||||||
deluge/plugins/testp/build/lib/testp/core.py
|
|
||||||
deluge/plugins/testp/build/lib/testp/__init__.py
|
|
||||||
deluge/plugins/init.py
|
|
||||||
deluge/plugins/label/label/ui.py
|
|
||||||
deluge/plugins/label/label/gtk_sidebar.py
|
|
||||||
deluge/plugins/label/label/test.py
|
|
||||||
deluge/plugins/label/label/webui.py
|
|
||||||
deluge/plugins/label/label/webui_config.py
|
deluge/plugins/label/label/webui_config.py
|
||||||
|
deluge/plugins/label/label/webui.py
|
||||||
|
deluge/plugins/label/label/gtk_sidebar.py
|
||||||
deluge/plugins/label/label/gtkui.py
|
deluge/plugins/label/label/gtkui.py
|
||||||
|
deluge/plugins/label/label/test.py
|
||||||
|
deluge/plugins/label/label/ui.py
|
||||||
deluge/plugins/label/label/webui_pages.py
|
deluge/plugins/label/label/webui_pages.py
|
||||||
deluge/plugins/label/label/core.py
|
|
||||||
deluge/plugins/label/label/__init__.py
|
deluge/plugins/label/label/__init__.py
|
||||||
|
deluge/plugins/label/label/core.py
|
||||||
deluge/plugins/label/setup.py
|
deluge/plugins/label/setup.py
|
||||||
deluge/plugins/label/build/lib/label/ui.py
|
|
||||||
deluge/plugins/label/build/lib/label/gtk_sidebar.py
|
|
||||||
deluge/plugins/label/build/lib/label/test.py
|
|
||||||
deluge/plugins/label/build/lib/label/webui.py
|
|
||||||
deluge/plugins/label/build/lib/label/webui_config.py
|
|
||||||
deluge/plugins/label/build/lib/label/gtkui.py
|
|
||||||
deluge/plugins/label/build/lib/label/sidebar.py
|
|
||||||
deluge/plugins/label/build/lib/label/webui_pages.py
|
|
||||||
deluge/plugins/label/build/lib/label/core.py
|
|
||||||
deluge/plugins/label/build/lib/label/__init__.py
|
|
||||||
deluge/plugins/__init__.py
|
|
||||||
deluge/plugins/corepluginbase.py
|
deluge/plugins/corepluginbase.py
|
||||||
|
deluge/plugins/init.py
|
||||||
deluge/plugins/blocklist/setup.py
|
deluge/plugins/blocklist/setup.py
|
||||||
deluge/plugins/blocklist/blocklist/ui.py
|
|
||||||
deluge/plugins/blocklist/blocklist/peerguardian.py
|
|
||||||
deluge/plugins/blocklist/blocklist/webui.py
|
deluge/plugins/blocklist/blocklist/webui.py
|
||||||
deluge/plugins/blocklist/blocklist/gtkui.py
|
deluge/plugins/blocklist/blocklist/gtkui.py
|
||||||
deluge/plugins/blocklist/blocklist/core.py
|
deluge/plugins/blocklist/blocklist/ui.py
|
||||||
deluge/plugins/blocklist/blocklist/text.py
|
deluge/plugins/blocklist/blocklist/text.py
|
||||||
|
deluge/plugins/blocklist/blocklist/peerguardian.py
|
||||||
deluge/plugins/blocklist/blocklist/__init__.py
|
deluge/plugins/blocklist/blocklist/__init__.py
|
||||||
deluge/plugins/blocklist/build/lib/blocklist/ui.py
|
deluge/plugins/blocklist/blocklist/core.py
|
||||||
deluge/plugins/blocklist/build/lib/blocklist/peerguardian.py
|
deluge/plugins/__init__.py
|
||||||
deluge/plugins/blocklist/build/lib/blocklist/webui.py
|
deluge/configmanager.py
|
||||||
deluge/plugins/blocklist/build/lib/blocklist/gtkui.py
|
deluge/ui/client.py
|
||||||
deluge/plugins/blocklist/build/lib/blocklist/core.py
|
deluge/ui/ui.py
|
||||||
deluge/plugins/blocklist/build/lib/blocklist/text.py
|
deluge/ui/gtkui/listview.py
|
||||||
deluge/plugins/blocklist/build/lib/blocklist/__init__.py
|
deluge/ui/gtkui/options_tab.py
|
||||||
deluge/ui/gtkui/glade/connection_manager.glade
|
deluge/ui/gtkui/statusbar.py
|
||||||
deluge/ui/gtkui/glade/preferences_dialog.glade
|
deluge/ui/gtkui/statistics_tab.py
|
||||||
deluge/ui/gtkui/glade/queuedtorrents.glade
|
deluge/ui/gtkui/addtorrentdialog.py
|
||||||
deluge/ui/gtkui/glade/dgtkpopups.glade
|
deluge/ui/gtkui/coreconfig.py
|
||||||
deluge/ui/gtkui/glade/remove_torrent_dialog.glade
|
deluge/ui/gtkui/sidebar.py
|
||||||
deluge/ui/gtkui/glade/edit_trackers.glade
|
deluge/ui/gtkui/gtkui.py
|
||||||
|
deluge/ui/gtkui/aboutdialog.py
|
||||||
|
deluge/ui/gtkui/systemtray.py
|
||||||
|
deluge/ui/gtkui/dbusinterface.py
|
||||||
|
deluge/ui/gtkui/files_tab.py
|
||||||
|
deluge/ui/gtkui/menubar.py
|
||||||
|
deluge/ui/gtkui/peers_tab.py
|
||||||
|
deluge/ui/gtkui/toolbar.py
|
||||||
|
deluge/ui/gtkui/ipcinterface.py
|
||||||
|
deluge/ui/gtkui/queuedtorrents.py
|
||||||
|
deluge/ui/gtkui/pluginmanager.py
|
||||||
|
deluge/ui/gtkui/mainwindow.py
|
||||||
|
deluge/ui/gtkui/removetorrentdialog.py
|
||||||
|
deluge/ui/gtkui/signals.py
|
||||||
|
deluge/ui/gtkui/torrentdetails.py
|
||||||
|
deluge/ui/gtkui/__init__.py
|
||||||
|
deluge/ui/gtkui/edittrackersdialog.py
|
||||||
|
deluge/ui/gtkui/preferences.py
|
||||||
|
deluge/ui/gtkui/torrentview.py
|
||||||
|
deluge/ui/gtkui/new_release_dialog.py
|
||||||
|
deluge/ui/gtkui/connectionmanager.py
|
||||||
|
deluge/ui/gtkui/details_tab.py
|
||||||
|
deluge/ui/signalreceiver.py
|
||||||
|
deluge/ui/__init__.py
|
||||||
|
deluge/ui/webui/components.py
|
||||||
|
deluge/ui/webui/render.py
|
||||||
|
deluge/ui/webui/page_decorators.py
|
||||||
|
deluge/ui/webui/webui.py
|
||||||
|
deluge/ui/webui/debugerror.py
|
||||||
|
deluge/ui/webui/webserver_common.py
|
||||||
|
deluge/ui/webui/config_forms.py
|
||||||
|
deluge/ui/webui/deluge_webserver.py
|
||||||
|
deluge/ui/webui/json_api.py
|
||||||
|
deluge/ui/webui/register_menu.py
|
||||||
|
deluge/ui/webui/config_tabs_deluge.py
|
||||||
|
deluge/ui/webui/lib/webpy022/request.py
|
||||||
|
deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py
|
||||||
|
deluge/ui/webui/lib/webpy022/db.py
|
||||||
|
deluge/ui/webui/lib/webpy022/template.py
|
||||||
|
deluge/ui/webui/lib/webpy022/cheetah.py
|
||||||
|
deluge/ui/webui/lib/webpy022/debugerror.py
|
||||||
|
deluge/ui/webui/lib/webpy022/http.py
|
||||||
|
deluge/ui/webui/lib/webpy022/httpserver.py
|
||||||
|
deluge/ui/webui/lib/webpy022/utils.py
|
||||||
|
deluge/ui/webui/lib/webpy022/__init__.py
|
||||||
|
deluge/ui/webui/lib/webpy022/net.py
|
||||||
|
deluge/ui/webui/lib/webpy022/wsgi.py
|
||||||
|
deluge/ui/webui/lib/webpy022/webapi.py
|
||||||
|
deluge/ui/webui/lib/webpy022/form.py
|
||||||
|
deluge/ui/webui/lib/json.py
|
||||||
|
deluge/ui/webui/lib/newforms_plus.py
|
||||||
|
deluge/ui/webui/lib/static_handler.py
|
||||||
|
deluge/ui/webui/lib/__init__.py
|
||||||
|
deluge/ui/webui/lib/web.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/core/__init__.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/core/exceptions.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/utils/html.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/utils/http.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/utils/encoding.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/utils/translation.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/utils/safestring.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/utils/__init__.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/utils/datastructures.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/utils/functional.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/django/__init__.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/forms.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/models.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/widgets.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/fields.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/__init__.py
|
||||||
|
deluge/ui/webui/lib/newforms_portable/util.py
|
||||||
|
deluge/ui/webui/utils.py
|
||||||
|
deluge/ui/webui/pages.py
|
||||||
|
deluge/ui/webui/__init__.py
|
||||||
|
deluge/ui/webui/tests/test_all.py
|
||||||
|
deluge/ui/webui/apache.py
|
||||||
|
deluge/ui/webui/web.py
|
||||||
|
deluge/ui/webui/torrent_move.py
|
||||||
|
deluge/ui/webui/config_tabs_webui.py
|
||||||
|
deluge/ui/webui/torrent_options.py
|
||||||
|
deluge/ui/webui/torrent_add.py
|
||||||
|
deluge/ui/webui/scripts/template_strings.py
|
||||||
|
deluge/ui/webui/scripts/copy_icons.py
|
||||||
|
deluge/ui/webui/scripts/extract_template_strings.py
|
||||||
|
deluge/ui/null/deluge_shell.py
|
||||||
|
deluge/ui/null/__init__.py
|
||||||
|
deluge/common.py
|
||||||
|
deluge/component.py
|
||||||
|
deluge/main.py
|
||||||
|
deluge/error.py
|
||||||
|
deluge/__init__.py
|
||||||
|
deluge/log.py
|
||||||
|
deluge/xmlrpclib.py
|
||||||
|
deluge/scripts/wiki_docgen.py
|
||||||
|
deluge/scripts/state_upgrade.py
|
||||||
|
deluge/plugins/blocklist/blocklist/data/blocklist_pref.glade
|
||||||
deluge/ui/gtkui/glade/add_torrent_dialog.glade
|
deluge/ui/gtkui/glade/add_torrent_dialog.glade
|
||||||
deluge/ui/gtkui/glade/torrent_menu.glade
|
deluge/ui/gtkui/glade/torrent_menu.glade
|
||||||
|
deluge/ui/gtkui/glade/remove_torrent_dialog.glade
|
||||||
|
deluge/ui/gtkui/glade/preferences_dialog.glade
|
||||||
|
deluge/ui/gtkui/glade/edit_trackers.glade
|
||||||
|
deluge/ui/gtkui/glade/queuedtorrents.glade
|
||||||
|
deluge/ui/gtkui/glade/move_storage_dialog.glade
|
||||||
|
deluge/ui/gtkui/glade/connection_manager.glade
|
||||||
|
deluge/ui/gtkui/glade/dgtkpopups.glade
|
||||||
deluge/ui/gtkui/glade/tray_menu.glade
|
deluge/ui/gtkui/glade/tray_menu.glade
|
||||||
deluge/ui/gtkui/glade/file_tab_menu.glade
|
|
||||||
deluge/ui/gtkui/glade/main_window.glade
|
deluge/ui/gtkui/glade/main_window.glade
|
||||||
deluge/plugins/blocklist/blocklist/data/blocklist_pref.glade
|
|
||||||
deluge/plugins/blocklist/build/lib/blocklist/data/blocklist_pref.glade
|
|
||||||
|
|||||||
2342
deluge/i18n/ar.po
Normal file
2342
deluge/i18n/ar.po
Normal file
File diff suppressed because it is too large
Load Diff
2816
deluge/i18n/ast.po
Normal file
2816
deluge/i18n/ast.po
Normal file
File diff suppressed because it is too large
Load Diff
2350
deluge/i18n/bg.po
Normal file
2350
deluge/i18n/bg.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/bs.po
Normal file
2745
deluge/i18n/bs.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/ca.po
Normal file
2342
deluge/i18n/ca.po
Normal file
File diff suppressed because it is too large
Load Diff
2353
deluge/i18n/cs.po
Normal file
2353
deluge/i18n/cs.po
Normal file
File diff suppressed because it is too large
Load Diff
2751
deluge/i18n/cy.po
Normal file
2751
deluge/i18n/cy.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/da.po
Normal file
2342
deluge/i18n/da.po
Normal file
File diff suppressed because it is too large
Load Diff
2398
deluge/i18n/de.po
Normal file
2398
deluge/i18n/de.po
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2401
deluge/i18n/el.po
Normal file
2401
deluge/i18n/el.po
Normal file
File diff suppressed because it is too large
Load Diff
2381
deluge/i18n/en_AU.po
Normal file
2381
deluge/i18n/en_AU.po
Normal file
File diff suppressed because it is too large
Load Diff
2381
deluge/i18n/en_CA.po
Normal file
2381
deluge/i18n/en_CA.po
Normal file
File diff suppressed because it is too large
Load Diff
2380
deluge/i18n/en_GB.po
Normal file
2380
deluge/i18n/en_GB.po
Normal file
File diff suppressed because it is too large
Load Diff
2747
deluge/i18n/eo.po
Normal file
2747
deluge/i18n/eo.po
Normal file
File diff suppressed because it is too large
Load Diff
2394
deluge/i18n/es.po
Normal file
2394
deluge/i18n/es.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/et.po
Normal file
2342
deluge/i18n/et.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/eu.po
Normal file
2342
deluge/i18n/eu.po
Normal file
File diff suppressed because it is too large
Load Diff
2751
deluge/i18n/fa.po
Normal file
2751
deluge/i18n/fa.po
Normal file
File diff suppressed because it is too large
Load Diff
2388
deluge/i18n/fi.po
Normal file
2388
deluge/i18n/fi.po
Normal file
File diff suppressed because it is too large
Load Diff
2407
deluge/i18n/fr.po
Normal file
2407
deluge/i18n/fr.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/fy.po
Normal file
2745
deluge/i18n/fy.po
Normal file
File diff suppressed because it is too large
Load Diff
2351
deluge/i18n/gl.po
Normal file
2351
deluge/i18n/gl.po
Normal file
File diff suppressed because it is too large
Load Diff
2364
deluge/i18n/he.po
Normal file
2364
deluge/i18n/he.po
Normal file
File diff suppressed because it is too large
Load Diff
2344
deluge/i18n/hi.po
Normal file
2344
deluge/i18n/hi.po
Normal file
File diff suppressed because it is too large
Load Diff
2762
deluge/i18n/hr.po
Normal file
2762
deluge/i18n/hr.po
Normal file
File diff suppressed because it is too large
Load Diff
2381
deluge/i18n/hu.po
Normal file
2381
deluge/i18n/hu.po
Normal file
File diff suppressed because it is too large
Load Diff
2346
deluge/i18n/id.po
Normal file
2346
deluge/i18n/id.po
Normal file
File diff suppressed because it is too large
Load Diff
2368
deluge/i18n/is.po
Normal file
2368
deluge/i18n/is.po
Normal file
File diff suppressed because it is too large
Load Diff
2395
deluge/i18n/it.po
Normal file
2395
deluge/i18n/it.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/iu.po
Normal file
2745
deluge/i18n/iu.po
Normal file
File diff suppressed because it is too large
Load Diff
2362
deluge/i18n/ja.po
Normal file
2362
deluge/i18n/ja.po
Normal file
File diff suppressed because it is too large
Load Diff
2769
deluge/i18n/ka.po
Normal file
2769
deluge/i18n/ka.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/kk.po
Normal file
2342
deluge/i18n/kk.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/kn.po
Normal file
2745
deluge/i18n/kn.po
Normal file
File diff suppressed because it is too large
Load Diff
2359
deluge/i18n/ko.po
Normal file
2359
deluge/i18n/ko.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/ku.po
Normal file
2745
deluge/i18n/ku.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/la.po
Normal file
2745
deluge/i18n/la.po
Normal file
File diff suppressed because it is too large
Load Diff
2381
deluge/i18n/lt.po
Normal file
2381
deluge/i18n/lt.po
Normal file
File diff suppressed because it is too large
Load Diff
2766
deluge/i18n/lv.po
Normal file
2766
deluge/i18n/lv.po
Normal file
File diff suppressed because it is too large
Load Diff
2757
deluge/i18n/mk.po
Normal file
2757
deluge/i18n/mk.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/ms.po
Normal file
2342
deluge/i18n/ms.po
Normal file
File diff suppressed because it is too large
Load Diff
2377
deluge/i18n/nb.po
Normal file
2377
deluge/i18n/nb.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/nds.po
Normal file
2745
deluge/i18n/nds.po
Normal file
File diff suppressed because it is too large
Load Diff
2394
deluge/i18n/nl.po
Normal file
2394
deluge/i18n/nl.po
Normal file
File diff suppressed because it is too large
Load Diff
2391
deluge/i18n/pl.po
Normal file
2391
deluge/i18n/pl.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/pms.po
Normal file
2745
deluge/i18n/pms.po
Normal file
File diff suppressed because it is too large
Load Diff
2384
deluge/i18n/pt.po
Normal file
2384
deluge/i18n/pt.po
Normal file
File diff suppressed because it is too large
Load Diff
2393
deluge/i18n/pt_BR.po
Normal file
2393
deluge/i18n/pt_BR.po
Normal file
File diff suppressed because it is too large
Load Diff
2386
deluge/i18n/ro.po
Normal file
2386
deluge/i18n/ro.po
Normal file
File diff suppressed because it is too large
Load Diff
2394
deluge/i18n/ru.po
Normal file
2394
deluge/i18n/ru.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/si.po
Normal file
2745
deluge/i18n/si.po
Normal file
File diff suppressed because it is too large
Load Diff
2386
deluge/i18n/sk.po
Normal file
2386
deluge/i18n/sk.po
Normal file
File diff suppressed because it is too large
Load Diff
2352
deluge/i18n/sl.po
Normal file
2352
deluge/i18n/sl.po
Normal file
File diff suppressed because it is too large
Load Diff
2344
deluge/i18n/sr.po
Normal file
2344
deluge/i18n/sr.po
Normal file
File diff suppressed because it is too large
Load Diff
2390
deluge/i18n/sv.po
Normal file
2390
deluge/i18n/sv.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/ta.po
Normal file
2745
deluge/i18n/ta.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/th.po
Normal file
2342
deluge/i18n/th.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/tl.po
Normal file
2745
deluge/i18n/tl.po
Normal file
File diff suppressed because it is too large
Load Diff
2745
deluge/i18n/tlh.po
Normal file
2745
deluge/i18n/tlh.po
Normal file
File diff suppressed because it is too large
Load Diff
2376
deluge/i18n/tr.po
Normal file
2376
deluge/i18n/tr.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/uk.po
Normal file
2342
deluge/i18n/uk.po
Normal file
File diff suppressed because it is too large
Load Diff
2753
deluge/i18n/vi.po
Normal file
2753
deluge/i18n/vi.po
Normal file
File diff suppressed because it is too large
Load Diff
2355
deluge/i18n/zh_CN.po
Normal file
2355
deluge/i18n/zh_CN.po
Normal file
File diff suppressed because it is too large
Load Diff
2342
deluge/i18n/zh_TW.po
Normal file
2342
deluge/i18n/zh_TW.po
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user