Commit graph

165 commits

Author SHA1 Message Date
Dave Davenport
4156d142fe Set PID and wm_client_machine hints on rofi window. 2017-04-10 09:27:22 +02:00
Dave Davenport
898b5466f0 Fix memory leak on parser fail. 2017-04-06 09:12:03 +02:00
Dave Davenport
cada24250c [ThemeParserTest] Initialize the widget name to NULL 2017-04-04 23:26:35 +02:00
Dave Davenport
c40bb4fc35 Fix small bug and extend test for theme parser 2017-04-04 23:02:08 +02:00
Dave Davenport
abaae5f403 Add (initial) check for theme parser. 2017-04-04 08:56:19 +02:00
Dave Davenport
5259eb11bc Merge the configuration loading into something more simple (3) 2017-03-28 17:33:43 +02:00
Dave Davenport
5b387f76b1 Fix tests 2017-03-28 12:08:14 +02:00
Dave Davenport
b7f4b7484f Some initial support for @import in theme and try to fall back when theme fails to load 2017-03-11 17:06:06 +01:00
Dave Davenport
048d601a85 Update tests 2017-03-11 14:55:58 +01:00
Dave Davenport
f7b4bebb9b Rename token_match to helper_token_match. 2017-02-17 09:58:47 +01:00
Dave Davenport
9941efa5f4 Fix textbox test 2017-01-26 17:40:46 +01:00
Dave Davenport
19b023b221 Split sorting option. one for sorting. One to force levenshtein. 2017-01-11 09:42:37 +01:00
Dave Davenport
d88a5197b5 Fix tests. 2017-01-09 23:15:45 +01:00
Dave Davenport
9aaf21cd85 Fix theme converter and check. 2017-01-06 16:53:21 +01:00
Dave Davenport
da917993f7 Fix tests 2017-01-03 19:35:23 +01:00
Dave Davenport
fe0219a025 Fix the box widget test 2017-01-03 12:40:29 +01:00
Dave Davenport
d20587da54 Fix? tests 2017-01-01 16:32:01 +01:00
Dave Davenport
b8e58b0342 Make parser more flexible, allow global properties to be anywhere in file and allow multiple similar entries. 2016-12-16 09:28:13 +01:00
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