Commit Graph

1394 Commits

Author SHA1 Message Date
John Firebaugh 5b5f3fe2e5 Use consistent selection argument style 2013-03-05 16:02:27 -08:00
John Firebaugh 417e21ab05 Remove unused 2013-03-05 16:02:27 -08:00
Tom MacWright c4fc6ca114 Merge branch 'master' of github.com:systemed/iD 2013-03-05 18:00:02 -05:00
Tom MacWright 7e9a427a2b Test getPrototype, use American spellings, fix test formatting.
* Stub Lasso test
* Add cmd test
2013-03-05 17:59:50 -05:00
Ansis Brammanis c74615fa83 Only re-enable dblclick after done drawing way 2013-03-05 16:54:33 -05:00
Tom MacWright b2db6ed5a4 Merge branch 'master' of github.com:systemed/iD 2013-03-05 16:50:19 -05:00
Tom MacWright e071c15579 Remove unused variables and arguments 2013-03-05 16:29:23 -05:00
Ansis Brammanis 8e6588ad64 preset description 2013-03-05 16:10:14 -05:00
Tom MacWright 21bd81e890 Merge branch 'master' of github.com:systemed/iD 2013-03-05 15:44:41 -05:00
Tom MacWright 64200b9920 Change tooltip for save button depending on disabled state. Fixes #573 2013-03-05 15:29:44 -05:00
John Firebaugh b53014e50f Cleanup 2013-03-05 12:22:06 -08:00
John Firebaugh 05279c3954 Fix background control initial state (fixes #904) 2013-03-05 12:22:06 -08:00
John Firebaugh 239fa6258a layerswitcher -> background 2013-03-05 12:22:06 -08:00
Tom MacWright f81ce9daee Merge branch 'master' of github.com:systemed/iD 2013-03-05 14:46:50 -05:00
Tom MacWright d8e7936d8a Fix CORS error catching on save. Fixes #788. Fixes #451 2013-03-05 14:44:27 -05:00
John Firebaugh 0ae83fd3c3 Open imagery attribution in new window 2013-03-05 11:34:34 -08:00
John Firebaugh 2b5a9e603d Don't reuse bare geometry classes
Fixes a problem where inspector background had odd cursors.
2013-03-05 11:24:51 -08:00
Tom MacWright d6be4e92df Reset auth object so that users can log out and back in. Fixes #749 2013-03-05 14:03:11 -05:00
John Firebaugh d9630a8820 Only do the delete hack if it's the first key press
This avoids unexpectedly deleting when you spam backspace
to clear a failed search query.
2013-03-05 10:10:28 -08:00
Ansis Brammanis 3a680b027f add tests for iD.presets.Preset 2013-03-05 13:06:21 -05:00
Ansis Brammanis 3fd7217894 form attribute optional for presets 2013-03-05 11:27:15 -05:00
Ansis Brammanis a56f273827 fix leaking global 2013-03-05 10:37:56 -05:00
John Firebaugh 21b59461ee Fix global leak, reuse Delete operation 2013-03-04 17:16:14 -08:00
John Firebaugh 988bfeb767 Support both delete and backspace (fixes #887)
Also show correct key in operation tooltip.
2013-03-04 17:12:44 -08:00
Ansis Brammanis 053f86f82b move preset tag application to presets/preset.js 2013-03-04 19:16:46 -05:00
Ansis Brammanis 1fe3d5a04e Don't include other in recent presets 2013-03-04 18:33:07 -05:00
Ansis Brammanis 73314f3415 show entire line preset icon 2013-03-04 18:19:34 -05:00
Ansis Brammanis 01025ef60f Fix enter to select preset 2013-03-04 16:35:14 -05:00
Ansis Brammanis 082bd5fd42 Fix preset defaults 2013-03-04 16:34:36 -05:00
Ansis Brammanis 01688f6528 Add city address field 2013-03-04 16:12:19 -05:00
Ansis Brammanis c7e4977bcb Fix category drawing 2013-03-04 15:58:17 -05:00
Ansis Brammanis 1a43992bd1 add recent presets to defaults 2013-03-04 15:47:50 -05:00
Tom MacWright 71a4c5a383 Fix jshint errors - plz do not use unnecessary magic 2013-03-04 12:08:54 -05:00
Ansis Brammanis 4a9ce55793 let delete shortcut work on empty preset search 2013-03-04 11:29:03 -05:00
Ansis Brammanis 44079759a6 untie showing grid and showing radial menu 2013-03-04 00:42:02 -05:00
John Firebaugh 60a290282c Clip lines with Cohen-Sutherland algorithm
This yields a 10x paint performance increase at
#map=18.88/38.85208/-76.72632, as measured with
Chrome Canary's "Continuous Page Repainting" mode.

Fixes #885.
2013-03-03 18:25:42 -08:00
Ansis Brammanis f757bc965f flush map after changing connection url 2013-03-03 21:20:30 -05:00
Ansis Brammanis ac5ac1ebd7 Add check ui element 2013-03-01 21:47:51 -05:00
Ansis Brammanis d1d90ab691 misc preset 2013-03-01 18:43:47 -05:00
Ansis Brammanis 900c37a652 fix tests 2013-03-01 17:27:53 -05:00
Ansis Brammanis 7f6f606a7c extract preset fields 2013-03-01 17:08:23 -05:00
Ansis Brammanis eae4aeb3ba presets.js to collection.js 2013-03-01 16:18:12 -05:00
Ansis Brammanis 39f4e36c49 Merge branch 'master' of github.com:systemed/iD 2013-03-01 16:15:59 -05:00
Ansis Brammanis 0c24821c87 re-add preset category support 2013-03-01 16:13:48 -05:00
Ansis Brammanis 9d67e8e516 Start reorganizing presets 2013-03-01 15:48:20 -05:00
John Firebaugh 78f0d36c02 Don't debounce loadTiles inside connection
It doesn't look like this is needed -- loadTiles is
called only from redraws, which are already debounced.
And external debouncing is the right way to do it.
2013-03-01 11:54:45 -08:00
John Firebaugh 5d30e693b4 Cleanup 2013-03-01 11:48:20 -08:00
John Firebaugh 787e76dbd1 Fix snapping after moving (fixes #880) 2013-03-01 10:41:55 -08:00
John Firebaugh b09bc8cfa2 Extract selection reference 2013-03-01 10:30:12 -08:00
John Firebaugh 8b5b13fbc4 Delete commented out code 2013-03-01 10:30:12 -08:00