Commit Graph

7745 Commits

Author SHA1 Message Date
Calum Lind c3477ace9b Flake8'd core files 2014-01-18 23:26:18 +00:00
Calum Lind ef7605f9ec Add missing entries to OPTION_FUNCS in torrent.set_options 2014-01-18 22:59:16 +00:00
Calum Lind 58e9f66d64 flake8'd torrent.py 2014-01-18 22:14:14 +00:00
Calum Lind 7624683710 Add torrent.get_magnet_uri() to return generated magnet uri 2014-01-18 22:07:43 +00:00
Calum Lind b5946c91ed Replace internal time_added with lt added_time 2014-01-18 21:10:31 +00:00
Calum Lind 246708e222 Add super_seeding to core 2014-01-18 21:10:23 +00:00
Calum Lind 3180bc7104 Use a tmp file when saving state and resume files 2014-01-18 15:54:43 +00:00
Calum Lind d12f0365d5 Handle all-zeros KeyError for removed torrents alerts 2014-01-18 14:11:44 +00:00
Calum Lind 01d2ef84ba Fix issue with add_torrent_params flags 2014-01-17 23:43:53 +00:00
bendikro 80e56eb190 Fix #1000 : GTKUI: Select first row in list if no rows are selected
Also do not remove selection when changing filter (as 1.3 works)
2014-01-17 22:51:54 +00:00
Calum Lind 2b64d78163 Remove leftover total_uploaded state code 2014-01-17 19:28:55 +00:00
Calum Lind 169b9b9898 Fixes for #607 : Add completed_time to core and Completed column in GTK UI 2014-01-17 19:17:18 +00:00
Calum Lind 0da6739f94 Fixes for #367 : Don't store last_seen_complete and total_uploaded in state file 2014-01-17 19:15:38 +00:00
Calum Lind bcbeca4b8a Remove stray debug logging line 2014-01-17 19:08:40 +00:00
Calum Lind 9e62304852 More removal of lt deprecated params and funcs
Due to a deprecation mistake get_settings() should be used for python
bindings and it will return a dict.
2014-01-17 18:29:53 +00:00
Calum Lind da6d0ba7bf Replace lt deprecated session funcs with session_settings 2014-01-17 14:18:20 +00:00
Calum Lind ec56ea3ebe Put setup_translation back into start_daemon
A 3rd party plugin broke because using _() in core files so reverting
to prevent issues and may also be useful in future for translating
the help text.
2014-01-17 13:37:07 +00:00
Calum Lind 624f2f66cf Replace deprecated session.num_connections with session_status.num_peers
This commit removes get_num_connections() from core and updates UIs
to use get_session_status with num_peers key.

Extra noise is from Flake8 changes
2014-01-17 12:21:08 +00:00
Calum Lind b0c3c3dddc Use non-deprecated libtorrent parameters and functions
Also added support for seed_mode
2014-01-17 10:48:42 +00:00
Calum Lind 8eb2155eac Remove torrent_status translations from Daemon and move to UI clients 2014-01-16 23:31:04 +00:00
bendikro 0a41b86e47 Reinserted call to translate_strings in common and renamed to translate_size_units. 2014-01-16 23:22:28 +00:00
bendikro 7c808ab4b4 Added language option to Preferences
Changing translation tested and works on:

* Windows 7
* OSX 10.8
* Ubuntu 13.04

* Updated the OSX menubar to gtkbuilder
* Added language names to the Language dropdown in Preferences
2014-01-16 19:54:20 +00:00
Calum Lind d260f6506f Remove unneeded LoopingCall import 2013-12-23 16:22:16 +00:00
bendikro 8ecc0e11a7 Fix for #1885 and add simple caching to the data funcs for the torrentview
* Fix for #1885 (Wrong tracker icon in torrent list)
* Moved the data functions from torrentview/listview into
  torrentview_data_funcs.py
