Code cleanup and minor change to CMake's colalda detection to make
it detect directory structure used for libs in our svn (<root>/include/<component>/include)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49797 954f8c5b-7b00-dc11-b283-0030488c597c
add MEM_recallocN(), so bytes are ensured to be zero'd when growing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49799 954f8c5b-7b00-dc11-b283-0030488c597c
startup.blend and preview.blend are now converted to C at build time.

made some changes to startup.c
- change default player to internal since its working now.
- added new screen for full screen 3d viewport (nice for demo's and navigating)
- disable cursor depth option (was enabled by default because of re-used flag)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49800 954f8c5b-7b00-dc11-b283-0030488c597c
generate glsl shaders c files at build time.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49801 954f8c5b-7b00-dc11-b283-0030488c597c
simplified data_to_c macro in cmake


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49803 954f8c5b-7b00-dc11-b283-0030488c597c
Sequencer: support for masked color balance

This implements option which could be used to color balance only
specified area. Currently done by adding Mask input to Adjustment
effect. Affects on color balance and multiply settings.

Supporting masked saturation control is in the list, not supported
in this commit.

Also show value slider in the right of color wheel.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49806 954f8c5b-7b00-dc11-b283-0030488c597c
Style cleanup: whitespace and line breaks

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49807 954f8c5b-7b00-dc11-b283-0030488c597c
generate brush icons C files at build time.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49809 954f8c5b-7b00-dc11-b283-0030488c597c
remove all remaining data files from source, now all are converted at build time.

note: this is currently very slow in cmake, will address this next.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49811 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32306: Applying location or rotation scales sculpt data

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49812 954f8c5b-7b00-dc11-b283-0030488c597c
add back datatoc, use this instead of cmake script which was too slow.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49813 954f8c5b-7b00-dc11-b283-0030488c597c
minor improvements to cmake's datatoc usage, now changes to datatoc.c re-make generated files.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49816 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own error with opencl bokeh blur.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49819 954f8c5b-7b00-dc11-b283-0030488c597c
rename full viewport and disable manipulator


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49820 954f8c5b-7b00-dc11-b283-0030488c597c
default player was still set to 2.4x, default to internal (thought this was changed in previous commit).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49821 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: WM naming conventions


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49824 954f8c5b-7b00-dc11-b283-0030488c597c
Fix El Topo compile with scons (only win64 so far)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49827 954f8c5b-7b00-dc11-b283-0030488c597c
smooth-view for 2d views, graph editor, sequencer, node view, works with border zoom, view selected, view all.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49828 954f8c5b-7b00-dc11-b283-0030488c597c
Fix El Topo compile with scons (win32 + linux - both untested)

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