aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-11Interum commit, fixing the bu directory.Mike Buland
2007-12-06More process fixups.Mike Buland
2007-12-04Minor update to Bu::FString, it now always returns a valid C style string whenMike Buland
asked for the string, no null pointers anymore.
2007-12-03Just added the MiniMacro test, it could actually be a unit test without a lot ofMike Buland
effort.
2007-12-03Hey, Bu::MiniMacro works, that's a funny name. There's still some more to add,Mike Buland
but it does everything I need it to at the moment.
2007-12-03Fixed the broken Bu::TafReader, it was stopping the parse after the first '}',Mike Buland
not the last...
2007-11-30Fixed the overshoot in the Bu::TafReader, it was reading the lookahead characterMike Buland
from the stream even when it should have known it was at the end, and then it was reading an extra character after that anyway :-P It is now fixed, and the stream is positioned at the character immediately after the closing } of the root taf group, great for things like the svtools.
2007-11-30Added some helpers to fstring, and fixed a bug in Bu::Process, it wasn't closingMike Buland
the pipes properly, resulting in the child process going defunct and not dying, it also wasn't buffering properly, it now collects as much data as it can before returning from a read operation.
2007-11-24Alright, *now* remove works.Mike Buland
2007-11-23Ok, that was a strange bug...Mike Buland
2007-11-23Bu::FString now has insert and remove functions, yay!Mike Buland
2007-11-23Added the Process stream class, this will allow us to do some really cool stuffMike Buland
coming up...it's just like popen only cool and managed, and streamey.
2007-11-19Added the Bu::StdStream Stream class, it's just a wrapper for writing to,Mike Buland
reading from standard output/input.
2007-11-15Final changes moving to the actually liscense-ified version, plus I fixed aMike Buland
compile error I introduced last commit.
2007-11-15Added liscense info at the front of many, many files. Debating the old files.Mike Buland
2007-11-15david - adding license tag to the top of all header filesDavid
2007-11-15david - example of license notice in hash.hDavid
2007-11-15Added the liscense.Mike Buland
2007-11-14Fixed a bug in Bu::Hash::clear(), it wasn't actually changing the number ofMike Buland
deleted items, so the size was being misreported immediately after a clear.
2007-11-14Thought that a Bu::Hash::getValues() function would be nice to matchMike Buland
Bu::Hash::getKeys().
2007-11-09Figured I might as well add single-line comments to taf, it now supports //Mike Buland
style comments.
2007-11-09Fixed a silly bug in the taf system that interpreted the */ at the end of aMike Buland
comment block as a tag...oops.
2007-11-08Bu::FString now has the functions format, formatAppend, and formatPrepend, allMike Buland
of which use printf style formatting and accept the same parameters as printf.
2007-11-07Changed the way the Taf data is interpreted, anonymous properties now have noMike Buland
name, but have a value, I did it the other way last time, and they were hard to find. I think I fixed the writer to work right too, but I haven't checked it yet.
2007-11-01Just made some functions that are usable const labeled const so you can use themMike Buland
in const objects :-P
2007-10-24Tried to get archive operators to recognize pointers, no luck so far.Mike Buland
2007-10-24Corrected a few issues that cropped up when using the Bu::Socket without aMike Buland
Client for buffering. The Bu::Client has also been made a little more reliable. The logger should get a few more tweaks, but it works fine for now, the hex dump could stand another tweak or two.
2007-10-22Made Exceptions copy well...I thought I'd already done this once...Mike Buland
2007-10-21Updated, it uses Bu::FString for it's strings now, much nicer.Mike Buland
2007-10-20Made the logger use a uint32_t for it's mask, no more negative confusion. AlsoMike Buland
brought back the formula class with some cool twists, and added a basic stack class, very cute, fast, and little.
2007-10-20Just marked Bu::FString::c_str as deprecated, don't use it, it'll go away later.Mike Buland
2007-10-19As long as the Bu::Hash::iterator was aware that it was finished or not, IMike Buland
thought I would write an accessor for that. Also, I added a public copy constructor, it only makes sense.
2007-10-15Accidently committed a version of Bu::ProtocolTelnet that had overly excessiveMike Buland
debugging. That's been fixed.
2007-10-15Minor changes, ProtcolTelnet now intellegently converts lone CR characters inMike Buland
the outgoing stream into CRLF sequences. Eventually there should be an option to convert these to CR NUL sequences as well (lone CRs are not allowed).
2007-10-14Fixed an interesting ideosyncacy in Bu::Hash in a safe way, I should try to doMike Buland
this with the Bu::Archive next. Basically, there's one generic template function that will convert anything that can safely cast to a uint32_t and that supports direct comparisson, and doesn't have it's own override already to be a Hash key, such as char, uint8_t, uint64_t, etc. The Telnet protocol handler does everything I need it too for now, next up for it is escape sequence handling, it would be nice to make this general too, by using the termcap database or something, but there is an ANSI/ISO standard now, I may just go ahead and use that. Also, it looks like it'd be pretty easy to make the canonical mode editing functions be pluggable to facilitate different types of editing, but that can be done down the road as well.
2007-10-14Added a temlatized Queue skeleton class, but I really didn't feel like writingMike Buland
it just now. The Queue class has some obvious advantages over list if you really only need Queue functionality, the main one being size, but also you can get a slight speed advantage.
2007-10-14Beginings of a Telnet Protocol handler, I finally solved the general OptionMike Buland
negotiation issues that plagued the earlier version, now I just have to actually process data.
2007-10-08Fixed a bug in the Socket that would throw an exception if there was just tooMike Buland
much data in thou outgoing buffer on a write and you need to wait. Instead the write operation returns zero right now if that happens. It should be the only case that it returns zero in when there are bytes to be written and an exception is not triggered.
2007-10-08More updates, I'll doc them later, http works, client is less picky.Mike Buland
2007-10-08Modified the NFA to allow for keep-alive, that made everything seem to work muchMike Buland
better. I'll have to check to make sure the rest of the system is still working well, but so far it looks like it. Right now it allows pipelining and general keep alive, but it doesn't check the keep-alive variable, it just always does it. While this isn't a bad thing, it does go against the RFCs SHOULDs.
2007-10-08Added some helpers and fixes to Bu::Client, also got all the basics of aMike Buland
general Http handler working, the test for the moment, is Doxysrv, I'll probably write a cute little stand-alone one in libbu++ later as a demo/test.
2007-10-04Same as last time, just be sure to check that all your files have been writtenMike Buland
before you commit :-P
2007-10-04Discovered that the Bu::Client::disconnect() function didn't do anything. ThatMike Buland
has been fixed, it now safely disconnects after emptying the Client's outgoing buffer. Added some more helpers to Bu::FString. Added the beginings of ProtocolHttp using a new method for processing protocols that's based more strongly on an NFA state machine, this makes sense, but I never had the desire to actually try implementing it before. It's working pretty well.
2007-10-03Nothing about function. I added a bunch of docs and re-arranged a bunch ofMike Buland
the existing docs. Taking advantage of some of the cooler extra features of doxygen I've started writing extra how-to pages covering working with sections of the library. Also, I started grouping the classes by function so they show up on the Modules page together, very cute.
2007-10-03Added some fun new features to the TafNode system.Mike Buland
2007-09-26Fixed a bug that allowed Bu::Hash::get() to rehash, this has been corrected, theMike Buland
get function can no longer change the Hash in any way.
2007-09-24Really just changed some of the docs, they were wrapping, I hate that.Mike Buland
2007-09-17Removed a debug line.Mike Buland
2007-09-13Sets now match Hashes better, and can be Archived.Mike Buland
2007-09-11I just added a comment, don't ask...Mike Buland