Commit graph

553 commits

Author SHA1 Message Date
Dave Davenport
fd56e07159 Remove hardcoded #columns from default theme. 2017-05-12 16:08:14 +02:00
Dave Davenport
cf8796ccd3 Move position parsing to bison file. 2017-05-09 13:53:45 +02:00
Dave Davenport
cc714f8f91 Fix more compiler warning 2017-05-04 07:56:40 +02:00
Dave Davenport
fb11b8ceb6 [Test,Helper] Add test for utf8_strncmp and fuzzy evaluate. 2017-05-01 09:07:22 +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
b136631cb9 Fix typo in function declaration documentation 2017-04-25 11:59:25 +02:00
Dave Davenport
fb318f0ff8 Cleanups, fix arguments mismatch 2017-04-23 15:17:15 +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
97fe894f43 Add some theme name resolving functions. 2017-04-17 17:46:01 +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
79c33cfca6 Improve error messages when type does not match. 2017-04-09 15:27:23 +02:00
Dave Davenport
ae200fd164 Fix checks compiling 2017-04-03 12:04:07 +02:00
Dave Davenport
ed647dc4c1 Fix some conversion compatibility 2017-04-02 12:47:53 +02:00
Dave Davenport
a754815d14 Add converter back for old theme format. 2017-04-02 12:32:11 +02:00
Dave Davenport
c28dd35f3d Update default theme.
* For  use in theme generation.
2017-04-02 10:50:55 +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
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
b91a9fb0c0 Add 'Configuration' section to rasi format that parses config option. 2017-03-27 09:04:55 +02: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
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
3f4d58ef53 Indent code. 2017-03-04 19:41:06 +01:00
Dave Davenport
86dc1e1448 Detect plugins on startup. 2017-03-04 12:00:59 +01:00
Dave Davenport
45c70cbecf Allow modes to set message box, instead of view creation argument. 2017-03-01 09:57:54 +01:00
Dave Davenport
8bd7db31d2 Add message box to view structure. Always add it, disable it when not showing anything 2017-03-01 09:37:20 +01:00
Dave Davenport
ed7cfcb6aa Add openbox to the naughty list 2017-02-18 10:47:53 +01:00
Dave Davenport
dc7e4aa96e Install some headers for use in plugins 2017-02-17 14:06:31 +01:00
Dave Davenport
f7b4bebb9b Rename token_match to helper_token_match. 2017-02-17 09:58:47 +01:00
Dave Davenport
9bd4096346 Add quick'n dirty abi check. 2017-02-14 18:12:07 +01:00
Dave Davenport
fb05409365 Start of making SardemFF7 happy
Allow mode's to be loaded as dynamic plugins.
2017-02-14 08:52:17 +01:00
Dave Davenport
a579c86c1f Only switch to the desktop first if we are on AweSome WM 2017-02-11 17:12:07 +01:00
Dave Davenport
c386521574 Add an window manager detection function to startup.
current_window_manager now is an enum of known window managers.
2017-02-11 16:53:37 +01:00
Dave Davenport
87251a991c Indent 2017-02-09 08:27:26 +01:00
Dave Davenport
7b3e0918cf Reduce amount of paths created 2017-02-06 23:45:46 +01:00
Dave Davenport
db92ff1f41 Add border radius to border around widget. 2017-02-06 21:17:56 +01:00
Dave Davenport
8ef7b4b794 Don't recreate every string everytime. 2017-02-03 20:49:16 +01:00
Dave Davenport
2fe22cb7e2 Return to default border when nothing set after state update 2017-02-03 15:44:52 +01:00
Dave Davenport
8f4a4d51c6 Don't apply fonts that don't result in family name or have size 0.
Issue: 554
2017-02-03 09:54:18 +01:00
Dave Davenport
42a1eba275 Remove the extra layer each textbox keeps for drawing its text. (#553) 2017-02-02 20:31:47 +01:00
Moritz Maxeiner
6b9dc1d081 Combi mode: Bang mode prefixes with len>1 (#542)
* Combi mode: Bang mode prefixes with len>1

This is required to match on modes that share a prefix.
Let 'power' and 'pass' be such modes for the following explanation:
Previously, only the first character of after the bang was compared,
so '!p' would always be matched to the 'pass' mode and there was no
way to limit selection in combi mode to the 'power' mode.
Now we can use prefixes of arbitrary length following the bang
such as '!po' (matches 'power' mode), or '!pa' (matches 'pass' mode).
Prefixes of length 1 are unchanged compared to the previous
behaviour, i.e. '!p' will still match 'pass'.

* Combi-mode prefixes should be utf-8 aware
2017-01-26 19:46:46 +01:00
Dave Davenport
b63e417e38 Add configurable fonts for testing. #544 2017-01-24 08:40:37 +01:00