Patch [#35234]:

Fix GetWindowsLon and SetWindowsLong issues with VS2012 and Windows 8.
Remove unneeded #ifdef block for GWL_WNDPROC and GWL_USERDATA


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56774 954f8c5b-7b00-dc11-b283-0030488c597c
The usual fix for blenderplayer. I didn't have time to test scons but looks like the missing library on CMake is already present there.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56775 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35340: 3D manipulator not working right after undoing with cmd+Z on OS X.

Another issue with the recent Ghost changes here. For some reason key up events
are not coming through when the command key is pressed. I can't figure out why,
for now just always handle them, still fixes the original bug.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56776 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles CUDA: in case of cryptic error messages in the console, refer to wiki
documentation for possible solutions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56777 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for a memory leak during Freestyle stroke shading.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56778 954f8c5b-7b00-dc11-b283-0030488c597c
Added support for WITH_CXX_GUARDEDALLOC build option to the Freestyle module.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56779 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh api: add 'is_boundary' attribute to verts.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56782 954f8c5b-7b00-dc11-b283-0030488c597c
refactor bmesh edge loop walker,
was getting too complicated handing different cases at once, split out boundary case into its own branch.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56783 954f8c5b-7b00-dc11-b283-0030488c597c
fix for problem where edge loop select would select too many vertices (extend selection too far),

before & after: http://www.graphicall.org/ftp/ideasman42/edgeloop_select_fix.png


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56784 954f8c5b-7b00-dc11-b283-0030488c597c
tweak to r56784, no functional change, utility function worked confusingly.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56786 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: fix confusing line of code with useless ||.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56790 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for #35349, multiple viewers nodes crashing during render. The condition for activating viewer nodes was completely overridden during renders. Changed this so viewer nodes are active only if both of these are true:

1) the node is tagged for recalc OR compo is in render mode
2) it is the currently active viewer (so only one viewer ever writes to the buffer)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56791 954f8c5b-7b00-dc11-b283-0030488c597c
bridge tool: fix for error in recent commit. missed NULL check for example face.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56792 954f8c5b-7b00-dc11-b283-0030488c597c
"Fix" for #35336. Added a warning in the doc string for nodetree.nodes.new() to point users at the recent API change from node.type enum identifiers to the generic node.bl_idname strings. Not really nice, but could prevent a few bug reports and make scripters' lifes easier.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56793 954f8c5b-7b00-dc11-b283-0030488c597c
Fix a mismatch in help message (check_spelling_osl obviously checks OLS, and check_spelling_c, C code! :P )

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56797 954f8c5b-7b00-dc11-b283-0030488c597c
API doc for bpy.app.translations should look better now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56798 954f8c5b-7b00-dc11-b283-0030488c597c
CMake build system update
- Extending CMakeLists.txt to support builds with VC2012.
- Fix some typo in CMakeLists.txt
- Introduces experimental WITH_AVX_CPU to build with /arch:AVX (VC11 only)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56799 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35347: constraints with vertex group targets were not using the vertex group
weights, it assumed all weights were 1. This gave very different results with the
new bevel modifier due to slightly different vertex group interpolation.

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