<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fzf/src/reader_test.go, branch v0.66.0-custom</title>
<subtitle>Personal fork of fzf</subtitle>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/'/>
<entry>
<title>Remove possible races (#4070)</title>
<updated>2024-11-03T11:12:47+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-11-03T06:14:35+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=19495eb9bbfa874647e7bc69e0fdff49d68b1dcf'/>
<id>19495eb9bbfa874647e7bc69e0fdff49d68b1dcf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --with-shell for shelling out with different command and flags (#3746)</title>
<updated>2024-04-27T09:36:37+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-04-27T09:36:37+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=a4391aeedd4fec1865d2d646711f58d04058531b'/>
<id>a4391aeedd4fec1865d2d646711f58d04058531b</id>
<content type='text'>
Close #3732</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #3732</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unit tests</title>
<updated>2024-02-19T03:39:04+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-02-19T03:39:04+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=ca747a2b5465961b23aa09606412877dd482a874'/>
<id>ca747a2b5465961b23aa09606412877dd482a874</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Code cleanup: Remove unused argument</title>
<updated>2024-02-15T08:11:30+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-02-15T08:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=7a72f1a2531d728d14faf5f61909f9ffa63c8dd3'/>
<id>7a72f1a2531d728d14faf5f61909f9ffa63c8dd3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the tests to run on Windows (#2615)</title>
<updated>2021-09-24T00:45:06+00:00</updated>
<author>
<name>Vlastimil Ovčáčík</name>
<email>vovcacik@github.ovcacik.org</email>
</author>
<published>2021-09-24T00:45:06+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=88d74a15aaeb1e1445180910520e2147060dfc9b'/>
<id>88d74a15aaeb1e1445180910520e2147060dfc9b</id>
<content type='text'>
Most of the "expected" strings in terminal.go test were changed to
"text/template" values. Quotes in those string were parametrized in
the templates. Two functions handling templates were added
for convenience.

Templates has the advantage of:
- parametrize repetitive strings inside "expected" values
  - inner and outer quotes were parametrized in templates
  - long and confusing test values are more readable
- templates can be localized for other operating systems</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the "expected" strings in terminal.go test were changed to
"text/template" values. Quotes in those string were parametrized in
the templates. Two functions handling templates were added
for convenience.

Templates has the advantage of:
- parametrize repetitive strings inside "expected" values
  - inner and outer quotes were parametrized in templates
  - long and confusing test values are more readable
- templates can be localized for other operating systems</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unnecessary reader barrier on --filter mode</title>
<updated>2019-11-11T03:53:03+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2019-11-11T03:53:03+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=73c0a645e0fd80acb5ddb755142834a245745888'/>
<id>73c0a645e0fd80acb5ddb755142834a245745888</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Experimental implementation of "reload" action</title>
<updated>2019-11-10T02:43:37+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2019-11-10T02:36:22+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=78da9287272a0bfa183498c5b2e9fde10a3663a0'/>
<id>78da9287272a0bfa183498c5b2e9fde10a3663a0</id>
<content type='text'>
  # Reload input list with different sources
  seq 10 | fzf --bind 'ctrl-a:reload(seq 100),ctrl-b:reload(seq 1000)'

  # Reload as you type
  seq 10 | fzf --bind 'change:reload:seq {q}' --phony

  # Integration with ripgrep
  RG_PREFIX="rg --column --line-number --no-heading --color=always --smart-case "
  INITIAL_QUERY=""
  FZF_DEFAULT_COMMAND="$RG_PREFIX '$INITIAL_QUERY'" \
    fzf --bind "change:reload:$RG_PREFIX {q} || true" \
        --ansi --phony --query "$INITIAL_QUERY"

Close #751
Close #965
Close #974
Close #1736
Related #1723
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  # Reload input list with different sources
  seq 10 | fzf --bind 'ctrl-a:reload(seq 100),ctrl-b:reload(seq 1000)'

  # Reload as you type
  seq 10 | fzf --bind 'change:reload:seq {q}' --phony

  # Integration with ripgrep
  RG_PREFIX="rg --column --line-number --no-heading --color=always --smart-case "
  INITIAL_QUERY=""
  FZF_DEFAULT_COMMAND="$RG_PREFIX '$INITIAL_QUERY'" \
    fzf --bind "change:reload:$RG_PREFIX {q} || true" \
        --ansi --phony --query "$INITIAL_QUERY"

Close #751
Close #965
Close #974
Close #1736
Related #1723
</pre>
</div>
</content>
</entry>
<entry>
<title>Update FZF_DEFAULT_COMMAND</title>
<updated>2017-09-28T14:05:02+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2017-09-28T14:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=ee40212e9772941b49a4bdb1e95f99913cdea469'/>
<id>ee40212e9772941b49a4bdb1e95f99913cdea469</id>
<content type='text'>
- Use bash for `set -o pipefail`
- Fall back to simpler find command when the original command failed

Related: #1061
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use bash for `set -o pipefail`
- Fall back to simpler find command when the original command failed

Related: #1061
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Reader event notification asynchronous</title>
<updated>2017-08-15T18:33:48+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2017-08-15T18:24:23+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=487c8fe88f4cfcc55850b8aef73665b1d09b8fe0'/>
<id>487c8fe88f4cfcc55850b8aef73665b1d09b8fe0</id>
<content type='text'>
Instead of notifying the event coordinator (EventBox) whenever a new
line is arrived, start a background goroutine that periodically does the
task. Atomic.StoreInt32 is much cheaper than mutex synchronization
that happens during EventBox update.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of notifying the event coordinator (EventBox) whenever a new
line is arrived, start a background goroutine that periodically does the
task. Atomic.StoreInt32 is much cheaper than mutex synchronization
that happens during EventBox update.
</pre>
</div>
</content>
</entry>
<entry>
<title>Performance fix - unnecessary rune convertion on --ansi</title>
<updated>2015-08-02T05:25:57+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2015-08-02T05:25:57+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=e13bafc1abaea9a9f3142eb58be1e977ca97e114'/>
<id>e13bafc1abaea9a9f3142eb58be1e977ca97e114</id>
<content type='text'>
    &gt; time cat /tmp/list | fzf-0.10.1-darwin_amd64 --ansi -fqwerty &gt; /dev/null

    real    0m4.364s
    user    0m8.231s
    sys     0m0.820s

    &gt; time cat /tmp/list | fzf --ansi -fqwerty &gt; /dev/null

    real    0m4.624s
    user    0m5.755s
    sys     0m0.732s
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    &gt; time cat /tmp/list | fzf-0.10.1-darwin_amd64 --ansi -fqwerty &gt; /dev/null

    real    0m4.364s
    user    0m8.231s
    sys     0m0.820s

    &gt; time cat /tmp/list | fzf --ansi -fqwerty &gt; /dev/null

    real    0m4.624s
    user    0m5.755s
    sys     0m0.732s
</pre>
</div>
</content>
</entry>
</feed>
