Commit Graph

3354 Commits

Author SHA1 Message Date
Ansis Brammanis
4eccd7015f corner destroying resampling for oneway markers 2013-04-25 18:41:49 -04:00
Ansis Brammanis
bd38a19fed avoid trying to modify frozen tag object
fixes #1380
2013-04-25 15:35:38 -04:00
John Firebaugh
f1d32dd65e Fix Uncaught TypeError: Cannot call method 'getAttribute' of undefined
https://app.getsentry.com/id/id/group/5151824/
2013-04-25 12:16:32 -07:00
John Firebaugh
fdd49233b1 Avoid recomputing geometry in an inner loop 2013-04-25 11:27:53 -07:00
Ansis Brammanis
b95529d5ec prevent way danglers, issue #1373 2013-04-25 11:48:03 -04:00
Ansis Brammanis
4e305ea773 don't permalink negative IDs (fixes #1374) 2013-04-25 11:16:56 -04:00
Ansis Brammanis
579e6a8a8b geolocation sets zoom based on accuracy
fixes #1375
2013-04-25 11:04:22 -04:00
Ansis Brammanis
2fa8ca174f add test case for stale tree bug, a0e8292 2013-04-24 19:41:23 -04:00
Ansis Brammanis
a0e8292067 fix tree bug where removes would fail
the width or height of the rtree rectangle created by extentRectangle
would be negative. These rectangles insert ok, and are found by search,
but they cannot be removed.

issue #1370
2013-04-24 19:27:43 -04:00
John Firebaugh
53a9c23835 Set initial state of "Zoom in to Edit" (fixes #1372) 2013-04-24 12:39:22 -07:00
John Firebaugh
275696caaa Fix icons for lines that use maki (fixes #1371)
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
965cfc65e8 Show vertices of way being drawn (fixes #1367) 2013-04-24 10:24:35 -07:00
John Firebaugh
c50c3121d8 Make Graph#entity strict
Use Graph#hasEntity for the previous behavior.
2013-04-24 09:27:37 -07:00
John Firebaugh
78aee5b6aa Fix tests 2013-04-23 20:09:36 -07:00
John Firebaugh
7445b554e8 Fix Uncaught TypeError: Cannot read property 'length' of null
https://app.getsentry.com/id/id/group/5208581/
2013-04-23 19:38:42 -07:00
Ansis Brammanis
01238a49db select parentway(s) after dragging node
fixes #1368
2013-04-23 21:10:15 -04:00
John Firebaugh
1d5b13c45d Don't draw when not editable 2013-04-23 17:52:09 -07:00
John Firebaugh
d31fa9ae70 Don't redraw vertices during pan/zoom transform 2013-04-23 17:31:53 -07:00
John Firebaugh
265c059407 Always display intersections 2013-04-23 17:31:32 -07:00
John Firebaugh
d0e53a7070 Fix child calculation 2013-04-23 16:52:33 -07:00
John Firebaugh
a2f86154ce Also show vertices on hover in draw modes 2013-04-23 16:52:32 -07:00
John Firebaugh
66551ba903 Show vertices only for selected way (#1022) 2013-04-23 16:52:02 -07:00
John Firebaugh
69868bfd22 Keep generic amenity preset choice (fixes #1354) 2013-04-23 16:43:59 -07:00
John Firebaugh
5ea93539ad Update d3 to 3.1.5 2013-04-23 15:03:00 -07:00
John Firebaugh
e0d6337a1e End zoom if somehow we miss the mouseup (#1326) 2013-04-23 15:00:45 -07:00
John Firebaugh
2d62a78ac9 Semicolons 2013-04-23 14:31:24 -07:00
John Firebaugh
29e5bf1f2f Hack an icon for name add button (#1300) 2013-04-23 14:22:10 -07:00
John Firebaugh
16c1e9d7e5 Show all tags (fixes #1181) 2013-04-23 14:13:03 -07:00
John Firebaugh
19e21e1d26 Modify window.focus canary
I suspect whatever is doing the modification is swallowing
exceptions.
2013-04-23 13:45:10 -07:00
John Firebaugh
781f540b3c Add diagnostic for common sentry errors 2013-04-23 11:29:00 -07:00
John Firebaugh
d8751fad8d Polish spriting code
* Smaller make-sprite.json.
* Convert operation sprite data to JSON, eliminating
  fragile stylesheet grepping.
2013-04-23 09:45:37 -07:00
Ansis Brammanis
1021850300 float the description image right
issue #1353
2013-04-23 12:44:31 -04:00
Ansis Brammanis
cc8e9a37ca add building field to amenity presets 2013-04-23 12:28:15 -04:00
Ansis Brammanis
34f1a21631 add building_yes field to all shops 2013-04-23 11:54:13 -04:00
John Firebaugh
5f7409616f Close up space in map controls when embedded (#1329) 2013-04-22 15:34:04 -07:00
John Firebaugh
e0892eb1b7 Don't request locales we don't have; use fallback locales 2013-04-22 14:55:30 -07:00
John Firebaugh
61802674a4 Don't need keys in dist build 2013-04-22 14:45:54 -07:00
John Firebaugh
d66760326b Load translations on demand (fixes #1337) 2013-04-22 14:29:43 -07:00
Tom MacWright
080d2956a5 Much higher limit for text, ensure that links are separated properly. Fixes #1343 2013-04-22 16:00:28 -04:00
Tom MacWright
391ace0138 Mondays. 2013-04-22 15:51:45 -04:00
Tom MacWright
f7f0b7b1fa Refix commit UI. 2013-04-22 15:48:09 -04:00
Tom MacWright
947de96edf Show line/area/way/etc in commits. Fixes #1215 2013-04-22 15:39:16 -04:00
Tom MacWright
d9d15ca002 Merge branch 'master' of github.com:systemed/iD 2013-04-22 15:38:44 -04:00
Tom MacWright
856464cb77 Minor jshint fix 2013-04-22 15:38:41 -04:00
John Firebaugh
e35fe0b581 Merge branch 'dist' 2013-04-22 12:10:01 -07:00
John Firebaugh
765fedef15 Omit changeset comment if empty (fixes #1360) 2013-04-22 12:09:22 -07:00
John Firebaugh
0e6c0db28a Clean up Makefile 2013-04-22 11:01:39 -07:00
John Firebaugh
78feda0294 Update build/install directions 2013-04-22 10:54:00 -07:00
John Firebaugh
aedd5ee46e Create a dist directory
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.

Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
Ansis Brammanis
0dc7159b82 fix line preset icon offset 2013-04-22 13:31:53 -04:00