aboutsummaryrefslogtreecommitdiffstats
path: root/include/inline
Commit message (Collapse)AuthorAgeFilesLines
* Innovation by sedGravatar Ed Kellett2020-10-151-1/+1
|
* strip_unprintable: clarify type conversionGravatar Janik Kleinhoff2019-10-061-4/+4
| | | | | This type conversion is more easily shown to work as intended than the conversion introduced in 9dcb9e169.
* Fix strip_unprintable on high bit bytesGravatar Ed Kellett2019-10-061-3/+3
|
* strip_colour: Strip '\x0F' (^O, formatting off)Gravatar auscompgeek2014-04-171-0/+1
| | | | | | | Reported by ssbr on freenode: chmode +c doesn't strip ^O, which turns off all previous formatting. This can cause clients that internally use mIRC formatting to render messages weirdly, e.g. highlighted messages in HexChat: <https://i.imgur.com/eDX8Aif.png>.
* strip_colour: Prefer IsDigit to isdigit.Gravatar Jilles Tjoelker2012-03-151-8/+8
| | | | | Unlike isdigit, IsDigit can safely be applied to 'char's. Arguments to isdigit needs a character cast to 'unsigned char' or EOF.
* When stripping colour/control codes, also strip \004.Gravatar Jilles Tjoelker2012-03-151-0/+1
| | | | Some clients such as irssi interpret \004 as colour or other markup.
* Add strip_unprintable, a function that strips all unprintable characters ↵Gravatar B.Greenham2010-12-091-0/+44
| | | | from a string.
* strip_colour(): strip ASCII 29 (mIRC 7 italics).Gravatar William Pitcock2010-06-191-0/+1
|
* Remainder of irc_string.* is moved to new inline/stringops.h.Gravatar William Pitcock2008-04-201-0/+80