518 Commits

Author SHA1 Message Date
27826b4aed Cleanup: delete .arcconfig
This no longer works without developer.blender.org
2023-02-15 12:34:01 +01:00
d0b6173900 Cleanup: name DUPLICATE_ACCEPT for accepted duplicates 2023-02-15 21:08:27 +11:00
8399c5ad00 check_spelling_c: update dictionary 2023-02-15 21:07:05 +11:00
d50df97812 Cleanup: use '#' prefix for issues 2023-02-12 15:24:02 +11:00
b82a09d830 Cleanup: remove unused imports & variables 2023-02-12 15:24:00 +11:00
750b0f9a2b Cleanup: use context manager for Popen (quiets pylint warning) 2023-02-12 15:23:59 +11:00
20ca64e4ac code_clean: fix incorrect check to exclude C files from C++ cleanups 2023-02-12 15:20:49 +11:00
2603fa7792 rna_manual_reference_updater: useful error if sphobjinv can't be found
Also don't alias to soi, it's only used in a couple of places and
isn't needed.
2023-02-10 12:56:34 +11:00
3507e8a790 rna_manual_reference_updater: disallow malformed URL's
There were no sanity checks for bad names from the manual,
this caused errors from spaces, dashes or '#' character which
aren't going to properly pattern match.

In the case of spaces, this broke string splitting logic, so skip these
names and warn. The names need to be corrected in the manual.
2023-02-10 12:56:34 +11:00
4ff8b58909 utils_doc/rna_manual_reference_updater: use bpy.utils.manual_locale_code
Extract this function out of the generated code as it's needed
elsewhere. See !104494 for details.
2023-02-10 12:56:34 +11:00
f38b20b9ea check_spelling_c: update dictionary 2023-02-10 12:56:34 +11:00
e0b412c940 Remove Phabricator based weekly report script
No point in keeping this since it's tied quite closely to Phabricator. A
new one for Gitea should be added, and if needed for reference this one
is still available in the git history.
2023-02-09 17:05:35 +01:00
3282cc076a Cleanup: update username campbellbarton -> ideasman42
Changed during gitea migration.
2023-02-09 14:35:37 +11:00
b970e1ede4 Fix the default destination path for rna_manual_reference_updater.py
The script assumed the CWD was the same location as the scripts path.
2023-02-09 14:34:26 +11:00
6a627cf37f Cleanup: rename blacklist to the more descriptive paths_exclude 2023-02-08 19:11:02 +11:00
510b54033a code_clean: support passing in multiple edit arguments at once
Convenient for applying multiple common edits at once.

The '--edit' argument has been renamed to '--edits'.
2023-02-08 12:32:19 +11:00
979bfe2504 GitHub mirror: change Git URLs to point projects.blender.org instead of git.blender.org 2023-02-07 14:47:29 +01:00
628815fac6 Update references to the new projects platform and main branch 2023-02-07 14:18:01 +01:00
baa9ba0405 Cleanup: spelling in comments, update dictionary 2023-02-06 12:46:12 +11:00
fc85c7088c code_clean: add 'use_nullptr' edit operation
Also correct doc-string for use_brief_types.
2023-02-06 12:45:49 +11:00
e133fc08cd check_spelling_c: update dictionary 2023-02-02 13:57:32 +11:00
d5a1cc6721 Cleanup: add missing license header 2023-01-31 15:50:32 +11:00
a313d70ac2 Cleanup: add additional directories for type checking 2023-01-30 11:43:00 +11:00
eb4c9d4f65 Cleanup: quite mypy warnings 2023-01-30 11:42:45 +11:00
5032f11f23 Cleanup: add typing to autopep8_clean & clang_format_paths
These scripts now pass 'mypy --strict'
2023-01-30 11:41:42 +11:00
d2ade021f5 c_struct_clean: use pygments to exclude comments & strings in search 2023-01-30 11:36:57 +11:00
63ca625e43 Update check_mypy_config 2023-01-28 17:19:44 +11:00
24737f64c2 Add utility to validate Blender's file structure WIKI docs
This was previously pasted on the WIKI, however it was awkward
to manually download and run it to check the documentation was valid.

The script has been updated to download the wiki text and report issues.

This update extends the script to:

- Print any items containing word `TODO`.
- Print any items which aren't alphabetically ordered.
2023-01-28 16:34:57 +11:00
3582f5326d credits: use comma grouping when representing number of commits
Use format(..) instead of percentage formatting.
2023-01-11 23:22:40 +11:00
1567187c76 code_clean: avoid many redundant checks for use_function_style_cast 2023-01-11 23:10:10 +11:00
e1744b9bd8 Credits Gen: Support optional sorting by commit. 2022-12-22 12:08:15 +01:00
a28f09834a Update credits_git_gen.py lookup table.
Unify names for the credits generation on https://www.blender.org/about/credits/

Differential Revision: https://developer.blender.org/D16815
2022-12-20 13:08:24 +01:00
f542f4d21a Cleanup: add trailing commas to multi-line arguments 2022-12-17 13:48:02 +11:00
a2bf0bed73 check_spelling_c: update dictionary 2022-12-17 13:46:43 +11:00
fdfa2fcb94 Cleanup: replace argument unpacking with pool.starmap 2022-12-09 17:57:37 +11:00
ef6d6d4f40 Cleanup: spelling in comments 2022-12-08 14:05:48 +11:00
f021b4b3c9 check_spelling_c: update dictionary 2022-12-08 14:05:43 +11:00
de5fc13c7c Cleanup: replace pool.map with starmap
Avoid the need to unpack a single argument.
2022-12-08 14:04:38 +11:00
b019396613 code_clean: support commands with a "cd {directory} &&" prefix
Recently generated Makefiles have been including a "cd .." prefix
command that broke the code-clean utility.

Extract the CWD from the command and take it into account when
building object files.
2022-12-08 14:02:37 +11:00
9e33a8678a check_spelling_c: update dictionary 2022-11-10 11:25:18 +11:00
fcad3bb048 Cleanup: function argument wrapping 2022-11-09 21:03:30 +11:00
8b5abe277e Fix T102351: blender_theme_as_c.py theme updating fails 2022-11-09 21:00:38 +11:00
2954c5f5d9 Fix use_str not being forwarded from field_get to read_data
Resolves error notes in T102351.
2022-11-09 20:42:02 +11:00
eb6dc9ee23 check_mypy: add make_update.py 2022-10-31 12:35:49 +11:00
dfa16042bf check_spelling_c: update dictionary v3.4.1 v3.4.0 2022-10-12 10:41:46 +11:00
6bef895313 code_clean: add unused_arg_as_comment edit generator 2022-10-12 10:41:22 +11:00
d35b4ed093 code_clean: convert an error to a warning when output can't be created 2022-10-03 11:55:33 +11:00
2ab59df2c9 code_clean: add support for running edits in multiple passes
When an edit cannot be applied because it overlaps one that did,
re-run all edits again until no edits could be applied or the document
reaches a previously visited state (unlikely but possible in theory).
2022-09-26 17:22:17 +10:00
e4062ff43e code_clean: don't run with WITH_UNITY_BUILD/WITH_COMPILER_CCACHE
- Unity build prevents the resulting object files from being extracted.
- Compiler cache adds unnecessary overhead (and cache) for trial edits.
2022-09-26 15:32:33 +10:00
f6db2e6101 Cleanup: remove commented code, formatting tweaks 2022-09-26 15:23:54 +10:00