Sébastien Helleu
438313d331
core: replace call to strncpy by memcpy
...
This fixes a gcc warning: "warning: ‘strncpy’ output truncated before
terminating nul copying as many bytes from a string as its length
[-Wstringop-truncation]".
2018-10-21 08:54:04 +02:00
Sébastien Helleu
eb77c78dad
irc: fix uninitialized variables in function irc_protocol_cap_sync
2018-10-21 08:53:22 +02:00
Sébastien Helleu
c5ccac9e22
Merge pull request #1267 from emkw/master
...
lua: mkdir API functions should return ERROR on error.
2018-10-14 21:03:24 +02:00
emk
63e2a3dab9
lua: mkdir API functions should return ERROR on error.
2018-10-14 20:39:00 +02:00
Sébastien Helleu
d07701dae6
irc: fix colors 14 and 15 in /help irc.color.mirc_remap ( closes #1266 )
2018-10-14 20:38:14 +02:00
Sébastien Helleu
8da3458f4c
core: add repeat of string in evaluation of expressions with "repeat:count,string" ( closes #958 )
2018-10-09 21:12:02 +02:00
Sébastien Helleu
82697714e1
core: fix evaluation of nested ternary operators ( closes #1263 )
2018-10-08 22:51:08 +02:00
Sébastien Helleu
5173e19ff3
core: fix style
2018-10-06 07:10:36 +02:00
Sébastien Helleu
e688fa4daa
Merge remote-tracking branch 'origin/pr/1259'
2018-10-06 07:07:35 +02:00
Sébastien Helleu
30121ff9df
aspell: remove useless test on max_suggestions
2018-10-01 23:00:05 +02:00
Sébastien Helleu
ecdbaef288
relay: remove useless test on length
2018-10-01 22:59:05 +02:00
Sébastien Helleu
4b58ea37c0
relay: remove useless test on num_sent
2018-10-01 22:58:25 +02:00
Sébastien Helleu
fc63620f1e
irc: remove useless test on argc
2018-10-01 22:58:13 +02:00
Sébastien Helleu
fb3ca3caae
core: fix format of variables in printf-like functions (from int to long and long long)
2018-10-01 22:57:13 +02:00
Sébastien Helleu
d6d8b9094f
irc: replace call to gmtime by gmtime_r
2018-10-01 22:22:06 +02:00
Sébastien Helleu
56daba869e
core: replace call to gmtime by gmtime_r
2018-10-01 22:21:56 +02:00
Sébastien Helleu
50567b0f64
core: add missing argument in call to log_printf
2018-10-01 22:21:43 +02:00
Sébastien Helleu
8abd05fe3d
core: replace "long unsigned int" by "unsigned long"
2018-10-01 22:21:25 +02:00
Sébastien Helleu
e28cb00106
relay: add real IP in client description ( closes #1256 )
2018-09-30 09:59:45 +02:00
Sébastien Helleu
ff66a8a161
logger: add more info about log levels in /help logger ( closes #1254 )
2018-09-24 19:05:46 +02:00
Sébastien Helleu
7b3ec510ca
logger: move logger command into a separate source file
2018-09-24 19:05:21 +02:00
Sébastien Helleu
93b5e60441
irc: display a warning when the value of option irc.server.xxx.autojoin is set to an invalid value
2018-09-20 20:32:47 +02:00
Sébastien Helleu
65f1c82a87
core: allow multiple arguments in command /buffer close
2018-09-18 21:27:44 +02:00
Simmo Saan
54cd82e4a4
core: allow specifying buffer number/name for /buffer localvar
2018-09-09 19:42:31 +03:00
Sébastien Helleu
7b8faf6d97
relay: fix URL to the page with remote interfaces in /help relay
2018-09-09 10:07:16 +02:00
Sébastien Helleu
fcf7469d76
core: allow multiple options "-r" ("--run-command") in command line arguments ( closes #1248 )
2018-09-06 21:52:02 +02:00
Sébastien Helleu
796859b873
core: fix copyright dates
2018-09-01 08:13:12 +02:00
Sébastien Helleu
533dbf972d
core: rename variable "plugin_blacklisted" to "plugin_forbidden"
2018-08-30 22:10:46 +02:00
Sébastien Helleu
6bf0dfddd6
core: fix evaluation of condition when the left operand is an empty string
2018-08-18 15:30:16 +02:00
Sébastien Helleu
466dbbe75b
core: add option "-P" (or "--plugins") to customize the plugins to load at startup
...
If given, the option replaces the option weechat.plugin.autoload.
2018-08-17 19:44:41 +02:00
Sébastien Helleu
968d7ede29
trigger: add variables "tg_prefix_nocolor" and "tg_message_nocolor" in line trigger
2018-08-17 07:59:20 +02:00
Sébastien Helleu
e7096810c4
trigger: rename variable "tg_tags" to "tags" in line trigger
2018-08-17 07:43:56 +02:00
Sébastien Helleu
9105c3ba1f
trigger: allow creation of temporary variables with the regex
2018-08-16 22:47:47 +02:00
Sébastien Helleu
1a0087a7d7
core: fix string evaluation with regex replacement when the string is empty
2018-08-16 22:45:42 +02:00
Sébastien Helleu
6ca2408c99
core: fix weechat_print modifier
...
All changes:
- always send the Tab char in the weechat_print modifier string
- handle special cases in weechat_print modifier: no prefix (" \t...") or no
date ("\t\t...")
2018-08-16 18:19:07 +02:00
Sébastien Helleu
ec5a5fd73f
core: fix use of NULL pointer in command /buffer when the GUI is not yet initialized
2018-08-15 16:24:07 +02:00
Sébastien Helleu
f10578b18b
core: remove use of pointer "buffer" once the line has been initialized
2018-08-15 16:16:31 +02:00
Sébastien Helleu
cfc491f7d1
core: remove unneeded initialization of variable "highlight"
2018-08-15 16:11:27 +02:00
Sébastien Helleu
eb64c8d65c
irc: add missing initialization of variable "chghost"
2018-08-15 16:02:43 +02:00
Sébastien Helleu
cb8b60028b
trigger: fix /help trigger
2018-08-15 12:35:42 +02:00
Sébastien Helleu
8c47ca6926
core: add comments in function to print a line
2018-08-15 12:17:42 +02:00
Sébastien Helleu
7b0cced319
core: fix destruction of line prefix in weechat_print modifier
2018-08-15 12:16:52 +02:00
Sébastien Helleu
8e939b089d
core: fix comparison of strings in weechat_print modifier
2018-08-15 12:16:06 +02:00
Sébastien Helleu
2f2263afa6
trigger: add missing initialization of variable "tags" in hook line callback
2018-08-15 11:59:26 +02:00
Sébastien Helleu
6d061a9ac0
api: fix memory leak in function string_split
2018-08-15 09:42:43 +02:00
Sébastien Helleu
aff752c50b
trigger: fix memory leak in hook_line trigger callback
2018-08-15 09:33:25 +02:00
Sébastien Helleu
bb8ac59c32
core: fix memory leak when removing a line hook
2018-08-15 09:32:56 +02:00
Sébastien Helleu
66d11b7e46
trigger: add missing values for line trigger
2018-08-15 09:02:58 +02:00
Sébastien Helleu
3bdab1c538
core: fix type of variables "buffer_name" and "buffer_type" sent to the hook_line callback
2018-08-14 14:51:18 +02:00
Sébastien Helleu
49c3e62106
core: split wee-hook.c into multiple sources
2018-08-14 07:15:39 +02:00