Commit Graph

1049 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
John Firebaugh
e85bdba950 Ensure drawing doesn't interact with area fills
Fixes #332
2013-01-11 16:24:01 -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
45fd260d8f Add basic Area test 2013-01-11 15:49:56 -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
c24d6d83e3 This doesn't seem necessary now that text is pointer-events: none 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
7b092b7856 Merge branch 'master' of github.com:systemed/iD 2013-01-11 14:30:43 -05:00
Ansis Brammanis
87ee1cf0cb Select way/area after hitting enter/escape 2013-01-11 14:30:09 -05:00
Tom MacWright
3680d8ae8a Adding pointer-events to textpath. Fixes #359 2013-01-11 13:59:02 -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
1e7e874ad7 Remove jsonp test reference 2013-01-10 21:08:34 -08:00
John Firebaugh
2ab572bd42 iD.Entity.key 2013-01-10 21:05:03 -08:00
John Firebaugh
be44db3cee Merge pull request #374 from mpetroff/fix-firefox-save-button
Fixed save button change count display in Firefox.
2013-01-10 21:02:00 -08:00
John Firebaugh
d5fbe32b1d Remove d3.jsonp (only wiki.js used it) 2013-01-10 21:00:24 -08:00
Matthew Petroff
df4548ec8f Fixed save button change count display in Firefox. 2013-01-10 23:18:11 -05:00
John Firebaugh
cddef8d7c8 Remove deleted and duplicated script includes 2013-01-10 19:43:22 -08:00
Tom MacWright
df7c0346c7 Differentiate bridges slightly better 2013-01-10 17:42:03 -05: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
a2803ffdaa remove wiki.js from index.html 2013-01-10 13:44:36 -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
Tom MacWright
61aaa3994b Merge pull request #358 from systemed/key-reference
Add key only reference
2013-01-10 10:00:08 -08: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