Commit Graph

91 Commits

Author SHA1 Message Date
John Firebaugh d9630a8820 Only do the delete hack if it's the first key press
This avoids unexpectedly deleting when you spam backspace
to clear a failed search query.
2013-03-05 10:10:28 -08:00
John Firebaugh 60a290282c Clip lines with Cohen-Sutherland algorithm
This yields a 10x paint performance increase at
#map=18.88/38.85208/-76.72632, as measured with
Chrome Canary's "Continuous Page Repainting" mode.

Fixes #885.
2013-03-03 18:25:42 -08:00
Ansis Brammanis ac5ac1ebd7 Add check ui element 2013-03-01 21:47:51 -05:00
John Firebaugh 571edc707d d3.tail -> iD.ui.Tail 2013-02-27 17:55:23 -08:00
John Firebaugh 95b23b0760 Add another div to the tail (#829) 2013-02-27 17:52:06 -08:00
Tom MacWright 6d01e3e30e Update d3, use custom d3 with stripped layout and dsv modules 2013-02-27 17:24:43 -05:00
Ansis Brammanis ce0122921b merge d3.geo.tile changes from upstream 2013-02-27 15:44:35 -05:00
Ansis Brammanis 358b31389c Fix tail flipping 2013-02-27 14:47:54 -05:00
Ansis Brammanis c97ba3905d Only show tail after mousemove 2013-02-27 13:12:11 -05:00
Ansis Brammanis 9efa81b100 add row select input 2013-02-26 20:02:30 -05:00
Ansis Brammanis a32858caa5 Only debounce taginfo for taglist autocompletion 2013-02-26 12:39:35 -05:00
Ansis Brammanis 051e05dcf7 return after hiding combobox 2013-02-26 11:37:34 -05:00
Ansis Brammanis b247191f62 stop leaving combobox divs lying around 2013-02-26 10:38:41 -05:00
Ansis Brammanis 69d8270d1b fallback to less general local, de-de to de 2013-02-25 11:57:38 -05:00
Ansis Brammanis 8099666f38 Fix tail position 2013-02-22 17:37:06 -05:00
Ansis Brammanis 9732d8c659 Use clientX instead of x, via @porjo 2013-02-22 16:31:49 -05:00
saman bb 22ae78ee4c slight refactor to tooltips and radial menu. 2013-02-21 01:19:18 -05:00
Ansis Brammanis cdec43359d Fix combobox mousedown and drag 2013-02-19 19:33:04 -05:00
Yohan Boniface 6d1fa6b258 Do not show combobox if input has lost focus 2013-02-19 21:35:04 +01:00
Ansis Brammanis 2b4cfe87d0 Fix async combobox 2013-02-19 13:14:12 -05:00
Ansis Brammanis 9b5f506694 Add autocompletion to combobox
Also, don't filter results with input value
when selecting the combobox, so that it
behaves like a select input in this case.
2013-02-19 00:09:46 -05:00
Ansis Brammanis 6330137964 Combobox now settable using select input approach 2013-02-18 18:15:55 -05:00
Ansis Brammanis 876a406e70 Fix combobox bugs
- size and position is recalculated for each
  update so that it works even if input
  isn't rendered when combobox is called
- adds caret differently, for same reason as above
- adds combobox to body to prevent scrolling issues
2013-02-18 16:56:11 -05:00
John Firebaugh eadf460b55 Fix global leaks 2013-02-16 09:02:23 -08:00
Ansis Brammanis 0bb805f557 Merge remote-tracking branch 'systemed/master' into presets
Conflicts:
	css/app.css
	index.html
	js/id/connection.js
	js/id/modes/select.js
	js/id/ui/inspector.js
	js/id/util.js
	test/spec/modes/add_point.js
2013-02-14 11:38:18 -05:00
John Firebaugh 902ae80267 Include all locale files 2013-02-12 16:51:31 -08:00
John Firebaugh 66afcd9923 Platform-specific keybindings
Specifying keybindings that use a command key (⌘ on Mac,
Ctrl on Win/Linux) using the appropriate Mac binding, e.g.
'⌘Z'. Use iD.ui.cmd to translate it to an appropriate key
string for other platforms, e.g. 'Ctrl+Z'.
2013-02-11 11:24:05 -08:00
Tom MacWright 6faf7a27c4 Support zooming with keyboard. Fixes #695 2013-02-09 18:02:09 -05:00
Tom MacWright eb999c47c6 Switch to comboboxes 2013-02-01 17:54:55 -05:00
Tom MacWright 4fbbd1cf82 Update to pre-release 3.0.5 d3 2013-02-01 14:11:32 -05:00
Tom MacWright 3334649354 Merge 2013-01-31 19:42:24 -05:00
Tom MacWright 8eb04ddb4d combobox 2013-01-31 19:41:52 -05:00
Tom MacWright ecb27eaf2f Merge branch 'master' into presets
Conflicts:
	js/id/modes/select.js
2013-01-31 15:14:28 -05:00
Tom MacWright 60c14dc7ac Use typeahead for preset search, support changing presets. Fixes #577 2013-01-31 14:24:05 -05:00
John Firebaugh 8bece3de15 Remove unused 2013-01-31 12:55:35 -05:00
John Firebaugh 852973f61d Fix global leak 2013-01-29 15:03:32 -05:00
John Firebaugh fcbd792e9d Add JXON.stringify 2013-01-28 11:06:14 -05:00
Tom MacWright 2527d57404 Simple map-tail minimalism. Fixes #467 2013-01-24 17:26:52 -05:00
Ansis Brammanis 3a48016e5f Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/util.js
2013-01-23 16:15:29 -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
Ansis Brammanis 9aa74c404d Add rtree.js 2013-01-22 11:01:46 -05:00
Tom MacWright e111ea2aa5 Gracefully handle Opera, which does not support pointer-events 2013-01-17 12:22:11 -05:00
Tom MacWright fd2ef2a78b Rename tooltip to tail, use tail in modes. 2013-01-17 12:07:26 -05:00
Tom MacWright eecc6b14fb First shot at tooltips cc @samanbb 2013-01-16 18:39:12 -05:00
Tom MacWright ad6de1437f Prevent typeahead from falling off length of list 2013-01-16 15:01:21 -05:00
John Firebaugh d5fbe32b1d Remove d3.jsonp (only wiki.js used it) 2013-01-10 21:00:24 -08:00
Tom MacWright 3b5f6dd8bd Support images from the wiki, adds d3.jsonp extension. 2013-01-09 11:31:53 -05:00
Tom MacWright 52312e28fd Fix relative positioned tooltips. Fixes #319 2013-01-07 18:15:02 -05:00
Tom MacWright b410fc196a Update typeahead, fixing overlap issues. Fixes #309 2013-01-04 16:12:13 -05:00
John Firebaugh 4a7bd26be8 Add 'Add Tag' button (#314), needs style
Fixes #281.
2013-01-03 23:16:34 -08:00