Sebastien Helleu
4fdbb83a07
ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050 )
2013-03-22 19:54:44 +01:00
Sebastien Helleu
55e58811b3
irc: fix default completion (like nicks) in commands /msg, /notice, /query and /topic
2013-03-22 09:40:44 +01:00
Sebastien Helleu
19acf8121f
irc: fix prefix color for nick when the prefix is not in irc.color.nick_prefixes: use default color (key "*")
...
Problem was happening on a server which has "PREFIX=(Yqaohv)!~&@%+".
Users with prefix "!" were displayed as lightred (color for "~") instead of
lightblue (default key "*").
When a prefix was not found, WeeChat was looping on other prefixes (in
order). Now if color is not found, WeeChat uses immediately the fallback color.
2013-03-21 20:16:49 +01:00
Sebastien Helleu
bbd080e680
irc: add option irc.look.pv_buffer: automatically merge private buffers (optionally by server) (task #11924 )
2013-03-17 22:18:11 +01:00
Sebastien Helleu
a290589f7c
scripts: create directories (language and language/autoload) on each action (install/remove/autoload), just in case they have been removed (bug #38473 )
2013-03-17 18:45:55 +01:00
Sebastien Helleu
cf2ad51f62
script: create "script" directory on each action (just in case it has been removed) (bug #38472 )
2013-03-17 18:32:04 +01:00
Sebastien Helleu
a9ff529d83
relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip) (thanks to Dominik Honnef)
2013-03-17 16:14:20 +01:00
Sebastien Helleu
e056f20643
rmodifier: add info about "groups" in /help rmodifier
2013-03-17 13:08:09 +01:00
Sebastien Helleu
149c77decd
core: fix typos in many comments and some strings
2013-03-17 12:55:20 +01:00
Sebastien Helleu
3fb123510a
lua: fix crash on stack overflow: call lua_pop() for values returned by lua functions (bug #38510 )
2013-03-13 18:27:55 +01:00
Sebastien Helleu
d74041de25
relay: add missing "id" in raw messages sent to clients when compression is off (weechat protocol)
2013-03-13 12:12:48 +01:00
Sebastien Helleu
7672139d6b
relay: add negative numbers (integer: -123456 and long: -1234567890L) in command "test" (weechat protocol)
2013-03-13 11:50:32 +01:00
Sebastien Helleu
7cf9c8a656
irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect, value is now a number of seconds
2013-03-12 18:35:03 +01:00
Sebastien Helleu
f27f91467a
script: fix typo in /help script.scripts.autoload
2013-03-10 08:56:12 +01:00
Sebastien Helleu
b63fca15fa
alias: mention local variables of buffer in /help alias
2013-03-10 08:27:55 +01:00
Sebastien Helleu
d2ff46fa69
relay: add message "_nicklist_diff" (differences between old and current nicklist)
...
This is an experimental feature, that must be explicitely enabled by clients
(for weechat protocol) in the init command with option "nicklistdiff", for example:
init password=mypasswd,nicklistdiff=1
This option will be removed when clients will handle nicklist diff.
2013-03-09 09:04:49 +01:00
Sebastien Helleu
d2550f89f4
xfer: fix typo in comment
2013-03-01 11:19:14 +01:00
Sebastien Helleu
6972b1aafa
xfer: fix freeze of DCC file received: use select() to read socket and if an ACK send fails, silently ignore and disable ACK (except the last)
2013-02-28 19:16:24 +01:00
Sebastien Helleu
e890ac0a81
xfer: fix freeze of DCC file received: use non-blocking socket after connection to sender and ensure the ACK is properly sent (bug #38340 )
2013-02-26 21:43:39 +01:00
Sebastien Helleu
0e641e0c45
irc: fix conversion of mask to regex in ignore
2013-02-26 21:15:14 +01:00
Sebastien Helleu
b60aec975b
script: add control of autoload (enable/disable/toggle) (task #12393 )
...
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload
for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
2013-02-25 08:46:41 +01:00
Sebastien Helleu
f5bc12e72c
rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier "irc_message_auth")
2013-02-23 14:55:28 +01:00
Sebastien Helleu
9beb263e4a
irc: hide passwords in commands or messages sent to nickserv with modifiers (bug #38346 )
...
New modifiers: "irc_command_auth" and "irc_message_auth".
Option removed: irc.look.hide_nickserv_pwd
New option: irc.look.nicks_hide_password
2013-02-23 14:54:07 +01:00
Sebastien Helleu
c17d3e155c
relay: add support of multiple servers on same port for irc protocol (the client must send the server in the "PASS" command)
2013-02-23 08:33:38 +01:00
Sebastien Helleu
9857b44e4e
guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), guile >= 2.0 is now required (bug #38350 )
...
Unfortunately this breaks compatibility with existing guile scripts, but this
change is needed to keep consistency with other scripting languages.
Now guile >= 2.0 is required, WeeChat can not compile any more with guile 1.8.
2013-02-19 22:49:59 +01:00
Sebastien Helleu
c43d48a9df
guile: fix crash on calls to callbacks during load of script (bug #38343 )
2013-02-19 19:49:12 +01:00
Sebastien Helleu
50eb1f51fd
irc: fix crash when unmasking a smart filtered join if a line without tags is displayed after the join
2013-02-18 22:23:03 +01:00
Sebastien Helleu
67838983ad
irc: fix display of malformed CTCP (without closing char) (bug #38347 )
2013-02-18 18:31:19 +01:00
Sebastien Helleu
bc079b007d
irc: unmask smart filtered join if nick speaks in channel some minutes after the join, new option irc.look.smart_filter_join_unmask (task #12405 )
...
The nick changes are tracked and will be unmasked with the join.
Events triggering the unmask of join are: a message (can be CTCP), a notice or
an update of topic.
2013-02-17 13:27:36 +01:00
Sebastien Helleu
8b875cd412
irc: fix type of values in hashtables join_manual/join_noswitch, fix delay for purge
2013-02-16 18:38:39 +01:00
Sebastien Helleu
c1bc23b052
irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list)
2013-02-16 10:00:28 +01:00
Sebastien Helleu
f7811b0ae2
relay: fix crash when decoding a websocket frame
2013-02-12 14:14:40 +01:00
Sebastien Helleu
8d5dee9aa0
relay: add gcrypt include and link arguments to compile relay plugin
2013-02-12 12:51:26 +01:00
Sebastien Helleu
62ff697772
script: remove unneeded test on ZLIB_FOUND in CMakeLists.txt (zlib is mandatory)
2013-02-12 12:50:32 +01:00
Sebastien Helleu
c2aeb69c46
relay: add experimental websocket server support (RFC 6455) for irc and weechat protocols, new option relay.network.websocket_allowed_origins
...
It is a partial implementation of RFC 6455: fragmentation and control frames are
not yet supported.
Text and binary frames are supported.
2013-02-10 20:22:13 +01:00
Sebastien Helleu
eb11921f16
irc: add missing RFC 2813 in header
2013-02-10 15:57:38 +01:00
Sebastien Helleu
e4149b073d
relay: add options "buffers" and "upgrade" for commands sync/desync in weechat protocol
2013-02-07 22:08:31 +01:00
Sebastien Helleu
7a1f9a1d7f
relay: fix commands sync/desync in weechat protocol (bug #38215 )
...
Fix:
- use proper arguments in commands sync/desync (use argv[0] instead of argv[1])
- when searching if a buffer is synchronized, its name has higher priority on "*"
(so first check if buffer is synchronized, and if not found, search if "*" is
synchronized)
- when receiving a "nicklist_*" signal, check if the buffer is synchronized with
flag "RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST"
2013-02-03 09:51:15 +01:00
Sebastien Helleu
afe729435a
relay: fix typo in comment
2013-02-03 08:38:41 +01:00
Sebastien Helleu
ac94f68b59
relay: add return of a NULL pointer in command "test"
2013-02-01 09:58:30 +01:00
Sebastien Helleu
08f360692d
relay: add comments with example of messages in weechat protocol
2013-02-01 08:53:37 +01:00
Sebastien Helleu
6983d34e88
aspell: optimization on spellers to improve speed (save state by buffer), add info "aspell_dict", add completion "aspell_dicts"
...
Two hashtables have been added to store the spellers currently used (in all
buffers) and info for each buffer: array with pointers to spellers and state of
aspell for this buffer.
Therefore the spellers are not destroyed and created again on each buffer switch,
or each time screen is refreshed when window is split.
2013-01-31 19:40:41 +01:00
Sebastien Helleu
ad60321843
irc: fix typo in comment
2013-01-31 08:57:09 +01:00
Sebastien Helleu
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu
05390016c0
irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070 )
2013-01-25 19:05:23 +01:00
Sebastien Helleu
27b539affe
core: display error number and string in some network errors
...
Error number and string is now displayed when an error is returned by one of
these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-24 08:55:04 +01:00
Sebastien Helleu
0e3bec6d2e
scripts: do now allow empty script name in function "register"
2013-01-22 09:26:11 +01:00
Sebastien Helleu
3a782b017f
Merge branch 'guile2'
2013-01-20 15:06:46 +01:00
Sebastien Helleu
d5e546f2c6
Merge branch 'perl-script-load'
2013-01-20 15:04:25 +01:00
Sebastien Helleu
0f143da012
guile: fix compilation with guile 2.0
2013-01-16 22:37:31 +01:00