Commit Graph

6736 Commits

Author SHA1 Message Date
Pedro Algarvio 39ad5a3596 Moved edit trackers dialog to GtkBuilder. Min PyGTK version is now 2.16. 2011-07-06 18:54:40 +01:00
Pedro Algarvio dbad4684db Create torrent remotely progress information.
Support progress information when creating torrents remotely. For this to be possible, a method was added to the `RPCServer`, `emit_event_for_session_id()`, which does exactly what is says. This is needed because the event created, `CreateTorrentProgressEvent` needs to be addressed to a single session id, not all session ids interested in that event.
Fixed a bug that apparently was not found yet. When creating torrents locally, we defer that task to a thread. Since this thread updates UI widgets, namely the progress bar info and since we can't guarantee that it's the main thread, updating the widgets must be done by calling `gobject.iddle_add()`.
2011-07-06 16:45:02 +01:00
Pedro Algarvio 12d0e9574b Migrated create torrent dialog to GtkBuilder.
Additionally creating a torrent and saving it on a remote path now mimics the behaviour on doing it locally. Need to evaluate to see if it's possible to also show a progress when doing this remotely as now, the progress is only seen when doing it locally.
2011-07-06 12:45:50 +01:00
Pedro Algarvio dd50b7bea1 Include `deluge/ui/gtkui/glade/*.ui` data files in `setup.py`. 2011-07-06 12:33:44 +01:00
Pedro Algarvio 4dc4049851 Migrated the connection manager to GtkBuilder. 2011-07-06 11:33:31 +01:00
Pedro Algarvio 27a6e398ee Migrated the "add torrent dialog" to gtkbuilder. 2011-07-06 11:17:13 +01:00
Pedro Algarvio 7035b1f166 Specify the plugin's name on logging calls. 2011-07-06 11:10:46 +01:00
Calum Lind a701fddbe8 Fix #948: New Release Dialog does not show server version 2011-07-05 19:49:53 +01:00
Pedro Algarvio b512a664c6 Properly set/restore visibility when torrent is/is not "compact". 2011-07-05 15:46:36 +01:00
Pedro Algarvio 5bffa3757d Don't default to "localclient" as owner unconditionally.
Only set "localclient" as a last resort, first try to find out who is logged in.
2011-07-05 15:29:51 +01:00
Pedro Algarvio 8b6d6e3836 Fix broken `SessionProxy` tests. 2011-07-05 09:29:12 +01:00
John Garland 37b9277c0e Update ubuntu tracker icon test 2011-07-05 18:00:06 +10:00
John Garland cf891125e6 Only deregister component if registry still exists 2011-07-05 17:58:18 +10:00
Calum Lind f75ec9d484 Fix translation of KiB/s 2011-07-04 21:39:08 +01:00
Calum Lind 9a1ae06033 Fix #1239: Translated Tracker Error text not counted in sidebar Error status 2011-07-04 21:29:58 +01:00
Calum Lind 55f456d851 Fix up/down speed labels in status tab 2011-07-02 19:14:26 +01:00
Calum Lind c346687510 Fix #1715: AddTorrentsDialog does not display filename changes when switching between torrents 2011-07-02 19:14:26 +01:00
Calum Lind 08ee3d8f69 Fix #1582: Wrong path separator returned when moving storage in Windows 2011-07-02 19:14:18 +01:00
Calum Lind 795f633bc4 Fix #491: Add auto_manage_prefer_seeds to prefs manager and UIs 2011-07-02 18:44:26 +01:00
Calum Lind b6596a27bc Add 'Last Seen Complete' to GTK and WebUI Status Tabs 2011-07-02 15:50:04 +01:00
Calum Lind b7fd2d1bf1 Fix #1338 Seeds and Peers totals not updating 2011-07-01 02:40:40 +01:00
Calum Lind 0f625943c0 Fix #1477: Execute Plugin should ignore Added events from state file on startup 2011-06-30 19:24:38 +01:00
Calum Lind 420447e386 Fix #1232: Improve display of Peers Tab IPv6 addresses 2011-06-30 18:02:06 +01:00
Calum Lind a79520e3ee Fix append trackers error occuring with magnet uris 2011-06-30 17:30:46 +01:00
Calum Lind 8ae26c368e Add #890: If added torrent already exists, append extra trackers to it 2011-06-28 01:34:58 +01:00
Calum Lind 981ad6d7d2 Fix #1246: Losing Labels upon restart 2011-06-27 22:53:47 +01:00
Calum Lind 3b5e70580e Fix from_state in TorrentAddedEvent 2011-06-27 22:50:47 +01:00
Andrew Resch 71f9ef6499 Adjust file priorities to make Highest actually the highest allowed by libtorrent and High has been changed to what Highest was 2011-06-21 10:50:57 -07:00
Calum Lind 7dd54b4b34 Save and restore Preferences dialog size from config 2011-06-19 23:29:54 +01:00
Andrew Resch c64ed6adc5 Fix preferencesmanager from failing to stop when trying to stop
loopingcall that wasn't started
2011-06-18 20:13:58 -07:00
Calum Lind a82c753ac0 Fix uri handling when dragged to gtk window 2011-06-18 12:45:21 +01:00
Calum Lind 96b5f617f2 Change log level of connect failed to INFO 2011-06-17 18:07:34 +01:00
Calum Lind 842734c4e4 Add a file exists check to torrents passed as arg 2011-06-16 21:18:10 +01:00
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