Commit Graph

6474 Commits

Author SHA1 Message Date
Nick ad498c6e42 Revert "remove special case white/black pair. doesn't seem needed and breaks white,black,attrs"
This does actually seem to break some terminals

This reverts commit ba3a093746.
2011-02-02 13:57:31 +01:00
Nick d1b3aa54ad support setting file priorities in torrentdetails 2011-02-02 13:46:05 +01:00
Nick d0346a104f don't need len() 2011-02-02 13:45:17 +01:00
Nick 5f888faceb handle resize in torrentdetail 2011-02-02 13:11:15 +01:00
Nick f6f3a8e084 allow marking in file view (no actions just yet) 2011-02-02 13:09:41 +01:00
Nick 5dcc935852 fix for only drawing one effected line and only draw effected lines on marking 2011-02-02 12:50:40 +01:00
Nick eba7c2bf17 add index value to directories in file_list 2011-02-02 12:44:07 +01:00
Nick 00fa074452 small fix for scrolling 2011-02-01 18:00:25 +01:00
Nick 5d46d2aee5 add torrentdetails state, allow state switching, move some formating to format_utils 2011-02-01 17:23:15 +01:00
Nick 007dd67ea1 only redraw effected lines on scroll. seems to get rid of the flickering problem :) 2011-01-29 14:04:32 +01:00
Nick ff3c3f7148 add torrent can add paused. remove torrent works 2011-01-29 12:29:18 +01:00
Nick 68c04acf50 refactor + support selectinput 2011-01-28 22:42:04 +01:00
Nick 44676f282a use some caching to speed up row drawing.
still some flicker unfortunatly.  seems to be related to the length of the row line, not sure if there's much i can do there
2011-01-28 17:54:36 +01:00
Nick 182ec0cd97 specify hotkeys for filter/action popups 2011-01-28 17:34:03 +01:00
Nick 6f0b1fd7f2 support hotkeys in selectable popup 2011-01-28 17:33:51 +01:00
Nick ba3a093746 remove special case white/black pair. doesn't seem needed and breaks white,black,attrs 2011-01-28 17:04:28 +01:00
Andrew Resch b7e7a4bc49 Fix typo 2011-01-27 11:18:59 -08:00
Andrew Resch ac18ecd1f0 Fix #1498: Use os.path.normpath on new_folder to remove any double slashes or other problems that could be in the string 2011-01-27 11:12:40 -08:00
Nick 2f6283ea39 initial checkin of new console ui
pretty alpha code, but it works and gives an idea of the direction the ui might go
2011-01-26 22:18:18 +01:00
Andrew Resch b30499c6ac Fix #1484: trying to access the screen object when not using interactive mode 2011-01-16 15:59:29 -08:00
Pedro Algarvio 8c12c47d3e Add "none" as a log level to support quieting the logging messages. Refs #1470. 2011-01-02 16:06:28 +00:00
Pedro Algarvio 356808b02c Fix #1470. 2011-01-02 16:03:00 +00:00
Pedro Algarvio 1f800bf49a On a 64bit platform with old plugins, the deprecation code was unable to find out which was the caller module. This might also happen on other platforms although I was unable to reproduce it on x86. Anyway, handle it cleanly. 2011-01-01 18:33:41 +00:00
Pedro Algarvio d1b4523733 Let log files be a little bigger, 50Mb is not that much anyway. 2010-12-28 01:58:38 +00:00
Pedro Algarvio 5841521133 Added missing import.
Removed log message that caused error. It was never logged anyway, even on the master branch before the improved logging branch was created.
2010-12-28 01:26:25 +00:00
Pedro Algarvio 2fa8ca6753 Merge branch 'master' into improved-logging
Conflicts:
	ChangeLog
	deluge/plugins/autoadd/autoadd/gtkui.py
	deluge/ui/client.py
