Sébastien Helleu
cd44bd83cd
fset: do not catch /set command if it's issued on the fset buffer
2017-07-07 08:00:19 +02:00
Sébastien Helleu
94cd1b037f
core: add constant WEECHAT_EXTRA_LIBDIR
2017-07-05 19:56:41 +02:00
Linus Heckemann
d6c1d02eca
core: search WEECHAT_EXTRA_LIBDIR for plugins ( closes #971 , issue #979 )
...
In addition to searching the statically configured WEECHAT_LIBDIR
(weechat's installation directory) for plugins, search the path
given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes
departing from the FHS standard while keeping the plugins packaged
separately easier. This change was made specifically with the Nix
package manager in mind, but can easily be used by others.
2017-07-05 19:52:48 +02:00
Sébastien Helleu
b276d0621c
core: add arguments in function plugin_auto_load to load plugins only from custom path or lib dir
2017-07-04 22:14:44 +02:00
Sébastien Helleu
ff448b9096
api: add argument "recurse_subdirs" in function exec_on_files()
2017-07-04 22:01:14 +02:00
Sébastien Helleu
5848d06e65
fset: fix crash in dump of options
2017-07-02 12:58:21 +02:00
Sébastien Helleu
448112f3e6
fset: hook signal "debug_dump"
2017-07-02 12:58:12 +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
b67c7a4b29
buflist: add option buflist.look.add_newline ( closes #1027 )
2017-07-01 16:07:43 +02:00
Sébastien Helleu
5cded07343
fset: fix crash on /upgrade when fset buffer is opened
2017-06-29 23:55:00 +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
f851246ff6
buflist: fix crash in auto-scroll of bar when the buflist item is not the first item in the bar
2017-06-27 07:18:16 +02:00
Sébastien Helleu
16132ed7ba
fset: remove option fset.look.show_help_bar
2017-06-26 23:55: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
b199667f8c
fset: add missing keys alt+p and alt+v in /help fset
2017-06-26 22:24:18 +02:00
Sébastien Helleu
579a9a9f27
fset: fix name of format options in /help fset
2017-06-26 21:59:47 +02:00
Sébastien Helleu
29d0db1de6
fset: fix typo in /help fset.look.export_help_default
2017-06-25 22:25:58 +02:00
Sébastien Helleu
4dcb55f8de
fset: fix list of command arguments
2017-06-25 22:21:22 +02:00
Sébastien Helleu
29e72aa90b
fset: fix buffer title
2017-06-25 22:17:04 +02:00
Sébastien Helleu
e3614c47dd
fset: fix description of options
2017-06-25 22:03:27 +02:00
Sébastien Helleu
1053663ab6
fset: fix typo
2017-06-25 21:47:25 +02:00
Sébastien Helleu
49963a9bd1
fset: fix translation
2017-06-25 21:44:14 +02:00
Sébastien Helleu
e579e86929
fset: shift plugins priority to insert fset plugin between buflist and fifo
2017-06-25 21:22:36 +02:00
Sébastien Helleu
956dfe2313
fset: display number of options before filter in buffer title
2017-06-25 16:35:28 +02:00
Sébastien Helleu
01274beb15
fset: use "meta-space" instead of "meta- " in fset buffer keys
2017-06-25 16:35:28 +02:00
Sébastien Helleu
492853673a
fset: set new value for non-boolean options with alt+space
2017-06-25 16:35:28 +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
d2a9d839a1
fset: update default value of fset.format.option2 to use 3 lines by default
2017-06-25 16:35:28 +02:00
Sébastien Helleu
a55958863e
fset: add variables ${empty_xxx} (a field with only spaces for indentation)
2017-06-25 16:35:28 +02:00
Sébastien Helleu
a71cbf1f84
fset: keep selected line when options fset.look.format_number and fset.format.option* are changed
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
a49e255d96
fset: mark/unmark multiple options with mouse gesture up/down
2017-06-25 16:35:28 +02:00
Sébastien Helleu
74dec95655
fset: add option name in completion, in addition to words
2017-06-25 16:35:28 +02:00
Sébastien Helleu
68b337eb60
fset: add format options for marked options
2017-06-25 16:35:28 +02:00
Sébastien Helleu
1552a2327f
fset: rename options fset.format.option_current* to fset.format.option_selected*
2017-06-25 16:35:28 +02:00
Sébastien Helleu
b6334ce355
fset: add ${index} and color options
2017-06-25 16:35:28 +02:00
Sébastien Helleu
a03b93b0db
fset: add variable ${selected_line}
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
0542633d89
fset: use option fset.look.marked_string in buffer title when options are marked
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
121faf7b12
fset: do not move selected line after pressing alt+',' (mark/unmark option)
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
aa68fa623a
fset: add missing key alt+p in buffer title
2017-06-25 16:35:28 +02:00
Sébastien Helleu
850922ff92
fset: add a second format for options, new key ctrl-X and input "x" to switch the format used
2017-06-25 16:35:28 +02:00
Sébastien Helleu
fdf7a5f13d
fset: add separate word of each option in completion
2017-06-25 16:35:28 +02:00