Commit Graph

7211 Commits

Author SHA1 Message Date
Pedro Algarvio 7e2411289d Merge branch 'master' into plugins-namespace
Conflicts:
	ChangeLog
2010-12-13 12:37:37 +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 9bd11ab204 Update ChangeLog. 2010-12-10 04:35:41 +00:00
Pedro Algarvio c164013725 Ported Feeder(although not working on current deluge), Notifications, Scheduler, Stats, Toggle and WebUi to the deluge.plugins namespace. 2010-12-10 04:31:51 +00:00
Pedro Algarvio b9a8bf2409 Ported the Label plugin to the deluge.plugins namespace. 2010-12-10 04:09:25 +00:00
Pedro Algarvio 4c3d068f0c Improve `create_plugin.py` and the generated `create_dev_link.sh`. 2010-12-10 04:08:36 +00:00
Pedro Algarvio c9e4d286c3 Ported the FreeSpace plugin to the deluge.plugins namespace. 2010-12-10 03:29:36 +00:00
Pedro Algarvio e43146a4ac Simplify some code on `create_plugin.py`. 2010-12-10 03:25:39 +00:00
Pedro Algarvio 1c2eb0c737 Improve and port the `create_plugin.py` script to generate the plugins under the "deluge.plugins" namespace.
Any plugin not using the "deluge.plugins" namespace will get a `DeprecationWarning` printed on the console.
2010-12-10 03:15:36 +00:00
Pedro Algarvio b0d77a4f20 Ported the Extractor plugin to the plugins namespace. 2010-12-10 00:35:51 +00:00
Pedro Algarvio 20635773b3 Ported "Blocklist", "Example" and "Execute" to the "deluge.plugins" namespace. 2010-12-09 23:11:20 +00:00
Pedro Algarvio f17634ea63 Drop pkutil and simply use pkg_resources. 2010-12-09 22:18:59 +00:00
Pedro Algarvio 16f617d240 Initial commit to implement the "deluge.plugins" namespace package support. 2010-12-09 22:05:34 +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