aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h (unfollow)
AgeCommit message (Collapse)Author
2007-04-23Fixed a major bug in the rehash algorithm. If any items were erased, then aMike Buland
rehash occured, a double-free would also occur...very sad. That's all fixed now.
2007-04-10Updated SPtr to (hopefully) handle null values and assignments well, and youMike Buland
should be able to compare them to pointers of the same type (and nulls?).
2007-04-10David had it half right...to make it work like something that's actually a constMike Buland
pointer he's right, the pointer needs to be rebindable, but for a: const int *p; p can be changed, but not what p points to. I've added the rest of the operators in sptr that should accomplish this, and a test that actually tests the correctness of SPtr used this way against a normal pointer, both tests check out 100%, hopefully this dosen't break anything, but if it should act like a pointer, this is how to do it. (I totally forgot that const pointers were rebindable).
2007-04-10david - wow... that seems a little kludgy... see the constsptr test for ↵David
details, but basically i had to make the members of sptr mutable to get this to work the way it seems it should... maybe i'm missing something...
2007-04-09The SPtr is castable now. just say SPtrCast<TypeToCastTo>( ASPtr );Mike Buland
2007-04-09david - i need to cast a sptr... started writing test for itDavid
2007-04-03Hey, it's nicer with const-ness.Mike Buland
2007-04-03Deleted the egg example...it was annoying me.Mike Buland
2007-04-02Ok...now you can specify a timeout on the open function, 30 seconds is theMike Buland
default so no programs need to be changed, it seemed like a good default to me... Still needs testing, but it should work just fine, and shouldn't effect any of our servers.
2007-04-02This constitutes a test version...there's a chance this should have been aMike Buland
branch, but it's so small...I'll just see if bugs arise, and if they do, then we'll fix 'em.
2007-03-27Added a new helper to the flexbuf, and likewise to the connection class, sinceMike Buland
it uses it heavily.
2007-03-27Fixed a const issue in the fstring.Mike Buland
2007-03-25Some more updates to Hash and FString.Mike Buland
2007-03-23Added another function to FString.Mike Buland
2007-03-21Fixed another random bug in the string compare for raw strings.Mike Buland
2007-03-21Fixed an infinite loop rehashing in the has function...whackyMike Buland
2007-03-21Fixed it so it'd compile...Mike Buland
2007-03-20Minor updates to the Hash and FString, Hash got a getKeys function, and FStringMike Buland
got the more normal getStr and getSize functions.
2007-03-19Fixed some bugs and added some new goo. You can serialize FStrings and HeshesMike Buland
now.
2007-03-15Fixed a constness issue. It's pretty good to go.Mike Buland
2007-03-15This version may break hashing of strings, but at least you can hash FStrings...Mike Buland
templates are confusing.
2007-03-15Looks like FString is ready for general consumption, not too shabby.Mike Buland
2007-03-15FString is totally usable, a few more helpers must be written before it surpasesMike Buland
the other classes in functionality. It's already rather fast.
2007-03-14The param proc now actually uses the extra field.Mike Buland
2007-03-14Now fixed the xml escaping...sigh.Mike Buland
2007-03-14Characters way up there were being escaped as negative numbers...seems whacky.Mike Buland
2007-03-09The string thing compiles.Mike Buland
2007-03-07Started the fstring class, could be good.Mike Buland
2007-03-07david - yep, forgot to commitMike Buland
2007-03-02Removed annoying debugging from SPtrMike Buland
2007-03-02Removed debugging from the HashMike Buland
2007-02-28Made updates to the staticstring, it works better with const situations now...Mike Buland
2007-02-27This may require slightly more testing, but basically I made ConnectionManagerMike Buland
more general, you can now listen to all local addresses (the old way), or individual addressses.
2007-02-19The formula system works just fine, just no functions yet, but I don't need themMike Buland
for quite a while.
2007-02-17Tweaked the stream classes, added an example, and the begining of a formulaMike Buland
parser.
2007-01-31Added an extra line because svn is all confused.Mike Buland
2007-01-30Hey, Plugger doesn't kill your program with exit, it just throws an exception.Mike Buland
2007-01-30Added some more helpers to Plugger, which really needs to get with the times andMike Buland
use Hash and exceptions.
2007-01-29Added another new helper to Hash.Mike Buland
2007-01-28Updated the plugger to expose the third version of the plugin-info macro, thisMike Buland
is the one I think should really be used pretty much of the time...
2007-01-27New feature in Hash, a copy constructor, you can now put a hash into otherMike Buland
templatized containers.
2007-01-27Added a function to make the Base Exception class a little friendlier.Mike Buland
2007-01-24...this time?Mike Buland
2007-01-24Fixed a bug?Mike Buland
2007-01-20Fixed a minor memory issue in the serializer.Mike Buland
2007-01-19Experimental commit to see if references work...Mike Buland
2007-01-17Added more hash functions, yay hash functions!Mike Buland
2006-12-29Part of the Connection class timed reads were reporting things improperly.Mike Buland
HttpGet is also much better now, and will timeout if it needs to.
2006-12-18Again?Mike Buland
2006-12-18Fixed another bug...again...damn spry.Mike Buland