aboutsummaryrefslogtreecommitdiff
path: root/src/unstable (follow)
AgeCommit message (Collapse)Author
2019-05-24Updated copyright date.Mike Buland
2019-05-20Threshold between medium and large messages was wrong.Mike Buland
2019-05-14More fixes.Mike Buland
2019-05-13UtfString & Json overhaul.Mike Buland
UtfString supports a load of new stuff, and Json uses UtfString exclusively now.
2019-04-09Url parser sucks. It sucks a little less now.Mike Buland
I need to redo it completely, it's stupid.
2019-03-11Json parsing fix + new API for copying.Mike Buland
2018-12-17Bu::Json handles encoding control chars.Mike Buland
It still needs to handle the rest of unicode properly. It'll require a minor change but shouldn't be too bad overall.
2018-12-11Fixed MyriadFS path exists error.Mike Buland
Also started some FS related thread safety.
2018-11-07Added convinience Key/Value typedefs to ptrs.Mike Buland
2018-07-16Removed a little cache debugging.Mike Buland
2018-07-02Added a threadsafe speedometer class.Mike Buland
2018-02-20Json parse fixes.Mike Buland
It didn't handle empty arrays or objects correctly.
2018-02-05Removed some debugging.Mike Buland
2018-01-29Changes related to debugging an issue.Mike Buland
It may not have had as much to do with low-level protocol details, and a lot of this can be reverted, but I can't revert it right now. I'll look it over later in the week.
2018-01-24Json stuffMike Buland
2018-01-22Fixed escaped character encoding in Json decoding.Mike Buland
2018-01-18Made json much more helpful. Fixed array iterators.Mike Buland
2017-10-18I think this version works.Mike Buland
It would be really cool to add more features, like pre-websocket negotiation and callbacks for serving web content, etc.
2017-08-30Json now can take a UtfString as a text component.Mike Buland
It immedaitely converts it to UTF-8 and stores it for now, but later on we may keep it longer, do some better validation, and have encoding options.
2017-08-23Json has a "has" function now.Mike Buland
2017-08-23Added append to the json interface.Mike Buland
It needs a lot more help.
2017-08-23Fixed string constructor.Mike Buland
2017-08-22Updated json.Mike Buland
It needs a lot more work before it can be used to programattically build complex objects, but it's a great start.
2017-06-07Changed interface slightly, it's easier to create json programmatically.Mike Buland
2017-06-06Reading, writing, and accessing loaded data all work.Mike Buland
2017-06-06Hey! This is a much better structure for the Json class.Mike Buland
This new setup is one class for everything, the values are kept in a union, and the instance knows what type it is. The tree of objects is a tree of instantiations of the same class. It's much simpler, it's much easier to write, and maybe even easier to use.
2017-06-05Json?Mike Buland
I'm honestly not sure what kind of interface I want here, or how to organize it. It may just be better to expand the whole thing, spread it out some.
2016-09-22Included the experimental TeeStream.Mike Buland
This allows you to write data to multiple streams simultaneously and easily. It's pretty much complete, but it feels like it could use more...features somehow.
2015-09-13The cache wasn't accessible from CacheObject decendants that were const.Mike Buland
2015-08-25Added more lock/unlock features to the cache Lockers. That...was a weirdMike Buland
sentence, but it's true. Also, oddly enough, Lockers aren't thread-safe, but they shouldn't ever have to be. Figure that one out!
2015-08-24Added some refcount debugging.Mike Buland
2015-08-16Thread safety update for the previous commit. I left one structure accessMike Buland
unprotected, but fortunately this time I was able to use a read lock which is much lest nasty and persistant.
2015-08-16Fixed a highly essoteric issue. The ReadWriteMutex was locked in write whileMike Buland
syncing changes. That was important so that more changes wouldn't be added while we're writing, but it also meant that in a very particular circumstance where one thread was syncing changes, another was marking changes as having happened, and another locked an object that was being written because it had changes they would all deadlock. This should be fixed now.
2015-07-14constant cache pointers can now be bound and unbound. It may seem odd, but it'sMike Buland
important, they are references to constant data, weather they should be able to become bound still.
2015-06-16Const chnaged functions. I think this makes sense.Mike Buland
2014-10-03Tweaked Bu::Uuid loading to pad it's data more cleanly. This will help ensureMike Buland
that we don't get valgrind errors, and is probably safer in general. Added Bu::ArchiveStream. It could use some tweaks, but as a quick hack it's handy to allow systems that can only read/write from/to streams to work with archives.
2014-08-08The cache didn't handle syncing objects that were marked changed and thenMike Buland
deleted before the sync could occur properly. They are now ignored during sync.
2014-07-22Deferred erase now works on cache entries. You can erase a cache entry whileMike Buland
it still has active references, and it will be safely cleaned up when the last reference is released.
2014-03-05Added a method to null/clear a cache pointer, and one to see if it's set at all.Mike Buland
2014-02-03Changed copyright to 2007-2014.Mike Buland
2014-02-03Compiles with LLVM 3.4 as well now.Mike Buland
2014-01-30Attempting to fix OSX compatibility, it's not 100%, but it builds and most ↵Mike Buland
things seem to work. We've also tested against LLVM.
2014-01-22Updated the cache system. It now ensures that objects are initialized withMike Buland
cache information before they are deserialized from storage. This changed the signature of the cache loading template function, but the new function isn't harder to use, and provides the key information as well.
2013-07-20Added a Locker class to the Bu::CacheObject base class. This is a super simpleMike Buland
wrapper that lets you take advantage of nifty Locker based mutex locking when in a CacheObject subclass.
2013-07-18Fixed caching changed issue. The cache now marks objects as unchanged for youMike Buland
after they are saved. It needs some more testing, but the theory is sound.
2013-07-03Modified the Bu::CacheBase API, what was erase is eraseNow, and erase is aboutMike Buland
to be re-engineered to actually do a lazy erase like removing an iNode in a posix filesystem. While the file remains open it exists, but the references visible to the user on disk are gone.
2013-04-08Minor tweaks to the cache object base class. The per-object mutex is actuallyMike Buland
in the CacheEntry class, not the CacheObject, so you can't lock it until you have an entry. This isn't a big deal unless your objects aren't actually part of a cache yet. I changed it so that lock/unlock have no effect if you haven't joined to a cache yet, probably not ideal, I'll think about moving that mutex. I also fixed it so you can lock/unlock even when const.
2013-03-25Corrected a pure virtual call issue while destroying caches.Mike Buland
2013-03-21The Bu::MyriadCache now ensures that it saves the myriad structure afterMike Buland
saving an entry or syncing.
2013-03-18Cache object handles changed() events when no cache has been set cleanly now.Mike Buland