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-06-02Cleanup: remove "<pep8 compliant>" from headersCampbell Barton
It can be assumed that all scripts comply with basic pep8 formatting regarding white-space, indentation etc. Also remove note in best practices page & update `tests/python/pep8.py`. If we want to exclude some scripts from make format, this can be done by adding them to `ignore_files` in: source/tools/utils_maintenance/autopep8_format_paths.py Or using `# nopep8` for to ignore for individual lines. Ref T98554
2022-05-31PyDoc: replace in-lined enum references with links where possibleCampbell Barton
Avoid in-lining large enums such as icons and event types, linking to them instead. This mitigates T76453, where long enums took a lot of space in the docs, this was a problem with `UILayout` where each icon argument would list all icons. [0] worked around the issue using CSS to scroll the list. However this has the draw-back where some items are clipped in a way that's not obvious, see: T87008. The reason this isn't a complete solution is that Python defined enums aren't written into their own pages which can be linked to, although currently there are no large Python enums included in the API docs. All in-lined enums are now under 20 items. [0]: 1e8f2665916c049748a3985a2fce736701925095
2022-05-23PyDoc: quiet output and minor cleanupCampbell Barton
Suppress printing unnecessary output when generating docs.
2022-05-23Fix float representation for Python API docsCampbell Barton
float_as_string(1000000) resulted in 1e+06.0 which isn't valid notation.
2022-05-18Fix T88792: WindowManager.clipboard missing in Python API docsCampbell Barton
Support RNA types using the Py/C-API PyGetSetDef defined properties. Currently `WindowManager.clipboard` is the only instance of this.
2022-04-19Fix missing C/Python methods in API docsCampbell Barton
The following methods weren't included in API docs. - BlendDataLibraries.load - BlendDataLibraries.write - Text.region_as_string - Text.region_from_string
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-03-06Cleanup: unused variablesCampbell Barton
2020-05-29Cleanup: line length, single quote enums, invalid URLCampbell Barton
2019-11-15PyAPI: add class and module attributes to rna_info.InfoStructRNACampbell Barton
Module access is needed for documentation generation to exclude non built-in modules. This also fixes a bug creating references to non built-in types.
2019-09-09Cleanup: trailing space, remove tabs, pep8Campbell Barton
2019-03-15Cleanup: unused importsCampbell Barton
2019-01-30Cleanup: line lengthCampbell Barton
2018-11-26Cleanup: unused vars, importsCampbell 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-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2017-09-20Fix T52842: Incorrect description for bpy.types.MeshTextureFace.uvBastien Montagne
Tweak rna_info module to generate valid info also for multi-dimensional arrays.
2017-09-20Fix rna_info.py module, broken by recent changes in bpy.types presumably.Bastien Montagne
Hope fix is OK, seems to work with API generation script at least.
2017-09-04PyAPI: fix rna_info for changes in type accessCampbell Barton
2016-07-30Cleanup: pep8Campbell Barton
2015-06-07Cleanup: pep8Campbell Barton
2015-05-12Doc: minor fixesCampbell Barton
- check for class/static methods assumed nonzero args. - subclass references and set-flag items are now sorted. - use 'order' for Py operator mix-ins, so operator settings don't show in random order.
2014-12-18Fix T42943: Crash with multiple calls to rna_info.BuildRNAInfo()Campbell Barton
Thanks to @nesse for the fix
2013-11-19Code Cleanup: style, spelling and pep8 editsCampbell Barton
2013-09-30lots of operator descriptions were incorrectly copy/pasted.Campbell Barton
update some descriptions, others were removed and operators tagged as internal. add a script to detect duplicate operator descriptions.
2013-09-18fix for missing attribute is_argument_optional when generating docs.Campbell Barton
also use __slots__ for classes.
2013-08-27Followup to r59536: make "is_argument_optional" available to py, and use it ↵Bastien Montagne
in API doc generation. Thanks Campbell for the much better name suggestion!
2013-05-09fix rna_info, python method to C function wasn't being tested for. (broke ↵Campbell Barton
changelog generator)
2012-10-08style cleanup: pep8Campbell Barton
2012-07-03Style edit (mostly), use """ for docstrings (not ''').Bastien Montagne
Should also fix the broken py ops tips...
2012-06-20style cleanupCampbell Barton
2011-10-17correct spelling errors in commentsCampbell Barton
2011-09-15- include enum names and descriptions in sphinx generated documentationCampbell Barton
- add descriptions for operator bl_options
2011-08-08use static sets rather then tuples, python optimizes this case.Campbell Barton
minor change to lightmap unpack collecting unique meshes.
2011-03-25fix [#26601] Python error when use of autocompleteCampbell Barton
Was a naming collision with 'keys' python method, reserve keys/items/values/get for python. Updated animsys_update.py for shapekey data paths. renamed: Particle.hair --> hair_keys Particle.keys --> particle_keys Key.keys --> key_blocks EnumProperty.items --> enum_items KeyMap.items --> keymap_items noted: http://wiki.blender.org/index.php/Dev:2.5/Py/API/Updates#Since_2.56a
2011-03-22fix [#25688] undocumted functions in pyapiCampbell Barton
expose collection function docs.
2011-03-14bpy.types.libraries.load sphinx doc & examples (doc system needed some updates).Campbell Barton
http://www.blender.org/documentation/blender_python_api_2_56_3/bpy.types.BlendDataLibraries.html#bpy.types.BlendDataLibraries.load
2011-02-16enum-flag arguments were incorrectly documented.Campbell Barton
2010-10-15== rna info ==Luca Bonavita
changing from __repr__ to __str__ after discussing with campbell was annyoing me when testing things, huge printouts :)
2010-09-19remove redundant []'s for list comprehension's, py2.4+ supports this.Campbell Barton
2010-09-18use is rather then == when comparing against None.Campbell Barton
2010-09-07ran through pep8 checkerCampbell Barton
2010-08-19fixes for recent renamingCampbell Barton
2010-08-18more rna renaming.Campbell Barton
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-08-17document rna functions that have the no_self flag set as classmethodsCampbell Barton
2010-08-17- rna_info.py now outputs array length with types eg. float[16].Campbell Barton
- corrected rna property name Controller.states -> state (pointed out by Dalai). - rna_cleaner_merge script now only merges comment and new name.
2010-08-10include rna parent class names in renaming listCampbell Barton
2010-07-15change some references to .B.blend, .Blog to new namesCampbell Barton
2010-07-14- text3d was missing menu items for toggling bold/underline/italic/smallcaps.Campbell Barton
- made smallcaps use a temp flag so caps can still have the smallcaps flag. - utility function for getting the char from a font. find_vfont_char(), was inline in ~5 places. - removed CU_STYLE mix of flags only used in one place, not needed. removed 'style' from rna too. - fix for some warnings.