gecko-dev/extensions/xmlterm/base
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
..
.cvsignore
Makefile.in Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-04 18:38:19 +00:00
README
mozILineTerm.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozIXMLTermShell.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozIXMLTermStream.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozIXMLTerminal.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozLineTerm.cpp Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes 2006-02-02 20:02:34 +00:00
mozLineTerm.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozXMLT.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozXMLTermListeners.cpp remove *WithConversion from xmlterm r+sr=roc Bug 252940 2004-08-03 13:46:52 +00:00
mozXMLTermListeners.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozXMLTermSession.cpp bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones 2006-02-03 14:18:39 +00:00
mozXMLTermSession.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozXMLTermShell.cpp Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
mozXMLTermShell.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
mozXMLTermStream.cpp Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
mozXMLTermStream.h Bug 321504 Remove unneeded uses of nsIDocumentLoader 2005-12-26 16:45:59 +00:00
mozXMLTermUtils.cpp Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes 2006-02-02 20:02:34 +00:00
mozXMLTermUtils.h Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
mozXMLTerminal.cpp eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
mozXMLTerminal.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00

README

 base --- core source code for XMLterm and LineTerm

XMLterm may be invoked in one of two ways:
 1. By loading "-chrome chrome://xmlterm/content/xmlterm.xul" in mozilla, or
 2. By running the stand-alone executable "../geckoterm/xmlterm".
The diagram below shows the control-flow/layering hierarchy for both ways
of invoking XMLterm.

              XMLterm control-flow/layering hierarchy
              =======================================
  
          mozilla-executable               geckoterm-executable
                 |                                 |
       ../ui/content/xmlterm.xul                   |
                 |                                 |
       ../ui/content/xmlterm.html       ../ui/content/xmlterm.html
                 |                                 |
          mozXMLTermShell              ../geckoterm/mozGeckoTerm
                 |                              |        |
                 +--------------+---------------+        |
                                |                  mozSimpleContainer
                          mozXMLTerminal
                                |
            +-------------------+--------------------+
            |                   |                    |
     mozXMLTermSession    mozLineTermAux      mozXMLTermListeners
            |                   |                    |
            |                   |                    |
      (rendering...)       (LineTerm)           (user input)
                       (pseudo-TTY/shell)


15 Mar 2000
============================================================================
FILES:

The core source code for XMLterm in this directory consists of two distinct
families of files, those with names that begin with the prefix "moz" and all
the other files. The former are the Mozilla-specific portions of XMLterm,
written in C++. The remaining files constitute the Mozilla-independent portion
of XMLterm, referred to as "LineTerm".

============================================================================
LINETERM:

LineTerm is a line-oriented terminal program, in some respects similar in
functionality to the GNU Readline package. It is completely independent of the
Mozilla source code, is written in plain C, and dually licensed under GPL and
MPL.

============================================================================
INTERFACES:

lineterm.h              Plain C interface to LineTerm
                          (used by mozLineTerm)

mozILineTerm.idl        Scriptable XPCOM/XPCONNECT interface to LineTerm
                          (not used at the moment)

mozILineTermAux.h       XPCOM interface to LineTerm, with extra features
                          (used by mozXMLTerminal)
 
mozIXMLTermShell.h      Scriptable XPCOM/XPCONNECT interface to XMLterm
                          (used by the Javascript glue code in the XMLterm
                           start page at ../ui/content/xmlterm.html)

mozIXMLTerminal.h       XPCOM interface to XMLterm
                          (used by mozXMLTermShell, ../geckoterm/mozGeckoterm)

mozIXMLTermStream.h     XPCOM interface for displaying HTML/XML streams in
                          IFRAMES (used by mozXMLTermSession)


IMPLEMENTATIONS:


mozLineTerm.h
mozLineTermcpp             Implementation of mozILineTerm, mozILineTermAux
                             Uses LineTerm to access shell

mozXMLTermShell.h
mozXMLTermShell.cpp        Implementation of mozIXMLTermShell
                             Uses mozIXMLTerminal to create XMLterm

mozXMLTerminal.h
mozXMLTerminal.cpp         Implementation of mozIXMLTerminal,
                                             nsIWebProgressListener, and
                                             nsIObserver
                             Uses mozILineTermAux to create LineTerm
                             Uses mozXMLTermListeners to capture user input
                             Uses mozXMLTermSession to display input/output

mozXMLTermListeners.h
mozXMLTermListeners.cpp    Implementations of nsIDOMKeyListener,
                                              nsIDOMTextListener,
                                              nsIDOMMouseListener,
                                              nsIDOMDragListener

mozXMLTermStream.h
mozXMLTermStreamcpp        Implementation of mozIXMLTermStream


CLASSES:


mozXMLTermSession.h/cpp    Class to manage session input/output display
                             (used by mozXMLTerminal)
                             Uses mozIXMLTermStream to display streams

mozXMLTermUtils.h/cpp      Abstract class for static utility functions
                             (for use by all classes)

============================================================================
The following are dually licensed under MPL and GPL:

LineTerm package:

lineterm.h        Public interface to LineTerm

ltermPrivate.h    Private common header file

ltermManager.c    LineTerm manager
ltermIO.c         Overlapping I/O functions
ltermInput.c      Input handler
ltermOutput.c     Output handler
ltermEscape.c     Escape sequence handler

Low-level packages:

ptystream.h
ptystream.c       Stream-like interface to Unix pseudo-TTY

tracelog.h
tracelog.c        Simple tracing/logging diagnostic library

unistring.h
unistring.c       Simple Unicode manipulation library

============================================================================