2242022653 
					 
					
						
						
							
							PyAPI: Replace importlib.reload, not 'imp'  
						
						 
						
						
						
						
					 
					
						2015-01-23 16:37:30 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bf0c8e116d 
					 
					
						
						
							
							PyAPI: add PyList_APPEND  
						
						 
						
						... 
						
						
						
						This appends while giving ownership to the list, avoiding temp assignment.
This matches PyList_SET_ITEM which bypasses refcount's
Note, this also reduce code-size, Py_DECREF is a rather heavy macro. 
						
						
					 
					
						2015-01-06 19:09:53 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9fd569a654 
					 
					
						
						
							
							PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RET  
						
						 
						
						... 
						
						
						
						Setting all values of a tuple is such a common operation that it deserves its own macro.
Also added Py_INCREF_RET to avoid confusing use of comma operator. 
						
						
					 
					
						2015-01-06 19:09:11 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						aab4f2b762 
					 
					
						
						
							
							cleanup: redundant casts & const cast correctness  
						
						 
						
						
						
						
					 
					
						2015-01-01 23:42:28 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3da1a75b74 
					 
					
						
						
							
							correct recent cleanup for id-property types  
						
						 
						
						
						
						
					 
					
						2014-12-18 02:06:57 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7b0d6a1e6c 
					 
					
						
						
							
							SCons: correct include for win, also minor cleanup  
						
						 
						
						
						
						
					 
					
						2014-11-24 09:56:24 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						43fa4baa6c 
					 
					
						
						
							
							Refactor: BLI_path_util (part 2)  
						
						 
						
						... 
						
						
						
						Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util 
						
						
					 
					
						2014-11-23 18:55:52 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6e17fb8fe3 
					 
					
						
						
							
							Fix T42593: Rigify crash when I press "Generate" - corrupted IDGroup's listbase of children  
						
						 
						
						... 
						
						
						
						Nothing related to rigify actually, recent hack in py handling of IDProp (rB3346ab03)
was breaking integrity of IDGroup's listbase of children IDProps...
Took me hours to nail this down, should have bisected for once. :/ 
						
						
					 
					
						2014-11-14 16:42:49 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3346ab0348 
					 
					
						
						
							
							Fix/workaround T37073: Crash updating custom props visible in the UI  
						
						 
						
						
						
						
					 
					
						2014-11-10 17:10:58 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8d084e8c8f 
					 
					
						
						
							
							Ghost Context Refactor  
						
						 
						
						... 
						
						
						
						https://developer.blender.org/D643 
Separates graphics context creation from window code in Ghost so that they can vary separately. 
						
						
					 
					
						2014-10-07 15:47:32 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						85945a8b86 
					 
					
						
						
							
							Add debug information for maximum opengl limits in system info  
						
						 
						
						... 
						
						
						
						generation. 
						
						
					 
					
						2014-08-28 12:19:59 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3e41c8ad6f 
					 
					
						
						
							
							Fix compilation error with debug scons  
						
						 
						
						... 
						
						
						
						The issue is that we've got hell with DEBUG and _DEBUG,
theu're defined really inconsistent acros CMake and SCons.
Used more reliable NDEBUG definition for IDP_spit. 
						
						
					 
					
						2014-08-11 20:58:42 +06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						00b29156e0 
					 
					
						
						
							
							Defines: replace ELEM3-16 with ELEM(...), that can take varargs  
						
						 
						
						
						
						
					 
					
						2014-07-20 01:33:40 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9f05588b68 
					 
					
						
						
							
							Python: remove redundant casts  
						
						 
						
						
						
						
					 
					
						2014-07-01 14:10:59 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						87930eb7c2 
					 
					
						
						
							
							Hopefully fix compilation with old MSVC2008/WIN32...  
						
						 
						
						
						
						
					 
					
						2014-06-18 10:32:25 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f94b87bbb8 
					 
					
						
						
							
							New python API for units handling.  
						
						 
						
						... 
						
						
						
						Exposes all supported unit systems & types, and to_value()/to_string() functions.
Reviewed and enhanced by CampbellBarton, many thanks!
Differential Revision: https://developer.blender.org/D416  
						
						
					 
					
						2014-06-17 16:03:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f2a0062042 
					 
					
						
						
							
							Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))  
						
						 
						
						
						
						
					 
					
						2014-06-17 02:47:57 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f325ddb0d7 
					 
					
						
						
							
							Fix Python fails to execute text-blocks including non-mbcs chars (T35176, D595)  
						
						 
						
						
						
						
					 
					
						2014-06-16 15:29:25 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b460674d64 
					 
					
						
						
							
							Code cleanup: replace macro with function to reduce binary size  
						
						 
						
						
						
						
					 
					
						2014-06-03 19:25:07 +10: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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4d1a109dde 
					 
					
						
						
							
							Fix T35176: Python fails with blend files from non-ASCII paths  
						
						 
						
						... 
						
						
						
						Thanks to Tamito for updating the patch to support Freestyle! 
						
						
					 
					
						2014-04-30 23:43:01 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b96d531bc9 
					 
					
						
						
							
							Python: move to version 3.4x on all platforms  
						
						 
						
						
						
						
					 
					
						2014-04-30 23:19:16 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3d9b4159a4 
					 
					
						
						
							
							PyC_RunQuicky: Print filename when its missing  
						
						 
						
						
						
						
					 
					
						2014-04-29 02:55:59 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e73d0f57a3 
					 
					
						
						
							
							Code cleanup: use 'const' for arrays (python)  
						
						 
						
						
						
						
					 
					
						2014-04-27 00:25:15 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						617557b08e 
					 
					
						
						
							
							Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define  
						
						 
						
						
						
						
					 
					
						2014-04-01 15:22:28 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b7fa08f88a 
					 
					
						
						
							
							Code cleanup: style  
						
						 
						
						
						
						
					 
					
						2014-02-22 11:14:15 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						43c478a36a 
					 
					
						
						
							
							Py API: refactor py text compiling into its own function  
						
						 
						
						
						
						
					 
					
						2014-02-14 22:03:09 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a5c35fb27f 
					 
					
						
						
							
							Code cleanup: use booleans where appropriate  
						
						 
						
						
						
						
					 
					
						2014-01-28 04:00:04 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						90efa345c2 
					 
					
						
						
							
							Python API: utility function for filling a tuple with a single value.  
						
						 
						
						
						
						
					 
					
						2014-01-06 16:46:00 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0a5e00e8e8 
					 
					
						
						
							
							Code Cleanup: style  
						
						 
						
						
						
						
					 
					
						2013-12-24 05:04:29 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3cc7978f19 
					 
					
						
						
							
							Move python threading stuff to own file in bf_python_ext  
						
						 
						
						... 
						
						
						
						This way blender player can easily use BPY_thread_save/restore.
