summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
Commit message (Expand)AuthorAgeFilesLines
* Make irc::spacify take 'const char*' instead of 'char*'•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6006 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-161-1/+1
* And now, just to force you to recompile the *whole* ircd.. updated headers on...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-5/+2
* 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/+10
* 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/+3
* bits_size must be protected, not private•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5764 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-181-0/+1
* Add \code and \endcode tags for doxygen•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-181-0/+2
* 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-7/+46
* 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-2/+2
* Properly document irc::dynamicbitmask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5760 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-181-3/+70
* 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-0/+4
* 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/+20
* 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-1/+13
* Document irc::portparser with comments :-)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5693 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-0/+41
* 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/+12
* Document a ton of classes (e.g. give them a short description for http://svn....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-061-5/+7
* Document•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-031-0/+16
* 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/+23
* Remove testcases•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5398 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-021-1/+1
* mmmm dinner break, oh and document and make use of modestacker.•••Someone test this, i cant as im at work. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5395 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-021-0/+41
* 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-0/+3
* More efficient modestacker•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5390 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-021-1/+1
* 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/+11
* 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