<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Passextract/src, branch reset-clipboard</title>
<subtitle>An interface to easily copy login information from Pass</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/'/>
<entry>
<title>Use ClipboardStore to set clipboard</title>
<updated>2016-09-05T07:07:52+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-09-05T07:07:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=95165cfa696259768dd9173ba2134f8e77025f0e'/>
<id>95165cfa696259768dd9173ba2134f8e77025f0e</id>
<content type='text'>
Swap ClipboardContext with ClipboardStore to copy to the system
clipboard.

Also add some documentation to the ClipboardStore::set_context function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Swap ClipboardContext with ClipboardStore to copy to the system
clipboard.

Also add some documentation to the ClipboardStore::set_context function.
</pre>
</div>
</content>
</entry>
<entry>
<title>ClipboardStore: Rename "last", only set it on first run</title>
<updated>2016-09-05T06:58:10+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-09-05T06:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=c1950f087ec24e947ce739875e181ca2ff69f21e'/>
<id>c1950f087ec24e947ce739875e181ca2ff69f21e</id>
<content type='text'>
* Rename `last` to `original` because we only want to set it the first
  time we set the clipboard. Subsequent times we set the clipboard
  contents should not affect this saved value.
* Only set `original` on first run of the clipboard `set_contents`
  function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename `last` to `original` because we only want to set it the first
  time we set the clipboard. Subsequent times we set the clipboard
  contents should not affect this saved value.
* Only set `original` on first run of the clipboard `set_contents`
  function.
</pre>
</div>
</content>
</entry>
<entry>
<title>ClipboardStore proof of concept</title>
<updated>2016-09-05T06:44:11+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-09-05T06:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=07558bf1a6e681d5492f2e0112d94fd584aa8d0f'/>
<id>07558bf1a6e681d5492f2e0112d94fd584aa8d0f</id>
<content type='text'>
The new type `ClipboardStore` wraps `ClipboardContext`, allowing us to
save the contents of the clipboard before resetting it. We will then be
able to reset the clipboard to this original value.

This commit includes some old code from when I was originally thinking
about this problem before I decided to make a separate module for it.
That code should be deleted.

One caveat to think about in the future is how to reset the clipboard to
the original value after a period of time. In other words, how to pass
the original contents value to a spawned child process.

Also, we need to make sure that we're only setting `last` once.
Subsequent calls should not change the `last` value. And now that I
think about that, "last" is probably the wrong name for this. It should
be something like "original".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new type `ClipboardStore` wraps `ClipboardContext`, allowing us to
save the contents of the clipboard before resetting it. We will then be
able to reset the clipboard to this original value.

This commit includes some old code from when I was originally thinking
about this problem before I decided to make a separate module for it.
That code should be deleted.

One caveat to think about in the future is how to reset the clipboard to
the original value after a period of time. In other words, how to pass
the original contents value to a spawned child process.

Also, we need to make sure that we're only setting `last` once.
Subsequent calls should not change the `last` value. And now that I
think about that, "last" is probably the wrong name for this. It should
be something like "original".
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for `g` and `G` movements</title>
<updated>2016-08-17T23:42:54+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-17T23:42:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=7cdc4aab7d142b83cf85cf42de92971874d53fce'/>
<id>7cdc4aab7d142b83cf85cf42de92971874d53fce</id>
<content type='text'>
`g`: moves the selection to the first option
`G`: moves the selection to the last option

This allows for faster selection if there are more than 2–3 options.

Using `g` still allows `gg` to work since doubling the command doesn't
change its meaning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`g`: moves the selection to the first option
`G`: moves the selection to the last option

This allows for faster selection if there are more than 2–3 options.

Using `g` still allows `gg` to work since doubling the command doesn't
change its meaning.
</pre>
</div>
</content>
</entry>
<entry>
<title>strip_key: Fix for values that contain ": "</title>
<updated>2016-08-07T00:43:09+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-07T00:43:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=874d653d420ea98680dd820f3bdd60afb3931747'/>
<id>874d653d420ea98680dd820f3bdd60afb3931747</id>
<content type='text'>
Values that contained ": " would not be parsed correctly for copying to
the clipboard. If, for example, a password contained ": ", those
characters and any following them wouldn't be copied. This change allows
such passwords to be copied correctly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Values that contained ": " would not be parsed correctly for copying to
the clipboard. If, for example, a password contained ": ", those
characters and any following them wouldn't be copied. This change allows
such passwords to be copied correctly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (GPLv3+)</title>
<updated>2016-08-06T12:43:42+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-06T12:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=01ae017a7dc2c66428c7db28dbf38f6efdbe09ab'/>
<id>01ae017a7dc2c66428c7db28dbf38f6efdbe09ab</id>
<content type='text'>
Also include brief notices in the source files. Not a fan of the huge
blocks of text that the FSF recommends.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also include brief notices in the source files. Not a fan of the huge
blocks of text that the FSF recommends.
</pre>
</div>
</content>
</entry>
<entry>
<title>parse_options: Add a short sentence of documentation</title>
<updated>2016-08-06T12:11:51+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-06T12:11:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=9481309d1d118afe97f161cba00625ac68ab2b62'/>
<id>9481309d1d118afe97f161cba00625ac68ab2b62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract options from both `pass` and STDIN</title>
<updated>2016-08-06T12:06:54+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-06T12:06:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=b9d53190baee46674f01b41f099dfebb85ae22fa'/>
<id>b9d53190baee46674f01b41f099dfebb85ae22fa</id>
<content type='text'>
Get option extraction/parsing working both for STDIN and for calls to
`pass show`.

If no argument is passed to the executable or the first argument is "-",
options are read from STDIN. Otherwise, the first argument is passed to
`pass show`, the output of which is parsed as options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Get option extraction/parsing working both for STDIN and for calls to
`pass show`.

If no argument is passed to the executable or the first argument is "-",
options are read from STDIN. Otherwise, the first argument is passed to
`pass show`, the output of which is parsed as options.
</pre>
</div>
</content>
</entry>
<entry>
<title>Call `pass show` with the given argument and run Passextract on result</title>
<updated>2016-08-06T11:29:17+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-06T11:29:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=494742673e26628f9b98185321db737b936af954'/>
<id>494742673e26628f9b98185321db737b936af954</id>
<content type='text'>
Temporarily comment out code that deals with STDIN to get this feature
working. It complicated things to leave it in right now.

Given an argument that isn't "-" (STDIN), we pass that argument to `pass
show`. Users correctly get a password prompt from `pass`, and the output
from the command gets sent to the Passextract TUI for display in the
menu and copying.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Temporarily comment out code that deals with STDIN to get this feature
working. It complicated things to leave it in right now.

Given an argument that isn't "-" (STDIN), we pass that argument to `pass
show`. Users correctly get a password prompt from `pass`, and the output
from the command gets sent to the Passextract TUI for display in the
menu and copying.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add documentation for `strip_key`</title>
<updated>2016-08-06T09:58:07+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2016-08-06T09:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Passextract/commit/?id=97feec40b57031156196af7c61ccbc2aba6ec8d7'/>
<id>97feec40b57031156196af7c61ccbc2aba6ec8d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
