beaufour: August 2005 Archives

XForms Status Update

| | Comments (0)

Status Update

The tree has branched for Gecko 1.8 (that is, the code that Firefox 1.5 will build upon). For now we just continue working on trunk. We will continually make sure that the extension actually works on the branch also, so we are ready for FF1.5.

We’re also getting closer to a second preview/beta/whatever of the extension. We have primarily been waiting for those pesky pseudoclasses, but they might not make it anyway :(

Checked in

  • select was not able to select last item in its list (bug 304928)

  • Fix crashing on poorly formed XForms with external instance data (bug 304373)

  • Handle references to id attributes inside repeats. This makes switch, setfocus, etc. work inside repeats. (bug 302513)

  • Remove non-conforming xforms-binding-exception from setindex (bug 293436)

  • Port select to XBL (bug 300801)

  • Add instance attribute to submission element, so a submission result can be directed to another instance (bug 302496).

  • Show a dialog box on xforms-binding-exception as it is a fatal error, and the form should not be expected to work correctly (bug 290465)

Me

I’ll be hiding in the US the next two weeks. I’ll visit the team at IBM Austin, hide in New Orleans for some time :-), and then attend the W3C meeting in Raleigh afterwards. So I’ll probably be on/off until I return to Denmark (September 14th).

Rising Sun

| | Comments (2)

Wow. This just “popped by” Copenhagen: Picture of the rising sun

(sorry for the lousy qual. Mobile phone cam.)

It’s Larry Ellison’s private yacht. The largest private yacht in the world: 138 meters (452 feet, 8 inches)! Insane.

Update: It might have been surpassed a couple of times already, even though it’s only a year old. Wild.

Our calculator gets around

| | Comments (0)

The Mozilla SVG Team did a presentation at the SVG Open conference where they showed our SVG-skinned XForms calculator. Apart from the fact that we really should do a better demo. app. it’s nice :-)

XForms Status Update

| | Comments (0)

Checked In

  • Ported <switch>, <case>, and <group> to XBL, which also fixed the problem of control showing up in the wrong order (bug 301374)

  • Made minimal <trigger> focusable (which also fixed a problem with index() in repeats) (bug 300609)

  • Fix support for class attribute (bug 303876)

  • Fix selected attribute behaviour for <case> per the XForms Errata (bug 302497)

In Progress

  • Fix crash on malfored xhtml (bug 304373)

  • Port <select> to XBL (bug 300801)

  • Create XFormns XPI for XULRunner (build bug 298431, Gecko support bug 299716)

  • <help>, <hint>, <alert>, and <message> should generate xforms-link-exception (bug 300255)

  • Add instance attribute to <submission> (bug 302496)

  • Starting to look at how we visually inform users of fatal errors (bug 290465)

  • Refresh <itemset> if nodeset changes (bug 303312)

  • Support for <range> (bug 271044). Everybody seems to have created a <canvas> toy-project :), so I’ve created an implementation of range for integers using <canvas>:

Screenshot of range implemented using canvas

XForms Status Update

| | Comments (3)

Executive Summary

It’s been a while since I wrote an update, and we’ve made good progress I think, so here’s an “executive summary” :)

The most important changes (IMHO) are:

  • <select1> is supported, and is implemented in XBL. Great work from Olli. (bug 281668)

  • The rest of the XPath extension functions finally made it through the Transformiix mafia :) (bug 281987)

  • XForms now works in pure XUL context (bug 302915 and bug 302914). Here’s the calculator running as a XULRunner application:

Screenshot of XForms Calculator in XULRunner

Download the application

Checked in

  • Fixed stupid error in XPath analyzer (bug 301168)

  • Move event dispatching from revalidate to refresh, as per the XForms errata (bug 300586)

  • Throw xforms-compute-exception on XPath parse errors (bug 299280)

  • Make <upload> generate xforms-value-changed event (bug 300243)

  • Valid bindings generated MDG loop warning (bug 301413)

  • Two fixes for the XForms preferences UI (bug 302049 and bug 301801)

  • Custom events could not bubble (bug 302069)

  • Fix binding precedence were not correct for <hint>, <help>, and <alert> (bug 302074)

  • Make <input> dispatch DOMActivate (bug 302027)

  • Set correct context for controls with only model attribute set (bug 280366)

  • Change context for at attribute on <insert> per the XForms errata (bug 203499)

  • Fix submission allowing cross domain instance replacement (bug 302685)

  • Support for <select1>, implemented in XBL (bug 281668)

  • The rest of the XForms specific XPath extension functions are supported (bug 281987)

  • Fix two errors in XUL that was causing XForms to fail in XUL documents (bug 302915 and bug 302914)

In Progress

  • The eternal “in progress” pseudoclasses are still in progress, but are coming along — now in seperate bugs (bug 271720 has them as dependencies)

  • Port <select> to XBL (bug 300801)

  • Create XFormns XPI for XULRunner (build bug 298431, Gecko support bug 299716)

  • <help>, <hint>, <alert>, and <message> should generate xforms-link-exception (bug 300255)

  • Fix handling of the selected attribute for case as per the XForms errata (bug 302497)

  • Port <switch>, <case>, and <group> to XBL, which should also fix the problem of control showing up in the wrong order (bug 301374)

  • Add instance attribute to <submission> (bug 302496)

  • Starting to look at how we visually inform users of fatal errors (bug 290465)

  • Refresh itemset if nodeset changes (bug 303312)