Commit Graph

2533 Commits

Author SHA1 Message Date
John Firebaugh
13b39ece72 Merge pull request #998 from richlv/patch-1
Update lv.js
2013-03-12 16:36:21 -07:00
John Firebaugh
8459c3ab34 Remove surface form from baseball preset
It's pretty much universally dirt/grass; taginfo shows
no usages of sport=baseball, surface=*.
2013-03-12 16:33:07 -07:00
John Firebaugh
4f4082527a Build forms 2013-03-12 16:30:15 -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
Ansis Brammanis
831b67beae universal presets
presets with universal=true show up for
any preset if the key is present
2013-03-12 19:19:10 -04:00
Ansis Brammanis
ca1a7cf7f6 add ability to add general form fields 2013-03-12 17:42:55 -04:00
richlv
02b836cf0a Update lv.js
update Latvian translation
2013-03-12 22:43:29 +02:00
John Firebaugh
03cede7e24 Ensure tooltip is removed (fixes #986) 2013-03-12 13:42:35 -07:00
John Firebaugh
be567fb028 Render landuse=farm and landuse=farmland identically
See http://www.openstreetmap.org/user/Harry%20Wood/diary/14079
for an entertaining rant on this subject.
2013-03-12 13:12:07 -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
Ansis Brammanis
d7645d7f21 fix locale.js 2013-03-12 15:45:39 -04:00
saman bb
6dc7b7b236 preset style/layout cleanup. 2013-03-12 15:32:26 -04:00
Ansis Brammanis
50019cd34c Merge pull request #985 from joao/master
Portuguese translation
2013-03-12 12:07:37 -07:00
Joao Antunes
cce208b394 added PT translation 2013-03-12 18:57:32 +00:00
Ansis Brammanis
917d5bfaeb avoid history change when dragging midpoint
dragging a midpoint onto an adjacent node
should do nothing
2013-03-12 14:38:01 -04:00
Ansis Brammanis
409011da2d make id global in index.html 2013-03-12 14:36:56 -04:00
John Firebaugh
a9bef4d1e5 Allow landuse points 2013-03-12 11:19:46 -07:00
John Firebaugh
11a8c57cd4 Add phone and fax forms 2013-03-12 11:19:46 -07:00
John Firebaugh
42be94c97f Localize address placeholders 2013-03-12 11:19:45 -07:00
John Firebaugh
a5885ce3c2 Localize preset form labels 2013-03-12 11:19:45 -07:00
Ansis Brammanis
9085b8b23b fix img and css copy in Makefile 2013-03-12 14:01:13 -04:00
John Firebaugh
0be66fabf6 alpha3 2013-03-12 10:09:10 -07:00
John Firebaugh
df06f27727 Revert form change
Key is matched case-sensitively. For setting a title, use
a "title" property (though I'm going to change this shortly
to be localizable).
2013-03-11 18:25:36 -07:00
John Firebaugh
16cea11b99 Reuse footway icon for path 2013-03-11 17:48:57 -07:00
Saman Bemel-Benrud
5e35bc87d7 cleaning up presets. 2013-03-11 20:32:25 -04:00
John Firebaugh
a56c67da50 Use roadtype form in service preset 2013-03-11 17:21:03 -07:00
John Firebaugh
e43387e8a7 Add pier preset 2013-03-11 17:18:10 -07:00
John Firebaugh
d5b741ac56 Add bike rental preset 2013-03-11 17:07:17 -07: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
Ansis Brammanis
4c45ab1787 Operation tooltips are absolutely positioned 2013-03-11 17:52:49 -04:00
John Firebaugh
acd318b792 Fix drag node cursor over line casing
Was previously trying to exclude .area.fill, but this is
now handled by `pointer-events: none` below.
2013-03-11 14:23:02 -07:00
John Firebaugh
c4d772e9c2 Crosshair cursor when dragging node (fixes #952) 2013-03-11 14:23:02 -07:00
Ansis Brammanis
79ae138a19 add shorcuts to geocoder/background tooltips 2013-03-11 17:12:23 -04:00
John Firebaugh
f1da075982 Remove sentry from dev index 2013-03-11 14:05:53 -07:00
Ansis Brammanis
057051f906 fix mousedown on combobox caret 2013-03-11 16:59:18 -04:00
Ansis Brammanis
eeec54f15c Use commercial landuse styles for retail too 2013-03-11 16:43:40 -04:00
Saman Bemel-Benrud
08346de80b fixing landuse stroke colors, closes #940 2013-03-11 16:37:04 -04:00
Ansis Brammanis
f74dc5f229 clicking on combobox caret behaves the same as input 2013-03-11 16:35:45 -04:00
Saman Bemel-Benrud
86518a071b minor cleanup of inspector. 2013-03-11 16:11:47 -04:00
John Firebaugh
7c122f1ee0 More keydown hacks (fixes #923) 2013-03-11 13:06:58 -07:00
Ansis Brammanis
6129fbf4f5 prevent creation of ways with duplicate segments or repeated nodes 2013-03-11 16:00:24 -04:00
John Firebaugh
ab561ff198 Better way to prevent snapping to area fill
This also prevents are hover behavior during node dragging,
while allowing snapping to vertex fill.
2013-03-11 12:29:00 -07:00
Saman Bemel-Benrud
30952ef2c9 starting to refine preset styles. 2013-03-11 15:03:34 -04:00
John Firebaugh
f97ddb22a5 Add install directions. 2013-03-11 11:30:36 -07:00