blender-dev-tools.git
2 days agocheck_spelling_c: update config master
Campbell Barton [Tue, 7 Jul 2020 02:19:19 +0000 (12:19 +1000)]
check_spelling_c: update config

2 months agoFix generating assembly when build dir was used as a relative root
Campbell Barton [Thu, 30 Apr 2020 05:59:25 +0000 (15:59 +1000)]
Fix generating assembly when build dir was used as a relative root

2 months agoCleanup: long lines
Campbell Barton [Thu, 30 Apr 2020 03:02:18 +0000 (13:02 +1000)]
Cleanup: long lines

2 months agoclang_format_paths: correct versioning message
Campbell Barton [Thu, 30 Apr 2020 03:00:15 +0000 (13:00 +1000)]
clang_format_paths: correct versioning message

2 months agoRemove 'check_style_c' utility
Campbell Barton [Fri, 17 Apr 2020 02:31:00 +0000 (12:31 +1000)]
Remove 'check_style_c' utility

Note that this could still come in handy checking conventions
not handled by clang-format.

However in it's current form, it's not useful to keep as-is.

2 months agoFix \file detection for c style checker c-style-check
Campbell Barton [Fri, 17 Apr 2020 02:29:02 +0000 (12:29 +1000)]
Fix \file detection for c style checker

2 months agoRemove uncrustify script & config.
Campbell Barton [Fri, 17 Apr 2020 02:04:34 +0000 (12:04 +1000)]
Remove uncrustify script & config.

3 months agoFix manual reference error after removal of use_international_fonts blender-v2.83-release v2.83 v2.83.1 v2.83.2
Brecht Van Lommel [Wed, 8 Apr 2020 10:42:44 +0000 (12:42 +0200)]
Fix manual reference error after removal of use_international_fonts

3 months agotrailing_space_clean_config: strip space for all scripts
Campbell Barton [Tue, 7 Apr 2020 11:33:22 +0000 (21:33 +1000)]
trailing_space_clean_config: strip space for all scripts

3 months agocheck_spelling_c_config: add words
Campbell Barton [Tue, 7 Apr 2020 11:33:02 +0000 (21:33 +1000)]
check_spelling_c_config: add words

4 months agoFix .arcconfig not working with latest arcanist version
Brecht Van Lommel [Sun, 1 Mar 2020 21:42:12 +0000 (22:42 +0100)]
Fix .arcconfig not working with latest arcanist version

4 months agoIncrease clang-format recommended version range to 9.0.1
Brecht Van Lommel [Sat, 15 Feb 2020 09:55:39 +0000 (10:55 +0100)]
Increase clang-format recommended version range to 9.0.1

Ref 73747

4 months agoUpdate make_shape_2d_from_blend: for 2.8x
Campbell Barton [Sat, 15 Feb 2020 00:32:36 +0000 (11:32 +1100)]
Update make_shape_2d_from_blend: for 2.8x

4 months agocheck_spelling_c_config: Update dictionary
Campbell Barton [Sat, 15 Feb 2020 00:18:43 +0000 (11:18 +1100)]
check_spelling_c_config: Update dictionary

4 months agobpy_introspect_ui: Update for 2.82
Campbell Barton [Sat, 15 Feb 2020 00:18:23 +0000 (11:18 +1100)]
bpy_introspect_ui: Update for 2.82

4 months agoUpdate credit generation script for more companies contributions
Dalai Felinto [Fri, 14 Feb 2020 12:05:14 +0000 (13:05 +0100)]
Update credit generation script for more companies contributions

4 months agoTweak script behind `make format` to prefer recommended clang-format version.
Bastien Montagne [Wed, 12 Feb 2020 10:58:10 +0000 (11:58 +0100)]
Tweak script behind `make format` to prefer recommended clang-format version.

5 months agoMove Cycles synchronization point
Brecht Van Lommel [Fri, 31 Jan 2020 14:52:22 +0000 (15:52 +0100)]
Move Cycles synchronization point

8 months agocheck_spelling_c: update config blender-v2.82-release v2.82 v2.82a
Campbell Barton [Thu, 17 Oct 2019 01:13:42 +0000 (12:13 +1100)]
check_spelling_c: update config

9 months agocheck_spelling_c_config: update word list blender-v2.81-release v2.81 v2.81a
Campbell Barton [Wed, 9 Oct 2019 23:30:02 +0000 (10:30 +1100)]
check_spelling_c_config: update word list

9 months agocheck_spelling_c: update word list
Campbell Barton [Mon, 30 Sep 2019 06:52:06 +0000 (16:52 +1000)]
check_spelling_c: update word list

