16273 Commits

Author SHA1 Message Date
John Firebaugh 64746d6ef5 Make the combobox caret a larger target 2013-10-11 15:18:10 -07:00
John Firebaugh 8c30278d2d Show all combobox entries when clicking the caret (fixes #1755) 2013-10-11 15:18:10 -07:00
John Firebaugh 04f0806ce2 Fix misspelling 2013-10-11 15:18:10 -07:00
John Firebaugh 416a92f5f5 Don't show combobox menu with only one item 2013-10-11 14:20:31 -07:00
John Firebaugh 81bc280aba More reliable method for mutexed localStorage saves
Fixes #1883
2013-10-10 14:59:48 -07:00
John Firebaugh 7b09a97f6c Remove unnecessary history save
The intro saves and restored the current state via toJSON/fromJSON.
2013-10-10 13:42:23 -07:00
John Firebaugh 4b1af71d10 Don't prevent following an existing way when drawing (fixes #1430) 2013-10-10 11:29:10 -07:00
John Firebaugh b69abc2359 iD.geo.edgeEqual 2013-10-10 11:29:10 -07:00
John Firebaugh 57411bd9a0 Merge pull request #1886 from iandees/new-presets-1
Add grocery store term to supermarket.
2013-10-10 09:09:32 -07:00
Ian Dees c762f60575 Add grocery store term to supermarket. 2013-10-10 06:30:32 -05:00
John Firebaugh c7f085e93f Allow "yes" and "no" check values to be translated (fixes #1819) 2013-10-09 17:44:53 -07:00
John Firebaugh 353eb5e0d1 Treat a sole area=yes tag as "untagged" (#1867) 2013-10-09 17:20:29 -07:00
John Firebaugh b5f0ae596f Special case 'yes' values for type fields (#1876) 2013-10-09 17:10:49 -07:00
John Firebaugh d1b4e04ee4 Don't add addr:housenumber=yes when applying Address preset (#1874) 2013-10-09 16:35:12 -07:00
John Firebaugh 20d3af5620 Ensure preset fields are consistently ordered (#1876) 2013-10-09 16:18:55 -07:00
John Firebaugh 7fb047a7ba Cleanup; set correct language for pasted wikipedia links 2013-10-09 16:03:17 -07:00
John Firebaugh 965fb47680 Preserve existing Wikipedia language (fixes #1868) 2013-10-09 15:36:28 -07:00
John Firebaugh ba3b53846f Don't allow dragging of the map when the click starts in a button
Fixes #1869
2013-10-09 14:10:07 -07:00
John Firebaugh 411db160fe Prefer to render highway=* styles over railway=*
Fixes #1880
2013-10-09 14:02:55 -07:00
John Firebaugh d8567dcc43 Merge pull request #1882 from pnorman/locksmith
Add a preset for a locksmith
2013-10-09 08:16:11 -07:00
Paul Norman 7b7d634928 Add a preset for a locksmith 2013-10-09 00:24:42 -07:00
John Firebaugh 340e455a9f Remove overflow: hidden from input elements
This triggered a rendering regression in Chrome 30,
and isn't useful anyway.

https://code.google.com/p/chromium/issues/detail?id=304210

Fixes #1879
2013-10-08 13:35:19 -07:00
John Firebaugh 51c67e14f9 Merge pull request #1873 from iandees/new-presets-1
Add observation tower preset
2013-10-07 14:25:43 -07:00
Ian Dees 9604511b59 Add observation tower preset. 2013-10-07 16:08:52 -05:00
John Firebaugh 6f9a9c90b8 1.2.1 2013-09-30 17:17:06 -07:00
John Firebaugh e3dd3cc7c3 Update translations 2013-09-30 17:17:06 -07:00
John Firebaugh 16d3346147 Split only the line of a node shared by a line and an area 2013-09-30 16:54:03 -07:00
John Firebaugh dfd0854314 Fix strict mode parse error and other style issues 2013-09-30 16:31:23 -07:00
John Firebaugh 44cd18aab5 Test with iD.js
Uglification can hide errors (#1865)
2013-09-30 16:20:16 -07:00
John Firebaugh 69689a59d5 Reuse iD.actions.AddMember 2013-09-30 16:19:36 -07:00
John Firebaugh 011dc140a3 Handle multipolygon corner case when splitting (fixes #1799) 2013-09-30 16:17:16 -07:00
John Firebaugh 9b8d4771b0 Don't automatically apply building tags to shop=car (fixes #1813) 2013-09-30 15:18:27 -07:00
John Firebaugh 47516bd650 Don't suggest adding a relation to itself (fixes #1820) 2013-09-30 15:14:20 -07:00
John Firebaugh ecfe8ce943 Adjust the timing of localStorage saves
If localStorage writes were free, we'd want to just save
on every history change. Second best is to debounce the
write.

Writing on mode change is problematic; it sometimes happens
when not desired and sometimes doesn't happen when desired.

Fixes #1857.
2013-09-30 14:45:02 -07:00
John Firebaugh 17325fde83 Use generic access value as placeholder (fixes #1780) 2013-09-30 13:55:06 -07:00
John Firebaugh 37a77879c7 Filter on combobox value, not title (fixes #1836) 2013-09-30 12:45:20 -07:00
John Firebaugh 161a4e24a6 Parallelism 2013-09-30 10:37:59 -07:00
Minh Nguyễn 77c7091cf2 Show relation documentation for relation presets
See http://taginfo.openstreetmap.org/taginfo/apidoc#api_4_relation_wiki_pages

Fixes #1862.
2013-09-30 10:35:00 -07:00
John Firebaugh 30bf1cd87c Remove unused variables 2013-09-30 10:14:40 -07:00
Paul Mach 0e080b3ed6 Limit squaring to near square or near straight nodes 2013-09-29 13:44:30 -07:00
John Firebaugh 75b6ec746b Clean up 2013-09-29 07:55:59 -07:00
tyr ce85e7faaf fix test case "does not delete tagged nodes" of iD.actions.Straighten
The nodes.sort() statement caused some trouble in older browsers
such as (FF 20, Chromium 25). Also, the straighten action should
conserve node order. Thus, the sorting made the test weaker than
it had to be.

This just removes the unnecessary sorting.
2013-09-29 07:47:46 -07:00
John Firebaugh 166bc5de5b Clean up 2013-09-29 07:46:45 -07:00
tyr e8d637f2bb Add iD.geo.sphericalDistance
iD.geo.euclideanDistance should only be used for calculations of 
projected coordinates or display (pixel) coordinates.

iD.geo.sphericalDistance calculates approximate geographical 
distances, accounting for distortions at higher latitudes. This 
can be used for determining the nearest node (operations.Delete,
actions.Circularize) or relative length comparisons (actions.Split).
2013-09-29 07:45:04 -07:00
tyr 6afe3adfbe more clever splitting of closed ways
if a way is closed, iD needs to choose a second node to
split the way at.

This algorithm looks for a node that is both far away from
the initial node in terms of way segment length and nearby
in terms of beeline-distance. This assures that areas get
split on the most "natural" points (independent of the number
of nodes).

For example: bone-shaped areas get split across their waist-
line, circles across the diameter.
2013-09-29 07:43:20 -07:00
Paul Mach be30344cfd Improve Circularize Action 2013-09-28 14:33:39 -07:00
John Firebaugh e8b9d95e0f Merge pull request #1852 from paulmach/ortho-bugs
Orthononalize bug fixes
2013-09-27 22:29:57 -07:00
Paul Mach 3ac12a1e70 Orthononalize bug fixes 2013-09-27 22:24:32 -07:00
John Firebaugh 56f0bf3d70 Merge pull request #1849 from pnorman/patch-2
Add more tags to areas list
2013-09-26 14:07:58 -07:00
Paul Norman e6aeba1f60 Add more tags to areas list
Keys added from osm2pgsql, excluded values from overpass turbo
2013-09-26 13:44:01 -07:00