Age | Commit message (Collapse) | Author |
|
(...and AUTHORS.)
|
|
|
|
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
|
|
Added the noautosendcmd parameters to the SERVER syntax documentation
|
|
|
|
(This was why I saw a warning from the IPv4 code path, now fixed by 7949e4c).
|
|
Improved the UNACT example ALIAS
|
|
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".
|
|
Ignore build products in .gitignore
|
|
|
|
Updated the ALIAS documentation.
|
|
Replaced google.com with irssi.org examples.
|
|
Added information about the NO_ACT level
|
|
Added a new example for ALIAS
|
|
Rewrote the syntax documentation for NETWORK and SERVER
|
|
Rewrote the syntax documentation for all commands starting with the
letters J and K.
|
|
Removed the obsolete J alias.
|
|
Updated the aliases and default channels; general cleanup.
|
|
Wrote the missing syntax documentation for UPTIME.
|
|
Improved the IGNORE examples.
|
|
Improved some examples.
|
|
Most servers were outdates with their current TARGMAX capab; everything
should be up to date now.
|
|
Added EsperNet and NetFuze, removed WebChat and LinkNet.
|
|
|
|
Update connect.in
|
|
add trailing dot for consistency; mention that existing connections are kept
|
|
Change NO_ACT so it can be combined with other levels
|
|
Rewrote the syntax documentation for all commands starting with the
letter F.
|
|
|
|
Rewrote the syntax documentation for commands starting with the letter
E.
|
|
Updated the file format template for commands A through C.
|
|
Rewrote the syntax documentation for all commands starting with the
letter D.
|
|
Rewrote the syntax documentation for all the commands starting with the
letter C.
|
|
256 colour support for Irssi
|
|
Rewrote the syntax documentation for all the commands starting with B.
|