Commit Graph

464 Commits

Author SHA1 Message Date
John Firebaugh
9c9cce5c50 Inline tag reference in tag list (#256) 2013-03-22 12:47:54 -07:00
Tom MacWright
0d2295817d Fix tests 2013-03-20 16:03:07 -04: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
fdac7feb37 Fix css includes 2013-03-14 20:25:50 -07: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
51a217caa2 Refine tagged vertex rendering
Don't render tagged vertices for which we don't have
an icon as the 'marker' icon. Marker shape is for points.
2013-03-14 13:35:24 -07:00
John Firebaugh
364d93693b Use traditional marker shape for points (fixes #172) 2013-03-14 11:22:10 -07:00
Ansis Brammanis
247a731274 Merge pull request #1027 from systemed/transifex
switch to transifex for managing translations
2013-03-14 09:28:13 -07: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
John Firebaugh
c29e98d997 Fix rendering test page 2013-03-13 17:31:25 -07:00
Ansis Brammanis
8ef4730596 switch to transifex for managing translations
english source files are stored at data/en.yaml
`make translate` pulls in updated translations
2013-03-13 19:10:07 -04: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
Ansis Brammanis
e295e70db7 add swedish translation to index.html 2013-03-13 12:15:21 -04: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
Ansis Brammanis
1d720b39af add portuguese translation 2013-03-12 15:48:15 -04:00
John Firebaugh
68cc99c412 Disable Move operation on incomplete relations (fixes #972) 2013-03-11 16:43:06 -07:00
John Firebaugh
113ae58de8 Fix up tests 2013-03-11 15:45:27 -07:00
John Firebaugh
9f5ba8342d Convert DragNode to a mode
This makes the CSS more consistent and makes fixing #953
easier. Also, dragging now clears the selection and closes
any operations menu, which is good.

There's still a minor Chrome bug: it doesn't refresh the
cursor when the .behavior-hover class is removed.
2013-03-11 15:45:27 -07:00
John Firebaugh
2c874545eb Fix tests 2013-03-10 20:08:18 -07:00
Ansis Brammanis
609e8b9119 refactor preset inputs 2013-03-09 18:30:54 -05:00
John Firebaugh
da902061d6 Fix tests 2013-03-08 20:37:19 -08:00
John Firebaugh
764f76977b Fix include 2013-03-08 20:32:03 -08:00
John Firebaugh
fa01cfbbf0 Smarter tag conflict merging (fixes #943) 2013-03-08 11:00:14 -08:00
Ansis Brammanis
f72e294156 score wildcard matches as half a match
so that building=* doesn't get prioritized over more
specific one tag presets, like amenity=hospital
2013-03-08 11:36:57 -05:00
Tom MacWright
5838f05116 Merge tags without a space, fixes #941 2013-03-08 10:51:44 -05:00
Tom MacWright
3e69ef6f9e Fix tests and global leak 2013-03-07 17:53:36 -05:00
Tom MacWright
0fafa340fe Start using d3 3.1.0
Update d3, use streams, d3.set, clip
Use clipping, fix side effects
2013-03-07 17:45:16 -05:00
Tom MacWright
e2dc3f46b2 Improve svg and util test coverage 2013-03-07 15:44:23 -05:00
John Firebaugh
27861ca6b2 Implement multiselect cursors (fixes #296) 2013-03-07 11:57:43 -08:00
Tom MacWright
9502f34e08 Merge pull request #918 from systemed/resample-oneway
Resample oneway paths to produce markers.
2013-03-07 11:37:26 -08:00
Tom MacWright
c736f1d312 Fix tests
Way lines are no longer the only paths on the map, so we need to be more
specific.
2013-03-06 21:20:09 -05:00
John Firebaugh
cb0e02d56f Support merging point + line 2013-03-06 17:37:17 -08:00
John Firebaugh
d60ec2bd8e Sync tests 2013-03-06 16:16:12 -08:00
John Firebaugh
87fd5d871c Build data into package 2013-03-06 16:16:12 -08:00
John Firebaugh
84a4f9e5d2 Eliminate iD.layers 2013-03-06 15:51:16 -08:00
John Firebaugh
98d1ee4f10 Fix rendering of multipolygons with the tags on the outer way
From the wiki:

> If you have one closed way making up the outer ring and it does not
> describe something in its own right, you may also put these tags on
> the outer ring and leave the relation untagged.

During line and area rendering, fix up such ways so that they are
rendered as if the tags were on the relation instead.

Fixes #613.
2013-03-06 13:22:43 -08:00