Commit Briefs
bump version to 5.1 (tags/5.1)
revert using strcasestr and use a more optimized portable version
... compared to the old cistrstr(). Thanks for the feedback!
Revert "Improve speed of drw_text when provided with large strings"
This reverts commit c585e8e498ec6f9c423ab8ea07cf853ee5b05fbe. It causes issues with truncation of characters when the text does not fit and so on. The patch should be reworked and properly tested.
add support for more keypad keys
The keypad Enter key was already supported. On some keyboard layouts like my laptop the page-up and page-down key is more comfortable to use. This adds a few lines but no complexity.
Improve speed of drw_text when provided with large strings
Calculates len & ew in drw_font_getexts loop by incrementing instead of decrementing; as such avoids proportional increase in time spent in loop based on provided strings size.
bump version to 5.0 (tags/5.0)
... and bump LICENSE year.
Fix memory leaks in drw
Synced from dwm. Patch by Alex Flierl <shad0w73@freenet.de>, thanks.
revert IME support
dmenu will not handle IME support (st will, atleast for now). revert parts of commit 377bd37e212b1ec4c03a481245603c6560d0be22 this commit also broke input focus.
improve xopenim error message
die() already prints a newline.
make dmenu_path script executable
(as dmenu_run is)
fix crash when XOpenIM returns NULL
for example when IME variables are set, but the program is not started (yet).
Prepared 4.9 release. (tags/4.9)
Use slow path if stdin is a tty
If stdin is a tty and dmenu is ran with the fast option then it's impossible to close stdin because the keyboard is already grabbed.
Makefile: just show the compiler output
Don't be fancy and just show the actual output so debugging is simpler.
Do not strip at link stage
Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well.
code-style for pledge: check the return code -1, not < 0
this is the proper idiom
code-style for pledge(2)
feedback from Klemens, thanks
