Commit Graph

663 Commits

Author SHA1 Message Date
Marcos Pinto 585f9b20b6 add max upload slots per torrent preference 2007-07-24 20:05:58 +00:00
Alex Dedul bf1b157b88 Tweaks to the files tab code. 2007-07-24 20:00:35 +00:00
Alex Dedul 47e723fa89 Moved the files tab code to tab_files.py. 2007-07-24 19:57:37 +00:00
Alex Dedul 49b39e638d Tweaks to the details tab code. 2007-07-24 19:52:21 +00:00
Alex Dedul 9fac711ff7 Properly update the Details tab of paused torrents. 2007-07-24 19:43:28 +00:00
Zach Tibbitts 63c573aaa5 fix for opening urls if not installed to /usr 2007-07-24 17:21:38 +00:00
Marcos Pinto 02cd556f18 remove firstlast plugin from POTFILES, rearrange preferences, change version number for rc2, sync translation with launchpad 2007-07-24 02:12:04 +00:00
Alex Dedul ae649c7c3b Tweaks to first/last pieces priorities code. 2007-07-24 00:23:50 +00:00
Marcos Pinto 0bc90356a7 set default to false as to be nice to the protocol 2007-07-23 23:31:52 +00:00
Alex Dedul 442cac8aef Fixed #368 - Added ability to prioritize first and last pieces of files in
torrent.
2007-07-23 23:29:37 +00:00
Marcos Pinto ddfc5ef95d add utf8 encoding to files 2007-07-23 21:59:32 +00:00
Marcos Pinto 507f8a4139 add spawning to deal with 2.5 being stupid with threading 2007-07-23 21:52:13 +00:00
Zach Tibbitts 1a05d470a2 fix version number assert error 2007-07-23 21:21:36 +00:00
Zach Tibbitts bf46b310a5 set version number for 0.5.3 release 2007-07-23 20:48:03 +00:00
Alex Dedul 98f21aca86 Tweaks to [1102]. Get compact_mode for the Files tab with
manager.get_torrent_state(), for the Files selection dialog with preferences.
2007-07-23 14:24:38 +00:00
Marcos Pinto cb0b5c3e1c get compact_mode per torrent_state, not prefs 2007-07-23 06:28:37 +00:00
Marcos Pinto 903a8da7a5 add compact_mode to torrent_status in deluge_core 2007-07-23 05:36:01 +00:00
Alex Dedul 946a86c815 Fixes an issue with clear_max_ratio_torrents and changes pause/resume block in
Manager.apply_queue() to use enumerate. Patch is from eternalswd, thanks.
2007-07-22 22:48:59 +00:00
Alex Dedul 3ec15816ac Refactored the way we update any gtk.ListStore instance and made the Peers tab
use less CPU.
2007-07-22 19:17:50 +00:00
Alex Dedul 6c78b6595f Clean ups to torrents list and files tab focus code. 2007-07-22 17:35:39 +00:00
Alex Dedul 67976167aa Made focus in the Files tab to work the same way as in torrents list. 2007-07-22 17:17:30 +00:00
Marcos Pinto 2c746a3ee9 fix right click on file tab not selecting the row 2007-07-22 07:44:43 +00:00
Alex Dedul 1bf9ccdfc2 Don't update paused torrents in UI. Based on the idea by eternalswd. 2007-07-22 05:05:52 +00:00
Marcos Pinto 95b03bdb48 i18n for status bar. never finished with i18n, it seems :) 2007-07-21 22:37:07 +00:00
Marcos Pinto 12a685dff1 with ntfs-3g and reiser4 support, considering the new priority feature, set default to full alloc 2007-07-21 21:06:09 +00:00
Marcos Pinto a6f22ccc09 show alert and stop action when trying to change priorities with compact allocation 2007-07-21 21:04:10 +00:00
Alex Dedul 7738f8c290 Added availability column. 2007-07-21 19:28:30 +00:00
Alex Dedul 4f266454ec Some tweaks to availability and piece size display. 2007-07-21 18:59:01 +00:00
Alex Dedul 7a37c58dde Properly calculate ETA in common.estimate_eta(). 2007-07-21 18:53:31 +00:00
Alex Dedul 92acd7907e Fixed #331 - Added availability and piece size to Torrent Info pane. 2007-07-21 18:08:32 +00:00
Alex Dedul 619e418a16 Added one forced UI update when restoring from minimized state. 2007-07-20 23:27:03 +00:00
Alex Dedul 34e268defd Forced update of UI when main window is restored from tray or from minimized
state.
2007-07-20 23:15:36 +00:00
Alex Dedul b3a912cdea Fixed some issues in [1067]. Thanks for testing, eternalswd. 2007-07-20 23:11:03 +00:00
Alex Dedul 3f13587ed9 Optimized cached_data() class and all depended functions and their usage.
Needs testing.
2007-07-20 22:41:26 +00:00
Alex Dedul a21ae0e9c0 Minor tweaks to interface code. 2007-07-20 19:20:10 +00:00
Alex Dedul 3bac6bcfc8 Properly do i18n in common.fsize(). 2007-07-20 19:03:15 +00:00
Marcos Pinto a6e8db9bb0 Fixes one typo that was causing an error in handle_events and adds attribute self.update_interface to DelugeGTK class so that plugins can determine whether or not to update information for the interface - micah 2007-07-20 18:36:16 +00:00
Alex Dedul 938c1fed43 Some performance tweaks. Still the main issue is in Tree View to display data
and more tweaks to come.
2007-07-20 11:58:55 +00:00
Marcos Pinto 5cd99eace3 remove debug print 2007-07-20 07:53:29 +00:00
Marcos Pinto 09334d8892 update gui tweaks - micah 2007-07-20 07:42:35 +00:00
Andrew Resch e80da672f0 Clean up output 2007-07-20 05:43:12 +00:00
Marcos Pinto e0311a9ff3 duplicate torrent trackers merge - micah 2007-07-20 02:32:33 +00:00
Alex Dedul 1f6d182f76 Added event for each tracker alert we are intrested in and some tracker
status messages i18n tweaks.
2007-07-19 21:14:30 +00:00
Marcos Pinto 31407d0231 ghetto i18n support for tracker messages 2007-07-19 20:08:45 +00:00
Alex Dedul 7787a6cf0c Added more informative tracker status display. 2007-07-19 19:33:49 +00:00
Alex Dedul f486ea3dc1 Removed Manager.set_pref() function as it's not used anywhere. 2007-07-19 16:27:34 +00:00
Alex Dedul c0de2bd32d Minor clean ups in the core. 2007-07-19 15:48:02 +00:00
Alex Dedul 4e8fe33658 Add torrent in interactive_add_torrent() only if we succefully passed all
checks.
2007-07-18 19:18:59 +00:00
Alex Dedul 8f96d9318a Some fine tune tweaks to [1004]. 2007-07-18 19:12:29 +00:00
Marcos Pinto 858269986a add alex dedul to authors list 2007-07-18 14:42:19 +00:00
Alex Dedul ff8c02b8ce Attempt to handle the issue with fast resume. Thanks, eternalswd. 2007-07-18 14:19:39 +00:00
Alex Dedul a7ce81d4d0 Some queue above completed feature touch ups. Thanks, eternalswd. 2007-07-18 13:06:22 +00:00
Alex Dedul 280f4dfb10 Added files priorities. 2007-07-18 12:47:24 +00:00
Alex Dedul 9310c7dce5 Minor clean up in the files manager. 2007-07-18 10:00:41 +00:00
Alex Dedul 76bf286a52 Open urls in browser from UI without threading for now until we find out why
it causes up to 1 minute delays.
2007-07-18 09:46:27 +00:00
Alex Dedul 6a22d12975 * Added dump_torrent_info_file() to core to just list files in torrent by its
filename.
* Replaced all file filters in torrents with priorities. Nothing to see in UI
yet. Based on patch from eternalswd.
2007-07-18 09:06:24 +00:00
Alex Dedul a3acf0aed9 Some more smart preferences tweaks. Thanks, eternalswd. 2007-07-18 03:41:26 +00:00
Alex Dedul 0cbb9b49cf Spacing tweaks. Previous commit [1024] is based on patch from eternalswd, thanks. 2007-07-18 03:11:36 +00:00
Alex Dedul c42b54d6c4 Tweaks for smart preferences. 2007-07-18 03:08:06 +00:00
Zach Tibbitts 94bdc619fc fix for smart dlg 2007-07-17 22:35:16 +00:00
Zach Tibbitts 7a93e1a0fd preliminary smart pref dialog 2007-07-17 22:29:53 +00:00
Alex Dedul c5e7c0d7bd Fixed typo in manager.set_priv(). 2007-07-17 17:16:44 +00:00
Alex Dedul 0016c39656 Removed unused code from interface.build_torrent_table(). 2007-07-17 15:22:50 +00:00
Marcos Pinto 0297409f2f additional move_storage conditional -micah 2007-07-17 09:15:43 +00:00
Marcos Pinto d04124b998 fix disk_io move_storage 2007-07-17 09:00:04 +00:00
Marcos Pinto 6793741972 fix to append when there are no torrents - micah 2007-07-17 05:52:09 +00:00
Marcos Pinto d9b1fce480 option to load new torrents above completed ones 2007-07-17 05:24:43 +00:00
Marcos Pinto d94c7e6986 last commit fix 2007-07-17 05:03:31 +00:00
Marcos Pinto 776004320e clear on max ratio - micah 2007-07-17 04:51:11 +00:00
Alex Dedul 9fcf4eb4c0 Hm, ULONG doesn't work as expected - reverted back to UINT64. 2007-07-16 23:13:54 +00:00
Alex Dedul 27cf24a679 Changed all gobject.TYPE_UINT64 to gobject.TYPE_ULONG - it's more
future-compatible this way.
2007-07-16 22:46:32 +00:00
Alex Dedul df898e22b8 Fixed #268 - Tweaks for torrents loading from command line, from url. 2007-07-16 16:07:06 +00:00
Alex Dedul 30b69cd85a open_url_in_browser() tweaks. 2007-07-16 15:26:37 +00:00
Alex Dedul 6d42f2234e Plugins and preferences dialogs code clean up. 2007-07-16 13:59:22 +00:00
Alex Dedul 468667d068 Cleaned up files selection dialog code. 2007-07-16 13:31:30 +00:00
Alex Dedul ea239ee6ef Show files selection dialog only if torrent contains 2 and more files. 2007-07-16 12:12:51 +00:00
Alex Dedul 3115498790 Tweaks to plugins events. 2007-07-16 11:51:12 +00:00
Alex Dedul ac81d240bd Massive clean up of loading torrents. 2007-07-16 03:23:36 +00:00
Marcos Pinto afa8f88292 connect set_priv in file selection dialog 2007-07-16 00:15:04 +00:00
Marcos Pinto e9ded6f25f set private flag when adding torrents with the file selection thingy - not yet connected 2007-07-15 23:48:12 +00:00
Marcos Pinto 83bf3d76db back to total_wanted - micah catch 2007-07-15 22:27:26 +00:00
Alex Dedul c93a5c57b7 Added feature select files when adding torrent. Patch is from eternalswd,
thanks :).
2007-07-15 19:24:37 +00:00
Alex Dedul ede8627b77 Added core.prioritize_files(). 2007-07-15 16:53:54 +00:00
Alex Dedul 76c82d8946 Set default values of preferences "default_finished_path" and
"default_download_path" to user's $HOME/.
2007-07-15 12:43:21 +00:00
Marcos Pinto 6e1a1b88fa fix last piece oops 2007-07-15 09:22:39 +00:00
Marcos Pinto e84d6cf588 adding First/Last piece priority plugin 2007-07-15 09:20:45 +00:00
Marcos Pinto ae0d21f115 set other as an option and not requirement for radio menus and changed label in glade file to be set by the plugin itself - fixes other in desired ratio plugin from saying 'Speed' 2007-07-15 07:04:38 +00:00
Alex Dedul 5a103a4e35 Fixed ETA display issue when it doesn't fit to python's int and become long. 2007-07-15 06:51:03 +00:00
Alex Dedul ff0ff0364a Show text from clipboard in Add URL dialog only if it looks like an URL. 2007-07-15 02:36:09 +00:00
Marcos Pinto baf18969f6 translation touchup 2007-07-15 02:30:03 +00:00
Marcos Pinto 99a6b4bcc7 translation touchup 2007-07-15 02:18:30 +00:00
Marcos Pinto 44880135d9 translation fixes 2007-07-15 02:03:27 +00:00
Alex Dedul 0ba0fb9407 PEP8 imports in interface.py. 2007-07-15 01:42:53 +00:00
Marcos Pinto f31b079a42 didnt mean to uncomment print events, so i'm commenting it again 2007-07-14 22:29:53 +00:00
Marcos Pinto 78d8d116cc more cleaning up - removing unneeded white spaces 2007-07-14 22:22:37 +00:00
Marcos Pinto 70b6e40a55 mostly code layout cleanup 2007-07-14 21:52:22 +00:00
Marcos Pinto 375d73431c fix #420 - total size to total wanted along with eta update - micah 2007-07-14 20:58:46 +00:00
Alex Dedul 4964f11943 Fixed Clear Completed feature. 2007-07-14 10:58:29 +00:00
Alex Dedul 01edae6a7b Fixed Plugins dialog to properly set_sensitive() for Preferences button. 2007-07-14 08:58:30 +00:00
Alex Dedul 14b0ec2e96 Fixed up EVENT_FINISHED event in core.handle_events(self). 2007-07-14 08:24:54 +00:00
Alex Dedul 76c8792ce4 Cleaned up core.handle_events(self). 2007-07-14 08:04:52 +00:00
Marcos Pinto b123ffbc34 minor touchup 2007-07-13 20:57:25 +00:00
Marcos Pinto c0d86f9a66 fix the nightmare that is move_storage with gui alert 2007-07-13 20:53:38 +00:00
Marcos Pinto 9e80e91ae9 expose storage_moved_alert 2007-07-13 19:50:17 +00:00
Alex Dedul 8dad5d9fd8 Bringed back self.notebook in DelugeGTK(was removed in [931]) as it is used by
plugins.
NetworkGraph plugin is working again.
2007-07-13 17:05:44 +00:00
Alex Dedul 62bb4cd961 Tried to fix move completed feature. 2007-07-13 08:25:28 +00:00
Alex Dedul 28133d0e07 Show plugins list sorted by name by default in Plugins dialog. 2007-07-13 07:53:16 +00:00
Alex Dedul a60470b58b Fixed forced UI update when user changes tabs. 2007-07-13 07:36:36 +00:00
Marcos Pinto ad8e685743 breaks off browser calls so the client doesnt hang 2007-07-13 05:41:59 +00:00
Alex Dedul 27d5db228a Pass events to plugins in a more resource aware way. Based on andar's
proposition.
2007-07-13 05:14:29 +00:00
Alex Dedul a0ca8a031e Minor fix. 2007-07-13 04:33:31 +00:00
Alex Dedul cbbce338f9 Renamed plugin's event handling method to 'handle_events'. 2007-07-13 04:31:54 +00:00
Alex Dedul 1eed8f34d9 Spacing fixed. 2007-07-13 04:26:38 +00:00
Marcos Pinto 6705e87160 open up events to plugins - elpargo 2007-07-13 03:40:31 +00:00
Alex Dedul 90ac623215 Fixed #421, #430 - check/uncheck files on the Files tab should be working
correct now.
2007-07-13 02:18:52 +00:00
Marcos Pinto 63d19d05bc mostly pep8 fixes 2007-07-13 01:13:13 +00:00
Marcos Pinto 77b5ce765b version fix 2007-07-13 00:47:27 +00:00
Marcos Pinto ce59598635 set program version so we dont get people using svn and saying it's 0.5.2 or 0.5.3 2007-07-13 00:13:40 +00:00
Alex Dedul 2fe15d8198 More tweaks to the Peers and Files tabs. 2007-07-12 23:03:07 +00:00
Zach Tibbitts 358e9384bd gui tweak and version number 2007-07-12 21:10:46 +00:00
Alex Dedul 6f0d751067 Reduce CPU usage on Files tab even more. 2007-07-12 20:35:49 +00:00
Alex Dedul ef8e1185ed Indent fixes. 2007-07-12 19:50:34 +00:00
Marcos Pinto 4c03881aba raise gui warning on move_storage failure 2007-07-12 19:38:47 +00:00
Alex Dedul e09d489077 Remove some obscure var and associated parts of code from UI. 2007-07-12 19:01:46 +00:00
Alex Dedul 86db5dbaa7 Refactor Statusbar and Tray Tips update. 2007-07-12 18:38:54 +00:00
Alex Dedul 9f8385eda5 Clean up loading of plugins. 2007-07-12 17:56:37 +00:00
Alex Dedul dedef184c4 Add comment about usage of self.statusbar_temp_msg in DelugeGTK.update() and
minor fix.
2007-07-12 17:27:34 +00:00
Alex Dedul 680c30e0de Minor update UI code clean up. 2007-07-12 16:02:42 +00:00
Alex Dedul b5aff38295 Massive clean up in UI update code. Update torrents info UI instantly when we
click on them in torrents list.
2007-07-12 10:21:03 +00:00
Alex Dedul d07e8cddb6 More Files tab clean up. 2007-07-12 05:41:27 +00:00
Alex Dedul a4000c46e2 Test commit, fixed spacing. 2007-07-12 02:30:55 +00:00
Marcos Pinto 1cdea54047 fix cpu usage in peer and file tab - plisk 2007-07-11 21:17:39 +00:00
Marcos Pinto 7938cb7fba only change storage dir location if move is successful 2007-07-11 20:59:33 +00:00
Marcos Pinto cd70b85850 fixes seeding issue after restarting deluge when move_storage is enabled - micah 2007-07-11 20:48:49 +00:00
Marcos Pinto 3f9193592f do not code at 4:30am 2007-07-11 09:29:21 +00:00
Marcos Pinto ecb552f939 touchup for file progress 2007-07-11 09:26:03 +00:00
Marcos Pinto 2d9948e083 fix peers tab oops 2007-07-11 09:16:33 +00:00
Marcos Pinto db11bd01eb fix missing pref 2007-07-11 09:08:21 +00:00
Marcos Pinto 73bde09e49 fix file progress hang...yes\! 2007-07-11 09:02:13 +00:00
Marcos Pinto 1e1c5ed780 move finished downloads to - eternalswd 2007-07-11 08:04:45 +00:00
Marcos Pinto c5e2b67800 clean up torrent list creation - plisk 2007-07-11 07:26:07 +00:00
Marcos Pinto 37a502ad40 more file progress tweaks but not enough 2007-07-11 07:08:06 +00:00
Marcos Pinto 8faf6d624a cleanup file tab progress code 2007-07-11 06:55:27 +00:00
Marcos Pinto 623c1c8dfc Fix sorting by size on the Files tab - plisk 2007-07-11 05:30:49 +00:00
Marcos Pinto 2efe45896b fix buildvalue segfault 2007-07-11 04:34:15 +00:00
Marcos Pinto 2482aba77b remove offset in file tab - plisk 2007-07-11 04:29:07 +00:00
Marcos Pinto d27137b4e2 fixing imports and indents to comply with python style guide - first attempt, this might break things 2007-07-11 04:22:44 +00:00
Marcos Pinto 6fd53ec356 fix typo 2007-07-11 02:31:44 +00:00
Marcos Pinto 432adbab87 make up/dl speed usage consistent - plisk 2007-07-11 02:25:19 +00:00
Marcos Pinto 9dfbe53ed6 add 'help translate this app' to help menu 2007-07-11 00:43:16 +00:00