2010-12-13 12:31:20 +00:00
Pedro Algarvio 1c15df8e00 Merge branch 'master' of deluge-torrent.org:deluge 2010-12-12 17:50:13 +00:00
Damien Churchill f282487806 fix bug #1355 2010-12-12 00:03:04 +00:00
Pedro Algarvio 078ed6ba71 Fixed "PluginEnabledEvent" and "PluginDisabledEvent" the argument cannot be called name since that should contain the event name.
Ported plugins on deluge's git to this new event dispatching style.
2010-12-11 05:42:45 +00:00
Pedro Algarvio 67ea05921c Implemented passing a copy of an event instead of it's arguments to event handlers. Necessary changes to the event handlers on deluge's code were made, plugins still need to be ported to this new style. 2010-12-11 05:11:18 +00:00
Pedro Algarvio 0f36a65aaf Update ChangeLog with the backwards incompatible notice. 2010-12-10 05:49:38 +00:00
Pedro Algarvio 90d23ce582 Revert e52018bfcd. Simply fail. It's documented on the ChangeLog. 2010-12-10 05:42:19 +00:00
Pedro Algarvio 860457ff48 Update ChangeLog. 2010-12-10 05:01:31 +00:00
Pedro Algarvio e52018bfcd Dont make code that still uses the old "TorrentAddedEvent" fail, instead log a warning and make it work. 2010-12-10 04:59:05 +00:00
Pedro Algarvio 1c7676bfe5 Finish last commit, forgot to revert some of the files. 2010-12-09 18:12:25 +00:00
Pedro Algarvio 63fa5bf85b Reuse existing "TorrentAddedEvent" instead of creating a new one. 2010-12-09 18:08:34 +00:00
Pedro Algarvio 6cefb49f28 Diferentiate adding an already managed torrent from adding a new, unmanaged torrent, to the session. 2010-12-08 19:33:05 +00:00
Pedro Algarvio eeed72a977 Fix `tweak_logging_levels()`. 2010-12-07 14:21:45 +00:00
Pedro Algarvio 49e10ea0cf Fix bug introduced in previous commit. 2010-12-06 12:34:57 +00:00
Pedro Algarvio 26e45dcbc8 Make use of `logging.handlers.WatchedFileHandler` if deluge is running on python 2.6. 2010-12-06 11:59:37 +00:00
Pedro Algarvio b7bc1fdb1d `configmanager` needs to be imported at a latter stage at least for the gtk frontend. 2010-12-06 11:45:17 +00:00
Pedro Algarvio 3b00a7de59 Swhiched the old style logging, ie, a single logger for all logging output to several loggers. This brings the ability to tweak the logging levels for each of the loggers, ie, we can have the "deluge" logger be at the ERROR level while having "deluge.core" at the DEBUG level, meaning we will only see log message for all of the deluge loggers above the ERROR level while still having all messages above the DEBUG level for the "deluge.core" logger and it's children. This kind of tweak can be achieved by adding a file named "logging.conf" to deluge's config dir and this is explained on the `deluge.log.tweak_logging_levels` function.
Passing `-r` to the cli's while also passing `-l` will make the logfile rotate when reaching 5Mb in size. Three backups will be kept at all times.
All deluge's code is now using this new style logging along with the git hosted plugins. For other plugins not hosted by deluge, which still imports `LOG` as the logger, a deprecation warning will be shown explaining the required changes needed to use the new style logging. New plugins created by the `create_plugin` script will use the new logging facilities.
2010-12-06 11:20:22 +00:00
Damien Churchill 14ec9464aa fix a bug that can occur when upgrading 1.1 config files 2010-12-01 10:21:26 +00:00
Calum 3d64f0d8da Fix #1283 Consistent icons and add localization to file priorities
Signed-off-by: John Garland <johnnybg+deluge@gmail.com>
2010-11-11 14:01:58 +11:00
Damien Churchill 87e3a5f515 rebuild the compressed javascript 2010-11-01 09:14:23 +00:00
Damien Churchill 75e9ff57de update the build file to include the spinnerfieldfix file 2010-11-01 09:13:37 +00:00
Damien Churchill b180d2a900 remove the convert conf script that won't actually work anymore 2010-10-31 14:35:00 +00:00
Damien Churchill 1822c2bde9 fix a silly bug 2010-10-31 10:13:33 +00:00
Damien Churchill 40e6777c48 Merge branch 'master' of deluge-torrent.org:deluge 2010-10-31 09:18:26 +00:00
Damien Churchill f88b24d507 apply 41ffee5 to master 2010-10-31 09:18:09 +00:00