Commit Graph

545 Commits

Author SHA1 Message Date
Tom MacWright
7828fa34c1 Test nodeIntersect 2012-12-04 18:24:55 -05:00
Tom MacWright
436712fb78 Fix pxCenter 2012-12-04 18:21:03 -05:00
Tom MacWright
4e2a4131a4 Merge branch 'master' of github.com:systemed/iD 2012-12-04 18:18:14 -05:00
Tom MacWright
25557cac12 Fine-tune zoom and center, make them properly match up with other maps 2012-12-04 18:13:23 -05:00
John Firebaugh
76849596f8 Move node removal into removeNodeWay action 2012-12-04 18:07:26 -05:00
John Firebaugh
f49270fc6c Fix index_packaged.html 2012-12-04 17:56:04 -05:00
John Firebaugh
f8fde1f10d Move node update into addWayNode action 2012-12-04 17:54:08 -05:00
Tom MacWright
82b14df12f Fix deselectClick. Fixes #179 2012-12-04 17:51:05 -05:00
Tom MacWright
cdacdca2af Sort handles, fix area closing 2012-12-04 17:40:37 -05:00
Tom MacWright
ea02651ed9 Merge branch 'master' of github.com:systemed/iD
Conflicts:
	js/id/actions/modes.js
2012-12-04 17:32:55 -05:00
Tom MacWright
d66c27c578 Simplify modes more 2012-12-04 17:31:14 -05:00
John Firebaugh
36ea030440 Don't change graph in origin() 2012-12-04 17:31:09 -05:00
John Firebaugh
a316544008 Use datum() 2012-12-04 17:27:02 -05:00
John Firebaugh
12d02e0a6b Copy entity in Graph#fetch
This shouldn't be necessary, but someone is modifying them
in place and it's causing problems elsewhere.
2012-12-04 17:27:02 -05:00
John Firebaugh
6780ecb75b Add whitespace, cleanup, fix global leaks 2012-12-04 17:27:02 -05:00
Tom MacWright
5ef3eed3b0 Simplify modes, expose redraw 2012-12-04 17:23:09 -05:00
Tom MacWright
340b97c0e9 Split more functionality into util.geo and test it. 2012-12-04 16:52:59 -05:00
Tom MacWright
851efdf01f Cleanup, fix geocoding 2012-12-04 16:46:03 -05:00
Tom MacWright
d5cc764a1d Reduce overeager hiding call 2012-12-04 16:37:22 -05:00
Tom MacWright
e2b5a3f8ab New-style keybindings in modes 2012-12-04 16:31:39 -05:00
Tom MacWright
ddbf50345d Reintroduce keybindings for deleting features 2012-12-04 16:26:00 -05:00
Tom MacWright
4978cd0c12 Resurface keybindings 2012-12-04 15:51:42 -05:00
John Firebaugh
50a7b786ac With a dash 2012-12-04 14:09:45 -05:00
John Firebaugh
24fd7533e6 Install uglifyjs 2012-12-04 14:08:19 -05:00
John Firebaugh
8ac56355bf use strict mode in packaged output
Note that this requires wrapping all of iD, but not
third party libraries, in a function and enabling
strict mode only within that function. We can't be sure
that our dependencies are strict-safe (d3 isn't).
2012-12-04 14:04:31 -05:00
John Firebaugh
44933c471f Test against packaged result 2012-12-04 14:00:29 -05:00
John Firebaugh
60e7698f1a Don't mutate entity in place 2012-12-04 14:00:29 -05:00
John Firebaugh
103678b36d Refine Entity and specs 2012-12-04 14:00:29 -05:00
Tom MacWright
40f6f55e72 More cleanup 2012-12-04 13:15:15 -05:00
Tom MacWright
89e94fc7b1 Cleanup 2012-12-04 13:13:36 -05:00
Tom MacWright
a0d28c1e2d Expand tests, move way logic into entity.js and test it. 2012-12-04 13:06:21 -05:00
Tom MacWright
8c3aa832f0 Rename Util to util, expand tests, move more out of map.js 2012-12-04 12:53:16 -05:00
Tom MacWright
1bfce3aa50 Use a real connection for tests 2012-12-04 12:39:40 -05:00
Tom MacWright
3ec03e2526 Use d3.geo.tile in connection. Fixes #103 2012-12-04 12:36:44 -05:00
Tom MacWright
60ba29518a Test XML decode 2012-12-04 11:57:21 -05:00
John Firebaugh
ddd40e190e Fix spec file case 2012-12-04 11:51:03 -05:00
John Firebaugh
486be2c6fd Fix area/way dragging 2012-12-04 11:35:56 -05:00
John Firebaugh
e3e17203cf Remove Map#redraw calls from modes
Map#redraw no longer accepts an argument, and changes to
the history automatically trigger a redraw.

It should be possible to calculate a set of changed entities
between two history versions, and redraw only those entities.
2012-12-04 11:35:56 -05:00
Tom MacWright
516c4b8c48 Merge branch 'master' of github.com:systemed/iD 2012-12-04 11:32:27 -05:00
Tom MacWright
772eb02552 Taginfo autocomplete 2012-12-04 10:58:55 -05:00
John Firebaugh
b4707c3a1f Mirror main directory structure in specs 2012-12-04 09:50:07 -05:00
John Firebaugh
9bf208abae Clean up specs 2012-12-03 18:46:02 -05:00
Tom MacWright
2252d03746 Merge branch 'master' of github.com:systemed/iD 2012-12-03 18:42:13 -05:00
Tom MacWright
5254f06522 Implement megazooming 2012-12-03 18:41:44 -05:00
John Firebaugh
fadbaf46a6 Use this.history directly 2012-12-03 18:41:04 -05:00
John Firebaugh
da5239b98d Eliminate Map#{perform,undo,redo}
Map binds to history changes instead.
2012-12-03 18:37:41 -05:00
John Firebaugh
0a1e0bdfe4 History#reset 2012-12-03 18:37:41 -05:00
John Firebaugh
8a8d6fae32 Move responsibility for dispatching change event to history 2012-12-03 18:37:41 -05:00
John Firebaugh
e93c9624d8 Convert History to module pattern
There is only ever one History, so memory use is not a
concern.
2012-12-03 18:37:41 -05:00
John Firebaugh
0370b487e3 Inject history dependency in map 2012-12-03 18:37:41 -05:00