Commit graph

241 commits

Author SHA1 Message Date
Dave Davenport
ff4946edaf Cleanup compiler warnings.
- Unused var.
- Missing switch statement.
- Change fallthrough for older compilers.
2017-09-17 18:17:26 +02:00
Dave Davenport
28ca3cb510 Fix tests. 2017-09-07 20:03:21 +02:00
Dave Davenport
acfc07a63e Fix Inherit keyword 2017-09-07 13:46:09 +02:00
Dave Davenport
ba296f9210 Add ch as size unit. 2017-09-05 13:52:21 +02:00
Dave Davenport
686be5856c Move PropertyType into rofi-types header and add check for names pairs. 2017-08-17 19:04:01 +02:00
Quentin Glidic
a9ae4424c2
tests/window: Wait for other xterm to close
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-27 23:43:47 +02:00
Quentin Glidic
e570fd76c3
tests/window: Add some logging
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-27 18:08:23 +02:00
Quentin Glidic
e854260ef8
tests: Better logging
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-27 17:48:08 +02:00
Dave Davenport
b9c624d2ee Add test for strings with embedded "'s 2017-06-26 23:00:41 +02:00
Dave Davenport
9af191de26 Fix tests by splitting types name into separate file. 2017-06-20 21:02:13 +02:00
Dave Davenport
22aacb8f94 Add extra check for rofi_theme_parse_prepare_file 2017-06-14 16:19:17 +02:00
Dave Davenport
32f67ab5a5 Add list property test, allow empty lists. 2017-06-14 08:18:59 +02:00
Dave Davenport
9fe67c1822 [TextBox] Remove TB_LEFT/CENTER/RIGHT replace with xalign/yalign. 2017-06-07 20:16:14 +02:00
Quentin Glidic
0adc0d7c08
view: Always create textbox with type
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 20:04:21 +02:00
Dave Davenport
218886f897 Make matching keywords like Vertical case-insensitive add test.
- Make keywords like dash, horizontal, etc case-insensitive.
 - Add test for orientation property.
2017-06-02 22:12:00 +02:00
Dave Davenport
4cd2d87ed2 Merge remote-tracking branch 'origin/master' into barview 2017-06-02 18:52:28 +02:00
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