Commit Graph

126 Commits

Author SHA1 Message Date
Tom MacWright
4978cd0c12 Resurface keybindings 2012-12-04 15:51:42 -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
ad2fa599a0 Use clip-path again for tiles 2012-12-03 18:12:44 -05:00
John Firebaugh
65c1d632ed text/javascript is default script type 2012-12-03 17:01:12 -05:00
Tom MacWright
b3853e6485 Taginfo, typeahead 2012-12-03 16:12:05 -05:00
Tom MacWright
4f7d9460ae Build with oauth, use more chaining 2012-12-02 14:20:57 -05:00
John Firebaugh
16c6cbd08b Rename tiles to background, make more d3ish 2012-12-01 08:45:11 -08:00
John Firebaugh
96af626bd7 Add d3.selection.prototype.size 2012-12-01 08:16:50 -08:00
Tom MacWright
fa2d04dfe7 Support other tilesets, xyz tiles, etc. Fixes #130 2012-11-30 17:25:48 -05:00
Tom MacWright
6ed368446e Don't use :hover, only redraw new ways, etc 2012-11-29 11:54:29 -05:00
Tom MacWright
651c347356 Fix finding modified elements, fix casing of map 2012-11-27 18:12:28 -05:00
Tom MacWright
421adf2fab Add loading screen 2012-11-27 16:52:08 -05:00
Tom MacWright
01628125a4 Update taginfo, work on inspector 2012-11-27 16:35:02 -05:00
Tom MacWright
3dfc593bff Create userpanel, fix user logging in and out, fixes #122 2012-11-27 10:55:26 -05:00
Tom MacWright
01991bca65 Start on commit UI. This pulls together a modal window listing changes. 2012-11-26 16:56:27 -05:00
Tom MacWright
1045b3b1d2 Use d3.geo.tile for tiles, works on #103 2012-11-26 11:25:21 -05:00
Tom MacWright
828153ead1 Merge branch 'jfirebaugh-iD'
Currently broken.

Conflicts:
	index.html
	js/iD/renderer/Map.js
2012-11-25 17:09:42 -05:00
John Firebaugh
2d861507b9 Move top-level setup into iD() function 2012-11-25 14:57:56 -04:00
John Firebaugh
eac425f7e3 Rename concepts
action -> mode
operation -> action
go -> enter
operate -> perform
2012-11-25 14:06:23 -04:00
Tom MacWright
07c31dc14a Fix auth cycle 2012-11-20 18:14:55 -05:00
Tom MacWright
e947568ec0 We are now making edits. 2012-11-20 17:51:39 -05:00
Tom MacWright
80b90d5171 Pull user information from the endpoint, abstract oauth xhr
Right now there's both an OAuth wrapper and ohauth.js. These may want to
be combined.
2012-11-20 17:18:17 -05:00
Tom MacWright
f198203fbe Oauth, working 2012-11-19 21:32:15 -05:00
Tom MacWright
81c8e280d2 Add oauth and sha 2012-11-19 21:08:32 -05:00
Tom MacWright
48196a7a8d Start osmChange work, be a little bit more compact 2012-11-19 20:46:29 -05:00
Tom MacWright
cedc714e2d Start only redrawing changing ways 2012-11-19 13:13:28 -05:00
booo
c336a90481 Do not use the executable flag on images, text files and other docs. 2012-11-17 13:48:04 +01:00
Tom MacWright
1a68cab563 Fix vector hiding at high zooms, fix hash-default interaction. 2012-11-16 15:27:14 -05:00
Tom MacWright
5ea2b77dfb Less function nesting, dimensions as an object 2012-11-16 15:01:08 -05:00
Tom MacWright
656349b7aa Push to d3 v3, remove mins, reuse more functions. 2012-11-16 11:19:09 -05:00
Tom MacWright
78af99ae81 Change of scenery and test data 2012-11-15 12:25:59 -05:00
Tom MacWright
555fefc47c Mouseover previews of feature names 2012-11-15 10:07:57 -05:00
Tom MacWright
e46a842691 Add save button, eliminate stale styles 2012-11-14 18:40:21 -05:00
Tom MacWright
2076616063 Always-on handles, start intersecting elements again, fetch elements
early
2012-11-13 17:53:06 -05:00
Tom MacWright
41b0678f05 Clickable road casings, trying to fix road drawing logic 2012-11-13 14:33:52 -05:00
Tom MacWright
89dded9967 Improve poi finding performance, update map style 2012-11-12 17:36:23 -05:00
Tom MacWright
88021b721a Merge branch 'master' of github.com:systemed/iD 2012-11-12 13:40:21 -05:00
John Firebaugh
3b8d640cfb Preserve Entity immutability
Reintroduced an Entity class. Entity mutations will be
expressed as methods that return a new Entity.

Extract a move operation from the drag behavior. Instead
of updating an entity in place, the drag event produces
a new entity and graph and replaces the current history
version, which was created by doing a noop on dragstart.

pdata is no longer used. It was previously removed from
Graph, and I think it makes more sense to have a specialized
Entity class as well.
2012-11-09 18:58:16 -08:00
John Firebaugh
7f2dc815cd Use instanceof trick for consistent construction style
Fixes #67.
2012-11-09 16:33:47 -08:00
Tom MacWright
f65fe201d0 Remove UI 2012-11-09 11:23:33 -05:00
John Firebaugh
c9c40311e7 Refactoring Graph manipulation
Extract iD.History from Graph. History is a versioned
series of Graphs that knows how to do, undo, and redo.

Graph holds entities and an annotation. A parallel array
of annotations in history is no longer necessary.

Operations no longer need a map object to be threaded
through.

Fixed #65.
2012-11-08 21:42:10 -08:00
John Firebaugh
68ee31ea29 Move controller to own file 2012-11-08 15:45:39 -08:00
Tom MacWright
d904d22c57 Comments and docs 2012-11-07 15:44:06 -05:00
Tom MacWright
f00ad5b169 Fix dragging ways, add way method to connection 2012-11-06 17:22:46 -05:00
Tom MacWright
285ea577cf Bind cmd-z, cmd-shift-z, a, r, and p 2012-11-06 17:09:53 -05:00
Tom MacWright
d38c2739ab Remove entity, dragdrop config, and uuid 2012-11-06 14:29:33 -05:00
Tom MacWright
2ee2b1cf46 Starting road drawing. Has bugs but exists. 2012-11-05 16:10:21 -05:00
Tom MacWright
9101aa8772 First working revision of undo redo 2012-11-05 14:23:01 -05:00
Tom MacWright
84e54112e1 Display undo title in button 2012-11-05 13:21:24 -05:00
Tom MacWright
e7a895c884 Re-introduce idea of operations, add 'add node' operation 2012-11-05 11:23:50 -05:00