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
2022-03-14Auto-generate RNA-structs declarations in `RNA_prototypes.h`Julian Eisel
So far it was needed to declare a new RNA struct to `RNA_access.h` manually. Since 9b298cf3dbec we generate a `RNA_prototypes.h` for RNA property declarations. Now this also includes the RNA struct declarations, so they don't have to be added manually anymore. Differential Revision: https://developer.blender.org/D13862 Reviewed by: brecht, campbellbarton
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-12-02Cleanup: move public doc-strings into headers for 'python'Campbell Barton
2021-03-15Cleanup: update comments, remove ifdef'd codeCampbell Barton
2021-02-13Fix T85573: Building with Python 3.10a5 failsCampbell Barton
Replace deprecated _PyUnicode_AsString{AndSize} usage. T83626 still needs to be resolved before 3.10 is usable.
2020-04-03Cleanup: Rename ExtensionRNA variables from ext to rna_extJulian Eisel
Makes it more clear that code using this is related to the RNA integration of a type. Part of T74432. Also ran clang-format on affected files.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-08-17Cleanup: spellingCampbell Barton
2019-04-29Cleanup: comments (long lines) in pythonCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
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-03-29Cleanup: style, use braces for the Python APICampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
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-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.
2018-06-29Cleanup: trailing newlinesCampbell Barton
2017-09-04RNA/PyAPI: Expose Py classes in bpy.typesCampbell Barton
Operators and their properties are two different types Previously both operators and their properties are added causing C operators to access the properties, Python the classes. Favor consistency in this case so only Python classes are added.
2017-08-31RNA: Limit which classes struct-map containsCampbell Barton
Only add subclasses of: Menu, Panel, Header, UIList, Operator This helps avoid unnecessary naming collisions, See T52599 for details
2017-08-11RNA: Operators were excluded from struct mapCampbell Barton
Recent changes meant structs that were registered without a name wouldn't get added to the map. Now assigning identifiers manages the struct-map.
2017-06-09RNA: remove static strings from registrationCampbell Barton
* Static strings aren't needed anymore, use stack memory. * Fix obscure leak on failed macro registration. * Use prefix for wrappers exported from bpy module.
2014-04-26Code cleanup: use 'const' for arrays (python)Campbell Barton
2013-10-03fix [#36924] Calling .define(...) on Macro subclass crashes Blender, if ↵Campbell Barton
subclass wasn't registered
2013-03-22code cleanup: shadowing, adjust type.Campbell Barton
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-15Add the possibility to define the translation context for py rna classes ↵Bastien Montagne
(operators, panels and menus). Thanks to Campell and Brecht for the reviews!
2013-02-05add python api docstring for 'bpy.types.Operator.bl_property'Campbell Barton
2013-02-05fix [#34113] operator_menu_enum() - Tooltip not showing descriptionsCampbell Barton
Python wasn't able to set 'OperatorType.prop', which is used by uiButGetStrInfo(). add 'bl_property' to python operators which is assigned to OperatorType.prop when registering. (api docs coming next)
2013-01-07code cleanup: warnings and use stdbool for bpy* funcs.Campbell Barton
2012-03-27style cleanup: py apiCampbell Barton
2012-02-05Code Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function.Campbell Barton
2011-12-26formatting edits only to use more consisted styleCampbell Barton
2011-11-05documentation - brief descriptions for bpy api files.Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-13formatting edits & remove debug print.Campbell Barton
2011-10-05rename rna OperatorTypeMacro --> OperatorMacro, since operators types are ↵Campbell Barton
just called Operator
2011-05-09minor cleanup, no functional changes.Campbell Barton
2011-03-19C, style changes (mostly white space edits), no functional change.Campbell Barton
2011-03-02move anim functions out of bpy_rna.c, its getting too big.Campbell Barton
2011-02-27doxygen: blender/python tagged.Nathan Letwory
2011-02-14python api renaming and added headers for some files which didnt have one, ↵Campbell Barton
no functionality change.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-10-14UNUSED() macro so -Wunused-parameter can be used with GCC without so many ↵Campbell Barton
warnings. applied to python api and exotic.c, removed some args being passed down which were not needed. keyword args for new mathutils types were being ignored when they should raise an error.
2010-09-11pyrna: replace method for operators forwarding getattr/setattr access from ↵Campbell Barton
self.* to self.properties.*
2010-09-09- bugfix, operators were getting their properties registered twice.Campbell Barton
- operator properties are now converted into python property() class members which bypass the operator 'properties' member. self.properties.mysetting ... can now be written as ... self.mysetting - fix for error reloading rigify
2010-08-19- Properties from base classes are now registered too, this allows class ↵Campbell Barton
mix-in's to define properties. An example of how this is useful - an importer mixin could define the filepath properties and a generic invoke function which can run the subclasses exec for each selected file. - Panels and Menus now skip the property check when registering. - renamed _idproperties_ to _idprops_ in function names, function names were getting very long.
2010-08-13- remove WM_operatortype_exists since its almost the same as ↵Campbell Barton
WM_operatortype_find - hopefully fix reported problem with MSVC.
2010-03-16fix for nasty bug where registering properties would register them in the ↵Brecht Van Lommel
parent classes SRNA, made for confusing rigify args turning up in add sequencer adding collection. (commit 27433 by Campbell from render25 branch)
2010-03-14remove unused includesCampbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-01-19patch [#20724] Randomize Loc Rot Size py operator for B2.5Campbell Barton
written from scratch by Daniel Salazar (zanqdo). added own modifications. New property type bpy.props.FloatVectorProperty(), only difference with float is it takes a 'size' argument and optional 'default' sequence of floats. moved bpy.props.* functions out of bpy_rna.c into their own C file.
2010-01-16generic operator menu was searching for "type" and using the first enum ↵Campbell Barton
property if it wasnt found. this is too arbitrary and could break if roperty order is changed. store the property in the operator type that is to be used for menu and enum search func's. python function for searching operator enums on invoke. (just need dynamic python enums now) wm.invoke_search_popup(self)