Difference between revisions of "Canvas3D XUL Runner App 0.1"

From CDOT Wiki
Jump to: navigation, search
(New page: Here's the progress so far on v0.1 of the XUL Runner App project. It's not quite complete. ^^;; =Oct 16= Progress and failure abound! I've managed to create...)
 
Line 1: Line 1:
 
Here's the progress so far on v0.1 of the [[Canvas3D_XUL_Runner_App|XUL Runner App]] project. It's not quite complete. ^^;;
 
Here's the progress so far on v0.1 of the [[Canvas3D_XUL_Runner_App|XUL Runner App]] project. It's not quite complete. ^^;;
 +
 +
=Oct 19 - v0.1=
 +
 +
Objectives semi-met!! I've gone with a build of Firefox 3 for now, since I know how to change it and install extensions for it.
 +
 +
 +
The current package was made with "make package", no arguments. I found some [http://ilias.ca/blog/2005/03/locking-mozilla-firefox-settings/ instructions] for setting up FF with some setting defaults, which I used to set a preset homepage (c3dl.org) and silence the "make Minefield your default browser" message.
 +
 +
You can find my build [http://lycee.omoshiroi.info/t/canvas.win32.zip here]. (The build is for Windows only, possibly WinXP only, possibly not friendly to wireless Internet.)
 +
 +
 +
There are a few usage notes:
 +
*"run.bat" gives you the "--no-remote --profilemanager" options without needing a command line. Feel free to use.
 +
*Profile manager may make the buttons unreadable after you make a new profile: the "start Minefield" button is the one on the bottom left.
 +
*You will be prompted to install the Canvas3d extension when you first start this build. (Say "yes".)
 +
*The "first start for Minefield" page may pop up. This should go away in a later version.
 +
*An infobar will appear for the http://www.c3dl.org/ homepage, asking for permission to make a 3d context. (Say "yes".)
 +
 +
 +
What you can expect:
 +
*There should be a rotating 3d teapot on the C3dL homepage!!
 +
*Any page that requests the Canvas 3d context should be viewable, including the C3dL demos.
 +
 +
 +
What I'm worried about:
 +
*I'm not sure Firefox counts as a "XUL Runner App", although it technically is.
 +
*I don't know how I should be including the C3dL JS library.
  
  

Revision as of 00:07, 20 October 2008

Here's the progress so far on v0.1 of the XUL Runner App project. It's not quite complete. ^^;;

Oct 19 - v0.1

Objectives semi-met!! I've gone with a build of Firefox 3 for now, since I know how to change it and install extensions for it.


The current package was made with "make package", no arguments. I found some instructions for setting up FF with some setting defaults, which I used to set a preset homepage (c3dl.org) and silence the "make Minefield your default browser" message.

You can find my build here. (The build is for Windows only, possibly WinXP only, possibly not friendly to wireless Internet.)


There are a few usage notes:

  • "run.bat" gives you the "--no-remote --profilemanager" options without needing a command line. Feel free to use.
  • Profile manager may make the buttons unreadable after you make a new profile: the "start Minefield" button is the one on the bottom left.
  • You will be prompted to install the Canvas3d extension when you first start this build. (Say "yes".)
  • The "first start for Minefield" page may pop up. This should go away in a later version.
  • An infobar will appear for the http://www.c3dl.org/ homepage, asking for permission to make a 3d context. (Say "yes".)


What you can expect:

  • There should be a rotating 3d teapot on the C3dL homepage!!
  • Any page that requests the Canvas 3d context should be viewable, including the C3dL demos.


What I'm worried about:

  • I'm not sure Firefox counts as a "XUL Runner App", although it technically is.
  • I don't know how I should be including the C3dL JS library.


Oct 16

Progress and failure abound!

I've managed to create a XUL Runner application, which is a great step forward. It's a compiled version of Benjamin Smedberg's "mybrowser".


Pictures

Here's what it looks like:

XUL-mybrowser.png


The application has navigated successfully to Mozilla's addon page, proving that it can navigate the web without much difficulty. Lovely!


Troubles

Here's the dilemma. "mybrowser" compiles on Gecko 1.8 only, while Canvas3d runs on 1.9 only. orz.

I tried to install the extension on the shown page, but it just sits there and laughs at me.

Somehow, I have to either rewrite mybrowser to handle 1.9, or I have to create my own browser from scratch. The toughest obstacle to deal with though, is the fact that I know I have no idea how do this.