1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00
Commit graph

29 commits

Author SHA1 Message Date
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
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
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
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
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
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
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