Commit Graph

1290 Commits

Author SHA1 Message Date
Ansis Brammanis
d756e3c2a2 Let ways be self-intersected 2013-02-04 16:30:19 -05:00
Tom MacWright
3d8f2ffb84 Consistify syntax 2013-02-04 16:08:34 -05:00
Tom MacWright
32bff58eae Merge branch 'master' of github.com:systemed/iD 2013-02-04 16:02:40 -05:00
Tom MacWright
3449a680a7 Add tag deprecation action and data, not yet integrated. 2013-02-04 16:02:34 -05:00
Ansis Brammanis
83e241083d Remove event 2013-02-04 15:30:59 -05:00
John Firebaugh
6dd1bebe89 Fix drawing in Firefox (fixes #628) 2013-02-04 12:26:57 -08:00
John Firebaugh
7ddfcaed39 i18n 2013-02-04 12:08:30 -08:00
John Firebaugh
0450e57acf Layers -> Background (#525) 2013-02-04 12:05:55 -08:00
Tom MacWright
6e74456b31 Fix dragging around resized edges. Fixes #552 2013-02-04 14:57:43 -05:00
John Firebaugh
c2ddf67cc0 Show appropriate tooltips for disabled undo/redo buttons
Implementing this cross-browser requires using a `.disabled`
class rather than the `disabled` property. No browsers except
Opera dispatch mouse events on disabled buttons.

Fixes #620.
2013-02-04 11:25:20 -08:00
Ansis Brammanis
e4a8fbd0f6 Eliminate flickering 2013-02-04 13:34:14 -05:00
Ansis Brammanis
4bfc91cc85 Fix dragging cursor off of edge while drawing 2013-02-04 12:34:11 -05:00
Tom MacWright
8d90fb777b Purge a few more uses of d3.select, refs #595 2013-02-04 12:32:14 -05:00
Tom MacWright
a7d7a2e3da Merge branch 'master' of github.com:systemed/iD 2013-02-04 12:25:52 -05:00
Tom MacWright
4ee620cb09 Namespace selectors to iD-owned elements 2013-02-04 12:23:46 -05:00
John Firebaugh
8699b4a49e Adjust for style, formatting, and jshint 2013-02-04 09:18:15 -08:00
John Firebaugh
50de4155f4 Merge pull request #612 from porjo/master
Added orthogonalize function
2013-02-04 09:14:49 -08:00
Tom MacWright
e5ad28feb7 JShint fixups 2013-02-04 12:10:23 -05:00
Ansis Brammanis
240d83c1fd Fix #623, get enitity from current graph 2013-02-04 10:54:39 -05: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
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
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
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