Commit Graph

368 Commits

Author SHA1 Message Date
Brecht Van Lommel
0f2064bc3b Revert changes from main commits that were merged into blender-v4.1-release
The last good commit was 4bf6a2e564ad2.
2024-02-19 15:59:59 +01:00
Bastien Montagne
6f74bc5c05 Tools: Add a 'raw block' support/mode to blendfile module and blend2json tool.
This much more basic representation of a blendfile is designed to
survive badly corrupted data, e.g. when handling files without DNA
info, etc.

Obviously the amount of data extracted is way less, but it's still
eaiser to analize than dealing with pure binary data.
2024-02-19 15:01:06 +01:00
Campbell Barton
d7dfbce288 code_clean: exclude BLI_strict_flags.h from removal
As this is only added to set strict warnings, cleaning logic would
remove as the compilers output is unchanged.

Support excluding headers from removal, others can be added if needed.
2024-02-14 13:40:33 +11:00
Campbell Barton
2119d271e0 Cleanup: remove "-noaudio" argument in background mode
This is no longer needed as background mode implies -noaudio.
2024-02-14 00:13:38 +11:00
Campbell Barton
4745934306 code_clean: update doc-strings to prevent incorrect include removal 2024-02-13 14:18:19 +11:00
Campbell Barton
3b3eace193 code_clean: fix error running header_clean 2024-02-12 23:26:40 +11:00
Hans Goudey
91e54fdd83 Cleanup: Move BLO_readfile.h to C++
I added a new BLO_userdef_default.h header to contain declarations of
two global variables that are still defined in C files. Use of designated
initializers for large structs make those files harder to change.
Arguably this is a better header for them anyway.

Pull Request: https://projects.blender.org/blender/blender/pulls/118015
2024-02-09 13:41:30 +01:00
Campbell Barton
635409bfe2 Cleanup: correct type info in check_docs_code_layout 2024-02-03 13:13:56 +11:00
Campbell Barton
836167f1c9 mypy: update checker config, report missing paths 2024-02-03 13:09:57 +11:00
Prikshit singh
1159da5f36 Fix #117636: Update check code layout script for new docs
Pull Request: https://projects.blender.org/blender/blender/pulls/117684
2024-02-02 18:59:11 +01:00
Campbell Barton
be7f89a9f5 Cleanup: spelling in comments 2024-01-29 11:47:42 +11:00
Campbell Barton
e7b127f363 Cleanup: remove unused variables 2024-01-29 11:47:40 +11:00
Campbell Barton
8f4f4d62bc Cleanup: include release/datafiles/ to "make check_mypy"
Also add type hints to some scripts.
2024-01-25 10:06:29 +11:00
Campbell Barton
a3b4078be3 Cleanup: spelling in comments 2024-01-18 10:39:24 +11:00
Rajesh Malviya
5fb7569f9a AUTHORS: correct canonical authors map
Correct author de-duplication.

Ref: !117136
2024-01-16 17:30:38 +11:00
Aaron Carlisle
c892260b09 Fix: Formatting
Fixes formatting in abb9fc9b2ff3f756fbf4abb4304d0cd9d4aedbfc
2024-01-14 00:19:53 -05:00
Aaron Carlisle
abb9fc9b2f Tools: Weekly report script ignore commits to .profile repo
Weekly report commits should not be in the list of commits
2024-01-13 20:09:08 -05:00
Eugene Kuznetsov
d47f1fa1e8 Fix: more meaningful error when autopep8 is missing
Instead of getting a Python UnboundLocalError.

Pull Request: https://projects.blender.org/blender/blender/pulls/116613
2024-01-12 16:14:20 +01:00
Damien Picard
5db82be74f Fix #76101: I18n: add new preference to translate reports
Translation of the UI is currently split into 3 preferences:
interface, tooltips, and new data. The distinction between interface
and tooltips is currently unclear as tooltips also include a lot of
messages not displayed in the actual tooltips on mouse hover.

These include reports to the Info Editor, information in editor
headers and footers, and statuses in panels.

In order to limit the use of `TIP_()` to actual tooltips, this commit
introduces a new preference for this extra information: "Reports".

New translation macros are introduced: `RPT_()` and `CTX_RPT_()`, as
well as their equivalent for the Python API, `pgettext_rpt_()`, to be
imported as `rpt_()`.

Pull Request: https://projects.blender.org/blender/blender/pulls/116804
2024-01-12 13:37:29 +01:00
Campbell Barton
db41973414 AUTHORS: add 20 new contributors 2024-01-11 09:50:39 +11:00
Jeroen Bakker
ae1e127f92 Git: Update Cannonical Authors
Monique uses a different primary email address (without the dot).
Just to make sure future commits/credits will be assigned correctly.

