summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Check for too long haystackJohn Hawthorn2020-08-08
| | | | Fixes #145
* Fix --show-info when lines do not fit in the screenMārtiņš Mačs2020-01-29
|
* fix acceptance testsOndrej Martinek2019-12-27
|
* show selection info (with -i option)Ondrej Martinek2019-12-27
|
* Merge pull request #125 from gpanders/ctrl-g-exitJohn Hawthorn2019-12-27
|\ | | | | Cancel with Ctrl-G
| * Cancel with Ctrl-GGreg Anders2019-10-13
| |
* | Avoid VLA in tty_interfaceJohn Hawthorn2019-12-27
| |
* | Remove strlen in precompute_bonusJohn Hawthorn2019-12-27
| | | | | | | | Pretty sure this was optimized out anyways, but this is cleaner IMO.
* | Use malloc in match_positions to avoid VLAJohn Hawthorn2019-12-27
| |
* | Remove DEBUG_VERBOSEJohn Hawthorn2019-12-27
| |
* | Reduce memory and avoid VLA in match()John Hawthorn2019-12-27
| | | | | | | | | | When we're matching without recording positions, we only need to keep two rows in memory at a time.
* | Split match and match_postitionsJohn Hawthorn2019-12-27
| |
* | Extract row matching into own methodJohn Hawthorn2019-12-27
| |
* | Move some temporary storage into match_structJohn Hawthorn2019-12-27
| |
* | Break early if strlen(neddle) > strlen(haystack)John Hawthorn2019-12-27
| | | | | | | | | | This should never happen if this is called properly (match only returns valid results if there IS a match), but it's nice to double check here.
* | Combine early-return if as else ifJohn Hawthorn2019-12-27
| |
* | Work with row pointersJohn Hawthorn2019-12-27
| |
* | Avoid VLA for match_bonusJohn Hawthorn2019-12-27
| |
* | Avoid VLA for lower_{needle,haystack}John Hawthorn2019-12-27
|/
* Simplify input_delimiter handlingJohn Hawthorn2019-08-16
|
* Add ability to use null as input delimiter.Ashkan Kiani2019-08-16
| | | | | Update tty to print newline as space Add tty_putc
* Set default options in config.def.hJohn Hawthorn2019-02-02
|
* Precompute tolower in match_positionsJohn Hawthorn2018-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.0John Hawthorn2018-09-23
|
* Use do {} while in action_del_charJohn Hawthorn2018-09-23
|
* Remove unnecessary check from action_del_charJohn Hawthorn2018-09-23
|
* Better pselect error handlingJohn Hawthorn2018-09-23
|
* Redraw on signalsJohn Hawthorn2018-09-23
|
* Allow -1 timeout to mean infiniteJohn Hawthorn2018-09-23
|
* Allow masking signals in tty_input_readyJohn Hawthorn2018-09-23
|
* Return 0 on pselect EINTRJohn Hawthorn2018-09-23
|
* Switch to pselectJohn Hawthorn2018-09-23
|
* Pass a timeout to tty_input_readyJohn Hawthorn2018-09-23
|
* Reduce ambiguous char wait time to 25msJohn Hawthorn2018-09-09
|
* Merge branch 'abort_on_escape'John Hawthorn2018-09-09
|\
| * Abort if Esc is pressedJason Felice2018-05-04
| |
| * Initialize fd_set correctlyJason Felice2018-05-04
| |
* | Fix formattingJohn Hawthorn2018-09-09
| |
* | Disable line wrap when printing candidatesJohn Hawthorn2018-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 wrapJohn Hawthorn2018-09-09
| |
* | Merge pull request #77 from syrrim/uniJohn Hawthorn2018-09-09
|\ \ | | | | | | Add utf-8 support to input, fixes #21
| * | add utf-8 support to input, fixes #21syrrim2018-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 itemMichael Mackus2018-07-18
| |
* | Merge pull request #86 from neuschaefer/typoJohn Hawthorn2018-06-18
|\ \ | | | | | | choices: Fix a typo ("stings")
| * | choices: Fix a typo ("stings")Jonathan Neuschäfer2018-06-17
| | |
* | | Fix reading choices if stdin is a ttyJohn Hawthorn2018-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 choicesJohn Hawthorn2018-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-KJonathan Neuschäfer2018-06-17
|/ | | | Fixes: 5a3ce8b ("Support movement with CTRL-J/CTRL-K")
* Merge pull request #71 from tgeng/masterJohn Hawthorn2018-04-21
|\ | | | | Support cursor jumping with Home and End keys
| * Fix home/end support on MacTianyu Geng2018-03-19
| |