aboutsummaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Fix the operator== for irc::string -> std::string to be const&, the lack of c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6643 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-101-2/+2
* Fixes and optimizations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6612 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-251-4/+4
* Add max line length value to modestacker, so that it can clamp the max length...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6609 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-251-2/+20
* Added sepstream::GetRemaining()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6608 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-02-221-0/+5
* Ident fixes,•••removal of some old craq we dont use. cgiirc optimizations and tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-071-23/+0
* Fixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. ac...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6416 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-01-201-0/+5
* Make irc::spacify take 'const char*' instead of 'char*'•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6005 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-161-1/+1
* Still more massive commit fun. Headers in include/ still to be done, else tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-1/+0
* Jesus, look who's the commit whore today. More header updates, and removal of...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-8/+3
* Change m_watch to use hash_map rather than map, because of the large number o...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5979 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-0/+8
* irc::string assign(std::string&)•••std::string assign(irc::string&) soooo: irc::string foo = assign(my_std_string); :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5956 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-111-0/+10
* Fix case insensitive compare (operator ==) between irc::string and std::strin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5925 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-111-2/+2
* I don't know if anything actually uses this, but irc::hex is now *much* more ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5829 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-12-021-4/+9
* Fix a major whoopsie in that class i just added. It must be derived using vir...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5762 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-181-6/+4
* Reduce size of max number of bytes in a bitfield from a 4 or 8 byte field to ...•••This still allows storage of 8*255 bits, which is MORE than enough (for the interested, its 2040 bits) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5761 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-181-3/+8
* Remove some debug, add some comments, throw exception in Get() when passed an...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-171-3/+15
* Fix this so it works, passes test case. Provide a method to query for a bit a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5758 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-171-2/+18
* Add irc::dynamicbitmask class. Feel free to take a look and offer suggestions...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5757 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-171-0/+95
* Allow checking of overlapped ports. A bit of sensible thought prevents this f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-2/+38
* dont use local vars and lose state•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-2/+2
* Handle out of range port numbers without stopping parsing the whole set•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-1/+2
* Add irc::portparser, a class to parse port ranges in the form "6660,6661,6662...•••Needs testing, watch next few commits. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5690 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-0/+50
* Tweak hash generation to make it faster•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5545 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-261-2/+2
* More stringently fit the RFC1459 BNF diagrams•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5528 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-221-0/+5
* New helper class irc::stringjoiner - it pwns you.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-031-0/+27
* Seems to work now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5400 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-021-2/+3
* Add more features to modestacker so that we can stack +, -, and parameterless...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5391 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-021-1/+17
* More efficient modestacker•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5390 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-021-5/+5
* modestacker class, stacks modes and returns a string list of up to MAXMODES m...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5389 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-021-0/+28
* Change type to size_t so that 64 bit platforms dont whine about data loss whe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5303 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-191-1/+1
* Adapt to use std::string::const_iterator•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5302 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-191-2/+2
* Use ++x not x++, to more closely match what stl does•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5299 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-191-1/+1
* ULTRA FAST HASH FUNCTION :p•••I went and looked how hash_fun.h in STL did it, to save a string copy :p (it's deceptively simple too) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5298 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-191-10/+10
* 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-5/+5
* 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/+11
* I'll give you ##TOAST, :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5189 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-091-1/+6
* 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/+18
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-301-4/+0
* Move trailing space stripping to only strip from non-last-item values (dont ask)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5049 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-281-5/+6
* 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-20/+1
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Move whowas into InspIRCd•••Tidy up lowermap extern (for now, we cant do much but have this as extern) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4876 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-11/+25
* Make it more readable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4853 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-2/+2
* Much faster hash<string> for case-insensitive hashing, combined copy and lowe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4852 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+8
* 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/+18
* 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/+1
* 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