<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vimium/tests/dom_tests/dom_tests.html, branch v1.61</title>
<subtitle>The hacker's browser.</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/'/>
<entry>
<title>Refactor DomUtils.documentReady.</title>
<updated>2016-04-02T11:27:21+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2016-04-02T11:12:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=57c3cae5abd5c796b093ad02661b040b2c877fc4'/>
<id>57c3cae5abd5c796b093ad02661b040b2c877fc4</id>
<content type='text'>
We do not need to install separate event listeners for every callback.
Just install one listener and keep track of the callbacks ourself.

This is clearer, and also determines the order in which callbacks are
called.  (Although, we don't rely on that currently.)

This also adds a tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We do not need to install separate event listeners for every callback.
Just install one listener and keep track of the callbacks ourself.

This is clearer, and also determines the order in which callbacks are
called.  (Although, we don't rely on that currently.)

This also adds a tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework visual mode.</title>
<updated>2016-03-21T12:04:27+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2016-03-21T09:09:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=8783569983d8b3634b1b1eed9b6560dbea5698ab'/>
<id>8783569983d8b3634b1b1eed9b6560dbea5698ab</id>
<content type='text'>
- Refactor the three visual-mode modes.
- Use the key-handling framework from #2022.
- Strip some legacy edit-mode code.
- Rename the file (the old file name was misleading).
- Add "aw" and "as", previously we had the code for this from edit mode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Refactor the three visual-mode modes.
- Use the key-handling framework from #2022.
- Strip some legacy edit-mode code.
- Rename the file (the old file name was misleading).
- Add "aw" and "as", previously we had the code for this from edit mode.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename visual mode file.</title>
<updated>2016-03-21T05:28:46+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2016-03-21T05:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=17715e5eed068722ce74fae05a51d67f65cef77c'/>
<id>17715e5eed068722ce74fae05a51d67f65cef77c</id>
<content type='text'>
This previous file name was chosen when we (I) had the intention of
implementing edit mode too.

That initiative has been abandoned, so the file name is inappropriate.

Renaming now in preparation for a significant refactoring of visual
mode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This previous file name was chosen when we (I) had the intention of
implementing edit mode too.

That initiative has been abandoned, so the file name is inappropriate.

Renaming now in preparation for a significant refactoring of visual
mode.
</pre>
</div>
</content>
</entry>
<entry>
<title>Key bindings; refactor passKeys.</title>
<updated>2016-03-05T05:39:33+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2016-02-29T06:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=9cfa00bc7db3e07c3abbeb09e483d9fdf20bbc17'/>
<id>9cfa00bc7db3e07c3abbeb09e483d9fdf20bbc17</id>
<content type='text'>
Previously, the key-handling logic (keyQueue, etc) was and the backend
whereas passKeys were handled in the content scripts - so they were a
long way apart.

Now that they're in the same place, it makes more sense to integrate
passKey handling into the regular key handling, because they depend upon
the same data structures.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the key-handling logic (keyQueue, etc) was and the backend
whereas passKeys were handled in the content scripts - so they were a
long way apart.

Now that they're in the same place, it makes more sense to integrate
passKey handling into the regular key handling, because they depend upon
the same data structures.
</pre>
</div>
</content>
</entry>
<entry>
<title>Key bindings; fix tests...</title>
<updated>2016-03-05T05:38:30+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2016-02-28T14:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=520b63cb1d64fb5a293988122007bd05bacc49db'/>
<id>520b63cb1d64fb5a293988122007bd05bacc49db</id>
<content type='text'>
... and fix two bugs:

- not suppressing keyup event after keyChar matched in keydown.
- we cannot check the passKeys keyChar in keyup because the key state
  has changed; so we track what the next keyup response should be.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and fix two bugs:

- not suppressing keyup event after keyChar matched in keydown.
- we cannot check the passKeys keyChar in keyup because the key state
  has changed; so we track what the next keyup response should be.
</pre>
</div>
</content>
</entry>
<entry>
<title>Block keyboard events when a filtered hint matches.</title>
<updated>2015-10-02T05:40:45+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-10-02T05:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=c9af886a92e4b686456b34949e907a9d79fb223e'/>
<id>c9af886a92e4b686456b34949e907a9d79fb223e</id>
<content type='text'>
Previously, we blocked keyboard events for a fixed 200ms.

With this PR, we continue blocking keyboard events until 150ms after the
last `keydown` or `keypress` event.  So, we wait until we think the user
has stopped typing.

Fixes #1842.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, we blocked keyboard events for a fixed 200ms.

With this PR, we continue blocking keyboard events until 150ms after the
last `keydown` or `keypress` event.  So, we wait until we think the user
has stopped typing.

Fixes #1842.
</pre>
</div>
</content>
</entry>
<entry>
<title>Guard against chrome being undefined in the HUD iframe</title>
<updated>2015-06-10T16:22:21+00:00</updated>
<author>
<name>mrmr1993</name>
</author>
<published>2015-06-02T16:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=73c651465d1395e23daae01b0ae2a3df5b24a789'/>
<id>73c651465d1395e23daae01b0ae2a3df5b24a789</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite settings as a tight wrapper around Settings, tweaks for tests</title>
<updated>2015-05-31T16:51:01+00:00</updated>
<author>
<name>mrmr1993</name>
</author>
<published>2015-05-31T15:35:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=0de6b076271b673d0e1dcc2b74b2ddd1646bf08e'/>
<id>0de6b076271b673d0e1dcc2b74b2ddd1646bf08e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move the HUD to its own file</title>
<updated>2015-05-11T15:33:41+00:00</updated>
<author>
<name>mrmr1993</name>
</author>
<published>2015-05-11T15:04:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=ecf2535be3655a1309f7fcf5fb0040addb7c97fd'/>
<id>ecf2535be3655a1309f7fcf5fb0040addb7c97fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix error on yank/scroll.</title>
<updated>2015-02-11T05:52:14+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-02-11T05:47:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=91767943290f799ce99a935a8ce19f1766508d91'/>
<id>91767943290f799ce99a935a8ce19f1766508d91</id>
<content type='text'>
When we exit visual mode with "y"...

"y" is a command for visual mode.  Currently it clears the selection.
Because it's executed as a command, scrollIntoView is called after
running the command.  Because the selection is cleared, scrollIntoView
found nothing to scroll, and was creating an error.

So we need to check whether there's anything to scroll into view, before
trying to scroll it.

Also fix mis-named file in the tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we exit visual mode with "y"...

"y" is a command for visual mode.  Currently it clears the selection.
Because it's executed as a command, scrollIntoView is called after
running the command.  Because the selection is cleared, scrollIntoView
found nothing to scroll, and was creating an error.

So we need to check whether there's anything to scroll into view, before
trying to scroll it.

Also fix mis-named file in the tests.
</pre>
</div>
</content>
</entry>
</feed>
