Age | Commit message (Collapse) | Author |
|
replace that with just an array, no problem. It's many, many, many times
faster while streams are growing, and it should be constant time, not linear
like it was before.
It also handles myriad files in excess of 2gb correctly now, at least, it
seems to just fine :)
|
|
We need a few extra helper functions to cover some other good things, like
normalized floating point numbers, etc.
|
|
|
|
means that you can write odd numbers of bytes or read odd numbers of bytes
from/to the ciphers and it'll just buffer until it gets a full block.
Next up is adding padding support. Right now it doesn't flush the buffers with
padding if you don't fill the last block. For that matter, it doesn't do any
padding at all.
|
|
|
|
|
|
slick, really, and we actually support four of the most common modes.
Blowfish is still a template, but it doesn't really need to be anymore...
|
|
other types of ciphers down the road, should we choose to.
|
|
|
|
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.
|
|
all major, common compression algorithms.
|
|
in a different direction anyway.
Added the Deflate class, it uses zlib, and can do raw (headerless) deflate
streams, zlib format, or gzip format. It's easy to use and quite versitile.
|
|
hope that the formatter code is not going to have the same problem.
|
|
|
|
|
|
encoding to make things easier (little endian in our case). It can currently
read utf8 and utf16be, but not BOM. It will give you full unicode code points
instead of the raw utf16 values, which is pretty slick.
|
|
been added, and I deleted a whole slew of stupid old tests that I don't need.
|
|
Bu::QueueBuf and creates a really slick blocking inter-thread I/O system.
|
|
|
|
faster. Oh well.
|
|
semantics go as well as switching everything to the new string formatting code.
|
|
formatting ala QString.
|
|
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.
|
|
|
|
the fixstrings.sh script in the support directory to (hopefully) automatically
update your projects.
|
|
we can figure that out later.
|
|
|
|
|
|
are failing...
|
|
|
|
fstring, and updated the copyright notice to extend to 2011
|
|
that were using fstring, I hope.
|
|
TcpSocket, fixed many other things, and finally removed ParamProc. Anything
that needs it will now have to switch to OptParser.
|
|
another object of the parent type has the same core, and another to clone the
parent object. That one is pretty cool, it means you can now get a real copy
when you want to, great for multi-threaded stuff.
Also, two more classes are now SharedCore: Hash and Heap!
|
|
Bu::MiniCron.
|
|
|
|
gats project in Gats::ProtocolGats.
|
|
NullStream. This version doesn't compile yet, but will soon. You can back off
a revision or just delet nullstream for now.
|
|
I've written a new program that basically does the same thing, only it's much
more clever, and does many more of the translations and conversions better,
including the #line directives. Also, I dropped nids, we don't need it anymore.
But now I'm ready to write some serious tests for myriad.
|
|
Unfortunately this breaks some programs that accessed the client internal
buffer directly. Overall it's much, much more efficient, so it's worth it,
maybe we'll find a good workaround later.
|
|
that to the build file or something...
|
|
|
|
maybe would be better to call an example than a fully fledged storage strategy.
It just names files based on your keys. It's very slow, and very wasteful, and
shouldn't be used long-term in most normal cache systems.
|
|
...I mean brilliant as in cool.
|
|
|
|
|
|
longer returns anything, that's fine, it's in a class, but it also is protected
now. That doesn't really effect child classes much, they can make run public,
but I reccomend protected to avoid confusion.
|
|
The CsvWriter now writes csv. It understands both excel formatting and c-style,
which I made up myself (it's just c-style escape sequences).
Sha1 is converted to work with the CryptoHash API and it does indeed work.
|
|
a hashtable was filled, then some items were removed, then enough items were
added to trigger a rehash.
|
|
way, way, way more problems than it solved. A number of libbu++ tests were
inacurate because of it, there were problems in several other programs, and
there may be more that have problems we haven't found yet because of this.
This will most likely cause complitaion errors, especially in places we didn't
expect, where strings were being stored into or passed as integers and the like.
In cases where you were just testing a string, just call the "isSet()" function,
which is functionally equivellent to the old bool cast operator.
|