Sébastien Helleu
b4dadd6d98
relay: add UNIX domain socket completion for command /relay add (issue #733 )
2019-06-04 22:29:18 +02:00
Sébastien Helleu
22e6777aed
relay: fix crash when deleting a relay (issue #733 )
2019-06-04 22:19:39 +02:00
Sébastien Helleu
66011b4bee
relay: fix truncated path when the unix socket path is longer than the authorized one (issue #733 )
2019-06-04 22:19:31 +02:00
Sébastien Helleu
917b2ddf69
spell: add a warning if aspell.conf is still present (on first spell load)
2019-06-04 20:56:05 +02:00
Sébastien Helleu
34adcde2ff
irc: add extra check on argument "nick" in functions "irc_nick_set_*"
2019-05-14 07:26:48 +02:00
Sébastien Helleu
f6d6f7bac5
irc: fix crash when the nick in incoming message is not found in channel
2019-05-14 07:25:04 +02:00
Sébastien Helleu
90610c55c8
relay: remove useless condition
...
This fixes a compilation warning on FreeBSD.
2019-05-13 22:08:35 +02:00
Sébastien Helleu
ec5aca81e7
relay: set address to "local" if not known
2019-05-13 21:57:23 +02:00
Sébastien Helleu
9ed89beaa0
core: update translations
2019-05-13 21:43:11 +02:00
Sébastien Helleu
8121747e7b
relay: rename variables in function relay_config_check_path_length
2019-05-13 20:50:13 +02:00
Sébastien Helleu
6f3e563f8b
relay: fix comment
2019-05-12 22:57:25 +02:00
Sébastien Helleu
d1577b34da
relay: set mode 700 on the unix socket file (only the owner can use it)
2019-05-12 22:27:43 +02:00
Sébastien Helleu
ef1fcbd183
relay: do not overwrite a file if it's not a socket, display an error when the socket can not be created
2019-05-12 22:18:42 +02:00
Sébastien Helleu
585eb337e8
relay: evaluate path of unix socket relay
2019-05-12 21:53:23 +02:00
Sébastien Helleu
b228ccdfc3
relay: rename function relay_config_check_path_len to relay_config_check_path_length
2019-05-12 21:39:22 +02:00
Sébastien Helleu
ade52cdc7d
relay: fix update of port/path variables in relay server when options relay.port.* and relay.path.* are changed with /set
2019-05-12 21:39:22 +02:00
Sébastien Helleu
eacc08f2e1
relay: fix section used when the unix relay does not start with "unix."
2019-05-12 21:39:22 +02:00
Sébastien Helleu
f273487688
relay: add unix relay format in /help relay
2019-05-12 21:39:22 +02:00
Sébastien Helleu
170c523c84
relay: remove extra newline at the end of /help relay
2019-05-12 21:39:22 +02:00
Sébastien Helleu
c4230ecece
relay: remove local variable ptr_server from function relay_config_check_path_cb (not needed)
2019-05-12 21:39:22 +02:00
Sébastien Helleu
c1af2702b8
relay: improve message displayed on a new client
2019-05-12 21:39:22 +02:00
Sébastien Helleu
78fda01dd5
relay: improve message displayed when the relay is removed
2019-05-12 21:39:22 +02:00
Sébastien Helleu
9d04bc5801
relay: improve message displayed when the relay is added
2019-05-12 21:39:22 +02:00
Sébastien Helleu
abe85999d8
relay: rename function relay_config_create_option_port to relay_config_create_option_port_path
2019-05-12 21:39:22 +02:00
Sébastien Helleu
df3848e1f0
relay: fix code style
2019-05-12 21:39:22 +02:00
Sébastien Helleu
c78fb8dc7c
relay: rename variable "un" to "unix_socket"
2019-05-12 18:52:22 +02:00
Ryan Farley
ffefd1b785
relay: add UNIX socket support ( closes #733 )
2019-05-12 18:51:13 +02:00
Sébastien Helleu
a24817b141
irc: rename server variable "nick_host" to "host"
2019-05-12 07:46:01 +02:00
Sébastien Helleu
26ba04b454
irc: set buffer local variable "nick_host" when a channel buffer is opened
2019-05-10 22:25:56 +02:00
Sébastien Helleu
35237c8088
irc: add bar items "irc_nick", "irc_host" and "irc_nick_host"
2019-05-10 22:00:33 +02:00
Sébastien Helleu
06aa7034fb
irc: add variable "nick_host" in server structure
2019-05-10 21:59:31 +02:00
Sébastien Helleu
2073408b86
irc: fix parsing of MODE command when there are colons after the first mode argument ( closes #1296 )
2019-05-10 19:29:58 +02:00
Ryan Farley
8df3ad3d26
cmake: allow custom libdir ( fix #1341 )
...
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR
is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR
used to be set).
2019-04-25 16:53:55 -05:00
Sébastien Helleu
1582d923e6
core: use getopt to parse command line arguments
...
Multiple options can now be given in a single flag, for example:
weechat -ast
Following formats were allowed for command line argument with a value:
weechat -d /tmp/weechat
weechat --dir /tmp/weechat
Now these extra formats are supported as well:
weechat -d/tmp/weechat
weechat --dir=/tmp/weechat
2019-04-14 13:35:47 +02:00
Sébastien Helleu
4063abc86b
core: bump API version
...
This is required after changes on functions hook_info and info_get.
2019-04-13 20:48:42 +02:00
Sébastien Helleu
ebf38f142e
core: merge functions gui_line_prefix_is_same_nick_as_{previous|next} (issue #931 )
2019-04-13 20:46:05 +02:00
Sébastien Helleu
573377e2d9
core: fix /help weechat.look.buffer_time_same
2019-04-13 20:38:19 +02:00
Adrian Bjugård
0b5bff9ef5
core: add option weechat.look.prefix_same_nick_middle ( closes #930 , closes #931 )
2019-04-13 20:36:41 +02:00
Simmo Saan
97e9046918
core: add option weechat.look.buffer_time_same ( closes #1127 )
2019-04-13 14:45:53 +02:00
Sébastien Helleu
30768d4d24
trigger: add hook "info_hashtable"
2019-04-13 13:53:16 +02:00
Sébastien Helleu
8bc06ea101
trigger: add hook "info"
2019-04-13 08:52:40 +02:00
Sébastien Helleu
299c308f00
irc: fix memory leak in infos "irc_server_isupport" and "irc_server_isupport_value"
2019-04-13 08:42:45 +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
a84c32cf30
xfer: add option xfer.network.speed_limit_recv ( closes #269 )
...
For consistency, the option xfer.network.speed_limit has been renamed to
xfer.network.speed_limit_send.
2019-04-06 14:11:07 +02:00
Sébastien Helleu
5d02ff9a6d
tests: add tests on function util_signal_search
2019-04-01 00:15:25 +02:00
Sébastien Helleu
413aa499cc
core: add documentation on command line debug options (in --help and man pages)
...
Command line debug options are now documented:
* --no-dlclose: do not call the function dlclose after plugins are unloaded
* --no-gnutls: do not call the init and deinit functions of GnuTLS library
* --no-gcrypt: do not call the init and deinit functions of Gcrypt library
These options must not be used in production, they're for debug only and can be
used with tools like Valgrind or electric-fence.
2019-03-31 23:53:54 +02:00
Sébastien Helleu
b97fc2bd0f
core: don't execute command scheduled by /repeat if the buffer does not exist any more
2019-03-29 20:42:00 +01:00
Sébastien Helleu
2571d17cb9
core: don't execute command scheduled by /wait if the buffer does not exist any more
2019-03-29 20:37:18 +01:00
Sébastien Helleu
f1d18f4c26
core: use seconds by default in /repeat interval, allow unit for the interval
2019-03-29 20:31:19 +01:00
Sébastien Helleu
fa5b1eed77
core: move parsing of /wait delay in a separate function, with unit tests
2019-03-29 20:17:26 +01:00