aboutsummaryrefslogtreecommitdiff
path: root/include/inspstring.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a basic function for templating strings.Gravatar Sadie Powell2022-06-151-0/+10
|
* Move TokenList to inspstring.Gravatar Sadie Powell2022-06-071-0/+50
|
* Fix a few Doxygen comment errors.Gravatar Sadie Powell2022-01-241-1/+0
|
* Add constexpr to the initialisation of various const static fields.Gravatar Sadie Powell2022-01-181-4/+4
|
* Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-1/+0
|
* Extract percent encoding logic from spanningtree to inspstring.Gravatar Sadie Powell2021-05-101-0/+43
|
* Refactor the hex encoding function.Gravatar Sadie Powell2021-05-101-13/+26
|
* Refactor the Base64 encoding and decoding functions.Gravatar Sadie Powell2021-05-101-5/+45
|
* Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
|
* Fix a bunch of really obvious unnecessary includes.Gravatar Sadie Powell2021-03-051-2/+0
|
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+8
|
* Make InspIRCd::Format return std::string instead of const char*.Gravatar Peter Powell2018-01-031-1/+1
| | | | | | | | | | | | | 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.
* Added macro to allow simpler logic in functions with the need to vsnprintfGravatar Daniel Vassdal2013-05-181-0/+9
|
* Deduplicate hex string creation codeGravatar attilamolnar2013-05-181-2/+16
|
* Get rid of strlcpy(), strlcat(), charlcat() and charremove()Gravatar attilamolnar2013-05-161-20/+0
|
* Tidy up source files:Gravatar Peter Powell2013-04-121-6/+1
| | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* Merge inspircd_{config,version}.h into a single header file.Gravatar Peter Powell2013-04-051-2/+2
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
|
* Fix some of the include guard names (requested by SaberUK)Gravatar Justin Crawford2012-04-141-2/+2
|
* Fixes for bug #12Gravatar Justin Crawford2012-04-141-2/+2
|
* Add Base64 encode/decode functions to the coreGravatar danieldg2010-02-211-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12507 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* CoreExport changes, clean up DoHostCycle when users are exemptedGravatar danieldg2009-10-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11856 e03df62e-2008-0410-955e-edbf42e46eb7
* Update m_cloaking to use free-form keys instead of weakening the hash IVGravatar danieldg2009-10-101-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11820 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove strnewdup(), it is a good source of possible memory leaksGravatar danieldg2009-09-021-14/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11622 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* for realGravatar pippijn2008-06-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9898 e03df62e-2008-0410-955e-edbf42e46eb7
* Clear up header insanityGravatar w00t2008-02-031-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+56
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-56/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Guess what i added here?Gravatar brain2007-06-171-0/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7380 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows support. Tested and working to compile on freebsd and linux. Next ↵Gravatar w00t2007-05-191-4/+12
| | | | | | step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
* And now, just to force you to recompile the *whole* ircd.. updated headers ↵Gravatar w00t2006-12-151-0/+13
| | | | | | on the headers. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998 e03df62e-2008-0410-955e-edbf42e46eb7
* FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, ↵Gravatar brain2006-08-101-0/+3
| | | | | | | | | GetClass, WriteOpers, GetServerDescription -> into classes ServerConfig takes InspIRCd pointer in its constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed gentoo (mainly) compatibility -- missing strlcat in this implementation:Gravatar brain2005-03-251-0/+1
| | | | | | | gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@908 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed inspstring strlcpy and strlcatGravatar brain2005-03-251-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@907 e03df62e-2008-0410-955e-edbf42e46eb7
* Added implementation of strlcpy and strlcat for systems that dont have itGravatar brain2005-03-251-0/+11
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7