Commit Graph

32 Commits

Author SHA1 Message Date
Bryan Housel
4840fea0bc Don't autocomplete numeric values in the combobox
(closes #4935)
2018-03-27 22:15:19 -04:00
Bryan Housel
baeff8f59c Don't autocomplete a longer value if search matches a value exactly
(closes #4549)
2018-01-02 17:55:25 -05:00
Bryan Housel
c40f242b82 Depend on bhousel/node-diff3 which includes fix for hunk sorting bug
(closes #3544, closes #3058)
2017-10-24 15:38:52 -04:00
Bryan Housel
2d665dbc1b Ignore Ctrl and Alt if both are present (e.g. AltGr on Windows)
(see #4096)
2017-06-09 11:42:35 -04:00
Bryan Housel
d07d20cba7 Drop custom "classed" chai assertation and just use d3 2017-04-24 10:27:29 -04:00
Bryan Housel
f2f21a090e Allow combobox to nest under id-container instead of body
(re: https://github.com/openstreetmap/iD/issues/3925#issuecomment-290718356)
2017-03-31 11:27:32 -04:00
Bryan Housel
2273a6ed43 Allow multiple key bindings to be specified in an array 2016-11-04 09:41:44 -04:00
Tom MacWright
81c9c4bd95 Remove event-sim test 2016-09-06 17:37:26 -04:00
Tom MacWright
b7fffbd281 phantomjs doesn't support FocusEvent, moving back to makeEvent 2016-09-06 17:33:47 -04:00
Tom MacWright
97ac0c06f1 Fix d3 reference 2016-09-05 11:07:33 -04:00
Tom MacWright
ed135ce9ef Enable lib tests 2016-09-05 10:22:45 -04:00
Bryan Housel
747b9f37d5 Pacify eslint 2016-07-24 17:39:06 -07:00
Tom MacWright
af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Bryan Housel
244dd1f46e Cleanup .eslint in spec folder 2016-07-19 12:31:02 -04:00
Kushan Joshi
fe92a53e31 Add linting to spec/lib 2016-06-15 18:26:11 +05:30
Bryan Housel
0f17f64eca Don't call keybinding callbacks multiple times, stricter capture/bubble checks 2016-05-16 14:20:09 -04:00
Bryan Housel
ae15275252 Add caseSensitive option to d3.combobox 2016-04-15 10:54:52 -04:00
Bryan Housel
66e8f78aa7 Prefer suggested capitalization over user value in combobox (closes #2791) 2015-10-17 23:17:17 -04:00
Bryan Housel
381142356b add Diff3 library 2014-12-13 22:49:44 -05:00
John Firebaugh
3e2968310b Ensure "New Relation..." is always available (fixes #2066) 2014-01-03 13:00:36 -08:00
John Firebaugh
8c30278d2d Show all combobox entries when clicking the caret (fixes #1755) 2013-10-11 15:18:10 -07:00
John Firebaugh
416a92f5f5 Don't show combobox menu with only one item 2013-10-11 14:20:31 -07:00
John Firebaugh
c4cb8729eb Fix tab behavior in tag list 2013-06-21 20:10:35 -07:00
John Firebaugh
f3a089d837 Fix combobox autocomplete behavior for taginfo 2013-06-21 19:51:44 -07:00
John Firebaugh
aecb07a41a Refining combobox behavior, with tests 2013-06-21 19:23:54 -07:00
John Firebaugh
7133d316cd Fix specs 2013-03-12 13:00:32 -07:00
Tom MacWright
3e69ef6f9e Fix tests and global leak 2013-03-07 17:53:36 -05: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
John Firebaugh
502f35869c Fall back to en strings (fixes #738) 2013-02-12 10:40:41 -08: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
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