1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00
rofi/include
Jason Kim a4c5a92199
Support rasi config character type options (#1131)
* style: remove extra space

* feat: handle xrm_Char in config parser

Handle the `xrm_Char` case in the (rasi theme) config file parser.  This
should properly handle configuration like

```
matching-negate-char: "\0";
```

and

```
matching-negate-char: "-";
```

* refactor: don't handle mem in xrm_Char case

`mem` shouldn't ever be set when `XrmOption` is `type` `xrm_Char`.
Therefore, there is no need to check it and free it.  Remove that logic.

* refactor: further condense logic

* style: s/Everythin/Everything/

* style: s/parsing an section/parsing a section/

...and missing period.

* feat(lexer): add CHAR token

Add a `CHAR` token that takes things of the form `'<char>'` or some
specific backslash escape sequences like `'\''` and `'\0'`.  For now,
save it as a `T_STRING`.

* refactor: define char property type

* feat(parser): add cval and T_CHAR

* refactor: use char property for xrm_Char

Instead of using strings for property elements of type char, use
characters, which were recently added to the grammar.
2020-05-17 14:50:38 +02:00
..
dialogs Add option to make entry non-selectable in dmenu/script. 2020-02-02 14:21:29 +01:00
widgets [Widget] Propaget set_state to children. 2020-05-13 16:25:12 +02:00
css-colors.h Indent the code. 2018-08-08 15:55:13 +02:00
display.h Update copyright dates. 2020-01-01 12:23:12 +01:00
helper-theme.h Update copyright dates. 2020-01-01 12:23:12 +01:00
helper.h Indent all the code. 2020-02-02 13:56:37 +01:00
history.h Update copyright dates. 2020-01-01 12:23:12 +01:00
keyb.h Update copyright dates. 2020-01-01 12:23:12 +01:00
mode-private.h Update copyright dates. 2020-01-01 12:23:12 +01:00
mode.h Update copyright dates. 2020-01-01 12:23:12 +01:00
rofi-icon-fetcher.h Indent the code. 2018-08-08 15:55:13 +02:00
rofi-types.h Support rasi config character type options (#1131) 2020-05-17 14:50:38 +02:00
rofi.h Update copyright dates. 2020-01-01 12:23:12 +01:00
settings.h Add some ui benchmark code 2020-05-12 10:40:50 +02:00
theme.h [Themes] add calc() support to distance in theme format. (#1105) 2020-04-24 19:54:08 +02:00
timings.h Update copyright dates. 2020-01-01 12:23:12 +01:00
view-internal.h Indent all the code. 2020-02-02 13:56:37 +01:00
view.h [DMenu] Implement -keep-right 2020-04-16 23:31:43 +02:00
xcb-internal.h Update copyright dates. 2020-01-01 12:23:12 +01:00
xcb.h Update copyright dates. 2020-01-01 12:23:12 +01:00
xrmoptions.h Add -upgrade-config option. 2020-01-02 12:00:44 +01:00