aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2012-05-16Lzma was still printing debugging on "inflate".Mike Buland
2012-05-10Amazing this made it through for so long, but destroying a Bu::Buffer in writeMike Buland
mode didn't flush it's buffers.
2012-05-07Fixed the CMWC random number generator, it compiles now.Mike Buland
2012-05-04Two basic random number generators, Cmwc is supposed to be a pretty good one.Mike Buland
I need to get the base class and singleton interface in place.
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-17Fixed bug in bzip2 double-stop.Mike Buland
2012-04-15Updated copyright, packaging, makefile, etc.Mike Buland
2012-04-14Added support for running subsets of unit tests to Bu::UnitSuite, now just listMike Buland
the names of the tests you want to run on the command line. Also, fixed some minor issues in two of the test suites.
2012-04-14The core of myriad is now thread-safe. It could use a little work on multipleMike Buland
streams accessing the same blocks at the same time. Right now it's safe, but a little strange, since both streams work from seperate buffers. Maybe that's ok, but it still needs some more investigation. I want to remove the BitString stuff entirely, it turns out it's the slowest part, which, upon actually looking at the code is completely obvious. This change shouldn't change the API at all, just make adding blocks to streams much, much faster.
2012-04-13Myriad is actually fine, I double checked it for cross-platformed-ness. ItMike Buland
doesn't yet normalize the endian-ness, and I guess at this point to maintain compatibility I'll have to make it a little endian format. I would still like to add better thread-safety to it, but that's about it.
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-09Halfway through crypto-template conversion.Mike Buland
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-07Blowfish now passes all standard test vectors on little endian. I don't knowMike Buland
about big endian...we can hope.
2012-04-07Basic blowfish encryption filter. It needs to be silghtly more clever. I'mMike Buland
going to steal the extra cleverness from the AesFilter in fishtrax.
2012-04-06The documentation includes the source again :-PMike Buland
2012-04-06Threads can tell you their own ids now, and they can also report that theyMike Buland
failed to start.
2012-04-06Supports ThreadIds now, you can also get the thread id of any thread, andMike Buland
compare ThreadId objects.
2012-04-03Process doesn't include win32.h now.Mike Buland
2012-04-03Process works...sorta...in windows.Mike Buland
2012-03-25Code is all reorganized. We're about ready to release. I should write up aMike Buland
little explenation of the arrangement.
2012-02-25Fixed 32/64 bit issue in UdpSocket.Mike Buland
2012-02-16Bu::SPtr has a clear function now, and also the function count() didn't matchMike Buland
the rest of the API, now it's getRefCount()
2012-02-16Added MemBuf docs and a new readAll function to the base stream class.Mike Buland
More helpers never really hurt.
2012-02-09May as well involve all the filters. No point in including lzma until we canMike Buland
link it in in windows though.
2012-02-09Added StaticMemBuf and used it in bin2cpp. You can also set the name of theMike Buland
class that bin2cpp generates for you.
2012-02-09bin2cpp added. It's nearly done. I want to add a StaticMemBuf class toMike Buland
libbu++ and then use that to minimize memory usage in the bin2cpp generated classes. That should go really quickly.
2012-01-19Fixed 32/64 bit issueMike Buland
2012-01-17Added some extras to the array class...it's kind of lagging behind the others.Mike Buland
2011-12-29Fixed a bug in the formatter, it was displaying numbers with trailing zerosMike Buland
without the trailing zeros.
2011-11-14A fix in Bu::Process. It was killing the pipes before their time.Mike Buland
2011-10-29zlib can't really handle empty buffers, so we don't pass empty buffers to itMike Buland
now, even if the function parameters indicate that.
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-27Added simple hex encoder/decoder filter.Mike Buland
2011-10-26Virtual deconstructor!Mike Buland
2011-10-25Base64 does line wrapping correctly on write, and also doesn't try to flush theMike Buland
write buffer when reading is done. It's...strange, but yeah, it was doing that. Deflate also defaults to zlib compression now, which means you can compress & decompress without using any extra params. Turns out zlib auto-detect won't decompress raw streams, so this is the safest overall option, and the easiest to work with. zlib headers are small, and includes a crc at the end so you can be sure your data is accurate, raw does not.
2011-10-25Fixed bug in base64 decoding. If an attempt is made to read data after the endMike Buland
of the stream has been reached, and the input didn't end with '=' chars then it would return the final buffer an extra time before ending. Now it ends when it should, no matter how many extra times you try to read.
2011-10-25Bu::print and Bu::println are added, they just take a string, but you can useMike Buland
string formatting no problem. I'll add some that can take unicode strings too.
2011-10-24Added some more docs.Mike Buland
2011-10-24Made the encoder state opaque to the caller in Deflate and BZip2 to match Lzma.Mike Buland
That means that when you use Bu::Deflate, Bu::Bzip2, or Bu::Lzma you don't get any of the respective libraries' header files.
2011-10-24Lzma filter added. Now we're really getting somewhere. Libbu++ now supportsMike Buland
all major, common compression algorithms.
2011-10-23The strfilter.h header has been added, it gives you one call filter access onMike Buland
strings. encodeStr<Filter>( str ) and decodeStr<Filter>( str ). It's pretty cool, try it out :)
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-10-06Renamed most of the core threading system, some ancillary systems need someMike Buland
kind of prefix or something, we could stick with Ito, I will until I think of something else.
2011-10-06Fixed the formatting of unsigned chars in the formatter, and added a function toMike Buland
actually stop the fastcgi main loop.
2011-09-24Fixed a 32/64 bit bug in the hash tables.Mike Buland
2011-09-16More helper functions for Bu::Process.Mike Buland
2011-08-25Bu::ItoLocker is rather handy, I like it. I reccomend it.Mike Buland