aboutsummaryrefslogtreecommitdiff
path: root/src/old/pqueue.cpp (unfollow)
AgeCommit message (Collapse)Author
2007-07-01A minor bugfix in the Bu::Archive was preventing compilation when archivingMike Buland
a Bu::Hash due to the new return value of the unary (*) extraction operator in the iterators.
2007-06-30For now we have no const char * cast operator on FString, ISO C++ says that weMike Buland
can't have that and an indexing operator. More research with other compilers needs to be done if we want to try just having the cast operator. I would rather be able to index than auto-cast.
2007-06-29The plugger was dying on a HashException it should have caught, and the LoggerMike Buland
now allows you to include extra printf formatting in your fields just like the docs say you can.
2007-06-29A few changes here and there, mainly related to getting the new Server systemMike Buland
working in optimal condition...
2007-06-28Updated the client, it now takes all intXX_t and uintXX_t as a param for writeMike Buland
as a convinience.
2007-06-28Client code is better, so is the socket, you can get addresses and other coolMike Buland
things from it. The plugger had yet another bugfix...plugger...
2007-06-28The FString has more things that it can do...now.Mike Buland
2007-06-28Minor update to protocol.Mike Buland
2007-06-28Many minor changes, hopefully the header fixes will keep future header macroMike Buland
conflicts from happening. And, from now on, other projects should do -Ilibbu++ not -Ilibbu++/src so we can get ready for an installed version of libbu++.
2007-06-28Another one, five lines down.Mike Buland
2007-06-28Oi, another bug fix, the same line...Mike Buland
2007-06-28Another stupid plugger bug.Mike Buland
2007-06-27Ooooh, more Taf-goodness.Mike Buland
2007-06-27Tweaked a tafnode function.Mike Buland
2007-06-27More fstring stuff.Mike Buland
2007-06-27Added more functions to fstring, now it has isSet and a bool cast operator.Mike Buland
These allow you to see if there is anything set in the fstring.
2007-06-27The taf system is new and improved. The writer works, we added C++ styleMike Buland
comment blocks, and it retains the order of all nodes.
2007-06-27The MemBuf works just fine, although it still can't over-write data in theMike Buland
buffer.
2007-06-26Fixed a bug in the plugger and added the skeleton of the MemBuf class.Mike Buland
2007-06-26Corrected a memory leak in Bu::BZip2, it wasn't cleaning up the big buffer.Mike Buland
2007-06-26Fixed a minor bug in FString, and added the Logger and a test...it's cool, andMike Buland
a decent replacement for multilog now that we use runit.
2007-06-25I think the plugger and programchain are all up to date to work with the newMike Buland
libbu++. The program chain may undergo heavy changes still, or be removed entirely, but we need it for congo and squirrelmud, so here it is for a while longer. The TafWriter isn't much closer, you still only get the groups in the output.
2007-06-19david - got some things compiling on win32 (wine/devc++)David
2007-06-18Added more helper guys to atom, it seems weird, but I think it's ok...Mike Buland
2007-06-18The client/server system now works both ways, in and out, and works as well asMike Buland
the old one in pretty much every way, and better in most. It's much easier to understand. And the atom class is better.
2007-06-18david - did more documentingDavid
2007-06-18Added the atom class and did some more client work, it will close the socketMike Buland
now when the end has been reached.
2007-06-18Added the protocol class. servers work, but don't send data, updated the streamsMike Buland
to include many more state indicators and caps queries, and everything is working better in general.
2007-06-18david - writing code documentation...David
2007-06-15david - wrote two silly unit tests... David
2007-06-12Removed the xml test...the xml system is effectively gone.Mike Buland
2007-06-12Moved out the xml system again. I think that if I am going to do it again,Mike Buland
I'm going to do it over from scratch, that was just painful. Also, started in again on the server system, it's looking pretty good, already got connections working, next up is managing data flow through clients and protocols!
2007-06-11Another few fixes for zero-length strings in fstring.Mike Buland
2007-06-11Corrected another issue with the prefix * iterator operator in Bu::Hash, it wasMike Buland
still trying to use a pair internally. Also added more helpers to FString.
2007-06-11Wow that was a stupid bug. OK, decompression is working really well, and itMike Buland
corrects the underlying stream's position if it can seek, otherwise you just lose data (for now).
2007-06-11Few minor tweaks to bzip2, it reports errors now...and there's a bug in odpmMike Buland
that could be in this, but it's going to be hard to tell...
2007-06-10Bunch of maintenence type things. Minor tweaks and the like. The file classMike Buland
has a lot more helper functions and the like, the filters give more info back to the caller, minor updates to taf.
2007-06-09Alright, looks like the bzip2 filter can decompress just fine. It won't try ↵Mike Buland
to compensate for overshooting the end of the compression block yet, which it won't be able to do on streams that don't support seeking...I think I'll make it only try on stop commands, and try to re-use the buffer otherwise...maybe...it's an interesting problem since it *always* overshoots (unless you're really, really lucky...)
2007-06-07The Stream Filter archetecture is finished, it's actually much cooler than IMike Buland
had anticipated, and much cleaner. I'll have to add some documentation to it, because it's not really obvious how any of it fits together from the outset, although I have to say that the bzip2 test program is the easiest general bzip2 compression program I've ever made...it just goes :) Decompression in Bu::BZip2 isn't finished yet, but that's ok, it's coming soon.
2007-06-07The new taf interfaces seem to work just fine, except for saving and that loadedMike Buland
TafNode structures are immutable, it all looks really good. Saving should be a snap, and the immutable part I'm not sure is bad...we'll see what happens. Also, I'm contemplating looking into a way to add "named data structure" support to the Archive at a lower level, then allow it to use a nameing system to apply names to each data structure and then output to any backend that supports naming, like taf, xml, etc.
2007-06-07Minor change to the operation of the Hash, now dereferencing an iterator withMike Buland
the prefix * operator will return only a reference to the value, not a pair, it was causing issues, and you can still get at the key with the getKey function.
2007-06-07Except for an excessive amount of debug info, I finally got the delete codeMike Buland
working. Now you can load Taf structures and clean up, you just can't access all of the data inside 100%.
2007-06-06Dunno, really, apparently I changed the reader.Mike Buland
2007-06-06The TafReader is more general and much nicer, and about to actually constructMike Buland
nodes, that part will be exciting. I also fixed some stuff and added some new functions to List, it now has first() and last() which work just like std::list front() and back(), I may add compatibility functions later...
2007-06-06Except for storing the data somewhere, the TafReader is more or less done.Mike Buland
Some more generalizations are in order, then we'll stuff the data somewhere.
2007-06-06Moved Taf back into core.Mike Buland
2007-06-06About to move taf back into core...contemplating removing the xml systemMike Buland
entirely for a while...we'll see what happens.
2007-06-05Nevermind, it's good to use with objects or anything, they are now destroyedMike Buland
and constructed properly :-P
2007-06-05Added a basic ringbuffer, it should be nice and quick, but may be bad to useMike Buland
with objects at the moment, still contemplating that one...
2007-06-04Added rudimentary object tracking to Archive, and rearranged the hash andMike Buland
archive dependancies a little. I'll add docs for object tracking later...