9b89de2571 
					 
					
						
						
							
							Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX  
						
						... 
						
						
						
						Also use doxy style function reference `#` prefix chars when
referencing identifiers. 
						
						
					 
					
						2021-07-04 00:43:40 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f1e4903854 
					 
					
						
						
							
							Cleanup: full sentences in comments, improve comment formatting  
						
						
						
						
					 
					
						2021-06-26 21:50:48 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						efa7aaa97f 
					 
					
						
						
							
							Cleanup: use const variables where possible in the Python API  
						
						
						
						
					 
					
						2020-08-20 16:10:13 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3d48d99647 
					 
					
						
						
							
							Cleanup: Python, Clang-Tidy else-after-return fixes  
						
						... 
						
						
						
						This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/python` module.
No functional changes. 
						
						
					 
					
						2020-08-07 13:38:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2bc791437e 
					 
					
						
						
							
							Cleanup: use 'r_' prefix for output arguments  
						
						... 
						
						
						
						Also pass some args as 'const'. 
						
						
					 
					
						2020-03-25 17:58:58 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2a6df7dfe5 
					 
					
						
						
							
							Cleanup: use named unsigned types in the Python API  
						
						
						
						
					 
					
						2020-02-20 15:40:05 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						03b2371387 
					 
					
						
						
							
							Cleanup: move trailing comments to avoid wrapping code  
						
						... 
						
						
						
						Some statements were split across multiple lines because of their
trailing comments.
In most cases it's clearer to put the comments above. 
						
						
					 
					
						2019-08-14 23:32:24 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						778542fd8f 
					 
					
						
						
							
							Cleanup: comments (long lines) in python  
						
						
						
						
					 
					
						2019-04-29 20:01:10 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						41d4a19865 
					 
					
						
						
							
							ClangFormat: format '#if 0' code in source/  
						
						
						
						
					 
					
						2019-04-17 08:24:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e12c08e8d1 
					 
					
						
						
							
							ClangFormat: apply to source, most of intern  
						
						... 
						
						
						
						Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat  
						
						
					 
					
						2019-04-17 06:21:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						25ec4b437f 
					 
					
						
						
							
							Cleanup: style, use braces for the Python API  
						
						
						
						
					 
					
						2019-03-30 07:14:28 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						de13d0a80c 
					 
					
						
						
							
							doxygen: add newline after \file  
						
						... 
						
						
						
						While \file doesn't need an argument, it can't have another doxy
command after it. 
						
						
					 
					
						2019-02-18 08:22:12 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eef4077f18 
					 
					
						
						
							
							Cleanup: remove redundant doxygen \file argument  
						
						... 
						
						
						
						Move \ingroup onto same line to be more compact and
make it clear the file is in the group. 
						
						
					 
					
						2019-02-06 15:45:22 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						65ec7ec524 
					 
					
						
						
							
							Cleanup: remove redundant, invalid info from headers  
						
						... 
						
						
						
						BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
  Developers should add non license comments as separate comment blocks.
  No need for separator text.
- Contributors
  This is often invalid, outdated or misleading
  especially when splitting files.
  It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits. 
						
						
					 
					
						2019-02-02 01:36:28 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1e4aab36c2 
					 
					
						
						
							
							Cleanup: remove redundant BKE/BLI/BIF headers  
						
						
						
						
					 
					
						2019-01-26 21:20:25 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ddee0931b8 
					 
					
						
						
							
							RNA: use bool for boolean RNA types  
						
						... 
						
						
						
						We were using int's for bool arguments in BKE,
just to avoid having wrapper functions. 
						
						
					 
					
						2018-07-01 15:57:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7719c11006 
					 
					
						
						
							
							Cleanup: strip trailing space in Python module  
						
						
						
						
					 
					
						2018-06-04 08:54:40 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						017c731cf3 
					 
					
						
						
							
							Logging: use for Python API  
						
						... 
						
						
						
						Adds categories "bpy.context" & "bpy.rna" 
						
						
					 
					
						2018-04-02 13:13:57 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7adc698eed 
					 
					
						
						
							
							Cleanup: order BLI before BKE headers  
						
						... 
						
						
						
						This was done nearly everywhere already 
						
						
					 
					
						2017-11-14 17:23:40 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						46cf33bf01 
					 
					
						
						
							
							PyAPI: Make use of PyC_LongAs... API  
						
						... 
						
						
						
						Avoids setting exceptions inline,
also use Matrix_ParseAny for bmesh.ops.
Some inline exceptions are kept because they show useful details. 
						
						
					 
					
						2017-08-20 15:49:10 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						846080e6bc 
					 
					
						
						
							
							Fix Py API array assignment not clamping values  
						
						
						
						
					 
					
						2016-03-08 15:33:28 +11:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						af86b008b2 
					 
					
						
						
							
							Include removal gave problems with windows, ifdef some back in for windows only  
						
						
						
						
					 
					
						2014-05-01 07:21:08 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb48c0ceea 
					 
					
						
						
							
							Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a."  
						
						... 
						
						
						
						This reverts commit a47a4ef82f 
						
						
					 
					
						2014-05-01 07:20:46 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a47a4ef82f 
					 
					
						
						
							
							Fix msvc 2013 compiler errors after the ingenious cleanup in  4ca67869cc.  
						
						
						
						
					 
					
						2014-04-30 23:16:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4ca67869cc 
					 
					
						
						
							
							Code cleanup: remove unused includes  
						
						... 
						
						
						
						Opted to keep includes if they are used indirectly (even if removing is possible). 
						
						
					 
					
						2014-05-01 04:47:51 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a15b3c4d11 
					 
					
						
						
							
							Code cleanup: use bool  
						
						
						
						
					 
					
						2014-04-11 11:33:29 +10:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7db1d6556d 
					 
					
						
						
							
							code cleanup: add break statements in switch ()'s, (even at the last case).  
						
						
						
						
					 
					
						2013-07-21 08:16:37 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						37d1984c53 
					 
					
						
						
							
							edit on own commit r57801, don't check the size of dynamic arrays  
						
						
						
						
					 
					
						2013-07-08 01:28:43 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						46808dd22c 
					 
					
						
						
							
							fix for python api bug: assigning the wrong size array to an RNA property wasn't checking the length and could crash, eg:  
						
						... 
						
						
						
						mesh.polygons[0].vertices = (10,) 
						
						
					 
					
						2013-06-27 01:01:11 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8107c543ec 
					 
					
						
						
							
							remove redundant casts  
						
						
						
						
					 
					
						2013-06-27 00:37:42 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3fd388fb06 
					 
					
						
						
							
							py api cleanup, replace use...  
						
						... 
						
						
						
						- PyLong_FromSsize_t --> PyLong_FromLong
- PyLong_AsSsize_t --> PyLong_AsLong
In all places except for those where python api expects PySsize_t (index lookups mainly).
- use PyBool_FromLong in a few areas of the BGE.
- fix incorrect assumption in the BGE that PySequence_Check() means PySequence_Fast_ functions can be used. 
						
						
					 
					
						2012-11-21 02:28:36 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						818710f082 
					 
					
						
						
							
							* Windows compile fix for __func__ (r51642)  
						
						
						
						
					 
					
						2012-10-26 18:06:14 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0e494b74c4 
					 
					
						
						
							
							style cleanup  
						
						
						
						
					 
					
						2012-10-26 04:14:10 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						32cf7fcdb1 
					 
					
						
						
							
							code cleanup: spelling  
						
						
						
						
					 
					
						2012-07-16 23:23:33 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5b88712ff9 
					 
					
						
						
							
							move debug flag into its own global var (G.debug), split up debug options.  
						
						... 
						
						
						
						--debug
  --debug-ffmpeg
  --debug-python
  --debug-events
  --debug-wm
This makes debug output easier to read - event debug prints would flood output too much before.
For convenience:
  --debug-all turns all debug flags on (works as --debug did before).
also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context. 
						
						
					 
					
						2012-03-31 00:59:17 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						abf551b1a5 
					 
					
						
						
							
							style cleanup: py api  
						
						
						
						
					 
					
						2012-03-26 20:41:54 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						70d3d1aca6 
					 
					
						
						
							
							style cleanup: py/capi  
						
						
						
						
					 
					
						2012-03-16 21:39:56 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3590076193 
					 
					
						
						
							
							style cleanup - comment formatting  
						
						
						
						
					 
					
						2012-03-03 20:36:09 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e17fd46c71 
					 
					
						
						
							
							formatting edits only to use more consisted style  
						
						
						
						
					 
					
						2011-12-26 12:26:11 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c9f1ca961a 
					 
					
						
						
							
							fix for matrix assignment with recent changes which broke for eg:  
						
						... 
						
						
						
						ob.matrix_world = matrix 
						
						
					 
					
						2011-12-22 08:44:08 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d52a811052 
					 
					
						
						
							
							minor bpy api edits  
						
						... 
						
						
						
						- strict check for rna properties
- formatting edits (120 line width)
- use PyDoc_STRVAR macros for getset docstrings 
						
						
					 
					
						2011-11-26 15:18:30 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2b939904ab 
					 
					
						
						
							
							documentation - brief descriptions for bpy api files.  
						
						
						
						
					 
					
						2011-11-05 08:21:12 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4a04f72069 
					 
					
						
						
							
							remove $Id: tags after discussion on the mailign list:  http://markmail.org/message/fp7ozcywxum3ar7n  
						
						
						
						
					 
					
						2011-10-23 17:52:20 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						276e5f7095 
					 
					
						
						
							
							formatting edits & remove debug print.  
						
						
						
						
					 
					
						2011-10-13 01:29:08 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						928e2784c6 
					 
					
						
						
							
							py api  
						
						... 
						
						
						
						- use Py_ssize_t when dealing with python sequence sizes
- dont call PySequence_Size(py_b) in a loop (its slow).
- use faster sequence/float parsing in aud.Factory.filter 
						
						
					 
					
						2011-09-27 05:28:06 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4262bd2906 
					 
					
						
						
							
							fix [ #28196 ] Unwrap tris in lightmap pack  
						
						
						
						
					 
					
						2011-08-09 20:00:53 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						897b570c1a 
					 
					
						
						
							
							ulti line formatting for PyErr_Format calls (no functional change)  
						
						
						
						
					 
					
						2011-06-17 02:26:34 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1356082063 
					 
					
						
						
							
							fix [ #27681 ] Python: crash assigning a 'set' to an array  
						
						
						
						
					 
					
						2011-06-17 02:22:38 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cadc1218c8 
					 
					
						
						
							
							C, style changes (mostly white space edits), no functional change.  
						
						
						
						
					 
					
						2011-03-19 11:12:48 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						91f4a4d7e1 
					 
					
						
						
							
							fix [ #26323 ] Crash when adding to a vertex group with a raw in  
						
						
						
						
					 
					
						2011-03-05 05:02:37 +00:00