Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Simplify input_delimiter handling | John Hawthorn | 2019-08-16 |
| | |||
* | Add ability to use null as input delimiter. | Ashkan Kiani | 2019-08-16 |
| | | | | | Update tty to print newline as space Add tty_putc | ||
* | Set default options in config.def.h | John Hawthorn | 2019-02-02 |
| | |||
* | Precompute tolower in match_positions | John Hawthorn | 2018-10-13 |
| | | | | | | | | | | | | | | | This makes match_positions significantly faster on MacOS by calling tolower() O(N) times instead of O(N*N) Before: $ time ./fzy -e linux --benchmark < linux_files.txt ./fzy -e linux --benchmark < linux_files.txt 13.24s user 0.03s system 381% cpu 3.483 total After: $ time ./fzy -e linux --benchmark < linux_files.txt ./fzy -e linux --benchmark < linux_files.txt 4.57s user 0.02s system 381% cpu 1.204 total | ||
* | Version 1.0 | John Hawthorn | 2018-09-23 |
| | |||
* | Use do {} while in action_del_char | John Hawthorn | 2018-09-23 |
| | |||
* | Remove unnecessary check from action_del_char | John Hawthorn | 2018-09-23 |
| | |||
* | Better pselect error handling | John Hawthorn | 2018-09-23 |
| | |||
* | Redraw on signals | John Hawthorn | 2018-09-23 |
| | |||
* | Allow -1 timeout to mean infinite | John Hawthorn | 2018-09-23 |
| | |||
* | Allow masking signals in tty_input_ready | John Hawthorn | 2018-09-23 |
| | |||
* | Return 0 on pselect EINTR | John Hawthorn | 2018-09-23 |
| | |||
* | Switch to pselect | John Hawthorn | 2018-09-23 |
| | |||
* | Pass a timeout to tty_input_ready | John Hawthorn | 2018-09-23 |
| | |||
* | Reduce ambiguous char wait time to 25ms | John Hawthorn | 2018-09-09 |
| | |||
* | Merge branch 'abort_on_escape' | John Hawthorn | 2018-09-09 |
|\ | |||
| * | Abort if Esc is pressed | Jason Felice | 2018-05-04 |
| | | |||
| * | Initialize fd_set correctly | Jason Felice | 2018-05-04 |
| | | |||
* | | Fix formatting | John Hawthorn | 2018-09-09 |
| | | |||
* | | Disable line wrap when printing candidates | John Hawthorn | 2018-09-09 |
| | | | | | | | | | | This solves the line wrapping issue with much simpler code, which also works better with Unicode characters and when the terminal is resized. | ||
* | | Add sequence to disable line wrap | John Hawthorn | 2018-09-09 |
| | | |||
* | | Merge pull request #77 from syrrim/uni | John Hawthorn | 2018-09-09 |
|\ \ | | | | | | | Add utf-8 support to input, fixes #21 | ||
| * | | add utf-8 support to input, fixes #21 | syrrim | 2018-04-23 |
| |/ | | | | | | | | | | | - non ascii bytes won't be ignored - one can seek over and delete whole utf-8 codepoints at a time - the cursor will be positioned properly around double width chars | ||
* | | Add support for underlining selected item | Michael Mackus | 2018-07-18 |
| | | |||
* | | Merge pull request #86 from neuschaefer/typo | John Hawthorn | 2018-06-18 |
|\ \ | | | | | | | choices: Fix a typo ("stings") | ||
| * | | choices: Fix a typo ("stings") | Jonathan Neuschäfer | 2018-06-17 |
| | | | |||
* | | | Fix reading choices if stdin is a tty | John Hawthorn | 2018-06-17 |
| | | | | | | | | | | | | | | | Previously we deferred reading choices to after initializing the tty. This makes sense only when stdin and our tty aren't the same. | ||
* | | | Initialize tty before reading choices | John Hawthorn | 2018-06-17 |
|/ / | | | | | | | | | | | | | | | | | It's possible for user input to arrive while fzy was still reading choices from stdin. Previously, this would happen before the correct termios were set, causing fzy to misinterpret Enter as Ctrl-J for example. Fixes #81 | ||
* / | tty_interface: Fix comments about CTRL-J and CTRL-K | Jonathan Neuschäfer | 2018-06-17 |
|/ | | | | Fixes: 5a3ce8b ("Support movement with CTRL-J/CTRL-K") | ||
* | Merge pull request #71 from tgeng/master | John Hawthorn | 2018-04-21 |
|\ | | | | | Support cursor jumping with Home and End keys | ||
| * | Fix home/end support on Mac | Tianyu Geng | 2018-03-19 |
| | | |||
| * | Support cursor jumping with Home and End keys | Tianyu Geng | 2018-02-05 |
| | | |||
* | | tty_interface: Don't show score if it doesn't fit | Jonathan Neuschäfer | 2018-01-24 |
|/ | |||
* | Rewrite cursor implementation | John Hawthorn | 2017-10-16 |
| | | | | | | | Index the cursor from the beginning instead of the end, which is easier (at least for me) to think about. This also fixes issues with Ctrl-W in the previous implementation. | ||
* | Merge pull request #46 from keith/ks/arrow-keys | John Hawthorn | 2017-10-07 |
|\ | | | | | Support arrow key movements | ||
| * | Support arrow key movements | Keith Smiley | 2017-08-13 |
| | | |||
* | | Fix line maximum line length when scores are shown | Jonathan Neuschäfer | 2017-09-24 |
|/ | |||
* | Ignore bracketed paste characters | Keith Smiley | 2017-08-13 |
| | |||
* | Add acceptance test for --help | John Hawthorn | 2017-02-07 |
| | | | | Also shorten help to fit 80 characters wide terminal. | ||
* | Add -j option to control parallelism | John Hawthorn | 2017-01-31 |
| | |||
* | Pass options to choices_init | John Hawthorn | 2017-01-31 |
| | |||
* | Merge partially sorted lists in parallel | John Hawthorn | 2017-01-26 |
| | |||
* | Replace k-way-merge with 2-way merge | John Hawthorn | 2017-01-26 |
| | |||
* | Perform sort in parallel | John Hawthorn | 2017-01-26 |
| | |||
* | Fix memory leak of job | John Hawthorn | 2017-01-26 |
| | |||
* | Support movement with CTRL-J/CTRL-K | Michael Stock | 2017-01-17 |
| | |||
* | Improve parallelism of search workers | John Hawthorn | 2017-01-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the list of candidates was split between threads a priori, with each thread being evenly distributed a contiguous range from the search candidates. This did a bad job of distributing the work evenly. There are likely to be areas with significantly more matches than others (ex. files within directories which match the search terms), as well as areas with longer strings than others (ex. deep directories). Because of the type of data fzy receives, work allocation needs to be dynamic. This commit changes the workers to operate on the candidates in batches, until they have all been processed. Batches are allocated by locking a mutex and grabbing the next available range of BATCH_SIZE candidates. BATCH_SIZE is currently set at 512, which worked best on my laptop in a quick test. This will always be a compromise. Small batch sizes will distribute the work more evenly, but larger batch sizes will be friendlier to CPU caches. Quick testing: Before: ./fzy -e drivers --benchmark < linux_files.txt 1.69s user 0.03s system 163% cpu 1.053 total After: ./fzy -e drivers --benchmark < linux_files.txt 2.12s user 0.02s system 296% cpu 0.721 total | ||
* | Store choices on job struct | John Hawthorn | 2017-01-08 |
| | |||
* | Create search_job struct | John Hawthorn | 2017-01-08 |
| | |||
* | Remove unused and uninitialized worker struct var | John Hawthorn | 2017-01-08 |
| |