No description
Find a file
bendikro 20bae1bf90 [Console] Rewrite of the console code
This commit is a rewrite of larger parts of the console code. The
motivation behind the rewrite is to cleanup the code and reduce code
duplication to make it easier to understand and modify, and allow any
form of code reuse. Most changes are to the interactive console, but
also to how the different modes (BaseMode subclasses) are used and set
up.

* Address [#2097] - Improve match_torrent search match:
  Instead of matching e.g. torrent name with name.startswith(pattern)
  now check for asterix at beginning and end of pattern and search
  with startswith, endswith or __contains__ according to the pattern.

Various smaller fixes:
* Add errback handler to connection failed
* Fix cmd line console mixing str and unicode input
* Fix handling delete backwards with ALT+Backspace
* Fix handling resizing of message popups
* Fix docs generation warnings
* Lets not stop the reactor on exception in basemode..
* Markup for translation arg help strings

* Main functionality improvements:
 - Add support for indentation in formatting code in popup messages (like help)
 - Add filter sidebar
 - Add ComboBox and UI language selection
 - Add columnsview to allow rearranging the torrentlist columns
   and changing column widths.
 - Removed Columns pane in preferences as columnsview.py is sufficient
 - Remove torrent info panel (short cut 'i') as the torrent detail view
   is sufficient

* Cleanups and code restructuring
  - Made BaseModes subclass of Component
  - Rewrite of most of basic window/panel to allow easier code reuse
  - Implemented better handling of multple popups by stacking popups. This
    makes it easier to return to previous popup when opening multiple popups.

* Refactured console code:
  - modes/ for the different modes
    - Renamed Legacy mode to CmdLine
    - Renamed alltorrent.py to torrentlist.py and split the code into
      - torrentlist/columnsview.py
      - torrentlist/torrentsview.py
      - torrentlist/search_mode.py (minor mode)
      - torrentlist/queue_mode.py (minor mode)
  - cmdline/ for cmd line commands
  - utils/ for utility files
  - widgets/ for reusable GUI widgets
    - fields.py: Base widgets like TextInput, SelectInput, ComboInput
    - popup.py: Popup windows
    - inputpane.py: The BaseInputPane used to manage multiple base widgets in a panel
	- window.py: The BaseWindow used by all panels needing a curses screen
    - sidebar.py: The Sidebar panel
    - statusbars.py: The statusbars
  - Moved option parsing code from main.py to parser.py
2016-10-30 12:45:04 +00:00
deluge [Console] Rewrite of the console code 2016-10-30 12:45:04 +00:00
docs [UI] Add gettext.ngettext to __builtin__.__dict__ 2016-10-30 12:45:02 +00:00
packaging [#2828] [Packaging] Fix ImportError with setuptools version > 18.8 2016-05-19 17:21:19 +01:00
.gitattributes Update MANIFEST and .gitattributes 2015-08-27 22:51:43 +01:00
.gitignore [Docs] Autogenerate module docs with apidoc 2016-05-22 12:11:41 +01:00
.pylintrc [UI] Add gettext.ngettext to __builtin__.__dict__ 2016-10-30 12:45:02 +00:00
.travis.yml [Core] Change deprecated lt.version to lt.__version__ 2016-10-17 12:40:28 +01:00
AUTHORS Update author name as per request 2015-08-17 23:03:48 +01:00
ChangeLog [GTKUI] Fix magnet association button on Windows 2014-09-23 20:22:24 -04:00
DEPENDS [#2861] [Core] Switch to using python-geoip for geoip lookups 2016-10-21 10:30:52 +01:00
gen_web_gettext.py Revert "[Py2to3] Clean-up the use of keys() on dictionary objects." 2016-10-26 19:14:10 +01:00
generate_pot.py [Lint] Cleanup helper scripts to pass PyLint 2015-10-30 18:39:52 +00:00
LICENSE Update LICENSE in trunk too.. 2009-04-06 21:17:26 +00:00
MANIFEST.in [Packaging] Include WebUI debug files for dev versions 2015-09-04 19:43:32 +01:00
minify_web_js.py [WebUI] Print error if minify script encounters error with closure 2016-05-19 15:47:15 +01:00
msgfmt.py Revert "[Py2to3] Clean-up the use of keys() on dictionary objects." 2016-10-26 19:14:10 +01:00
README.rst Fix RTD badge in readme 2014-09-22 19:18:34 -04:00
setup.cfg [Lint] Use a shorter line length for isort 2016-05-18 10:55:01 +01:00
setup.py [Lint] Fix various pylint warnings and fixup code 2016-10-26 09:58:43 +01:00
tox.ini [UI] Add gettext.ngettext to __builtin__.__dict__ 2016-10-30 12:45:02 +00:00
version.py [Lint] Cleanup helper scripts to pass PyLint 2015-10-30 18:39:52 +00:00

=========================
 Deluge BitTorrent Client
=========================

|build-status| |docs|

Homepage: http://deluge-torrent.org

Authors:
    Andrew Resch
    Damien Churchill

For contributors and past developers see: 
    AUTHORS

==========================
Installation Instructions:
==========================

For detailed instructions see: http://dev.deluge-torrent.org/wiki/Installing/Source

Ensure build dependencies are installed, see DEPENDS for a full listing.

Build and install by running::

    $ python setup.py build
    $ sudo python setup.py install

================
Contact/Support:
================

:Forum: http://forum.deluge-torrent.org
:IRC Channel: #deluge on irc.freenode.net

===
FAQ
===

For the full FAQ see: http://dev.deluge-torrent.org/wiki/Faq

How to start the various user-interfaces:
    Gtk::

        deluge or deluge-gtk

    Console::

        deluge-console

    Web::

        deluge-web
        Go to http://localhost:8112/ default-password = "deluge"

How do I start the daemon?:
    deluged

I can't connect to the daemon from another machine:
    See: http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient


.. |build-status| image:: https://travis-ci.org/deluge-torrent/deluge.svg
    :target: https://travis-ci.org/deluge-torrent/deluge

.. |docs| image:: https://readthedocs.org/projects/deluge/badge/?version=develop
    :target: https://readthedocs.org/projects/deluge/?badge=develop
    :alt: Documentation Status