summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
Commit message (Expand)AuthorAgeFilesLines
* Turn irc::commasepstream into a base class, irc::sepstream, inherit two class...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5266 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-171-4/+21
* Move Spacify() into irc:: namespace as multiple modules use it now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5200 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-101-0/+2
* We now have a test module that can dump someones certificate information: /ss...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5125 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-0/+2
* Comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4952 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-13/+16
* Move lowermap[] into a pre-initialised const array in hashcomp.h,•••get rid of InspIRCd::MakeLowertab() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4951 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-0/+18
* Document the nspace namespace•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4906 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-121-2/+18
* Move strlower into nspace namespace where hash<std::string> lives•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4850 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-0/+2
* Move the socket functions like insp_ntoa into their own namespace. They arent...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4828 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-0/+3
* Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-4/+4
* Document irc::commasepstream and irc::tokenstream•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4414 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-0/+29
* Created new class irc::commasepstream.•••Will read comma seperated lists and works identically to irc::tokenstream It's re-entrant so we can run two of them together for JOIN git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4412 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-0/+13
* const the std::string reference in tokenstream's constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4400 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-161-1/+1
* This should be faster, we read it like a stream now with GetToken until GetTo...•••The optimizations done by gcc means theres only one std::string constructor call per token, which is mmm yum. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4397 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-4/+5
* irc::tokenstream is a token parser which using std::string and std::vector bu...•••e.g.: :arse PRIVMSG #chan :foo bar baz becomes a[0] = ":arse", a[1] = "PRIVMSG", a[2] = "#chan", a[3] = "foo bar baz". *** SOMEONE *** needs to optimize this or at least verify its neatness (without making it total craq and unreadable). Feel free to mess with my code. Any optimizations you make, run them against the COMMENTED OUT TEST SUITE at the top of main() in src/inspircd.cpp and ensure ALL output is the same with no crashes. (note: if you comment out and build with the test suite, all inspircd will do is output test data and exit!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4396 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-0/+13
* 3.3 -> 3.4 fix (the 3.3 stuff was actually craq)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4393 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-141-9/+2
* Routing more socket includes through socket.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3868 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-101-13/+3
* AIEEE fucking overloaded operators•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-2/+2
* Tweaks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3261 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-4/+4
* Added + and == operators between std::string and irc::string.•••Its too late at night to wrestle with the = operator, this can wait for another time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3260 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-0/+9
* Add operators >> and << for irc::string and i/ostreams. m_cban utilises this•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3066 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-02-031-0/+7
* Updated copyrights in headers etc using perl inplace edit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-1/+1
* Updated to keep lowermap const within hashcomp.cpp•••Updated docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1401 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-5/+9
* Updated strhashcomp to use irc::string internally rather than a combination o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1400 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+11
* Moved StrHashComp and InAddr_HashComp into the irc:: namespace•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1398 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-20/+23
* Added comments for doxygen•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1395 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-6/+40
* Added irc::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1394 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-1/+11
* sorted hashcomp etc•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+16
* (Untested) added hashcomp.cpp, seperates out the stl hash_map stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1384 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-39/+4
* Moved a ton of functions into helperfuncs.h to speed up recompiles•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+89