Tag Archives: mozilla

Geolocation support in add-ons

Today, I checked-in a set of changes that will allow mozilla addons the ability to acquire the location information. It is pretty simple to do: geolocation = Cc["@mozilla.org/geolocation;1"] .getService(Ci.nsIDOMGeoGeolocation); geolocation.watchPosition(successCallback); In this trivial example, the object |geolocation| is fully compatible with the W3C’s geolocation object that exists under the navigator object in web content. |successCallback| [...]
Posted in mozilla | Also tagged , | 5 Comments

how i made the 192 pushlog ugly

in other words, how i screwed up a hg push. I wanted to push changes from mozilla-central to mozilla-1.9.2. The standard way is to: ============================================================= how to apply a m-c committed patch to a release branch ============================================================= hg qimport http://hg.mozilla.org/mozilla-central/raw-rev/ hg qpush hg qref -e # add approval information hg qfin . hg push What [...]
Posted in mozilla | Also tagged | 3 Comments

Orientation Update…

A few days ago, I blogged about orientation support in Firefox.  I am happy to report that linux patches landed over the weekend.  (We also have Window Mobile and Thinkpads running Windows patches in the review process.) If you a linux laptop and have a few minutes, please download one of the Firefox Trunk nightly [...]
Posted in mozilla | Also tagged , , | 4 Comments

Orientation in Firefox and beyond

One of the coolest apps I saw when the iPhone came out was the wooden balance game Labyrinth.  You basically tilt your phone to move a ball around the screen, avoiding holes, and trying to get the ball to a goal.  It made use of a feature of many modern devices — accelerometers. Obviously clear [...]
Posted in mozilla | Also tagged , , , , , | 40 Comments