style cleanup: for loop macros, also add a config file for uncrustify source formatter (able to get very close to our own style guide).



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45643 954f8c5b-7b00-dc11-b283-0030488c597c
disallow invalid mingw configurations, not just disable by default but disallow the built to run if they are set by the developer.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45644 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45645 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30948: add scene > copy settings did not copy settings like units, audio, game
data, and tool settings.

What exactly should be copied is a bit up to interpretation, but I think these make
sense, and things like audio or game data used to be part of render settings which
do get copied so at least for those it was a regression.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45646 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30949: live unwrap when marking seams did not work with bmesh.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45647 954f8c5b-7b00-dc11-b283-0030488c597c
qtcreator/netbeans generators: fix for error getting project info when svn isnt found (common on windows)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45648 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#30959] "undocumented operator" tooltip for Collada im- and export

* Also change UI name for ColorRamp node in rna_nodetree_types.h (Had a different name than in the actual UI) 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45649 954f8c5b-7b00-dc11-b283-0030488c597c
fix incorrect use of PLATFORM_DEFAULT with cmake

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45650 954f8c5b-7b00-dc11-b283-0030488c597c
Tweak knife/unwrap tesselation code a bit, it uses a random offset, now also
seed the random number generator to at least make these operator repeatable.

I don't know why it is using random numbers at all, we should really not be
doing this in my opinion, but I don't understand why it's being done so won't
remove it.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45651 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30960: various mesh operators were missing tooltip descriptions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45652 954f8c5b-7b00-dc11-b283-0030488c597c
make ngon_perimeter into a public api function and expose to python.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45653 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30952: uv unwrapper not working as well as 2.62 on some topologies, let the
unwrapper itself decide how to split quads since it has specific checks for the
best unwrapping split built in, gives better results.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45654 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#30954] Fluid obstacle checkbox has no effect

Needs testing for sideeffects. 

If there are negative sideeffects, revert commit and mark as "will not fix"/"not supported"/"needs UI fix".

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45655 954f8c5b-7b00-dc11-b283-0030488c597c
BGE bug #30515: Sensor physics mode missing UI for use_actor option. This option tells whether the sensor object is only affected by objects that have the Actor option on or any object. The option was missing from the UI.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45656 954f8c5b-7b00-dc11-b283-0030488c597c
BGE bug #30555: crash in Replace Mesh when physics shape is triangle mesh and new mesh has no collision faces. The fix consists in keeping the previous physics shape, which is not quite correct, but the situation is unusual anyway.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45657 954f8c5b-7b00-dc11-b283-0030488c597c
Style cleanup (mostly line length, also no final point in tips...).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45658 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30956] Unwrapping, Lightmap Pack broken


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45659 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: minor edits, use function for getting console module.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45660 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bug [#30953] Changing brush preset irreversibly undoes things

Remove REGISTER/UNDO flags from brush preset operator.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45661 954f8c5b-7b00-dc11-b283-0030488c597c
add 'idprop' module so we can document idprop.types.*, currently doc generator has no access to ID Property types.


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