aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
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-07A bunch of things weren't including their own files in quite the correct way...Mike Buland
2010-01-07Added a new class, RegEx, it does extended regular expressions for now, more toMike Buland
come.
2010-01-07Added a function that really should have always been in FString...Mike Buland
2010-01-05Really minor tweaks, shouldn't effect anything that we have right now, really.Mike Buland
2009-12-21Added a trimBack fonction to FBasicString that removes all occurances of onceMike Buland
char from the back of the string.
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-20Sweet, build-m3 can totally replace build m2 as far as libbu++ is concerned,Mike Buland
it does everything the old one did and more.
2009-12-20I'm really just working on build, but I found an interesting problem, when aMike Buland
target is specified more than once, the new ones should merely augment the old one, not replace it, this is necesarry, but I think easy as well, but I'm going to switch machines for a bit and so now I commit :)
2009-12-19Added a couple helpers, peekPop(), and an addition operator.Mike Buland
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-16Signals are now not only typesafe, but also will throw an exception if you tryMike Buland
to construct a slot with a null pointer, or call a signal that has not been set yet. Also, signals can be checked for being set, and assigned to one another.
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-15Bugfix in Bu::FBasicString for null string comparisons.Mike Buland
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-12-06Hmmm, this is better, yeah, I don't think it'll effect anyone for now...Mike Buland
2009-12-01The system shared object was just dangerous while developing, so I'm gettingMike Buland
rid of it for now. It'd still be great for installing, and I'm glad I tested it and know how to do it. But it's not good for us to use. Please delete libbu++.so and /usr/lib/libbu++.so immediately.
2009-12-01Getting closer with the pointer formatter...Mike Buland
2009-11-24Added a replace function to fstring...sweeet.Mike Buland
2009-11-20Even more mingw.Mike Buland
2009-11-20Hey, mingw stuff, more of it.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-28Uuid now has a default gen function that will generate a uuid using the best,Mike Buland
easiest method available. On linux right now, this means that it uses the kernel /proc interface. I'll have to add some fallbacks to this...
2009-10-26Minor, cosmetic change to the TafWriter. It now writes group names that areMike Buland
blank as they were intended, i.e. {: }, not {"": }.
2009-10-16Got rid of cgiutil, it was empty, it was all going to be duplicates of code inMike Buland
the Url class and others.
2009-10-16Finally added the substream class, and added getByPath (for properties) andMike Buland
getChildByPath (for groups) to the TafGroup class.
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-10-09david - more things in windows buildDavid
2009-10-05I just got rid of the float markers, we know we need a new float formatter, itMike Buland
doesn't need to make all output ugly forever.
2009-09-26Minor tweaks and fixes to Bu::VariantMike Buland