Sébastien Helleu
9bad3f44db
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
2017-08-10 20:05:16 +02:00
Sébastien Helleu
c58716809c
core: remove unneeded argument in call to string_fprintf
2017-08-10 19:55:29 +02:00
Sébastien Helleu
ef019b6ecd
api: add cast of time_t to long in info "uptime"
...
This fixes a compiler warning on OpenBSD.
2017-07-23 16:39:13 +02:00
Sébastien Helleu
cf51849ac5
relay: fix send of "PART" command in backlog (irc protocol)
2017-07-23 16:13:00 +02:00
Sébastien Helleu
b95da03f3a
relay: end capability negociation if CAP REQ is received without arguments (issue #1040 )
...
This fixes a bug with clients like Atomic which are sending "CAP REQ :".
2017-07-23 15:47:06 +02:00
Sébastien Helleu
70839c732e
relay: fix initialization of irc_argv_eol, free variable after use (issue #1040 )
2017-07-23 14:22:12 +02:00
Sébastien Helleu
a58d3fac4c
relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise ( closes #1040 )
2017-07-23 13:58:45 +02:00
Sébastien Helleu
71965ddbae
script: replace scripts iset.pl and buffers.pl by go.py and urlserver.py in examples
2017-07-22 12:57:30 +02:00
Sébastien Helleu
33e5991791
core: replace /iset by /fset in welcome message
2017-07-22 12:45:39 +02:00
Sébastien Helleu
97e06675a5
script: add local variable "filter" in the script buffer ( closes #1037 )
2017-07-11 18:27:01 +02:00
Sébastien Helleu
d24fb8458b
fset: call function fset_buffer_set_localvar_filter when the fset buffer is opened
2017-07-11 18:18:36 +02:00
Sébastien Helleu
fdc7425321
fset: fix note about leading spaces in /help fset ( closes #1035 )
2017-07-09 15:52:15 +02:00
Sébastien Helleu
6532c9a538
fset: fix priority of plugin (load it after all other plugins)
...
This fixes a refresh problem of options after /upgrade in fset buffer.
2017-07-08 14:46:33 +02:00
Sébastien Helleu
f1cd765e1a
core: call the config hook when options are renamed
2017-07-08 14:45:14 +02:00
Sébastien Helleu
8fdd6164ef
core: call the config hook when options are removed
2017-07-08 14:44:28 +02:00
Sébastien Helleu
d01a3298b3
fset: fix comment
2017-07-07 08:36:11 +02:00
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
f70c2e521e
core: use PATH_MAX for size of variable with complete filename in exec_on_files
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