John Firebaugh
b7894ceaf0
Calculate participating ways in AddMidpoint
...
Due to differenced redraw, midpoint.ways was getting stale,
so sometimes dragging a midpoint didn't add the new node to
all ways. Better to calculate participating ways when needed.
This also simplifies the code for adding a midpoint via double
click. It does make filtering midpoints on redraw a bit more
expensive, but a cursory profile didn't show it being a problem.
Fixes #763 .
2013-02-27 20:41:38 -08:00
John Firebaugh
f4b19133e7
Lint
2013-02-27 20:41:37 -08:00
Ansis Brammanis
4e6a3c322f
Merge branch 'master' of git://github.com/systemed/iD into rotate2
...
Conflicts:
index.html
test/index.html
2013-02-27 21:41:26 -05:00
Ansis Brammanis
404488c54a
Fix a couple of rotate bugs
2013-02-27 21:38:40 -05:00
John Firebaugh
571edc707d
d3.tail -> iD.ui.Tail
2013-02-27 17:55:23 -08:00
John Firebaugh
95b23b0760
Add another div to the tail ( #829 )
2013-02-27 17:52:06 -08:00
John Firebaugh
cdd7612906
Fix translation test
2013-02-27 17:41:39 -08:00
John Firebaugh
05de42b116
Go to browse mode after deleting ( fixes #868 )
2013-02-27 17:30:47 -08:00
John Firebaugh
78f6a00029
Fix moving multiple entities which share nodes
...
While here, implement moving multipolygons too.
2013-02-27 17:12:39 -08:00
John Firebaugh
7a1800fd68
Delete orphaned relation members
2013-02-27 16:32:52 -08:00
John Firebaugh
b751c1ece9
Simplify, fix spec
2013-02-27 16:32:26 -08:00
Ansis Brammanis
957121d92e
Merge branch 'many_deletions'
2013-02-27 18:12:52 -05:00
Ansis Brammanis
a35154b19b
Fix localization number
2013-02-27 18:12:40 -05:00
Tom MacWright
5eabd1e4d5
Add validation warning for many deletions. Fixes #862
2013-02-27 17:51:51 -05:00
Ansis Brammanis
bf1aaf2172
don't include just created parents in modified
2013-02-27 17:50:42 -05:00
Tom MacWright
ba45582e3c
Removing unused arguments
2013-02-27 17:30:05 -05:00
Tom MacWright
6d01e3e30e
Update d3, use custom d3 with stripped layout and dsv modules
2013-02-27 17:24:43 -05:00
Ansis Brammanis
ce0122921b
merge d3.geo.tile changes from upstream
2013-02-27 15:44:35 -05:00
Ansis Brammanis
d351f74a94
Undos during drag now redoable
2013-02-27 14:57:07 -05:00
Ansis Brammanis
0558741472
Fix adding name to entities
2013-02-27 14:50:21 -05:00
Ansis Brammanis
358b31389c
Fix tail flipping
2013-02-27 14:47:54 -05:00
Ansis Brammanis
252cddafe2
user-select: none for map elements
2013-02-27 13:59:05 -05:00
Ansis Brammanis
cb58ab546d
Handling checkbox with select inputs for now
...
A plain checkbox won't properly handle indeterminate state.
2013-02-27 13:37:10 -05:00
Ansis Brammanis
b22fd84421
Hide tooltip after clicking on geocoder, layers
2013-02-27 13:21:59 -05:00
Ansis Brammanis
c97ba3905d
Only show tail after mousemove
2013-02-27 13:12:11 -05:00
Ansis Brammanis
13b61cf75c
user icon to the left of name
2013-02-27 12:44:56 -05:00
Tom MacWright
8dbbbd8a0c
Merge branch 'master' of github.com:systemed/iD
2013-02-27 12:14:13 -05:00
Tom MacWright
5829438391
Enable advanced uglify compression, remove unused variables
2013-02-27 12:13:59 -05:00
Ansis Brammanis
96c60311ad
Add preset descriptions via taginfo
2013-02-27 12:04:05 -05:00
John Firebaugh
89ee4244ff
Pass context directly
2013-02-26 17:22:16 -08:00
Tom MacWright
2b7cba145e
Merge branch 'master' of github.com:systemed/iD
2013-02-26 20:17:52 -05:00
Tom MacWright
583ee967a9
Use window.opener in popup rather than polling. Fixes #789
2013-02-26 20:17:38 -05:00
John Firebaugh
85e8db192d
Fix address street input
2013-02-26 17:03:44 -08:00
Ansis Brammanis
9efa81b100
add row select input
2013-02-26 20:02:30 -05:00
Tom MacWright
3f7d78edfb
jshint fixes
2013-02-26 20:01:41 -05:00
John Firebaugh
f7b316304a
Fix address component on relations ( fixes #860 )
2013-02-26 16:52:51 -08:00
John Firebaugh
fa9c8a8484
Don't stroke railway=platform areas
2013-02-26 16:48:10 -08:00
Tom MacWright
9bbe4152e9
Safely access entity.user, fixes bug via GA
2013-02-26 19:46:24 -05:00
Ansis Brammanis
7b3d707571
fix categories
2013-02-26 18:04:00 -05:00
Ansis Brammanis
ac275c8011
Don't show presetgrid after moving
2013-02-26 16:56:05 -05:00
Ansis Brammanis
144c8735e4
change preset ui when undone/redone if necessary
2013-02-26 16:44:24 -05:00
Ansis Brammanis
dd11c4128a
Add cancel button to preset grid
2013-02-26 16:19:27 -05:00
Ansis Brammanis
e9db73d7d3
Update translations
2013-02-26 15:14:15 -05:00
Ansis Brammanis
87564bc0e2
Fix taginfo tests
2013-02-26 15:03:20 -05:00
Ansis Brammanis
763c9dad59
special case for 'other' preset
2013-02-26 15:01:59 -05:00
Ansis Brammanis
f057bfebc7
Expand additional tags for other preset
2013-02-26 14:01:26 -05:00
John Firebaugh
0ac770de3b
Bring in changes from blog post
2013-02-26 10:47:54 -08:00
Ansis Brammanis
d964d7fe28
remove highway=residential as default tag
2013-02-26 13:04:24 -05:00
Ansis Brammanis
5073c3b8c3
hover style also on focus, for buttons
2013-02-26 12:41:41 -05:00
Ansis Brammanis
a32858caa5
Only debounce taginfo for taglist autocompletion
2013-02-26 12:39:35 -05:00