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-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
2012-11-03style cleanup: tabs & whitespaceCampbell Barton
2012-11-01fix [#30910] Problems: Add Shortcut(s) for "Ctrl Tab" menuCampbell Barton
comparing keymaps was too sloppy or too strict, now sloppy keymap comparison works by setting all the operator properties to their default values if they are not already set, then compare this with the keymap item (ignoring values missing from either one). ... this way any non default keymap setting wont match with an operator menu item which doesnt set this operator at all (a problem sighted in this bug report). developer notes: - IDP_EqualsProperties_ex() function adds an argument to treat missing members of either group to act as if there is a match. - WM_operator_properties_default() function to reset RNA values to their defaults. - add IDP_spit(), debug only function to print out ID properties.
2012-10-31add IDP_MergeGroup(dst, src, overwrite) function,Campbell Barton
like PyDict_Merge()
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-12optimization for PyObject -> ID-property sequence conversion, use ↵Campbell Barton
PySequence_Fast.
2012-10-12quiet clang static checker warning by returning an error for invalid ↵Campbell Barton
situation getting an IDProp mapping from a PyObject. also print the path installed to when installing an addon.
2012-10-09code cleanup: make header defines more consistent, JOYSENSOR header guard ↵Campbell Barton
had a typo too.
2012-10-06toggle cut through in the knife tool now refreshes (before you had to wave ↵Campbell Barton
the mouse about to see the result). also remove print from last commit.
2012-10-06fix [#32779] Bmesh module: assigning to bm.select_mode crashes Blender if ↵Campbell Barton
bmesh is empty was missing set typecheck
2012-09-28code cleanup: correct spellingCampbell Barton
2012-09-08style cleanupCampbell Barton