summaryrefslogtreecommitdiff
path: root/src/tafreader.cpp (follow)
AgeCommit message (Collapse)Author
2011-01-20Bu::FString is now String, and there's a shell script to fix any other programsMike Buland
that were using fstring, I hope.
2010-05-26Fixed most of the compilation warnings, and a valgrind warning in the fstring'sMike Buland
remove function. memcpy can't do overlapping memory, changed it to use memmove.
2010-02-13Added and updated the license info in all the source files, they still saidMike Buland
copyright 2007-2008.
2009-10-16Although this looks like a load of code changes, this represents no functionalMike Buland
change to the Taf system. Really all that's happened is I've broken out the core taf data types into seperate files, and gone ahead and created a helpful new header file ("taf.h") that will include the entire taf system, including the reader and writer for you. This means that a lot of programs will start complaining, but fortunately, there's an easy solution, if it complains about taf, make sure to include taf.h at the top, instead of other taf files and you'll be set. The next set of changes will add lots of helpers to the taf system and change the reader to read non-const structures, i.e. I'll actually add editing support to created taf structures.
2009-07-31I switched the Bu::Stream::isEOS function to be named Bu::Stream::isEos, andMike Buland
also made sure the copyright is at the top of all the files, it's been too long. Anyway, this may effect some code, but not much, and it's an easy enough fix.
2009-01-27Hey, I think that'll fix some things valgrind was bitching about. ApparentlyMike Buland
BitString is...not so good...I may have to rewrite big chunks.
2008-12-29Corrected the premature end of stream read corner case in Taf...it was freakingMike Buland
out and allocating all memory, now it just throws an exception.
2008-12-10Whoah, got rid of maaajor debuging goo.Mike Buland
2008-12-10Fixed a couple of minor Bu::TafReader bugs. It wasn't parsing the colons, andMike Buland
it was off two characters on the first line for error reporting.
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-04-28Apparently there were a number of things that weren't strict ISO C++, the newMike Buland
version of gcc complained about them, none of these changes will break backward compatibility, so I fixed them. I added more docs too, it seems.
2008-04-14The Bu::TafReader parser now knows about \\, \t, and \n escape sequences. TheMike Buland
writer also knows about \\, but will not insert \t or \n for now. It just uses a tab and newline for those.
2008-02-13Oh, why the hell not? I just added the line/col readout to all the TafReaderMike Buland
exceptions.
2008-02-13There may be some slightly better error reporting in TafReader now...Mike Buland
2008-02-07Just updated the copyright date.Mike Buland
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-15Added liscense info at the front of many, many files. Debating the old files.Mike Buland
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-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-08-26Corrected a bug in the Bu::TafReader, it was getting confused when a stray colonMike Buland
(common in web addresses) was put in the middle of a property list, now it doesn't get confused, it just complains bitterly and refuses to work.
2007-06-27The taf system is new and improved. The writer works, we added C++ styleMike Buland
comment blocks, and it retains the order of all nodes.
2007-06-07Except for an excessive amount of debug info, I finally got the delete codeMike Buland
working. Now you can load Taf structures and clean up, you just can't access all of the data inside 100%.
2007-06-06Dunno, really, apparently I changed the reader.Mike Buland
2007-06-06The TafReader is more general and much nicer, and about to actually constructMike Buland
nodes, that part will be exciting. I also fixed some stuff and added some new functions to List, it now has first() and last() which work just like std::list front() and back(), I may add compatibility functions later...
2007-06-06Except for storing the data somewhere, the TafReader is more or less done.Mike Buland
Some more generalizations are in order, then we'll stuff the data somewhere.
2007-06-06Moved Taf back into core.Mike Buland
2007-05-09Just a few things re-arranged, moved the new taf/xml systems to the inprogressMike Buland
directory, and moved the old xml system in, so it will require heavy changes.
2007-05-09Minor changes to both the taf and xml readers. I'm thinking I'm going toMike Buland
archive these for now and resurect/fix the old xml reader, just to have something working.
2007-05-08Now they all read "taf" not "tsf" :)Mike Buland