Commit graph

13 commits

Author SHA1 Message Date
Dave Davenport
89e00ebb32
[Dmenu] Add a minimum update rate for dmenu reading. (#1681)
This avoid slow loading for some weird slow spaced out input stream.
(one input every 250ms).
Not sure what use-case this fixes.
This fix does cause a noticable slow-down on very large lists.

Issue: #1680
2022-08-19 21:35:23 +02:00
Dave Davenport
a22c81c4a9 [DMenu] Strip off delimiter in sync mode.
Fixes: #1679
2022-08-18 10:17:24 +02:00
Dave Davenport
952aaae295 [DMenu] Fix completion with multi-select 2022-07-26 22:12:20 +02:00
Dave Davenport
5a5d333fdf [dmenu] Fix missing - in find_arg 2022-07-23 23:25:37 +02:00
Dave Davenport
be6fe8ac61 [Textbox] Remove the dot indicator.
Weird hack from dmenu that dripped through rofi code-base for multi-select.
Change it so it is just a prefix to the string of ☐ and ☑.
2022-07-23 20:21:00 +02:00
Dave Davenport
0e90fb065f [Build] Fix some compile warnings. 2022-07-23 00:28:55 +02:00
Dave Davenport
c6456d2c1b [DMenu] Fix 'loading' overlay. 2022-06-29 16:09:56 +02:00
Dave Davenport
ceb2b9d295 [Modes] Support icons off multiple icons. 2022-06-27 20:52:12 +02:00
Dave Davenport
e9af427b4a [Dmenu] use ssize_t instead of size_t. 2022-05-17 23:37:02 +02:00
Dave Davenport
9314e75af2 [dmenu] Fix small bug of passing right length. 2022-04-23 23:17:51 +02:00
Dave Davenport
e2a7cfdd52
[DMenu] Huge list speedups (#1621)
* Don´t refilter on each key-press.

* Make sure refiltering is not completely starved.

* Force refilter before accepting entry

* Go into 'timeout' refilter mode only after certain # elements.

* [DMenu] threading with getdelim to speed up reading.

* [View] Remove debug output.

* [dmenu] Fix pre-read.

* [DMenu] Make sure that async mode cannot block

* Remove mutex for IPC via pipes.

* [Dmenu] Small cleanup.

* [Scrollbar] Fix scrollbar overflowing on big lists.

* Fix stack overflow by creating to many filter jobs.

* [Doc] Add new option to manpage
2022-04-20 21:53:44 +02:00
Dave Davenport
f088d75ee4 Cleanup some duplicate checks. 2022-03-15 01:00:56 +01:00
Dave Davenport
534aa6ad54 Rename Dialogs -> Modes
Try to fix some of old syntax.
2022-02-23 23:18:53 +01:00
Renamed from source/dialogs/dmenu.c (Browse further)