diff --git a/intern/ghost/intern/GHOST_SystemWin32.cc b/intern/ghost/intern/GHOST_SystemWin32.cc index d9ddecdb0d5..0fefead3019 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cc +++ b/intern/ghost/intern/GHOST_SystemWin32.cc @@ -1263,7 +1263,7 @@ GHOST_EventKey *GHOST_SystemWin32::processKeyEvent(GHOST_WindowWin32 *window, RA constexpr USHORT ALTGR_MAKE_CODE = 0x38; /* If the keyboard layout includes AltGr and the virtual key is Control, yet the - * scancode is actually for Right Alt (ALTGR_MAKE_CODE scan code with E0 prefix). + * scan-code is actually for Right Alt (ALTGR_MAKE_CODE scan code with E0 prefix). * Ignore these, so treating AltGR as regular Alt. #68256 */ if (system->m_hasAltGr && vk == VK_CONTROL && raw.data.keyboard.MakeCode == ALTGR_MAKE_CODE && (raw.data.keyboard.Flags & RI_KEY_E0)) diff --git a/source/blender/animrig/ANIM_versioning.hh b/source/blender/animrig/ANIM_versioning.hh index b3f17cd480b..63a07691c06 100644 --- a/source/blender/animrig/ANIM_versioning.hh +++ b/source/blender/animrig/ANIM_versioning.hh @@ -1,4 +1,3 @@ - /* SPDX-FileCopyrightText: 2024 Blender Authors * * SPDX-License-Identifier: GPL-2.0-or-later */ @@ -31,7 +30,7 @@ namespace blender::animrig::versioning { * * NOTE: this is semi-duplicated from `Action::is_action_layered()`, but with * tweaks to also recognize ultra-legacy (pre-Animato) data. Because this needs access to - * depreacted DNA fields, which is ok here in the versioning code, the other "is this legacy or + * deprecated DNA fields, which is ok here in the versioning code, the other "is this legacy or * layered?" functions do not check for pre-Animato data. * * \see Action::is_action_layered() diff --git a/source/blender/animrig/intern/versioning.cc b/source/blender/animrig/intern/versioning.cc index 9b9f35db2de..44823f102c9 100644 --- a/source/blender/animrig/intern/versioning.cc +++ b/source/blender/animrig/intern/versioning.cc @@ -149,7 +149,7 @@ void tag_action_user_for_slotted_actions_conversion(ID &animated_id) void tag_action_users_for_slotted_actions_conversion(Main &bmain) { - /* This function is only called when the blendfile is old enough to NOT use + /* This function is only called when the blend-file is old enough to NOT use * slotted Actions, so we can safely tag anything that uses an Action. */ auto flag_adt = [](ID &animated_id, diff --git a/source/blender/animrig/intern/versioning_test.cc b/source/blender/animrig/intern/versioning_test.cc index 10e989bb370..5021508abb5 100644 --- a/source/blender/animrig/intern/versioning_test.cc +++ b/source/blender/animrig/intern/versioning_test.cc @@ -85,7 +85,7 @@ TEST(animrig_versioning, action_is_layered) << "Layered Actions with forward-compat data should be considered 'layered'"; } - { /* Completely zero'ed out Action. */ + { /* Completely zeroed out Action. */ bAction action = {{nullptr}}; EXPECT_TRUE(action_is_layered(action)) << "Zero'ed-out Actions should be considered 'layered'"; } diff --git a/source/blender/blenkernel/intern/action.cc b/source/blender/blenkernel/intern/action.cc index 3dfeaafe3d1..a71825bfed3 100644 --- a/source/blender/blenkernel/intern/action.cc +++ b/source/blender/blenkernel/intern/action.cc @@ -686,7 +686,7 @@ static void action_blend_read_data(BlendDataReader *reader, ID *id) BLI_listbase_clear(&action.curves); BLI_listbase_clear(&action.groups); - /* Should never be stored as part of the forward-compatable data in a + /* Should never be stored as part of the forward-compatible data in a * layered action, and thus should always be empty here. */ BLI_assert(BLI_listbase_is_empty(&action.chanbase)); } diff --git a/source/blender/blenkernel/intern/ipo.cc b/source/blender/blenkernel/intern/ipo.cc index f1c6ac9daa4..5c9ce33e132 100644 --- a/source/blender/blenkernel/intern/ipo.cc +++ b/source/blender/blenkernel/intern/ipo.cc @@ -1396,7 +1396,7 @@ static void fcurve_add_to_list( * is not relevant, BUT do not free the IPO-Curve itself... * * \param `id`: data-block that the IPO-Curve is attached to and/or which the new - * datapaths will start from. May be null, which may impact the datapaths of the + * data-paths will start from. May be null, which may impact the data-paths of the * created F-Curves in some cases. * \param actname: name of Action-Channel (if applicable) that IPO-Curve's IPO-block belonged to. * \param constname: name of Constraint-Channel (if applicable) @@ -1695,7 +1695,7 @@ static void icu_to_fcurves(ID *id, * it is given two lists, which it will perform driver/animation-data separation. * * \param `id`: Data-block that the IPO-Curve is attached to and/or which the - * new datapaths will start from. May be null, which may impact the datapaths of + * new data-paths will start from. May be null, which may impact the data-paths of * the created F-Curves in some cases. * \param `actname`: Contrary to what you might think, this is not the name of * an action. I (Nathan) don't know what it *is*, but I'm leaving this note here diff --git a/source/blender/blenlib/BLI_kdtree_impl.h b/source/blender/blenlib/BLI_kdtree_impl.h index 01f889b0d7b..78df0869804 100644 --- a/source/blender/blenlib/BLI_kdtree_impl.h +++ b/source/blender/blenlib/BLI_kdtree_impl.h @@ -14,7 +14,7 @@ #define _BLI_CONCAT(MACRO_ARG1, MACRO_ARG2) _BLI_CONCAT_AUX(MACRO_ARG1, MACRO_ARG2) #define BLI_kdtree_nd_(id) _BLI_CONCAT(KDTREE_PREFIX_ID, _##id) -/* For autocomplete/clangd */ +/* For auto-complete / `clangd`. */ #ifndef KD_DIMS # define KD_DIMS 0 #endif diff --git a/source/blender/blenlib/BLI_math_constants.h b/source/blender/blenlib/BLI_math_constants.h index db7701cca89..135644fb8cc 100644 --- a/source/blender/blenlib/BLI_math_constants.h +++ b/source/blender/blenlib/BLI_math_constants.h @@ -9,41 +9,41 @@ */ #ifndef M_PI -# define M_PI 3.14159265358979323846 /* pi */ +# define M_PI 3.14159265358979323846 /* `pi` */ #endif #ifndef M_PI_2 -# define M_PI_2 1.57079632679489661923 /* pi/2 */ +# define M_PI_2 1.57079632679489661923 /* `pi/2` */ #endif #ifndef M_PI_4 -# define M_PI_4 0.78539816339744830962 /* pi/4 */ +# define M_PI_4 0.78539816339744830962 /* `pi/4` */ #endif #ifndef M_SQRT2 -# define M_SQRT2 1.41421356237309504880 /* sqrt(2) */ +# define M_SQRT2 1.41421356237309504880 /* `sqrt(2)` */ #endif #ifndef M_SQRT1_2 -# define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ +# define M_SQRT1_2 0.70710678118654752440 /* `1/sqrt(2)` */ #endif #ifndef M_SQRT3 -# define M_SQRT3 1.73205080756887729352 /* sqrt(3) */ +# define M_SQRT3 1.73205080756887729352 /* `sqrt(3)` */ #endif #ifndef M_SQRT1_3 -# define M_SQRT1_3 0.57735026918962576450 /* 1/sqrt(3) */ +# define M_SQRT1_3 0.57735026918962576450 /* `1/sqrt(3)` */ #endif #ifndef M_1_PI -# define M_1_PI 0.318309886183790671538 /* 1/pi */ +# define M_1_PI 0.318309886183790671538 /* `1/pi` */ #endif #ifndef M_E -# define M_E 2.7182818284590452354 /* e */ +# define M_E 2.7182818284590452354 /* `e` */ #endif #ifndef M_LOG2E -# define M_LOG2E 1.4426950408889634074 /* log_2 e */ +# define M_LOG2E 1.4426950408889634074 /* `log_2 e` */ #endif #ifndef M_LOG10E -# define M_LOG10E 0.43429448190325182765 /* log_10 e */ +# define M_LOG10E 0.43429448190325182765 /* `log_10 e` */ #endif #ifndef M_LN2 -# define M_LN2 0.69314718055994530942 /* log_e 2 */ +# define M_LN2 0.69314718055994530942 /* `log_e 2` */ #endif #ifndef M_LN10 -# define M_LN10 2.30258509299404568402 /* log_e 10 */ +# define M_LN10 2.30258509299404568402 /* `log_e 10` */ #endif diff --git a/source/blender/blenloader/BLO_readfile.hh b/source/blender/blenloader/BLO_readfile.hh index 0a358e4f1e2..cc6e79bf3ea 100644 --- a/source/blender/blenloader/BLO_readfile.hh +++ b/source/blender/blenloader/BLO_readfile.hh @@ -571,6 +571,6 @@ ID_Readfile_Data::Tags BLO_readfile_id_runtime_tags(ID &id); void BLO_readfile_id_runtime_data_free_all(Main &bmain); /** - * Free the ID_Readfile_Data of this ID. Does _not_ deal with embeded IDs. + * Free the ID_Readfile_Data of this ID. Does _not_ deal with embedded IDs. */ void BLO_readfile_id_runtime_data_free(ID &id); diff --git a/source/blender/editors/interface/templates/interface_template_status.cc b/source/blender/editors/interface/templates/interface_template_status.cc index 3c2eed05e91..a40c6c79a63 100644 --- a/source/blender/editors/interface/templates/interface_template_status.cc +++ b/source/blender/editors/interface/templates/interface_template_status.cc @@ -95,7 +95,7 @@ void uiTemplateReportsBanner(uiLayout *layout, bContext *C) 0.0f, 0.0f, ""); - /* UI_BTYPE_ROUNDBOX's bg color is set in but->col. */ + /* #UI_BTYPE_ROUNDBOX's background color is set in `but->col`. */ copy_v4_v4_uchar(but->col, report_icon_color); /* Background for the rest of the message. */ @@ -431,7 +431,7 @@ void uiTemplateStatusInfo(uiLayout *layout, bContext *C) 0.0f, 0.0f, ""); - /* UI_BTYPE_ROUNDBOX's bg color is set in but->col. */ + /*# UI_BTYPE_ROUNDBOX's background color is set in `but->col`. */ UI_GetThemeColorType4ubv(TH_INFO_WARNING, SPACE_INFO, but->col); if (!warning_message.is_empty()) { diff --git a/tools/utils/gitea_inactive_developers.py b/tools/utils/gitea_inactive_developers.py index 7e4d234c43b..473edae6033 100755 --- a/tools/utils/gitea_inactive_developers.py +++ b/tools/utils/gitea_inactive_developers.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: GPL-2.0-or-later -# Script to get all the inactive gitea developers +# Script to get all the inactive GITEA developers # Usage: GITEA_API_TOKEN= python3 gitea_inactive_developers.py # # The API Token have the "read:org" or "admin:org" scope.