Commit Graph

25 Commits

Author SHA1 Message Date
John Firebaugh
9502729f5e Optimize presets.match
Previous implementation was linear in the number of
presets. This should be near constant time.
2013-05-13 21:07:26 -07:00
John Firebaugh
bb8e91da31 Eliminate context dependency 2013-05-13 17:48:18 -07:00
John Firebaugh
fdd49233b1 Avoid recomputing geometry in an inner loop 2013-04-25 11:27:53 -07:00
John Firebaugh
19bcd711ec Split categories into separate files; translate 2013-04-15 16:09:49 -07:00
Ansis Brammanis
8c319d0d15 make other presets localizable, and update tests 2013-03-26 16:40:42 -04:00
John Firebaugh
0baaf1a3fd Make name field less of a special case 2013-03-21 15:24:42 -07:00
Ansis Brammanis
110427a186 Re-add area as a geometry for tagless other preset
Without it, areas without area=yes don't match any preset
fix #1087
2013-03-20 11:15:48 -04:00
Ansis Brammanis
f295c217e8 Add area tag by default, remove when applying preset 2013-03-18 14:25:32 -04:00
John Firebaugh
d0336a0995 Extract preset names to translations (fixes #1044) 2013-03-14 17:27:34 -07:00
John Firebaugh
51a217caa2 Refine tagged vertex rendering
Don't render tagged vertices for which we don't have
an icon as the 'marker' icon. Marker shape is for points.
2013-03-14 13:35:24 -07:00
John Firebaugh
41e696a2c5 Flatten presets match properties 2013-03-13 12:45:20 -07:00
John Firebaugh
c1aa8e0270 form/forms -> field/fields 2013-03-13 11:34:21 -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
John Firebaugh
107f6cfeba type -> geometry 2013-03-12 13:00:32 -07:00
John Firebaugh
a5885ce3c2 Localize preset form labels 2013-03-12 11:19:45 -07:00
Ansis Brammanis
0c6da9549a fix 'other' preset 2013-03-10 01:42:15 -05:00
John Firebaugh
87fd5d871c Build data into package 2013-03-06 16:16:12 -08:00
Ansis Brammanis
3a680b027f add tests for iD.presets.Preset 2013-03-05 13:06:21 -05:00
Ansis Brammanis
1fe3d5a04e Don't include other in recent presets 2013-03-04 18:33:07 -05:00
Ansis Brammanis
082bd5fd42 Fix preset defaults 2013-03-04 16:34:36 -05:00
Ansis Brammanis
1a43992bd1 add recent presets to defaults 2013-03-04 15:47:50 -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
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