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
Sebastien Helleu
4123263b8c
guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars by scm_to_locale_string) (bug #38067 )
2013-01-12 19:27:00 +01:00
Sebastien Helleu
a6bc15e69d
aspell: fix spellers used when switching buffer
...
The bug happened when two buffers have different number of dictionaries and start
with same dictionaries. For example buffer #1 with [en,fr] and buffer #2 with [en].
When switching from buffer #1 to buffer #2 , aspell does not use only [en], but [en,fr].
2013-01-11 17:25:53 +01:00
Sebastien Helleu
db62b272b5
Revert "aspell: store dictionaries in buffer local variable "aspell_dict""
...
This reverts commit 8b61a55764 .
The local variable in buffers introduced new display bugs and would need
some extra code and optimizations to fix.
This will be reintroduced after the release of version 0.4.0.
2013-01-11 16:07:45 +01:00
Sebastien Helleu
4a554d48d2
perl: fix compilation when multiplicity is disabled
2013-01-11 13:27:14 +01:00
Sebastien Helleu
57024ab1e4
relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870 )
2013-01-11 10:30:44 +01:00
Sebastien Helleu
ca205ccb8c
relay: fix typo in comment
2013-01-11 10:28:28 +01:00
Sebastien Helleu
f1580f5276
relay: add debug message for signal "irc_disconnected"
2013-01-11 10:27:26 +01:00
Sebastien Helleu
3c782bd905
relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags")
2013-01-11 09:28:58 +01:00
Sebastien Helleu
8b61a55764
aspell: store dictionaries in buffer local variable "aspell_dict"
2013-01-10 23:30:14 +01:00
Sebastien Helleu
53c6b62ae3
core: fix some copyright dates
2013-01-10 23:14:33 +01:00
Nei
0b1550afe1
perl: simplify code to load scripts
2013-01-10 23:10:04 +01:00
Sebastien Helleu
6d636b6118
Revert "perl: simplify code to load scripts"
...
This reverts commit 793a3cb1ba .
This commit was causing crash on Linux when loading scripts like buffers.pl.
2013-01-10 09:32:19 +01:00
Nei
793a3cb1ba
perl: simplify code to load scripts
2013-01-09 18:15:51 +01:00
Nei
224a0f0afa
perl: display script filename in error messages
2013-01-08 22:09:03 +01:00
Nei
2ca30ed7a9
perl: fix calls to callbacks during load of script when multiplicity is disabled (bug #38044 )
2013-01-08 22:02:30 +01:00
Sebastien Helleu
7d1ad59dde
relay: add message when address family is not supported by protocol (on socket creation)
2013-01-08 08:14:07 +01:00
Sebastien Helleu
1a646d5dbf
relay: add error number and string when socket creation fails
2013-01-07 21:34:05 +01:00
Sebastien Helleu
faccb87a10
irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027 )
2013-01-06 12:25:34 +01:00