The SphericalMercator mixin is not required for coordinate transforms. Default transforms included whenever Projection.js is included.
Move mercator transforms to Projection.js.
Remove SphericalMercator dependency from Bing.
Awesome. We may just want something in the release notes for this change. Thank you for making this real. Please merge.
Wow! Fast work!
We can also remove the SphericalMercator dependency that @elemoine has just added to Layer/OSM :-)
One small api change from removing SphericalMercator from Bing that has just occurred to me is that forwardMercator() and inverseMercator() are api methods, so it's possible (though probably not very likely) that people were using them (with OpenLayers.Layer.SphericalMercator.forwardMercator(...)). This will no longer work if SphericalMercator isn't present. So, yes, I agree that something to this effect should be in the release notes.
Merge branch 'master' of github.com:openlayers/openlayers into proj
Removing redundant dependency.
Projection.js gets pulled in as a transitive dependency of all layers.
Removing dependency on SphericalMercator.
The default transforms (b/w EPSG:4326 & EPSG:900913) now come with any layer type.
Documenting the functionality included in Projection.js.
This adds documentation for projection methods and includes detail in the release notes about build configuration related changes.