Commit Graph

4167 Commits

Author SHA1 Message Date
John Firebaugh ffdeef398d Rewrite tree logic
The main problem with the existing logic was that it
did not update the extents of relations when previously incomplete members were loaded.

It was also overly stateful; the various queues and flags
are no longer required.

Fixes #1928.
Fixes #1540.
2013-10-28 16:57:18 -07:00
John Firebaugh 95e667d6b7 More tests 2013-10-28 16:34:08 -07:00
John Firebaugh e0e08115e5 Pass entity array to Tree#rebase 2013-10-28 16:34:08 -07:00
John Firebaugh e6d3cb242c Clean up tests 2013-10-28 14:07:28 -07:00
Paul Norman 396825ad25 Distinguish between power=line and power=minor_line
Tagging distinguish between major power lines, which we map with
power=line and minor power lines, which we map with power=minor_line.
2013-10-28 09:53:10 -07:00
John Firebaugh 68fae301e5 Reset invalid opacity values to default (#1923) 2013-10-26 17:33:41 -07:00
John Firebaugh d9627139d9 1.3.1 2013-10-26 16:54:03 -07:00
John Firebaugh cf99f9e9f6 Update translations 2013-10-26 16:52:58 -07:00
John Firebaugh d9e6b1cc38 Fix background defaulting to 0% brightness (fixes #1923) 2013-10-26 16:49:43 -07:00
John Firebaugh 40519b98dd Prioritize boundary tag to minimize area fills (fixes #1920) 2013-10-25 15:37:53 -07:00
John Firebaugh 0ac200ec38 IE compatibility 2013-10-25 15:31:40 -07:00
John Firebaugh ce0b9b4633 Add IE standards incantations 2013-10-25 13:02:59 -07:00
John Firebaugh b7e3f0d7b2 Use new maki icons 2013-10-25 12:24:11 -07:00
John Firebaugh 683b160994 Update maki; use prebuilt sprite (fixes #1916) 2013-10-25 12:16:47 -07:00
John Firebaugh 1e78ee5c87 Stricter jshint 2013-10-24 16:08:48 -07:00
John Firebaugh 0da2ec2e87 Run jshint on Travis (fixes #1914) 2013-10-24 15:35:01 -07:00
John Firebaugh 8323c948a7 jshint fixes 2013-10-24 15:33:52 -07:00
John Firebaugh ea7f84f1bd Update locale 2013-10-24 14:58:16 -07:00
John Firebaugh 7a844f8f33 Fix misalignment -> Fix alignment (fixes #1913) 2013-10-24 11:17:38 -07:00
John Firebaugh d2ea118c14 How is "iD" pronounced? 2013-10-24 10:21:28 -07:00
John Firebaugh 2c24c85bf3 Add prerelease steps 2013-10-24 10:04:19 -07:00
John Firebaugh f15d6a0e6f 1.3.0 2013-10-24 09:05:40 -07:00
John Firebaugh 03d8639913 Update translations 2013-10-24 09:04:40 -07:00
John Firebaugh fbf2118c76 Fix change summary calculation after restoring
We can't rely on identity equality here due to how
restoring works, and don't want to anyway -- the summary
should ignore net-no-op tag changes.

Fixes #1915.
2013-10-23 17:35:35 -07:00
John Firebaugh 0a3d2161cd Fix corner case that could cause getting stuck in drag mode (#1910) 2013-10-23 16:44:35 -07:00
John Firebaugh 02449408be Improving square icon (fixes #1846) 2013-10-23 15:22:41 -07:00
John Firebaugh 28aec51d20 Merge branch 'save-browse' 2013-10-23 13:37:57 -07:00
John Firebaugh 2de500a90a Add a few more vertex cases to summary 2013-10-23 13:36:58 -07:00
John Firebaugh 697faf0265 Use summary to calculate # in Save button 2013-10-23 13:36:58 -07:00
John Firebaugh b8e88a7aaf Convert relevantChanges to a method on Difference 2013-10-23 13:36:58 -07:00
John Firebaugh a05b9b1be5 Report an existing tagged vertex that is moved as modified 2013-10-23 12:00:07 -07:00
Aaron Lidman e8e9f7a4ff Remove blue circle and icon adjustments 2013-10-23 11:42:33 -04:00
Aaron Lidman df6a292a44 Add colored changeset icons 2013-10-22 11:48:21 -04:00
samanpwbb a0d3694f29 adding deleted/added feature icons 2013-10-22 11:20:55 -04:00
Aaron Lidman dc98c6fc50 Add zoom to warning selection 2013-10-21 21:31:33 -04:00
Aaron Lidman 2dc46806a5 Styled the save button a little 2013-10-21 21:01:04 -04:00
Aaron Lidman 95e5852cbe Fixed the warnings 2013-10-21 20:24:04 -04:00
Aaron Lidman b4d8e777b5 Fix warnings 2013-10-21 19:46:05 -04:00
Aaron Lidman 22b4e5c6b5 Remove warning and changeset zoom icons and fixed warning problems 2013-10-21 19:38:58 -04:00
John Firebaugh d6c7c1d81d Fix tests 2013-10-21 16:24:06 -07:00
John Firebaugh f9eaed7fb9 Add clipping back 2013-10-21 16:04:59 -07:00
John Firebaugh 4cce2e8d3a Use streams better 2013-10-21 16:04:59 -07:00
John Firebaugh bd1fac9c48 Fix test failure 2013-10-21 16:04:59 -07:00
John Firebaugh 382bd2abd8 Use actual projection 2013-10-21 16:04:59 -07:00
John Firebaugh 22e453eae5 Use d3.geo.mercator.raw
This bypasses a number of features of D3's default projection
stream pipeline that are unnecessary:

* Antimeridian clipping
* Spherical rotation
* Resampling

This also disables viewport clipping of lines -- I'll add it
back in a separate step.
2013-10-21 16:04:59 -07:00
John Firebaugh d2c8ea15fd Legend for GPS overlay layer 2013-10-21 13:28:09 -07:00
Aaron Lidman 7b97a6116c Actually fixed references to deleted items 2013-10-21 15:41:24 -04:00
John Firebaugh a5311b5f6c Show attribution for overlay layers (fixes #1909) 2013-10-21 12:31:48 -07:00
Aaron Lidman 7ead26928d Fixed references to deleted items 2013-10-21 14:45:43 -04:00
Aaron Lidman 1eb4c6ce78 Added more distinction to changeset list items 2013-10-21 14:00:47 -04:00