Commit Graph

6803 Commits

Author SHA1 Message Date
Calum Lind 095f4ff20a Fix path error with torrent files prefixed with 'file://' from Firefox 2011-06-16 21:18:09 +01:00
John Garland ed0b017fe1 Increase max piece size to 16 MiB in create torrent dialog
Increasing it beyond this will require changes to
createtorrentdialog.py
2011-06-10 13:24:36 +10:00
Pedro Algarvio ce9b540b97 Initial GTK UI Speedups.
The speedups work is being separated into 2 different phases and possibly branches. The idea is to have this minimal speedup merged into master as soon as possible since it's pretty simple. Reduces initial data transfer to about 10% of what was previously being transfered when client connected.
The second phase is regarding row updates, ie, reduce them to what's actually being seen. This part is way more tricky.
2011-06-09 13:49:07 +01:00
Andrew Resch 5112ed48d1 Fix starting deluge-web when using osx/windows since the options are presented, the later conditionals fail since the options object does not have those attributes 2011-06-06 14:57:50 -07:00
Andrew Resch dfa8834db8 Fix starting deluge-web 2011-06-06 14:57:38 -07:00
Andrew Resch 5bc63fa910 Change component.deregister to take the object as the parameter, not the name 2011-06-06 14:19:51 -07:00
Andrew Resch 24c945f139 Add a RPCServer.deregister method
Deregister RPC exports when disabling a Core plugin
2011-06-06 13:55:51 -07:00
Andrew Resch 2542ad9234 Let the Core fire the PluginDisabled event instead of disabling the plugin right away 2011-06-06 13:55:17 -07:00
Calum Lind acb4ab44d2 Merge branch 'stats_plugin_master' 2011-06-06 21:37:08 +01:00
Calum Lind 16fbf27b90 Stats plugin update 2011-06-06 21:36:37 +01:00
Pedro Algarvio 3397c2487b Fix bug introduced on previous commit. We need to get a selection first! 2011-06-06 19:46:02 +01:00
Pedro Algarvio 66e8b34a54 GTK UI un-select row on torrentview shutdown and filter change.
This is specially useful when multiple torrents are selected. This way, the "changed" signal won't be triggered for every row.
2011-06-06 19:40:14 +01:00
Pedro Algarvio 59f9d4e5cc Revert "Work around plugins being garbage collected once enabled twice."
This reverts commit 2f71ef4264.
2011-06-06 18:16:05 +01:00
Pedro Algarvio 221dea1f1a GTK UI. Center the custom speed dialog on parent(statusbar). 2011-06-06 17:45:51 +01:00
Pedro Algarvio 4420aae092 Late import GTK UI's ConnectionManager so that the translations code can be properly setup. 2011-06-05 22:48:17 +01:00
Pedro Algarvio ddc0957e3e Wrap non deluge exceptions so that they can also be sent to the client. 2011-06-05 22:44:01 +01:00
Pedro Algarvio 2f71ef4264 Work around plugins being garbage collected once enabled twice.
When a plugin is enabled, disabled and then enabled again, on that second enable, that instance is being garbage collected causing the loading of the plugin to fail. Work around that until we can narrow down why is this is happening on the second enable.
2011-06-05 22:28:37 +01:00
Calum Lind bc56b749ee Merge branch 'translate_updates' 2011-06-05 17:03:21 +01:00
Calum Lind 34c95a08a3 Fix translations texts in glade and python files 2011-06-05 17:02:33 +01:00
Calum Lind 9ae19e173f Remove page x from translatable in pref_diaog glade 2011-06-05 17:02:33 +01:00
Calum Lind 6672aaba1b Change translatable to No for gtk stock labels 2011-06-05 17:02:33 +01:00
Calum Lind 0712fc9dee Add gtk-* items to gettextize 2011-06-05 17:02:33 +01:00
Calum Lind 07dc9005f3 Update gettextize to ignore .git folder 2011-06-05 17:02:33 +01:00
Calum Lind 274a76ab3b Fix translate string in notifications plugin 2011-06-05 17:02:33 +01:00
Calum Lind 777993f74a Fix translated string in addtorrentdialog 2011-06-05 17:02:33 +01:00
Calum Lind d1037ae213 update create_potfiles_in to ignore plugins build dir 2011-06-05 17:02:33 +01:00
Pedro Algarvio 15e9f5f218 Add 2 more commands to setup.py
Two more commands were added to setup.py:
 * develop_plugins - Installs each of the plugins in development mode
 * egg_info_plugins - Create the '.egg-info' distribution directories for each plugin. This will make the plugin discoverable by deluge

