Sébastien Helleu
38f3b40894
fset: add missing format in calls to snprintf
2023-07-08 17:14:03 +02:00
Sébastien Helleu
1d5433485c
fset: add variable allowed_values in options, add two color options
...
New options:
- fset.color.allowed_values
- fset.color.allowed_values_selected
2023-07-08 16:50:42 +02:00
Sébastien Helleu
5b2cf75f6e
fset: allow long type name in type filter
2023-07-08 13:30:37 +02:00
Sébastien Helleu
66cb9f6ea2
core: add option type "enum" ( closes #1973 )
...
The type "enum" replaces type "integer" when used with string values.
For compatibility, any option created with type "integer" and string values is
automatically created to "enum" on creation, with no error.
2023-07-08 13:28:40 +02:00
Sébastien Helleu
5441c52d64
fset: remove scroll to top of fset buffer when options are added or removed ( closes #1892 )
2023-03-16 20:41:05 +01:00
Sébastien Helleu
c07cf691ad
core, plugins: check that string parameters are not NULL in search functions (issue #1872 )
2023-01-28 15:14:22 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
b7441bd7a3
api: add arguments "index_start" and "index_end" in function string_rebuild_split_string
2022-07-20 13:16:35 +02:00
Sébastien Helleu
62e68f965f
api: rename function string_build_with_split_string to string_rebuild_split_string
2022-07-20 12:14:40 +02:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
1054cdf1e9
fset: add option fset.look.auto_refresh ( closes #1553 )
2020-08-09 10:56:03 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
4a86ab55d8
fset: add comment on filter by evaluated expression
2019-10-30 19:41:56 +01:00
Sébastien Helleu
7cac32fc1f
fset: fix filter variable used to match filter string
2019-10-30 19:41:31 +01:00
Sébastien Helleu
61c5d08320
fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English)
2019-08-24 07:13:34 +02:00
Sébastien Helleu
3d95217745
api: return allocated string in hook_info callback and function info_get
2019-04-13 08:42:45 +02:00
Sébastien Helleu
baa598276c
fset: fix slow refresh of fset buffer during /reload ( closes #1313 )
2019-02-22 21:33:39 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
14a929341e
fset: fix memory leak when switching the format with ctrl-X
2018-07-08 14:48:06 +02:00
Sébastien Helleu
c17ab6aa00
fset: fix truncation of option values when the length is greater than 4096 ( closes #1218 )
2018-07-08 14:46:19 +02:00
Sébastien Helleu
b0fc579955
fset: ensure option_name is not NULL before comparing it
2018-05-17 21:51:09 +02:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
5848d06e65
fset: fix crash in dump of options
2017-07-02 12:58:21 +02:00
Sébastien Helleu
093032bc8d
fset: always use a timer to refresh buffer when options are changed
2017-07-02 12:51:09 +02:00
Sébastien Helleu
4ce0d2af6d
fset: remove useless check/set of fset_buffer_selected_line
...
This is already done in the function fset_option_get_options.
2017-07-02 12:48:55 +02:00
Sébastien Helleu
860330a6bf
fset: add braces around else statement
2017-07-02 09:49:34 +02:00
Sébastien Helleu
79d44d87a3
fset: do not reset selected line after options are added/removed
2017-07-02 09:42:08 +02:00
Sébastien Helleu
5bb7472ed7
fset: use a pre-defined format when a format option is empty
...
Using the pre-defined format (without eval) is about 3.5x faster.
2017-06-28 22:04:18 +02:00
Sébastien Helleu
987ef9e454
fset: replace hashtable by a simple structure for max length of fields
2017-06-28 19:59:45 +02:00
Sébastien Helleu
d8d753d332
fset: improve speed when marking/unmarking options, fix refresh of buffer title
2017-06-26 23:20:47 +02:00
Sébastien Helleu
0f8db0fa2e
fset: add key/input to set new value for an option (alt-f,alt-n or input "n", command /fset -setnew)
2017-06-25 16:35:28 +02:00
Sébastien Helleu
98272393fe
fset: add ${newline} to display options on multiple lines, replace format options by colors for background
2017-06-25 16:35:28 +02:00
Sébastien Helleu
5acf4ba574
fset: only mark/unmark matching options with "m:" and "u:", do not toggle mark on non-matching options
2017-06-25 16:35:28 +02:00
Sébastien Helleu
70f71be108
fset: first move up one line before toggling mark with shift+up
2017-06-25 16:35:28 +02:00
Sébastien Helleu
01ce879433
fset: add marking/unmarking of options matching filter with input "m:" and "u:"
2017-06-25 16:35:28 +02:00
Sébastien Helleu
a9d90b98a6
fset: do not refresh buffer when an option not displayed is changed
2017-06-25 16:35:28 +02:00
Sébastien Helleu
f519499057
fset: add export of options
2017-06-25 16:35:28 +02:00
Sébastien Helleu
28dcb1049b
fset: fix memory leak in allocation of fset options
2017-06-25 16:35:28 +02:00
Sébastien Helleu
fc1a699573
fset: fix refresh of options after changing marked options
2017-06-25 16:35:28 +02:00
Sébastien Helleu
c9460565b8
fset: add key alt-p on fset buffer, rename option fset.look.show_plugin_description to fset.look.show_plugins_desc
2017-06-25 16:35:28 +02:00
Sébastien Helleu
cb929bcac1
fset: fix cursor position when appending to an option with NULL value
2017-06-25 16:35:28 +02:00
Sébastien Helleu
f8fad8e6a5
fset: remove dead assignment
2017-06-25 16:35:28 +02:00
Sébastien Helleu
1f8fc6ec9b
fset: use only short type name in filter "t:xxx"
2017-06-25 16:35:28 +02:00
Sébastien Helleu
d71524c582
fset: add ${file}, ${section}, ${option}, add color options
2017-06-25 16:35:27 +02:00
Sébastien Helleu
384b3adf9e
fset: use English short type name for ${type} in filter, remove ${type_en}
2017-06-25 16:35:27 +02:00
Sébastien Helleu
dd18087db6
fset: add variables default_value, default_value_undef, value_undef and value_changed in filter "c:"
2017-06-25 16:35:27 +02:00
Sébastien Helleu
4fccf80e64
fset: add support of evaluated condition with filter "c:"
2017-06-25 16:35:27 +02:00
Sébastien Helleu
55350d8a29
fset: remove useless refresh when an option not displayed is changed
2017-06-25 16:35:27 +02:00