Age | Commit message (Collapse) | Author |
|
|
|
|
|
There's an issue somewhere sometimes and streams are being truncated. My
guess is a multi-threaded issue.
|
|
|
|
I think the interface could be a lot better...but it does work and we
can use it examine and work with MyriadFs files.
|
|
When we encounter unexpected test results it logs them to a status file,
subsequent runs without other options will only re-run the tests that
had unexpected results, updating the status file as you go. When all
tests are returning expected results again then the status file is
deleted and the next run will process all tests again.
Of course, the --all parameter will force it to run all tests and ignore
the current status.
|
|
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!
|
|
|
|
|
|
UtfString supports a load of new stuff, and Json uses UtfString
exclusively now.
|
|
Probably do more with it later.
|
|
Also, just building without bzip2 or lzma easier.
|
|
appropriate headers. bin2cpp now uses those headers to compile correctly
despite having missing filters.
|
|
of each file in the source. It would be nice to have an enumeration or
something at some point too.
|
|
|
|
|
|
|
|
it bu-bin2cpp or something to make it more unique.
|
|
mismatches because of socket handles, but there were also some
order-of-definition issues that were fixed in the FD_SETSIZE definition code.
Fixed a few things that just never worked on windows, like Bu::Thread::yield().
|
|
includes headers for the things you use.
|
|
|
|
|
|
link it in in windows though.
|
|
class that bin2cpp generates for you.
|
|
libbu++ and then use that to minimize memory usage in the bin2cpp generated
classes. That should go really quickly.
|
|
I also cleaned up the build script, the symlink generation is faster and looks
nicer, there's one think left to fix there, but it's not too bad.
|
|
|
|
formatting ala QString.
|
|
it just needs to be integrated with the Bu::String class itself, pretty
exciting.
|
|
called format, it's a proof of concept of a text formatter. I think it's
gonna' rock.
|
|
|
|
I should add a new class of program to libbu++ or clear out most of my old tests
or something. Anyway, almost fully C99 compliant float to normalized hex string
and back functions in pure math. Really slick, really portable. they don't
handle +/-NaN, +/-Inf, or the special alternate format for subnormal numbers,
try entering a 0.0...01 where I cut out about 200 zeros, you'll see what I mean.
|
|
now.
|
|
rename, but there seems to be a problem, rename uses mkHardLink, and if the
target exists, hey, it adds another one...not quite ideal...
|
|
tell, we're missing rename, chown, and chmod.
|
|
addressed, besides that, only a couple more functions need to be added to
myriadfs before it's totally ready to have linux installed on it :-P
|
|
|
|
along quite nicely. It looks like it works great for normal programs, but there
need to be some tweaks made to a few things before it's working 100% via fuse.
Also, the fuse module won't let you specify a file, a little odd.
|
|
fstring, and updated the copyright notice to extend to 2011
|
|
that were using fstring, I hope.
|
|
changes many others, including source files that were deleted and renamed.
Before doing this update, I reccomend a full clean, or even a fresh checkout.
Things to note, most outstanding about this update:
- Bu::Socket was changed to Bu::TcpSocket and the default mode is blocking.
- All templatized container classes are SharedCore now, which is good, but
SharedCore is inherently non-reentrant safe. However, all SharedCore classes
have a "clone" function that return a non-shared copy of the object, safe for
passing into a reentrant safe function accessing shared memory.
|
|
|
|
cli tool.
|
|
would always fail if a const char * was passed in, it now converts these
silently to Bu::FStrings, good to know...
Also, the OptParser now uses a Variant for overrides, meaning it doesn't have
to do extra parsing, and the amount of code you have to write may be
significantly reduced. Pretty sweet, overall. There is one downside. For the
moment if you use a non-standard type or object as the target of a parameter
it always needs to have a formatter >> operator defined, even if you override
and the formatter >> operator is never called. Hopefully we can get around
this in the future.
Also, it looks like it should be relatively trivial to create conversion
functions for the variant, they'll just be global template functions that
take two parameters, source type and target type. Should be good times.
|
|
The parser works! The parser compiler works! It makes parsers!
Now we just have to implement post processing, token lookup tables, and storage.
|
|
lookahead or precedence, but I should be able to do that easily with the next
version. I'm treating this more as a proof of concept than a real working
model. Although it can handle +, -, (), and = :)
|
|
|
|
it's still a little tricky becasue you have to do the non-terminal prime
seperation yourself (I forget what it's really called), but it's going quite
well. After a few tweaks to the core of it, we should be able to do some
math :)
|
|
and introduces the parser and lexer classes. I also made a test for parser and
put it in the tools directory. That is silly, it shouldn't be. However, it's
necesarry right now, because I don't want to do a full build to compile all
the parser tests.
However, this commit doesn't actually build yet. It will soon, I just wanted
to get it all committed.
|
|
|