summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
2023-04-17Add --matching-algorithm option.Phil Jones
This replaces the --fuzzy-match algorithm. Available choices are normal, prefix and fuzzy. Levenshtein distance was investigated, but it seems pretty rubbish for tofi's use case, where you normally want a good match when you've only typed a small portion of the target string.
2023-04-10Version 0.9.1.Phil Jones
2023-04-09Version 0.9.0.Phil Jones
2023-03-12Don't generate useless .eh_frame and .eh_frame_hdr.Mike Kot
We don't use exceptions, attribute(cleanup) or similar techniques, so such sections just add up to binary size.
2023-03-06Replace generated protocol code with xml.Phil Jones
I now understand how this was supposed to be done.
2023-03-06Add fractional scaling support.Phil Jones
The main change is that we now always have to set up the dummy surface which was previously only used when multiple monitors were present. This is because there's no way to determine an output's fractional scale factor without displaying a surface on it, and we need to know the scale factor before we create our main window surface. The extra compositor round-trips lead to a slight slowdown for single monitor setups (to the same speed as multi-monitor setups), but it's currently unavoidable as far as I know.
2023-03-03Convert to using wp_viewporter.Phil Jones
This is the next step in supporting fractional scaling, as wl_surface_set_buffer_scale only supports integer scale factors.
2022-12-21Fix compilation with Harfbuzz < 4.0.0.Phil Jones
2022-12-01Version 0.8.1.Phil Jones
2022-12-01Version 0.8.0.Phil Jones
2022-11-28Fix compilation under musl libc.akdjka
2022-11-21Add --font-variations option.Phil Jones
2022-11-19Add support for pasting from clipboard.Phil Jones
2022-11-01Version 0.7.0.Phil Jones
2022-10-25Disallow multiple simultaneous tofi instances.Phil Jones
2022-10-23Replace 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.
2022-10-21Initial input handling cleanup.Phil Jones
Also changed keyboard shortcuts to use physical keycodes, rather than XKB keysyms. This means shortcuts don't shift when keyboard layout is changed.
2022-10-18Add beginnings of test framework.Phil Jones
Just contains a couple of very simple UTF-8 tests for now.
2022-10-18Improve UTF-8 handling.Phil Jones
This should allow case-insensitive matching for non-Latin characters, and fix matching for characters with diacritics.
2022-10-18Clean up meson deprecation warnings.Phil Jones
2022-10-18Set the minimum required meson version to 0.61Birger Schacht
The `install_symlink` was only introduced in version 0.61 of meson https://mesonbuild.com/Release-notes-for-0-61-0.html#install_symlink-function
2022-09-08Version 0.6.0.Phil Jones
2022-09-07Fix failure to link tofi-compgen without LTO.Phil Jones
This was caused by an unused (but included) function not being linked. LTO was able to determine that the missing function didn't need to be linked, so didn't complain, leading to this bug being missed.
2022-08-21Version 0.5.0.Phil Jones
2022-08-12Add --fuzzy_match option.Phil Jones
This enables some simple fuzzy matching logic for searches.
2022-08-07Version 0.4.0.Phil Jones
2022-08-02Remove tofi-compgen from install.Phil Jones
This was really just a utility for testing, and isn't needed by users.
2022-07-31Add man page symlinks for tofi-run and tofi-drun.Phil Jones
2022-07-31Add license installation.Phil Jones
2022-07-31Add checks for old wayland versions.Phil Jones
2022-07-29Add default config installation in /etc/xdg/tofi/.Phil Jones
2022-07-29Version 0.3.1.Phil Jones
2022-07-29Version 0.3.0.Phil Jones
2022-07-25Version 0.2.0.Phil Jones
2022-07-24Update readme with drun info.Phil Jones
2022-07-24Add drun mode.Phil Jones
This is a pretty simple implementation, but it should work for most use cases. Notably, generic application names aren't used (though that could be added without too much hassle), and neither are keywords (that would be more difficult).
2022-06-30Add dependency on librtJohannes Wikner
This is required for shm_open and shm_unlink on some systems.
2022-06-28Version 0.1.1Phil Jones
Fix typo in meson.build
2022-06-27Version 0.1.0.Phil Jones
2022-06-25Add manpages.Phil Jones
2022-06-23Combine Harfbuzz & Pango backends.Phil Jones
Tofi now uses Harfbuzz if a file is passed to --font-name, and Pango otherwise.
2022-06-23Add 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-21Add config file handling.Phil Jones
Single letter style arguments have been removed.
2022-06-21Add 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-11Add compgen caching.Phil Jones
A list of commands is now stored in $XDG_CACHE_HOME/.cache/tofi-compgen, and regenerated as necessary.
2022-06-10Various 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-09Add Harfbuzz backend.Phil Jones
Another source of slow startup is initialising Pango. If the user supplies a ttf file, we can skip any Pango stuff and use Harfbuzz directly with Cairo to do our font rendering, providing a large speedup.
2022-06-07Switch from using (E)GL to wl_shm.Phil Jones
eglInitialize() is slow (~50-100ms), and uses a fair amount of memory (~100 MB). For such a small, simple program that just wants to launch as quickly as possible, wl_shm performs better.
2021-11-17Add sorting by run frequency.Phil Jones
This implements a rofi-like run cache. Other smaller changes include simplification of resize logic now that there's only one surface.
2021-11-15Multiple smaller changes.Phil Jones
- Remove the background image and libpng dependency - Add a prompt - Add xmalloc with out-of-memory handling - Add beginnings of a rofi-like run cache