Commit Graph

26 Commits

Author SHA1 Message Date
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
John Firebaugh f4b19133e7 Lint 2013-02-27 20:41:37 -08:00
Ansis Brammanis bf1aaf2172 don't include just created parents in modified 2013-02-27 17:50:42 -05:00
Tom MacWright ba45582e3c Removing unused arguments 2013-02-27 17:30:05 -05:00
Ansis Brammanis 8e6e860f87 Fix removing from tree 2013-02-19 18:06:18 -05:00
Ansis Brammanis 147fce1f49 Merge branch 'tree-intersects'
Conflicts:
	js/id/behavior/lasso.js
2013-02-15 13:40:01 -05:00
John Firebaugh e3d9d3a4c4 Refine Way#isArea
Closed ways that are multipolygon inners shouldn't be
rendered as areas just because they have a source=* tag,
for example.
2013-02-13 16:44:36 -08:00
John Firebaugh 5e66307500 Fix incorrect parentWays after reloading a split way
When recalculating parent ways/relations during rebase, a
graph should not add modified or deleted entities as parents.
Such entities will already be correctly marked as parents or
not.

Graph had the correct behavior for deleted entities, but not for
modified entities. This had the effect that if you split a way
that was partially off screen, and then panned so that the way was
re-retrieved, Graph#rebase would mistakenly add back the original
way as a parent of all the nodes that were split into the new
section, making them appear as shared.

Fixes #751.
2013-02-13 16:03:23 -08:00
Ansis Brammanis 1050faab8f Only delete saved on hitting reset, fixes #744 2013-02-13 17:42:46 -05:00
Ansis Brammanis 8c1e0212f9 Fix rebasing and test 2013-02-13 16:08:39 -05:00
Ansis Brammanis 64c8ef626f Add general test for spatial tree 2013-02-13 15:10:48 -05:00
Ansis Brammanis b80bbc1fbe Add tree test 2013-02-13 14:40:37 -05:00
Ansis Brammanis 9a4d4ab9c5 Retry queued entities after rebase 2013-02-13 14:16:18 -05:00
Ansis Brammanis 529b570c89 Merge remote-tracking branch 'systemed/master' into tree-intersects 2013-02-13 13:31:11 -05:00
Ansis Brammanis a21b973a41 Fix saving deletions to storage, add tests 2013-02-13 12:42:51 -05:00
Ansis Brammanis f2d6628547 Don't break rebasing with loading 2013-02-13 11:17:29 -05:00
Ansis Brammanis 9c65e58cc1 Tree handles entities with missing children 2013-02-13 10:23:30 -05:00
Ansis Brammanis 6baf6a6dd4 Move intersection tree to iD.Tree 2013-02-12 18:18:58 -05:00
Ansis Brammanis 9bd46af6ad Tree intersect now works with changes 2013-02-12 17:22:25 -05:00
Tom MacWright 915edc4569 Merge branch 'master' of github.com:systemed/iD 2013-02-12 16:35:53 -05:00
Tom MacWright 61d7ec45b5 Banish function ( style 2013-02-12 16:35:47 -05:00
John Firebaugh 072f85e2b1 Redraw nodes that move off the screen (fixes #735) 2013-02-12 13:34:16 -08:00
Ansis Brammanis 07eff40223 Add rtree tree to history for intersects 2013-02-12 13:17:07 -05:00
Tom MacWright 38b327fefe jshint fixes, fix global leak 2013-02-11 10:42:49 -05:00
John Firebaugh 843baa11c0 graph -> core
This matches how it's described in ARCHITECTURE.md.
2013-02-09 15:18:54 -08:00