This commit implements described in the #104573. The goal is to fix the confusion of the submodule hashes change, which are not ideal for any of the supported git-module configuration (they are either always visible causing confusion, or silently staged and committed, also causing confusion). This commit replaces submodules with a checkout of addons and addons_contrib, covered by the .gitignore, and locale and developer tools are moved to the main repository. This also changes the paths: - /release/scripts are moved to the /scripts - /source/tools are moved to the /tools - /release/datafiles/locale is moved to /locale This is done to avoid conflicts when using bisect, and also allow buildbot to automatically "recover" wgen building older or newer branches/patches. Running `make update` will initialize the local checkout to the changed repository configuration. Another aspect of the change is that the make update will support Github style of remote organization (origin remote pointing to thy fork, upstream remote pointing to the upstream blender/blender.git). Pull Request #104755
714 lines
12 KiB
Python
714 lines
12 KiB
Python
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# these must be all lower case for comparisons
|
|
|
|
dict_custom = {
|
|
# Added to newer versions of the dictionary,
|
|
# we can remove these when the updated word-lists have been applied to aspell-en.
|
|
"accessor",
|
|
"accessors",
|
|
"completer",
|
|
"completers",
|
|
"enqueue",
|
|
"enqueued",
|
|
"enqueues",
|
|
"intrinsics",
|
|
"iterable",
|
|
"parallelization",
|
|
"parallelized",
|
|
"pipelining",
|
|
"polygonization",
|
|
"prepend",
|
|
"prepends",
|
|
"rasterize",
|
|
"reachability",
|
|
"runtime",
|
|
"runtimes",
|
|
"serializable",
|
|
"unary",
|
|
"variadic",
|
|
|
|
# Correct spelling, update the dictionary, here:
|
|
# https://github.com/en-wl/wordlist
|
|
"accessor",
|
|
"additively",
|
|
"adjoint",
|
|
"adjugate",
|
|
"affectable",
|
|
"alignable",
|
|
"allocatable",
|
|
"allocator",
|
|
"allocators",
|
|
"anisotropic",
|
|
"anisotropy",
|
|
"atomicity",
|
|
"bindless",
|
|
"bitwise",
|
|
"blocky",
|
|
"boolean",
|
|
"borderless",
|
|
"breaked",
|
|
"callables",
|
|
"canonicalization",
|
|
"canonicalized",
|
|
"canonicalizing",
|
|
"catadioptric",
|
|
"checksums",
|
|
"clearcoat",
|
|
"codecs",
|
|
"collapser",
|
|
"collinear",
|
|
"comparator",
|
|
"comparators",
|
|
"compilable",
|
|
"confusticate",
|
|
"confusticated",
|
|
"constructability",
|
|
"constructible",
|
|
"coplanarity",
|
|
"copyable",
|
|
"counterforce",
|
|
"criterium",
|
|
"crosstalk",
|
|
"customizable",
|
|
"deallocate",
|
|
"deallocated",
|
|
"deallocating",
|
|
"decorrelated",
|
|
"decrement",
|
|
"decrementing",
|
|
"deduplicate",
|
|
"deduplicating",
|
|
"deduplication",
|
|
"defocus",
|
|
"degeneracies",
|
|
"deleter",
|
|
"denoised",
|
|
"denoiser",
|
|
"denoising",
|
|
"dereference",
|
|
"dereferenced",
|
|
"dereferences",
|
|
"dereferencing",
|
|
"derivates",
|
|
"desaturate",
|
|
"designator",
|
|
"despeckled",
|
|
"destructor",
|
|
"destructors",
|
|
"dialogs",
|
|
"digitizers",
|
|
"dihedral",
|
|
"discoverability",
|
|
"discretization",
|
|
"discretized",
|
|
"discretizes",
|
|
"downcasting",
|
|
"draggable",
|
|
"drawable",
|
|
"durations",
|
|
"eachother",
|
|
"editability",
|
|
"effector",
|
|
"effectors",
|
|
"elementwise",
|
|
"embedder",
|
|
"enablement",
|
|
"enqueueing",
|
|
"equiangular",
|
|
"extrema",
|
|
"fallbacks",
|
|
"finalizer",
|
|
"flushable",
|
|
"formatter",
|
|
"formatters",
|
|
"foveation",
|
|
"generatrix",
|
|
"glitchy",
|
|
"haptics",
|
|
"highlightable",
|
|
"homogenous",
|
|
"ideographic",
|
|
"illuminant",
|
|
"impactful",
|
|
"incrementation",
|
|
"initializer",
|
|
"initializers",
|
|
"inlining",
|
|
"instancer",
|
|
"instancers",
|
|
"instantiable",
|
|
"instantiation",
|
|
"instantiations",
|
|
"interferences",
|
|
"interocular",
|
|
"invariant",
|
|
"invariants",
|
|
"invisibilities",
|
|
"irradiance",
|
|
"iteratively",
|
|
"jitteryness",
|
|
"keyless",
|
|
"linearize",
|
|
"linearized",
|
|
"linearizes",
|
|
"linearizing",
|
|
"linkable",
|
|
"lockless",
|
|
"losslessly",
|
|
"luminances",
|
|
"mappable",
|
|
"merchantability",
|
|
"mergeable",
|
|
"minimalistic",
|
|
"misconfiguration",
|
|
"misconfigured",
|
|
"modally",
|
|
"modifyability",
|
|
"monoscopy",
|
|
"monospaced",
|
|
"mutators",
|
|
"natively",
|
|
"occludee",
|
|
"occluder",
|
|
"occluders",
|
|
"optionals",
|
|
"orthogonalize",
|
|
"orthogonally",
|
|
"orthonormalize",
|
|
"orthonormalized",
|
|
"overridable",
|
|
"paddings",
|
|
"pannable",
|
|
"parallelepiped",
|
|
"parallelize",
|
|
"parallelizing",
|
|
"parameterization",
|
|
"parametrization",
|
|
"parentless",
|
|
"passepartout",
|
|
"passthrough",
|
|
"performant",
|
|
"piecewise",
|
|
"pixelate",
|
|
"pixelated",
|
|
"pixelation",
|
|
"pixelisation",
|
|
"planarity",
|
|
"planarize",
|
|
"polygonizer",
|
|
"polytope",
|
|
"postprocess",
|
|
"postprocessed",
|
|
"pre-filtered",
|
|
"pre-multiplied",
|
|
"precalculate",
|
|
"precisions",
|
|
"precomputations",
|
|
"precompute",
|
|
"precomputed",
|
|
"precomputing",
|
|
"prefetch",
|
|
"prefetching",
|
|
"prefilter",
|
|
"prefiltered",
|
|
"prefiltering",
|
|
"premutliplied",
|
|
"preorder",
|
|
"prepend",
|
|
"prepending",
|
|
"preprocess",
|
|
"preprocessing",
|
|
"preprocessor",
|
|
"preprocessors",
|
|
"preventively",
|
|
"probabilistically",
|
|
"procedurally",
|
|
"profiler",
|
|
"programmatically",
|
|
"purgeability",
|
|
"quadratically",
|
|
"queryable",
|
|
"rasterizer",
|
|
"rasterizes",
|
|
"rasterizing",
|
|
"reallocations",
|
|
"rebalancing",
|
|
"rebase",
|
|
"recomputation",
|
|
"recurse",
|
|
"recursed",
|
|
"recurses",
|
|
"recursing",
|
|
"recursivity",
|
|
"redefinitions",
|
|
"redistributions",
|
|
"registerable",
|
|
"reimplement",
|
|
"remappable",
|
|
"remapper",
|
|
"remappings",
|
|
"remesher",
|
|
"rendeder",
|
|
"renderable",
|
|
"renormalize",
|
|
"renormalized",
|
|
"reparameterization",
|
|
"reparametization",
|
|
"representable",
|
|
"reprojecting",
|
|
"repurpose",
|
|
"respecialized",
|
|
"retiming",
|
|
"reusability",
|
|
"saveable",
|
|
"schemas",
|
|
"scrollable",
|
|
"serializers",
|
|
"sharpnesses",
|
|
"sidedness",
|
|
"simplices",
|
|
"situationally",
|
|
"skippable",
|
|
"sortable",
|
|
"stitchable",
|
|
"subclass",
|
|
"subclasses",
|
|
"subclassing",
|
|
"subdirectories",
|
|
"subdirectory",
|
|
"suboptimally",
|
|
"subtractive",
|
|
"superset",
|
|
"symmetrize",
|
|
"symmetrized",
|
|
"targetless",
|
|
"targetless",
|
|
"teleporting",
|
|
"templating",
|
|
"tertiarily",
|
|
"tokenize",
|
|
"tokenizing",
|
|
"transmissive",
|
|
"triangulations",
|
|
"triangulator",
|
|
"trilinear",
|
|
"tunable",
|
|
"unadjusted",
|
|
"unalignable",
|
|
"unallocated",
|
|
"unapplied",
|
|
"unapply",
|
|
"unassign",
|
|
"unbake",
|
|
"unbuffered",
|
|
"uncached",
|
|
"uncategorized",
|
|
"unclaim",
|
|
"unclamped",
|
|
"unclipped",
|
|
"uncollapsed",
|
|
"uncomment",
|
|
"uncommented",
|
|
"uncompacted",
|
|
"uncomputed",
|
|
"unconfigured",
|
|
"unconvert",
|
|
"undefine",
|
|
"undefined",
|
|
"undeform",
|
|
"undeformed",
|
|
"undeformed",
|
|
"undisplaced",
|
|
"undistored",
|
|
"undistorted",
|
|
"undistorting",
|
|
"uneditable",
|
|
"unflagged",
|
|
"unflip",
|
|
"unfoldable",
|
|
"unformatted",
|
|
"unfreed",
|
|
"ungrabbed",
|
|
"ungrabbing",
|
|
"ungroup",
|
|
"ungrouped",
|
|
"ungrouping",
|
|
"ungrown",
|
|
"unhandled",
|
|
"unhidden",
|
|
"unhide",
|
|
"unintuitive",
|
|
"unkeyed",
|
|
"unkeyed",
|
|
"unkeyframed",
|
|
"unlink",
|
|
"unlinkable",
|
|
"unlinked",
|
|
"unlinking",
|
|
"unlinks",
|
|
"unmap",
|
|
"unmapped",
|
|
"unmark",
|
|
"unmask",
|
|
"unmatching",
|
|
"unmaximized",
|
|
"unmeasurable",
|
|
"unminimize",
|
|
"unmute",
|
|
"unnormalize",
|
|
"unnormalized",
|
|
"unoptimized",
|
|
"unparameterized",
|
|
"unparsed",
|
|
"unpause",
|
|
"unpaused",
|
|
"unpoision",
|
|
"unproject",
|
|
"unquantifiable",
|
|
"unregister",
|
|
"unregistering",
|
|
"unregisters",
|
|
"unreproducible",
|
|
"unscaled",
|
|
"unselect",
|
|
"unselect",
|
|
"unselected",
|
|
"unsetting",
|
|
"unshadowed",
|
|
"unsharp",
|
|
"unsqueezed",
|
|
"unstretch",
|
|
"unsubdivided",
|
|
"unsubdividing",
|
|
"unsubdivisions",
|
|
"unsynchronized",
|
|
"untag",
|
|
"untagging",
|
|
"unterminated",
|
|
"untracked",
|
|
"untransformed",
|
|
"untransformed",
|
|
"untrusted",
|
|
"untyped",
|
|
"unusably",
|
|
"unvisited",
|
|
"unwritable",
|
|
"userless",
|
|
"vectorial",
|
|
"vectorization",
|
|
"vectorized",
|
|
"versionable",
|
|
"videogrammetry",
|
|
"viewports",
|
|
"virtualized",
|
|
"visibilities",
|
|
"volumetrics",
|
|
"vortices",
|
|
"voxelize",
|
|
"writeable",
|
|
"zoomable",
|
|
|
|
# C/C++/Python types (we could quote every instance but it's impractical).
|
|
"enum",
|
|
"enums",
|
|
"int",
|
|
"ints",
|
|
"nullptr", # C++ NULL-pointer.
|
|
"str",
|
|
"tuple",
|
|
"tuples",
|
|
|
|
# python functions
|
|
"func",
|
|
"repr",
|
|
|
|
# Accepted concatenations.
|
|
"addon",
|
|
"addons",
|
|
"autocomplete",
|
|
"colospace",
|
|
"datablock",
|
|
"datablocks",
|
|
"keyframe",
|
|
"keyframing",
|
|
"lookup",
|
|
"lookups",
|
|
"multithreaded",
|
|
"multithreading",
|
|
"namespace",
|
|
"reparent",
|
|
"tooltip",
|
|
"unparent",
|
|
|
|
# Accepted abbreviations.
|
|
# "dir", # direction/directory? Too ambiguous, don't use this.
|
|
"anim", # animation.
|
|
"attr",
|
|
"attrs",
|
|
"config", # configuration.
|
|
"coord",
|
|
"coords",
|
|
"iter", # iteration.
|
|
"multi",
|
|
"numpad", # numeric-pad.
|
|
"numpads", # numeric-pads.
|
|
"ortho",
|
|
"recalc",
|
|
"resync",
|
|
"struct",
|
|
"structs",
|
|
"subdir",
|
|
|
|
# General computer terms.
|
|
"app",
|
|
"ascii",
|
|
"autocomplete",
|
|
"autorepeat",
|
|
"bilinear",
|
|
"blit",
|
|
"blitting",
|
|
"boids",
|
|
"booleans",
|
|
"codepage",
|
|
"contructor",
|
|
"decimator",
|
|
"diff",
|
|
"diffs",
|
|
"endian",
|
|
"endianness",
|
|
"env",
|
|
"euler",
|
|
"eulers",
|
|
"foo",
|
|
"hashable",
|
|
"http",
|
|
"intelisense",
|
|
"jitter",
|
|
"jittered",
|
|
"jittering",
|
|
"keymap",
|
|
"lerp",
|
|
"metadata",
|
|
"mutex",
|
|
"opengl",
|
|
"quantized",
|
|
"searchable",
|
|
"segfault",
|
|
"stdin",
|
|
"stdin",
|
|
"stdout",
|
|
"sudo",
|
|
"threadsafe",
|
|
"touchpad",
|
|
"touchpads",
|
|
"trackpad",
|
|
"trackpads",
|
|
"trilinear",
|
|
"unicode",
|
|
"usr",
|
|
"vert",
|
|
"verts",
|
|
"voxel",
|
|
"voxels",
|
|
"wiki",
|
|
|
|
# specific computer terms/brands
|
|
"ack",
|
|
"amiga",
|
|
"cmake",
|
|
"ffmpeg",
|
|
"freebsd",
|
|
"linux",
|
|
"manpage",
|
|
"mozilla",
|
|
"nvidia",
|
|
"openexr",
|
|
"posix",
|
|
"qtcreator",
|
|
"unix",
|
|
"valgrind",
|
|
"xinerama",
|
|
|
|
# general computer graphics terms
|
|
"atomics",
|
|
"barycentric",
|
|
"bezier",
|
|
"bicubic",
|
|
"bitangent",
|
|
"centroid",
|
|
"colinear",
|
|
"compositing",
|
|
"coplanar",
|
|
"crypto",
|
|
"deinterlace",
|
|
"emissive",
|
|
"fresnel",
|
|
"gaussian",
|
|
"grayscale",
|
|
"kerning",
|
|
"lacunarity",
|
|
"lossless",
|
|
"lossy",
|
|
"luma",
|
|
"mipmap",
|
|
"mipmapped",
|
|
"mipmapping",
|
|
"mipmaps",
|
|
"musgrave",
|
|
"n-gon",
|
|
"n-gons",
|
|
"normals",
|
|
"nurbs",
|
|
"octree",
|
|
"quaternions",
|
|
"radiosity",
|
|
"reflectance",
|
|
"shader",
|
|
"shaders",
|
|
"specular",
|
|
|
|
# Blender specific terms.
|
|
"animsys",
|
|
"animviz",
|
|
"bmain",
|
|
"bmesh",
|
|
"bpy",
|
|
"depsgraph",
|
|
"doctree",
|
|
"editmode",
|
|
"eekadoodle",
|
|
"fcurve",
|
|
"look-dev",
|
|
"mathutils",
|
|
"obdata",
|
|
"userpref",
|
|
"userprefs",
|
|
|
|
# Should have apostrophe but ignore for now unless we want to get really picky!
|
|
"indices",
|
|
"vertices",
|
|
}
|
|
|
|
# incorrect spelling but ignore anyway
|
|
dict_ignore = {
|
|
"a-z",
|
|
"animatable",
|
|
"arg",
|
|
"args",
|
|
"bool",
|
|
"constness",
|
|
"dirpath",
|
|
"dupli",
|
|
"eg",
|
|
"filename",
|
|
"filenames",
|
|
"filepath",
|
|
"filepaths",
|
|
"hardcoded",
|
|
"id-block",
|
|
"inlined",
|
|
"loc",
|
|
"namespace",
|
|
"node-trees",
|
|
"ok",
|
|
"ok-ish",
|
|
"param",
|
|
"polyline",
|
|
"polylines",
|
|
"premultiplied",
|
|
"premultiply",
|
|
"pylint",
|
|
"quad",
|
|
"readonly",
|
|
"submodule",
|
|
"submodules",
|
|
"tooltips",
|
|
"tri",
|
|
"ui",
|
|
"unfuzzy",
|
|
"utils",
|
|
"uv",
|
|
"vec",
|
|
"wireframe",
|
|
"x-axis",
|
|
"y-axis",
|
|
"z-axis",
|
|
|
|
# acronyms
|
|
"api",
|
|
"cpu",
|
|
"gl",
|
|
"gpl",
|
|
"gpu",
|
|
"gzip",
|
|
"hg",
|
|
"ik",
|
|
"lhs",
|
|
"nan",
|
|
"nla",
|
|
"ppc",
|
|
"rgb",
|
|
"rhs",
|
|
"rna",
|
|
"smpte",
|
|
"svn",
|
|
"utf",
|
|
|
|
# extensions
|
|
"py",
|
|
"rst",
|
|
"xml",
|
|
"xpm",
|
|
|
|
# tags
|
|
"fixme",
|
|
"todo",
|
|
|
|
# sphinx/rst
|
|
"rtype",
|
|
|
|
# slang
|
|
"automagically",
|
|
"hacky",
|
|
"hrmf",
|
|
|
|
# names
|
|
"campbell",
|
|
"jahka",
|
|
"mikkelsen",
|
|
"morten",
|
|
|
|
# Company names.
|
|
"Logitech",
|
|
"Wacom",
|
|
|
|
# Project Names.
|
|
"Wayland",
|
|
|
|
# clang-tidy (for convenience).
|
|
"bugprone-suspicious-enum-usage",
|
|
"bugprone-use-after-move",
|
|
}
|
|
|
|
# Allow: `un-word`, `re-word` ... etc, in this case only check `word`.
|
|
dict_ignore_hyphenated_prefix = {
|
|
"de",
|
|
"mis",
|
|
"non",
|
|
"post",
|
|
"pre",
|
|
"re",
|
|
"un",
|
|
}
|
|
|
|
dict_ignore_hyphenated_suffix = {
|
|
"ify",
|
|
"ish",
|
|
"ness",
|
|
}
|
|
|
|
files_ignore = {
|
|
"tools/utils_doc/rna_manual_reference_updater.py", # Contains language ID references.
|
|
}
|