Commit graph

313 commits

Author SHA1 Message Date
Dave Davenport
22e2d7587d Update copyright to 2017. 2017-01-03 17:59:28 +01:00
Dave Davenport
6e55cb86b9 Work-around for detecting end of file, hopefully fixing #518. 2016-12-30 17:33:24 +01:00
Dave Davenport
aa08c8ea78 Make workspace name also searchable 2016-12-26 16:23:55 +01:00
Dave Davenport
ee310c8470 Strip pango markup from workspace names when detecting I3.
Thanks I3 for this crap.

Issue: #507
2016-12-26 15:58:51 +01:00
Dave Davenport
5a638b1fa0 Search categories when searching Desktop Files.
Issue: #499
2016-12-26 15:18:52 +01:00
Dave Davenport
7d9ca64dd6 Merge branch 'master' of github:DaveDavenport/rofi 2016-12-17 17:58:29 +01:00
Dave Davenport
84508bdc1b Lower priority of loading data from dmenu, so drawing is not delayed 2016-12-17 17:56:54 +01:00
Dave Davenport
47125daecf Reset user input on script selection.
Fixes: #513
2016-12-12 08:52:27 +01:00
Dave Davenport
4889b5f7bc Don't destroy the window, but send close request to window. 2016-11-29 16:09:26 +01:00
Dave Davenport
fcf3c33415 Fix keybinding with Shift in name. Alt-Shift-S -> Alt-S. Alt-Shift-1 -> Alt-exclam
+ indent.
2016-11-14 16:25:04 +01:00
Dave Davenport
01751db4c0 Fix #498: Right count for unicode charaters in column code. 2016-11-14 12:39:37 +01:00
Dave Davenport
7cc90abceb [DMenu] Dump when there is an empty filter. 2016-11-13 23:15:13 +01:00
Dave Davenport
27cef3c9ae Fix #497: Create cache dir if not exists. 2016-11-12 11:28:40 +01:00
Dave Davenport
545be58e40 Issue #454 pass our window id along in the change active window request 2016-11-07 09:15:04 +01:00
Dave Davenport
90c314f397 Re-add column, but not for dmenu when prompt is set 2016-11-07 08:51:23 +01:00
Dave Davenport
0554db65ea Fix dmenu with -selected-row 2016-11-05 20:00:22 +01:00
Dave Davenport
ed6cb59b5d Fix crash on wrongly queued ViewState (thx to teto) 2016-11-02 18:24:20 +01:00
Dave Davenport
4c5df96fcd Pull config option access from out of separator widget. 2016-11-01 08:04:39 +01:00
Dave Davenport
69c19afcfc [DRun] Fix free 2016-10-31 17:02:10 +01:00
Dave Davenport
3f577f917a Small re-indent 2016-10-31 15:51:47 +01:00
Dave Davenport
01e32c9c61 Cleanup some drun code, use hash table for seen check instead of two arrays 2016-10-31 08:44:04 +01:00
Dave Davenport
e3ab39ea6f add more details to timing log 2016-10-31 08:07:02 +01:00
Dave Davenport
f5f4f52957 Use strtok_r instead of strtok. 2016-10-30 10:14:32 +01:00
Dave Davenport
86b6beb1e9 Update some code. 2016-10-28 23:28:49 +02:00
Dave Davenport
fb459e1660 Make scrollbar behave better 2016-10-26 08:24:34 +02:00
Dave Davenport
163934fa8c Simplify some code, more comments. (90% docu) 2016-10-25 22:45:11 +02:00
Dave Davenport
a38ac9caf3 Update scrollbar behaviour, so dragging is more natural. (limit range from hw/2 to h-hw/2) 2016-10-25 21:19:39 +02:00
Dave Davenport
7b3b68462e Fix memory leak in box and listview widget, add coverage make target. (ggcov and lcov) 2016-10-18 13:49:24 +02:00
Dave Davenport
b622a98d9c Fix some coverty found issues. 2016-10-17 20:54:41 +02:00
Dave Davenport
703426716a [DRun] Fix parsing subdirectories because of wrong suffix check 2016-10-16 14:49:32 +02:00
Dave Davenport
cdb1b96414 Fix issue #482: Set work directory 2016-10-15 20:00:26 +02:00
Dave Davenport
f0981d6697 Indenting, comments 2016-10-15 15:39:08 +02:00
Dave Davenport
07425fd10a Always refilter when switching modi. 2016-10-11 08:11:14 +02:00
Dave Davenport
3c64507f02 Qtk widgets (#478)
* Initial support for using boxes for packing widgets.

* Make CapiTalIzation more consistent

* Move widgets to subdirectory

* Removed nolonger needed resize function.

* Small cleanup

* When switching mode, reuse view, don't rebuild it. Reduces artifacts.

* Needs cleaning up.

* Remove separate prompt argument, use display_name

* Simplify run-switcher code.

* Add notion of parents, and trigger parent update on resize.

* Use widget_get_height wrapper, avoid crash

* Size separator width based on height. (indent)

 * TODO add margin to box.

* First draft version of listview.

* Add scrollbar to listview widget

* Add padding option to box

* Move access to global config out of widget. (1/2 done)

*  Remove printf

* Make listview not access global config

* Add click support, implement on mode buttons.

* Re-introduce mouse handling on list-view.

* TODO draggin on scrollbar.

* Fix multi-select

* Fix warnings

* Fix include
2016-10-08 18:57:59 +02:00
Dave Davenport
5b843bd08b Remove entry from history if fails to execute.
Issue: #466
2016-09-17 21:28:22 +02:00
Dave Davenport
050fd66c02 Force dmenu in sync mode to stop breaking old features that rely on this. 2016-09-17 19:41:24 +02:00
Dave Davenport
5ee5bb1e23 First rough version of async loading for dmenu. 2016-09-17 18:57:44 +02:00
Dave Davenport
e3fb17a843 Ask window manager to hide decoration in normal-window mode.
Issue #485
2016-09-08 08:57:35 +02:00
Dave Davenport
4a4769f0b4 Add debug and indent 2016-08-31 10:06:42 +02:00
Dave Davenport
56cc94195c DRUN: Make name key required even when hidden. (#453) 2016-08-31 09:39:00 +02:00
Dave Davenport
21b35b3e3e More debug, fix one off. 2016-08-30 21:56:51 +02:00
Dave Davenport
08319d6439 Keep a list of disabled Desktop files. 2016-08-30 21:49:46 +02:00
Dave Davenport
c099aaeabf Add debug output. 2016-08-30 21:24:04 +02:00
Dave Davenport
0d9d4d6c55 DRun Check if filename ends in .desktop. 2016-08-30 17:41:30 +02:00
Dave Davenport
ef509865fb Add extra debug to DRun Desktop File parsing. 2016-08-30 08:52:02 +02:00
Dave Davenport
51eac318fd Test #454 unmap window before switching. 2016-08-30 08:14:53 +02:00
Dave Davenport
e79361e890 Fix configure script a bit. 2016-08-29 21:38:29 +02:00
Dave Davenport
5cfe9a89b3 Improve DRun handling a bit.
- Remove entries that are deprecated or unsupported.
 - Handle field codes %c and %k

TODO:
 - Detect multiple identical field code entries and throw error.
2016-08-29 21:14:03 +02:00
Dave Davenport
1f641135e2 Extra checks when parsing file. 2016-08-29 08:55:28 +02:00
Dave Davenport
58eaa81520 Name field in desktop file is required. 2016-08-29 08:23:55 +02:00