Fix T39279: Vertex paint fails with mirror modifier
Fix T39420: Cycles viewport/preview flickers, when moving mouse across editors

Issue was caused by the wrong usage of OCIO GLSL binding API. To make it
work properly on pre-GLSL-1.3 drivers shader is to be enabled after the
texture is binded to the opengl context. Otherwise it wouldn't know the
proper texture size.

This is actually a regression in 2.70 and to be ported to 'a'.
Fix T39419: Crash when solving camera motion

Stupid vector initialization error.

Should be in 'a'.
Fix for build error in Cycles standalone caused by new DeviceDrawParams
added in rB74518b28267e9b18199212fbaa3c689fa018d20c.

No special bind/unbind needed for standalone viewer, so can just use a
static stub in the display callback.
Fix T39432: yet another particle bug caused by inconsistent num_dmcache
mystery.
Fix T39424: VSE: Bake Sound to Curve CRASHES Blender

BKE_sequencer_offset_animdata() was simply assuming bezt member of fcurve was always valid, while it might be NULL (e.g. when fcurve is using FPoints instead, like when generated from sound file).
T39307: The fast gaussian blur is not an accurate formula. When deciding
which tiles are selected for input there was always a constant for correcting
the accuracy.

It seems that the constant was not enough and has been adjusted. (2 => 3).
CTest: disable bl_run_operators.py, fun for finding crashes, takes a long time
Code cleanup: use consistent arg order for math api poly funcs
CMake: disable SSE flags if gcc/clang don't support
Attempt to fix T39412

do not use different stroke property names for different paint systems.
This was done due to different stroke sets being supported for each
system, but this lead to trouble if we changed the names (due to
different stroke sets being supported) and users created custom keymaps
with the old property name saved.

The first part of this fix addresses master. A similar commit will be
done to soc-2013-paint.
UI: Dynamic paint labels had a double ":" at the end of some strings like "Vertex Group::"
Cycles: fix for building with cmake when gcc refuses sse args
BMesh: optimize BM_face_legal_splits for concave faces
BMesh: let vert-connect make degenerate faces when only 2 verts selected
UI: Fix more double ":" in UI labels
Cycles: Raise a proper error message when using Branched Path on sm_30, this is currently still disabled.
Fix T38928 Particle add brush would generate trash on meshes with use_modifier_stack enabled

Issue here is complex (Of course, this is particles!)

First issue is that use_modifier_stack will use the num parameter of the
particles instead of num_dmcache, something the brush code did not
account for at all. Now correctly set DMCACHE_ISCHILD in that case.

Second issue is that make_derived_deform will return a mesh with less
indices than the particle system derived mesh. This would mean that
subsequent sampling of the particle derived mesh to initialize the
particles woould also produce garbage. This was being done for
optimization but in that case it broke the system.

Reviewers: lukastoenne

Differential Revision: https://developer.blender.org/D429
Fix T39435 paint overlay not always getting correctly refreshed.

Initialize the nodetree first, like paint stroke does.
Windows: Upgrade FFmpeg from 0.10 to 2.1.4

Fixes T39423: Blender crashes on iv41 encoded videos in thumbnail display mode

Libraries are still being committed to the svn, so compilation might be broken
for a while. Sorry for this, but can't really be avoided.

Also, some typos in scons are possible.