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
small improvement to last commit and quiet double promotion warnings.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46277 954f8c5b-7b00-dc11-b283-0030488c597c
own mistake in recent commit CustomData_layertype_is_singleton()

was stopping bmesh python api adding multiple layers.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46278 954f8c5b-7b00-dc11-b283-0030488c597c
Patch [#30654] Wiki Quick Hack: Text editor move lines up/down
Submitted by: Justin Dailey (dail)

Patch allows the current line (or selected lines) to be moved up and down with
Ctrl+Shift+Up and Ctrl+Shift+Down. Has undo/redo support and operators in python
menu.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46279 954f8c5b-7b00-dc11-b283-0030488c597c
Patch [#31279] clarifiy a python error-string (when incorrectly specifying enum
items from python)

Thanks Philipp Oeser (lichtwerk)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46280 954f8c5b-7b00-dc11-b283-0030488c597c
First part of fix for [#31157]: Some (actually, 172) operators have no tooltip.

Notes:
* This commit adds about a third of missing tips (a few are rather dummy, as name already says everything, but better that than "(undocumented operator)" showing in UI!
* There is a problem with macros, their tips are not registered in RNA. Got a patch for this, will submit it to campbo asap.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46281 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31235] Limited Dissolve problems

this is in fact 2 bugs.
- unselected edges between 2 faces that were joined didnt get removed.
- in face mode, edges and verts at the boundary of the selection would get incorrectly dissolved.

also quiet float/double promotion warning.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46282 954f8c5b-7b00-dc11-b283-0030488c597c
Split do_versions into separate files for pre-2.50 versions and 2.5x versions

This should make it easier to navigate through readfile.c and also hopefully
will prevent corereview to fail parsing this file.



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