* Added caching the current value of the cell renderer for the data functions
* Reordered if-tests in deluge.common.fsize
* Disable data funcs when column is hidden
2013-12-23 16:21:24 +00:00
bendikro feaeee0379 Removed LoopingCall from torrent.py
Having a LoopingCall for each torrent is expencive with a lot of torrents.
The LoopingCall in torrent.py has been moved to torrentmanager.py
which runs through all the torrents and calls cleanup_prev_status.
2013-11-21 10:48:55 +00:00
Calum Lind de3740fa70 Remove old code line 2013-11-20 23:26:29 +00:00
Calum Lind fe1f620731 Fix web ui showing total_size rather than total_wanted for Size column 2013-11-20 19:36:34 +00:00
Calum Lind 63329e7199 Fix #265 : Add new Remaining column 2013-11-20 19:31:04 +00:00
Calum Lind e79cc6cd2d Fix #2381 : Allow silent uninstall for Windows package 2013-11-19 23:03:31 +00:00
Calum Lind 6376c49441 Fix #2371 : Add StartupWMClass to desktop file 2013-11-19 23:03:31 +00:00
Calum Lind aafd31b552 Fix #2367 : Private Flag not showing as ticked/checked in DelugeStart theme 2013-11-19 23:03:31 +00:00
Calum Lind 2520093b3e Fix #2335 : IPC lockfile issue preventing start of deluge-gtk 2013-11-19 23:03:31 +00:00
Calum Lind 3d569b23d6 Merge branch 'master' into HEAD 2013-11-19 23:03:14 +00:00
Andrew Resch 4ab4998bf7 Fix #2355 previous fix was incorrect - thanks Thomas Hipp 2013-11-12 14:04:01 -08:00
Chase Sterling 60c53b0ec1 Fix broken last commit to make bbfreeze script work again 2013-09-08 04:13:36 -04:00
Andrew Resch 852f6049bd Fix twisted 13.1 compat -- the _parse() function was replaced by the _URI class 2013-08-06 18:51:33 -07:00
Chase Sterling 1daaad422b Improve the bbfreeze script a bit (and hopefully not break it) 2013-07-09 23:48:42 -04:00
Calum Lind f5d8cce4a2 Fix donot option check for windows/osx 2013-06-18 18:46:38 +01:00
Calum Lind 9d48d04f0f Fix #2338 : Spelling mistake with occurred 2013-06-09 02:30:26 +01:00
bendikro d91a9504aa Fix bug introduced in 19234d 2013-05-27 23:39:43 +02:00
bendikro 19234d6565 Added some tests for rpcserver 2013-05-26 23:09:02 +01:00
bendikro affe47a11c Cache items in get_filter_tree 2013-05-26 21:45:00 +01:00
bendikro 899c575ae8 Speedup in tracker_error_filter 2013-05-26 21:44:04 +01:00
bendikro b76cdc2227 Fix 2247: AttributeError in deluge.error.DaemonRunningError
* Removed all the properties in error.py and added more tests
* Handle failure in client.py handling RPC_ERROR (From older daemons)
2013-05-26 15:25:39 +01:00
Calum Lind a27b479f06 Fix some typos in my previous commits 2013-05-26 14:55:36 +01:00
Calum Lind 533228ff5e Fix overzealous legacy code removal from torrentmanager 2013-05-26 01:27:21 +01:00
Calum Lind 7dd276631a Add flake8 to setup.cfg and add missed change to #2303 fix 2013-05-22 23:33:06 +01:00
Calum Lind e3f3b6d751 Cleanup torrentmanger code
* Remove legacy/old state file code
 * Passes flake8 cleanly
 * Most pylint messages dealt with
 * Code now uses >=Python 2.6 'with' and 'as' statements
2013-05-22 22:46:01 +01:00
Calum Lind 77cb794e4d Fix #2303 : Torrent state not updated until after emitting TorrentFinishedEvent 2013-05-22 19:09:56 +01:00
Calum Lind 45f898870f Fix mistake in torrentmanager 2013-05-22 03:01:25 +01:00