aboutsummaryrefslogtreecommitdiff
path: root/src/tools (follow)
AgeCommit message (Collapse)Author
2011-03-18Wow, a lot has changed. String is not a template class, and it can do it's ownMike Buland
formatting ala QString.
2011-03-18The inline, printf/qstring style formatting for Bu::String is just about there,Mike Buland
it just needs to be integrated with the Bu::String class itself, pretty exciting.
2011-03-17Tweaks to the variant class make it much cooler, and there's a test/toolMike Buland
called format, it's a proof of concept of a text formatter. I think it's gonna' rock.
2011-03-10Removed the float test, it was silly to have it in libbu++.Mike Buland
2011-03-08sigh, another program that's not realy a tool, it was the easiest place for itMike Buland
I should add a new class of program to libbu++ or clear out most of my old tests or something. Anyway, almost fully C99 compliant float to normalized hex string and back functions in pure math. Really slick, really portable. they don't handle +/-NaN, +/-Inf, or the special alternate format for subnormal numbers, try entering a 0.0...01 where I cut out about 200 zeros, you'll see what I mean.
2011-03-07Just tweaked the myriad tool, it doesn't enumerate the streams in info modeMike Buland
now.
2011-02-20Well, unlink, mkHardLink, setFileSize, and more are freshly implemented, as isMike Buland
rename, but there seems to be a problem, rename uses mkHardLink, and if the target exists, hey, it adds another one...not quite ideal...
2011-02-20Cleaned up a little, and added a bunch more stuff to myriadfs. As far as I canMike Buland
tell, we're missing rename, chown, and chmod.
2011-02-19Myriad does not handle multi-threaded access very well, that needs to beMike Buland
addressed, besides that, only a couple more functions need to be added to myriadfs before it's totally ready to have linux installed on it :-P
2011-02-19MyriadFs is getting good!Mike Buland
2011-02-18Some Uuid tweaks, not much, just figuring out the format. MyriadFs is comingMike Buland
along quite nicely. It looks like it works great for normal programs, but there need to be some tweaks made to a few things before it's working 100% via fuse. Also, the fuse module won't let you specify a file, a little odd.
2011-01-20Wow, got the Stream changes propegated, all tests build with string instead ofMike Buland
fstring, and updated the copyright notice to extend to 2011
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.