aboutsummaryrefslogtreecommitdiff
path: root/src/tools (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.
2011-01-10Merged in the core branch. This is a major update that fixes many things, andMike Buland
changes many others, including source files that were deleted and renamed. Before doing this update, I reccomend a full clean, or even a fresh checkout. Things to note, most outstanding about this update: - Bu::Socket was changed to Bu::TcpSocket and the default mode is blocking. - All templatized container classes are SharedCore now, which is good, but SharedCore is inherently non-reentrant safe. However, all SharedCore classes have a "clone" function that return a non-shared copy of the object, safe for passing into a reentrant safe function accessing shared memory.
2010-11-19MyriadFs is starting out...but the FUSE system is...akward at best.Mike Buland
2010-11-10Added a couple more debugging functions to Bu::Myriad, and exposed them in theMike Buland
cli tool.
2010-10-27Interesting tweak to the variant and optparser classes. In the Variant, itMike Buland
would always fail if a const char * was passed in, it now converts these silently to Bu::FStrings, good to know... Also, the OptParser now uses a Variant for overrides, meaning it doesn't have to do extra parsing, and the amount of code you have to write may be significantly reduced. Pretty sweet, overall. There is one downside. For the moment if you use a non-standard type or object as the target of a parameter it always needs to have a formatter >> operator defined, even if you override and the formatter >> operator is never called. Hopefully we can get around this in the future. Also, it looks like it should be relatively trivial to create conversion functions for the variant, they'll just be global template functions that take two parameters, source type and target type. Should be good times.
2010-10-18Several of these new files will go away, but I didn't want to lose them for now.Mike Buland
The parser works! The parser compiler works! It makes parsers! Now we just have to implement post processing, token lookup tables, and storage.
2010-10-17Hey! The parser parses now! It's actually a little stupid, I didn't implementMike Buland
lookahead or precedence, but I should be able to do that easily with the next version. I'm treating this more as a proof of concept than a real working model. Although it can handle +, -, (), and = :)
2010-10-12It's getting close. I'm not 100% sure abouth this method yet...Mike Buland
2010-10-12Ok, libbu++ compiles again, the basic parser system is getting there, I think,Mike Buland
it's still a little tricky becasue you have to do the non-terminal prime seperation yourself (I forget what it's really called), but it's going quite well. After a few tweaks to the core of it, we should be able to do some math :)
2010-10-12This commit has a minor tweak to the variant class to make it easier to use,Mike Buland
and introduces the parser and lexer classes. I also made a test for parser and put it in the tools directory. That is silly, it shouldn't be. However, it's necesarry right now, because I don't want to do a full build to compile all the parser tests. However, this commit doesn't actually build yet. It will soon, I just wanted to get it all committed.
2010-08-02ViewCSV search is now regex based :)Mike Buland
2010-06-23find works.Mike Buland
2010-06-23Minor visual and usability updates. Search is almost done.Mike Buland
2010-06-21Little tweaks to the viewcsv program. I think I want to at least add a searchMike Buland
feature. Then I'm probably good.
2010-06-21The basic viewcsv program works, it uses ncurses to display a csv file in aMike Buland
tabular way, like a spreadsheet, only raw. It displays exactly what libbu++ reads from the csv file.
2010-06-21Working on a small program to view CSV files using libbu++'s codecs, not onlyMike Buland
will it be a more exact display, but it will let us see exactly what libbu++ thinks the CSV should look like.
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-05-26More tweaks and informational functions.Mike Buland
2010-05-25More myriad testing, fixes, arrangement, etc. UnitSuite add-ons, it has someMike Buland
command line parameters now, I would like to also add an automatic paramter that would switch it to a computer-readable output mode for use in a larger testing framework.
2010-05-24Myriad unit test. Seems like it's workin' well.Mike Buland
2010-05-15mkunit.sh was a little dumb, it didn't handle a number of things correctly.Mike Buland
I've written a new program that basically does the same thing, only it's much more clever, and does many more of the translations and conversions better, including the #line directives. Also, I dropped nids, we don't need it anymore. But now I'm ready to write some serious tests for myriad.
2010-04-12Wow Myriad!!Mike Buland
Myriad seems to work. I have to run it through a few more paces, and there are some known corner cases that I may just disallow, such as too-small block sizes. Beyond a little more testing, it's ready for production. I may switch some of my cache tests to using it now.
2010-04-12Myriad is getting pretty close, just have to finish the writing code andMike Buland
probably tweak the header init.
2010-03-31Removed the bool cast operator from FBasicString. It turns out it was causingMike Buland
way, way, way more problems than it solved. A number of libbu++ tests were inacurate because of it, there were problems in several other programs, and there may be more that have problems we haven't found yet because of this. This will most likely cause complitaion errors, especially in places we didn't expect, where strings were being stored into or passed as integers and the like. In cases where you were just testing a string, just call the "isSet()" function, which is functionally equivellent to the old bool cast operator.
2010-02-13Added and updated the license info in all the source files, they still saidMike Buland
copyright 2007-2008.
2010-02-10Changed the name of nids to Myriad, I like it, but I'm not getting rid of nidsMike Buland
until I can safely migrate to Myriad.
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-04-06Ok, I rearranged some things, we have a tools dir now, those build by default.Mike Buland
Also I added a bunch of classes that I've been tinkering with that are almost ready for use, so I figured I may as well throw them in here.