Some have been added up-stream, remove some incorrect spellings.

9 months agoheader_clean: build both release and debug when cleaning headers
Campbell Barton [Mon, 30 Sep 2019 06:26:07 +0000 (16:26 +1000)]
header_clean: build both release and debug when cleaning headers

9 months agoRNA Manual Reference: Small Refactor
Aaron Carlisle [Thu, 26 Sep 2019 13:23:35 +0000 (09:23 -0400)]
RNA Manual Reference: Small Refactor

9 months agocheck_spelling_c: update word-list
Campbell Barton [Thu, 19 Sep 2019 03:18:26 +0000 (13:18 +1000)]
check_spelling_c: update word-list

9 months agoFix header_clean with missing --match-header argument
Campbell Barton [Sun, 15 Sep 2019 18:37:20 +0000 (04:37 +1000)]
Fix header_clean with missing --match-header argument

9 months agoheader_clean: Add support for only removing headers matching an expression
Campbell Barton [Fri, 13 Sep 2019 17:24:30 +0000 (03:24 +1000)]
header_clean: Add support for only removing headers matching an expression

10 months agoAdd utility to print c99 structs from gdb
Campbell Barton [Mon, 9 Sep 2019 12:04:09 +0000 (22:04 +1000)]
Add utility to print c99 structs from gdb

Useful for creating DNA defaults from run-time data.

10 months agoAdd c_struct_clean: for removing redundant struct declarations
Campbell Barton [Mon, 26 Aug 2019 02:25:27 +0000 (12:25 +1000)]
Add c_struct_clean: for removing redundant struct declarations

10 months agoc_sort_blocks: correct examples in comments
Campbell Barton [Mon, 26 Aug 2019 02:20:30 +0000 (12:20 +1000)]
c_sort_blocks: correct examples in comments

10 months agoMove Cycles synchronization point
Brecht Van Lommel [Thu, 22 Aug 2019 15:23:09 +0000 (17:23 +0200)]
Move Cycles synchronization point

10 months agocheck_spelling_c: spelling config
Campbell Barton [Sat, 17 Aug 2019 18:32:23 +0000 (04:32 +1000)]
check_spelling_c: spelling config

10 months agoCleanup: spelling
Campbell Barton [Sat, 17 Aug 2019 16:44:10 +0000 (02:44 +1000)]
Cleanup: spelling

10 months agocheck_spelling: filter out URL's
Campbell Barton [Sat, 17 Aug 2019 16:42:42 +0000 (02:42 +1000)]
check_spelling: filter out URL's

10 months agocheck_spelling_c: add new words
Campbell Barton [Fri, 16 Aug 2019 12:36:04 +0000 (22:36 +1000)]
check_spelling_c: add new words

10 months agocheck_spelling_c: update config
Campbell Barton [Sun, 11 Aug 2019 15:23:58 +0000 (01:23 +1000)]
check_spelling_c: update config

10 months agocheck_spelling: Scan code for terms & skip reporting these
Campbell Barton [Sun, 11 Aug 2019 14:16:26 +0000 (00:16 +1000)]
check_spelling: Scan code for terms & skip reporting these

Comments often refer to structs & variable names,
skip these when reporting spelling errors.

12 months agoUpdate for modified 'blendfile' module location. blender-v2.80-release
Campbell Barton [Sun, 7 Jul 2019 01:56:12 +0000 (11:56 +1000)]
Update for modified 'blendfile' module location.

12 months agoAdd 'blendfile' module,
Campbell Barton [Sun, 7 Jul 2019 01:50:36 +0000 (11:50 +1000)]
Add 'blendfile' module,

This has been removed from blender's addons/,
add here so utilities can access it.

12 months agoRNA Manual Reference: Cleanup Comments
Aaron Carlisle [Thu, 4 Jul 2019 21:28:37 +0000 (17:28 -0400)]
RNA Manual Reference: Cleanup Comments

12 months agoRNA Manual Reference: Update Langauges
Aaron Carlisle [Thu, 4 Jul 2019 21:21:12 +0000 (17:21 -0400)]
RNA Manual Reference: Update Langauges

12 months agoRNA Manual Reference: Use correct blender version in URL
Aaron Carlisle [Thu, 4 Jul 2019 21:05:05 +0000 (17:05 -0400)]
RNA Manual Reference: Use correct blender version in URL

12 months agoTools: Update RNA/Manual Reference for sphobjinv 2.0
Aaron Carlisle [Fri, 28 Jun 2019 02:03:34 +0000 (04:03 +0200)]
Tools: Update RNA/Manual Reference for sphobjinv 2.0

