Commit graph

2359 commits

Author SHA1 Message Date
Dave Davenport
d592a59252 [ListView] Add bar mode. 2017-05-23 09:45:42 +02:00
Dave Davenport
f5c57ff821 [TextBox] Add get_desired_width function. 2017-05-23 09:12:04 +02:00
Dave Davenport
dca5caaa47 [Theme] Add small caps options (not working?) 2017-05-22 09:24:05 +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
a42f4a41fd Fix tests for default theme fix 2017-05-20 15:37:29 +02:00
Dave Davenport
7b42adcca2 Fix default theme sidebar mode. 2017-05-20 14:40:16 +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
72afc7b039 Add strikethrough highlight method. 2017-05-18 07:59:37 +02:00
Dave Davenport
bcea55c398 Small updates to theme manpage.
- Add named colors.
 - Add named colors alpha.
2017-05-17 22:02:59 +02:00
Dave Davenport
41a7e06919 [Theme] Update theme-manpage 2017-05-17 08:24:28 +02:00
Dave Davenport
bca8ca33d8 Update test 2017-05-16 22:33:55 +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
9d068151fd Update contributing 2017-05-14 21:06:34 +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
f5ba9359a9 See output of test failing only in travis. 2017-05-14 17:36:27 +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
c54a817555 If we hit edge of entry box, make left/right move forward to listview. 2017-05-12 16:08:49 +02:00
Dave Davenport
fd56e07159 Remove hardcoded #columns from default theme. 2017-05-12 16:08:14 +02:00
Dave Davenport
67e38cde40 Fix some clang compiler warnings 2017-05-11 18:30:44 +02:00
Dave Davenport
76244fedc0 Make property name rule consistent. 2017-05-11 18:25:38 +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
f5b1e4b3d4 Move most of the parsing to yacc instead of lexer 2017-05-10 12:41:06 +02:00
Dave Davenport
00e297c5ca Update highlight style parsing 2017-05-09 14:12:03 +02:00
Dave Davenport
cf8796ccd3 Move position parsing to bison file. 2017-05-09 13:53:45 +02:00
Dave Davenport
2a381856aa Allow more whitespace in colortype() structure 2017-05-08 22:21:01 +02:00
Dave Davenport
a8bf476db3 Add support for hwb,hsl,cmyk (need tests) 2017-05-06 16:10:20 +02:00
Quentin Glidic
bb5d839f9c
xkb: Allow binding modifiers
And modified modifiers too.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 23:53:52 +02:00
Quentin Glidic
6f117c3589
xkb: Use consumed2 API when available
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 23:42:01 +02:00
Dave Davenport
0cde9a9d0e Fixing make dist including build lexer header file 2017-05-04 21:49:24 +02:00
Dave Davenport
82e2456043 Fix building out of source dir. 2017-05-04 21:41:38 +02:00
Quentin Glidic
726a0ed3ca
gitmodules: Update libgwater
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:30:18 +02:00
Quentin Glidic
a1c877e680
travis: Cleanup
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:14:28 +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
Quentin Glidic
7f78031bda
widgets: Use G_PI and G_PI_2 instead of M_PI
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 13:40:16 +02:00
Quentin Glidic
25d0d5e679
rofi: Do not include gitconfig.h directly
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 13:40:16 +02:00
Quentin Glidic
4fccb3efdc
theme-parser: Drop lexer/ in #includes
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 13:40:12 +02:00
Dave Davenport
cc714f8f91 Fix more compiler warning 2017-05-04 07:56:40 +02:00
Dave Davenport
dbf551ec15 Cleanup some compile warning on the tests 2017-05-03 17:57:08 +02:00
Dave Davenport
1f76e2c3f3 Small code refactor to work around mis-detect static code analyzer. 2017-05-03 17:41:14 +02:00
Dave Davenport
fb11b8ceb6 [Test,Helper] Add test for utf8_strncmp and fuzzy evaluate. 2017-05-01 09:07:22 +02:00