Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-22 | Add page up & page down keybindings. | Phil Jones | |
2022-12-21 | Fix compilation with Harfbuzz < 4.0.0. | Phil Jones | |
2022-12-21 | Add text cursor support. | Phil Jones | |
This turned out to be much more complex than anticipated, and the potential for bugs is therefore quite high. | |||
2022-12-11 | Add home path substitution for --font option. | niki-on-github | |
2022-12-11 | Fix a couple of cache-generation memory leaks. | Phil Jones | |
2022-12-06 | Add config file unit tests and fix some bugs. | Phil Jones | |
2022-12-04 | Fix startup plot text on some systems. | Phil Jones | |
2022-12-02 | Add startup performance plot. | Phil Jones | |
2022-12-01 | Version 0.8.1. | Phil Jones | |
2022-12-01 | Fix debug logs printing in release builds. | Phil Jones | |
2022-12-01 | Fix changelog indentation. | Phil Jones | |
2022-12-01 | Version 0.8.0. | Phil Jones | |
2022-12-01 | Add soy milk theme to show off new style options. | Phil Jones | |
2022-12-01 | Fix typo. | Phil Jones | |
2022-12-01 | Add --ascii-input option. | Phil Jones | |
2022-11-28 | Improve performance of tofi-run history sorting. | Phil Jones | |
2022-11-28 | Refactor string vector code. | Phil Jones | |
Previously, string vectors were built by reading input line-by line, and multiple copies of string vectors were made when searching. Now, input is read into one big buffer, and string vectors only contain references to the strings in this buffer. This both speeds up reading of input, and avoids unnecessary copying of strings in various places. The main downside currently is that input read from stdin is no longer UTF-8 normalised. This means, for example, that a search for `e` won't necessarily match `é`. Normalisation is very slow relative to the rest of tofi, however, and not needed for most use-cases. This could either be solved by accepting the slowdown, or making this an option, such as --unicode or --unicode-normalize. | |||
2022-11-28 | Fix compilation under musl libc. | akdjka | |
2022-11-25 | Fix potentially uninitialised variable. | Phil Jones | |
2022-11-24 | Avoid some unnecessary copying in config parser. | Phil Jones | |
2022-11-24 | Fix more potential char parsing errors. | Phil Jones | |
2022-11-24 | Speed up string vector filtering and loading. | Phil Jones | |
We can assume that string vectors generated by tofi are already normalised, so don't waste time normalising them again. Also make sure to validate strings from the user. | |||
2022-11-24 | Don't set options if they failed to parse. | Phil Jones | |
Also fix a potential segfault in character parsing found by AFLplusplus. | |||
2022-11-22 | Fix new theme options not following scale factor. | Phil Jones | |
2022-11-21 | Add --clip-to-padding option. | Phil Jones | |
2022-11-21 | Overhaul text theming. | Phil Jones | |
Each piece of text is now individually themable, with foreground and background colours and optionally rounded background corners. | |||
2022-11-21 | Remove most options from usage info. | Phil Jones | |
The list was getting far too long, and is about to get even longer with text styling options. The user is instead directed to the manpage. Also, don't print usage to stderr if `-h` was passed. | |||
2022-11-21 | Reduce maximum wlr_layer_shell version to 3. | Phil Jones | |
This change avoids warning about old compositors on newer versions of Sway. Sway never actually supported version 4, and recently changed to report only version 3 as supported. | |||
2022-11-21 | Add --font-variations option. | Phil Jones | |
2022-11-20 | Add --font-features option. | Phil Jones | |
2022-11-20 | Clean up drun launch logic a little bit. | Phil Jones | |
2022-11-20 | Fix typo in readme. | Phil Jones | |
2022-11-19 | Make vector finding functions names clearer. | Phil Jones | |
This adds `_sorted` to the names of `string_vec_find` and `desktop_vec_find`, to make it clear that these functions require their input to already be sorted. Also fix a potential bug from not sorting the list of desktops in drun mode. | |||
2022-11-19 | Fix sorting in normal tofi mode with history. | Phil Jones | |
By using a hash table rather than binary search to find existing items, we can avoid the need to sort the input. | |||
2022-11-19 | Cleanup some potentially flaky logic. | Phil Jones | |
Some of the string vec code was still assuming that it was just a list of `char *`s, rather than `struct scored_string`s. Correcting that makes future changes a little less error prone, and allows significantly simpler history sorting for tofi-run. | |||
2022-11-19 | Sort items in normal tofi mode when using history. | Phil Jones | |
This is a short-term workaround for history sorting not working, due to the binary search used to find exiting items relying on the input already being sorted. | |||
2022-11-19 | Add --history-file option. | Phil Jones | |
2022-11-19 | Add missing errno.h include. | Phil Jones | |
2022-11-19 | Add support for pasting from clipboard. | Phil Jones | |
2022-11-19 | Fix misnamed header guards in color.h. | Phil Jones | |
2022-11-16 | Add placeholder text options. | Phil Jones | |
2022-11-13 | lock: add missing include after 68587e2920b5 | Jan Beich | |
This is required on e.g. FreeBSD to define S_IRUSR / S_IWUSR. | |||
2022-11-01 | Version 0.7.0. | Phil Jones | |
2022-11-01 | Update documentation warnings. | Phil Jones | |
2022-11-01 | Add alternative key binding to delete a word. | Maksim | |
2022-10-25 | Add Fedora build dependencies to readme. | godalming123 | |
2022-10-25 | Add --multi-instance option. | Phil Jones | |
2022-10-25 | Disallow multiple simultaneous tofi instances. | Phil Jones | |
2022-10-23 | Synchronise rendering with surface update. | Phil Jones | |
This fixes an issue where receiving multiple keypresses in the time taken to draw a frame could cause input to be out of sync with the display. | |||
2022-10-23 | Replace wchar and friends with Unicode handling. | Phil Jones | |
All text handling should now be explicitly UTF-8 or UTF-32, removing the ambiguity around wchar_t and related functions. |