Commit Graph

1008 Commits

Author SHA1 Message Date
John Firebaugh 1eedbecee4 Disable edit modes when zoomed out (fixes #473) 2013-01-23 18:59:04 -05:00
John Firebaugh 2b799ddd7b Improve point rendering 2013-01-23 18:24:17 -05:00
John Firebaugh 5eabb931ff Namespace events
Fixes an issue where cursor sometimes stopped working.
2013-01-23 18:24:16 -05:00
Tom MacWright 9041e6470f Yet another global leak 2013-01-23 18:06:01 -05:00
Tom MacWright 54903adc2b No more refnodes 2013-01-23 18:02:38 -05:00
Tom MacWright bda41b812c Optimize and break up parsing 2013-01-23 18:01:56 -05:00
Tom MacWright 8741e69c10 Add source switch 2013-01-23 17:19:19 -05:00
Tom MacWright 1a916ff506 Move keys to separate file, not working on osm.org yet. 2013-01-23 16:56:48 -05:00
John Firebaugh 64e8e85187 location.replace (fixes #462) 2013-01-23 15:58:09 -05:00
Tom MacWright 72ba6f52b2 Merge branch 'master' of github.com:systemed/iD 2013-01-23 15:56:02 -05:00
Tom MacWright f605ff85ea Prettier transition for notice, fix notice style. Fixes #438 2013-01-23 15:53:46 -05:00
John Firebaugh 3138ba2805 Handle incomplete relations in SplitWay (fixes #466) 2013-01-23 15:52:35 -05:00
John Firebaugh 72618574f3 Rename permitted -> enabled and add to more actions 2013-01-23 15:33:30 -05:00
Tom MacWright aafcb0df65 Merge branch 'master' of github.com:systemed/iD 2013-01-23 15:28:09 -05:00
Tom MacWright fcf15718d1 Restyle flash modal. Fixes #458 2013-01-23 15:27:47 -05:00
John Firebaugh 18b3331003 Fix event reference 2013-01-23 12:40:27 -05:00
John Firebaugh 278bb4a51c Fix some cases where a degenerate way was created 2013-01-23 12:40:27 -05:00
John Firebaugh 292c916cb1 Converting some actions to entity methods
The guidelines here are:

Entity methods:
  return a modified entity
  don't necessarily maintain whole-graph consistency

Actions:
  return a modified graph
  always maintain whole-graph consistency
  call entity methods liberally
  generally don't call other actions
2013-01-23 12:40:27 -05:00
Tom MacWright eefa22531c Simplify indentation, add blocking modals. Fixes #412 2013-01-23 12:30:22 -05:00
Tom MacWright 5c65af512d Test and fixup centerEase 2013-01-23 11:35:31 -05:00
John Firebaugh 8e92fffa1a Freeze loc 2013-01-23 10:07:10 -05:00
John Firebaugh 29d608970b UnjoinNode action (fixes #442) 2013-01-23 10:07:10 -05:00
Tom MacWright df06148355 Look farther up for up tiles 2013-01-22 18:56:09 -05:00
John Firebaugh c263ebd4dc iD.util.geo => iD.geo 2013-01-22 18:20:20 -05:00
John Firebaugh 7f8ff43a0f Fix namespaces and unbinding 2013-01-22 18:16:52 -05:00
John Firebaugh 381794e7a1 Fix Relation#multipolygon for unmatched inner rings (fixes #461) 2013-01-22 17:54:57 -05:00
John Firebaugh d74bf1e39a Use proper prototypal inheritance and less dynamic new 2013-01-22 17:38:52 -05:00
John Firebaugh 2e6c23d7ef Fix namespace 2013-01-22 14:58:51 -05:00
John Firebaugh 814c3608db Hook into undos in a different way
This way doesn't depend on details of keybindings and
the undo button.

Also, implement this in DrawArea mode.
2013-01-22 14:55:08 -05:00
John Firebaugh ff15aa8e7b Rewrite d3.keybinding
A keybinding now represents a set of key commands that can
be unbound as a set. Multiple keybindings are possible, and,
providing a namespace is provided to the constructor, will
not conflict with each other.

Also, key combination strings such as ⌘+A are now supported.
2013-01-22 14:55:08 -05:00
John Firebaugh 851eae68b8 Match terminology with ReverseWay action 2013-01-22 14:54:30 -05:00
Tom MacWright 6f73ae48d7 Fix global leak 2013-01-22 14:49:28 -05:00
Tom MacWright 9a3d545f17 Do not focus text fields after initial placement 2013-01-22 14:42:21 -05:00
Tom MacWright 64445e50ac Slow and fast redraw 2013-01-22 14:17:27 -05:00
Tom MacWright 748b597c84 Fast zooming based on transforms.
* Replaces the mouseup-tranformStart method with a redraw debouced by 1/5s
2013-01-22 12:23:51 -05:00
Tom MacWright 5937258c24 Merge branch 'hash' 2013-01-22 11:19:33 -05:00
Tom MacWright 55346c4d33 Work around blur issue for #439 2013-01-22 11:19:09 -05:00
Tom MacWright 42f145a945 Merge pull request #457 from systemed/hash
Hash
2013-01-22 07:47:03 -08:00
Tom MacWright 38c02509ea Do not tolerate modifiers for action shortcuts.
Tolerates id-equality for selecting features.
2013-01-22 10:39:10 -05:00
Tom MacWright 3d90801e63 Add willselect to hash, works with non-line features. 2013-01-22 10:22:00 -05:00
John Firebaugh 2e14a6b4de Unbind ⌘-Z when exiting DrawLine (fixes #455) 2013-01-22 09:49:38 -05:00
Tom MacWright 7cf234365e Non-overwriting hash, add hash in select mode. Needs code for dealing
with hash.
2013-01-22 09:41:29 -05:00
Tom MacWright b3765a4467 Microbranching jshint stuff. 2013-01-22 09:35:34 -05:00
John Firebaugh c8bee263e9 Split ways at T junctions (fixes #453) 2013-01-21 20:32:17 -05:00
Ansis Brammanis 5d283f0698 usecapture for stopping right click propagation 2013-01-20 19:27:20 -05:00
Ansis Brammanis a97a4e4617 Fix redrawing shared vertices 2013-01-20 19:05:53 -05:00
saman bb 3e8780d466 making things consistent with new UI style. 2013-01-20 18:30:34 -05:00
saman bb 19c59236b9 copy adjustment on inspector confirm/close button 2013-01-20 16:12:06 -05:00
John Firebaugh 4a084a8b89 Improve midpoints rendering 2013-01-20 12:01:19 -08:00
John Firebaugh fce209131a Improve vertex rendering 2013-01-20 11:37:14 -08:00