uProxy/build-tools — pull request #5 by iislucas (2014-06-09 15:01:03+00:00)
Title: better code structure, Gruntfile, and added an event handler queue

Note: this is a major version change as it prescribes a different directory layout that would otherwise break dependent repositories.

Key changes:
* new directory layout/build process assumed (using perl-style regexp):
`src/MODULE_NAME/.*\.ts --copied--> build/typescript-src/MODULE_NAME/`
`build/typescript-src/MODULE_NAME/.*\[^(\.d)].ts --typescripted--> build/MODULE_NAME/`
This allows typescript to assume a common-base for all typescript compilation. In theory it allows a fancy watch to work too.
`build/MODULE_NAME/.*[^(\.ts)]` --typescripted--> `build/MODULE_NAME/`
* A compiled version of the TaskManager is used.
* The Gruntfile now exports some additional useful Gruntfile config functions and file-paths for the new common layout structured.
* An event handler queue class called `handler-queue` has been added, this generalizes the need to be able to async set handlers and receive events/data. Used in new networking code and has unit tests.
* Added Array buffer concat function and array buffer accumulator (which accumulates buffers until they are big enough -- this final part is not currently used).