Commit graph

1464 commits

Author SHA1 Message Date
Quentin Glidic
d514cf4c26
view: Remove some more leftovers
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 12:06:18 +02:00
Quentin Glidic
b314a90f1d
widget: Remove some more leftovers
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 21:03:52 +02:00
Quentin Glidic
5ea9a93cac
view: Drop leftover g_print
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:57:49 +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
Dave Davenport
89e9c2d0a5 G_MODULE_EXPORT config_path 2017-05-28 17:15:59 +02:00
Dave Davenport
141b46aae0 Add extra error message when failed to open plugin 2017-05-28 17:12:10 +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
f1261e181c Revert changes to script. 2017-05-23 17:19:04 +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
72afc7b039 Add strikethrough highlight method. 2017-05-18 07:59:37 +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
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
67e38cde40 Fix some clang compiler warnings 2017-05-11 18:30:44 +02:00
Dave Davenport
aaea2b2c8a Add hsl and cmyk test, add extra error checking 2017-05-10 20:54:16 +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
Quentin Glidic
7fd8ce4c0a
Add Meson build system support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 21:50:07 +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
1f76e2c3f3 Small code refactor to work around mis-detect static code analyzer. 2017-05-03 17:41:14 +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
ac2390c76d [Lexer] More tests.
Fix return of double.
2017-04-26 23:24:14 +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
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
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