12 months agoFix static libraries detection for Mesa
Sergey Sharybin [Thu, 27 Jun 2019 08:56:03 +0000 (10:56 +0200)]
Fix static libraries detection for Mesa

One of the libraries is to be distributed with the software-gl
bundled into the release.

XCB library seems to be required, and seems we can not do much
about it.

12 months agocheck_spelling: skip dot-files
Campbell Barton [Sun, 23 Jun 2019 12:04:18 +0000 (22:04 +1000)]
check_spelling: skip dot-files

12 months agocheck_spelling: add '*.cc' extension
Campbell Barton [Sat, 15 Jun 2019 11:01:43 +0000 (21:01 +1000)]
check_spelling: add '*.cc' extension

12 months agocheck_spelling_c_config: add words to the exception list.
Campbell Barton [Fri, 14 Jun 2019 04:43:54 +0000 (14:43 +1000)]
check_spelling_c_config: add words to the exception list.

12 months agoblender_update_themes: write out a dummy theme for blender_dark.xml
Campbell Barton [Fri, 14 Jun 2019 04:42:06 +0000 (14:42 +1000)]
blender_update_themes: write out a dummy theme for blender_dark.xml

Updating themes would write the full theme into Blender-dark
which needed to be manually reverted.

13 months agoQTCreator tools: Fix bad command line to generate QTCreator project.
Dmitriy Efimov [Fri, 7 Jun 2019 12:26:52 +0000 (14:26 +0200)]
QTCreator tools: Fix bad command line to generate QTCreator project.

Report with fix in D5038 by Dmitriy Efimov (@DarkDemiurg), thanks.

14 months agoblender_theme_as_c: support DNA member renaming
Campbell Barton [Wed, 8 May 2019 07:04:52 +0000 (17:04 +1000)]
blender_theme_as_c: support DNA member renaming

14 months agoCelaup: Spelling in comment
Sergey Sharybin [Fri, 3 May 2019 08:18:29 +0000 (10:18 +0200)]
Celaup: Spelling in comment

14 months agocmake_sort_filelists: sort header paths too
Campbell Barton [Wed, 24 Apr 2019 04:40:14 +0000 (14:40 +1000)]
cmake_sort_filelists: sort header paths too

14 months agoblender_theme_as_c: disable clang-format
Campbell Barton [Wed, 17 Apr 2019 17:25:53 +0000 (19:25 +0200)]
blender_theme_as_c: disable clang-format

14 months agoMerge/rebase clang-format script for branches: Handle all 3 commits as one.
Bastien Montagne [Wed, 17 Apr 2019 10:53:51 +0000 (12:53 +0200)]
Merge/rebase clang-format script for branches: Handle all 3 commits as one.

Main clang-format in master ended up sreading over three commits, we
have to handle them as a single merge when updating the branches
(reduces noise in commits).

14 months agoFix reversed bool logic in check for default paths usage in clang-format script.
Bastien Montagne [Wed, 17 Apr 2019 10:24:04 +0000 (12:24 +0200)]
Fix reversed bool logic in check for default paths usage in clang-format script.

14 months agoMerge/rebase clang-format into branches: fix 'do not reformat everything'.
Bastien Montagne [Wed, 17 Apr 2019 09:59:13 +0000 (11:59 +0200)]
Merge/rebase clang-format into branches: fix 'do not reformat everything'.

Previous commit was doing bad diffing against master, not against actual
clang-format commit.

Also ensure we do not go beyond windows' commandline limits (8191
chars...) in case of long list of files to reformat, in that case just
reformat everything.

14 months agoMerge/rebase branches for clang-format commit: do not reformat everything.
Bastien Montagne [Wed, 17 Apr 2019 09:21:06 +0000 (11:21 +0200)]
Merge/rebase branches for clang-format commit: do not reformat everything.

We can quiet easily get a list of files being different between master
and newly rebased branch, and only reformat those ones.

Note that list of different files is way too big still, for some
reasons... This still makes the overall script way faster to run in
typical cases.

14 months agoClang format branch merge/rebase: fix broken rebase behavior.
Bastien Montagne [Wed, 17 Apr 2019 08:41:44 +0000 (10:41 +0200)]
Clang format branch merge/rebase: fix broken rebase behavior.

When we rebase with recursive merge strategy, the ours/theirs branches
are actually reversed compared to an actual merge, so we need to use
-Xtheirs conflict resolution strategy, instead of -Xours.

14 months agoUpdated clang-format script with actual githash
Jeroen Bakker [Wed, 17 Apr 2019 06:20:08 +0000 (08:20 +0200)]
Updated clang-format script with actual githash

