Dave Davenport
eea8897501
Fix some of the documentation
2020-10-12 21:39:36 +02:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Dave Davenport
b03edc5cf3
Update copyright dates.
2020-01-01 12:23:12 +01:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +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
Edward Betts
79adae77d7
Correct spelling mistakes. ( #722 )
2017-11-23 18:41:52 +01:00
Dave Davenport
54c45f8f5f
Fix __cplusplus guard. Move after include
2017-11-21 16:04:59 +01:00
Dave Davenport
35304e705d
[Plugin] Add C++ #ifdefs to public header files.
2017-11-20 22:50:58 +01:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
51d1ebf0ea
Install rofi-types.h and fix includes for plugins
2017-10-03 20:50:38 +02:00
Dave Davenport
91d88b1fd1
Rename tokenize to helper_tokenize
2017-10-01 10:51:02 +02:00
Dave Davenport
ebffe5503d
Implement support for specifying negated match
...
- Prepending - inverts the matching result.
- Fix logic window/drun browser.
- Breaks API as argument token_match callback changed.
- Update tests.
Fixes : #665
2017-09-29 08:40:25 +02:00
Dave Davenport
a1ea3e268f
Add more configuration options to script mode, getting closer to dmenu.
...
- urgent
- active
- prompt
- message
2017-09-27 20:00:33 +02:00
Dave Davenport
5d3f69ff69
Fix param
2017-06-11 20:06:07 +02:00
Dave Davenport
067544120f
Make function declaration match function prototype.
...
- Extra NULL check.
2017-06-09 09:18:17 +02:00
Dave Davenport
54727cc9e9
Fix header file.
2017-06-03 16:27:11 +02:00
Quentin Glidic
51d34b662e
helper: Add API to support startup notification
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:54:21 +02:00
Quentin Glidic
0daab1844e
helper: Add execute helper
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 12:50:32 +02:00
Quentin Glidic
1d99363ce9
helper: Move cairo_image_surface_create_from_svg to helper.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:36:11 +02:00
Dave Davenport
f3b4af1da0
window: Add icons support (quick and dirty)
2017-05-30 19:08:20 +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
fb11b8ceb6
[Test,Helper] Add test for utf8_strncmp and fuzzy evaluate.
2017-05-01 09:07:22 +02:00
Dave Davenport
fb318f0ff8
Cleanups, fix arguments mismatch
2017-04-23 15:17:15 +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
3f4d58ef53
Indent code.
2017-03-04 19:41:06 +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
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
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
0ebd6a260b
Add auto-detect option to DPI setting.
2017-01-21 12:58:52 +01:00
Dave Davenport
19b023b221
Split sorting option. one for sorting. One to force levenshtein.
2017-01-11 09:42:37 +01:00
Dave Davenport
4452b08288
Move fzf matcher into helper
2017-01-11 09:20:19 +01:00
Dave Davenport
713d41f619
Allow matching highlighting to be set. Fixes #522
2017-01-09 00:09:02 +01:00
Dave Davenport
c57e7348d2
Add some better error message. Allow -theme-str option to override part of theme
2017-01-08 16:09:24 +01:00
Dave Davenport
b1a44cc65e
Update code documentation
2016-11-15 21:54:31 +01:00
Dave Davenport
ce341f6885
Document more headers.
2016-10-14 16:46:54 +02:00
Dave Davenport
b4c599f022
Add more documentation.
...
Current state: 61% coverage.
2016-10-14 08:47:21 +02:00
Dave Davenport
20e55e1e4e
Add fuzzy matching, make a -matching option.
...
* -matching *method* option instead of -regex, -glob, -fuzzy.
* Re-add fuzzy matching pattern.
* When there are substrings in regex, only highlight those matches.
Fixes : #447
2016-08-25 21:17:58 +02:00
Dave Davenport
ef3c773097
Constness.
2016-08-24 00:39:56 +02:00
Dave Davenport
4be25abad7
Fix some doxygen warnings.
2016-07-29 08:32:34 +02:00
Dave Davenport
77a0800ccf
Copy memory instead of mixing malloc and g_malloc'ed memories (and freeing them all with g_free)
2016-06-21 22:40:42 +02:00
Dave Davenport
0e86050db8
Fix combi mode 'bang' behaviour, improve levenshtein with combi
2016-05-26 08:39:33 +02:00
Dave Davenport
498fadc735
Remove the is_ascii mess.
2016-05-22 17:47:34 +02:00
Dave Davenport
8091558ed8
Go Regex Go
2016-05-21 10:37:23 +02:00
Dave Davenport
c8a6b26607
First try at highlighting match (regex only)
2016-05-10 18:02:23 +02:00
Dave Davenport
e54e012500
Issue: #381 : Try to handle X11 input and UTF-8 better.
...
In window_get_text_prop do conversion when input is of type STRING. (latin1) to utf8.
Dmenu: don't skip invalid lines, but try to display as much as possible.
Window mode: Double check all input from X.
2016-04-10 12:05:34 +02:00
Dave Davenport
7d046a1f5b
Pack magic externs into a xcb_stuff.
2016-03-01 18:11:55 +01:00
Dave Davenport
a4fd907fe8
Run indenter
2016-02-28 15:32:53 +01:00
Dave Davenport
4c661c3932
Move most of window modi to xcb
2016-02-27 22:55:47 +01:00
Dave Davenport
6e3bb506de
Full mainloop madness
2016-02-19 19:50:48 +01:00