gecko-dev/extensions/xmlterm/base
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
..
.cvsignore
Makefile.in Fix bustage that occurs when building with multiple toolkits but not having gtk as the default toolkit. 2001-12-06 10:32:10 +00:00
mozILineTerm.idl --NOT PART OF DEFAULT BUILD-- 2001-09-07 21:33:32 +00:00
mozIXMLTerminal.idl --NOT PART OF DEFAULT BUILD-- 2001-12-28 22:39:45 +00:00
mozIXMLTermShell.idl --NOT PART OF DEFAULT BUILD-- 2001-12-28 22:39:45 +00:00
mozIXMLTermStream.idl --NOT PART OF DEFAULT BUILD-- 2001-09-07 21:33:32 +00:00
mozLineTerm.cpp Fixing build bustage 2002-05-15 21:04:39 +00:00
mozLineTerm.h Fix bustage that occurs when building with multiple toolkits but not having gtk as the default toolkit. 2001-12-06 10:32:10 +00:00
mozXMLT.h
mozXMLTerminal.cpp bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately 2002-08-06 00:53:19 +00:00
mozXMLTerminal.h fixing build bustage cause by nsIObserver changes 2001-10-19 22:56:19 +00:00
mozXMLTermListeners.cpp --NOT PART OF DEFAULT BUILD-- 2001-12-28 22:39:45 +00:00
mozXMLTermListeners.h --NOT PART OF DEFAULT BUILD-- 2001-09-07 21:33:32 +00:00
mozXMLTermSession.cpp Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.) 2002-06-13 20:35:12 +00:00
mozXMLTermSession.h --NOT PART OF DEFAULT BUILD-- 2001-12-28 22:39:45 +00:00
mozXMLTermShell.cpp --NOT PART OF DEFAULT BUILD-- 2001-12-28 22:39:45 +00:00
mozXMLTermShell.h --NOT PART OF DEFAULT BUILD-- 2001-09-07 21:33:32 +00:00
mozXMLTermStream.cpp b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
mozXMLTermStream.h --NOT PART OF DEFAULT BUILD-- 2001-09-07 21:33:32 +00:00
mozXMLTermUtils.cpp r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
mozXMLTermUtils.h Fix bustage from XPCDOM landing by including nsIScriptContext.h. 2001-05-08 21:40:24 +00:00
README sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug. 2001-05-04 20:15:38 +00:00

 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

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