fix [#36459] Official blenderplayer can not go fullscreen on Linux
use modified patch from Alex Fraser (z0r) 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59812 954f8c5b-7b00-dc11-b283-0030488c597c
remove freebsd7 config. its fairly old and not maintained.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59813 954f8c5b-7b00-dc11-b283-0030488c597c
Find missing files now keeps relative paths relative instead of turning them
into absolute paths.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59814 954f8c5b-7b00-dc11-b283-0030488c597c
Fix broken GLSL shader after recent changes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59815 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Removing an unused rendertools argument from BL_ConvertActuators().

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59816 954f8c5b-7b00-dc11-b283-0030488c597c
simplify idprop reallocation with MEM_recallocN


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59817 954f8c5b-7b00-dc11-b283-0030488c597c
Apply patch [#36601].
Submitted by Saurabh Wankhade (sauraedron).

This patch adds camera shift and dof export and import in a Blender profile.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59818 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in bmesh api, selection setting needs to go via BM_elem_select_set else the total selected elements count isn't mantained.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59819 954f8c5b-7b00-dc11-b283-0030488c597c
Merge some operations into a single file

This merges all mix operations into a COM_MixBaseOperation
(naming could be better, but this way it corresponds to what's
going on with math operations.

Same was done with RenderLayers operations.

Overall this gives 20% of bf_compositor library compilation
time decrease. And it was rather annoying to have tens of
files with just a single-line constructors anyway.

TODO:
- All Convert operations could also be merged into a single file,
  but that would require adding some ConvertBaseOperation to
  reduce code duplication (ideally). Leaving it unchanged for now.

- Some operations' headers seems to be wrongly including MixOperation
  header, they need to include NodeOperation instead it seems.

  This is rather harmless, but would be nice to doublecheck on this
  eventually.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59820 954f8c5b-7b00-dc11-b283-0030488c597c
add positive_mod() utility function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59821 954f8c5b-7b00-dc11-b283-0030488c597c
Extend mode option for MemoryBuffer reading in compositor. This will allow proper interpolation of pixel values when using wrapping in the Translate node. Implemented in inline functions, so won't cause
overhead if constant values are passed (as happens with most calls using the default argument).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59822 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36113, Translate's wrapping has 1 pixel gap in X and Y after scale node.
The issue with wrapping is that it requires correct interpolation of the border pixels. Since interpolation is done at the far left end of the node tree in buffer/image/etc read operations, the wrapping
setting can not be used directly in those operations (otherwise in-line translate operations would cause conflicts). To make wrapping work correctly we need to add a buffer in front of the translate
operation, which can then be interpolated correctly based on wrapping. The WrapOperation becomes a variant of ReadBufferOperation, which uses its wrapping setting to determine the correct "extend" mode
for interpolation of the buffer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59823 954f8c5b-7b00-dc11-b283-0030488c597c
Update Ceres to 1.7.0 release

For Blender this release is interesting because of:

- Covariance estimation (not used in Blender yet, but now we
  might use it for keyframe selection instead of havingown
  implementation).

- Significant performance improvements to loss function and
  dense linear solvers and automatic differentiation.

  Unfortunately, didn't notice speedup of tracking itself,
  but camera reconstruction now happens around 2 times faster
  on my laptop,

- Better inner iteration step acceptance and stopping.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59824 954f8c5b-7b00-dc11-b283-0030488c597c
grid-fill can now fill a single, closed edge loop.
the active vertex is used when possible, else the corner vertex is detected.

this should replace the grid-fill-manager addon by Alexander Nedovizin.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59826 954f8c5b-7b00-dc11-b283-0030488c597c
add function for rotating linked list so at item is last.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59827 954f8c5b-7b00-dc11-b283-0030488c597c
Removed unused variables used only in BLI_assert, this triggers compiler warning in release builds.

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

Adding a new node in Node Editor failed for "High DPI" (Only Mac retina now).

- Py script for adding nodes was doing dpi magic, which it shouldn't. It has 
  been replaced with a (temporary) API call to set the correct cursor location.
  (Thanks to Lukas T for helping here)

- The SpaceNode->cursor[2] property now is *only* storing the coordinate
  in "adding new node space". Use of this has been removed from the code where
  possible, with as only exception the code to draw noodles while adding them.

Special coder note: Nodes should respect the DPI value, and draw larger with
larger buttons if you increase this size. The hack here is that this can only
work nice if also the node positions are scaled accordingly.

A better fix could be to check on scaling the node view itself for it. That
then would also remove this Python API call that was added in this commit.
However, that again might fight with how buttons layout code works now...
needs some careful checking.





git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59835 954f8c5b-7b00-dc11-b283-0030488c597c
Tidy up paint options, patch by Sebastian Koenig, with minor changes
(ommit texture paint changes, they made the interface more difficult to
discern).

Also, move stroke input samples to stroke panel

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59836 954f8c5b-7b00-dc11-b283-0030488c597c
Compositor cleanup: Merge conversion operations into a single file (see also r59820).

Most convert operations can share a common base class with a single socket reader (except channel separate/combine nodes).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59837 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: use boolean instead of int for tracking API

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