Commit Graph

1138 Commits

Author SHA1 Message Date
Ansis Brammanis
541ff96af6 Close modals with esc or backspace 2013-01-28 17:46:25 -05:00
John Firebaugh
8fe9da4710 Mode name and shortcut key should match 2013-01-28 17:29:21 -05:00
John Firebaugh
5d73e45b50 Fix exiting draw mode via other means (fixes #503) 2013-01-28 17:26:14 -05:00
Ansis Brammanis
d998b000d5 Fix midpoint dragging, break multiple touch drags 2013-01-28 17:02:07 -05:00
John Firebaugh
3c99d36a76 Fix differenced redraw artifacts during pan/zoom
Fixes #543.
2013-01-28 16:55:30 -05:00
Tom MacWright
11ddcdd568 Merge branch 'master' of github.com:systemed/iD 2013-01-28 16:41:36 -05:00
Tom MacWright
7acca8e6d2 Reformat success page. Fixes #532 2013-01-28 16:41:25 -05:00
John Firebaugh
859ae1c1cc DrawWay#cancel shouldn't unconditionally delete the way
Fixes #514.
2013-01-28 16:39:31 -05:00
Tom MacWright
2f44df09d5 Merge branch 'master' of github.com:systemed/iD 2013-01-28 16:19:00 -05:00
Tom MacWright
6ae683dedc Hints for keybindings. Refs #517 2013-01-28 16:18:49 -05:00
Ansis Brammanis
aa21e4b301 Undo cancels drags 2013-01-28 15:56:37 -05:00
John Firebaugh
63109ca9a9 Remove unused 2013-01-28 15:14:42 -05:00
John Firebaugh
cfd05772e4 Remove vestigial code 2013-01-28 15:13:09 -05:00
Ansis Brammanis
2bd4fbe542 No draw mousemove events while mouse is down 2013-01-28 14:41:08 -05:00
Tom MacWright
424c42365c Merge branch 'master' of github.com:systemed/iD 2013-01-28 12:18:16 -05:00
Tom MacWright
9ccb99ee1b Fix reversal 2013-01-28 12:18:03 -05:00
Saman Bemel-Benrud
1972616b11 Merge branch 'master' of github.com:systemed/iD 2013-01-28 12:15:52 -05:00
Saman Bemel-Benrud
c1d397386b fixing inspector button. 2013-01-28 12:15:41 -05:00
Ansis Brammanis
1d4c04c334 Slightly smarter line label placement 2013-01-28 12:10:25 -05:00
John Firebaugh
c7fdfe2def Select commit message (fixes #540) 2013-01-28 12:07:53 -05:00
John Firebaugh
e69f613b51 Order deletions in osmChange XML (fixes #541)
This relies on iteration order of JS objects, which
is technically undefined. But currently all relevant
browsers implement first-defined-first-iterated order
for non-numeric keys. And I've written the specs so that
they will fail on browsers that don't adhere to this.
2013-01-28 11:47:59 -05:00
John Firebaugh
05e3dd73a8 Push JXON.stringify's down for easier testing 2013-01-28 11:24:52 -05:00
John Firebaugh
fcbd792e9d Add JXON.stringify 2013-01-28 11:06:14 -05:00
John Firebaugh
08bd7e583a Define Relation#asJXON (allow relations to be saved) 2013-01-28 10:19:11 -05:00
John Firebaugh
f6ff3e678b Use osmId/Entity.id.toOSM 2013-01-28 10:16:51 -05:00
John Firebaugh
2ac0f1dc26 Don't rely on OSM IDs being in range of JS numbers 2013-01-28 10:15:17 -05:00
John Firebaugh
562a161896 Remove unused 2013-01-27 21:50:08 -05:00
John Firebaugh
de7fad5803 Move remaining XML stuff to Connection 2013-01-27 21:50:08 -05:00
John Firebaugh
76c108fc92 Remove unused 2013-01-27 21:50:08 -05:00
John Firebaugh
47ef222f38 Convert iD.format.XML to member functions 2013-01-27 21:50:08 -05:00
John Firebaugh
646c746991 Convert iD.format.GeoJSON to member functions 2013-01-27 21:50:07 -05:00
Tom MacWright
50b997599d Fix shared-midpoint dragging. Fixes #432 2013-01-27 16:54:34 -05:00
Ansis Brammanis
62e8d4ed64 Fix area order. Algorithm is direction sensitive 2013-01-27 03:32:05 -05:00
John Firebaugh
46cb57cea7 No double click on area fill (fixes #518) 2013-01-26 16:43:46 -05:00
John Firebaugh
269739905a Render areas with separate stroke and fill 2013-01-26 16:43:46 -05:00
Tom MacWright
e153f79910 Add zoom-to button in notice. 2013-01-26 16:23:05 -05:00
Tom MacWright
26c6565fcd Merge branch 'master' of github.com:systemed/iD 2013-01-26 15:32:37 -05:00
Tom MacWright
f0346e7af7 Hide nudge menu to keep people from thinking it will sort layers 2013-01-26 15:32:24 -05:00
John Firebaugh
e09666bbdc Fixing draw mode bugs
Disabling interactive draw undo for now. I know how to fix it
but it's a bit tricky. So undo will just drop you out to browse
mode for the time being.

Fixes #477.
Fixes #516.
2013-01-26 15:24:14 -05:00
Tom MacWright
ec971ceac7 Fix race condition in user panel. Fixes #515 2013-01-26 13:18:24 -05:00
Tom MacWright
401fe94f2c Merge branch 'master' of github.com:systemed/iD 2013-01-25 18:49:01 -05:00
Tom MacWright
4e2124e74f jshint 2013-01-25 18:48:07 -05:00
Ansis Brammanis
8f8e3955b5 Revert "Use object.create for graph.entities"
This reverts commit 78993bc080.
2013-01-25 18:08:48 -05:00
Ansis Brammanis
db0ba2c88c Revert "Difference only changed entities"
This reverts commit 74d006ea08.

Conflicts:

	js/id/graph/graph.js
2013-01-25 18:05:38 -05:00
Tom MacWright
5645a48feb More jshint 2013-01-25 17:55:43 -05:00
Tom MacWright
adc302863f jshint please 2013-01-25 17:52:09 -05:00
John Firebaugh
66ac8349ac Stack areas by area (#324)
This doesn't address stacking multipolygons, or interleaving
areas and multipolygons. More and more, I'm thinking we should
just merge the two into a unified "area" geometry.
2013-01-25 17:13:34 -05:00
John Firebaugh
432f77eb6d Fix save tooltip getting stuck (fixes #433) 2013-01-25 16:57:37 -05:00
John Firebaugh
146ba3ed8a Cleanup tooltip refreshing 2013-01-25 16:56:51 -05:00
John Firebaugh
dae9b01166 Don't try to show a menu for multipolygons
We haven't implemented relation deletion yet, so there
aren't any operations to perform.

Fixes #506.
2013-01-25 16:42:32 -05:00