gcjwebplugin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcjwebplugin-devel] Patch: AppletTag rewrite


From: Lillian Angel
Subject: [Gcjwebplugin-devel] Patch: AppletTag rewrite
Date: Tue, 11 Apr 2006 14:23:42 -0400

I fixed AppletTag to use the gnu.xml.dom.html2.* to parse the html
document. The class is *a lot* cleaner now. Many applets work a lot
better. There are still some Classpath bugs that need to be fixed,
before they all work.

I fixed the other classes to use the new AppletTag class appropriately.

2006-04-11  Lillian Angel  <address@hidden>

        * src/gnu/gcjwebplugin/AppletTag.java:
        Added new fields, fixed imports.
        (AppletTag): New constructor. Initializes applet tag
        with parameters.
        (AppletTag): New constructor. Initializes applet with
        given location.
        (AppletTag): Changed constructor to use Reader to create
        tag and parse document.
        (createApplet): Parses the tag. New function.
        (recurseDocument): Recurses through tags. New function.
        (parseEmbedTag): Parses an EMBED tag. New function.
        (parseObjectTag): Parses an OBJECT tag. New function.
        (parseAppletTag): Parses an APPLET tag. New function.
        (locationToURL): Removed.
        (getLocationToURL): New function. Replaces locationToURL.
        (parseArchives): Rewritten to adapt to new code.
        (toString): Likewise.
        (getSize): Added API documentation.
        (EmbedTag): Removed class.
        (prependCodebase): Removed.
        (prependCodeBase): New function. Replaces prependCodebase.
        Added API documentation.
        (getCode): New function.
        (getDocumentBase): Likewise.
        (getParameter): Likewise.
        (AppTag): Removed class.
        (parseAttributeString): Removed.
        (parseParam): Likewise.
        (parseParamValue): Likewise.
        (parseAppletTags): Likewise.
        (parseNextTag): Likewise.
        * src/gnu/gcjwebplugin/AppletViewer.java
        (createApplet): Fixed to use new functions in AppletTag. Also,
        added call to AppletTag.createApplet().
        * src/gnu/gcjwebplugin/CommonAppletStub.java
        (getDocumentBase): Fixed to use new function in AppletTag.
        (getParameter): Likewise.
        * src/gnu/gcjwebplugin/PluginAppletViewer.java
        (start): Removed encoding parameter.
        * src/gnu/gcjwebplugin/PluginAppletWindow.java
        (setTag): Fixed to use new functions in AppletTag.
        (createApplet): Likewise.
        * src/gnu/gcjwebplugin/StandaloneAppletViewer.java
        (StandaloneAppletViewer): Removed encoding parameter. Also,
        fixed to use new functions in AppletTag.
        * src/gnu/gcjwebplugin/StandaloneAppletWindow.java
        (StandaloneAppletWindow): Fixed to use new functions in 
        AppletTag.

Attachment: gcjapp_patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]