Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-12 | PyAPI: remove Python 3.7x compatibility code | Campbell Barton | |
This removes Python version checks needed to build with 3.8+ and 3.7x. Ref D10381 | |||
2021-02-08 | Cleanup: Remove using-directive from freestyle headers | Omar Emara | |
The header files in freestyle utilize the using-directive at the global file scope. This is a bad practice as it pollutes the global name space causing possible ambiguous reference compilation errors. In particular, the DNA files that are included by freestyle will cause those ambiguous reference errors when the developers adds a DNA member with a type name that also exist in the Freestyle name space, such as Curve and possibly others. This patch does the minimal work needed to resolve that by moving the using-directives from the headers into the corresponding translation units. Reviewed By: Brecht Differential Revision: https://developer.blender.org/D10351 | |||
2021-02-06 | UI: Fix Typos in Comments and Docs | luzpaz | |
Approximately 91 spelling corrections, almost all in comments. Differential Revision: https://developer.blender.org/D10288 Reviewed by Harley Acheson | |||
2021-02-05 | Cleanup: correct spelling in comments | Campbell Barton | |
2021-02-02 | Merge branch 'blender-v2.92-release' | Sebastian Parborg | |
2021-02-02 | Fix freestyle render pass not being created when there are no strokes | Sebastian Parborg | |
It could lead to missing images when outputing the pass to an image sequence. | |||
2021-01-24 | Cleanup: email address formatting | Campbell Barton | |
Match git style email addresses, ignored by the spell checker. | |||
2021-01-22 | Cleanup: remove unused render camera code | Brecht Van Lommel | |
2021-01-21 | Fix T84242: freestyle animated camera shift lags behind in animation render | Brecht Van Lommel | |
2020-12-09 | Cleanup: various clang tidy fixes | Jacques Lucke | |
2020-12-04 | Cleanup: Clang-Tidy, modernize-use-using | Sybren A. Stüvel | |
Replace `typedef` with `using` in C++ code. In the case of `typedef struct SomeName { ... } SomeName;` I removed the `typedef` altogether, as this is unnecessary in C++. Such cases have been rewritten to `struct SomeName { ... };` No functional changes. | |||
2020-12-04 | Cleanup: Clang-Tidy, modernize-use-override | Sybren A. Stüvel | |
No functional changes. | |||
2020-12-04 | Cleanup: Clang-Tidy, modernize-deprecated-headers | Sybren A. Stüvel | |
No functional changes. | |||
2020-11-17 | Clang-tidy, fix bugprone-exception-escape. | Ankit Meel | |
Remove redundant call to `ofstream::close()` from `~PSStrokeRenderer` and `~TextStrokeRenderer`. ofstream will be destructed automatically. - For `~Depsgraph`, `std::function`'s constructor can throw. - Passing throwing statements in the lambda will not be detected by clang-tidy. Fix these issues by using lambda as function argument. Reviewed By: sergey, sybren Differential Revision: https://developer.blender.org/D9497 | |||
2020-11-11 | Cleanup: use preprocessor version check for PyTypeObject declaration | Campbell Barton | |
While `tp_print` was deprecated, Python 3.8+ uses this for 'tp_vectorcall_offset' which wasn't stated in the comment from efd71aad4f22ec0073d80b8dd296015d3f395aa8. Instead of suppressing clang-tidy, use preprocessor a check since this properly represents the difference between Python versions. | |||
2020-11-10 | Cleanup: clang-format | Campbell Barton | |
2020-11-10 | Cleanup: clang-tidy suppress warnings for PyTypeObject.tp_print | Campbell Barton | |
Clang-tidy behavior changes from Python 3.7 to 3.8+ so it's simplest to suppress the warning in this instance. | |||
2020-11-09 | Fix T82520: error building freestyle with Python3.8 | Campbell Barton | |
Caused by 16732def37c5a66f3ea28dbe247b09cc6bca6677, This is a 'Py_ssize_t' in Python 3.8, replace with zero as this works in both 3.7 and 3.8. | |||
2020-11-09 | Cleanup: clang-format | Campbell Barton | |
2020-11-07 | Cleanup: NULL to nullptr. | Ankit Meel | |
2020-11-07 | Cleanup: Clang-format. | Ankit Meel | |
2020-11-07 | Cleanup: Clang-tidy, modernize-concat-nested-namespaces | Ankit Meel | |
2020-11-06 | Cleanup: Clang-Tidy modernize-use-nullptr | Sybren A. Stüvel | |
Replace `NULL` with `nullptr` in C++ code. No functional changes. | |||
2020-11-06 | Cleanup: Clang-Tidy, modernize-make-unique | Sergey Sharybin | |
2020-11-06 | Cleanup: Render Module: combine intern/ source & include | Aaron Carlisle | |
2020-11-06 | Cleanup: Clang-Tidy, modernize-use-bool-literals | Sergey Sharybin | |
2020-11-06 | Cleanup: Clang-Tidy, modernize-use-emplace | Sergey Sharybin | |
2020-11-06 | Cleanup: Clang-Tidy, modernize-redundant-void-arg | Sergey Sharybin | |
2020-11-06 | Cleanup: Clang-Tidy, readability-redundant-member-init | Sergey Sharybin | |
2020-11-06 | Cleanup: doxygen comments | Campbell Barton | |
2020-11-06 | Cleanup: use ELEM macro | Campbell Barton | |
2020-11-06 | Cleanup: follow our code style for float literals | Campbell Barton | |
2020-10-29 | Cleanup: remove unused Blender Internal render stats code | Brecht Van Lommel | |
2020-10-23 | Pydoc: Fix sphinx compile warnings about freestyle | Aaron Carlisle | |
Sphinx expects functions and methods with the same name and different parameters to be written using one directive. See: https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#basic-markup Unfortunately this makes giving different descriptions for each harder. This was already a request for better support for this in sphinx, see: https://github.com/sphinx-doc/sphinx/issues/7787 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9170 | |||
2020-09-30 | Cleanup: convert gforge task ID's to phabricator format | Valentin | |
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718 | |||
2020-09-19 | Cleanup: use parenthesis for if statements in macros | Campbell Barton | |
2020-09-09 | Cleanup: spelling | Campbell Barton | |
2020-09-07 | Cleanup: remove redundant scene argument in BKE_object_add | Campbell Barton | |
2020-09-05 | Cleanup: clang-format | Campbell Barton | |
2020-09-04 | Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix | Sebastian Parborg | |
No functional changes | |||
2020-09-04 | Cleanup: Clang-Tidy bugprone-copy-constructor-init fix | Sybren A. Stüvel | |
No expected functional changes. | |||
2020-09-04 | Cleanup: Clang-Tidy bugprone-incorrect-roundings fixes | Sybren A. Stüvel | |
Should cause no noticeable difference. | |||
2020-09-04 | Cleanup: Clang-Tidy readability-const-return-type fixes | Sybren A. Stüvel | |
No functional changes. | |||
2020-08-18 | Depsgraph: simplify build API | Jacques Lucke | |
Reviewers: sergey, sybren Differential Revision: https://developer.blender.org/D8611 | |||
2020-08-18 | Cleanup: remove bmain argument from BKE_scene_graph_update_for_newframe | Jacques Lucke | |
Reviewers: sergey Differential Revision: https://developer.blender.org/D8613 | |||
2020-08-17 | Cleanup: split BPY_run_string_ex into two functions | Campbell Barton | |
Using a boolean to select between eval/exec behavior wasn't very readable. | |||
2020-08-17 | Cleanup: move Python script execution into BPY_extern_run.h | Campbell Barton | |
This commit renames 'execute' to 'run' because: - This follows Python's "PyRun" which these functions wrap. - Execution functions can use either exec/eval modes, making naming awkward (for future API refactoring). | |||
2020-08-08 | Cleanup: replace sizeof division with ARRAY_SIZE macro | Campbell Barton | |
2020-08-08 | Cleanup: use array syntax for sizeof with fixed values | Campbell Barton | |
Also order sizeof(..) first to promote other values to size_t. | |||
2020-08-08 | Cleanup: remove redundant return parenthesis | Campbell Barton | |