Commit graph

3813 commits

Author SHA1 Message Date
Dave Davenport
40da1b25e2 [Theme3.0] Change reference to use the CSS like var() syntax.
Supports defaults var(name, default); var(name);
Where default can be another property.
(https://www.w3schools.com/css/css3_variables.asp)

This deprecates the @name syntax.

Fixes: #876
2019-01-29 17:56:45 +01:00
Dave Davenport
964af7ad35 [DRUN] Fix small memory leak loading desktop files. 2019-01-29 09:29:47 +01:00
Dave Davenport
0dfc671bcc [GrammarParser] Fix memory leak of Property after parsing config entry. 2019-01-29 07:32:07 +01:00
Dave Davenport
640cf28d65 [Script] Add updating prompt to example script. 2019-01-29 07:16:00 +01:00
Quentin Glidic
3dfbf1c631
[Theme] Fix transparency property values
An old sed change "background" to "background-color".

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-01-27 13:25:06 +01:00
Dave Davenport
274f2297aa Fix creating config file if none exists.
Fixes: #895
2019-01-22 15:53:12 +01:00
Dave Davenport
cac2eb1a7f change default alt. window command to bring to current desktop.
Xkill is duplicate of shift-del (build in close). This is more useful.
Fix test-case.

Fixes: #902
2019-01-21 18:09:34 +01:00
Dave Davenport
41e15539b4 Fix modi->mode when refering to singular 2019-01-12 23:33:46 +01:00
Dave Davenport
76273798e4 [MANPAGE] Add comment that only fields in -drun-match-fields can be used in format string.
Fixes: #892
2019-01-11 21:56:31 +01:00
Dave Davenport
1b605ec188 [MANPAGE] Mention that pango markup can be used for drun-display-format.
Fixes: #896
2019-01-11 15:03:24 +01:00
Dave Davenport
f42cffe962 Return EX_DATAERR when fails to parse theme.
This way a script can check if there was an error, otherwise you can
wind up in a loop.
2019-01-07 17:21:31 +01:00
Dave Davenport
89715ef567 Return EX_DATAERR when fails to parse theme.
This way a script can check if there was an error, otherwise you can
wind up in a loop.
2019-01-07 17:19:33 +01:00
moonrisewarrior
9465d189f7 Fix grammar, spelling, and formatting in readme (#888)
* Fix grammar and formatting mistakes in readme

* Missed a full stop
2019-01-02 10:51:59 +01:00
Yoav
238648b5b2 Add history ignore (#846) 2018-12-31 00:35:00 +01:00
Dave Davenport
aacb570850 Setup dev for next release. 2018-12-30 13:17:27 +01:00
Dave Davenport
19279f5a42 Release 1.5.2 2018-12-30 13:14:51 +01:00
Dave Davenport
7a5af2a0e6 Add release title 2018-12-30 13:06:27 +01:00
Dave Davenport
ce7ee4e692 Update release notes. 2018-12-30 12:58:59 +01:00
Dave Davenport
0b09989f66 Start with release notes. 2018-12-27 19:48:40 +01:00
Rasmus Steinke
5d50ae45cd Follow symlink before writing config file. Fixes #884 2018-12-22 09:36:48 +01:00
Dave Davenport
8ea484349b Remove unused variable. 2018-12-15 21:22:53 +01:00
Dave Davenport
36d02d1d5c Update changelog. 2018-12-14 17:10:34 +01:00
Till Hofmann
b77a48c628 tests: initialize char* in mode test (#875)
* tests: initialize char* in mode test

Currently, test_mode_result relies on undefined behavior.
The test calls mode_result, which checks whether the pointer is NULL.
However, the pointer was never initialized, so it may or may not be
NULL, depending on the compiler.

This caused a test failure on ppc64 and Fedora 28, apparently because in
this setting, gcc sets uninitialized pointers to NULL.

By initializing the pointer to the empty string, the behavior is defined
and the test passes on all architectures.

* mode: fix input pointer check in mode_result

Do not check whether *input (i.e., the char* the input points to) is
NULL, as this is valid. Instead, check whether the input itself is NULL.

* tests: make char* input arg in test_mode_result modifiable

The function mode_result expects a modifiable char*, initialize the
argument properly so it can be modified.
2018-12-14 17:05:07 +01:00
Dave Davenport
6b96ae123b Add an option to change the matching negation character.
Fixes: #877
2018-12-14 16:58:26 +01:00
Dave Davenport
30e500450d Add extra note to the Check dependency.
Fixes: #879
2018-12-14 16:42:59 +01:00
Dave Davenport
2624cb9c9b Update install instructions. Try to improve manpage.
Fixes: #871
2018-11-06 23:42:26 +01:00
Dave Davenport
1915de7329 Update changelog. 2018-11-01 22:22:59 +01:00
Dave Davenport
1ed94ead7e Add missing Example script
Fixes: #869
2018-11-01 09:32:00 +01:00
Dave Davenport
6146d25b36 [Regression test] Fix new drun-display-format field. 2018-10-17 23:17:46 +02:00
Dave Davenport
76ceac1f20 [DRUN] Add drun-display-format. 2018-10-17 23:02:50 +02:00
Dave Davenport
f80e7d52bc [Helper] Remove fixed key/values and accept keys with NULL as values. 2018-10-17 22:41:20 +02:00
Dave Davenport
e8edc42f9d [Helper] Quick and dirty string replacer with optional keys block.
First (quick and dirty) version of a more advanced key replacer where
sets of text are only outputted if the contained key matches.
2018-10-16 21:01:45 +02:00
Lukas Alexandre
6830e5d117 Fixing typos in docs and error messages, "numger" -> "number" (#867) 2018-10-14 16:57:52 +02:00
Dave Davenport
11afb8e678 [Icon] Fix loading icons that are already in cache.
fixes: #860
2018-10-05 11:01:48 +02:00
Dave Davenport
114b2cf2fd [SSH] Improve parser for known_hosts a bit.
Issue: #820
2018-09-22 16:16:25 +02:00
Davide Masserut
f888805ccd Add kitty to rofi-sensible-terminal 2018-09-12 00:12:38 +02:00
Dave Davenport
a99cfa56c4 [Script] Add initial support for icons.
Issue: #840
2018-09-09 17:53:56 +02:00
Dave Davenport
795a0e085d Fix typo in manpage -sort-method --> -sorting-method 2018-09-08 23:44:18 +02:00
fREW Schmidt
1a410cbcc9 Fix links to forum 2018-09-02 21:54:30 +02:00
Dave Davenport
859a9c79d6 Indent the code. 2018-08-08 15:55:13 +02:00
Dave Davenport
4631ac711f Try to clarify guidelines a bit. 2018-08-03 11:04:16 +02:00
Quentin Glidic
ed3d893610
Issue template: Be more specific about requirements
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-08-02 15:42:23 +02:00
Dave Davenport
4538303be6 [DRUN] Add option to show actions in drun.
Fixes: #836
2018-07-28 11:12:11 +02:00
Dave Davenport
0058088962 [Lexer] Remove Ambiguity in parser on empty input. 2018-07-21 18:43:03 +02:00
Dave Davenport
06165f867a [Lexer] Only allow configuration blocks before theme. 2018-07-15 11:04:47 +02:00
Dave Davenport
e4d823774c Export icon fetcher header, remove nxd from icon-fetcher header. 2018-07-14 18:05:34 +02:00
Dave Davenport
d526ae2ec3 [IconFetcher] preload the user set icon theme 2018-07-14 11:54:00 +02:00
Patrick Collins
5da46d6f7b fix typo and grammar (#832)
Therefor -> Therefore
plural/singular
. But -> , though
2018-07-12 13:33:13 +02:00
Patrick Collins
6380c5b9bc fix typo (#831)
exteneded -> extended
2018-07-11 22:26:06 +02:00
Quentin Glidic
a56bb423bf
travis: Download Meson ourselves
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-07-10 18:49:54 +02:00