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
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
Dave Davenport
358759e0ab
Reset pointer to NULL after free'ing.
2017-04-04 08:31:25 +02:00
Dave Davenport
ae200fd164
Fix checks compiling
2017-04-03 12:04:07 +02:00
Dave Davenport
f7971fc0e6
Add list of available modi to help output.
2017-04-03 08:51:25 +02:00
Dave Davenport
a754815d14
Add converter back for old theme format.
2017-04-02 12:32:11 +02:00
Dave Davenport
563dc8dafd
Fix alternate separator
2017-03-31 20:57:42 +02:00
Dave Davenport
2953e3cb1f
Test if case_indicator exists before setting it.
2017-03-31 18:06:41 +02:00
Dave Davenport
b418352d43
Don't quit, show error when failing to load mode.
2017-03-31 17:51:23 +02:00
Dave Davenport
a885966f30
Show what mode failed to load.
2017-03-31 17:47:04 +02:00
Dave Davenport
b4c9bad267
Document '/' as separator and add to combi mode.
2017-03-31 15:27:13 +02:00
Dave Davenport
738d7e2e0c
Allow '/' as separator between modi. ( #582 )
2017-03-31 14:07:22 +02:00
Dave Davenport
18618ddbd1
When modi is not enabled, only print warning when started from console
2017-03-31 13:59:46 +02:00
Dave Davenport
9ae1344d56
Improve error message when called with -show
2017-03-31 13:47:44 +02:00
Dave Davenport
d31fc5c8bc
Update message when launched without show argument.
2017-03-31 10:11:50 +02:00
Dave Davenport
4d19e35b0e
Remove more traces of old theme.
2017-03-30 08:33:40 +02:00
Dave Davenport
898e4a2717
Remove old color structure and name based parsing
2017-03-30 08:30:02 +02:00
Dave Davenport
eeee200d8f
Remove old theme support. (part 1)
2017-03-29 20:18:41 +02:00
Dave Davenport
290143e0c8
Merge remote-tracking branch 'github/master'
2017-03-29 19:49:27 +02:00
Dave Davenport
904ab9eafc
Force sync and finishing of pending requests before shutting disconnecting from X11 #576
2017-03-29 19:49:10 +02:00
Dave Davenport
6de992bda8
Remove unneeded tab binding.
2017-03-29 12:25:57 +02:00
Dave Davenport
042e123765
Change default from Shift+Tab to ISO_Left_Tab
2017-03-29 11:56:19 +02:00
Quentin Glidic
e45f0194d1
mode: Properly use mode init return value
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-03-28 22:27:16 +02:00
Dave Davenport
8c345273ff
Indenting.
2017-03-28 20:04:02 +02:00
Dave Davenport
5259eb11bc
Merge the configuration loading into something more simple (3)
2017-03-28 17:33:43 +02:00
Dave Davenport
14b43523be
Merge the configuration loading into something more simple (2)
2017-03-28 17:13:38 +02:00
Dave Davenport
7b30846408
Merge the configuration loading into something more simple (1)
2017-03-28 17:03:46 +02:00
Dave Davenport
b91a9fb0c0
Add 'Configuration' section to rasi format that parses config option.
2017-03-27 09:04:55 +02:00
Dave Davenport
0b03fc98ff
If user_runtime dir does not exist, try fallback and limp on.
2017-03-25 21:52:51 +01:00
Dave Davenport
61e537a05f
ISSUE 576: Clutching at straws.
...
* Don't use atexit anymore. (what happens with g_spawn and atexit?
should be fine, but a test).
* Even though not needed, force wait on running thread (of which there
should be none) when destroy thread pool.
2017-03-25 14:23:31 +01:00
Dave Davenport
0900b0d925
README: Call run-mode application launcher
2017-03-24 09:51:57 +01:00
Dave Davenport
5c42f7f626
Do an extra log before calling unmap and destroy window
2017-03-21 19:59:40 +01:00
Dave Davenport
606f4e89c5
Add teardown debug message
2017-03-21 19:46:56 +01:00
Dave Davenport
70e3b189df
Remove entry from history once deleted. #579
2017-03-21 17:19:05 +01:00
Dave Davenport
12cbb0368d
#579 Fix delete cached entry.
2017-03-20 12:37:52 +01:00
Dave Davenport
c27921f99a
Small change to make cppcheck happy
2017-03-18 16:06:41 +01:00
Dave Davenport
6447ddf0d7
clang-check fixes
2017-03-17 14:27:08 +01:00
Dave Davenport
50477a0b99
[Keys] Cleanup view a bit.
2017-03-17 14:07:11 +01:00
Dave Davenport
dfeb5940d4
Reduce scope and unneeded check.
2017-03-17 13:33:47 +01:00
Dave Davenport
000c113925
[DRUN] Get categories on initial parsing from keyfile, not on matching (is slow-ish)
2017-03-14 17:34:41 +01:00
Dave Davenport
ee931f5480
[Textbox] Remove unneeded calls to pango_layout_get_baseline.
...
Now bulk time is spend in drawing, not calculating.
2017-03-14 17:12:22 +01:00
Dave Davenport
d52c80d76f
[Textbox] Remove unneeded calls to pango_layout_get_pixel_size.
...
This was 21% of the widget update time.
2017-03-14 17:02:03 +01:00
Dave Davenport
9cfb075bc4
Add filename to location in error message.
2017-03-13 16:42:17 +01:00
Dave Davenport
be036f086d
Reset location when importing, correctly resolve relative path
2017-03-13 08:54:55 +01:00
Dave Davenport
b7f4b7484f
Some initial support for @import in theme and try to fall back when theme fails to load
2017-03-11 17:06:06 +01:00
Dave Davenport
13bac230a2
[SSH] Fix missing parameter documentation
2017-03-11 13:40:05 +01:00
Dave Davenport
652749081a
Fix missing doxygen documentation
2017-03-11 13:20:46 +01:00
Dave Davenport
cee753bd3c
Zeltakmadness ( #572 )
...
* Allow modi to set extra pango attributes on displayed rows
* Fix some documentation, only highlight the mode name with color.
* Small rename.
2017-03-10 23:39:29 +01:00
Dave Davenport
25678d7a59
Floor the result, so we do not get 1/2 pixel gaps.
2017-03-09 19:00:26 +01:00
Dave Davenport
b72a010908
Issue570 ( #571 )
...
* First start issue #570
* Implement (glob style) includes.
* Add glob check to configure.
* If expanding path, use it
2017-03-08 16:56:28 +01:00
Dave Davenport
88cde09055
Merge remote-tracking branch 'gitcreate/master'
2017-03-06 10:35:20 +01:00
Dave Davenport
9938317dc5
Don't g_strsplit everytime, use strtok.
2017-03-06 09:56:02 +01:00
Dave Davenport
cb9255bbea
Allow slice allocator for theme
2017-03-04 20:09:19 +01:00
Dave Davenport
3f4d58ef53
Indent code.
2017-03-04 19:41:06 +01:00