Commit graph

147 commits

Author SHA1 Message Date
Dave Davenport
45fd97d842 Fix test box widget.. 2016-11-27 16:28:20 +01:00
Dave Davenport
fb459e1660 Make scrollbar behave better 2016-10-26 08:24:34 +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
8a186726f8 Update box test with some click injections 2016-10-25 18:26:18 +02:00
Dave Davenport
b19ab62e17 add scrollbar test. 2016-10-24 17:48:04 +02:00
Dave Davenport
b8fd2ce738 Add two more cases to the test. 2016-10-21 20:21:53 +02:00
Dave Davenport
f602ea1486 Add some tests for the box widget. 2016-10-21 18:48:01 +02:00
Dave Davenport
c8d2069098 Add more tests and re-add textbox_test to normal check set. 2016-10-20 19:34:03 +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
d0d1869604 Fix test? 2016-10-19 21:39:43 +02:00
Dave Davenport
ba2188d649 Print out diff. 2016-10-19 21:19:19 +02:00
Dave Davenport
a78d0b53fc Add help output compare test. 2016-10-19 13:12:55 +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
cc496c38ee check coverall behaviour 2016-10-13 18:29:32 +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
f3298801f3 Split internal widget into separate file 2016-10-09 10:13:15 +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
20e55e1e4e Add fuzzy matching, make a -matching option.
* -matching *method* option instead of -regex, -glob, -fuzzy.
 * Re-add fuzzy matching pattern.
 * When there are substrings in regex, only highlight those matches.

Fixes: #447
2016-08-25 21:17:58 +02:00
Dave Davenport
e55dfe8b10 Test something 2016-08-19 19:40:39 +02:00
Dave Davenport
de0290906d Update test to change multi-select and return codes. 2016-07-22 16:25:49 +02:00
Dave Davenport
7e1ea5290d Update tests 2016-07-19 00:16:49 +02:00
Dave Davenport
ad5b985abe Forgot normal-window test 2016-06-26 11:10:50 +02:00
Dave Davenport
c87e91b6d9 Make select behave more Rasi-ish 2016-06-26 11:00:23 +02:00
Dave Davenport
03239cb989 Remove fuzzy matching option. 2016-06-18 20:54:29 +02:00
Dave Davenport
0b84d63959 Merge remote-tracking branch 'origin/master' into highlight_match 2016-06-07 09:02:03 +02:00
Dave Davenport
9149e35248 Try to enable xinerama for tests 2016-06-02 08:39:40 +02:00
Dave Davenport
72d6c20876 Merge remote-tracking branch 'origin/master' into highlight_match 2016-06-01 19:04:52 +02:00
Dave Davenport
c095476419 Add extra test for widget. 2016-06-01 07:57:04 +02:00
Dave Davenport
f96461a543 Remove invalid tests. 2016-05-27 09:34:17 +02:00
Dave Davenport
96cb3a8695 Remove fgets and replace by getline. 2016-04-10 14:30:13 +02:00
Dave Davenport
b63f8e2275 Move history to getline and remove magic limit. 2016-04-10 13:55:18 +02:00
Dave Davenport
6693799923 Split test for helper in separate test for config cmdline parser. 2016-03-22 10:43:42 +01:00
Dave Davenport
3ac0c6dd7d Quick fix. 2016-03-21 20:27:16 +01:00
Dave Davenport
8914fbf2df Split test in 2. 2016-03-21 17:16:45 +01:00
Quentin Glidic
86c8934b86 test-x: Remove daemon mode test
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-20 11:56:28 +01:00
Dave Davenport
1aed0427f9 Remove hack with config file. 2016-03-05 20:16:10 +01:00
Dave Davenport
fa7ceaf580 Check for the availability of the xinerama extension. 2016-03-04 17:03:24 +01:00
Dave Davenport
b4cc0f611b Fix build test 2016-03-03 08:23:12 +01:00
Dave Davenport
7d046a1f5b Pack magic externs into a xcb_stuff. 2016-03-01 18:11:55 +01:00
Dave Davenport
a4fd907fe8 Run indenter 2016-02-28 15:32:53 +01:00
Dave Davenport
594bf00194 Fix keybindings and fix tests 2016-02-28 13:08:08 +01:00
Quentin Glidic
909241ddfe Remove X11 headers includes
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-28 12:21:26 +01:00
Dave Davenport
ab57479da9 Remove Atom with xcb_atom_t. 2016-02-28 12:19:56 +01:00
Dave Davenport
6d0d6d9eb2 Tests. 2016-02-28 01:21:22 +01:00
Dave Davenport
be76712dba Fix tests. 2016-02-21 16:40:29 +01:00
Dave Davenport
d3a044db8e Fixing make dist after merge of make cleanups. 2016-02-21 12:57:30 +01:00
Dave Davenport
5a86ae5c99 Cleanups 2016-02-08 09:03:11 +01:00
Dave Davenport
adfc83f07d Restructuring, my biggest joy. 2016-02-06 14:27:36 +01:00