14 months agoclang_format_paths: also retab shell scripts
Campbell Barton [Wed, 17 Apr 2019 04:16:13 +0000 (06:16 +0200)]
clang_format_paths: also retab shell scripts

14 months agoclang_format_paths: change directory
Campbell Barton [Tue, 16 Apr 2019 14:47:55 +0000 (16:47 +0200)]
clang_format_paths: change directory

14 months agoEnable OpenSubdiv for auto-formation
Sergey Sharybin [Tue, 16 Apr 2019 14:47:20 +0000 (16:47 +0200)]
Enable OpenSubdiv for auto-formation

14 months agoclang_format_paths: set the current directory
Campbell Barton [Tue, 16 Apr 2019 13:38:09 +0000 (15:38 +0200)]
clang_format_paths: set the current directory

Avoids possible issues running outside the source code directory.

14 months agoclang-format branch merge/rebase helper: add support for non-master base branch.
Bastien Montagne [Tue, 16 Apr 2019 13:31:13 +0000 (15:31 +0200)]
clang-format branch merge/rebase helper: add support for non-master base branch.

In some cases one has a hierarchy of branches built one on top of the other,
this option allows to merge or rebase from another branch than master.

14 months agoclang_format_paths: expand tabs for cmake too
Campbell Barton [Tue, 16 Apr 2019 13:14:25 +0000 (15:14 +0200)]
clang_format_paths: expand tabs for cmake too

14 months agoclang_format_paths: utility to clang-format paths
Campbell Barton [Tue, 16 Apr 2019 11:25:21 +0000 (13:25 +0200)]
clang_format_paths: utility to clang-format paths

14 months agocmake_sort_filelists: also sort LIB definitions
Campbell Barton [Mon, 15 Apr 2019 05:14:38 +0000 (07:14 +0200)]
cmake_sort_filelists: also sort LIB definitions

15 months agocheck_style_c: report missing braces
Campbell Barton [Tue, 26 Mar 2019 09:30:49 +0000 (20:30 +1100)]
check_style_c: report missing braces

15 months agoAdd script to merge clang-format changes into branches.
Brecht Van Lommel [Thu, 21 Mar 2019 16:27:37 +0000 (17:27 +0100)]
Add script to merge clang-format changes into branches.

Still needs the hash for the commit that introduces clang-format in master
to actually work.

15 months agotrailing_space_clean: add .m and .mm extensions
Campbell Barton [Tue, 19 Mar 2019 04:13:09 +0000 (15:13 +1100)]
trailing_space_clean: add .m and .mm extensions

15 months agobpy_introspect_ui: now runs w/o errors
Campbell Barton [Wed, 13 Mar 2019 04:36:06 +0000 (15:36 +1100)]
bpy_introspect_ui: now runs w/o errors

15 months agobpy_introspect_ui: update for recent Blender
Campbell Barton [Wed, 13 Mar 2019 03:56:30 +0000 (14:56 +1100)]
bpy_introspect_ui: update for recent Blender

15 months agobpy_introspect_ui: update for changes in Blender
Campbell Barton [Wed, 13 Mar 2019 00:21:13 +0000 (11:21 +1100)]
bpy_introspect_ui: update for changes in Blender

16 months agoMove Cycles synchronization point, capitalize subjects.
Brecht Van Lommel [Mon, 11 Feb 2019 15:51:31 +0000 (16:51 +0100)]
Move Cycles synchronization point, capitalize subjects.

17 months agoc_sort_blocks: Also sort 'typedef struct ... ...;'
Campbell Barton [Mon, 28 Jan 2019 10:13:19 +0000 (21:13 +1100)]
c_sort_blocks: Also sort 'typedef struct ... ...;'

17 months agoc_sort_blocks: Sort enums
Campbell Barton [Mon, 28 Jan 2019 10:06:59 +0000 (21:06 +1100)]
c_sort_blocks: Sort enums

17 months agocheck_unused_define: new utility
Campbell Barton [Sat, 26 Jan 2019 08:30:20 +0000 (19:30 +1100)]
check_unused_define: new utility

17 months agobatch_edit_text: option not to run w/o multi-process
Campbell Barton [Sat, 26 Jan 2019 08:23:44 +0000 (19:23 +1100)]
batch_edit_text: option not to run w/o multi-process

Needed for callers that accumulate data to a global variable.

While non yet exist in git, this is useful in some cases.

17 months agoUtility to sort C file struct & extern blocks
Campbell Barton [Fri, 25 Jan 2019 01:14:07 +0000 (12:14 +1100)]
Utility to sort C file struct & extern blocks

