diff --git a/.gitlab-ci/localhost.json.license b/.gitlab-ci/localhost.json.license
index 972ecf740..54b8b115a 100644
--- a/.gitlab-ci/localhost.json.license
+++ b/.gitlab-ci/localhost.json.license
@@ -1,3 +1,3 @@
Copyright 2020, Collabora, Ltd.
-SPDX-License-Identifier: BSL-1.0
\ No newline at end of file
+SPDX-License-Identifier: BSL-1.0
diff --git a/cmake/.cmake-format.json.license b/cmake/.cmake-format.json.license
index b86a25f70..4e1c9a69b 100644
--- a/cmake/.cmake-format.json.license
+++ b/cmake/.cmake-format.json.license
@@ -1,3 +1,3 @@
Copyright 2019-2020, Collabora, Ltd.
-SPDX-License-Identifier: BSL-1.0
\ No newline at end of file
+SPDX-License-Identifier: BSL-1.0
diff --git a/cmake/FindEigen3.cmake b/cmake/FindEigen3.cmake
index 150c2bd36..b46df1c1b 100644
--- a/cmake/FindEigen3.cmake
+++ b/cmake/FindEigen3.cmake
@@ -14,7 +14,7 @@
#
# Eigen3::Eigen - The header-only Eigen library
#
-# This module reads hints about search locations from
+# This module reads hints about search locations from
# the following environment variables:
#
# EIGEN3_ROOT
@@ -72,7 +72,7 @@ if (EIGEN3_INCLUDE_DIR)
set(Eigen3_FOUND ${EIGEN3_VERSION_OK})
else ()
-
+
# search first if an Eigen3Config.cmake is available in the system,
# if successful this would set EIGEN3_INCLUDE_DIR and the rest of
# the script will work as usual
@@ -81,7 +81,7 @@ else ()
if(NOT EIGEN3_INCLUDE_DIR)
find_path(EIGEN3_INCLUDE_DIR NAMES signature_of_eigen3_matrix_library
HINTS
- ENV EIGEN3_ROOT
+ ENV EIGEN3_ROOT
ENV EIGEN3_ROOT_DIR
PATHS
${CMAKE_INSTALL_PREFIX}/include
diff --git a/cmake/FindSystemd.cmake b/cmake/FindSystemd.cmake
index 1f95eb835..887fb42b2 100644
--- a/cmake/FindSystemd.cmake
+++ b/cmake/FindSystemd.cmake
@@ -26,23 +26,23 @@
#
# SPDX-License-Identifier: BSD-3-Clause
#=============================================================================
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
-#
+#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
-#
+#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-#
+#
# * Neither the names of Kitware, Inc., the Insight Software Consortium,
# nor the names of their contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
diff --git a/doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js b/doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js
index 40fe2d38e..4b4d92d49 100644
--- a/doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js
+++ b/doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js
@@ -46,7 +46,7 @@ class DoxygenAwesomeDarkModeToggle extends HTMLElement {
DoxygenAwesomeDarkModeToggle.onSystemPreferenceChanged()
})
// Update the color scheme when the tab is made visible again.
- // It is possible that the appearance was changed in another tab
+ // It is possible that the appearance was changed in another tab
// while this tab was in the background.
document.addEventListener("visibilitychange", visibilityState => {
if (document.visibilityState === 'visible') {
@@ -97,7 +97,7 @@ class DoxygenAwesomeDarkModeToggle extends HTMLElement {
* @returns `true` for dark-mode, `false` for light-mode user preference
*/
static get userPreference() {
- return (!DoxygenAwesomeDarkModeToggle.systemPreference && localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey)) ||
+ return (!DoxygenAwesomeDarkModeToggle.systemPreference && localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey)) ||
(DoxygenAwesomeDarkModeToggle.systemPreference && !localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey))
}
diff --git a/doc/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js b/doc/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js
index 86c16fd93..4aea58b9c 100644
--- a/doc/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js
+++ b/doc/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js
@@ -47,11 +47,11 @@ class DoxygenAwesomeFragmentCopyButton extends HTMLElement {
const fragmentCopyButton = document.createElement("doxygen-awesome-fragment-copy-button")
fragmentCopyButton.innerHTML = DoxygenAwesomeFragmentCopyButton.copyIcon
fragmentCopyButton.title = DoxygenAwesomeFragmentCopyButton.title
-
+
fragment.parentNode.replaceChild(fragmentWrapper, fragment)
fragmentWrapper.appendChild(fragment)
fragmentWrapper.appendChild(fragmentCopyButton)
-
+
}
}
})
diff --git a/doc/doxygen-awesome-css/doxygen-awesome-interactive-toc.js b/doc/doxygen-awesome-css/doxygen-awesome-interactive-toc.js
index 20a9669d7..7201c687b 100644
--- a/doc/doxygen-awesome-css/doxygen-awesome-interactive-toc.js
+++ b/doc/doxygen-awesome-css/doxygen-awesome-interactive-toc.js
@@ -78,4 +78,4 @@ class DoxygenAwesomeInteractiveToc {
active?.classList.add("active")
active?.classList.remove("aboveActive")
}
-}
\ No newline at end of file
+}
diff --git a/doc/doxygen-awesome-css/doxygen-awesome-tabs.js b/doc/doxygen-awesome-css/doxygen-awesome-tabs.js
index 8e725b230..b6f99e241 100644
--- a/doc/doxygen-awesome-css/doxygen-awesome-tabs.js
+++ b/doc/doxygen-awesome-css/doxygen-awesome-tabs.js
@@ -67,4 +67,4 @@ class DoxygenAwesomeTabs {
})
})
}
-}
\ No newline at end of file
+}
diff --git a/doc/doxygen-awesome-css/doxygen-awesome.css b/doc/doxygen-awesome-css/doxygen-awesome.css
index 08238977a..9b9d8518b 100644
--- a/doc/doxygen-awesome-css/doxygen-awesome.css
+++ b/doc/doxygen-awesome-css/doxygen-awesome.css
@@ -204,7 +204,7 @@ html {
--code-background: #2a2c2f;
--tablehead-background: #2a2c2f;
-
+
--blockquote-background: #222325;
--blockquote-foreground: #7e8c92;
@@ -888,7 +888,7 @@ div.header {
flex-wrap: nowrap;
align-items: flex-start;
}
-
+
div.contents .textblock {
min-width: 200px;
flex-grow: 1;
@@ -980,21 +980,21 @@ html.dark-mode div.contents .dotgraph iframe
h2.groupheader {
border-bottom: 0px;
color: var(--page-foreground-color);
- box-shadow:
- 100px 0 var(--page-background-color),
+ box-shadow:
+ 100px 0 var(--page-background-color),
-100px 0 var(--page-background-color),
100px 0.75px var(--separator-color),
-100px 0.75px var(--separator-color),
- 500px 0 var(--page-background-color),
+ 500px 0 var(--page-background-color),
-500px 0 var(--page-background-color),
500px 0.75px var(--separator-color),
-500px 0.75px var(--separator-color),
- 900px 0 var(--page-background-color),
+ 900px 0 var(--page-background-color),
-900px 0 var(--page-background-color),
900px 0.75px var(--separator-color),
-900px 0.75px var(--separator-color),
1400px 0 var(--page-background-color),
- -1400px 0 var(--page-background-color),
+ -1400px 0 var(--page-background-color),
1400px 0.75px var(--separator-color),
-1400px 0.75px var(--separator-color),
1900px 0 var(--page-background-color),
@@ -1165,8 +1165,8 @@ div.toc li a.aboveActive {
div.contents .toc.interactive > h3::before {
content: "";
- width: 0;
- height: 0;
+ width: 0;
+ height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid var(--primary-color);
@@ -1857,8 +1857,8 @@ table.memberdecls img[src="closed.png"],
table.memberdecls img[src="open.png"],
div.dynheader img[src="open.png"],
div.dynheader img[src="closed.png"] {
- width: 0;
- height: 0;
+ width: 0;
+ height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid var(--primary-color);
@@ -1876,7 +1876,7 @@ table.memberdecls img {
table.memberdecls img[src="closed.png"],
div.dynheader img[src="closed.png"] {
transform: rotate(-90deg);
-
+
}
.compoundTemplParams {
@@ -1919,7 +1919,7 @@ div.dynheader img[src="closed.png"] {
margin-bottom: calc(0px - var(--page-font-size));
}
- table.memberdecls .memItemRight,
+ table.memberdecls .memItemRight,
table.memberdecls .mdescRight,
table.memberdecls .memTemplItemRight {
border-top: 0;
@@ -2105,8 +2105,8 @@ html.dark-mode .iconfopen, html.dark-mode .iconfclosed {
background-color: transparent;
}
-/*
- Class Index Doxygen 1.8
+/*
+ Class Index Doxygen 1.8
*/
table.classindex {
@@ -2251,7 +2251,7 @@ div.contents .toc::-webkit-scrollbar-thumb,
background-color: transparent;
border: var(--webkit-scrollbar-padding) solid transparent;
border-radius: calc(var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
- background-clip: padding-box;
+ background-clip: padding-box;
}
#nav-tree:hover::-webkit-scrollbar-thumb,
diff --git a/doc/hand-tracking-mercury.md b/doc/hand-tracking-mercury.md
index 60fee7aa3..c26d542d0 100644
--- a/doc/hand-tracking-mercury.md
+++ b/doc/hand-tracking-mercury.md
@@ -16,8 +16,8 @@ SPDX-License-Identifier: BSL-1.0
* Are you only including what you use?
# About optimizer parameters/residuals
-* My understanding is that Ceres uses *forward-mode autodiff*, which means that for each number you want autodiff to consider, it's stored in a dual number (ceres::Jet) which has a "real" part - just the value, and then a "infinitesmal" part - *this value's partial derivatives with respect to the input parameters*. Then, for every operation, you do the operation to the value and apply the chain rule to the infinitesmal parts.
- * As such, it's much easier for the number of residuals to be different than the number of input parameters - creating one `Ceres::Jet` is the same as creating many `ceres::Jet`s, but having the number of infinitesmal parts in a Jet be different at runtime would be weird and probably really expensive.
+* My understanding is that Ceres uses *forward-mode autodiff*, which means that for each number you want autodiff to consider, it's stored in a dual number (ceres::Jet) which has a "real" part - just the value, and then a "infinitesmal" part - *this value's partial derivatives with respect to the input parameters*. Then, for every operation, you do the operation to the value and apply the chain rule to the infinitesmal parts.
+ * As such, it's much easier for the number of residuals to be different than the number of input parameters - creating one `Ceres::Jet` is the same as creating many `ceres::Jet`s, but having the number of infinitesmal parts in a Jet be different at runtime would be weird and probably really expensive.
* Sooooo... for now, the input size is calculated statically. We have two possible input sizes - one that includes the hand size; one that doesn't. I've tried having the output residual size be calculated statically (annoying, because you need to write a ton of boilerplate to dispatch the correct template for different cases), and I've tried having it be calculated dynamically, and the performance difference doesn't seem to be huge. So, for simplicity and for compile times, the residual size is dynamic for now. We'll revisit this later when we have dataset playback capability :)
diff --git a/doc/images/autoexpgain.drawio.svg b/doc/images/autoexpgain.drawio.svg
index 84eb8c87f..a60077e0e 100644
--- a/doc/images/autoexpgain.drawio.svg
+++ b/doc/images/autoexpgain.drawio.svg
@@ -1,4 +1,4 @@
-
\ No newline at end of file
+
diff --git a/doc/images/in-process.drawio.svg.license b/doc/images/in-process.drawio.svg.license
index 972ecf740..54b8b115a 100644
--- a/doc/images/in-process.drawio.svg.license
+++ b/doc/images/in-process.drawio.svg.license
@@ -1,3 +1,3 @@
Copyright 2020, Collabora, Ltd.
-SPDX-License-Identifier: BSL-1.0
\ No newline at end of file
+SPDX-License-Identifier: BSL-1.0
diff --git a/doc/images/monado-input-class-relationships.drawio.svg.license b/doc/images/monado-input-class-relationships.drawio.svg.license
index 972ecf740..54b8b115a 100644
--- a/doc/images/monado-input-class-relationships.drawio.svg.license
+++ b/doc/images/monado-input-class-relationships.drawio.svg.license
@@ -1,3 +1,3 @@
Copyright 2020, Collabora, Ltd.
-SPDX-License-Identifier: BSL-1.0
\ No newline at end of file
+SPDX-License-Identifier: BSL-1.0
diff --git a/scripts/cppwinrt.imp b/scripts/cppwinrt.imp
index d5dcd46fa..b2ae072f7 100644
--- a/scripts/cppwinrt.imp
+++ b/scripts/cppwinrt.imp
@@ -1,7 +1,7 @@
-# Copyright 2022-2023, Collabora, Ltd.
-#
-# SPDX-License-Identifier: BSL-1.0
-#
-# GENERATED - edit generate_iwyu_mapping_cppwinrt.py instead of this file
-[
-]
+# Copyright 2022-2023, Collabora, Ltd.
+#
+# SPDX-License-Identifier: BSL-1.0
+#
+# GENERATED - edit generate_iwyu_mapping_cppwinrt.py instead of this file
+[
+]
diff --git a/scripts/format-and-spellcheck.sh b/scripts/format-and-spellcheck.sh
index 7ac80bd08..2a9c01b15 100755
--- a/scripts/format-and-spellcheck.sh
+++ b/scripts/format-and-spellcheck.sh
@@ -11,7 +11,7 @@ PATCH_DIR=patches
PATCH_NAME=fixes.diff
(
cd $(dirname $0)
-
+
# Exit if working tree dirty or uncommitted changes staged.
if ! git diff-files --quiet; then
echo "ERROR: Cannot perform check/fix, working tree dirty."
@@ -38,7 +38,7 @@ PATCH_NAME=fixes.diff
CODESPELL_RESULT=false
fi
-
+
echo "Running clang-format..."
echo
./format-project.sh
@@ -47,7 +47,7 @@ PATCH_NAME=fixes.diff
echo
./format-cmake.sh
-
+
(
cd ..
mkdir -p $PATCH_DIR
diff --git a/scripts/get-ht-models.sh b/scripts/get-ht-models.sh
index 279f9a5d5..1b8d9c9a9 100755
--- a/scripts/get-ht-models.sh
+++ b/scripts/get-ht-models.sh
@@ -15,4 +15,4 @@ git clone https://gitlab.freedesktop.org/monado/utilities/hand-tracking-models
cd hand-tracking-models
git lfs install
git lfs fetch
-git lfs pull
\ No newline at end of file
+git lfs pull
diff --git a/scripts/msvc.imp b/scripts/msvc.imp
index 61478d05c..be006c97a 100644
--- a/scripts/msvc.imp
+++ b/scripts/msvc.imp
@@ -1,28 +1,28 @@
-# Copyright 2022, Collabora, Ltd.
-# SPDX-License-Identifier: BSL-1.0
-#
-# GENERATED - edit generate_iwyu_mapping_msvc.py instead of this file
-[
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "", "public"] },
-{ include: ["", "private", "