Both these commands are intended to be used while developing deluge.
2011-06-05 16:58:27 +01:00
Pedro Algarvio 4aab110aaf Remove duplicate code. 2011-06-05 16:23:09 +01:00
Calum Lind 8933ac3123 Fix #1560 - FilesTab Progress value sorting by int instead of float 2011-06-05 13:23:23 +01:00
Calum Lind 2e896b520e Fix #1456 - No ETA showing with multiple files 2011-06-05 13:23:16 +01:00
Calum Lind 16d27b9657 Catch snd_path is None error in Notification Plugin 2011-06-04 23:24:39 +01:00
Calum Lind d3e8afdda1 Fix Extractor and Example plugin not starting 2011-06-04 22:56:36 +01:00
Calum Lind b86ba13376 Fix Feeder plugin name 2011-06-04 22:51:41 +01:00
Calum Lind f736576436 Fix Execute plugin not starting 2011-06-04 22:51:15 +01:00
Pedro Algarvio 9d1715405f Try to get some more debug info for plugins which are failing to load. 2011-06-04 19:25:53 +01:00
Pedro Algarvio ee0d757b0e Some more fixes for plugins not fetching data from the correct namespace. 2011-06-04 19:23:03 +01:00
Pedro Algarvio 32c95fac1e Fix the Label plugin to get resources from the namespace. 2011-06-04 19:19:01 +01:00
Pedro Algarvio df3214168c Cleaner fix for #1874, code clean up and reusability.
Translations are now setup on `deluge.common`. Where they used to be setup, a call to `setup_translations(setup_pygtk=False)` is now made.
Every call to `pkg_resources.resource_filename()` is now made through `deluge.common.resource_filename` to make sure that we're loading data from the right deluge install.
2011-06-04 18:06:45 +01:00
Pedro Algarvio 9e9261e6f8 Fix #1874.
While developing, if there's a second deluge package, installed globally and another in develop mode somewhere else, while pkg_resources.require("Deluge") returns the proper deluge instance, pkg_resources.resource_filename does not, it returns the first found on the python path, which is not good enough. Work around this issue.
2011-06-04 15:56:14 +01:00
Pedro Algarvio 087e94f6a1 Update all columns which use the "state" status field on the GTK UI TorrentView and not just the Progress column. 2011-06-04 10:43:24 +01:00
Pedro Algarvio abe0031c2b Trigger a deprecation warning for code calling "getPluginLogger".
Since the plugins namespace was merged into master, calling "logging.getLogger(__name__)" will result in a properly named logger for plugins which will allow logging filtering.
The previous workaround "getPluginLogger()", is now deprecated.
2011-06-04 09:02:53 +01:00
Pedro Algarvio 13db148a11 Now that the plugin's namespace is in use, make the plugins get their own logger instead of using `getPluginLogger()` 2011-06-03 23:10:43 +01:00
Andrew Resch 84c5078667 Merge branch 'master' of deluge-torrent.org:deluge 2011-06-03 14:55:34 -07:00
Andrew Resch cebdc89b18 Fix systemtray from stopping properly when appindicator is enabled 2011-06-03 14:53:41 -07:00
Pedro Algarvio 87e767d4c1 Merge branch 'master' into plugins-namespace 2011-06-03 17:48:22 +01:00
Calum Lind ce406674ec Update setuptools version in ez_setup 2011-06-02 21:50:38 +01:00
Andrew Resch ac5f9a2828 Fix up stopping classic mode 2011-06-02 11:55:26 -07:00
Andrew Resch 6d55c44983 Fix menubar component stopping properly 2011-06-02 11:54:53 -07:00
Andrew Resch 1557d0da1f Move the log level to the left of the module because this field is a fixed width and its easier to read this way 2011-06-02 11:53:54 -07:00
Andrew Resch 2f785216f6 Show errors when trying failing to properly stop a component 2011-06-02 11:53:34 -07:00