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
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
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
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
f42258f60a
Merge remote-tracking branch 'origin/master' into glib-loop
2016-01-25 20:46:11 +01:00
Dave Davenport
c4b6b19ff9
Fix test for empty dmenu list
2016-01-25 09:07:39 +01:00
Dave Davenport
984257fffc
Very dirty first attempt at glib mainloop in switcher (not yet dmenu.)
2016-01-20 20:57:26 +01:00
Dave Davenport
c2105430a0
Update Tests
2016-01-17 13:47:25 +01:00
Dave Davenport
c6a9de8c4a
Use snprintf instead of sprintf
2016-01-09 19:25:03 +01:00
Dave Davenport
d7dab65e5b
Making widget class, moving stuff around
2016-01-09 16:22:09 +01:00
Dave Davenport
06c7f30b7e
Use timeout.
2016-01-08 23:15:28 +01:00
Dave Davenport
6dd837af88
Add debug.
2016-01-08 22:17:00 +01:00
Dave Davenport
fa51aeb484
More splitting and abstracting.
2016-01-07 21:27:20 +01:00
Dave Davenport
51b5511017
More doxygen sugar.
2016-01-07 16:01:56 +01:00
Dave Davenport
4fbf249480
Update window test.
2016-01-05 18:24:47 +01:00
Dave Davenport
155cf351e0
Update window test.
2016-01-05 18:19:35 +01:00
Dave Davenport
933eb7e490
Fix normal window test
2016-01-05 17:14:47 +01:00
Dave Davenport
68220a5b58
Add fluxbox as wm for tests.
2016-01-05 16:46:43 +01:00
Dave Davenport
200f8e5faa
Do not test the ones that require window manager.
2016-01-04 21:51:08 +01:00
Dave Davenport
fefd992c11
Merge branch 'master' of github:DaveDavenport/rofi
2016-01-04 20:56:54 +01:00
Dave Davenport
f715a33bf7
Add window manager as test if possible
2016-01-04 20:46:34 +01:00
Dave Davenport
09c7b33026
Small test.
2016-01-04 18:34:41 +01:00
Dave Davenport
05a1be9753
Another silly test to make sure this code is hit and should show breakage.
2016-01-04 18:26:18 +01:00
Dave Davenport
dac711cf22
Add fuzzy test.
2016-01-04 18:04:15 +01:00
Dave Davenport
d661a515f0
Make levenshtein sort utf8 aware and obey case sensitive setting.
...
- Add tests.
- Use Glibs unichar for comparison.
2016-01-04 17:18:49 +01:00
Dave Davenport
c85f1cb0bf
Use different syntax
2016-01-03 21:47:40 +01:00
Dave Davenport
96724356e1
Do not use seq for test, use bash range instead.
2016-01-03 21:12:09 +01:00
Dave Davenport
d370a446f3
Add config loading test.
2016-01-03 18:13:41 +01:00
Dave Davenport
4fbbce891b
Test glob/regex.
2016-01-01 11:31:29 +01:00
Dave Davenport
58c856e22a
Add combi test
2015-12-31 23:27:06 +01:00
Dave Davenport
ade91a3875
Add simple drun test
2015-12-31 23:14:38 +01:00
Dave Davenport
e102e11637
Update test
2015-12-31 23:02:13 +01:00
Dave Davenport
c5258f9b51
Add dump test.
2015-12-31 22:45:36 +01:00
Dave Davenport
7364e9abf9
Add daemon test.
2015-12-31 22:20:43 +01:00
Dave Davenport
745f9f3c62
Add screenshot test
2015-12-31 21:55:15 +01:00
Dave Davenport
c49c47542c
Fix textbox test, set global PangoContext
2015-12-28 11:33:22 +01:00
Dave Davenport
38fabb6b1b
Issue #303 : Create one pango context from xlib surface
...
- Create one pango context and set font options from main xlib surface
- Set font type on global pango context.
- Use CAIRO_OPERATOR_OVER for drawing text (otherwise subpixel rendering is not done).
2015-12-28 11:27:27 +01:00
Dave Davenport
0a899185f8
Indenting fix
2015-12-23 19:16:47 +01:00
Dave Davenport
7a9263e929
Extend test case.
2015-12-08 22:47:54 +01:00
Dave Davenport
bb68cded68
tweak
2015-12-08 08:44:44 +01:00
Dave Davenport
0ff0f15264
Add test, remove whitespace
2015-12-08 08:39:18 +01:00
Dave Davenport
a5c5ca9f1d
Add test for issue #292
2015-12-04 22:13:30 +01:00
Dave Davenport
eaa553bfd5
Indent.
2015-12-03 22:48:30 +01:00
Dave Davenport
e4c7fe8f1e
Fix func. def in wrong header file.
2015-12-02 17:56:25 +01:00
Dave Davenport
a21f8dd179
Add some helper tests.
2015-12-02 09:53:39 +01:00
Dave Davenport
f6c8ba9755
Add test for recent bug.
2015-12-02 09:46:13 +01:00
Dave Davenport
ca6b1a8178
Fixing path.
2015-11-28 12:59:10 +01:00
Dave Davenport
f9fe70338f
More travis poking
2015-11-27 13:23:40 +01:00
Dave Davenport
4510f65d5a
textbox: advance cursor correctly for multi-char input
...
Thanks to eigengrau
fixes : #280
2015-11-22 20:41:45 +01:00
Qball Cow
1bd231bc3d
Fix issue #275 : don't try to do move cursor when nothing is shown.
2015-11-20 11:43:22 +01:00
Qball Cow
264e9e5b0e
Issue #275 test case
2015-11-20 11:19:36 +01:00
Dave Davenport
02b99e6f95
Fix: 256 Do not accept custom entry when not applicable.
...
Add test to reproducet .
2015-10-31 18:04:55 +01:00
QC
683632c36c
Some cleanups
2015-10-18 19:02:19 +02:00
QC
93b6b83fb9
Try todo some validation of monitor size/padding in config sanity check.
2015-10-18 13:40:39 +02:00
Dave Davenport
b7d9b4b6b5
Add debug output to test 4
2015-10-11 13:51:08 +02:00
QC
29360b20aa
Parse name in textbox.
2015-09-28 21:41:58 +02:00
QC
8f1f03e6d2
Use cairo to do drawing.
2015-09-26 20:34:34 +02:00
QC
b18d68eff2
Adjust new editor width
2015-09-19 12:57:48 +02:00
QC
442e235c24
Some cleanups, tweak uncrustify.
2015-09-19 12:21:30 +02:00
QC
558bb38630
Fix normal mode keyboard grab.
2015-09-16 21:01:40 +02:00
Dave Davenport
8d6a78939c
Small cleanup + fail more gracefull here and there
2015-07-30 08:57:09 +02:00
Dave Davenport
93c01ccbd5
Add new event handling
2015-07-28 22:22:18 +02:00
QC
b3a77589eb
Fix makefile indent
2015-07-28 22:14:21 +02:00
Michael Vetter
2a91b66bfa
Remove trailing whitespaces
2015-07-28 21:54:08 +02:00
QC
09d2be260b
Allow keybindings to be set.
2015-04-30 22:42:04 +02:00
Dave Davenport
a70404f128
First part of infrastructure for Issue: #131 customizable keybindings.
2015-04-30 21:52:30 +02:00
QC
10b22e0c7d
Update test.
2015-04-06 20:55:33 +02:00
QC
2590ecf7e5
ADd new coloring scheme.
2015-04-06 17:13:26 +02:00
Dave Davenport
4fad02225e
Cleanup argc/argv lugging around.
2015-03-11 18:32:37 +01:00
Dave Davenport
8b50e94fea
Make compiler more picky.
...
Add -Werror=missing-prototypes
2015-02-18 08:53:38 +01:00
QC
faf6a708dc
Fix travis test.
2015-02-15 21:34:13 +01:00
QC
f6bc8f7c32
Fix test compile warning.
2015-02-09 19:58:17 +01:00
Dave Davenport
19a0ec40f8
Use fallback when truecolor visual fails.
...
- Fixes tests.
2015-01-21 18:38:54 +01:00
Dave Davenport
9cc63d4948
Updates fixing pango transparancy.
2015-01-21 10:04:15 +01:00
QC
f5688b6cc6
Fix textbox test.
2015-01-12 20:50:39 +01:00
Dave Davenport
a8843af9f3
Add support for alternating row colors.
2015-01-12 19:14:46 +01:00
Dave Davenport
edbeaf1790
Update build system: remove nested makefile
2014-11-26 19:40:49 +01:00
QC
5d48004011
Playing with test. adding xresources.
2014-11-06 21:03:13 +01:00
QC
e8ecf8822c
Do not install the tests.
2014-09-08 20:39:39 +02:00
QC
20dca49a22
Add ctrl-space to set selected item as input.
2014-09-03 19:40:24 +02:00
Dave Davenport
0462811800
Add flexible configuration for launching
...
* You can now specify links: {terminal} -e bash -e "{ssh-client} {host}"
* Add test for this code.
2014-09-03 13:07:26 +02:00
Dave Davenport
5d5b4aac9f
Add small script test.
2014-08-31 10:37:12 +02:00
Dave Davenport
ad1cede6f5
Add dump-xresources to test.
...
* TODO: validate result.
2014-08-31 09:44:42 +02:00
Dave Davenport
45e07bb83c
[dmenu] Update tests to hit the shift-enter mode
2014-08-31 09:28:55 +02:00
Dave Davenport
8173bafcd6
Update tests, for cmd.
2014-08-30 20:53:35 +02:00
Dave Davenport
229bb6931b
Play with adding some more test, bug fixes
...
* delete an invalid memmove in textbox
2014-08-30 20:45:08 +02:00
QC
91ccb54199
Update test (do xresources?)
2014-08-29 18:19:03 +02:00
QC
11d4ec144a
Add testing char width.
2014-08-29 17:44:10 +02:00
QC
23dea5500a
Add another test.
2014-08-29 17:31:46 +02:00
QC
23136e12a7
Add another small test.
2014-08-29 17:26:47 +02:00
QC
a20e2a5ed9
Forgot to remove debug code, causing false negative.
2014-08-29 17:03:35 +02:00
QC
4ab95f5d26
Add dmenu test.
2014-08-29 16:57:36 +02:00
QC
a9953f4c3b
Try to fix test on travis server.
2014-08-29 16:39:11 +02:00
QC
bcbf512dc4
Add another test.
2014-08-29 16:24:39 +02:00
QC
f41657476e
Add missing test file.
2014-08-29 15:21:10 +02:00
QC
12258eb02b
Try out small fake X server test.
2014-08-29 15:17:57 +02:00
QC
79e729bd37
Update the test to integrate in build.
...
* TODO: fix make distcheck.
2014-08-29 13:06:40 +02:00
QC
169c05cc15
Fix crash in history when removing last entry.
2014-08-29 12:14:43 +02:00