Commit graph

2333 commits

Author SHA1 Message Date
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
Dave Davenport
bc428058cb Update contributing. add wayland line. 2017-05-01 08:32:03 +02:00
Dave Davenport
2e98105a18 [Test] Fix travis doxygen redirect. 2017-04-30 20:50:44 +02:00
Dave Davenport
efcf585e22 Reduce doxygen log output. 2017-04-30 20:41:26 +02:00
Dave Davenport
651c0bf03d [Test,Lexer] Add a newline test 2017-04-30 20:15:49 +02:00
Dave Davenport
5d41d228f0 Make explicit flag for enabling/disabling libcheck usage.
Automagic detection is frowned upon:
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies
2017-04-30 20:03:31 +02:00
Dave Davenport
8be234121a Travis: forgot sudo for make install. 2017-04-30 18:37:34 +02:00
Dave Davenport
7892a83301 Allow libcheck to be disabled if not found 2017-04-30 18:34:37 +02:00
Dave Davenport
2ac6678d47 Try to disable doc rebuilding.. 2017-04-30 18:25:18 +02:00
Dave Davenport
8aaed250e1 Add texi2html for check build. 2017-04-30 18:19:11 +02:00
Dave Davenport
2e6db428c9 Install newer version of check in travis.. 2017-04-30 18:02:39 +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
9afa7682f6 Fix some small warning because get_string returns const. 2017-04-28 09:15:01 +02:00
Dave Davenport
ce4b1b23b4 Re-Indent code 2017-04-27 22:59:14 +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
f933fc4ae0 Fix reference file. (Set from file, not default) 2017-04-25 21:45:20 +02:00