Commit Graph

6305 Commits

Author SHA1 Message Date
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
Damien Churchill 593452ed63 update bbfreeze script 2010-10-29 10:11:40 +01:00
Damien Churchill 4197e129fe change location of httpdownloader as a temporary fix 2010-10-25 00:13:09 +01:00
Damien Churchill 0360cbe0b8 fix a bug in the MultiOptionsManager that didn't fire the right arguments in the initial event fire 2010-10-24 23:42:29 +01:00
Damien Churchill d2f41fe7e5 apply patch from #1377 2010-10-24 13:30:40 +01:00
Damien Churchill 0a2e9a5324 include a file that fixes the SpinnerField onBlur method (no idea why it is set to emptyFn) 2010-10-23 22:22:00 +01:00
Damien Churchill 3c302088f6 fix the path to the loading gif (not that its actually used) 2010-10-23 21:24:06 +01:00
Damien Churchill 3b6bad2f13 fix up the tracker icon tests 2010-10-22 19:47:38 +01:00
Damien Churchill 6fd4b298f3 fix up the core tests that were erroring 2010-10-22 19:42:07 +01:00
Damien Churchill 2beec764c9 move tests back inside the deluge package, makes it easier to run trial on them 2010-10-22 16:36:52 +01:00
John Garland e5760ee341 Fix uncaught exception when quitting 2010-10-23 01:12:21 +11:00
Andrew Resch 45940b9064 Fix #1373 use of cyrllic paths 2010-10-16 12:56:00 -07:00
Andrew Resch c97f809bdc Fix #1349 force a theme style with expander-size = 15 to show entries in the sidebar properly. 2010-10-15 19:32:13 -07:00
Damien Churchill ae6837c88c create the toolbar with the rest of the UI 2010-10-14 13:54:26 +01:00
Andrew Resch a827cf6c7a Keep a torrent paused after a forced recheck if it was paused to start. 2010-10-10 12:36:25 -07:00
Damien Churchill f52e3c4aa0 add a check to ensure that the events loop doesn't continue indefinitely 2010-10-10 19:52:08 +01:00
Damien Churchill 8f7e307f33 wrap client.disconnect() call with a check to see if its classic mode 2010-10-07 00:14:21 +01:00
John Garland f1f6f137c3 Make sure config value strings are utf8 encoded (fixes #1369) 2010-10-03 18:33:57 +11:00
John Garland ff7ff8eac7 Move decode_string/utf8_encoded to common 2010-10-03 18:12:42 +11:00
John Garland 4cb2bcae25 Fix sidebar not updating (#1365) 2010-10-02 23:55:51 +10:00