Dave Davenport
de38e0f4a9
[Script|Dmenu] Don't -1 in a unsigned variable.
2020-04-07 13:14:53 +02:00
Dave Davenport
f63da72ea6
[Dmenu] Fix possible crash.
...
Don't pass empty string.
Issue: #1083
2020-04-06 23:31:45 +02:00
Dave Davenport
825fe4ae58
[Script] Fix crash when custom input with custom keybinding.
2020-04-05 13:19:22 +02:00
Dave Davenport
bacecf3044
[Script] Add environment variable to indicate state.
...
* ROFI_RETV shows the state rofi was in before calling rofi.
2020-04-05 12:56:33 +02:00
Dave Davenport
5879fd6099
[Script] Free g_shell_parse result.
2020-04-05 11:48:03 +02:00
Dave Davenport
aa07b8ef94
[Script] Add option to set deliminter and example script.
...
Issue: #1041
2020-04-01 13:58:01 +02:00
Dave Davenport
3bf9d3d3b1
[Script] Reload dialog, on selecting non-selectable item.
2020-02-13 21:32:19 +01:00
Dave Davenport
c458047ef6
[Script] Fix next dialog option.
...
Error slipped in from previous patch.
Issue: #1059
2020-02-13 21:29:02 +01:00
Dave Davenport
03775378e0
[Script] init nonselectable.
...
Issue: #1057
2020-02-13 16:52:11 +01:00
Dave Davenport
7dcc3f450c
Add option to make entry non-selectable in dmenu/script.
...
Fixes : #1024
2020-02-02 14:21:29 +01:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Jeff
83c2e467d5
Add support for additional field on script entries meta
( #1052 )
...
* Add test for hidden meta data in script mode
The purpose of this is to provide support for "hidden" fields on a
script item that work for search but don't get displayed. This is
mostly to provide something similar to the optional display (but still
matchable) fields in drun like "categories" or "keywords". This also
enables the choice to display unicode icons but still allow for
searching for the keywords without needing to print them.
* Ignore the output file from test runs
* Add support for the "meta" field on script entries
This fields provides a matchable but unprinted string for entries in a
script mode list match. This means you can use one thing but provide
multiple options that can match that item without polluting the list
view or make confusing output.
* Add new test to test suite file
2020-02-01 13:49:11 +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
eece00bad6
[combi|script] Add static keyword to inline get_index.
2019-07-09 09:01:35 +02:00
Dave Davenport
209fb9be18
[Script|Combi] Fix compilation warning about mixing singed and unsigned.
2019-07-06 17:04:17 +02:00
Kenneth Ho
be21fbae5d
add pythonic rows selection to -a and -u ( #985 )
2019-07-02 21:27:46 +02:00
Dave Davenport
011d92075c
[Dmenu][Script] Share some code between the two modi
2019-04-02 13:51:53 +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
a99cfa56c4
[Script] Add initial support for icons.
...
Issue: #840
2018-09-09 17:53:56 +02:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Dave Davenport
b837c3fdff
Change log domain from Utils.IconFetcher to Helpers.IconFetcher
...
Matches doxygen.
2018-06-12 11:47:03 +02:00
Dave Davenport
0f1717f829
[Script] Reset highlighting when reload view
...
Issue: #767
2018-02-08 17:56:31 +01:00
Dave Davenport
5a20094777
[Script] Reduce scope and swap tests. (cppcheck)
2017-12-11 18:42:35 +01:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +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
9b0a430fd4
Indent.
2017-09-05 13:52:44 +02:00
Dave Davenport
b9ae0783c2
[Script] Parse the command as a commandline.
...
Fixes : #650
2017-08-14 21:33:12 +02:00
Dave Davenport
8a99f0b7bd
[Script] Execute script + argument direction, do not pass run-command.
...
Fixes : #650
2017-08-14 17:28:25 +02:00
Dave Davenport
f1261e181c
Revert changes to script.
2017-05-23 17:19:04 +02:00
Dave Davenport
dca5caaa47
[Theme] Add small caps options (not working?)
2017-05-22 09:24:05 +02:00
Dave Davenport
ce4b1b23b4
Re-Indent code
2017-04-27 22:59:14 +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
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
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
f7b4bebb9b
Rename token_match to helper_token_match.
2017-02-17 09:58:47 +01:00
Dave Davenport
baab2047ad
Indent magic, rework makefile so lexer and yacc file are not passed.
2017-01-08 21:36:06 +01:00
Dave Davenport
22e2d7587d
Update copyright to 2017.
2017-01-03 17:59:28 +01:00
Dave Davenport
47125daecf
Reset user input on script selection.
...
Fixes : #513
2016-12-12 08:52:27 +01:00
Dave Davenport
cdb1b96414
Fix issue #482 : Set work directory
2016-10-15 20:00:26 +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
96cb3a8695
Remove fgets and replace by getline.
2016-04-10 14:30:13 +02:00
Dave Davenport
2127682573
Cleanup unused type specifier (dialogs).
2016-03-24 22:15:10 +01:00
Dave Davenport
d36ae81408
Fix positioning window on top of window.
2016-03-20 10:16:55 +01:00
Dave Davenport
a2869ef39d
Make clang static code analyzer happy (300+ -> 5)
2016-03-19 13:29:04 +01:00