17 months agoMove utilities into utils_maintenance
Campbell Barton [Thu, 24 Jan 2019 22:34:14 +0000 (09:34 +1100)]
Move utilities into utils_maintenance

17 months agoUtility to sort cmake file lists
Campbell Barton [Thu, 24 Jan 2019 22:27:07 +0000 (09:27 +1100)]
Utility to sort cmake file lists

17 months agoUtility module to batch edit text
Campbell Barton [Thu, 24 Jan 2019 22:25:51 +0000 (09:25 +1100)]
Utility module to batch edit text

17 months agotrailing_space_clean: update config
Campbell Barton [Thu, 24 Jan 2019 05:21:00 +0000 (16:21 +1100)]
trailing_space_clean: update config

18 months agoblender_update_themes: update for 2.8
Campbell Barton [Sat, 5 Jan 2019 11:29:11 +0000 (22:29 +1100)]
blender_update_themes: update for 2.8

18 months agoUpdate manual script after Preferences RNA changes
Julian Eisel [Fri, 4 Jan 2019 21:27:45 +0000 (22:27 +0100)]
Update manual script after Preferences RNA changes

18 months agocheck_style_c: fix error updating function args
Campbell Barton [Thu, 13 Dec 2018 01:27:38 +0000 (12:27 +1100)]
check_style_c: fix error updating function args

18 months agoCleanup: docs -> doc (match blender toplevel ./doc naming)
Campbell Barton [Tue, 11 Dec 2018 21:31:09 +0000 (08:31 +1100)]
Cleanup: docs -> doc (match blender toplevel ./doc naming)

18 months agoCleanup: move reference manual updater to doc utils
Campbell Barton [Tue, 11 Dec 2018 21:26:32 +0000 (08:26 +1100)]
Cleanup: move reference manual updater to doc utils

18 months agodoxygen_single_file: utility to build doxygen for one file
Campbell Barton [Tue, 11 Dec 2018 21:20:09 +0000 (08:20 +1100)]
doxygen_single_file: utility to build doxygen for one file

Building all doxygen docs takes a long time,
while this will miss inter-file references, it's useful to check basic
formatting is correct.

19 months agocheck_style_c: remove readfile exceptions
Campbell Barton [Sun, 2 Dec 2018 02:12:43 +0000 (13:12 +1100)]
check_style_c: remove readfile exceptions

19 months agotrailing_space_clean: update config
Campbell Barton [Thu, 29 Nov 2018 21:41:44 +0000 (08:41 +1100)]
trailing_space_clean: update config

20 months agocheck_style_c: fix error in case statement check
Campbell Barton [Mon, 5 Nov 2018 00:35:56 +0000 (11:35 +1100)]
check_style_c: fix error in case statement check

20 months agocheck_style_c: support for caching results
Campbell Barton [Wed, 31 Oct 2018 03:27:34 +0000 (14:27 +1100)]
check_style_c: support for caching results

Stores hash of script and text files,
allows to re-run quickly on changed files.

20 months agoSpelling fixes in comments and descriptions, patch by luzpaz.
Brecht Van Lommel [Fri, 19 Oct 2018 15:53:33 +0000 (17:53 +0200)]
Spelling fixes in comments and descriptions, patch by luzpaz.

Differential Revision: https://developer.blender.org/D3747

20 months agoUpdate for changes in blender
Campbell Barton [Thu, 11 Oct 2018 01:22:45 +0000 (12:22 +1100)]
Update for changes in blender

21 months agoMove Cycles synchronization point
Brecht Van Lommel [Thu, 4 Oct 2018 14:19:40 +0000 (16:19 +0200)]
Move Cycles synchronization point

21 months agoCleanup: pep8
Campbell Barton [Wed, 26 Sep 2018 23:40:30 +0000 (09:40 +1000)]
Cleanup: pep8

21 months agoautopep8_clean: update blacklist
Campbell Barton [Wed, 26 Sep 2018 23:39:26 +0000 (09:39 +1000)]
autopep8_clean: update blacklist

21 months agocheck_style_c_config: remove effect.c from ignore list
Campbell Barton [Tue, 25 Sep 2018 01:53:12 +0000 (11:53 +1000)]
check_style_c_config: remove effect.c from ignore list

21 months agoautopep8_clean: support passing in path arguments
Campbell Barton [Tue, 11 Sep 2018 21:26:21 +0000 (07:26 +1000)]
autopep8_clean: support passing in path arguments

22 months agoRelease checker: Ignore libmvec being dynamic
Sergey Sharybin [Wed, 29 Aug 2018 16:31:10 +0000 (18:31 +0200)]
Release checker: Ignore libmvec being dynamic

Is another library which is a part of libc6.