Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-18Hopefully fix compilation with old MSVC2008/WIN32...Bastien Montagne
2014-06-17New python API for units handling.Bastien Montagne
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-16Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))Campbell Barton
2014-06-16Fix Python fails to execute text-blocks including non-mbcs chars (T35176, D595)Tamito Kajiyama
2014-06-03Code cleanup: replace macro with function to reduce binary sizeCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-30Fix T35176: Python fails with blend files from non-ASCII pathsCampbell Barton
Thanks to Tamito for updating the patch to support Freestyle!
2014-04-30Python: move to version 3.4x on all platformsCampbell Barton
2014-04-28PyC_RunQuicky: Print filename when its missingCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (python)Campbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-22Code cleanup: styleCampbell Barton
2014-02-14Py API: refactor py text compiling into its own functionCampbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-06Python API: utility function for filling a tuple with a single value.Campbell Barton
2013-12-23Code Cleanup: styleCampbell Barton
2013-12-23Move python threading stuff to own file in bf_python_extSergey Sharybin
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-02Blender Font (BLF): add length argument to string width/height functionsCampbell Barton
This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR
2013-11-17python api internals: no need to set the stop-iter exception string.Campbell Barton
2013-11-08fix for crash when deleting from an id property, with a non-string key.Campbell Barton
2013-10-17add local _PyLong_AsInt() needed for python older then 3.3.2Campbell Barton
2013-10-17add typechecks when assigning id-property arrays from python (overflows and ↵Campbell Barton
errors weren't detected) reduce/simplify exceptions more.
2013-10-17simplify & improve error handling for id-property python-api.Campbell Barton
2013-10-17fix [#37105] Long int IDproperties produces errors at weird spots.Campbell Barton
2013-10-16add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), ↵Campbell Barton
MEM_freeN().
2013-09-20correct include guards and add checks in check_style_c.py for them.Campbell Barton
2013-09-19replace macro PYC_INTERPRETER_ACTIVE for PyC_IsInterpreterActive() function ↵Campbell Barton
call, (indirectly referenced Python define of ~30 lines, most were optimized out but still caused some code bloat).
2013-07-09minor improvementsCampbell Barton
- 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-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-03-17code cleanup: add 'const' to headers to quiet msvc warnings, also remove ↵Campbell Barton
(char *) casts that aren't needed now we're on Python3.3
2013-03-10add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for ↵Campbell Barton
some areas of the python api, bmesh.
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-02-19minor change to own recent commit with transform fcurve centers and some ↵Campbell Barton
style edits and typo corrections.
2013-02-06fix for building blender as a python module,Campbell Barton
changes to internal import behavior of py3.3 broke it.
2013-02-06some fixes for building blender as a python module again (wip, more work ↵Campbell Barton
needed).
2013-01-09style cleanupCampbell Barton
2013-01-07code cleanup: warnings and use stdbool for bpy* funcs.Campbell Barton
2013-01-05This patch adds support in bpy.props for getter/setter callback functions. ↵Lukas Toenne
We already have update callbacks, but generic get/set functions can come in handy in some cases where the functionality is too complex to use a single value. The current C callback functions are too simple allow a straightforward implementation, in particular they don't receive the PropertyRNA pointer itself as an argument, which means the callback cannot directly access the PropertyRNA's py_data pointers which store the python function objects. For this reason a second runtime variant of these callbacks has been added. It is only used for runtime callbacks and not in makesrna, but otherwise works the same way.
2013-01-04expose common extensions for image/movie/audio types, since python scripts ↵Campbell Barton
had to do this internally. - bpy.path.extensions_image - bpy.path.extensions_movie - bpy.path.extensions_audio eg: if os.path.splitext(filename)[1].lower() in bpy.path.extensions_image: ... we have an image ...
2013-01-03add id property clear function (matching the same python function for ↵Campbell Barton
dicts/lists)
2012-12-28style cleanupCampbell Barton
2012-11-22add missing bgl and gpu api docstrings (found using docstring completeness ↵Campbell Barton
checker)
2012-11-21py api cleanup, replace use...Campbell Barton
- 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-18style cleanup: comments & spellingCampbell Barton
2012-11-09style cleanup: indentationCampbell Barton
2012-11-06was trying to make py import follow pythons own code more but broke py32 ↵Campbell Barton
compat. this should fix
2012-11-06fix for imp.reload() with Python3.3, function was recursively calling its self.Campbell Barton
2012-11-05default to Python3.3 on Linux for SCons and CMake, warn when building with ↵Campbell Barton
python 3.2x or older. also remove casts to keep Python3.2 warning quiet.
2012-11-03code cleanup: float <> double conversion.Campbell Barton