summaryrefslogtreecommitdiff
path: root/src/tests (follow)
AgeCommit message (Collapse)Author
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-03-21Fixed another random bug in the string compare for raw strings.Mike Buland
2007-03-19Fixed some bugs and added some new goo. You can serialize FStrings and HeshesMike Buland
now.
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-14Now fixed the xml escaping...sigh.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.
2006-12-18A second test for the new hash system.Mike Buland
2006-11-27Added the new OrdHash, check the test file for an example.Mike Buland
2006-11-24david - added sizeDavid
2006-11-24Added a simple smart-pointer. It deletes what's in it automatically and doesMike Buland
ref-counting. You just have to be careful to not hand it an array...
2006-11-22Fixed a silly mistake that made the whole thing useless when using strings.Mike Buland
2006-11-21Fixed the rest of the -Wall complaints. This has made the xmlrepltestMike Buland
particularly lame.
2006-11-21Hash uses real exceptions now, and has a clear() function.Mike Buland
2006-11-21Added a has function to HashMike Buland
2006-11-21Added erase functionality, and specializations for using ints as hash keys, soMike Buland
really it does everything the old one did, does it better, easier, and possibly faster.
2006-11-21Wow, craziness. Part way through working on the confpair system I got someMike Buland
sudden insperation and completely redid Hash. Now everything but delete is implemented, including typesafe iterators and more. It's really cool, and everyone should check it out and start using it right away!
2006-11-21Adding a new config-system that should be easy to make derive from xml. Or justMike Buland
used in general. The base unit, the confpair is a template, so if things go right, you should be able to use this to store any kind of config data in a nice and easily accessable way.
2006-11-02Added the SBuffer class, a memory buffer that can be used like a stream. Yay!Mike Buland
2006-10-31Expanded the scope of the stream system to include positional functions. UpdatedMike Buland
the Connection class so that it won't die horribly if you don't provide the pointers to updatable memory for the amount of time not spent waiting for data during a read. Also fiddled with the http test, as you can see...nothing important.
2006-10-31Changed the file class to be SFile so that it will collide less, all of themMike Buland
will be named like that, make life easier.
2006-10-31Added an sha1 class...Mike Buland
2006-10-11Rearranged the tests, now it's like the old style, which I like more for someMike Buland
reason.
2006-10-11Despite some svn oddness, I'm now moving to a new setup for the tests, that'sMike Buland
very much like the original one, but now using build. You will need the latest build in order to build the tests.