Dave Davenport
163934fa8c
Simplify some code, more comments. (90% docu)
2016-10-25 22:45:11 +02:00
Dave Davenport
b622a98d9c
Fix some coverty found issues.
2016-10-17 20:54:41 +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
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
6495d8e8df
Add -input to -h output
2016-08-05 07:45:39 +02:00
Dave Davenport
22c8760e32
First try at fixing #430 . Needs testin.
2016-07-22 09:44:12 +02:00
Dave Davenport
602eb63557
Add `-multi-select
flag to dmenu.
...
* Changes default behaviour.
2016-07-18 23:58:08 +02:00
Dave Davenport
59635919ea
Add selection indicator to dmenu mode.
2016-07-18 23:49:26 +02:00
Dave Davenport
7c9f5e01fd
Fix tests and crash.
2016-06-28 23:34:07 +02:00
Dave Davenport
6e2d0b6319
Add selection counter in dmenu mode
2016-06-26 15:48:12 +02:00
Dave Davenport
c87e91b6d9
Make select behave more Rasi-ish
2016-06-26 11:00:23 +02:00
Dave Davenport
40f95ae81f
Make bit functions static
2016-06-25 17:40:24 +02:00
Dave Davenport
ce645d78b3
Multi-select with unselect
2016-06-25 17:36:35 +02:00
Dave Davenport
77a0800ccf
Copy memory instead of mixing malloc and g_malloc'ed memories (and freeing them all with g_free)
2016-06-21 22:40:42 +02:00
Dave Davenport
0e86050db8
Fix combi mode 'bang' behaviour, improve levenshtein with combi
2016-05-26 08:39:33 +02:00
Dave Davenport
498fadc735
Remove the is_ascii mess.
2016-05-22 17:47:34 +02:00
Dave Davenport
3918625804
Move teardown to the logic place again (possible with deamon mode removed)
2016-04-20 08:04:23 +02:00
Dave Davenport
a69754abff
Remove left-over printf.
2016-04-10 12:08:36 +02:00
Dave Davenport
e54e012500
Issue: #381 : Try to handle X11 input and UTF-8 better.
...
In window_get_text_prop do conversion when input is of type STRING. (latin1) to utf8.
Dmenu: don't skip invalid lines, but try to display as much as possible.
Window mode: Double check all input from X.
2016-04-10 12:05:34 +02:00
Dave Davenport
541f5b1fc9
Fixes issue #370 : Move dmenu option into dmenu.
2016-04-02 10:39:02 +02:00
Dave Davenport
2127682573
Cleanup unused type specifier (dialogs).
2016-03-24 22:15:10 +01:00
Quentin Glidic
20c9abf0a2
keybindings: Merge accept-custom and accept-entry-continue
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-20 10:39:34 +01:00
Dave Davenport
d36ae81408
Fix positioning window on top of window.
2016-03-20 10:16:55 +01:00
Dave Davenport
a2869ef39d
Make clang static code analyzer happy (300+ -> 5)
2016-03-19 13:29:04 +01:00
Dave Davenport
4cd76a6d8e
Merge remote-tracking branch 'github/master' into wip/xcb/full
2016-02-28 11:04:09 +01:00
Dave Davenport
319524c7c5
Test for single mainloop
2016-02-23 21:04:24 +01:00
Quentin Glidic
990914d20f
rofi: Drop daemon mode
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 12:15:03 +01:00
Dave Davenport
9121732e36
Cleanups.
2016-02-19 21:16:35 +01:00
Dave Davenport
038346b640
Cleanup + fix
2016-02-19 21:08:46 +01:00
Dave Davenport
6e3bb506de
Full mainloop madness
2016-02-19 19:50:48 +01:00
Dave Davenport
4eb3fd1da3
Test for single mainloop
2016-02-19 19:29:06 +01:00
Dave Davenport
99515f986e
Fix issue #281
...
if one entry as input and autoselect enabled return immediately
2016-02-17 08:46:22 +01:00
Dave Davenport
fdb4c99456
Remove normal window global.
2016-02-10 19:40:19 +01:00
Dave Davenport
2cd8888d2c
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 22:35:03 +01:00
Dave Davenport
289795b22a
Fix finding active desktop!
2016-02-09 21:25:29 +01:00
Dave Davenport
f7e2632624
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 19:55:31 +01:00
Dave Davenport
5185f1181c
Validate if input is utf-8 for dmenu, if not ignore that line
...
This should avoid crashing on invalid encoding.
2016-02-09 19:54:43 +01:00
Dave Davenport
c3f15a4e2a
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 07:56:45 +01:00
Dave Davenport
e7b18d3a88
Issue: #334 : Only allow markup-rows to be set on cmdline
...
This should avoid people setting this in XResrouces and breaking random dmenu scripts.
2016-02-09 07:37:48 +01:00
Dave Davenport
5a86ae5c99
Cleanups
2016-02-08 09:03:11 +01:00
Dave Davenport
c217307b43
Update!
2016-02-06 14:41:08 +01:00
Dave Davenport
adfc83f07d
Restructuring, my biggest joy.
2016-02-06 14:27:36 +01:00
Dave Davenport
312ca274fc
Split of files.
2016-02-06 13:06:58 +01:00
Dave Davenport
531f3f884a
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-04 16:25:04 +01:00
Dave Davenport
69b88caac5
Allow user to open an disabled modi.
2016-02-04 09:20:10 +01:00
Dave Davenport
b557c4df6e
Issue: #333 , Check if row is selected, don't assume selected_line is valid.
2016-02-03 09:01:13 +01:00
Dave Davenport
91780b71db
Small fix.
2016-01-27 23:39:52 +01:00
Dave Davenport
afc056ecc5
Play with dmenu black screen
2016-01-27 23:28:14 +01:00
Dave Davenport
eab4e1438f
Make dmenu use glib mainloop.
2016-01-26 08:38:07 +01:00