aboutsummaryrefslogtreecommitdiff
path: root/src/tests (follow)
AgeCommit message (Collapse)Author
2017-08-23Fixed string constructor.Mike Buland
2017-06-06Updated .gitignore, included terrible json test.Mike Buland
2015-08-16Couldn't print out the minimum value for any given signed integer. I fixed theMike Buland
code, but I have a feeling the fix could be much better. I'll look into it later on.
2014-08-12Minor tweak to the read/write mutex test.Mike Buland
2014-07-22Deferred erase now works on cache entries. You can erase a cache entry whileMike Buland
it still has active references, and it will be safely cleaned up when the last reference is released.
2014-02-03Changed copyright to 2007-2014.Mike Buland
2014-01-22Updated the cache system. It now ensures that objects are initialized withMike Buland
cache information before they are deserialized from storage. This changed the signature of the cache loading template function, but the new function isn't harder to use, and provides the key information as well.
2013-07-18Fixed caching changed issue. The cache now marks objects as unchanged for youMike Buland
after they are saved. It needs some more testing, but the theory is sound.
2013-07-03Modified the Bu::CacheBase API, what was erase is eraseNow, and erase is aboutMike Buland
to be re-engineered to actually do a lazy erase like removing an iNode in a posix filesystem. While the file remains open it exists, but the references visible to the user on disk are gone.
2013-03-18Corrected compliation issue in the new cache with older GCC versions.Mike Buland
2013-03-17The new cache system has been broken out into it's individual headers, and isMike Buland
now ready for actual use.
2013-03-17The new cache system is tested and ready, it just needs to be put in it's place.Mike Buland
The old cache system will be going away now, so if you need it for anything, grab a version before this commit. Oh, also, happy 1,000th commit!
2013-03-13Added bind/unbind to the Cache system. Fixed typo in docs of heap.Mike Buland
2013-03-13The new caching system is almost there. It's more elaborate internally, andMike Buland
it works very, very differently, but the interface is proving much easier to use and it should be much faster, not to mention thread-safe.
2013-03-12Bu::Uuid now supports being formatted, it uses the standard toString() method.Mike Buland
The new cache is really coming along now.
2013-03-12Mostly planning changes, nothing real functional but I want to commit and changeMike Buland
computers.
2013-02-26Added auto-lock classes to the Bu::ReadWriteMutex, I think I like that type ofMike Buland
encapsulation, at least for the read/write guy. Also started work on a thread-safe wrapper for the standard hash. There is a lot of functionality we just have to leave out in this, it's just too dangerous in a thread-safe class.
2013-02-25Really minor addition to the new cache system. I think I will split it intoMike Buland
two classes, one for the store, one for the cache itself. The index will have to go with the store, which I find a little odd, but it'll...probably work out.
2013-02-23Just made all tests include libpthread, it makes sense these days.Mike Buland
Creating an experimental new cache system that's controlled primarily with a subclass. This should cut down significantly on the amount of code needed to use the cache. The new one also features a required (for now) base class for objects that use the cache. This simplifies so many different things.
2013-02-22The test for Bu::ReadWriteMutex is better and there is more documentation now.Mike Buland
2013-02-21Forgot the copyright notice.Mike Buland
2013-02-21Added the Bu::ReadWriteMutex, which is super awesome. Also made theMike Buland
Bu::RandomBase::rand functions visible in the Bu::RandomCmwc class.
2013-02-18Added super-experimental proof-of-concept for SignalCall and DeferredSignalMike Buland
2013-02-11Updated the copyright for 2013.Mike Buland
2012-12-21Signals (slots really) are now comperable. Building two slots for the sameMike Buland
function or same object and method will compare as expected. Also added a -= function to Bu::List which works just like erase.
2012-12-20gensigs.bld now generates SignalList classes in addition to Signal classes.Mike Buland
They're pretty nifty.
2012-12-19Added an initial test for the SignalList concept. I think it's actually justMike Buland
about done. List may want some extras to make it really nice, but that's immaterial to the signal code, I think it's about time to write generators. I have an idea for optomizing the return value code too, I'll try that out.
2012-11-09Added Mersenne Twister random number generator.Mike Buland
2012-11-09Added seed parameter to constructor of two PRNGs. Also fixed horrible mistakeMike Buland
in RandomBasic.
2012-11-05Converted tabs to spaces with tabconv.Mike Buland
2012-09-10Changed Fmt to use lower case by default and added more helpers.Mike Buland
2012-09-05Formatters can now be cast as Streams, or you can get the Stream out manually.Mike Buland
2012-09-05Bu::StdStream can be set to print to stderror now, and sio.h now declares serrMike Buland
and serrRaw. Also, they are now StreamStacks, which means you can change what type of stream they read/write to, and also add filters.
2012-09-05This'll make *everything* rebuild. String formatters now support the end()Mike Buland
call, which will force substitution and return a string. They now also support ending actions, which let us do great stuff like printing stuff out after formatting finished...and other stuff.
2012-08-24Taf isn't really...the best backend for this now, I need some more fixes thereMike Buland
first, so next up we need the windows registry backend.
2012-08-24Adding new Bu::Settings system, which works more or less like QSettings from Qt,Mike Buland
only...without qt. It's the first real system in libbu++ that is going to be all unicode, which is exciting, but I'm having to actually finish the Bu::UtfString class while I work on it. Also exciting.
2012-07-18Bu::SynchroQueue had a bug, it seems to be all fixed now.Mike Buland
2012-06-15Bu::Myriad now only uses BitString during initialization, and I'm going toMike Buland
replace that with just an array, no problem. It's many, many, many times faster while streams are growing, and it should be constant time, not linear like it was before. It also handles myriad files in excess of 2gb correctly now, at least, it seems to just fine :)
2012-05-22Better win_o ignores. The random number system is pretty much together.Mike Buland
We need a few extra helper functions to cover some other good things, like normalized floating point numbers, etc.
2012-05-04Minor changes, mostly comments.Mike Buland
2012-05-03The cipher base class does nice buffering now based on the blocksize. ThisMike Buland
means that you can write odd numbers of bytes or read odd numbers of bytes from/to the ciphers and it'll just buffer until it gets a full block. Next up is adding padding support. Right now it doesn't flush the buffers with padding if you don't fill the last block. For that matter, it doesn't do any padding at all.
2012-05-03Rearranging some stuff.Mike Buland
2012-04-15Updated copyright, packaging, makefile, etc.Mike Buland
2012-04-10Rearranged the Cipher system, and added four modes of operation. It's prettyMike Buland
slick, really, and we actually support four of the most common modes. Blowfish is still a template, but it doesn't really need to be anymore...
2012-04-09Blowfish works in it's new split form, which will make it much easier to addMike Buland
other types of ciphers down the road, should we choose to.
2012-04-06The documentation includes the source again :-PMike Buland
2011-10-27Reorg'd! I merged in the release-fixup branch and fixed all random warnings.Mike Buland
I also cleaned up the build script, the symlink generation is faster and looks nicer, there's one think left to fix there, but it's not too bad.
2011-10-24Lzma filter added. Now we're really getting somewhere. Libbu++ now supportsMike Buland
all major, common compression algorithms.
2011-10-23Switched ito* to synchro*, except the server, I'm thinking of takeing the coreMike Buland
in a different direction anyway. Added the Deflate class, it uses zlib, and can do raw (headerless) deflate streams, zlib format, or gzip format. It's easy to use and quite versitile.
2011-06-14With any luck, that'll fix the cross-compiling trace code. Now we just need toMike Buland
hope that the formatter code is not going to have the same problem.