Commit graph

1473 commits

Author SHA1 Message Date
Quentin Glidic
4e448eac45
widget.test: Add NULL tests for trigger_action functions
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
a24af6e64c
mode/keys: Display all bindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
6d27a89b99
bindings: Drop unused (and buggy) sentinel
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
acc1fa45b9
widget: Add motion grab support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
0555d15c46
scrollbar: Make it scroll again
On click for now, will add motion grab in the following commit

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
823a45f711
scrollbar: Rework scrollbar_scroll_get_line to work on relative y
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
685d4f0e13
widget: Rely on find_mouse_target to send motion events
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:17 +02:00
Quentin Glidic
30da7e587a
widget: Add widget_xy_to_relative helper
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:44:05 +02:00
Quentin Glidic
6a750669d7
scrollbar: Drop unused variable
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 12:11:17 +02:00
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