summaryrefslogtreecommitdiff
path: root/src/log.c
AgeCommit message (Collapse)Author
2023-03-06Change log indent to 4 spaces.Phil Jones
2022-12-01Fix debug logs printing in release builds.Phil Jones
2022-11-28Refactor 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-06-21Add config file handling.Phil Jones
Single letter style arguments have been removed.
2022-06-10Minor cleanup.Phil Jones
2022-06-10Add indents to log functions.Phil Jones
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-07Initial working build.Phil Jones
2021-11-04Print both real and cpu time in debug logs.Phil Jones
Also various minor cleanup.
2021-11-01Add missing include.Phil Jones
2021-10-31Add actual greetd functionality.Phil Jones
Useable, but very barebones — not even any error message reporting.
2021-10-31Add HiDPI support and lots of cleanup.Phil Jones
2021-10-26Add EGL setup (unused for now).Phil Jones