Age | Commit message (Collapse) | Author | |
---|---|---|---|
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: Render Module: move header files to main directory | Aaron Carlisle | |
Move headers files from `render/extern/` to `render/` Part of T73586 | |||
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 | |
2020-08-07 | Cleanup: fix some clang tidy warnings | Jacques Lucke | |
2020-08-07 | Cleanup: enable Clang-Tidy `bugprone-parent-virtual-call` rule | Sybren A. Stüvel | |
I added a single `NOLINT` exception with explanation. No functional changes. | |||
2020-08-07 | Cleanup: Freestyle, Clang-Tidy else-after-return fixes | Sybren A. Stüvel | |
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/freestyle` module. No functional changes. | |||
2020-08-07 | Merge branch 'blender-v2.90-release' into master | Jacques Lucke | |
2020-08-07 | Code Style: use "#pragma once" in source directory | Jacques Lucke | |
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466 | |||
2020-08-02 | Fix RST syntax for freestyle documentation | nutti | |
2020-08-01 | Cleanup: use term init instead of initialize/initialise | Campbell Barton | |
The abbreviation 'init' is brief, unambiguous and already used in thousands of places, also initialize is often accidentally written with British spelling. | |||
2020-07-29 | Cleanup: quiet possible comma misuse warning in feestyle PyAPI | Campbell Barton | |