mozdev.org

Converter

resources:

TotalTour.ro is Converter's official sponsor

Features report

Important features you should be aware of are highlighted with a red background (well, pink actually, in order to keep the text readable).

Also see the roadmap page.

DO NOT convert this page until you've read what you're interested in—many of the explanations will be messed up and they will become very difficult to follow!

New features in Converter 0.7.1

This release features minor bug fixes, although a known bug still persists.

Type Feature Example Comment
bug fix proper date/time format parsing January 3, 2008, 09:19 AM This was previously being converted to absurd values; currently it is being ignored, as it should be (there's nothing to convert). Unfortunately there still is a date/time format being improperly converted (e.g. January 3, 2008, 09:19 AM GMT), but that requires a significant rewrite and I didn't get a chance to do that yet.

New features in Converter 0.7.0

This release brings significant stability improvements, several bug fixes and one new conversion.

Type Feature Example Comment
capability Nm --> ft-lb and in-lb 44 Nm Thanks to Dave for suggesting this!
bug fix 10 cm = 0'3-30/32 10 cm Thanks to chc for reporting a problem with fractional representation of Imperial values.
capability regression testing test page This is something I've been planning to do for a long time, and never got around to doing it. The page linked to in the previous column is automatically recognized as a regression test page by the code, and it basically tests itself against that set of predefined situations. That should help me avoid a lot of bugs in the future.
capability smarter unit matching n/a The algorithm which picks out measurements to be tested from the context or the page has been improved; this should avoid all sorts of potential problems in more awkward situations.
minor improvement not converting HTML comments n/a Previous versions of the code were parsing through HTML comments as well; that behaviour has been suppressed for a marginal improvement in processing speed.
improvement fixed contextual conversion for miles per gallon 10 mpg Converting the value in this example in contextual mode (in the popup menu) used to result in an ugly line with some "undefined" values. That has been fixed.
minor bug fix infrequent format fixed disabling "Converter 0.6.2" stops FF from freezing That's part of robaal's report of the problem which has been fixed in version 0.6.3. Converting that example in versions previous to 0.7.0 used to result in "062 inches" being converted. The new engine recognizes that's not a number, and doesn't convert it.

New features in Converter 0.6.5

This version features one relatively minor improvement.

Type Feature Example Comment
capability the military time format is now supported
  • 0100 GMT
  • 2200 PST
The military time format seems to be more widely used than I originally assumed -- now the Converter supports it.

New features in Converter 0.6.4

This version features one bug fix and partial support for superscript notation.

Type Feature Example Comment
bug fix numbers formatted with multiple periods are supported again
  • 1.000.000 mm
  • 1.000,3 cm
This bug has been reported by Mr. Stoltz. Trying to convert the string in the example produced unexpected results in version 0.6.3. That problem has been fixed (try selecting the text in the example and right-clicking). The problem was caused by the implementation of the bug fix in version 0.6.3.
capability limited support for the <sup> (superscript) tag
  • 10 m2
  • 10 in3
The measurements in the examples are written using a different notation in HTML then what the Converter supported so far (they are using the <sup> tag: 10 m<sup>2</sup>, 10 in<sup>3</sup>). The support for this format is limited in two ways:
  1. The conversion only works when converting the entire page (i.e. it doesn't work via selection);
  2. The page content is actually changed when converting (notice how the original text is changed to "10 m^2", and "10 in^3" respectively). This is not elegant, but I find it an acceptable compromise, given that the conversion works this way. If you find any inconvenience in this compromise, please give me some feedback on the topic and I'll implement a preference to disable it.
minor improvement cubic cm and in are better supported and shown nicer
  • 10 cm³
  • 10 in³
This really is just a minor technical thing -- the previously unsupported unit&sup3; format is now supported, and instead of being shown as unit^3 in the converted format, it's now shown as unit³.

New features in Converter 0.6.3

This version only features one bug fix.

Type Feature Example Comment
bug fix long strings of numbers don't freeze the browser 1234567890123456789012 This bug has been reported by robaal the same day as this release. Trying to convert the string in the example took an unreasonable amount of time (several seconds on my Athlon 3000+), during which Firefox was completely frozen. That problem has been fixed (try selecting the text in the example and right-clicking).

New features in Converter 0.6.2

This version only features a couple of new conversions, mostly related to the automotive industry.

Type Feature Example Comment
capability cm3<-->in3
  • 1800 cc
  • 260 cu in
Cubic centimeters are now converted to cubic inches -- and vice-versa.
capability mph --> L/100 km 10 mpg Miles per gallon (both US and Imperial) are now converted to liters per 100 km. Unfortunately the reverse is not true, beacause "L/100 km" might mess up the constraints already in place for units of measurement; to be perfectly honest though, I haven't tested this assumption -- it might work after all. Promise: will check it out if you guys need it (but do let me know if you do).

Older feature reports can be found here.

Accommodation in Romania
mozdev.org

For questions or comments about the Converter, please send a message to the Converter mailing list.
For other questions or comments not about this specific project, please read the mozdev.org feedback page.
Copyright © 2008. All rights reserved.