Not so much important for master branch, but crucial to solve
linking issues in threaded depsgraph branch. 
						
						
					 
					
						2013-12-23 23:14:10 +06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1815225faa 
					 
					
						
						
							
							Blender Font (BLF): add length argument to string width/height functions  
						
						 
						
						... 
						
						
						
						This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR 
						
						
					 
					
						2013-12-02 21:10:07 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						85bbef0f4e 
					 
					
						
						
							
							python api internals: no need to set the stop-iter exception string.  
						
						 
						
						
						
						
					 
					
						2013-11-17 15:09:57 +11:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bbade535fb 
					 
					
						
						
							
							fix for crash when deleting from an id property, with a non-string key.  
						
						 
						
						
						
						
					 
					
						2013-11-08 08:46:43 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6d5024828b 
					 
					
						
						
							
							add local _PyLong_AsInt() needed for python older then 3.3.2  
						
						 
						
						
						
						
					 
					
						2013-10-17 09:58:36 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d3a89fc9b7 
					 
					
						
						
							
							add typechecks when assigning id-property arrays from python (overflows and errors weren't detected)  
						
						 
						
						... 
						
						
						
						reduce/simplify exceptions more. 
						
						
					 
					
						2013-10-17 03:18:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a619de52cf 
					 
					
						
						
							
							simplify & improve error handling for id-property python-api.  
						
						 
						
						
						
						
					 
					
						2013-10-17 02:57:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f5660a05b1 
					 
					
						
						
							
							fix [ #37105 ] Long int IDproperties produces errors at weird spots.  
						
						 
						
						
						
						
					 
					
						2013-10-17 02:36:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						089d0ad8f9 
					 
					
						
						
							
							add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), MEM_freeN().  
						
						 
						
						
						
						
					 
					
						2013-10-16 05:29:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d6b21df2e6 
					 
					
						
						
							
							correct include guards and add checks in check_style_c.py for them.  
						
						 
						
						
						
						
					 
					
						2013-09-19 23:17:52 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4dd7d4110a 
					 
					
						
						
							
							replace macro PYC_INTERPRETER_ACTIVE for PyC_IsInterpreterActive() function call,  
						
						 
						
						... 
						
						
						
						(indirectly referenced Python define of ~30 lines, most were optimized out but still caused some code bloat). 
						
						
					 
					
						2013-09-18 23:21:24 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						14ab39c5e0 
					 
					
						
						
							
							minor improvements  
						
						 
						
						... 
						
						
						
						- calc normals only check flag when needed.
- keymap, dont get name unless its needed.
- keymap, avoid property lookup.
- idprop debug print, include pointer, helpful for troubleshooting. 
						
						
					 
					
						2013-07-09 00:13:17 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						418011907c 
					 
					
						
						
							
							remove nan copyrights from code added since blender become opensource (copy paste errors), also remove BKE_script.h  
						
						 
						
						
						
						
					 
					
						2013-07-02 10:14:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						225c5fee6b 
					 
					
						
						
							
							move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)  
						
						 
						
						... 
						
						
						
						remove MEM_sys_types.h which was a duplicate. 
						
						
					 
					
						2013-05-28 19:35:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						16b82845ee 
					 
					
						
						
							
							code cleanup: add 'const' to headers to quiet msvc warnings, also remove (char *) casts that aren't needed now we're on Python3.3  
						
						 
						
						
						
						
					 
					
						2013-03-17 18:30:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f9f7070336 
					 
					
						
						
							
							add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for some areas of the python api, bmesh.  
						
						 
						
						
						
						
					 
					
						2013-03-10 06:18:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ddddb7bab1 
					 
					
						
						
							
							code cleanup: favor braces when blocks have mixed brace use.  
						
						 
						
						
						
						
					 
					
						2013-03-09 03:46:30 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						098e4234b1 
					 
					
						
						
							
							minor change to own recent commit with transform fcurve centers and some style edits and typo corrections.  
						
						 
						
						
						
						
					 
					
						2013-02-19 02:30:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						12ef1b63e2 
					 
					
						
						
							
							fix for building blender as a python module,  
						
						 
						
						... 
						
						
						
						changes to internal import behavior of py3.3 broke it. 
						
						
					 
					
						2013-02-06 13:14:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c80db5878b 
					 
					
						
						
							
							some fixes for building blender as a python module again (wip, more work needed).  
						
						 
						
						
						
						
					 
					
						2013-02-06 13:07:45 +00:00