4. Bug Fixes


4.1 Cosmo Create


   Cosmo Create encompasses the functionality of the previously
   released WebMagic application.  The following WebMagic bugs
   have been fixed in Cosmo Create.

      o The HTML output from WebMagic often contained very long
        lines. The HTML output from Cosmo Create is now
        formatted around a 72 column page with indentations as
        appropriate.

      o Printing from WebMagic when run on low resolution
        displays would produce incorrectly formatted output.
        This has been fixed.

      o WebMagic would use a large number of colors from the
        default system colormap.  This would leave certain
        applications unable to run due to lack of colors.
        Cosmo Create now uses a 24-bit visual by default and
        thus no longer consumes such large numbers of colors.

      o WebMagic would change or lose certain HTML source
        constructs. Cosmo Create goes to great lengths to
        preserve the original HTML contents regardless of
        whether it understands the constructs. This includes
        the preservation of all unrecognized elements and
        attributes (except unrecognized attributes on font
        markups such as B, I, FONT), the preservation of the
        contents and location style sheets, scripts and
        comments.

      o WebMagic would lose empty NAME anchors. This has been
        fixed in Cosmo Create.  When an empty NAME anchor is
        encountered, it is placed around the markup immediately
        following the anchor.

      o WebMagic would misorder font tags when used near anchor
        tags. This has been fixed in Cosmo Create.

      o WebMagic would apply HTML escapes to URLs. This would
        cause URLs with

      o WebMagic would get confused when parsing a file with
        HTML attributes that contained certain HTML escape
        sequences (e.g. "). This has been fixed in Cosmo
        Create.

      o Horizontal scrolling now works correctly for large
        images.

      o Background images now scroll.

   The following Cosmo Create 1.0 bugs have been fixed in Cosmo
   Create 1.0.1.

      o Cosmo Create 1.0 recognized only an uppercase </SCRIPT>
        tag as terminating a script. Cosmo Create 1.0.1
        terminates a script without regard to the case of the
        </SCRIPT> tag.

      o Tables are redrawn less often, greatly increasing
        editing speed and reducing flashing.

      o Editing tables is more stable.

      o To insert a paragraph before or after a table, you can
        now click to the left or right of the table and just
        start typing.  The paragraph will be inserted
        automatically, without requiring the use of the "Add
        Paragraph Before/After Table" items in the Format menu.

      o Text in table heading cells (<TH> tag) is now displayed
        bold.

      o Cosmo Create 1.0.1 is better at handling preformatted
        text within table cells.

   The following Cosmo Create 1.0 bugs have been fixed in Cosmo
   Create 1.0.2.

      o A '/' character is no longer appended to the CODEBASE
        attribute if it already ends in a '/'.

      o The document modified status is maintained correctly
        when turning "Alternate HTML" on and off in the View
        menu.

      o Adding a row at the end of a table that is at the very
        end of the document no longer causes Cosmo Create to
        crash.

      o Horizontal rules inside table cells are now sized
        correctly, and they no longer incorrectly migrate
        outside of the cell.

      o Invoking separate copies of Cosmo Create in rapid
        succession without using the -runmany flag no longer
        results in the crashing of the program or display of
        the wrong files.

      o A security hole existed in the Perl script output by
        the Cosmo Create Forms Tool. The hole was caused by the
        use of the Perl eval function with a user supplied
        variable. This function provided an alternate means of
        specifying variables in the script but was not
        required. Since it is a security hole it has been
        removed. Scripts based on previous versions of Cosmo
        Create will have the security hole and should remove
        line number 33 in the original script. The line to be
        removed reads:

        eval("\$$key = \"$value\"");

        Refer to all form variables using
        $form{'varaibleName'}. (485966)

   The following Cosmo Create 1.0 bugs have been fixed in Cosmo
   Create 1.0.3.

      o Cosmo Create would sometimes crash when updating the
        WYSIWYG editing window from the source editing window.
        This has been fixed.

      o Certain attributes of an anchor tag would be lost if
        the anchor tag enclosed an image tag that referenced an
        image map. This has been fixed.

      o Cosmo Create running in an Asian locale (e.g. Japanese)
        no longer incorrectly parses pages with non-breaking
        space characters (i.e. &nbsp;).  However, pages
        containing other ISO Latin 1 characters outside the
        ASCII range should not be processed by Cosmo Create in
        an Asian locale. This limitation is placed on Cosmo
        Create by the character encoding schemes used for Asian
        locales.

      o Empty VALUE attributes on form OPTION or INPUT tags are
        no longer removed. Empty VALUE attributes are display
        as fields with "" as the value. To create an empty
        VALUE attribute, specify "" in the value field.

      o Cosmo Create no longer renders ALIGN attributes in tags
        that do not support the ALIGN attribute (i.e. PRE,
        ADDRESS, BLOCKQUOTE, DD, DT, LI, OL, UL, MENU and DIR).
        The attribute value is preserved in all cases.
        Similarly, the user interface no longer allows right
        justification of paragraph styles that do not support
        the ALIGN attribute.

      o Content fetched from the web into Cosmo Create now
        preserves the file extensions in the local file cache.
        This preserves the mime types of the content permitting
        correct previewing and other processing.

      o The <CENTER> tag is now properly balanced when used
        with the <PRE> tag.

      o Cosmo Create now uses the correct font, ming, when run
        in the Traditional Chinese locale (zh TW.ucns).
        Previous version of Cosmo Create incorrectly used the
        song font.

      o Cosmo Create no longer drops the MAXLENGTH attribute
        when processing a TEXT INPUT tag. In addition, the
        MAXLENGTH setting now limits the number of characters
        that can be entered into the text field.

      o Cosmo Create no longer crashes when given an image map
        with a hotspot that does not have an anchor associated
        with it.

      o The contents of XMP, PLAINTEXT and LISTING paragraphs
        are now displayed WYSIWYG and are no longer converted
        to PRE pragraphs. Since a number of formatting options
        on the GUI have no meaning in an XMP or PLAINTEXT
        paragraph, selecting one of these options will simply
        cause a beep.

      o The SMALL and BIG tags are no longer converted to FONT
        SIZE tags. Note that there is no GUI support for
        specifying these tags.

      o Relative font sizes specified within headings are now
        displayed at the correct size. Note that there is no
        GUI support for specifying relative font sizes.

4.2 Cosmo Package


4.2.1 General


      o There is now a "Directory" packager, so if your content
        refers to a directory, you will no longer get a FATAL
        error during the discovery phase.  From the Directory
        preference panel, you can select which file is used as
        the "index" of the directory.  Please see the help
        system for more information.

      o Several large memory leaks were fixed.  Cosmo Package
        should use much less memory and is a lot less likely to

        cause you to run out of swap space.

      o In Cosmo Package 1.0, saving your package could
        invalidate the filenames used in a preview started
        before you saved.  Now, those filenames will remain
        valid until you "Restart" the packaging process or do a
        "Save As".

      o Prior to Cosmo Package 1.0.2, HTML between <pre> and
        </pre> tags was not treated as HTML.  This meant that
        any URLs between those tags would not be discovered for
        packaging or patched during packaging.  This has been
        fixed.

      o Prior to Cosmo Package 1.0.2, malformed URLs of the
        form "//News" caused memory to be corrupted, possibly
        killing CosmoPackage.  This corruption has been fixed.
        (479316)

      o Prior to Cosmo Package 1.0.2, mappings were not
        displayed correctly when opening or restarting a
        previously saved package.  This has been fixed.
        (480509)

4.2.2 HTML


      o Prior to Cosmo Package 1.0.2, all attributes whose
        names began "SGI " were stripped during packaging.
        This included attributes intended for the SGI
        CosmoPlayer.  Now, only attributes from the following
        set are removed: SGI ASPECT RATIO, SGI BACKGROUND,
        SGI BACKGROUND INVALID, SGI CLASSID,
        SGI CLASSID INVALID, SGI CODE, SGI CODE INVALID,
        SGI COMMENT, SGI DATA, SGI DATA INVALID, SGI FULLPATH,
        SGI HEIGHT FIXED, SGI HEIGHT UNFIXED, SGI NATIVE SRC,
        SGI SETHEIGHT, SGI SETWIDTH, SGI SRC, SGI SRC INVALID,
        SGI URL CMD, SGI WHITESPACE, SGI WIDTH FIXED,
        SGI WIDTH UNFIXED.

4.2.3 VRML


      o In some situations, the VRML packager was not able to
        convert movies and sounds.  This would result in a
        message stating: "Can't figure out whether the file
        "someMovie.mpg" has audio and/or video tracks."  This
        has been fixed.  Since this bug has been fixed, when
        you see this error message, the troubleshooting steps
        it recommends are more likely to be useful.

      o The packager now discovers and corrects urls used
        within the bodies of PROTOs.

      o By default, VRML files will be gzipped in new packages.