Commit Graph

7303 Commits

Author SHA1 Message Date
Saman Bemel-Benrud a0f18d9751 Merge branch 'master' of github.com:systemed/iD 2013-02-04 11:30:59 -05:00
Saman Bemel-Benrud 3a075e6870 updated source svg. 2013-02-04 11:30:25 -05:00
Ansis Brammanis 240d83c1fd Fix #623, get enitity from current graph 2013-02-04 10:54:39 -05:00
John Firebaugh e0d4f5e87d Use default shape-rendering
On Firefox, optimizeSpeed = aliased. Fixes #592.
2013-02-04 07:13:49 -08:00
John Firebaugh 03800ec841 Don't force point to area boundary (fixes #614) 2013-02-03 13:21:27 -08:00
Dr Ian b912097ee4 Tidy up: fix indents, spaces etc.
- Update orthogonalize to match new circularize.
- Add orthoganalize to test index.html
- Revert whitespace on index.html
2013-02-03 20:12:04 +01:00
John Firebaugh 3000bc89ce shadow should be above fill
Makes it much easier to select lines that are within areas.
2013-02-03 08:49:43 -08:00
Dr Ian 90aa734f53 Merge remote branch 'upstream/master' 2013-02-03 07:40:07 +01:00
Ansis Brammanis 13b0b540a7 Don't snap to midpoints, snap to their parent way 2013-02-02 23:47:29 -05:00
John Firebaugh 441be74539 Simplify 2013-02-02 21:28:56 -05:00
John Firebaugh 33f5db4d96 Fix hash with selected id 2013-02-02 21:17:43 -05:00
John Firebaugh 0b3e0fb3db Use iD.actions.DeleteNode when removing nodes
They need to be removed from any parent relations.
Also, make sure to uniq child nodes, otherwise the
start/end node over-contributes to the centroid
calculation.

This action needs tests.
2013-02-02 21:17:10 -05:00
John Firebaugh 9e878b1cf9 Remove redundant conditional 2013-02-02 20:00:05 -05:00
John Firebaugh b08722fd3f Pass just the projection to Circularize 2013-02-02 19:59:05 -05:00
John Firebaugh 80a5a083b0 Remove unused 2013-02-02 19:57:36 -05:00
John Firebaugh ec602a7db7 Hook up connection and history in context 2013-02-02 19:47:56 -05:00
John Firebaugh fc00f154a9 Dispatch a change event on merge 2013-02-02 19:47:56 -05:00
John Firebaugh 1de05b518d Select result when splitting or joining ways
Fixes #601.
Fixes #603.
2013-02-02 19:47:56 -05:00
John Firebaugh 11d723819d Difference#extantIDs 2013-02-02 19:47:56 -05:00
John Firebaugh ddc5e324f6 Extract iD.Difference
iD.Difference represents the difference between two graphs.
It knows how to calculate the set of entities that were
created, modified, or deleted, and also contains the logic
for recursively extending a difference to the complete set
of entities that will require a redraw, taking into account
child and parent relationships.

Additionally, all history mutators now return a difference.
2013-02-02 19:47:56 -05:00
Dr Ian 26b8b8789e Fix case where parentnodes present 2013-02-03 00:05:11 +01:00
Dr Ian 8b6bb964ad Added orthogonalize function (square corners) 2013-02-02 23:52:16 +01:00
John Firebaugh 09dac581be Fix MoveWay mode (fixes #602) 2013-02-02 12:55:20 -05:00
Tom MacWright 3e404df339 Add more translations, opacity to brightness YOU WIN @ansis 2013-02-01 19:16:01 -05:00
Tom MacWright eb999c47c6 Switch to comboboxes 2013-02-01 17:54:55 -05:00
John Firebaugh f5036db978 Start iD.operations.Merge (#435)
It's currently limited to merging (joining) exactly two lines.

Fixes #370.
2013-02-01 17:32:33 -05:00
John Firebaugh a8410be6eb iD.actions.Join 2013-02-01 17:31:32 -05:00
John Firebaugh 20730e5f1a Entity#mergeTags 2013-02-01 17:31:32 -05:00
John Firebaugh 9120f33aa7 ReverseWay -> Reverse 2013-02-01 17:31:32 -05:00
John Firebaugh c86792a77b SplitWay -> Split 2013-02-01 17:31:32 -05:00
John Firebaugh e1d5a0cb03 Unjoin -> Disconnect 2013-02-01 17:31:32 -05:00
Tom MacWright 50c79d13fc Merge pull request #599 from porjo/master
Use OSM Nominatim API for search
2013-02-01 14:27:38 -08:00
Dr Ian 01e8f5f606 Convert tabs to spaces 2013-02-01 23:08:11 +01:00
Dr Ian f4975447f8 Limit zoom to 19 if geocode bounding box too small 2013-02-01 23:05:47 +01:00
Dr Ian 839844de27 Convert tabs to spaces 2013-02-01 22:28:43 +01:00
Dr Ian 7bfdf4de1a Change search to use OSM Nominatim API 2013-02-01 22:23:30 +01:00
Ansis Brammanis 2957d799f1 Toggle preset tag view 2013-02-01 15:47:02 -05:00
John Firebaugh 7235632a63 Update logic for multi-select 2013-02-01 15:13:44 -05:00
John Firebaugh 58fcf746a2 Delete multiple 2013-02-01 15:08:41 -05:00
John Firebaugh 7ba31f05d2 Support deleting relations 2013-02-01 14:48:11 -05:00
Ansis Brammanis ca940d9975 Fix areas vs lines in presets 2013-02-01 14:46:21 -05:00
John Firebaugh 3da0e70c0f Shift-selection 2013-02-01 14:31:47 -05:00
John Firebaugh ae8891c485 Unused vars 2013-02-01 14:31:47 -05:00
Tom MacWright 7bf725913a Merge branch 'master' of github.com:systemed/iD 2013-02-01 14:11:40 -05:00
Tom MacWright 4fbbd1cf82 Update to pre-release 3.0.5 d3 2013-02-01 14:11:32 -05:00
Ansis Brammanis d2ab5d7f6d Only show tags not supported by preset; saving 2013-02-01 13:53:55 -05:00
John Firebaugh cdda561f69 Fix dev/live toggle 2013-02-01 13:39:49 -05:00
Tom MacWright 30bd46635f Merge branch 'master' of github.com:systemed/iD 2013-02-01 13:17:28 -05:00
Tom MacWright 175cdc553d Fix localStorage number of args in oauth 2013-02-01 13:17:19 -05:00
John Firebaugh 619216b33b Remove double dispatch 2013-02-01 13:13:32 -05:00