update build and changelog

This commit is contained in:
Vladimir Agafonkin 2012-10-05 18:27:40 +03:00
parent 85d350e322
commit 14d4f99bef
3 changed files with 25 additions and 8 deletions

View File

@ -17,9 +17,11 @@ An in-progress version being developed on the master branch.
* Improved scroll wheel zoom to be more responsive.
* Improved vectors updating/removing on Canvas backend even more (by [@danzel](https://github.com/danzel)). [#961](https://github.com/CloudMade/Leaflet/pull/961)
* Added `isValid` method to `LatLngBounds` and `Bounds` (by [@domoritz](https://github.com/domoritz)). [#972](https://github.com/CloudMade/Leaflet/pull/972)
* Improved markers and vectors click event so that it propagates to map if no one is listening to it (by [@danzel](https://github.com/danzel)). [#834](https://github.com/CloudMade/Leaflet/issues/834) [#1033](https://github.com/CloudMade/Leaflet/pull/1033)
### Bugfixes
* Fixed a bug with wonky zoom animation in IE10 (by [@danzel](https://github.com/danzel)). [#1007](https://github.com/CloudMade/Leaflet/pull/1007)
* Fixed a bug with pan animation where it jumped to its end position if you tried to drag the map.
* Fixed a bug with shift-clicking on a zoom button leading to unexpected result.
* Fixed a glitch with zooming in while panning animation is running.
@ -27,6 +29,8 @@ An in-progress version being developed on the master branch.
* Fixed a bug where "Not implemented" error sometimes appeared in IE6-8 (by [@bryguy](https://github.com/bryguy) and [@lookfirst](https://github.com/lookfirst)). [#892](https://github.com/CloudMade/Leaflet/issues/892) [#893](https://github.com/CloudMade/Leaflet/pull/893)
* Fixed a bug where `TileLayer` `bringToBack` didn't work properly in some cases (by [@danzel](https://github.com/danzel)). [#963](https://github.com/CloudMade/Leaflet/pull/963) [#959](https://github.com/CloudMade/Leaflet/issues/959)
* Fixed a bug where removing a tile layer while dragging would throw an error (by [@danzel](https://github.com/danzel)). [#965](https://github.com/CloudMade/Leaflet/issues/965) [#968](https://github.com/CloudMade/Leaflet/pull/968)
* Fixed compatibility with SmoothWheel extension for Firefox (by [@waldir](https://github.com/waldir)). [#1011](https://github.com/CloudMade/Leaflet/pull/1011)
* Fixed a bug where middle marker wasn't removed after deleting 2 end nodes from a polyline (by [@Svad](https://github.com/Svad)). [#1022](https://github.com/CloudMade/Leaflet/issues/1022) [#1023](https://github.com/CloudMade/Leaflet/pull/1023)
## 0.4.4 (August 7, 2012)

27
dist/leaflet-src.js vendored
View File

@ -3042,7 +3042,9 @@ L.Marker = L.Class.extend({
},
_onMouseClick: function (e) {
L.DomEvent.stopPropagation(e);
if (this.hasEventListeners(e.type)) {
L.DomEvent.stopPropagation(e);
}
if (this.dragging && this.dragging.moved()) { return; }
if (this._map.dragging && this._map.dragging.moved()) { return; }
this.fire(e.type, {
@ -3845,7 +3847,9 @@ L.Path = L.Path.extend({
this._fireMouseEvent(e);
L.DomEvent.stopPropagation(e);
if (this.hasEventListeners(e.type)) {
L.DomEvent.stopPropagation(e);
}
},
_fireMouseEvent: function (e) {
@ -3989,7 +3993,7 @@ L.Path.include({
* Thanks to Dmitry Baranovsky and his Raphael library for inspiration!
*/
L.Browser.vml = (function () {
L.Browser.vml = !L.Browser.svg && (function () {
try {
var div = document.createElement('div');
div.innerHTML = '<v:shape adj="1"/>';
@ -5823,6 +5827,7 @@ L.Map.ScrollWheelZoom = L.Handler.extend({
this._timer = setTimeout(L.Util.bind(this._performZoom, this), left);
L.DomEvent.preventDefault(e);
L.DomEvent.stopPropagation(e);
},
_performZoom: function () {
@ -6432,8 +6437,12 @@ L.Handler.PolyEdit = L.Handler.extend({
// Check existence of previous and next markers since they wouldn't exist for edge points on the polyline
if (marker._prev && marker._next) {
this._createMiddleMarker(marker._prev, marker._next);
this._updatePrevNext(marker._prev, marker._next);
} else if (!marker._prev) {
marker._next._middleLeft = null;
} else if (!marker._next) {
marker._prev._middleRight = null;
}
this._updatePrevNext(marker._prev, marker._next);
// The marker itself is guaranteed to exist and present in the layer, since we managed to click on it
this._markerGroup.removeLayer(marker);
@ -6514,8 +6523,12 @@ L.Handler.PolyEdit = L.Handler.extend({
},
_updatePrevNext: function (marker1, marker2) {
marker1._next = marker2;
marker2._prev = marker1;
if (marker1) {
marker1._next = marker2;
}
if (marker2) {
marker2._prev = marker1;
}
},
_getMiddleLatLng: function (marker1, marker2) {
@ -7412,7 +7425,7 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
clearTimeout(this._clearTileBgTimer);
//dumb FireFox hack, I have no idea why this magic zero translate fixes the scale transition problem
if (L.Browser.gecko || window.opera) {
if (L.Browser.gecko || window.opera || L.Browser.ie3d) {
tileBg.style[transform] += ' translate(0,0)';
}

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long