Paint: add debug print to time strokes
Sculpt: dyntopo, avoid redundant gset remove calls
Cleanup: use bool
Sculpt: minor speedup for dyntopo

Add retake to range-tree to avoid double lookup.
Ghost Context Refactor
https://developer.blender.org/D643
Separates graphics context creation from window code in Ghost so that they can vary separately.
We need libglewmx too, now.
Fix bplayer linking after recent addition of glew_mx.
Fix T42137: Keymap editing is broken

Own mistake in previous fix here, was too greedy in finding an existing kmi of UserPref add diff kmi, we only want
to ignore exact same kmi's here.
OSX: adapt fs_menue to modern entries handling
Fix compilation error after recent commit
Cycles: correct math wrappers

include the parens around value before cast,
in some cases was causing double/float promotion by only casting the left value.
Cycles: reduce float/double conversions
Fix more issues after recent context commit
Fix Python ray-cast failing to check hit direction
Cycles: enable double promotion warning /w gcc
Fix T41661: Added to main repo graph, science_lab and softimage themes.
Fix OpenGL error on cycles rendered viewport.

We queried the wrong value when looking for the bound 2D texture. This
is not totally robust because currently bound texture may not be a 2D
one, but this should work for now.
OSX: fsmenu cleanup
glutil: use ints for drawing functions

shorts would wrap sometimes & many inputs were ints already.
Fix T42145: EditMesh Bevel tools had no clamping option.

Missing feature already present in Bevel modifier, useful and rather simple to add.