Xm support

Documentation

Online documentation about Xm elements, how to wire your machine, how to interact with JavaScript and the Mozilla GUI is available here.

Installing instructions

Click here for installing instructions.

Uninstalling instructions

Click here for uninstalling instructions.

FAQ

Q: Will Xm be available for other browsers?
A: Not until they support the XPCOM interface, you may probably as well say 'never'.

Q: Will Xm be ported to Linux?
A: Yes. Planned for version 1.0. Both versions will be entirely compatible, so you can write a machine definition in XML and a machine GUI in XUL and run them with Mozilla on Windows or Linux.

Q: Under wich configurations has Xm been tested so far?
A: Xm has been successfully tested under Windows 2000 and Windows XP with:

Xm does not initialize correctly with:

Known issues

Mozilla/Firefox installation bugs and workarounds

  1. In case of reinstallation, some Mozilla versions might still hold an older version of Xm in their file cache. In this case, the download is skipped and the cached old version gets reinstalled. Clear the file cache before reinstalling Xm to avoid this problem.
  2. The content of the Mozilla/chrome/chrome.rdf file is sometimes a little bit disorganized. In this case, the Xm installation accomplishes without errors, but you get a 'xm.xul not found' error when you type chrome://xm/content/ in the location bar. In this case, quit Mozilla, delete the chrome.rdf file and restart. This is harmless, Mozilla rebuilds the file automatically anyway.
  3. If the sample files are not found, check the Mozilla/chrome/installed-chrome.txt file. There should be 3 new entries at the end:
    content,install,url,resource:/chrome/xm/content/
    skin,install,url,resource:/chrome/xm/skin/
    locale,install,url,resource:/chrome/xm/locale/en-US/
    If these entries are missing, clear the file cache and reinstall.
  4. In case of reinstallation, Mozilla multiplies entries in installed-chrome.txt. If the installation process failed several times, it is better to uninstall Xm manually, see the instructions on the Download Xm page. In this case, please give me report with your Mozilla or Firebird version.
  5. The installed-chrome.txt file must be terminated by an empty line. If Xm does not show any images after installing it manually, or after multiple installations, be sure to check this first.
  6. If Firefox 0.8 does not show any images, open the chrome.rdf file in the Phoenix application profile settings (the exact location depends on your profile setting).
    It should contain the following description for Xm stating the current locale and skin:
    <RDF:Description about="urn:mozilla:package:xm">
        <c:selectedLocale resource="urn:mozilla:locale:en-US:xm"/>
        <c:selectedSkin resource="urn:mozilla:skin:modern/1.0:xm"/>
    </RDF:Description>
    If the c:selectedSkin entry is missing (for whatever reasons this error showed only up with Firefox so far), just copy the c:selectedSkin entry from the sample above, restart your browser... voilà.

XUL

  1. There are some issues concerning XUL. The Z-ordering of the <deck> element is not ok, see sample 'snaky game'.
  2. See also the comments in the JS-files for details about animation issues.

Xm

  1. Sample: Particle and poles.
    The 'Damping' parameter has no effect, remains to be implemented.
  2. logAnd, logOr, logXor: connecting outputs to inputs to make a self-oscillating circuit does not work.
    Bug is fixed in upcoming version 0.8.

Roadmap

Planned for Task Finished
Version 1.0 Linux port no
March 2004: Version 0.8 Bugfixes for logAnd, logOr, logXor
Implementation of logFrqDiv
Add more samples to download example
in progress
February 2004 Write online documentation for Version 1.0 in progress
24.01.2004 First version to download goes online yes

Questions and comments

Please send your question and comments to ulrich.hoehne@arxio.de. Note that I can only respond to questions related to the Xm project, it is not a good idea to ask me questions about Mozilla - there are much better places to do this - see below. On the other hand, you can write me in english, auf Deutsch et en français (sans blague) and I will answer in one of these, wichever comes into my mind first ;-)

Links 

www.mozilla.org - The home of the Mozilla browser
The Mozilla Firebird browser
Information about the Mozilla Public Licence
books.mozdev.org - This page and the Book 'Creating Applications with Mozilla' were very useful to start the project
Open Dynamics Engine - If you are looking for simulations of articulated rigid bodies, try this link
Ulrich Höhne's homepage