Campbell Barton
f96a73961a
Cleanup: avoid "nullptr" in Python strings & error messages
...
This is a C++ term not expected in exceptions and messages.
2025-08-12 13:32:41 +10:00
Campbell Barton
83a489d9ac
Cleanup: remove commented code
...
These errors are handled by exceptions.
2025-07-27 12:49:02 +10:00
Brecht Van Lommel
27accea53e
Cleanup: Various clang-tidy warnings in python
...
Pull Request: https://projects.blender.org/blender/blender/pulls/133734
2025-01-31 17:03:18 +01:00
Campbell Barton
d2d754be3f
Cleanup: spelling in comments (make check_spelling*)
...
- Back-tick quote math expressions so differentiate them
from English.
- Use doxygen code blocks for TEX expressions.
2025-01-04 16:26:39 +11:00
Bastien Montagne
22477956e2
Refactor: Move BPY main/public extern headers to proper C++ ones.
...
Pull Request: https://projects.blender.org/blender/blender/pulls/128081
2024-09-25 18:04:33 +02:00
Bastien Montagne
c3247aa4f0
Refactor: Move BPY generic headers to proper C++ ones.
...
NOTE: `bgl.h` was left unchanged, as it is deprecated code anyway, and
its conversion to C++ does not seem immediately trivial.
2024-09-25 18:04:27 +02:00
Bastien Montagne
4fac7828e4
Refactor: Move BPY mathutils headers to proper C++ ones.
...
This module actually was confusing, since only a few headers were
effectively still C ones (using the `extern "C"` blocks)...
2024-09-25 18:04:27 +02:00
Bastien Montagne
91e4bcd204
Refactor: Move BPY intern bpy_rna headers to proper C++ ones.
2024-09-25 18:04:27 +02:00
Campbell Barton
872c997c8f
Cleanup: remove redundant break & return statements
2024-03-28 13:01:37 +11:00
Campbell Barton
e955c94ed3
License Headers: Set copyright to "Blender Authors", add AUTHORS
...
Listing the "Blender Foundation" as copyright holder implied the Blender
Foundation holds copyright to files which may include work from many
developers.
While keeping copyright on headers makes sense for isolated libraries,
Blender's own code may be refactored or moved between files in a way
that makes the per file copyright holders less meaningful.
Copyright references to the "Blender Foundation" have been replaced with
"Blender Authors", with the exception of `./extern/` since these this
contains libraries which are more isolated, any changed to license
headers there can be handled on a case-by-case basis.
Some directories in `./intern/` have also been excluded:
- `./intern/cycles/` it's own `AUTHORS` file is planned.
- `./intern/opensubdiv/`.
An "AUTHORS" file has been added, using the chromium projects authors
file as a template.
Design task: #110784
Ref !110783 .
2023-08-16 00:20:26 +10:00
Jacques Lucke
cc4d5c432c
RNA: move headers to C++
...
Also see #103343 .
Pull Request: https://projects.blender.org/blender/blender/pulls/111022
2023-08-10 22:40:27 +02:00
Campbell Barton
52acf6a6ec
Cleanup: correct file names in comments after C -> C++ renaming
...
Use back-tick quotes to differentiate these from plain text.
2023-07-31 13:02:30 +10:00
Campbell Barton
a82836b6c2
Cleanup: replace typdef with 'using'
...
Apply modernize-use-using with edits (as it strips out useful info).
2023-07-24 11:04:19 +10:00
Campbell Barton
302887c619
Cleanup: use boolean literals in source/
...
Apply clang-tidy modernize-use-bool-literals to source/.
2023-07-22 11:43:01 +10:00
Campbell Barton
b29a4cdcfc
Cleanup: various non-functional changes for C++ (python, windowmanager)
...
- Remove redundant void, struct.
- Use function style casts.
2023-07-21 10:59:54 +10:00
Jacques Lucke
6fcecb7e46
BPY: move bpy and mathutils to C++
...
Also see #103343 .
Pull Request: https://projects.blender.org/blender/blender/pulls/110299
2023-07-21 02:18:59 +02:00