Sébastien Helleu
761ac5d0e9
irc: disable creation of temporary servers by default with command /connect, new option irc.look.temporary_servers
2014-09-04 07:39:05 +02:00
Sébastien Helleu
f0aa0a21b2
core: optimize completion by using arraylists
...
With arraylist (vs weelist), the completion is about 50x faster.
It is visible on "/help [+tab]".
2014-09-01 11:51:04 +02:00
Max Teufel
e32801d9fc
irc: use irc_protocol_nick_address for ban/quiet/invex/exception lists
2014-08-29 21:12:51 +02:00
Sébastien Helleu
7b546bea2e
api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add
2014-08-29 18:17:27 +02:00
Sébastien Helleu
fa4436b262
irc: remove a trailing comma in help of server capabilities option
2014-08-23 21:05:38 +02:00
Sébastien Helleu
2ae5660cc3
trigger: add option "restore" in command /trigger
2014-08-23 09:11:13 +02:00
Sébastien Helleu
067f310be6
script: fix crash on "/script update" if a script detail is displayed in buffer ( closes #177 )
2014-08-22 20:48:51 +02:00
Sébastien Helleu
333253e5b9
trigger: fix regex used in default triggers to hide passwords ( closes #172 )
...
"\S" is not supported on *BSD, so it is replaced by "[^ ]" (which should be
enough, since there should be no tabs or other whitespace different from
spaces in command line).
2014-08-22 07:39:15 +02:00
Andrew Potter
5284646df1
xfer: bind to wildcard address when sending
...
When #5 was fixed, we started to always bind to the local address
connected to the irc server because the xfer.network.own_ip address
may not be able to be bound to when NATed. But this means when the
own_ip address is a different family (IPv4 vs IPv6) from the irc
server connection, we were listening for connections on the wrong
interface.
This patch lets us figure out which family is being used,
(xfer.network.own_ip's family, or the irc connection's family
otherwise) and bind() into the correct family via that family's
wildcard address.
2014-08-20 09:12:08 -07:00
Andrew Potter
e5cd0eb247
xfer: Use hook_connect() for receiving chats
...
fixes #160
2014-08-19 22:09:37 -07:00
Sébastien Helleu
83ffdb9ecd
irc: add "server-time" in help of server option "capabilities"
2014-08-17 09:58:19 +02:00
Sébastien Helleu
4de5627db2
irc: remove unneeded variable "seconds"
2014-08-16 11:50:01 +02:00
Sébastien Helleu
ab8ea0f3cb
irc: fix translation of CTCP PING reply ( closes #137 )
2014-08-16 11:37:43 +02:00
Sébastien Helleu
dac076c242
aspell: display an error if command "/aspell setdict" is called without a dictionary
2014-08-16 09:07:10 +02:00
Sébastien Helleu
3f3eb55c6d
aspell: remove unneeded else condition
2014-08-16 09:02:31 +02:00
nils_2
2629fd8c74
aspell: fix crash with command "/aspell addword" if no word is given ( closes #164 )
2014-08-15 20:56:52 +02:00
Sébastien Helleu
e226c2e147
irc: free nick immediately in case of malloc error
2014-08-10 15:50:18 +02:00
Sébastien Helleu
733eb99b17
script: fix potential crash in case of malloc error
2014-08-10 15:50:08 +02:00
Sébastien Helleu
fc1571645d
logger: fix memory leaks in backlog
2014-08-10 13:25:35 +02:00
Sébastien Helleu
b78b5575c3
irc: fix memory leak in CTCP answer
2014-08-09 19:54:39 +02:00
Sébastien Helleu
4e43be6d2c
core: fix memory leak when removing script files
2014-08-09 18:49:06 +02:00
Sébastien Helleu
9358f076a3
exec: invert a condition to make code more readable
2014-08-09 17:43:45 +02:00
Sébastien Helleu
795b9c9da9
relay: fix memory leak during handshake on websocket
2014-08-09 17:41:16 +02:00
Sébastien Helleu
7a76a959ec
relay: fix memory leak when receiving several lines from client (weechat protocol)
2014-08-09 17:40:18 +02:00
Sébastien Helleu
a6aee98cb1
relay: fix memory leak when receiving commands from client (weechat protocol)
2014-08-09 17:15:22 +02:00
Sébastien Helleu
4c871760d2
relay: remove dead assignment
2014-08-09 16:37:10 +02:00
Sébastien Helleu
ddd7a85f2d
relay: fix crash when an IRC "MODE" command is received from client without arguments
2014-08-09 16:14:44 +02:00
Sébastien Helleu
cf3e0ccbfd
core: fix result of hash function (in hashtables) on 32-bit systems
2014-08-02 16:53:12 +02:00
Sébastien Helleu
ad07527007
trigger: fix hook count on 32-bit systems
2014-08-02 16:21:00 +02:00
Sébastien Helleu
6295adad6d
relay: fix number of bytes sent/received on 32-bit systems
2014-08-02 16:17:30 +02:00
Sébastien Helleu
35574d63ab
irc: fix duplicate sender name in display of wallops ( closes #142 , closes #145 )
2014-08-02 11:35:43 +02:00
Sébastien Helleu
d9d36c8dd4
trigger: update comment
2014-07-23 07:49:05 +02:00
Andrew Potter
197cd30379
trigger: refuse triggers with . in their name
2014-07-22 22:27:14 -07:00
Sébastien Helleu
d0b95b6858
core: remove whitespace in cmake files
2014-07-20 19:16:01 +02:00
Sébastien Helleu
dff20632ff
script: fix display of curl errors
2014-07-14 16:05:43 +02:00
Sébastien Helleu
b14ad26fd5
aspell: rename variable "utf8_char_int" to "code_point"
2014-07-14 09:29:14 +02:00
Sébastien Helleu
2c3484d089
irc: display locally away status changes in private buffers (in addition to channels) ( closes #117 )
2014-07-12 17:32:54 +02:00
Sébastien Helleu
3ec3fb4e8d
python: fix read of return value for callbacks returning an integer in Python 2.x ( closes #125 )
2014-07-12 14:51:39 +02:00
Sébastien Helleu
494d046594
core: remove "www" in weechat.org URLs
2014-07-01 21:27:29 +02:00
Sébastien Helleu
56f5a01b99
irc: fix typo in a message
2014-06-19 07:49:54 +02:00
Sébastien Helleu
dfb6516a11
irc: add value "+" for option irc.look.smart_filter_mode to use modes from server prefixes ( closes #90 )
...
The new default value of option irc.look.smart_filter_mode is now "+".
2014-06-14 09:53:07 +02:00
Sébastien Helleu
d0fa44865c
core: fix potential memory leak with infolists not freed in plugins (debian #751108 )
...
The memory leak should not happen if infolists are properly freed by plugins,
and it happened only on unload of plugins (or exit).
2014-06-10 20:14:24 +02:00
Sébastien Helleu
f68c9c6df6
irc: fix help of commands kick/kickban/remove ( closes #102 )
2014-06-08 09:39:27 +02:00
Sébastien Helleu
d6d57635bd
irc: fix comment
2014-06-03 07:32:24 +02:00
Sébastien Helleu
bb779271ae
relay: don't send signals "buffer_clear" and "buffer_line_added" for relay raw/list buffers to clients (weechat protocol)
2014-05-29 16:49:50 +02:00
Sébastien Helleu
fe872f26d4
irc: fix extract of channel in parser for JOIN/PART messages when there is a colon before the channel name ( closes #83 )
...
The problem was only affecting scripts or triggers using the parser.
The irc plugin does not use the "channel" variable built by the parser
(when parsing JOIN/PART messages).
2014-05-28 20:11:12 +02:00
Sébastien Helleu
34098cee27
irc: add command /remove ( closes #91 )
2014-05-26 07:57:38 +02:00
Sébastien Helleu
faae8f470b
relay: check pointers received in hdata command to prevent crashes with bad pointers (WeeChat protocol)
2014-05-24 18:18:11 +02:00
Sébastien Helleu
7aaf3be15b
api: add argument "flags" in function hdata_new_list
2014-05-24 18:03:14 +02:00
Sébastien Helleu
3092c09bc9
relay: remove warning on /reload of relay.conf when ports are defined
2014-05-24 08:00:19 +02:00