Commit graph

2294 commits

Author SHA1 Message Date
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
Dave Davenport
8d2da410df Print out diff of failing match 2017-04-25 20:13:34 +02:00
Dave Davenport
f3dc9f94f3 Test reference file hardcode plugin path. 2017-04-25 20:05:22 +02:00
Dave Davenport
26d3d7dfc1 Fix reference files for tests. 2017-04-25 19:55:00 +02:00
Dave Davenport
b136631cb9 Fix typo in function declaration documentation 2017-04-25 11:59:25 +02:00
Dave Davenport
be6bf5fd01 Fix check 2017-04-25 11:44:13 +02:00
Dave Davenport
876e743497 Fix flex install travis build. (#589)
* add libfl/trusty-backports as dep
2017-04-25 09:54:56 +02:00
Dave Davenport
fb318f0ff8 Cleanups, fix arguments mismatch 2017-04-23 15:17:15 +02:00
Dave Davenport
dd715fa1ad Remove -dump-xresources-theme option that does not exists anymore from -help
* and manpage
2017-04-21 17:31:07 +02:00
Dave Davenport
04e764c8e6 [Plugins] Add -no-plugins and -plugin-path options
* -no-plugins disables the loading of plugins.
* -plugin-path specifies the directory used by rofi to look for plugins.
2017-04-21 09:48:03 +02:00
Dave Davenport
01159b29f0 [Mode] Make the name field a pointer instead of a fixed 32char array. 2017-04-21 09:37:03 +02:00
Dave Davenport
5edc739848 Try to improve error message a bit (damn g_warning replace) 2017-04-20 09:24:09 +02:00
Dave Davenport
9bd17ddfd0 [RUN] Report the expanded PATH entry in debug output 2017-04-19 10:24:09 +02:00
Dave Davenport
dc2de0d042 [RUN] Expand the paths found in /home/mkoedam/.local/bin/:/opt/mpd/bin/:/home/mkoedam/.local/bin/:/opt/mpd/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games 2017-04-19 09:26:35 +02:00
Dave Davenport
854304ca2f Change screenshot warning to printf. 2017-04-18 19:32:52 +02:00
Dave Davenport
4157b5d825 [Theme] Allow default enabled state of widget to be set in theme 2017-04-18 08:47:48 +02:00
Dave Davenport
8c11b48532 Print message about disabled mode to stderr using fprintf.
g_warning breaks the colour output.
2017-04-18 08:24:09 +02:00
Quentin Glidic
6250e39e31
Do not hardcode ${datadir} as ${prefix}/share
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-17 18:18:07 +02:00
Dave Davenport
f23d035e52 Fix checks 2017-04-17 18:07:50 +02:00
Dave Davenport
97fe894f43 Add some theme name resolving functions. 2017-04-17 17:46:01 +02:00
Adrià Farrés
7c14468697 Add newline (#588) 2017-04-15 21:50:55 +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
Quentin Glidic
cfbe4027bc
Consolidate logging
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:07:29 +02:00
Dave Davenport
ba9e1fb92a Switch to g_{debug,warning} instead of g_log 2017-04-15 11:37:50 +02:00
Dave Davenport
d2bf704d93 Print warning in using g_log. 2017-04-14 11:14:30 +02:00
Aaron Ash
1bfbc327c2 Handle null X events without error 2017-04-14 11:12:21 +02:00
Dave Davenport
d6af6d29fc Small memory leak in theme-config parser. 2017-04-12 09:22:26 +02:00
Dave Davenport
f1c23c5bfa When query theme for exact match, do not consider state. 2017-04-11 21:11:09 +02:00
Dave Davenport
7633775eed Update contributing page. 2017-04-11 09:09:20 +02:00
Dave Davenport
b0fbd607bb Change, failed, forum to reddit. 2017-04-11 09:06:11 +02:00
Dave Davenport
27339bf9bf Avoid possible buffer overflow 2017-04-10 17:30:11 +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
79c33cfca6 Improve error messages when type does not match. 2017-04-09 15:27:23 +02:00
Dave Davenport
b227fece10 Fix some warning that converity scan picked up. 2017-04-06 19:55:47 +02:00
Dave Davenport
898b5466f0 Fix memory leak on parser fail. 2017-04-06 09:12:03 +02:00
Dave Davenport
387093a673 Fix EM always being real 2017-04-05 21:27:35 +02:00
Dave Davenport
557241ba94 New FLEX version compares against 0 for EOF other (old) against EOF (-1) 2017-04-05 08:26:11 +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
663f53290f Travis (#583)
* Add trusty backports for flex.

* Explicitly indicate to take backport package

* Fix reference file update.
2017-04-04 21:13:39 +02:00