550 Commits

Author SHA1 Message Date
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
Tom MacWright
c8b5e238b3 Use simple objects for data, simplify graph 2012-11-05 10:48:58 -05:00
tyrasd
de74aa5782 non breaking space between "+" and "Place/Road/Area" 2012-11-03 23:45:43 +01:00
Tom MacWright
c2a46eca33 Restyle 2012-11-02 17:35:34 -04:00
Tom MacWright
b9acb41321 Escape actions with the escape key 2012-11-02 16:32:36 -04:00
Tom MacWright
4df2712906 Update actions, highlight modes 2012-11-02 16:17:57 -04:00
Tom MacWright
f7d881ad60 Reorganize, update notes 2012-11-02 16:00:11 -04:00
Tom MacWright
4c90bf44d5 Indicate support, take DOM elements as input. Fixes #55. 2012-11-02 14:14:47 -04:00
Tom MacWright
8780805506 Indirection for IDs 2012-11-01 17:39:03 -04:00
Tom MacWright
24922d401a Fix marker rendering, complete Way XML output, work on Node XML output. 2012-11-01 16:04:24 -04:00
Tom MacWright
c3422fdb33 Initial serialization in JS 2012-11-01 12:33:24 -04:00
Tom MacWright
75d9331233 Start traversing the graph, other changes
Adds GeoJSON viewing to features, unifies the way that features refer
to their children.
2012-11-01 10:55:33 -04:00
Tom MacWright
beeef7a561 Clarify how connections have graphs, don't build big arrays in memory 2012-10-31 22:58:13 -04:00
Tom MacWright
ecbbedadee Hash locations, Fixes #36 2012-10-31 22:21:41 -04:00
Tom MacWright
9f00f0fee2 Add map resize API, bind to window onresize event. Fixes #39 2012-10-31 21:57:15 -04:00
Tom MacWright
8bca85d3b2 Entity as a mixin rather than a sub-object. 2012-10-31 21:07:29 -04:00
Tom MacWright
a1b1df504b Refactor style, abstract id references
This is the first commit that really goes whole hog in terms of
creating an object graph. It's quite close, though it could be faster
in a lot of ways.
2012-10-31 19:05:43 -04:00
Tom MacWright
7154b68b71 Move graph out of connection, move more logic to Util, update tests. 2012-10-31 18:17:54 -04:00
Tom MacWright
303128df1c Fix specs, add new GeoJSON class with mappings, rename entityType to
type
2012-10-31 17:51:43 -04:00
Tom MacWright
c61feeb154 Make map tile client an external. Fixes #48 2012-10-28 12:41:42 -04:00
Tom MacWright
f1be0b3a13 All OSM icons 2012-10-27 15:48:41 -04:00
Tom MacWright
3cfa44eb21 Fixup tile boundaries, make layout more design + mobile friendly 2012-10-27 14:21:08 -04:00
Tom MacWright
0c9d46bee3 Reduce memory taken up by attribute objects. 2012-10-26 17:55:58 -04:00
Tom MacWright
34b64267b5 Remove jQuery dependency more 2012-10-26 16:47:46 -04:00
Tom MacWright
8cc179d807 Reset CSS, permalink back to OSM, and faster attributes parsing 2012-10-26 16:02:26 -04:00
Tom MacWright
23faba55c3 Remove jQuery dependency 2012-10-26 14:11:19 -04:00
Tom MacWright
33ddd283a8 Add license, reduce underscore dep, update readme 2012-10-26 11:42:40 -04:00