Age | Commit message (Collapse) | Author |
|
It could probably be more optimized, but it does work.
|
|
Now to fix MyriadFs
|
|
|
|
|
|
|
|
|
|
|
|
This may not all work yet, but it all compiles!
|
|
It should allow you to open and create arbitrary stream ids, truncate,
exclusive mode, etc.
|
|
That was weird. It seems to be working now.
|
|
|
|
Still to go: bootstrapping reading the initial header, saving the
header, growing streams as we write?
|
|
|
|
If so, this will fix the issue where streams randomly truncate when
accessed by multiple threads.
|
|
There's an issue somewhere sometimes and streams are being truncated. My
guess is a multi-threaded issue.
|
|
It returns "file:<requested path>" which could be made better
eventually, but it's nice, I like the format, it'll be good for memory
buffers to be able to report in a similar way.
|
|
Now it makes sure the buffer has been flushed and sets the buffer to be
sent out.
|
|
Added some features to the mkunit program, including cleanup routine
support. Added reporting modes for the UnitSuite class, and it can now
generate machine readable reports. Added a new program, rununits that
runs all unit tests and generates a synopsis of what you really care
about at the end, issues!
|
|
|
|
|
|
We were bailing out when sockets closed, that was silly.
|
|
We have a last ditch effort. It turns out that the SocketTcp class
automatically closes sockets when it realizes they're at the end, it
doesn't wait for us to call close. That could be a problem, we may need
something in between, but at least we can detect it and clean it up.
|
|
We don't always clean up instantly, but the system is reusing ids before
we're ready.
|
|
It at least seems to!
|
|
|
|
|
|
Like, seriously, they're almost completely different.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I kind of want to re-engineer the entire archive system...The root
should be able to track a stateful stack of containers such as arrays
and dictionaries as well as support non-binary reads and writes in a
more robust way.
It also still bothers me that it's the only thing in the system with
base in the base class name. I should just change it...it's going to
impact many programs, though.
|
|
|
|
|
|
When setCapacity was used before setSize some elements were not being
properly initialized in the array.
|
|
|
|
This will make the transition easier and require fewer rewrites later.
|
|
Super minor type mismatch, which it was quite correct about.
|
|
This wound up biting me, stop wasn't implemented in one child class and
it was force-stopping it. Stop isn't usually implemented like this in
threadding classes, and this should be no exception.
I'm still exposing the posix threads stop functionality, but it really
shouldn't even be used.
This may break some things, but if it does, they probably weren't
working correctly anyway. Sorry.
|
|
It was returning the object state version of the set flag, not the
threadsafe local copy.
|
|
|
|
Bu::Hash::KeyList has been added, I thought that was always there.
Bu::Hash::rehash has been added. Rehashes can be triggered manually now.
|
|
I would like to move to exceptions carrying encoded parameters. For
example parse could carry source name (filename), line, character, etc.
|
|
|
|
|
|
These will someday replace Bu::String and Bu::UtfString. The plan is to
support more encodings in the Text class than just Unicode, Blob and
Text will not be shared core, but the Builders will be, making Text and
Blob objects much safer in multi-threaded programs.
|