Change to socket draw functions: instead of always only drawing the socket label for connected sockets, leave this check up to the socket draw function itself. This allows future socket types to draw buttons or other info in all cases and handle connected/unconnected state more flexibly.

The drawinputfunc/drawoutputfunc callbacks in bNodeType are pretty much empty wrappers now and should be removed at some point. This per-node differentiation should rather be implemented as a specialized socket type if necessary. The only use case for this feature that remains is the file output node in compositor, which displays shortened file format info for each socket.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56584 954f8c5b-7b00-dc11-b283-0030488c597c
Extended the draw callback API for node sockets with an explicit text parameter, instead of always using the sock->name string. This can be useful for drawing the socket values separate from the label, e.g. in the node view template.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56585 954f8c5b-7b00-dc11-b283-0030488c597c