Commit Graph

386 Commits

Author SHA1 Message Date
John Firebaugh
c8dcba31ad Auto-zoom to entity specified by id param 2013-04-18 14:24:10 -07:00
Ansis Brammanis
c6200931e1 update tests for iD.Difference fix 2013-04-18 17:02:19 -04:00
John Firebaugh
dca9bec450 Move Connection to core 2013-04-17 17:35:34 -07:00
John Firebaugh
a63e17ef15 Remove context dependency from Connection 2013-04-17 17:32:48 -07:00
John Firebaugh
a0edf68cbf URL, not Url 2013-04-17 17:25:04 -07:00
John Firebaugh
f4d9ec23c7 Fix tests 2013-04-17 16:57:46 -07:00
John Firebaugh
77ce20c8c1 Add configurable image path 2013-04-16 17:20:21 -07:00
John Firebaugh
d8e58c62ff Fix tests 2013-04-15 16:33:06 -07:00
John Firebaugh
94e2c8d8d6 Prevent duplicate consecutive nodes (#1296) 2013-04-12 10:55:53 -04:00
John Firebaugh
687b7516d6 Split locales into individual files
This avoids a fragile regexp for the en special case.
2013-04-06 18:26:37 -07:00
John Firebaugh
872b148bc0 Add access field (#934) 2013-04-06 17:55:53 -07:00
John Firebaugh
05c659bdd7 Render oneway arrows for junction=roundabout (fixes #1255) 2013-04-05 12:27:36 -07:00
John Firebaugh
e950042922 Fix cursors, add tests 2013-04-05 11:57:13 -07:00
Ansis Brammanis
2b13de1e3f fix and add tests 2013-04-05 12:30:36 -04:00
John Firebaugh
fb16dc8af6 Custom d3 3.1 build (fixes #1232) 2013-04-02 15:00:32 -07:00
Ansis Brammanis
cf5eb8a1c9 fix tests 2013-04-02 13:31:08 -04:00
John Firebaugh
af7d003b88 Don't overload constructor parameters 2013-04-01 15:58:10 -07:00
John Firebaugh
79404c47d9 Multiselect control over disconnection (#1220) 2013-04-01 15:46:13 -07:00
John Firebaugh
7100054707 Use preset names in commit dialog 2013-04-01 08:33:07 -07:00
John Firebaugh
93dd4a2658 Multiselect vertex/way to control splitting 2013-03-29 15:32:19 -07:00
John Firebaugh
2bd6178f07 Split on self-intersections 2013-03-29 15:32:19 -07:00
John Firebaugh
bbd4cb80b6 Split ways at intersections (fixes #750) 2013-03-29 15:32:19 -07:00
John Firebaugh
b1daf85cfd Tooltips for disabled operations (fixes #573) 2013-03-29 12:29:07 -07:00
Tom MacWright
0e104431fa Fix references to iD.OAuth 2013-03-28 17:04:35 -04:00
John Firebaugh
f7fb12be76 Fix #1120, inconsistent undo for line/area drawing
Gulp!
2013-03-27 16:25:10 -07:00
Tom MacWright
b59f28424c Translatable documentation, Fixes #1108
* Adds Marked
* Fixes a global leak in toGeoJSON
* Removes marked from package.json
* Adds documentation to core.yaml
* Removes stray console.log from tests
2013-03-27 14:34:34 -04:00
Ansis Brammanis
0f4f362eb9 fix tests. Modals transition out 2013-03-27 12:51:27 -04:00
Ansis Brammanis
2b4e260953 walkthrough now runnable in the middle of editing
history.toJSON and .fromJSON are now split out of.
history.save and .restore.
2013-03-27 11:52:50 -04:00
Ansis Brammanis
3384598c60 Add ability to disconnect self-intersecting ways
Fixes #1155
2013-03-26 17:46:32 -04:00
Ansis Brammanis
8c319d0d15 make other presets localizable, and update tests 2013-03-26 16:40:42 -04:00
Ian B
04060f0abb Add orthogonalize test spec 2013-03-23 22:10:23 +01:00
John Firebaugh
80b6e4325f Circularize preserves direction (fixes #1082) 2013-03-19 16:42:30 -07:00
John Firebaugh
e40090b758 Fix circularize with > 12 vertices (fixes #1054) 2013-03-18 17:48:15 -07:00
John Firebaugh
7912b33b4c Exclude presets with searchable: false from search (fixes #932) 2013-03-17 20:59:11 -07:00
John Firebaugh
fdcb96e8d6 Move more inspector logic to Inspector 2013-03-17 20:07:44 -07:00
John Firebaugh
55a9d74553 Fix up Taglist test 2013-03-17 19:44:32 -07:00
Tom MacWright
53121c9842 Support JOSM style templates. Fixes #1023 2013-03-15 16:22:54 -04:00
John Firebaugh
d0336a0995 Extract preset names to translations (fixes #1044) 2013-03-14 17:27:34 -07:00
Ansis Brammanis
547f12f822 Fields now have an optional geometry type
field defaults aren't geometry specific
the geometry type determines whether
that field (and default value) apply
to an entity
2013-03-14 16:48:09 -04:00
John Firebaugh
944f44defd Really fix spec 2013-03-13 17:45:16 -07:00
John Firebaugh
71897a53cd Fix spec 2013-03-13 17:42:16 -07:00
John Firebaugh
3787185182 Rendering tagged points
At z16 and below, tagged points are rendered with a small
dot in the center. At z17 and above, they are rendered with
a maki icon.

See the test rendering page for examples.

Fixes #381.
2013-03-13 17:31:25 -07:00
Tom MacWright
b1eef6ad0c Fix hash tests 2013-03-13 17:56:27 -04:00
John Firebaugh
41e696a2c5 Flatten presets match properties 2013-03-13 12:45:20 -07:00
John Firebaugh
c1aa8e0270 form/forms -> field/fields 2013-03-13 11:34:21 -07:00
John Firebaugh
4720a84d38 No-op a null tag merge
Reduces unnecessary node churn in Connect action.
2013-03-12 16:26:40 -07:00
John Firebaugh
4fa88acc85 Fix connecting adjacent vertices
Can't unconditionally delete the node; it may be a member
of other ways.

I didn't preserve the behavior of dragging a midpoint to
an adjacent node being a no-op. In general we don't try to
eliminate compound operations whose net result is a no-op;
I don't think it's important to do so for this special case.

The degenerate case of connecting the endpoints of a two-vertex
line now results in a point. This is what naturally resulted
from the code, and seems ok.

Fixes #983.
2013-03-12 16:26:40 -07:00
John Firebaugh
3b3ee84a84 Specs for Way#areAdjacent 2013-03-12 16:22:30 -07:00
John Firebaugh
107f6cfeba type -> geometry 2013-03-12 13:00:32 -07:00
John Firebaugh
7133d316cd Fix specs 2013-03-12 13:00:32 -07:00