aboutsummaryrefslogtreecommitdiff
path: root/src/streamstack.h (unfollow)
AgeCommit message (Collapse)Author
2012-02-08libz for windows, deflate builds now for mingw.Mike Buland
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-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
2011-08-15You can setgid now too.Mike Buland
2011-08-15Process now supports setuid for the child process. Really cool.Mike Buland
2011-07-29Just a test commitMike Buland
2011-07-27More features for uuids, including hashing and comparison.Mike Buland
2011-07-25Some tweaks to the uuid class to make it easier to work with, next for it isMike Buland
probably going to be archiver operators.
2011-07-25In theory, after constructing a TcpSocket object, you can now take theMike Buland
operating system socket handle away and use it yourself, after doing so, the TcpSocket will not close the socket when it exits, or be able to effect it ever again.
2011-07-20Oh wow, floats didn't have signs. Scary.Mike Buland
2011-07-17More variant unit tests, signed and unsigned chars are no formatted as numbers,Mike Buland
while chars are formatted as characters.
2011-07-13Trying to hunt down bug in variant code.Mike Buland
2011-06-22Tweaked the signals, they're more adaptable now.Mike Buland
2011-06-22Alright, now libbu++ builds clean and cleans clean too :)Mike Buland
2011-06-22Signals.h is now autogenerated by build. In distribution packages we shouldMike Buland
probably include a copy of the final version just for good measure.
2011-06-22gensigs actually works, I'm going to try replacing the old signal code withMike Buland
generated signal code. After that, I can actually make changes to the signal code.
2011-06-20Minor tweak, NULL is defined in extratypes.h as per C++ regs if it's notMike Buland
already defined.
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.
2011-06-08Hopefully nobody was using the buffer size parameter, if so, it's moved.Mike Buland
Buffer now takes an extra parameter: what to buffer, read, write, or both. This winds up being important when dealing with blocking sockets and the like.