<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~steering/inspircd++.git/src/helperfuncs.cpp, branch v3.0.0a10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://www.cgit.space/~steering/inspircd++.git/atom/src/helperfuncs.cpp?h=v3.0.0a10</id>
<link rel='self' href='https://www.cgit.space/~steering/inspircd++.git/atom/src/helperfuncs.cpp?h=v3.0.0a10'/>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/'/>
<updated>2018-07-20T10:48:22Z</updated>
<entry>
<title>Use arc4random_buf() instead of random() when available.</title>
<updated>2018-07-20T10:48:22Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2018-07-20T10:43:41Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=ec6bdd1ae9b2b237332860fa0caeb10de7c9b866'/>
<id>urn:sha1:ec6bdd1ae9b2b237332860fa0caeb10de7c9b866</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add InspIRCd::IsHost for checking the validity of hostnames.</title>
<updated>2018-07-10T20:14:56Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2018-06-29T10:28:19Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=87361360e67d105df148ba0daa52f1164ce1d15a'/>
<id>urn:sha1:87361360e67d105df148ba0daa52f1164ce1d15a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve support for MOTD escape codes.</title>
<updated>2018-04-22T22:38:13Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2018-03-29T18:04:11Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=506344a903d3fa2fcb53f22a3a1c8174b1deb357'/>
<id>urn:sha1:506344a903d3fa2fcb53f22a3a1c8174b1deb357</id>
<content type='text'>
- Implement escapes for italic, monospace, and strikethrough.
- Use the escape codes in the example MOTDs to demonstrate their
  formatting effects.
- Remove support for octal escape codes. In modern computing octal
  is rarely used and is confusing for users who might confuse it
  for decimal.
</content>
</entry>
<entry>
<title>Make InspIRCd::Format return std::string instead of const char*.</title>
<updated>2018-01-03T12:38:40Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2018-01-01T23:56:35Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=372bb6ec31e26908966ff553b782c9a24a07db6a'/>
<id>urn:sha1:372bb6ec31e26908966ff553b782c9a24a07db6a</id>
<content type='text'>
Using the latter is problematic as if you don't copy the return
value before calling Format again your formatted message will be
overwritten by something else. This bug was observed in m_callerid
where InspIRCd::Format was being used for formatting two arguments
the latter of which was being overwritten with the former.

We could have preserved the return type and just copied the string
but then callers would have had to deallocate the string once they
have finished with it which is an undesirabable burden to put on
callers.
</content>
</entry>
<entry>
<title>Use GetMaxMask in InspIRCd::IsValidMask instead of hardcoding 250.</title>
<updated>2017-12-19T17:49:48Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2017-12-19T17:49:48Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=c4e7b532055909e303f6ddb1a6e6f2dd073fcf3e'/>
<id>urn:sha1:c4e7b532055909e303f6ddb1a6e6f2dd073fcf3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert GenRandom to std::function.</title>
<updated>2017-11-25T13:38:02Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2017-11-25T12:50:11Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=6abc789577a86ffcdce8fae81b37f825d9ca4226'/>
<id>urn:sha1:6abc789577a86ffcdce8fae81b37f825d9ca4226</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert IsChannel to std::function.</title>
<updated>2017-11-25T13:38:02Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2017-11-25T12:37:48Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=1dca8b79edf65c0e5e846cc120f1321fb0a1d15c'/>
<id>urn:sha1:1dca8b79edf65c0e5e846cc120f1321fb0a1d15c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert IsIdent to std::function.</title>
<updated>2017-11-25T13:38:02Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2017-11-25T12:29:05Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=3b3cb845602bbaa3935f736785a53724750230dc'/>
<id>urn:sha1:3b3cb845602bbaa3935f736785a53724750230dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert IsNick to std::function.</title>
<updated>2017-11-25T13:38:02Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2017-11-25T12:15:35Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=7ece928bab20881d6fe24c4479f4ff9e0a8a7179'/>
<id>urn:sha1:7ece928bab20881d6fe24c4479f4ff9e0a8a7179</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a ton of -Wsign-conversion warnings.</title>
<updated>2017-11-17T15:33:01Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2017-11-17T00:02:03Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=36040be2952186d56a6646ee7d972aaafdd4e31a'/>
<id>urn:sha1:36040be2952186d56a6646ee7d972aaafdd4e31a</id>
<content type='text'>
</content>
</entry>
</feed>
