Age | Commit message (Collapse) | Author |
|
Now properly sends "gui print text after finished" signal when using
the printtext_after API that was fixed after 0.8.16
|
|
Add bounds check to array access in terminfo driver.
|
|
this fixes a crash due to illegal memory access that can occur if
something is printed to the screen on the "terminal resized"
handler. It is not clear to me whether this race condition can be
triggered by external incoming messages, but it might be better safe
than sorry.
|
|
Fix right aligned statusbar item redrawing
|
|
Rewrote the syntax documentation of U-Z commands.
|
|
fix mirc_blink_fix
|
|
|
|
the background colours were totally off with mirc_blink_fix
enabled. oops.
reported by wodim
|
|
fix rules for italics emphasis
|
|
Removed the obsolete SQUERY and SERVLIST commands.
|
|
while the last patch did stop /path/.xxx from turning italic, it also
stopped any other /emphasis/ from becoming italic. correct this by
testing for ispunct, so spaces are valid italic terminators
|
|
the previous commit was broken, as it conflicted with the colour
\#000000. Now both the "real colour black" and the "terminal colour 0"
are working.
|
|
the colour 0 was broken by the extended colours patch because it needs
an explicit bit check (lower bits will be false since it is 0)
Thanks to lhynes for the report
|
|
Fixes Github issue #97 https://github.com/irssi/irssi/issues/97
Fix proposed by ailin-nemui, built and tested on Debian Jessie using
0.8.15 source, tested by GeertHauwaerts as well.
|
|
|
|
The RPING command is obsolete.
|
|
|
|
I removed the binding for the NOTE command that doesn't exist anymore on
any major network.
|
|
this additional check avoids /root/.hiddendir from italicising /root/,
because that is often used in path names
|
|
At this point cmdchars is definitely / and the user might not know they
need to add / to a command.
|
|
|
|
It's tricky to make the banner show first in all cases and it's unlikely
to be seen if someone is connecting to a server already, so just don't
show it.
|
|
FS#155 hilight -tag
|
|
|
|
This patch fixes a few warnings emitted by clang by removing the
initialization of the list by itself.
|
|
Implement italics support for Irssi
|
|
Properly split long IRC messages
|
|
|
|
|
|
|
|
The SERVER ADD completion was missing the -! and -noautosendcmd options.
|
|
Fixed a compiler warning for statusbar_redraw.
|
|
|
|
Now a module can set `server.split_message = NULL' to disable message
splitting, instead of having to implement the function.
|
|
|
|
|
|
|
|
|
|
Add line splitting logic to commands `/me' and `/action'.
|
|
ferret, the author of `splitlong-safe.pl' pointed out that `userhostlen'
should not only contain the maximum length of the hostname, but also the
maximum length of the username. Now 10 is used as the maximum username
length as a fallback. (`splitlong-safe.pl' uses the same limit.)
The username limit isn't defined in the standard, but 10 is common on
many networks. The odds that something goes wrong here is low, as
1) the fallback limit is only used when the user has not yet joined a
channel
2) the maximum hostname length (63) gives some error margin as the
hostname usually is shorter
|
|
`split_line_end' could force lines to be unnecessarily split. This
commit fixes the problem by making sure that the last line isn't shorter
than `split_line_end'.
|
|
Add settings `split_line_start' and `split_line_end' analogous to
`splitlong_line_start' and `splitlong_line_end' in `splitlong.pl'. The
prefixes and suffixes are concatenated with a wrapper function to keep
`recode_split' and `strsplit_len' simple.
|
|
This commit adds handling of long IRC messages to the core. In contrast
to the `splitlong.pl' plugin, multi-byte encoded and recoded messages
are properly split.
To allow for this, a new function has been added to the server struct:
`split_message'. `split_message' returns a string array with the message
splitted to substrings of a length that the server can handle. If a
protocol module doesn't have any limit, it can simply return a singleton
array with a copy of the message.
The `MSG' chat command now calls `split_message' before `send_message',
and emits `message own_public' / `message own_private' with each
substring, so that the string splitting will be visible in the UI.
`split_message' in the IRC module uses `recode_split' which in turn uses
iconv to properly split multi-byte encoded (and recoded) messages.
|
|
Make configure checks able to build with -Werror
|
|
|
|
I fixed a bug where the statusbar was not redrawn after reading the
settings.
|
|
I updated the banner displayed when you start Irssi for the first time
and I have added a banner that will be displayed everytime you start
Irssi.
|
|
This is technically wrong as it then gets used as an IPv4 sockaddr, but it only
needs to be some 0s so this is easier than changing the IPADDR data structure or
adding a new API.
|
|
fix compiler warnings in extended colour code
|
|
Also fix a few compiler warnings, this combined with pull #82 allows me to build
with CFLAGS="-Werror -Wall".
|