Commits


bump version to 5.1


code-style: rm newline (oops)


revert using strcasestr and use a more optimized portable version ... compared to the old cistrstr(). Thanks for the feedback!


follow-up fix: add -D_GNU_SOURCE for strcasestr for some systems


improve performance of case-insensitive matching


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.


remove always true condition in if statement


bump version to 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).


Close when the embedding window is destroyed


Prepared 4.9 release.


dmenu.1: document improved fastgrab behaviour from previous patch


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.


dmenu_path: always use the cachedir


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


Pledge on OpenBSD