chrisdew/protobuf — pull request #15 by seishun (2012-09-23 13:38:21+00:00)
Title: Switch to node-gyp, bundle the protobuf library, support Windows

This module currently requires protobuf libraries installed globally on the system, which makes it unusable on hosting services that don't provide root access such as Heroku. Moreover, it's completely unusable on Windows because it uses node-waf.

I've fixed both problems by bundling the protobuf library as used in Chromium (the official release doesn't have a gyp file) with compiler, Python files and unit tests removed.

The includes in protobuf_for_node.cpp are shifted around to prevent a redefinition issue introduced by Windows headers.