Motivation:
dtrace is extrmely useful when debugging allocation related issues. This
adds two scripts that have helped me many times.
Modifications:
- `dev/malloc-aggregation.d` which prints an aggregation of all
stacks that have allocated
- `dev/boxed-existentials.d` which live prints all allocations of boxed
existentials
Result:
sharing debugging tools is great
Motivation:
Websockets is a major protocol in use on the web today, and is
particularly valuable in applications that use asynchronous I/O
as it allows servers to keep connections open for long periods of
time for fully-duplex communication.
Users of NIO should be able to build websocket clients and servers
without too much difficulty.
Modifications:
Provided a WebsocketFrameEncoder and Decoder that can serialize and
deserialize Websocket frames.
Result:
Easier use of websockets.
Motivation:
We need license headers at the top of all files but we didn't
automatically check for it in all source files.
Modifications:
Check for the full licensing header in all files (Swift, C & Shell).
Result:
If we're missing a licensing header a PR won't turn green.
Motivation:
prevent adding source that does not include the license header
Modifications:
add a check in sanity script to grep over all swift files and make sure they have the license header
Result:
ci build will fail if/when trying to commit source files that do not include the license header