diff --git a/source/blender/blenlib/BLI_build_config.h b/source/blender/blenlib/BLI_build_config.h index 8fcdbaf4132..232c2fb6c5a 100644 --- a/source/blender/blenlib/BLI_build_config.h +++ b/source/blender/blenlib/BLI_build_config.h @@ -41,7 +41,7 @@ * The commonly detected CPU capabilities are: * - Family: `ARCH_CPU__FAMILY` * - CPU bitness: `ARCH_CPU_<32|64>_BITS` - * - Endianess: `ARCH_CPU__ENDIAN` + * - Endianness: `ARCH_CPU__ENDIAN` * * Supported CPU families: X86, S390, PPC, ARM, MIPS. */ @@ -50,9 +50,9 @@ /** * All commonly used symbols (which are checked on a "top" level, from outside of any - * platform-specific ifdef block) are to be explicitly defined to 0 when they are not "active". + * platform-specific `ifdef` block) are to be explicitly defined to 0 when they are not "active". * Such an approach helps catching cases when one is attempted to access build configuration - * variable without including the header by simply using the -Wundef compiler attribute. + * variable without including the header by simply using the `-Wundef` compiler attribute. */ /* -------------------------------------------------------------------- */ @@ -62,7 +62,7 @@ #if defined(__native_client__) /* __native_client__ must be first, so that other OS_ defines are not set. */ # define OS_NACL 1 -/* OS_NACL comes in two sandboxing technology flavors, SFI or Non-SFI. PNaCl toolchain defines +/* OS_NACL comes in two sand-boxing technology flavors, SFI or Non-SFI. PNaCl toolchain defines * __native_client_nonsfi__ macro in Non-SFI build mode, while it does not in SFI build mode. */ # if defined(__native_client_nonsfi__) # define OS_NACL_NONSFI @@ -75,7 +75,7 @@ # define OS_ANDROID 1 #elif defined(__APPLE__) /* Only include TargetConditions after testing ANDROID as some android builds on mac don't have - * this header available and it's not needed unless the target is really mac/ios. */ + * this header available and it's not needed unless the target is really mac/IOS. */ # include # define OS_MAC 1 # if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE @@ -87,10 +87,10 @@ # define OS_HPUX 1 #elif defined(__linux__) # define OS_LINUX 1 -/* Include a system header to pull in features.h for glibc/uclibc macros. */ +/* Include a system header to pull in features.h for GLIBC/UCLIBC macros. */ # include # if defined(__GLIBC__) && !defined(__UCLIBC__) -/* We really are using glibc, not uClibc pretending to be glibc. */ +/* We really are using GLIBC, not UCLIBC pretending to be GLIBC. */ # define LIBC_GLIBC 1 # endif #elif defined(__sgi) diff --git a/source/blender/blenloader/intern/readfile.cc b/source/blender/blenloader/intern/readfile.cc index ddc32005bd9..59f4477b1ce 100644 --- a/source/blender/blenloader/intern/readfile.cc +++ b/source/blender/blenloader/intern/readfile.cc @@ -1800,7 +1800,7 @@ static void *read_struct(FileData *fd, BHead *bh, const char *blockname, const i BHead *bh_orig = bh; #endif - /* Endianess switch is based on file DNA. + /* Endianness switch is based on file DNA. * * NOTE: raw data (aka #SDNA_RAW_DATA_STRUCT_INDEX #SDNAnr) is not handled here, it's up to * the calling code to manage this. */ diff --git a/source/blender/draw/engines/overlay/overlay_next_antialiasing.hh b/source/blender/draw/engines/overlay/overlay_next_antialiasing.hh index ba51a9bbf86..099209f7358 100644 --- a/source/blender/draw/engines/overlay/overlay_next_antialiasing.hh +++ b/source/blender/draw/engines/overlay/overlay_next_antialiasing.hh @@ -5,7 +5,7 @@ /** \file * \ingroup draw_engine * - * Overlay antialiasing: + * Overlay anti-aliasing: * * Most of the overlays are wires which causes a lot of flickering in motions * due to aliasing problems. diff --git a/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_face_vert.glsl b/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_face_vert.glsl index 0ed92b6fdad..1e71b33de25 100644 --- a/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_face_vert.glsl +++ b/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_face_vert.glsl @@ -11,7 +11,7 @@ void main() vert_in.lN = vnor; vert_in.e_data = data; - /* Vertex, Facedot and Face case. */ + /* Vertex, Face-dot and Face case. */ VertOut vert_out = vertex_main(vert_in); gl_Position = vert_out.gpu_position; diff --git a/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_facedot_vert.glsl b/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_facedot_vert.glsl index 0ed92b6fdad..1e71b33de25 100644 --- a/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_facedot_vert.glsl +++ b/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_facedot_vert.glsl @@ -11,7 +11,7 @@ void main() vert_in.lN = vnor; vert_in.e_data = data; - /* Vertex, Facedot and Face case. */ + /* Vertex, Face-dot and Face case. */ VertOut vert_out = vertex_main(vert_in); gl_Position = vert_out.gpu_position; diff --git a/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_vertex_vert.glsl b/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_vertex_vert.glsl index 0ed92b6fdad..1e71b33de25 100644 --- a/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_vertex_vert.glsl +++ b/source/blender/draw/engines/overlay/shaders/overlay_edit_mesh_vertex_vert.glsl @@ -11,7 +11,7 @@ void main() vert_in.lN = vnor; vert_in.e_data = data; - /* Vertex, Facedot and Face case. */ + /* Vertex, Face-dot and Face case. */ VertOut vert_out = vertex_main(vert_in); gl_Position = vert_out.gpu_position; diff --git a/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_vert.glsl b/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_vert.glsl index 7da426047b5..9b1bd0907a9 100644 --- a/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_vert.glsl +++ b/source/blender/draw/engines/workbench/shaders/workbench_shadow_caps_vert.glsl @@ -5,7 +5,7 @@ /** * Render shadow casters extrusion caps. * Manifold meshes generate caps for triangles facing the light. - * Non-Manifold meshes generate caps for all triangles and invert the winding for backfacing ones. + * Non-Manifold meshes generate caps for all triangles and invert the winding for back-facing ones. * * This shader uses triangle primitive to know the geometric normals of a triangle. * Two triangles are generated for each original triangle facing the light. One in front of the diff --git a/source/blender/editors/sculpt_paint/mesh_brush_common.hh b/source/blender/editors/sculpt_paint/mesh_brush_common.hh index ae10bca2143..64b349df879 100644 --- a/source/blender/editors/sculpt_paint/mesh_brush_common.hh +++ b/source/blender/editors/sculpt_paint/mesh_brush_common.hh @@ -348,7 +348,7 @@ void project_translations(MutableSpan translations, const float3 &plane) * translations. This is used for tools that calculate new positions based on the original * positions for the entirety of an operation. Conceptually this is the same as resetting the * positions before each step of the operation, but combining that into the same loop should be - * preferrable for performance. + * preferable for performance. */ void reset_translations_to_original(MutableSpan translations, Span positions, diff --git a/source/blender/editors/sculpt_paint/sculpt.cc b/source/blender/editors/sculpt_paint/sculpt.cc index 901d5fb349e..b329778ec5c 100644 --- a/source/blender/editors/sculpt_paint/sculpt.cc +++ b/source/blender/editors/sculpt_paint/sculpt.cc @@ -135,8 +135,8 @@ bool report_if_shape_key_is_locked(const Object &ob, ReportList *reports) /* -------------------------------------------------------------------- */ /** \name Sculpt bke::pbvh::Tree Abstraction API * - * This is read-only, for writing use bke::pbvh::Tree vertex iterators. There vd.index matches - * the indices used here. + * This is read-only, for writing use #bke::pbvh::Tree vertex iterators. + * There `vd.index` matches the indices used here. * * For multi-resolution, the same vertex in multiple grids is counted multiple times, with * different index for each grid. diff --git a/source/blender/makesdna/DNA_sdna_types.h b/source/blender/makesdna/DNA_sdna_types.h index dda42e9bd5e..4e57b632931 100644 --- a/source/blender/makesdna/DNA_sdna_types.h +++ b/source/blender/makesdna/DNA_sdna_types.h @@ -134,7 +134,7 @@ typedef struct SDNA { /** * The struct index representing type-less bytes buffers. * - * Although code has historically (pre-4.3) be fairly flacky (logically incorrect, see inline + * Although code has historically (pre-4.3) be fairly flaky (logically incorrect, see inline * code-comments for #DNA_struct_get_compareflags regarding this), most of read/write blend-file * code would assume that the `0` value was raw data, so keep it at this value. */ diff --git a/tools/check_source/check_spelling_config.py b/tools/check_source/check_spelling_config.py index 35912ba7bf2..d142f5fa13e 100644 --- a/tools/check_source/check_spelling_config.py +++ b/tools/check_source/check_spelling_config.py @@ -404,6 +404,7 @@ dict_custom = { "thumbstick", "tokenize", "tokenizing", + "toolchain", "trackpad", "transcode", "transmissive",