Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-05 | Fix typo. | Phil Jones | |
Probably a good idea to allow more than 128 runs of a program. | |||
2022-07-05 | Sort results by match position. | Phil Jones | |
Search results will now be sorted by history first, then by the position of the match, such that a match at the start of a result will appear before a match later in the result. | |||
2022-06-30 | Add dependency on librt | Johannes Wikner | |
This is required for shm_open and shm_unlink on some systems. | |||
2022-06-30 | Fix buffers sometimes going out of sync. | Phil Jones | |
This was caused by some unneeded leftover logic that resulted in surface_draw being called without a corresponding entry_update. | |||
2022-06-29 | Add Ctrl-j and Ctrl-k keybindings. | Phil Jones | |
2022-06-28 | Select next result on Tab. | Phil Jones | |
2022-06-28 | Version 0.1.1 | Phil Jones | |
Fix typo in meson.build | |||
2022-06-27 | Version 0.1.0. | Phil Jones | |
2022-06-27 | Add default output selection. | Phil Jones | |
Tofi should now appear on whatever the compositor's default output is (usually the focused one), unless --output has been given. | |||
2022-06-27 | Update license date and fix typo in readme. | Phil Jones | |
2022-06-26 | Add optional background around selected result. | Phil Jones | |
2022-06-26 | Fix some minor memory error typos. | Phil Jones | |
2022-06-26 | Fix multiple output handling. | Phil Jones | |
The --output option can be passed to select a specific output to appear on. Which output is chosen otherwise is currently random, as I don't know yet how to determine which one the user's currently on. | |||
2022-06-26 | Add --late-keyboard-init benchmarks to readme. | Phil Jones | |
2022-06-26 | Add --late-keyboard-init option. | Phil Jones | |
2022-06-26 | Update readme. | Phil Jones | |
2022-06-26 | Remove spurious debug log. | Phil Jones | |
2022-06-26 | Add generated markdown manpages. | Phil Jones | |
2022-06-26 | Add default theme screenshot and fix typo. | Phil Jones | |
2022-06-26 | Add bash completions. | Phil Jones | |
Also change --font-name option to just --font. | |||
2022-06-25 | Add screenshots. | Phil Jones | |
2022-06-25 | Add example themes and allow # in colors. | Phil Jones | |
2022-06-25 | Correct border rendering with alpha. | Phil Jones | |
2022-06-25 | Add manpages. | Phil Jones | |
2022-06-25 | Add option to disable font hinting. | Phil Jones | |
Also improve text on non-hidpi screens. | |||
2022-06-25 | Don't double-draw background colour on first draw. | Phil Jones | |
This improves start-up performance for large windows. | |||
2022-06-25 | Fix padding and split into top/bottom/left/right. | Phil Jones | |
2022-06-24 | Horizontal mode fixes. | Phil Jones | |
Implement horizontal mode for Pango, and add min-input-width option. | |||
2022-06-24 | Allow double-quoted strings in config file. | Phil Jones | |
2022-06-24 | Correct clipping with rounded corners. | Phil Jones | |
Currently the clipping region is still a plain rectangle bounded by the outer rounded rectangle. A rounded rectangle clip would be nice, but unfortunately Cairo leaves antialiasing artifacts if we do this. | |||
2022-06-23 | Fix default sizes and hide_cursor option. | Phil Jones | |
2022-06-23 | Combine Harfbuzz & Pango backends. | Phil Jones | |
Tofi now uses Harfbuzz if a file is passed to --font-name, and Pango otherwise. | |||
2022-06-23 | Remove Cairo scale factor. | Phil Jones | |
The scale factor is now only used to scale font sizes, not all Cairo drawing operations. This makes pixel-sized options correct. | |||
2022-06-23 | Add tofi-run symlink. | Phil Jones | |
Invoking 'tofi' now acts like dmenu, expecting newline-separated options on stdin. Also fix history file handling and add an option to disable it. | |||
2022-06-23 | Add config file name to error messages. | Phil Jones | |
2022-06-23 | Allow percentages for window size & margins. | Phil Jones | |
2022-06-21 | Add result selection. | Phil Jones | |
2022-06-21 | Minor parsing bugfixes. | Phil Jones | |
2022-06-21 | Add config file handling. | Phil Jones | |
Single letter style arguments have been removed. | |||
2022-06-21 | Add various command line arguments. | Phil Jones | |
There are too many really to use single-character args, so the next step should be a config file. | |||
2022-06-11 | Add compgen caching. | Phil Jones | |
A list of commands is now stored in $XDG_CACHE_HOME/.cache/tofi-compgen, and regenerated as necessary. | |||
2022-06-10 | Various small changes. | Phil Jones | |
- Split the compgen and history sorting parts of compgen(), for future dmenu-like work. - Add a separate tofi-compgen executable. - Remove harfbuzz-glib usage, as we shouldn't be doing any complicated unicode stuff. | |||
2022-06-10 | Minor cleanup. | Phil Jones | |
2022-06-10 | Cleanup and comment HarfBuzz code. | Phil Jones | |
2022-06-10 | Space Pango lines correctly. | Phil Jones | |
2022-06-10 | Add indents to log functions. | Phil Jones | |
2022-06-10 | Use doubles for harfbuzz glyph coordinates. | Phil Jones | |
Previously integers were used, effectively removing any sub-pixel positioning. | |||
2022-06-10 | Remove unneeded Pango layouts. | Phil Jones | |
We don't actually need a separate pango layout for each piece of text, as we only use them one-by-one anyway, so just use one instead. | |||
2022-06-10 | Comment out malloc debug logs. | Phil Jones | |
2022-06-10 | Delay second buffer initialisation. | Phil Jones | |
We don't actually need to initialise our second Cairo context / surface until after the first one has been painted to the screen. This commit therefore delays this initialisation (or at least the expensive memcpy), granting a significant reduction in startup time. The downside is that main() and entry_init() are now tied together somewhat, but hopefully the comments help. |