Commit Graph

2339 Commits

Author SHA1 Message Date
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
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
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
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
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
765fedef15 Omit changeset comment if empty (fixes #1360) 2013-04-22 12:09:22 -07:00
Ansis Brammanis
6096f9b230 fix #1362 2013-04-22 13:17:06 -04:00
Ansis Brammanis
036174d4dd fix turning off tiger overlay, fixes #1349 2013-04-22 12:10:48 -04:00
Ansis Brammanis
11d5627f45 Fix saving taglist changes
issue #1295
2013-04-22 11:51:43 -04:00
John Firebaugh
ddfe157a24 Translate 'Search' (fixes #1358) 2013-04-21 16:44:53 -07:00
John Firebaugh
20833c139c Avoid _.bind
Seeing some weird object retention behavior with it.
2013-04-21 16:41:59 -07:00
John Firebaugh
20150cb9d4 Avoid retaining a graph reference
The supersurface event bindings retained a reference to the initial
graph, preventing it being GC'd after a save operation.
2013-04-20 15:18:14 -07:00
John Firebaugh
7d6274beed Fix an event binding leak 2013-04-20 12:40:44 -07:00
John Firebaugh
f709a36333 Add power to area keys (#1338) 2013-04-20 12:25:17 -07:00
John Firebaugh
0e46ff397b Add fullscreen toggle key (#1327) 2013-04-19 15:50:26 -07:00
John Firebaugh
13f3cff1e1 Don't show geocoder when embedded (#1329) 2013-04-19 14:49:04 -07:00
Ansis Brammanis
b59cd62304 Don't include empty tags in taglist count
fixes #1289
2013-04-19 16:30:14 -04:00
Tom MacWright
c79becb78a Prevent error on localgpx.js. Fixes #1207 2013-04-19 15:35:24 -04:00
Tom MacWright
8ec9ba3378 Don't close geocoder on result click. Fixes #1234 2013-04-19 15:22:24 -04:00
Ansis Brammanis
d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
Ansis Brammanis
21c89f22dc export line preset sprite straight from inkscape
We could also use an svg sprite, just swapping the
one line in line-presets.css, but it seemed to
make scrolling the preset grid significantly
less smooth in Firefox.
2013-04-19 12:27:57 -04:00
Tom MacWright
1e5a0fc4a7 Stop nudging when users drag outside of the window. Fixes #1326 2013-04-18 18:31:34 -04:00