Commit Graph

852 Commits

Author SHA1 Message Date
Tom MacWright
8e17841c07 Make tag classes functions non-anonymous 2013-01-12 00:50:21 -05:00
Tom MacWright
0d6e87a217 Merge pull request #388 from systemed/parentways
More efficient graph.parentWays
2013-01-11 21:39:50 -08:00
Ansis Brammanis
62e78b5b9b clean up parentWays 2013-01-11 20:37:32 -05:00
John Firebaugh
4c6757714c parentWays/Relations now take an entity 2013-01-11 17:26:25 -08:00
Ansis Brammanis
a08dd7ecce More efficient parentways 2013-01-11 19:14:17 -05:00
John Firebaugh
acaaab5dc9 Extract iD.svg.Surface 2013-01-11 16:01:39 -08:00
John Firebaugh
cf5efdcfa1 Lint fixes 2013-01-11 14:54:51 -08:00
John Firebaugh
7dc1945ee3 accuracy-handle -> midpoint 2013-01-11 14:54:51 -08:00
Ansis Brammanis
c894ad26f2 nicer getComputedLength caching 2013-01-11 17:28:04 -05:00
Ansis Brammanis
61533019dd don't recalculate, for real this time 2013-01-11 17:10:25 -05:00
Ansis Brammanis
6b09da380d only getComputedTextLength() once 2013-01-11 16:56:28 -05:00
Ansis Brammanis
7e9eaa6422 fix svg line text 2013-01-11 15:57:28 -05:00
Ansis Brammanis
9251edb02b fix oneway text 2013-01-11 15:46:28 -05:00
Tom MacWright
68e79ef81d Merge branch 'master' of github.com:systemed/iD 2013-01-11 15:36:06 -05:00
Tom MacWright
e30995921e Remove indirection between entity and types 2013-01-11 15:35:10 -05:00
Ansis Brammanis
d4524d2ef5 Fix area closing (no duplicate nodes at end of way) 2013-01-11 15:32:25 -05:00
John Firebaugh
e95d163dbc Apply tag classes to vertices and points
While here, introduce a `classed` matcher for Chai.
2013-01-11 12:22:23 -08:00
John Firebaugh
577398ca21 Fix .shared classing
Now that Graph#parentWays is cached, the specialized Graph#parentStructure
method is no longer necessary.

This commit also demonstrates that it's relatively easy to write specs for
rendering now!
2013-01-11 11:56:37 -08:00
John Firebaugh
b8310e2d9f Move to iD.svg.TagClasses 2013-01-11 11:56:37 -08:00
Ansis Brammanis
87ee1cf0cb Select way/area after hitting enter/escape 2013-01-11 14:30:09 -05:00
Ansis Brammanis
486c201a21 Fix jerk after dragging 2013-01-11 13:39:14 -05:00
Ansis Brammanis
bdb958d912 simpler panning on select 2013-01-11 12:31:42 -05:00
Ansis Brammanis
46aff8d1ba Fix connecting a way to an accuracy handle 2013-01-11 12:00:02 -05:00
Ansis Brammanis
f9d205385a Merge branch 'master' of github.com:systemed/iD 2013-01-11 11:32:32 -05:00
Ansis Brammanis
59bfe703fd Restrict zoom while drawing 2013-01-11 11:32:07 -05:00
John Firebaugh
809b73599c Merge points code into iD.svg.Points 2013-01-11 07:49:26 -08:00
John Firebaugh
1e5e588ae6 Clean up 2013-01-11 07:49:26 -08:00
Ansis Brammanis
3fdf32f4dd Add ctrl-z and make it work nicely with drawline 2013-01-11 10:20:34 -05:00
John Firebaugh
68a430cf70 Clean up 2013-01-11 07:09:07 -08:00
John Firebaugh
6aa43f44d0 Split map rendering into some components 2013-01-11 07:04:40 -08:00
John Firebaugh
2ab572bd42 iD.Entity.key 2013-01-10 21:05:03 -08:00
John Firebaugh
d5fbe32b1d Remove d3.jsonp (only wiki.js used it) 2013-01-10 21:00:24 -08:00
Ansis Brammanis
700520c6f6 Use less pointer-events (for Opera's sake) 2013-01-10 16:08:58 -05:00
Ansis Brammanis
ce9a3af01c move save button to separate file 2013-01-10 15:14:37 -05:00
Ansis Brammanis
5cfbff3a61 remove wiki.js 2013-01-10 13:35:58 -05:00
Ansis Brammanis
b9cd9193c3 update to taginfo api v4 2013-01-10 13:25:01 -05:00
Ansis Brammanis
d1b3d0ce6d add key reference 2013-01-10 12:47:38 -05:00
Ansis Brammanis
bc53ae457e Fix undo while drawing 2013-01-09 17:44:20 -05:00
Ansis Brammanis
f489117e5b highlight way or node that will be connected to 2013-01-09 17:22:08 -05:00
Ansis Brammanis
1eb5744b8d Make vertex tag edits show up in inspector 2013-01-09 16:45:03 -05:00
Tom MacWright
e781c02863 Warn before leaving when you have changes. Fixes #341 2013-01-09 16:18:19 -05:00
Tom MacWright
11b3d0d24c Fix #351 2013-01-09 14:57:42 -05:00
Tom MacWright
eedc0fce9d Fast parent calculation. 2013-01-09 14:52:39 -05:00
Tom MacWright
850e7d6568 Optimize difference and parentWays 2013-01-09 13:45:04 -05:00
Tom MacWright
2ac84eef21 Add flash 2013-01-09 13:13:45 -05:00
Tom MacWright
27a02ed5f5 View on osm in new page 2013-01-09 13:07:23 -05:00
Tom MacWright
9fde54c2c7 Inline image css to fix selector perf, was about 3% 2013-01-09 12:53:01 -05:00
Tom MacWright
7d705b4bd5 Restyle notice and move responsibility for it outside of the map. Fixes #131 2013-01-09 12:40:17 -05:00
Tom MacWright
31d6966296 Do not redefine mod in inspector, fixes jshint 2013-01-09 11:40:17 -05:00
Tom MacWright
44eeeeebaa Quick flash of no-docs for non-documented tag pairs. Fixes #340 2013-01-09 11:38:45 -05:00