aboutsummaryrefslogtreecommitdiff
path: root/src/file.cpp (follow)
AgeCommit message (Collapse)Author
2008-10-02Updated on my laptop and discovered that the new, more pedantic gcc had aMike Buland
problem with a missing include. Also, if you get errors about conflicts and things being declared twice, then "rm src/exceptions.o" it shouldn't be sneaking in there still, but it may be. then do a full "build -c all" and build. Oh, also found some solid gold taf code that never got included, but is very much needed. Remembering to commit would be useful...
2008-10-01This commit is sure to break things. This should be a very, very minor change.Mike Buland
What changed API-Wise: - I deleted a constructor in Bu::File that shouldn't have been used anyway. - I changed it from using fopen style mode strings to using libbu++ style mode flags. Check the docs for the complete list, but basically instead of "wb" you do Bu::File::Write, and so on, you can or any of the libbu++ flags together. There is no binary/text mode, it just writes whatever you tell it to verbatim (binary mode). Lots of extras are supported. Nothing else should have changed (except now the file stream is unbuffered, like all the other streams). Sorry if this breaks anything, if it's too annoying, use the last revision for a while longer.
2008-10-01Ok, NIDS is getting better and better, and I went ahead and cleaned up someMike Buland
exception related code that's been annoying me. You should no longer have to include any exception header explicitly for normal operations, every class that has it's own exception to throw defines it in it's own headers. This may break some code that uses libbu++, but it's an easy fix, just delete the include for exceptions.h. Sometime soon I would also like to move from Bu::ExceptionBase to Bu::Exception, but that will affect a lot more code than this change did.
2008-09-26david - got it compiling for windows again: made Bu::File::setBlocking a ↵David
stub. We are going to need some windows api stuff to do that...
2008-09-24Wholly crap. Added the Fifo, fixed a bunch of bugs, made things more standard,Mike Buland
now I have a huge list of new functions to add. Also, we discovered that if we add -W it produces more warnings, warnings about things that we'd like to know about. I have a lot of work to go fixing that...
2008-02-07Just updated the copyright date.Mike Buland
2007-11-15Added liscense info at the front of many, many files. Debating the old files.Mike Buland
2007-07-25I took the cheap way out and added the filename to the exceptions generated byMike Buland
the file class. This is probably a good idea anyway, but it feels like a silly fix to another problem.
2007-06-19david - got some things compiling on win32 (wine/devc++)David
2007-06-18Added the protocol class. servers work, but don't send data, updated the streamsMike Buland
to include many more state indicators and caps queries, and everything is working better in general.
2007-06-12Moved out the xml system again. I think that if I am going to do it again,Mike Buland
I'm going to do it over from scratch, that was just painful. Also, started in again on the server system, it's looking pretty good, already got connections working, next up is managing data flow through clients and protocols!
2007-06-10Bunch of maintenence type things. Minor tweaks and the like. The file classMike Buland
has a lot more helper functions and the like, the filters give more info back to the caller, minor updates to taf.
2007-05-17Lots of cool new stuff, the Server class actually works for everything exceptMike Buland
actually interacting with clients, and the Client class is almost there, except that it doesn't really do anything yet.
2007-04-10I did it, the streams don't start with an S now.Mike Buland
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-27Added the beginings of the new stream system.Mike Buland