Scons: disable player along with game-engine.
Fix T38150: correct fix this time

also use fixed size lists for list creation.
Image API: add frame argument to gl_load(), gl_touch()

patch D103 by Krantz Geoffroy
Add tangent space computation/access from RNA (i.e. python).

This simply mimics code used for loopnormals, to enable py scripts to generate and access (temporary)
a tangent 3D vector and bitangent sign for each loop. Together with the split normals, this allow
to recreate a complete tangent space for normal mapping (bitangent = bitangent_sign * cross(normal, tangent)).

Expects all faces to be tri or quads.

Reviewed By: Brecht, campbellbarton

Differential Revision: https://developer.blender.org/D185
Ghost: update multitest for changes in BLF
Events: Use INBETWEEN_MOUSEMOVE for inactive windows too.
Events: support for buttons 6 & 7 (some trackballs have these) X11 only

Patch by Marcus von Appen

Note: this patch makes ISMOUSE accept INBETWEEN_MOUSEMOVE as a mouse
event where before it didnt.
Code Cleanup: move MOUSEX/Y to BGE, describe INBETWEEN_MOUSEMOVE
Cycles: mix hair minimum width code with SSE intersection code

Gives 6.5% speedup for hair.blend from testsuite.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D197
Code Cleanup: in Cycles SSE replace macros with templates, skip unused code with preprocessor, simplify casts
UI: Add a "New" button for the particle system, consistent to other areas like materials, world and textures.

Differential Revision: https://developer.blender.org/D171
Fix T38160, N and T sidebars in Image Editor are swapped. Now the Properties are on the right side, which is consistent with other editors.

Differential Revision: https://developer.blender.org/D201
UI: More consistency for T/N sidebars. Logic Editor Properties are on the right now as well, and File Browser Bookmark sidebar uses "T" key, as its on the right.
Style Cleanup: whitespace
Style Cleanup: whitespace
Cycles: SSE for Voronoi textures (targeted for Haswell CPUs)

Gives up to 15% speedup scenes with voronoi-based textures (up to 25% with volumes) on Haswell. The performance change for other CPUs is much smaller: 1-2%.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D203
Fix compilation for OpenCL (and small stype fixes)
UIList tweak: make active item visible when it changes somehow (useful e.g. when weight-paintings a rigged mesh).
Fix T38124: Grease Pencil Line thickness

Issue was in GP draw code: line thickness was not initiated properly (and a null one makes OGL draw a unity-width line).

Also tweaked threshold (when to start a new, width-different OGL linestrip), to make it inversaly proportional to thickness
(so that now, it's 0.2 for a thickness of 1, 0.1 for a thickness of 2, etc.), avoids too big steps when using large thickness.
Bevel fixes for profiles: better way to calculate.

It is better to keep the profile as it is perpedicular
to the edge, and then project it onto a given plane
at the corners. Also fixed the interpolation to a
different number of segments when the profile is not
round.