Exemplo n.º 1
0
# -*- coding: utf-8 -*-
"""
    trepan.io
    ~~~~~~~~~

    Trepan Input and Output routines

    :copyright: Copyright 2013, 2018
    :license: GPL3, see LICENSE for details.
"""

__docformat__ = 'restructuredtext'

from trepan.misc import pyfiles
__all__ = pyfiles(__file__)
Exemplo n.º 2
0
Many of the things listed below doesn't directly effect end-users, but
it does eventually by way of more robust and featureful code. And
keeping developers happy is a good thing.(TM)

* Commands and subcommands are individual classes now, not methods in a class.
  This means they now have properties like the context in which they can
  be run,  minimum abbreviation name or alias names.
  To add a new command you basically add a file in a directory.

* I/O is it's own layer. This simplifies interactive readline behavior
  from reading commands over a TCP socket.
* An interface is it's own layer. Local debugging, remote debugging,
  running debugger commands from a file (`source`) are different interfaces.
  This means, for example, that we are able to give better error reporting
  if a debugger command file has an error.
* There is an experimental Python-friendly interface for front-ends
* more testable. Much more unit and functional tests. More of _pydb_'s
  integration test will eventually be added.

Copyright (C) 2008-2009, 2013-2015 Rocky Bernstein <*****@*****.**>

.. |Downloads| image:: https://pypip.in/download/trepan/badge.svg
.. |Build Status| image:: https://travis-ci.org/rocky/python3-trepan.svg
"""
__docformat__ = 'restructuredtext'

__import__('pkg_resources').declare_namespace(__name__)

from trepan.misc import pyfiles
__all__ = pyfiles(__file__) + ['bwprocessor', 'lib', 'inout', 'processor', 'interfaces']
Exemplo n.º 3
0
#  Copyright (C) 2008-2009, 2013-2014 Rocky Bernstein <*****@*****.**>
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
""" Copyright (C) 2008-2009, 2014 Rocky Bernstein <*****@*****.**> """
__import__('pkg_resources').declare_namespace(__name__)

__docformat__ = 'restructuredtext'

from trepan.misc import pyfiles
__all__ = [ pyfiles() ]
Exemplo n.º 4
0
#  Copyright (C) 2008-2009, 2014 Rocky Bernstein <*****@*****.**>
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
""" Copyright (C) 2008-2009, 2014 Rocky Bernstein <*****@*****.**>"""
__import__('pkg_resources').declare_namespace(__name__)

from trepan.misc import pyfiles
__all__ = pyfiles(__file__)
__package__ = 'trepan.lib'
Exemplo n.º 5
0
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
""" Copyright (C) 2008-2009, 2013-2016 Rocky Bernstein <*****@*****.**> """

from trepan import misc as Mmisc
__all__ = Mmisc.pyfiles(__file__) + ['command']
Exemplo n.º 6
0
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
""" Copyright (C) 2008-2009, 2013-2014 Rocky Bernstein <*****@*****.**> """

__import__('pkg_resources').declare_namespace(__name__)

from trepan import misc as Mmisc
__all__ = Mmisc.pyfiles(__file__) + ['command']