Dave Davenport
4bd9828aa7
Remove index from box_add.
2017-06-02 16:53:39 +02:00
Dave Davenport
1d622aa59c
Change ThemeHighlight to RofiHighlightColorStyle
2017-06-02 16:46:28 +02:00
Dave Davenport
3e46228074
Change Padding to RofiPadding
2017-06-02 16:44:16 +02:00
Dave Davenport
ea7d20d150
Change Orientation enum to RofiOrientation.
2017-06-02 16:34:52 +02:00
Dave Davenport
9915857a2e
Change Distance struct to RofiDistance.
2017-06-02 16:25:47 +02:00
Dave Davenport
7352f1c2ba
Change PixelWidth to RofiPixelUnit.
2017-06-02 16:21:05 +02:00
Dave Davenport
48bf1709b6
Rename HL_ to ROFI_HL_ and fix box test.
2017-06-02 16:09:20 +02:00
Quentin Glidic
51d34b662e
helper: Add API to support startup notification
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:54:21 +02:00
Quentin Glidic
46dee2671d
x11-helper: Rename xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:12:58 +02:00
Quentin Glidic
352103c5d4
test-x/issue333: Fix binding Control+a for the test
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 15:08:46 +02:00
Quentin Glidic
faa88343f0
test-x: Try to run tests without fluxbox
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 15:07:48 +02:00
Quentin Glidic
4891bcd7eb
bindings: Use a wrapper around rofi_view_trigger_action
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 14:14:59 +02:00
Quentin Glidic
4e448eac45
widget.test: Add NULL tests for trigger_action functions
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
c68dc38c36
box.test: Test find_mouse_target
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
839693391b
theme-parser.test: Run in locale C, as we test error strings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
a24af6e64c
mode/keys: Display all bindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
0555d15c46
scrollbar: Make it scroll again
...
On click for now, will add motion grab in the following commit
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
823a45f711
scrollbar: Rework scrollbar_scroll_get_line to work on relative y
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
a9199e3e17
Use libnkutils for keybindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:51:06 +02:00
Quentin Glidic
0afe4d237d
test-x: Keep server and fluxbox logs out of the way
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:43:46 +02:00
Quentin Glidic
04faad945a
Merge branch 'master' into wip/meson
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:21:57 +02:00
Dave Davenport
8616e4e8c6
Add whitespace check for hsl and error range check check
2017-05-21 13:34:58 +02:00
Dave Davenport
421f84285f
Add strikethrough to theme manpage.
...
- extend theme test to hit all rgba rules.
2017-05-18 18:04:52 +02:00
Dave Davenport
fa125cb456
Add extra test for angle unit.
2017-05-18 08:14:41 +02:00
Dave Davenport
41a7e06919
[Theme] Update theme-manpage
2017-05-17 08:24:28 +02:00
Dave Davenport
30fb8c514e
Change ARGB to RGBA, fix in theme converter
2017-05-16 21:55:52 +02:00
Dave Davenport
494550d38d
[ThemeParser] Add CSS color names support
...
* [ThemeParser] Add css color names
* Add CSS color support (WIP)
* Parse color names in the lexer.
* Add test for css color names
* Indent and fix ordering
2017-05-15 22:46:33 +02:00
Dave Davenport
e397c346da
[ThemeParser] Extend color formats.
...
- Support whitespace format.
- Support deg,rad, grad, turn angle.
- Add alpha channel support to hwb
2017-05-15 15:05:40 +02:00
Dave Davenport
f0ceeb86d8
[Lexer] Support hsla
2017-05-15 09:10:02 +02:00
Dave Davenport
3fe42c3f79
Update old-theme-convert test
2017-05-14 19:43:44 +02:00
Dave Davenport
e4c935c764
Add a old theme conversion test and default theme dump test.
2017-05-14 18:22:27 +02:00
Dave Davenport
4e7aa06333
Update test to have no user path.
2017-05-14 17:42:05 +02:00
Dave Davenport
47c6c8435a
Add a small test for error message failing to open file.
2017-05-14 17:21:34 +02:00
Dave Davenport
94ee637102
[Parser] Fix HWB parser alpha channel and add test.
2017-05-13 22:51:10 +02:00
Dave Davenport
ed11c3265d
Cleanup parser (document some rules)
2017-05-11 18:23:36 +02:00
Dave Davenport
aaea2b2c8a
Add hsl and cmyk test, add extra error checking
2017-05-10 20:54:16 +02:00
Dave Davenport
cf8796ccd3
Move position parsing to bison file.
2017-05-09 13:53:45 +02:00
Quentin Glidic
7fd8ce4c0a
Add Meson build system support
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 21:50:07 +02:00
Quentin Glidic
bc295bddd5
tests: Properly define placeholders
...
And include all needed headers, to catch misdefinitions.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:05:27 +02:00
Quentin Glidic
cdc352edf9
tests: Mark static functions as static
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:05:24 +02:00
Quentin Glidic
1bbb19b4cb
tests: Drop leftover placeholder functions
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 14:55:58 +02:00
Dave Davenport
dbf551ec15
Cleanup some compile warning on the tests
2017-05-03 17:57:08 +02:00
Dave Davenport
fb11b8ceb6
[Test,Helper] Add test for utf8_strncmp and fuzzy evaluate.
2017-05-01 09:07:22 +02:00
Dave Davenport
651c0bf03d
[Test,Lexer] Add a newline test
2017-04-30 20:15:49 +02:00
Dave Davenport
aba295647a
[Test] Convert theme-parser test to use libcheck.
2017-04-30 17:44:53 +02:00
Dave Davenport
90d946b809
Hopefully fix for outdated travis
2017-04-29 18:09:10 +02:00
Dave Davenport
084125bc4c
[Test] Play with check.
2017-04-29 17:52:37 +02:00
Dave Davenport
e7d58ada4d
[Test] Add initial code for mode test. (without gui)
2017-04-28 09:43:12 +02:00
Dave Davenport
b1ecb6ca77
[Test] Fix test.
2017-04-27 00:03:59 +02:00
Dave Davenport
d3594e275e
[Test] test configuration block in config.
2017-04-26 23:47:58 +02:00
Dave Davenport
e16d8f755a
[Test] Fixing test
2017-04-26 23:36:27 +02:00
Dave Davenport
ac2390c76d
[Lexer] More tests.
...
Fix return of double.
2017-04-26 23:24:14 +02:00
Dave Davenport
484aa35716
[Lexer] Fix color parsing.
2017-04-26 22:45:14 +02:00
Dave Davenport
d79423f2cf
[Lexer] Fix wrong division factor for #RGB color parsing (15 not 16)
2017-04-26 18:43:49 +02:00
Dave Davenport
38f91e8953
[Test,Lexer] Add test for distance parsing, fix bug in em (double)
...
* Parsed as int, not double.
2017-04-26 08:05:04 +02:00
Dave Davenport
7291c1f497
[Test,Theme] Add extra test for wind direction and newline and link
2017-04-26 07:46:01 +02:00
Dave Davenport
470057be17
Add some tests importing (and failing) file.
2017-04-25 23:34:48 +02:00
Dave Davenport
8d2da410df
Print out diff of failing match
2017-04-25 20:13:34 +02:00
Dave Davenport
f23d035e52
Fix checks
2017-04-17 18:07:50 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
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
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