summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-06Add information about message splitting to NEWSSebastian Thorarensen
(...and AUTHORS.)
2014-07-06Fix minor coding style issues in message splittingSebastian Thorarensen
2014-07-06Allow `server.split_message' being NULLSebastian Thorarensen
Now a module can set `server.split_message = NULL' to disable message splitting, instead of having to implement the function.
2014-07-06Replace an indent of eight spaces with a tabSebastian Thorarensen
2014-07-06Replace a `goto out' with explicit freeingSebastian Thorarensen
2014-07-06Introduce a MAX_USERHOST_LEN constant for IRCSebastian Thorarensen
2014-07-06Move the definition of the `split_line' settingsSebastian Thorarensen
2014-07-06Split long IRC `ACTION' messagesSebastian Thorarensen
Add line splitting logic to commands `/me' and `/action'.
2014-07-06Fix the `userhostlen' fallback in `split_message'Sebastian Thorarensen
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
2014-07-06Avoid unnecessary splitting of linesSebastian Thorarensen
`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'.
2014-07-06Add configurable split line prefixes and suffixesSebastian Thorarensen
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.
2014-07-06Properly split long IRC messagesSebastian Thorarensen
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.
2014-07-06Merge branch 'master' of https://github.com/irssi/irssiGeert Hauwaerts
2014-07-06Merge pull request #85 from dgl/werrorAlexander Færøy
Make configure checks able to build with -Werror
2014-07-06Updated SERVER documentationGeert Hauwaerts
Added the noautosendcmd parameters to the SERVER syntax documentation
2014-07-06Check return values from some syscalls and warn if they failDavid Leadbeater
2014-07-06Fix compiler warning in IPv6 checkDavid Leadbeater
(This was why I saw a warning from the IPv4 code path, now fixed by 7949e4c).
2014-07-06Improved the UNACT example ALIASGeert Hauwaerts
Improved the UNACT example ALIAS
2014-07-06Redraw the statusbar after reading the settingsGeert Hauwaerts
I fixed a bug where the statusbar was not redrawn after reading the settings.
2014-07-06Updated the startup banner + added generic bannerGeert Hauwaerts
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.
2014-07-06Initialize in6 correctlyDavid Leadbeater
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.
2014-07-06Merge pull request #82 from ailin-nemui/256colour-cleanupAlexander Færøy
fix compiler warnings in extended colour code
2014-07-06Make configure checks able to build with -WerrorDavid Leadbeater
Also fix a few compiler warnings, this combined with pull #82 allows me to build with CFLAGS="-Werror -Wall".
2014-07-06Merge pull request #84 from dgl/gitignoreAlexander Færøy
Ignore build products in .gitignore
2014-07-06Ignore build products in .gitignoreDavid Leadbeater
2014-07-06Updated the ALIAS documentationGeert Hauwaerts
Updated the ALIAS documentation.
2014-07-06Replaced google.com with irssi.org examplesGeert Hauwaerts
Replaced google.com with irssi.org examples.
2014-07-06Added information about the NO_ACT levelGeert Hauwaerts
Added information about the NO_ACT level
2014-07-06Added a new example for ALIASGeert Hauwaerts
Added a new example for ALIAS
2014-07-06New syntax documentation for NETWORK and SERVERGeert Hauwaerts
Rewrote the syntax documentation for NETWORK and SERVER
2014-07-06Syntax documentation rewrite for J-K commandsGeert Hauwaerts
Rewrote the syntax documentation for all commands starting with the letters J and K.
2014-07-06Removed the obsolete J aliasGeert Hauwaerts
Removed the obsolete J alias.
2014-07-06Improved the default configuration fileGeert Hauwaerts
Updated the aliases and default channels; general cleanup.
2014-07-06Wrote the missing syntax documentation for UPTIMEGeert Hauwaerts
Wrote the missing syntax documentation for UPTIME.
2014-07-06Improved the IGNORE examplesGeert Hauwaerts
Improved the IGNORE examples.
2014-07-06Improved some examplesGeert Hauwaerts
Improved some examples.
2014-07-06Updated the TARGMAX of the default servers.Geert Hauwaerts
Most servers were outdates with their current TARGMAX capab; everything should be up to date now.
2014-07-06Updated the default network list.Geert Hauwaerts
Added EsperNet and NetFuze, removed WebChat and LinkNet.
2014-07-05Syntax documentation rewrite for H-I-commandsGeert Hauwaerts
2014-07-05Merge pull request #83 from richlv/patch-1Geert Hauwaerts
Update connect.in
2014-07-05Update connect.inrichlv
add trailing dot for consistency; mention that existing connections are kept
2014-07-04Merge pull request #80 from dgl/noactAlexander Færøy
Change NO_ACT so it can be combined with other levels
2014-07-04Syntax documentation rewrite for F-commandsGeert Hauwaerts
Rewrote the syntax documentation for all commands starting with the letter F.
2014-07-04fix compiler warnings in extended colour codeAilin Nemui
2014-07-03Syntax documentation rewrite for E-commandsGeert Hauwaerts
Rewrote the syntax documentation for commands starting with the letter E.
2014-07-03Syntax format changes for A-C commandsGeert Hauwaerts
Updated the file format template for commands A through C.
2014-07-03Syntax documentation rewrite for D-commandsGeert Hauwaerts
Rewrote the syntax documentation for all commands starting with the letter D.
2014-07-03Syntax documentation rewrite for C-commandsGeert Hauwaerts
Rewrote the syntax documentation for all the commands starting with the letter C.
2014-07-02Merge pull request #48 from ailin-nemui/256-colour-historyAlexander Færøy
256 colour support for Irssi
2014-07-02Syntax documentation rewrite for B-commandsGeert Hauwaerts
Rewrote the syntax documentation for all the commands starting with B.