aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2010-11-24david - some mix of qt or mingw or something has a min and max macro that ↵David
conflict with this file... #undefed them for now, figure out better solution later
2010-11-19MyriadFs is starting out...but the FUSE system is...akward at best.Mike Buland
2010-11-19Wow, I can't believe I forgot to add myriadfs.Mike Buland
2010-11-19I now think that this may not work out at all. It looks like if we want properMike Buland
Unicode handling we'll need to implement a series of codecs and converters as well as tables of codepages and lookups. It'll be interesting, I guess, but it makes me care a lot less about proper encoding. Anyway, UtfString uses shorts instead of chars, so it's a step in the right direction, but still not enough to be able to handle proper UTF-16 encoding, maybe UCS-2 encoding, but... ...that's lame. Bu::FBasicString has been generalized a bit with optimizations from libc for char based strings. It also, unfortunately, still uses char-only functions in several places, those all rely on char casting strings at the moment just to get the thing to compile. Basically, it's not a good UTF-16 solution yet, and it may never be and remain compatible with char based strings.
2010-11-10Added a couple more debugging functions to Bu::Myriad, and exposed them in theMike Buland
cli tool.
2010-11-04FString tests, the new one causes a segfault with the old fstring.Mike Buland
2010-10-29Minor change, I discovered where it was getting stuck all this time. If theMike Buland
underlying stream hits the end before the end of the bzip2 stream then it just reads forever...that's lame. Now it throws an exception.
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-20Hopefully this fixes some really out there fstring corner casese.Mike Buland
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-16Many, many changes. Documentation changes, renamed the socket class toMike Buland
TcpSocket, fixed many other things, and finally removed ParamProc. Anything that needs it will now have to switch to OptParser.
2010-10-15RingBuffer is now SharedCore. I think that's all the container classes, thereMike Buland
may be a few other things that should change too, we'll see. Played with doxygen docs on List, we can actually use @cond to remove things from the docs, either permenently or conditionally, and so I could trick it into making all of the sharedcore classes inherit from the same SharedCore in the docs instead of different ones. Or, just not inherit from SharedCore at all. What to do...? :-P I also got rid of ListHash, it wasn't working out yet anyway.
2010-10-14SharedCore has more features now, which is cool, including a test to see ifMike Buland
another object of the parent type has the same core, and another to clone the parent object. That one is pretty cool, it means you can now get a real copy when you want to, great for multi-threaded stuff. Also, two more classes are now SharedCore: Hash and Heap!
2010-10-14A quick unit test for the copy constructor in variant.Mike Buland
2010-10-14Minor tweaks to myriad.Mike Buland
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-10-06Changed the Bu::Heap to allow iteration, and added lots of cool features toMike Buland
Bu::MiniCron.
2010-09-24Bu::StreamStack had a stupidly named function.Mike Buland
2010-09-14Quite exciting, really. That lurking myriad bug has been found, it was notMike Buland
forcing a header update when a stream changed size, but did not require additional blocks to be linked in. Kind of strange, but it's fixed now. A little more testing and I think it'll be ready.
2010-09-14We should have no more problems with Bu::Client, I finished cleaning it up,Mike Buland
implementing remaining empty functions.
2010-09-13Accidental overload of a required function in the client code.Mike Buland
2010-09-03Looks like the bug I was seeing in myriad wasn't in myriad. It was in theMike Buland
Bu::CacheStoreMyriad system, it had some minor issues dealing with the index blocks. Should be fixed up now.
2010-08-22Bu::StreamStack works, it's tested, reasonably, it will be used first in theMike Buland
gats project in Gats::ProtocolGats.
2010-08-21Client now inherits from stream. This could be cool, it could really ↵Mike Buland
mess\nthings up. We shall see. In other news, I'm adding a Bu::StreamStack class\nthat will let you easily manage dynamic stream/filter sets.
2010-08-04Alright, NullStream compiles and works.Mike Buland
2010-08-04Fixed some minor compilation warnings in some tests, and started addingMike Buland
NullStream. This version doesn't compile yet, but will soon. You can back off a revision or just delet nullstream for now.
2010-08-02ViewCSV search is now regex based :)Mike Buland
2010-07-30A few fixes and stuff in the Variant.Mike Buland
2010-07-26Minor helper functions added.Mike Buland
2010-07-09Bu::Base64 needed it's own isEos() function.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-06-21Both Bu::Variant and Bu::MiniCron failed to cleanup behind themselves in someMike Buland
cases. This has been fixed.
2010-06-21Fixed a bug in Bu::Buffer that resulted from a false negative on isEos if theMike Buland
underlying stream was empty.
2010-06-14Fixed a minor memory leak in the server. It makes a difference on popularMike Buland
servers that run for weeks or more.
2010-06-09Wow, part of array was mislinked in the SharedCore conversion and never fixed.Mike Buland
2010-06-03Heh...myriad files had the same magic key as nids files...oops. Well, myriadMike Buland
isn't production yet, and nids wasn't in widespread use, so this should be ok to change.
2010-05-29Go figure, I went and wrote some docs.Mike Buland
2010-05-28More myriad testing and unit test features, not unit tests that may take aMike Buland
while are welcome to provide progress info with some builtin functions. The Bu::Archive class now throws an exception if reading is interrupted by EOS
2010-05-26Oooh, another minor myriad fix, it's getting solid now. :)Mike Buland
2010-05-26The cache storage backend for myriad is fixed up to be used.Mike Buland
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.