aboutsummaryrefslogtreecommitdiffstats
path: root/include/inline
Commit message (Expand)AuthorAgeFilesLines
* strip_colour: Strip '\x11' (monospace) and '\x1e' (strikethrough)•••Also clarify the comment: this function strips more than just colours. Gravatar Tobias Geerinckx-Rice2023-01-031-1/+3
* Innovation by sedGravatar Ed Kellett2020-10-151-1/+1
* strip_unprintable: clarify type conversion•••This type conversion is more easily shown to work as intended than the conversion introduced in 9dcb9e169. Gravatar Janik Kleinhoff2019-10-061-4/+4
* Fix strip_unprintable on high bit bytesGravatar Ed Kellett2019-10-061-3/+3
* strip_colour: Strip '\x0F' (^O, formatting off)•••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>.Gravatar auscompgeek2014-04-171-0/+1
* strip_colour: Prefer IsDigit to isdigit.•••Unlike isdigit, IsDigit can safely be applied to 'char's. Arguments to isdigit needs a character cast to 'unsigned char' or EOF. Gravatar Jilles Tjoelker2012-03-151-8/+8
* When stripping colour/control codes, also strip \004.•••Some clients such as irssi interpret \004 as colour or other markup. Gravatar Jilles Tjoelker2012-03-151-0/+1
* Add strip_unprintable, a function that strips all unprintable characters from...Gravatar B.Greenham2010-12-091-0/+44
* 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