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
3c8b757930
Remove auto :
2016-10-28 21:52:22 +02:00
Dave Davenport
c598791aa4
Indent
2016-10-28 18:57:12 +02:00
Dave Davenport
8e0ced2378
Remove commented code
2016-10-28 18:32:29 +02:00
Dave Davenport
217290479e
Merge two functions that no longer have a reason to be split.
...
Fixes : #491
2016-10-28 08:51:53 +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
440756af94
Option to disable/enable the highlighting of match.
2016-10-24 21:47:36 +02:00
Dave Davenport
b19ab62e17
add scrollbar test.
2016-10-24 17:48:04 +02:00
Dave Davenport
0ae0d50bbc
Revert "Fix: #485 Remove used modifiers before figuring out keybinding."
...
This reverts commit 25c210b851
.
2016-10-23 13:23:04 +02:00
Dave Davenport
25c210b851
Fix : #485 Remove used modifiers before figuring out keybinding.
2016-10-23 13:08:52 +02:00
Dave Davenport
d25ad4dac6
clang-check fix.
2016-10-22 21:34:19 +02:00
Dave Davenport
881056ea9b
Add some more tests, make some textbox api's private
2016-10-20 09:41:32 +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
df26193096
Fix redrawing (call queue redraw, not need redraw) fix end of string check.
2016-10-17 20:54:02 +02:00
Dave Davenport
0e176199fc
Fix some possible null pointer dereference. (clang-check)
2016-10-17 18:21:03 +02:00
Dave Davenport
313dffa28d
Some comments
2016-10-16 19:38:33 +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
9293c8b8ce
More docu updates
2016-10-14 18:56:09 +02:00
Dave Davenport
ce341f6885
Document more headers.
2016-10-14 16:46:54 +02:00
Dave Davenport
b4c599f022
Add more documentation.
...
Current state: 61% coverage.
2016-10-14 08:47:21 +02:00
Dave Davenport
eb5f169af0
Remove error check for large windows as it is incorrect often. Fix issue 468
2016-10-13 18:11:15 +02:00
Dave Davenport
f6755d8a18
Always fallback to mouse position when one of the -X options are choosen.
2016-10-13 18:09:03 +02:00
Dave Davenport
306eeac3fe
Add some NULL tests to widget test
2016-10-13 17:54:52 +02:00
Dave Davenport
1cd94c27c7
Update documentation, tests for widget
2016-10-13 09:22:08 +02:00
Dave Davenport
3aa1922aa6
Remove padding from input bar: Fix #479
2016-10-13 08:53:22 +02:00
Dave Davenport
cc3bb30a7b
Remove unneeded calls to tokenize.
2016-10-11 08:18:34 +02:00
Dave Davenport
07425fd10a
Always refilter when switching modi.
2016-10-11 08:11:14 +02:00
Dave Davenport
f3298801f3
Split internal widget into separate file
2016-10-09 10:13:15 +02:00
Dave Davenport
f10bc5004f
Make separator work in both directions ( hori/vert ).
2016-10-09 10:07:32 +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
0da0587087
Make widget_free work on textbox and scrollbar, use widget specific free.
2016-09-27 22:38:26 +02:00
Dave Davenport
89acc7b6ed
Make one widget_draw function, abstract rest (textbox, scrollbar) behind it.
2016-09-27 22:15:39 +02:00
Dave Davenport
769dab5f66
When view centered, don't change x,y.
2016-09-26 18:19:29 +02:00
Dave Davenport
ca766b4ed7
Still parse commandline options when -no-config is passed.
2016-09-18 22:29:05 +02:00
Dave Davenport
6131329210
Fix for #467 , don't count border twice, take right line-margin into account.
2016-09-18 22:23:39 +02:00
Dave Davenport
acdb6bdf53
Fix fprintf.
2016-09-18 14:44:03 +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
6191662ccf
Fix indenting view.c.
2016-09-17 18:35:03 +02:00