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
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
2612adf899
core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
...
This option is OFF by default and should be enabled only for tests, to measure
test coverage.
2019-03-24 09:38:43 +01:00
Sébastien Helleu
ff32112396
irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ssl_fingerprint option
2019-03-21 23:36:24 +01:00
Sébastien Helleu
bb017b2613
irc: display an error with /allchan -current or /allpv -current if the current buffer is not an irc buffer ( closes #1325 )
2019-03-19 20:37:06 +01:00
Sébastien Helleu
f6c5061590
irc: fix update of channels modes with arguments when joining a channel ( closes #1324 )
2019-03-18 20:39:42 +01:00
Sébastien Helleu
5c2c19c0cd
irc: fix compilation warning when gnutls is not found
2019-03-12 22:26:28 +01:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +01:00
Sébastien Helleu
2f5aa3b509
core: use bitwise shift operator to define flag constants
2019-03-02 11:09:52 +01:00
Matthew Martin
77a9322bbf
irc: quote argument to NICK
2019-02-28 18:55:26 -06:00
Sébastien Helleu
87932bcb57
irc: fix parsing of whois messages in notify
2019-02-04 20:47:59 +01:00
Sébastien Helleu
6e09499163
irc: fix crash in parsing of IRC channel modes (issue #1296 , closes #1297 )
...
Regression was introduced by commit b38b2abe3b .
2019-01-31 21:13:58 +01:00
Sébastien Helleu
b38b2abe3b
irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons ( closes #1296 )
2019-01-29 21:10:49 +01:00
Sébastien Helleu
98249ada86
tests: add tests on IRC color functions
...
Functions tested:
- irc_color_decode
- irc_color_encode
- irc_color_decode_ansi
2019-01-20 15:17:21 +01:00
Sébastien Helleu
fec7d38e3d
irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
2019-01-20 15:07:21 +01:00
Sébastien Helleu
85ee15d4e2
irc: fix encoding of italic attribute when colors are removed
2019-01-20 15:04:52 +01:00
Sébastien Helleu
7d442f8492
irc: fix compiler warning on GNU Hurd
...
This fixes the following warning:
irc-ctcp.c:411:46: warning: '%s' directive output may be truncated writing up
to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
2019-01-13 20:14:11 +01:00
Sébastien Helleu
4fab6dcd05
irc: do not use strptime to parse a time as float number (issue #1289 )
2019-01-13 15:25:22 +01:00
Sébastien Helleu
34a6fce134
tests: add tests on function irc_protocol_parse_time
2019-01-13 14:47:35 +01:00
Sébastien Helleu
6343924c16
irc: check return code of calls to strptime (issue #1289 )
2019-01-13 14:46:43 +01:00
Sébastien Helleu
8009094717
irc: fix parsing of "time" message tag on FreeBSD (issue #1289 )
2019-01-11 22:40:06 +01:00
Sébastien Helleu
c96e2f3593
tests: add tests on function irc_config_check_autojoin
2019-01-11 22:27:28 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4034d07d5a
core: use https for links in comments
2018-12-01 08:21:49 +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
d26380a9bb
core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272 )
2018-11-18 11:04:29 +01:00
Sébastien Helleu
37a0cd0017
core: improve help on option irc.look.server_buffer ( closes #1269 )
2018-11-12 21:02:25 +01:00
Sébastien Helleu
5a132f06fd
core: replace ellipses by "etc." (in English) and "etc..." by "etc." in French
2018-11-04 21:53:11 +01:00
Sébastien Helleu
dd0b3c5692
core: replace "web site" by "website"
2018-11-04 21:32:35 +01:00
Sébastien Helleu
ed3f281ba9
api: add functions string_base_{encode,decode}, remove functions string_{encode,decode}_base64
2018-11-04 14:49:11 +01:00
Sébastien Helleu
8848b0e22a
api: return integer in function string_encode_base64
2018-11-02 14:09:23 +01: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
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
fc63620f1e
irc: remove useless test on argc
2018-10-01 22:58:13 +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
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
eb64c8d65c
irc: add missing initialization of variable "chghost"
2018-08-15 16:02:43 +02:00
Sébastien Helleu
5b3f2ad466
irc: add nick, host and log tags in message displayed in private buffer when the nick comes back on the server ( closes #1221 )
2018-07-11 07:36:11 +02:00
Sébastien Helleu
6292896021
irc: add channel color in message 354 with missing parameters (issue #1212 )
2018-06-24 09:46:29 +02:00
Sébastien Helleu
db690fbf91
irc: do not display message 354 with missing parameters if there's an automatic check of WHOX on the channel (issue #1212 )
2018-06-24 08:29:10 +02:00
Sébastien Helleu
a5962cf7f5
irc: display message 354 (WHOX) received with missing parameters ( closes #1212 )
2018-06-23 22:17:18 +02:00
Sébastien Helleu
530f73ec71
irc: update ircv3 URLs in comments
2018-05-21 15:48:59 +02:00
Sébastien Helleu
37d870092b
irc: display an error if memory can not be allocated in chghost callback
2018-05-21 08:47:19 +02:00
Sébastien Helleu
c0cb3a6178
Merge remote-tracking branch 'origin/pr/640'
2018-05-21 08:05:04 +02:00
Sébastien Helleu
7b15ffdb71
irc: add space before capability only if the string is not empty
2018-05-20 22:44:09 +02:00
Sébastien Helleu
fe66886398
irc: add missing space between capabilities in display of supported/enabled capabilities
2018-05-20 22:33:58 +02:00