Commit Graph

10722 Commits

Author SHA1 Message Date
Bryan Housel e216d5be3e Avoid dispatching extra change events, don't mutate childNodes
(closes #5996, related #5941)
2019-03-06 15:41:12 -05:00
Bryan Housel 6da2ba7b9d Make sure pause/resumeChangeDispatch can be called multiple times 2019-03-06 15:41:12 -05:00
Bryan Housel 0ea69548ea Add history.pauseChangeDispatch / history.resumeChangeDispatch
To avoid dispatching change events at improper times
2019-03-06 15:41:12 -05:00
Quincy Morgan e9628848c0 Fix square/straighten shortcut help 2019-03-06 14:02:46 -05:00
Quincy Morgan a43173743b Update attraction=animal preset 2019-03-06 12:32:04 -05:00
Bryan Housel 166a50028b Handle commas and semicolons typed into semi/multicombo values
(closes #6013)
2019-03-05 14:51:29 -05:00
Bryan Housel af4d5a1082 Skip esm v3.2.10, causes build error: _merge is not a function 2019-03-05 13:57:23 -05:00
Quincy Morgan 5ce788f6a3 Add bus_guideway as whitelisted value for checking crossing highways 2019-03-05 10:06:50 -05:00
Quincy Morgan 7853b5b9b9 Add traffic circle as term for mini roundabout 2019-03-05 10:06:29 -05:00
Quincy Morgan 604ff29593 Use whitelist instead of blacklist for affected highways in crossing ways validation 2019-03-05 10:01:16 -05:00
Bryan Housel 297027db04 Fix misspelling 2019-03-03 22:24:03 -05:00
Bryan Housel 26465819ef Merge pull request #6005 from tordans/patch-5
Clarify API.md description for `locale` param
2019-03-03 22:21:40 -05:00
Tobias b6b0026254 Clarify API.md description for locale param
- Highlight the different URL param-patterns (hash vs. regular)
- Add an example with regional locale `en-US`
- Add `locale` param to the list of osm-website-params with a bit more info about the different default-behavior there

This is a follow up to https://github.com/openstreetmap/iD/pull/5650 and based on the feedback in https://github.com/openstreetmap/iD/issues/5988.
2019-03-03 16:26:19 +01:00
Bryan Housel ec6591d374 Upgrade esm to v3.2.9
(testing #6002 - it's fine)
2019-03-02 19:07:01 -05:00
Bryan Housel 6cca99a98c Upgrade eslint to v5.15.0
(testing #6003 - it's fine)
2019-03-02 19:00:24 -05:00
Bryan Housel 2747123ee0 Update to rollup v1.4.0
(closes #5983)
2019-03-02 18:56:05 -05:00
Bryan Housel c02389bd14 Restore focusable=false added by new FontAwesome (this is for IE) 2019-03-02 18:31:04 -05:00
Bryan Housel 322951bdc0 Add polyfill for Object.getOwnPropertySymbols for sinon
(closes #6001)
2019-03-02 18:18:44 -05:00
Quincy Morgan 56126f2e80 Update steps fields and terms 2019-03-02 10:54:30 -05:00
greenkeeper[bot] fcdd8ae205 chore(package): update mapillary-js to version 2.17.0 2019-03-01 23:28:48 -05:00
Bryan Housel 3f8911c149 Merge pull request #5999 from openstreetmap/squarish
Improve orthogonalization action
2019-03-01 23:28:23 -05:00
Bryan Housel fab6bd1d33 Support orthogonalizing a single vertex, add tests
(closes #2205)
2019-03-01 23:20:50 -05:00
Bryan Housel e64693eea5 Upgrade tests from legacy iD.Difference to iD.coreDifference 2019-03-01 16:03:21 -05:00
Bryan Housel dd234df05b Add tests for geoVecNormalize, geoVecNormalizedDot, geoVecProject 2019-03-01 14:09:33 -05:00
Bryan Housel cb51c16c8f Expand actionOrthogonalize tests, fix abs issue in canOrthogonalize 2019-03-01 13:45:00 -05:00
Bryan Housel 2227c46338 Switch "Square" keyboard shortcut to Q
So it doesn't conflict with "Straighten"

(sorry in advance for all the disruption this will cause)
2019-03-01 09:35:35 -05:00
Bryan Housel bf02ead5cc Allow orthogonalize to work on unclosed lines
(re: 5093, but see comment
https://github.com/openstreetmap/iD/pull/5999#issuecomment-468535581)
2019-02-28 23:12:04 -05:00
Bryan Housel b47ab4ac50 Change orthogonalize to support degenerate shapes, non-closed ways
Also adds a handful of useful vector math functions to geo module
2019-02-28 22:52:45 -05:00
Quincy Morgan c09171d0e2 Deprecate various cuisine values in favor of diet tags (close #5993) 2019-02-28 09:15:17 -05:00
Quincy Morgan eda4c1fef9 Add line geometry to Historic preset (for historic roads, walls, etc.) 2019-02-27 16:31:06 -05:00
Quincy Morgan 29dfdf8905 Merge pull request #5914 from openstreetmap/squash-favorite-preset
Favorite preset
2019-02-27 16:06:08 -05:00
Quincy Morgan 6bdb59c7d3 Fix lint errors 2019-02-27 14:53:22 -05:00
Quincy Morgan 6ead9ff097 Update favorite icon 2019-02-27 14:51:11 -05:00
Quincy Morgan bfeb374510 Don't allow favoriting fallback presets 2019-02-27 14:31:23 -05:00
Quincy Morgan dd74a18206 Tweak favorite mode spacing
Don't show area midpoint dots on small preset icons
2019-02-27 14:27:03 -05:00
Quincy Morgan 04247eb985 Merge branch 'master' into squash-favorite-preset 2019-02-27 14:08:55 -05:00
Quincy Morgan d613714137 Draw area preset icon frame parametrically in code rather than with external SVG resource 2019-02-27 14:06:35 -05:00
Quincy Morgan b302d853ac Fix issue where the favorite preset button could be stale
Use first in, first out favoriting order
2019-02-27 13:13:15 -05:00
Quincy Morgan 0fe4513e2a Tweak CSS class 2019-02-27 12:30:38 -05:00
Quincy Morgan 1058a2cb27 Fix instances where adding favorite preset would not add tags 2019-02-27 12:27:54 -05:00
Quincy Morgan 2da011c3ca Remove unused string
Don't show preset browser when adding a favorite point
Don't automatically open the sidebar when selecting a non-new feature
2019-02-27 12:20:23 -05:00
Quincy Morgan 4fabb4aac8 Nicen favorite preset mode button tooltips 2019-02-27 12:03:10 -05:00
Quincy Morgan af5012107f Fix crash when drawing a favorite highway 2019-02-27 11:44:47 -05:00
Quincy Morgan 1c1c3b2823 Disallow favoriting vertices and relations 2019-02-27 11:34:47 -05:00
Quincy Morgan 0a0e4890ca Nicer favorite preset icon rendering in the top bar 2019-02-27 11:28:24 -05:00
Quincy Morgan 8f4f929401 Merge branch 'master' into squash-favorite-preset 2019-02-27 10:51:59 -05:00
Quincy Morgan b409f260f7 Render preset icons fills as SVG rather than HTML elements 2019-02-27 10:51:24 -05:00
Quincy Morgan ff49a0c027 Merge pull request #5940 from rory/lgbtq-venues
Presets for LGBTQ+ venues
2019-02-27 08:34:59 -05:00
Rory McCann 4530dfae65 Automatically generated files 2019-02-27 11:07:57 +01:00
Rory McCann 3c43b48f1d Add serveral LGBTQ+ venue presets 2019-02-27 11:06:45 +01:00