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
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
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-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-19Cleanup: add trailing commasCampbell Barton
Prevents clang-format merging into a single line.
2018-09-13PyAPI: remove operator methods that leak memoryCampbell Barton
2018-09-13PyAPI: add API call to get an operators typeCampbell Barton
Getting the instance leaks memory and was only meant to be used for generating docs.
2018-09-13Cleanup: _bpy.ops utility to lookup an operatorCampbell Barton
2018-09-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2018-06-04Cleanup: strip trailing space in Python moduleCampbell Barton
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2017-11-29Cleanup: rename bpy_util -> bpy_capi_utilsCampbell Barton
This is for internal CAPI use only, avoid confusion w/ bpy.utils module.
2017-10-05Fix setting the operator name in Py operator APICampbell Barton
2016-07-23Cleanup: styleCampbell Barton
2016-06-27Fix T48717: Modal operators called from Py omit reports from the UICampbell Barton
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-08-04Use PyC_ParseBool to parse boolsCampbell Barton
This could cause problems since they could be any int, then passed directly to internal functions that assume bools.
2015-07-12PyAPI: Use separate writes for operator reportsCampbell Barton
This allows us to temp override the stdout and extract individual reports
2015-03-16PyAPI: bpy.ops enum error was cut shortCampbell Barton
2015-01-06PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RETCampbell Barton
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.
2014-10-28WM: unneeded alloc the operator-type iteratorCampbell Barton
2014-08-13SpellingCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (python)Campbell Barton
2013-11-26User Interface: don't show macro args in tooltipsCampbell Barton
was often making much too big strings to show in a tip.
2013-11-07Fix [#34675] *AFTER 2.69* Info view shows duplicate operators with incorrect ↵Bastien Montagne
values of args Refactored a bit WM api to generate operator's pystring, now it can also handle correctly macro operators. Thanks to Campbell for the review!
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2013-01-07code cleanup: warnings and use stdbool for bpy* funcs.Campbell Barton
2012-08-22style cleanupCampbell Barton
2012-07-17code cleanup: spellingCampbell Barton
2012-06-28option so operators can be executed with undo enabled (and redo).Campbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-03-27style cleanup: py apiCampbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2011-12-26formatting edits only to use more consisted styleCampbell Barton
2011-11-26minor bpy api editsCampbell Barton
- strict check for rna properties - formatting edits (120 line width) - use PyDoc_STRVAR macros for getset docstrings
2011-11-05documentation - brief descriptions for bpy api files.Campbell Barton
2011-11-03python string conversionCampbell Barton
- use _PyUnicode_AsStringAndSize where possible - use %R for PyErr_Format(...) rather then running repr on the object explicitly - use const char
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20BLI_ghash.h was including BLI_blenlib.h, remove from ghash header and ↵Campbell Barton
include in each file
2011-10-13formatting edits & remove debug print.Campbell Barton
2011-10-05filter RNA classes for translation (removes over 1300 lines from messages.txt)Campbell Barton
- omit operators tagged as INTERNAL - omit classes for internal use: Event, Context, Property, Function, Window.
2011-08-26file-selector: when converting operator arguments to the file selector, ↵Campbell Barton
wasnt making paths absolute (abs paths are made relative when converting the other way).
2011-08-25error when a python operator gave an incorrect return value was near ↵Campbell Barton
useless, re-raise a more comprehensive error which includes the operator name.
2011-08-11use ghash for operator and menu types, was doing string lookup in the ↵Campbell Barton
operator list (containing over 1000 items) for each button draw. gives small speedup for UI drawing and overall startup time.
2011-08-05ifdef out support for for python owning and freeing BPy_StructRNA because ↵Campbell Barton
this is only used for doc generation and it makes _every_ blender/python instance 4 bytes bigger - vertex/bezier point/object/scene/group etc.
2011-08-04fix [#28114] Render CrashCampbell Barton
existing check for driver to use GIL was not thread safe and could cause, details in the report. This bug was caused by a check to avoid hanging, a fix for [#27683] that worked in 2.4x because the UI didn't use python to draw while rendering. Apply a different fix for [#27683], when calling an operator, call PyEval_SaveThread(), then PyEval_RestoreThread() so the GIL can be aquired by threads started by the operator - in this case bake starting a thread that evaluates drivers.
2011-05-10remove some duplicate declarationsCampbell Barton