aboutsummaryrefslogtreecommitdiff
path: root/src/tests (follow)
AgeCommit message (Collapse)Author
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-02-18Hey, a nifty little test for myriadfs.Mike Buland
2011-01-20Wow! Merged the branch, streams are updated, and there's no more FString, runMike Buland
the fixstrings.sh script in the support directory to (hopefully) automatically update your projects.
2011-01-20UdpSocket is pretty much working. Non-blocking mode isn't, which is odd, butMike Buland
we can figure that out later.
2011-01-20More minor changes to the udpsocket test program.Mike Buland
2011-01-20Minor changes to udpsocket test program.Mike Buland
2011-01-20Ummm...it's a udpsocket, mostly. It seems like it should work, but early testsMike Buland
are failing...
2011-01-20Heh, forgot to rename the two fstring tests.Mike Buland
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.
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-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-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-08-22Bu::StreamStack works, it's tested, reasonably, it will be used first in theMike Buland
gats project in Gats::ProtocolGats.
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-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-05-13QueueBuf is updated, and everything else uses it now, including Client.Mike Buland
Unfortunately this breaks some programs that accessed the client internal buffer directly. Overall it's much, much more efficient, so it's worth it, maybe we'll find a good workaround later.
2010-05-13Added license info to the top of the remaining files. I should add a check forMike Buland
that to the build file or something...
2010-05-12The Bu::Archive class now supports arbitrary, named properties via variants.Mike Buland
2010-05-10Added the new Bu::CacheStoreFiles, it's an uber-simple cache storage system thatMike Buland
maybe would be better to call an example than a fully fledged storage strategy. It just names files based on your keys. It's very slow, and very wasteful, and shouldn't be used long-term in most normal cache systems.
2010-05-10Added the new QueueBuf. It's brilliant, and I've wanted it for a long time.Mike Buland
...I mean brilliant as in cool.
2010-05-04Cache fixes?Mike Buland
2010-05-01Cache fixes.Mike Buland
2010-04-27The Bu::Ito thread class has changed the rules on the run function. It noMike Buland
longer returns anything, that's fine, it's in a class, but it also is protected now. That doesn't really effect child classes much, they can make run public, but I reccomend protected to avoid confusion.
2010-04-23Minor updates to the List class, unchecked corner cases.Mike Buland
The CsvWriter now writes csv. It understands both excel formatting and c-style, which I made up myself (it's just c-style escape sequences). Sha1 is converted to work with the CryptoHash API and it does indeed work.
2010-04-07Corrected a long standing yet seldom witnessed hash bug. It was triggered whenMike Buland
a hashtable was filled, then some items were removed, then enough items were added to trigger a rehash.
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-12Well, it compiles. I think I may make newline inherit from buffer, I dunno...Mike Buland
2010-02-11Started working on a CSV reader, it's pretty much done, the CSV writer is justMike Buland
a shell, but I may finish it soon, and started work on NewLine, a filter that converts newlines in text streams between the different OS standards. Also added some more helper operators to fbasicstring.
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.
2010-01-25The order of key, object in all of the cache related systems has beed fixed,Mike Buland
key just belongs first, that's all there is to it.
2010-01-15Documented more of MiniCron, and added some cool new help features to OptParser.Mike Buland
2010-01-14Created the minicron system. This is a cute little cron like implementationMike Buland
that allows a program to signal slots on a schedule, possibly a dynamic schedule.
2010-01-07Added a new class, RegEx, it does extended regular expressions for now, more toMike Buland
come.
2009-12-21Ok, Process has been updated. You now must specify flags as the first parameterMike Buland
of both constructors, this allows you to control which streams to bind to. To preserve the old behaviour, simply put Bu::Process::StdOut before your old first parameters.
2009-12-18Ok...sweet, the OptParser now supports everything the old one did, but in muchMike Buland
less code, and it does everything with more style and panache, also fewer bugs.
2009-12-18Wow, cool, Bu::Formatter can read all the basic types now, (int, float, bool,Mike Buland
char, etc.) and OptParser totally works. I have one last change to make to it, which is using the return value of signal type options to determine weather or not the option took a parameter at all, especially in the case of short options.
2009-12-18The OptParser still needs help banners and more helper functions, but otherwise,Mike Buland
it's done. It works great, and provides much flexibility and usefulness. It now relies on the input side of the Formatter class, which at the moment supports reading strings...not real useful yet... Next up, adding readers for numbers and such, then it'll be mostly complete. Also, fixed a bug when copying uninitialized signal objects.
2009-12-16Signals is even safer and works even better. Also, OptParser is nearly done.Mike Buland
Now I just have to come up with a way to modify data that you already have, that sure was a nice feature of the old one, even if it was implemented in a silly way.
2009-12-16The new signal/slots system is in place, and works from 0-5 parameters rightMike Buland
now, I'll probably add more later on... I've also started on the replacement for ParamProc, OptParser. It should do everything that ParamProc did, only with less code, and much better.
2009-12-10Process is working much better, it actually follows the guidelines for most ofMike Buland
it's functions now, such as isEos and whotnot, although it won't work in non- blocking mode yet, and I'm still trying to figure out a good way to have it deal with both stdout and stderr.
2009-12-06I corrected a peculiar heap corner case that caused an infinite loop.Mike Buland
2009-11-18Hey, fixed the problems in heap. It should now work properly no matter what theMike Buland
data or order etc.
2009-11-12I've started my campaign to clean up all of the header files in libbu++ as farMike Buland
as includes go. This required a little bit of reworking as far as archive goes, but I've been planning on changing it aronud for a bit anyway. The final result here is that you may need to add some more includes in your own code, libbu++ doesn't include as many random things you didn't ask for anymore, most of these seem to be bu/hash.h, unistd.h, and time.h. Also, any Archive functions and operators should use ArchiveBase when they can instead of Archive, archivebase.h is a much lighterweight include that will be used everywhere in core that it can be, there are a few classes that actually want a specific archiver to be used, they will use it (such as the nids storage class). So far, except for adding header files, nothing has changed in functionality, and no other code changes should be required, although the above mentioned archive changeover is reccomended.
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-09-25New Bu::Variant class. Store anything in it, get it out again, find out it'sMike Buland
type. It's really just that easy. More info, docs, and tweaks to come.
2009-09-10Hey, minor updates to the formatter and a unit test, nothing important.Mike Buland
2009-08-31Added a getDaysInMonth function, it'll live in util.{cpp,h} until I create anMike Buland
actual Date class.