Age | Commit message (Collapse) | Author |
|
|
|
Network and IPv{4,6} related changes
|
|
Fix #291, "/msg +#channel incorrectly shows up as Nick:@#channel"
|
|
The return value is a char*, and here it was false which is 0 which is
more or less the same as null.
That could have been a crash somewhere, the functions that call this
don't expect null ever.
|
|
Just passing the full target to the "message irc op_public" signal
handler and letting it do the cleanup.
The fe_channel_skip_prefix() call in event_privmsg() is kept because
recode_in() needs a real channel name, but
There was similar code in sig_message_own_wall(), but that one is
correct - the /wall command always sends NOTICE @#chan, so I added a
comment down there to make it clear.
|
|
Fix FS#905, mangled text when pasted line length exceeds 400
|
|
http://bugs.irssi.org/index.php?do=details&task_id=905
Not using the patch from that ticket, the issue turned out to be that
(dest - last_lf_pos) returned number of unichr, not bytes, so that's 4
times less than what the size parameter of memmove() should be.
|
|
Add expandos for hostname
|
|
|
|
Ip's aren't selected using random() anymore, also select the ip version
by using getaddrinfo and some proper hints.
|
|
SASL support
|
|
Add some copyright headers here and there too.
|
|
|
|
|
|
|
|
Remove Garbage Collection support.
|
|
Add comment on the use of ??) in C, since that string isn't entirely
obvious to people who are reading the code.
|
|
GC support was never enabled by default and nobody in the current
development team seems to care about it.
|
|
|
|
|
|
|
|
|
|
Closes #169
|
|
Clear the ICRNL flag
|
|
Add two missing #include "fe-irc-channels.h"
|
|
Document some shortcomings in perl.txt
|
|
We disable the ICRNL flag to make Enter independent from ^J from the
keybinding point of view since the former will now send ^M, leaving the
user free to remap ^J without trapping itself into the irssi session
because of a broken Enter key.
Also disable the software flow control because we don't expect anyone to
run irssi over a serial console; we gain some more freedom by having ^Q
and ^S freely mappable by the user.
|
|
Fixes #285
|
|
Updates for irssiproxy
|
|
|
|
"if the mechanism is unknown, 908 is optional, 904 (or equivalent error condition) is required"
|
|
So that in case of SASL failure the user sees a nice error message.
|
|
|
|
|
|
On error show the user the message sent by the server.
|
|
|
|
Replace G_SOURCE_REMOVE with FALSE for the compatibility sake.
Zero the timeout id after g_source_remove and when exipred.
Save the sasl_* options in sig_chatnet_saved().
|
|
The only supported methods are PLAIN and EXTERNAL, the latter is untested as of
now.
The code gets the values from the keys named sasl_{mechanism,username,password}
specified for each chatnet.
|
|
Implement CHANTYPES support
|
|
|
|
Send smkx/rmkx sequence at terminal init
|
|
Fix two minor issues outlined in the PR#222
|
|
Enter the "application" mode when setting up the terminal, this improves the
compatiblity with the standards; as a side effect now DEL key works ootb when
irssi is run in the suckless's st terminal.
|
|
irc-cap.c has now a licence header.
A minor style fix in misc.c
|
|
|
|
|
|
How did this extra break cripple in here?
|
|
Use HOST_NAME_MAX instead of hardcoded 100 for userhost
and hostname expandos.
|
|
Use "(none)" instead of "??" for hostname and userhost expandos
when these can't be reliably detected.
|
|
*free_ret must be set to TRUE in both cases, since we return
some newly initialised memory
|