summaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Remove trailing spaces from input in irc::ircsepstream•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-0/+5
* The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-0/+7
* 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-3/+3
* 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/+28
* 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-2/+1
* Improved this a lot•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4398 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-29/+3
* 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-15/+40
* 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/+44
* Removed GCC2 checks as we havent supported gcc2 for years•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-151-8/+0
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE T...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-061-8/+8
* Tidyup: (unsigned) cast to more explicit (unsigned char)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3746 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-211-6/+6
* Changed to unsigned char to get rid of warnings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3598 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-2/+2
* lowertab -> lowermap•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3597 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-2/+2
* Improved strhashcomp with no allocations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3596 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-8/+11
* AIEEE fucking overloaded operators•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-191-1/+1
* More tweaks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3262 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/+20
* 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/+14
* Improved inaddr_hashcomp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3040 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-7/+1
* 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
* Started on -Wall - safe compile•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-301-7/+7
* Fixed lengths•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1547 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-291-0/+1
* Fixed fd_Setsize in cygwin•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-281-1/+1
* Changed to use __single_client_alloc, faster on most systems in a single thread•••Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+2
* 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-1/+1
* 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-6/+3
* 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-2/+2
* Added irc::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1394 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+56
* Added comments to hashcomp.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1389 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+29
* GCC 3.4/4.0 fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-8/+0
* 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
* Making sure this is compatible with GCC3.4/4.x•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1386 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+8
* (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-0/+55