<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vimium/tests, branch 1.52</title>
<subtitle>The hacker's browser.</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/'/>
<entry>
<title>Merge branch 'hud-iframe-input-with-store-all-settings'</title>
<updated>2015-06-25T04:28:01+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-25T04:28:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=cb42acfc59c10df4c0fd56f068c83c7509d5a237'/>
<id>cb42acfc59c10df4c0fd56f068c83c7509d5a237</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'store-all-settings' into hud-iframe-input-with-store-all-settings</title>
<updated>2015-06-25T04:09:36+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-25T04:09:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=e5faeff7d48a206a080a56a6541963d2d3c86da7'/>
<id>e5faeff7d48a206a080a56a6541963d2d3c86da7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test that every option has a default value.</title>
<updated>2015-06-20T06:00:24+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-20T05:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=1e671e28fd1f348b17ee16351c1a0b03f9d15e4f'/>
<id>1e671e28fd1f348b17ee16351c1a0b03f9d15e4f</id>
<content type='text'>
This prevents issues like #1731 and is an (better) alternative to #1732.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This prevents issues like #1731 and is an (better) alternative to #1732.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix non-default front-end settings.</title>
<updated>2015-06-17T04:53:01+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-17T04:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=8ff1aef751a533c17e683207dae1eb165b210f92'/>
<id>8ff1aef751a533c17e683207dae1eb165b210f92</id>
<content type='text'>
(@mrmr1993: This is yet another approach to the Settings problem.)

With the new Settings implemetation, settings which have a non-default
value and which are not in synced storage (that is, they have not been
changed since synced storage was introduced) are not currently
accessible to content scripts.  This commit makes such settings
accessible via chrome.storage.local.

Important:
- There's a change to the established settings data model here.
  Previously, settings with default values were not stored; here, they
  are.  This eliminates a considerable amount logic from Settings, but
  means that migrations will be required if default values are changed
  in future.  (Other than type changes, have we ever changed a default
  value?)
- There's also a change (bug fix?) to the behaviour when an affected
  setting is reset to its default value.  Previously, the change would
  *not* have been synced (whereas all other changes are).  Here, such
  changes *are* synced.  The previous behaviour was inconsistent with
  the syncing behaviour of all other options changes.

Note:
- This isn't particularly well tested.  It's being committed mainly just
  for consideration of the approach, initially.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(@mrmr1993: This is yet another approach to the Settings problem.)

With the new Settings implemetation, settings which have a non-default
value and which are not in synced storage (that is, they have not been
changed since synced storage was introduced) are not currently
accessible to content scripts.  This commit makes such settings
accessible via chrome.storage.local.

Important:
- There's a change to the established settings data model here.
  Previously, settings with default values were not stored; here, they
  are.  This eliminates a considerable amount logic from Settings, but
  means that migrations will be required if default values are changed
  in future.  (Other than type changes, have we ever changed a default
  value?)
- There's also a change (bug fix?) to the behaviour when an affected
  setting is reset to its default value.  Previously, the change would
  *not* have been synced (whereas all other changes are).  Here, such
  changes *are* synced.  The previous behaviour was inconsistent with
  the syncing behaviour of all other options changes.

Note:
- This isn't particularly well tested.  It's being committed mainly just
  for consideration of the approach, initially.
</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>Fix bug relating to duplicate hint strings.</title>
<updated>2015-06-10T15:52:16+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-10T15:39:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=61764d812a37ca2c29b3b7ddde878f25250abf81'/>
<id>61764d812a37ca2c29b3b7ddde878f25250abf81</id>
<content type='text'>
(Not sure when this crept in.)

We need to ensure that we always generate the same hint strings for the
same filter state.  Here, we do this by always using the same mechanism
(@filterLinkHints) to set the hint strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(Not sure when this crept in.)

We need to ensure that we always generate the same hint strings for the
same filter state.  Here, we do this by always using the same mechanism
(@filterLinkHints) to set the hint strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make LinkHints a class (LinkHintsMode).</title>
<updated>2015-06-09T13:47:39+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-09T13:47:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=98a3f4c96e8b189ca142f7cccbc1ef995c158b9d'/>
<id>98a3f4c96e8b189ca142f7cccbc1ef995c158b9d</id>
<content type='text'>
Functionality wise, this is a no-op.  However, since we now create a new
LinkHintsMode object on every "f", we don't need to be so careful about
resetting the state on exit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Functionality wise, this is a no-op.  However, since we now create a new
LinkHintsMode object on every "f", we don't need to be so careful about
resetting the state on exit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor and eliminate Sync object.</title>
<updated>2015-06-01T10:12:03+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-01T09:53:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=5f0400ebac5867df74225b987ea1238bdaeb40b2'/>
<id>5f0400ebac5867df74225b987ea1238bdaeb40b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove LinkHints.init()...</title>
<updated>2015-06-01T08:46:43+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-01T08:46:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=e8476682362b9648aba874e8581fe9076479f734'/>
<id>e8476682362b9648aba874e8581fe9076479f734</id>
<content type='text'>
LinkHints.init() isn't doing anything.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LinkHints.init() isn't doing anything.
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-work unified settings.</title>
<updated>2015-06-01T06:56:02+00:00</updated>
<author>
<name>Stephen Blott</name>
</author>
<published>2015-06-01T06:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/vimium/commit/?id=c62ffa33ad5230b89f44cb8f3268e6a4e48afd52'/>
<id>c62ffa33ad5230b89f44cb8f3268e6a4e48afd52</id>
<content type='text'>
This is a minor re-working of #1705 from @mrmr1993.

The main changes are:
   - Simplify initialisation logic.
   - Always initialise Settings immediately and automatically (ie. don't
     initialise Settings separately and manually in the background,
     content scripts, options and tests).
   - Get rid of addEventListener (it's only being used for on "load").
   - Add Settings.use() in its place.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a minor re-working of #1705 from @mrmr1993.

The main changes are:
   - Simplify initialisation logic.
   - Always initialise Settings immediately and automatically (ie. don't
     initialise Settings separately and manually in the background,
     content scripts, options and tests).
   - Get rid of addEventListener (it's only being used for on "load").
   - Add Settings.use() in its place.
</pre>
</div>
</content>
</entry>
</feed>