Pull Request: https://projects.blender.org/blender/blender/pulls/116991
2024-01-10 17:29:01 +01:00
Bastien Montagne
0d60bf14f6 Sanitizer: Add more suppressions to our list.
These new ones (one new 'python' case, and some for external libraries
that were not affected so far) seem to be needed to get sanitizer builds
tests to work on current Linux buildbot.
2024-01-09 14:26:35 +01:00
Julian Eisel
be87aa6709 Tools: Match required header formatting for weekly report script
The formatting should follow a specific format, see
https://devtalk.blender.org/t/weekly-reports-2024-new-structure/32725.
2024-01-08 13:03:18 +01:00
Julian Eisel
2db0dd6542 Tools: Weekly report script option for weeks further in the past
Adds a `--weeks-ago` option to be able to control which week the report
should be made for. In practice people sometimes need to create reports
for a few weeks ago or for the current week.
2024-01-08 12:32:46 +01:00
Julian Eisel
d71f1ce95f Tools: Update weekly report script to use Gitea Markdown syntax
Update for the changed way to host weekly reports, they should now live
on projects.blender.org using Gitea Markdown syntax. See
https://devtalk.blender.org/t/weekly-reports-2024-new-structure/32725.
2024-01-08 12:09:49 +01:00
Campbell Barton
5dd91346e1 Cleanup: remove unused imports 2024-01-08 11:40:53 +11:00
Campbell Barton
0ba83fde1f Cleanup: spelling in comments 2024-01-08 11:24:37 +11:00
Ray Molenkamp
0da2ebf644 make: fix clang-format detection
we're on 17.0.6, not 17.0.0 which resulted in a warning message
being emitted.
2024-01-03 13:29:40 -07:00
Brecht Van Lommel
d377ef2543 Clang Format: bump to version 17
Along with the 4.1 libraries upgrade, we are bumping the clang-format
version from 8-12 to 17. This affects quite a few files.

If not already the case, you may consider pointing your IDE to the
clang-format binary bundled with the Blender precompiled libraries.
2024-01-03 13:38:14 +01:00
Germano Cavalcante
98c6bded98 Fix: Triage Tools: Python error when accessing a 'created branch' activity
`activity["content"]` is empty in these cases.
2024-01-01 09:59:57 -03:00
Campbell Barton
482ba7806d Cleanup: spelling correction: "adjacent" & spelling in comments 2023-12-19 09:54:53 +11:00
Campbell Barton
225fc6fca7 Cleanup: spelling in comments, correct outdated comment 2023-12-17 16:04:38 +11:00
Campbell Barton
9097f1c62d Cleanup: unhyphenate track-pad & thumb-stick
Both are typically written without hyphenation, add to local dictionary.
2023-12-15 22:57:34 +11:00
Campbell Barton
a4af406b81 Clenaup: spelling in comments 2023-12-14 11:14:50 +11:00
Campbell Barton
27c660707d Cleanup: spelling in comments, variables 2023-11-27 09:54:36 +11:00
Hans Goudey
29f3d54e91 Cleanup: Grammar in comments
- it's self vs. itself
- boiler plate vs boilerplate
2023-11-21 09:42:39 -05:00
Thomas Dinges
f27dd74986 Fix syntax error in last commit 2023-11-14 13:57:29 +01:00
Thomas Dinges
f0f5d69516 Release: Update company credits and sort alphabetically 2023-11-14 13:54:04 +01:00
Campbell Barton
58ea0e051f Cleanup: spelling in comments 2023-11-09 09:54:28 +11:00
Campbell Barton
afd5faceec Tools: add edit to use std min/max instead of MIN2/MAX2 macros 2023-11-07 11:57:02 +11:00
Campbell Barton
71222c9829 Merge branch 'blender-v4.0-release' 2023-11-02 16:10:37 +11:00
Campbell Barton
8df06e41f3 AUTHORS: add 3 new developers 2023-11-02 16:09:11 +11:00
Brecht Van Lommel
39107b3133 Revert changes from main commits that were merged into blender-v4.0-release
The last good commit was 8474716abb0db3b06838a57f7217bc945638d8df.

After this commits from main were pushed to blender-v4.0-release. These are
being reverted.

Commits a4880576dc from to b26f176d1a that happend afterwards were meant for
4.0, and their contents is preserved.
2023-10-30 21:40:35 +01:00
Campbell Barton
e7e4e63313 Cleanup: spelling in comments, white-space in comments 2023-10-19 18:53:16 +11:00
Campbell Barton
a91ee4d5e3 Merge branch 'blender-v4.0-release' 2023-10-06 21:48:37 +11:00
Campbell Barton
c5d01df691 Merge branch 'blender-v4.0-release' 2023-10-06 21:48:34 +11:00
Campbell Barton
59d81a23d9 AUTHORS: update 2023-10-06 21:47:31 +11:00
Campbell Barton
8974ca8f24 Tools: set the number of jobs to the CPU count for various utilities
Previously this was the double the CPU count because:

- Modern CPU's from AMD & Intel support SMT/hyper-threading which
  present twice as many cores, doubling again has little to no benefit.
- Using 2x or 4x the number of physical cores number can use a lot of
  memory on systems with many cores which are becoming more common.
2023-10-06 21:47:03 +11:00
Campbell Barton
60b2b663cc Merge branch 'blender-v4.0-release' 2023-10-05 13:16:20 +11:00
Campbell Barton
c9130e38e3 Cleanup: spelling in comments 2023-10-05 13:07:58 +11:00