Commit Graph

519 Commits

Author SHA1 Message Date
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
John Firebaugh 38958515d8 Clean up inspector setup 2012-12-03 18:37:41 -05:00
Tom MacWright 60941f701b Support way dragging. Fixes #45 2012-12-03 18:24:47 -05:00
Tom MacWright ad2fa599a0 Use clip-path again for tiles 2012-12-03 18:12:44 -05:00
Tom MacWright d7a7ce3d3f Remove stray console log 2012-12-03 17:12:47 -05:00
Tom MacWright 7d1a94ae5c Include typeahead in tests 2012-12-03 17:09:42 -05:00
Tom MacWright 8401b1fd65 Merge branch 'master' of github.com:systemed/iD 2012-12-03 17:08:56 -05:00
Tom MacWright bd1a34153a First shot at way accuracy handles 2012-12-03 17:08:53 -05:00
John Firebaugh 65c1d632ed text/javascript is default script type 2012-12-03 17:01:12 -05:00
John Firebaugh c1be31912f Fix specs 2012-12-03 17:00:06 -05:00
John Firebaugh cb55cdafe2 Defer drag events until first move (fixes #105) 2012-12-03 16:56:43 -05:00
Tom MacWright c00ea92089 Fix handle styling 2012-12-03 16:37:40 -05:00
Tom MacWright f149c899bb Rework about 2012-12-03 16:32:26 -05:00
Tom MacWright 62cdaa7075 Merge branch 'master' of github.com:systemed/iD
Conflicts:
	js/id/actions/modes.js
2012-12-03 16:25:39 -05:00
Tom MacWright 200b4f67d5 Clean up actions 2012-12-03 16:24:35 -05:00
John Firebaugh 1972711a66 Exit indirectly via controller (fixes #147) 2012-12-03 16:22:08 -05:00
Tom MacWright b3853e6485 Taginfo, typeahead 2012-12-03 16:12:05 -05:00
John Firebaugh 0856fcbfc0 Provide iD() accessors (fixes #141) 2012-12-03 16:02:45 -05:00
John Firebaugh 41548c25bf Restore map update event (fixes #167) 2012-12-03 15:59:05 -05:00
John Firebaugh f130c325ae Updated .travis.yml for mocha 2012-12-03 15:36:43 -05:00
John Firebaugh 78c9b645cd Fix indent 2012-12-03 15:18:41 -05:00
John Firebaugh c7fa59661a Convert tests to mocha+chai+sinon 2012-12-03 15:11:49 -05:00
John Firebaugh 9057d40672 Fix global leaks 2012-12-03 15:11:49 -05:00
Tom MacWright 2909634050 More editors mention 2012-12-03 14:21:17 -05:00
John Firebaugh f4ce6f04da Link to http://bost.ocks.org/mike/chart/ 2012-12-03 13:09:40 -05:00
Tom MacWright f822830b79 Test styleclasses 2012-12-03 13:01:36 -05:00
Tom MacWright 40fdbb0767 More reasonable limitations for min zoom, remove white borders 2012-12-03 12:48:39 -05:00