aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-25We now have a portable tempfile function, cool, it compiles on windows.Mike Buland
Fixed a bug in Socket, it wasn't closing the socket in all exception cases. Also fixed a few things in the unit test framework, going to add some more helpers soon.
2010-05-24Changed the Bu::Stream API, setSize is now standard. There may be a few moreMike Buland
things that should be added. A few of them still need to be implemented. I know that truncate for Bu::File is possible on windows, I've used it before, but hell if I can find it. Myriad also needs the setSize function completed.
2010-05-24Myriad unit test. Seems like it's workin' well.Mike Buland
2010-05-20Fixed a minor bug when a key resolved to an empty string.Mike Buland
2010-05-20Added some tweaks to array and fbasicstring.Mike Buland
2010-05-20Made process easier to use, when you ask it if the process has ended, itMike Buland
actually checks. novel, eh?
2010-05-16Added operators <= and >= to the FBasicString.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-05-14Removed some annoying debugging.Mike Buland
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-13david - put a bunch of data through it and check its validityDavid
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-13Finally rearranged the system to put all compatability files in a directoryMike Buland
called compat. I've updated the linux and windows builds and it looks pretty good. I also added a config.h file which we have to edit by hand until I can work on build some more. Linux File operations now use 64 bit mode, windows can't, or at least, I don't feel like researching it right now.
2010-05-13Hmmm, apparently there was a corner case that would cause a disconnect toMike Buland
crater the server system. Lameness...
2010-05-12The Bu::Archive class now supports arbitrary, named properties via variants.Mike Buland
2010-05-11Fixed an issue in the reader, it was tokenizing.Mike Buland
2010-05-11Cache store mimics the others now. I need to make a standard exception forMike Buland
cache stores to throw.
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-03Minor corner case fix in the comparison code.Mike Buland
2010-05-02Minor bug deleting last element of linked lists.Mike Buland
2010-05-02wow, bug fixes everywhere.Mike Buland
2010-05-01Cache fixes.Mike Buland
2010-05-01The cache...Mike Buland
2010-04-30Many minor fixes to the caching system, membuf, and others, but mainly someMike Buland
important fixes for real-life use of the system.
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-19Nevermind about the Myriad bug. It was really obvious, I was accidentallyMike Buland
adding all pre-allocated blocks to the header stream instead of just allocating them. This caused some oddness, as you can probably imagine. There's a good way to go before Myriad is as cool as it could be, but it's already much more efficient and all around better than nids. I'll have to write a program to convert nids cache stores to myriad cache stores, but that should be fairly minor.
2010-04-19CacheStoreMyriad is written, it's pretty much a copy of CacheStoreNids sinceMike Buland
Nids and Myriad pretty much share an API. However, there seems to be a bug in Myriad when a Myriad file is created and filled with data immediately, the header stream is mis-linking one of the blocks again.
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-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-04-07Cache updates, mainly helper typedefs to make it easier to work with a cacheMike Buland
without knowing everything about it's keytype and whatnot. Minor fixes to the csv end-of-line handling.
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-03-15Ito is updated and is more posix compliant.Mike Buland
2010-03-12The server and multiserver now support a shutdown() function which callsMike Buland
onCloseConnection on each client before cleaning it up, allowing for smooth cleanup. Later we may want to add a nicer version with a timeout for pending data to be transmitted and the like. This one is pretty harsh.
2010-03-08Server socket has a few tweaks now.Mike Buland
2010-03-03I think I just changed whitespace...Mike Buland
2010-03-01The CSV Reader now handles multiple comma characters in sequence without spacesMike Buland
correctly.
2010-02-13Added and updated the license info in all the source files, they still saidMike Buland
copyright 2007-2008.
2010-02-13What the HELL was I thinking? Apparently ItoAtom was never used, and it's soMike Buland
handy too... It wasn't in the right namespace, it was broken, it had pieces that were misnamed...bleh...anyway, it complies and works now.
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-02-04david - Made a build-M3 file for building to windows (mingw). This one ↵David
actually builds *.cpp, yay!... Although i took out Process, Plugger, and Regex... to be re-added later... also had to stubify a few more functions when compiling on WIN32.
2010-01-28Hmmm, the newline wasn't causing a flush, that's just silly, I should knowMike Buland
better.
2010-01-25I had thought that I had done this ages ago. __cacheGetKey now has a generalMike Buland
template definition that just calls getKey() in the object, if the object doesn't support a getKey() method, then you can write your own, but now you don't have to.
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-22Ok, I'm officially waging war on ParamProc. When enough programs have switchedMike Buland
to OptParser I'm deleting it, it's stupid and ugly and I hate it! Ok, maybe not quite that bad, but OptParser is much better. I've marked ParamProc deprecated, many programs will start giving out warnings about that.