Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bump version to 5.1 | Hiltjo Posthuma | 2022-02-11 | 2 | -2/+2 |
| | |||||
* | code-style: rm newline (oops) | Hiltjo Posthuma | 2022-02-08 | 1 | -1/+0 |
| | |||||
* | revert using strcasestr and use a more optimized portable version | Hiltjo Posthuma | 2022-02-08 | 2 | -2/+21 |
| | | | | | | ... compared to the old cistrstr(). Thanks for the feedback! | ||||
* | follow-up fix: add -D_GNU_SOURCE for strcasestr for some systems | Hiltjo Posthuma | 2022-02-07 | 1 | -1/+1 |
| | |||||
* | improve performance of case-insensitive matching | Hiltjo Posthuma | 2022-02-07 | 1 | -12/+1 |
| | |||||
* | Revert "Improve speed of drw_text when provided with large strings" | Hiltjo Posthuma | 2021-08-20 | 1 | -5/+2 |
| | | | | | | | 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 | Hiltjo Posthuma | 2021-08-09 | 1 | -0/+11 |
| | | | | | | 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 | Miles Alan | 2021-08-09 | 1 | -2/+5 |
| | | | | | | 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 | Guilherme Janczak | 2021-07-25 | 1 | -1/+1 |
| | |||||
* | bump version to 5.0 | Hiltjo Posthuma | 2020-09-02 | 2 | -2/+2 |
| | | | | ... and bump LICENSE year. | ||||
* | Fix memory leaks in drw | Hiltjo Posthuma | 2020-06-11 | 1 | -0/+1 |
| | | | | | Synced from dwm. Patch by Alex Flierl <shad0w73@freenet.de>, thanks. | ||||
* | revert IME support | Hiltjo Posthuma | 2019-03-03 | 1 | -12/+3 |
| | | | | | | | 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 | Hiltjo Posthuma | 2019-02-12 | 1 | -1/+1 |
| | | | | die() already prints a newline. | ||||
* | make dmenu_path script executable | Hiltjo Posthuma | 2019-02-12 | 1 | -0/+0 |
| | | | | (as dmenu_run is) | ||||
* | fix crash when XOpenIM returns NULL | Hiltjo Posthuma | 2019-02-12 | 1 | -2/+11 |
| | | | | for example when IME variables are set, but the program is not started (yet). | ||||
* | Close when the embedding window is destroyed | Quentin Rameau | 2019-02-04 | 2 | -2/+7 |
| | |||||
* | Prepared 4.9 release. | Anselm R Garbe | 2019-02-02 | 3 | -4/+18 |
| | |||||
* | dmenu.1: document improved fastgrab behaviour from previous patch | Hiltjo Posthuma | 2019-01-27 | 1 | -2/+2 |
| | |||||
* | Use slow path if stdin is a tty | dok | 2019-01-27 | 1 | -3/+1 |
| | | | | | 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 | Quentin Rameau | 2018-07-21 | 1 | -6/+6 |
| | |||||
* | Makefile: just show the compiler output | Hiltjo Posthuma | 2018-06-02 | 1 | -38/+28 |
| | | | | Don't be fancy and just show the actual output so debugging is simpler. | ||||
* | Do not strip at link stage | Hiltjo Posthuma | 2018-06-02 | 1 | -1/+1 |
| | | | | | Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well. | ||||
* | code-style for pledge: check the return code -1, not < 0 | Hiltjo Posthuma | 2018-05-25 | 1 | -1/+1 |
| | | | | this is the proper idiom | ||||
* | code-style for pledge(2) | Hiltjo Posthuma | 2018-05-25 | 1 | -6/+5 |
| | | | | feedback from Klemens, thanks | ||||
* | Pledge on OpenBSD | Hiltjo Posthuma | 2018-05-25 | 1 | -0/+9 |
| | |||||
* | Use bold for keyboard shortcuts in dmenu.1 | David Demelier | 2018-05-12 | 1 | -28/+28 |
| | | | | | Like dwm, use the same syntax for all keyboard shortcuts for consistency. | ||||
* | Fix cursor drawn position with wide glyphs | Quentin Rameau | 2018-04-22 | 1 | -1/+1 |
| | |||||
* | Makefile: bikesheddingly replace ${} with $() | Quentin Rameau | 2018-04-22 | 2 | -43/+43 |
| | |||||
* | Handle IME input | Quentin Rameau | 2018-04-22 | 1 | -1/+4 |
| | | | | Thanks to nzl <uruabi@gmail.com> for the patch! | ||||
* | Fix handling of input strings | Hiltjo Posthuma | 2018-04-22 | 1 | -14/+21 |
| | |||||
* | Update LICENSE | Quentin Rameau | 2018-03-15 | 1 | -4/+6 |
| | | | | | Only "meaningful" commits and contributors who made changes over the years have been added. | ||||
* | bump version to 4.8 | Hiltjo Posthuma | 2018-03-14 | 1 | -1/+1 |
| | |||||
* | add key bindings for moving to the word start or end | Quentin Rameau | 2018-03-13 | 2 | -0/+46 |
| | | | | Mod1+b/^Left and Mod1+f/^Right | ||||
* | Fix regression in 84a1bc5 | Hiltjo Posthuma | 2018-01-04 | 1 | -1/+2 |
| | | | | | | Reported by Jochen Sprickerhof, thanks! Applied patch with minor change (only initialize `i` for XINERAMA). | ||||
* | Instantiate j var outside #ifdef XINEMARA directive because it is used in ↵ | Vincent Carluer | 2018-01-04 | 1 | -3/+2 |
| | | | | loop outside directive | ||||
* | drw: drw_scm_create: use Clr type | Hiltjo Posthuma | 2017-11-03 | 1 | -1/+1 |
| | | | | in this context XftColor is a too low-level type. | ||||
* | fix a possible free of a uninitialize variable in paste() | Hiltjo Posthuma | 2017-11-03 | 1 | -4/+6 |
| | |||||
* | init colors using SchemeLast | Hiltjo Posthuma | 2017-11-03 | 1 | -3/+2 |
| | | | | this makes it slightly easier to add colors to schemes. | ||||
* | Set class name on menu window | Omar Sandoval | 2017-11-03 | 1 | -0/+2 |
| | | | | | | WM_CLASS is a standard ICCCM property which is used to identify windows. Window managers and compositors use it to allow per-application configurable behavior. | ||||
* | release 4.7 | Hiltjo Posthuma | 2017-05-02 | 1 | -1/+1 |
| | |||||
* | Revert "fix input text matching" | Andrew Gregory | 2016-12-11 | 1 | -1/+1 |
| | | | | | | | This reverts commit 09d0a36e0370f7ca9bdb171bf93c5ac3131c5a92. Using strncmp with the length of the user input turns it into a prefix match rather than an exact match as it's supposed to be. | ||||
* | Xinerama: correct variable declarations in preprocessor conditional | Thomas Gardner | 2016-11-25 | 1 | -5/+6 |
| | |||||
* | die() on calloc failure | Hiltjo Posthuma | 2016-11-05 | 1 | -1/+1 |
| | | | | thanks Markus Teich and David! | ||||
* | add embedding support with -w option | Quentin Rameau | 2016-10-14 | 2 | -12/+58 |
| | |||||
* | dmenu.1: group single options | Quentin Rameau | 2016-10-14 | 2 | -6/+3 |
| | |||||
* | dmenu.1: fix -l option | Quentin Rameau | 2016-10-14 | 1 | -1/+1 |
| | |||||
* | die() consistency: always add newline | Hiltjo Posthuma | 2016-08-12 | 3 | -7/+9 |
| | |||||
* | fix crash if negative monitor (< -1) was passed | Hiltjo Posthuma | 2016-07-26 | 1 | -2/+2 |
| | | | | for example: dmenu -m '-9001' | ||||
* | Revert "Print highlighted input text only on single match" | Hiltjo Posthuma | 2016-07-26 | 1 | -13/+3 |
| | | | | | | | This reverts commit a4053bc4e403ae57343f43b7e363a0911bba5a3a. My bad, was working on the wrong branch and accidently pushed it... *facepalm* | ||||
* | Print highlighted input text only on single match | Quentin Rameau | 2016-07-26 | 1 | -3/+13 |
| | | | | | | When the input text fully matches a single item, do not draw the item and highlight the input text to show that it matches an item in opposition to regular input text not matching anything. |