Commit Graph

1367 Commits

Author SHA1 Message Date
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
John Firebaugh
1f28e1441e Camel case identifiers 2013-03-01 10:30:12 -08:00
Ansis Brammanis
8d4562369d "view on osm" not for created entities 2013-03-01 10:31:23 -05:00
John Firebaugh
fb3ad31bfd Cleanup 2013-02-28 17:30:38 -08:00
John Firebaugh
ac161ddb62 i18n 2013-02-28 17:09:47 -08:00
John Firebaugh
f9bf61a6c3 Underscore naming for files 2013-02-28 16:32:23 -08:00
John Firebaugh
a8c6bd18d5 Push message into PresetGrid/TagEditor 2013-02-28 16:32:22 -08:00
John Firebaugh
d9d322592d Cleanup 2013-02-28 16:32:22 -08:00
Ansis Brammanis
40e133c130 Tagless entities trigger initial 2013-02-28 19:30:48 -05:00
John Firebaugh
c02531fe21 Put presetData in context 2013-02-28 16:05:04 -08:00
Ansis Brammanis
65cfb6b69b Add asyncMap 2013-02-28 18:38:35 -05:00
Ansis Brammanis
478696a189 Offsets are now relative to zoom level 2013-02-28 15:57:37 -05:00
Ansis Brammanis
90e1005c4c Only reset if save successful 2013-02-28 15:02:33 -05:00
Ansis Brammanis
0090920d41 maintain center when map resized 2013-02-28 14:35:33 -05:00
Ansis Brammanis
eea85681be Fix tests 2013-02-28 14:24:51 -05:00
Ansis Brammanis
baa9dc6e5e Render unclosed areas correctly 2013-02-28 14:08:03 -05:00
Ansis Brammanis
e0bc3bf7e1 No initial mode after rotating 2013-02-28 13:21:18 -05:00
Ansis Brammanis
4081d1234e set centerzoom before drawing map 2013-02-28 13:12:00 -05:00
Ansis Brammanis
d70f123107 Focus restore modal buttons 2013-02-28 10:58:55 -05:00
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
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