style cleanup, also remove unused externs.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44812 954f8c5b-7b00-dc11-b283-0030488c597c
Bundle new upstream version of libmv from own branch

This version of libmv includes new gflags and glog libraries which makes
it possible to compile libmv with clang compiler.

Also remove code from CMakeLists which was disabling libmv if using clang.

Tested on linux with gcc-4.6 and clang-3.0, windows cmake+msvc and scons+mingw.
Could be some issues with other platforms/build system which shall be simple to resolve.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44813 954f8c5b-7b00-dc11-b283-0030488c597c
remove Object member from BMesh struct - was only used for undo and BMEditMesh already stores an object pointer.

also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44814 954f8c5b-7b00-dc11-b283-0030488c597c
Port changes from libmv/CMakeLists.txt to build rules files generator script

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44815 954f8c5b-7b00-dc11-b283-0030488c597c
Fix edge loop selection. Now boundary selection checks only for filled edges to determine when to stop and stops at vertices shared by only 2 edges.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44816 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh: edge loop select
    add support for loop selecting boundry edges only - handy for loop selecting the side of an ngon.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44818 954f8c5b-7b00-dc11-b283-0030488c597c
text delimiter - convert to unicode before comparing characters.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44819 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30472] 3d view objects not rendered, cycles.

holdout layer wasnt initializes in some cases.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44821 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: line length - some over 300 long.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44822 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup/bugfix uninitialized values
- edgebisect bmesh operator used uninialized beauty field.
- BLI_join_dirfile could read from before the string bounds when passed an empty dir string.
- pransform could use an uninitialized projected coordinate (unlikely but possible)
- RNA_property_path_from_ID_check would compare against an uninitialized pointer when the path wasn't found.

also have bmesh walker use BM_edge_other_vert() utility function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44823 954f8c5b-7b00-dc11-b283-0030488c597c
Fix msvc compilation errors. (__func__ undeclared)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44824 954f8c5b-7b00-dc11-b283-0030488c597c
Re-bundle libmv from own branch.

Should resolve compilation error on some platforms when using linux and
compilation error of libmv on FreeBSB.

It was a regression caused by not applied changes on config_linux.h
and some changes made to utilities.cc were also occasionally missed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44825 954f8c5b-7b00-dc11-b283-0030488c597c
Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD.
Thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44826 954f8c5b-7b00-dc11-b283-0030488c597c
Removing SWAP macro define from BLI_heap.c, already present in BLI_utildefines.h, giving compile error.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44827 954f8c5b-7b00-dc11-b283-0030488c597c
Style cleanup in blenfont (spaces, C++ comments, etc.).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44828 954f8c5b-7b00-dc11-b283-0030488c597c
Make knifetool more robust against crashes. Fix some hole problems.

Sometimes split would fail to make a face - make sure it doesn't
crash if that happens.
Chain finding code for holes would sometimes go back to same
vertex on the face, which causes problems, so fixe that.
Also, disallowed a cut that starts at a vertex or edge and
cycles back to that same point in a face - this would make
a face with a repeated vertex, which may not be handled by
the rest of the system properly.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44829 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30512: external render saved render result after reporting error.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44830 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: use again 10.5 as general deployment target ( pls verify 10.5 compatibility works with automatic weaklinking), use now then sdk which for sure exists, remove obsolete slash

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