Camera tracking: switch dopesheet information to lazy calculation

All operators which changes tracking data now just tags dopsheet as outdated,
actual re-calculaiton of happens only when this information is actually needed
(like on dopesheet draw).

This makes things a bit faster when there's no dopesheet visible in current
screen and also makes it much easier to update dopesheet using dependency
graph.

Also renamed dopesheet_sort_order to dopesheet_sort_method in rna and internal
stuff which makes much more sense and also correlated with naming in
file browser.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46249 954f8c5b-7b00-dc11-b283-0030488c597c
Possible fix for #31054: cycles viewport rendering not working with CUDA for
computation and ATI card for OpenGL.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46250 954f8c5b-7b00-dc11-b283-0030488c597c
Camera tracking: show disabled active track even if Show Disabled is switched off

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46251 954f8c5b-7b00-dc11-b283-0030488c597c
Style cleanup: spaces around operators

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


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

glreport.py now lists several more categories
        Toolkits like GLUT and GLU
        System librarys GLX, AGL, and WGL
        ES 1.1 (Common and Common-Light)
        ES 2.0
        Deprecated 1.x functions

Several other bug fixes.

OpenGL 1.0 and 1.1 enumerations have not been added to VERSION_1_0 and VERSION_1_1 files yet.

Set eol-style to native




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46256 954f8c5b-7b00-dc11-b283-0030488c597c
Small hull bmop fix, distance check from plane needs absolute value.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46257 954f8c5b-7b00-dc11-b283-0030488c597c
style checker tool - white space and line length checks (only check line lengths ending with ;)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46258 954f8c5b-7b00-dc11-b283-0030488c597c
There is no GLenum called LIGHT_POSITION

There is an FAQ that mentions a mythical GL_LIGHT_POSITION, and lots of programmers speak of it, but this mythical creature does not exist!

The correct symbol is GL_POSITION

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46259 954f8c5b-7b00-dc11-b283-0030488c597c
Fix related to #31118: ensure tesselated faces are available when exporting
to fluid sim. Is not actually the cause of the bug.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46260 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: tweak ATI OpenGL/CUDA fix more with extra error check.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46261 954f8c5b-7b00-dc11-b283-0030488c597c
Throw an error and prevent compilation if there're unknown structures detected by DNA

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

The glreport.py tool now recognizes OpenGL 1.0 and OpenGL 1.1 enumerations.
Renamed some files so they have more consistent names.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46263 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31286: saving 16 bit BW tiff could crash due to invalid memory access. Also
found that 16 bit RGBA saving was not working, fixed as well.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46264 954f8c5b-7b00-dc11-b283-0030488c597c
Fix: issue in strand render + instancing bugfix, also optimized it a bit to avoid
unnecessary memory allocations.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46265 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31288: Blender crash when select a material

Quite the same issue as render crash on missed shader groups, needed a NULL-check
in node exec function as well.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46269 954f8c5b-7b00-dc11-b283-0030488c597c
Renamed "fake" OpenGL identifiers.

Any identifier that looks like an OpenGL identifier, but isn't, causes a false alarm by the glreport.py tool.  Most of these were in comments so I just rephrased the comments.  There were a couple of static functions/macros that were easy enough to rename.  Only the glTexco and glIndex fields of the DMVertexAttribs struct was public and had non-local uses.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46270 954f8c5b-7b00-dc11-b283-0030488c597c
Fix: forgot to commit these files as part of strand bugfix.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46273 954f8c5b-7b00-dc11-b283-0030488c597c
Removed the automatic socket selection in the modal node linking operator.

This was originally reimplemented as part of the socket selection feature, but since selecting a socket necessarily also selected the owning node, it messes with the manual user selection of nodes too much (and doesn't add any additional usability).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46275 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use much simpler (and likely faster) polygon normal calculation in object mode.


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