Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Devaniti/D3d12infoGUI
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.0
Choose a base ref
...
head repository: Devaniti/D3d12infoGUI
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Aug 24, 2024

  1. Added XeSS ID to known enums

    Devaniti committed Aug 24, 2024
    Copy the full SHA
    485558d View commit details

Commits on Nov 2, 2024

  1. Added tooltips to reports

    Devaniti committed Nov 2, 2024
    Copy the full SHA
    719ae3b View commit details
  2. Updated d3d12info submodule

    Devaniti committed Nov 2, 2024
    Copy the full SHA
    1a4b4a9 View commit details
  3. Copy the full SHA
    5ad317b View commit details
  4. Copy the full SHA
    726eabb View commit details

Commits on Nov 9, 2024

  1. Copy the full SHA
    2c78b91 View commit details
  2. Copy the full SHA
    b4e7632 View commit details
  3. Copy the full SHA
    c888953 View commit details

Commits on Nov 11, 2024

  1. Updates to Feature Table (#2)

    Co-authored-by: Dmytro Bulatov <dmytro.bulatov@boolka.dev>
    Maraneshi and Devaniti authored Nov 11, 2024
    Copy the full SHA
    3193c46 View commit details

Commits on Nov 13, 2024

  1. Copy the full SHA
    f5870cc View commit details
  2. Fixed file case (#4)

    Devaniti authored Nov 13, 2024
    Copy the full SHA
    20599c5 View commit details
  3. Copy the full SHA
    bf1e35f View commit details

Commits on Nov 15, 2024

  1. Copy the full SHA
    67b4b56 View commit details
  2. Copy the full SHA
    bfd7b15 View commit details
  3. fixed property search (#8)

    Devaniti authored Nov 15, 2024
    Copy the full SHA
    7ab8e64 View commit details

Commits on Nov 16, 2024

  1. Implemented CI/CD (#9)

    Devaniti authored Nov 16, 2024
    Copy the full SHA
    362ed69 View commit details

Commits on Dec 7, 2024

  1. Small tweaks to Feature Table (#11)

    * Updated display of some features in the table
    
    * Made list of adapters of the arch more usable in the feature table
    
    * re-run webpack for deployment
    
    * review fixes
    Devaniti authored Dec 7, 2024
    Copy the full SHA
    d942e89 View commit details

Commits on Dec 30, 2024

  1. Implemented Format Support Table (#13)

    * Updated D3d12info submodule
    
    * Working format table
    
    * Replaced emoji with icons in format table
    
    * Updated required icon
    
    * Changed color in required.svg
    
    * Changed icon colors for light mode, some small code cleanup
    
    * Updated D3d12info submodule
    Devaniti authored Dec 30, 2024
    Copy the full SHA
    ee9bbae View commit details
  2. Copy the full SHA
    61fc49b View commit details
  3. Copy the full SHA
    d4a2593 View commit details
  4. Remove debug log (#16)

    Devaniti authored Dec 30, 2024
    Copy the full SHA
    b6b6d46 View commit details

Commits on Dec 31, 2024

  1. Copy the full SHA
    ef0377e View commit details
  2. Copy the full SHA
    2e711c1 View commit details

Commits on Jan 1, 2025

  1. Copy the full SHA
    a2f68bc View commit details

Commits on Jan 7, 2025

  1. Copy the full SHA
    2a7f4db View commit details

Commits on Jan 16, 2025

  1. Copy the full SHA
    0a2baa8 View commit details

Commits on Jan 18, 2025

  1. Copy the full SHA
    c0386f1 View commit details
  2. Copy the full SHA
    e65f2b6 View commit details

Commits on Feb 1, 2025

  1. Updated D3d12info to 3.8.0 and prepared for the release (#23)

    * Revert "Refactored usage of svg icons to optimize rendering (#21)"
    
    This reverts commit 0a2baa8.
    
    * Updated D3d12info
    
    * Updated D3d12info to 3.8.0, updated properties list
    
    * Updated DirectSR variants list
    Devaniti authored Feb 1, 2025
    Copy the full SHA
    9199341 View commit details

Commits on Feb 3, 2025

  1. Copy the full SHA
    4d1b2d4 View commit details

Commits on Feb 7, 2025

  1. Fixed feature table (#25)

    Devaniti authored Feb 7, 2025
    Copy the full SHA
    7847269 View commit details

Commits on Feb 9, 2025

  1. Updated UI of GUI (#26)

    Devaniti authored Feb 9, 2025
    Copy the full SHA
    2dcaffe View commit details
  2. Copy the full SHA
    8bd625f View commit details

Commits on Feb 21, 2025

  1. Copy the full SHA
    aae438a View commit details

Commits on Mar 1, 2025

  1. Copy the full SHA
    dea7997 View commit details
  2. Added favicon (#30)

    Devaniti authored Mar 1, 2025
    Copy the full SHA
    028af90 View commit details

Commits on Mar 2, 2025

  1. Updated D3d12info to 3.10 (#31)

    * Updated D3d12info submodule to 3.10, updated steam gpu stats
    
    * Removed clang-tidy related files, updated clang-format config, reformatted all files
    
    * Refactored D3d12info usage to use file i/o instead of pipes. Changed logic to run both versions of d3d12info in parallel. Fixed compatibility when temp folder path has spaces or non ASCII characters.
    Devaniti authored Mar 2, 2025
    Copy the full SHA
    7c7d6b7 View commit details

Commits on Mar 8, 2025

  1. Cleaned up feature table layout and logic (#33)

    * Cleaned up feature table layout and logic
    
    * Run webpack
    Devaniti authored Mar 8, 2025
    Copy the full SHA
    14d9e9b View commit details
  2. Improved Feature Table UX (#34)

    * Added animation to tooltips in feature table
    
    * Updated market share stats to February 2025
    
    * Added filters to feature table
    Devaniti authored Mar 8, 2025
    Copy the full SHA
    0667c04 View commit details

Commits on Mar 9, 2025

  1. Copy the full SHA
    54a63a4 View commit details

Commits on Mar 15, 2025

  1. Copy the full SHA
    5258994 View commit details

Commits on Mar 19, 2025

  1. Fixed typos (#37)

    Devaniti authored Mar 19, 2025
    Copy the full SHA
    c64b612 View commit details
Showing with 25,377 additions and 5,096 deletions.
  1. +152 −57 {source → }/.clang-format
  2. +1 −0 .clang-format-ignore
  3. +0 −1 .clang-tidy
  4. +37 −0 .github/workflows/CI.yml
  5. +65 −0 .github/workflows/Package.yml
  6. +2 −0 .gitignore
  7. +3 −0 .gitmodules
  8. +2 −0 README.md
  9. +32 −0 build_scripts/archive_package.ps1
  10. +5 −1 build_scripts/build.ps1
  11. +4 −2 build_scripts/clean.ps1
  12. +49 −0 build_scripts/package.ps1
  13. +0 −7 build_scripts/package_release.ps1
  14. +1 −2 build_scripts/pre_commit.ps1
  15. +2 −2 build_scripts/rebuild.ps1
  16. +0 −7 build_scripts/tidy.ps1
  17. +0 −48 source/.clang-tidy
  18. +18 −7 source/GUI/CMakeLists.txt
  19. BIN source/GUI/html/01dd40ee699a7c61060b.ico
  20. BIN source/GUI/html/27f62b53b93858475a7f.ttf
  21. BIN source/GUI/html/75bc14637f1d0317a8c5.ttf
  22. BIN source/GUI/html/84cce981575dbdc0fe40.png
  23. +0 −119 source/GUI/html/Report.css
  24. +0 −20 source/GUI/html/Report.html
  25. +0 −1,199 source/GUI/html/Reports.json
  26. BIN source/GUI/html/b0669e145449e7ec0cf7.png
  27. +21 −0 source/GUI/html/ca84030c52cc08023014.webmanifest
  28. +1 −0 source/GUI/html/database.svg
  29. +1 −0 source/GUI/html/default.js
  30. +9 −0 source/GUI/html/error.svg
  31. +3 −0 source/GUI/html/favicon.svg
  32. +1 −0 source/GUI/html/github-mark.svg
  33. +1 −0 source/GUI/html/index.html
  34. +1 −0 source/GUI/html/info.svg
  35. +12 −0 source/GUI/html/required.svg
  36. 0 source/GUI/html/{Search.svg → search.svg}
  37. +11 −0 source/GUI/html/supported.svg
  38. +13 −0 source/GUI/html/unsupported.svg
  39. +44 −6 source/GUI/private/embed.py
  40. +33 −28 source/GUI/private/embed_extractor.cpp
  41. +9 −8 source/GUI/private/embed_extractor.h
  42. +146 −115 source/GUI/private/main.cpp
  43. +45 −36 source/GUI/private/report_generator.cpp
  44. +9 −8 source/GUI/private/report_generator.h
  45. +33 −87 source/GUI/private/subprocess.cpp
  46. +18 −15 source/GUI/private/subprocess.h
  47. +194 −133 source/GUI/private/window.cpp
  48. +40 −35 source/GUI/private/window.h
  49. +4 −2 source/GUI/public/precompiled_header.h
  50. +111 −2 source/db-server/main.js
  51. +317 −174 source/db-server/package-lock.json
  52. +1 −1 source/db-server/package.json
  53. +0 −1 source/external/.clang-tidy
  54. +1 −1 source/external/D3d12info
  55. +1 −0 source/external/SteamHWSurveyGPUArchStats
  56. +1 −0 source/frontend/.gitignore
  57. +223 −0 source/frontend/assets/css/feature_table.css
  58. +196 −0 source/frontend/assets/css/main.css
  59. +199 −0 source/frontend/assets/css/report_table.css
  60. BIN source/frontend/assets/favicon/apple-touch-icon.png
  61. BIN source/frontend/assets/favicon/favicon-96x96.png
  62. BIN source/frontend/assets/favicon/favicon.ico
  63. +3 −0 source/frontend/assets/favicon/favicon.svg
  64. +5 −0 source/frontend/assets/favicon/favicon_header.html
  65. +21 −0 source/frontend/assets/favicon/site.webmanifest
  66. BIN source/frontend/assets/favicon/web-app-manifest-192x192.png
  67. BIN source/frontend/assets/favicon/web-app-manifest-512x512.png
  68. BIN source/frontend/assets/fonts/Roboto-Black.ttf
  69. BIN source/frontend/assets/fonts/Roboto-BlackItalic.ttf
  70. BIN source/frontend/assets/fonts/Roboto-Bold.ttf
  71. BIN source/frontend/assets/fonts/Roboto-BoldItalic.ttf
  72. BIN source/frontend/assets/fonts/Roboto-Italic.ttf
  73. BIN source/frontend/assets/fonts/Roboto-Light.ttf
  74. BIN source/frontend/assets/fonts/Roboto-LightItalic.ttf
  75. BIN source/frontend/assets/fonts/Roboto-Medium.ttf
  76. BIN source/frontend/assets/fonts/Roboto-MediumItalic.ttf
  77. BIN source/frontend/assets/fonts/Roboto-Regular.ttf
  78. BIN source/frontend/assets/fonts/Roboto-Thin.ttf
  79. BIN source/frontend/assets/fonts/Roboto-ThinItalic.ttf
  80. BIN source/frontend/assets/fonts/SourceCodePro-Black.ttf
  81. BIN source/frontend/assets/fonts/SourceCodePro-BlackItalic.ttf
  82. BIN source/frontend/assets/fonts/SourceCodePro-Bold.ttf
  83. BIN source/frontend/assets/fonts/SourceCodePro-BoldItalic.ttf
  84. BIN source/frontend/assets/fonts/SourceCodePro-ExtraBold.ttf
  85. BIN source/frontend/assets/fonts/SourceCodePro-ExtraBoldItalic.ttf
  86. BIN source/frontend/assets/fonts/SourceCodePro-ExtraLight.ttf
  87. BIN source/frontend/assets/fonts/SourceCodePro-ExtraLightItalic.ttf
  88. BIN source/frontend/assets/fonts/SourceCodePro-Italic.ttf
  89. BIN source/frontend/assets/fonts/SourceCodePro-Light.ttf
  90. BIN source/frontend/assets/fonts/SourceCodePro-LightItalic.ttf
  91. BIN source/frontend/assets/fonts/SourceCodePro-Medium.ttf
  92. BIN source/frontend/assets/fonts/SourceCodePro-MediumItalic.ttf
  93. BIN source/frontend/assets/fonts/SourceCodePro-Regular.ttf
  94. BIN source/frontend/assets/fonts/SourceCodePro-SemiBold.ttf
  95. BIN source/frontend/assets/fonts/SourceCodePro-SemiBoldItalic.ttf
  96. +58 −0 source/frontend/assets/html_gui/index.html
  97. +15,148 −0 source/frontend/assets/html_gui/reports.js
  98. +30 −0 source/frontend/assets/html_website/FeatureTable.html
  99. +43 −0 source/frontend/assets/html_website/about.html
  100. +39 −0 source/frontend/assets/html_website/header.html
  101. +21 −0 source/frontend/assets/html_website/id.html
  102. +24 −0 source/frontend/assets/html_website/index.html
  103. +1 −0 source/frontend/assets/icons/database.svg
  104. +1 −0 source/frontend/assets/icons/download.svg
  105. +9 −0 source/frontend/assets/icons/error.svg
  106. +1 −0 source/frontend/assets/icons/github-mark.svg
  107. +1 −0 source/frontend/assets/icons/info.svg
  108. +12 −0 source/frontend/assets/icons/required.svg
  109. 0 source/{website/Search.svg → frontend/assets/icons/search.svg}
  110. +11 −0 source/frontend/assets/icons/supported.svg
  111. +13 −0 source/frontend/assets/icons/unsupported.svg
  112. +2 −0 source/frontend/assets/js/arch_stats.mjs
  113. +220 −751 source/{GUI/html/Report.js → frontend/assets/js/constants.mjs}
  114. +314 −0 source/frontend/assets/js/format_table.mjs
  115. +2 −0 source/frontend/assets/js/globals.mjs
  116. +290 −0 source/frontend/assets/js/gui.mjs
  117. +53 −0 source/frontend/assets/js/html.mjs
  118. +206 −0 source/frontend/assets/js/properties.mjs
  119. +171 −0 source/frontend/assets/js/report_container.mjs
  120. +113 −0 source/frontend/assets/js/server.mjs
  121. +1,238 −0 source/frontend/assets/js/website_feature_table.mjs
  122. +33 −0 source/frontend/assets/js/website_id.mjs
  123. +13 −0 source/frontend/assets/js/website_index.mjs
  124. +372 −0 source/frontend/assets/js/website_report_viewer.mjs
  125. +3 −0 source/frontend/assets/js/website_shared.mjs
  126. +60 −0 source/frontend/gui-webpack.config.js
  127. +14 −0 source/frontend/gui-webpack.js
  128. +2 −0 source/frontend/pack-all.ps1
  129. +4,485 −0 source/frontend/package-lock.json
  130. +19 −0 source/frontend/package.json
  131. +68 −0 source/frontend/scripts/update-steam-stats.py
  132. +12 −0 source/frontend/website-assets-webpack.js
  133. +5 −0 source/frontend/website-feature-table-webpack.js
  134. +5 −0 source/frontend/website-id-webpack.js
  135. +5 −0 source/frontend/website-index-webpack.js
  136. +2 −0 source/frontend/website-shared-webpack.js
  137. +75 −0 source/frontend/website-webpack.config.js
  138. BIN source/website/01dd40ee699a7c61060b.ico
  139. BIN source/website/27f62b53b93858475a7f.ttf
  140. BIN source/website/75bc14637f1d0317a8c5.ttf
  141. BIN source/website/84cce981575dbdc0fe40.png
  142. +0 −1 source/website/Download.svg
  143. +1 −0 source/website/FeatureTable.html
  144. +1 −44 source/website/ID.html
  145. +0 −167 source/website/Report.css
  146. +0 −1,895 source/website/Report.js
  147. +1 −66 source/website/about.html
  148. +1 −0 source/website/assets.js
  149. BIN source/website/b0669e145449e7ec0cf7.png
  150. +21 −0 source/website/ca84030c52cc08023014.webmanifest
  151. +1 −0 source/website/download.svg
  152. +9 −0 source/website/error.svg
  153. +3 −0 source/website/favicon.svg
  154. +1 −0 source/website/feature_table.js
  155. +1 −1 source/website/github-mark.svg
  156. +1 −0 source/website/id.js
  157. +1 −47 source/website/index.html
  158. +1 −0 source/website/index.js
  159. +1 −0 source/website/info.svg
  160. +12 −0 source/website/required.svg
  161. +1 −0 source/website/search.svg
  162. +1 −0 source/website/shared.js
  163. +11 −0 source/website/supported.svg
  164. +13 −0 source/website/unsupported.svg
209 changes: 152 additions & 57 deletions source/.clang-format → .clang-format
Original file line number Diff line number Diff line change
@@ -1,167 +1,237 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
# All field that differ from base style are marked as Modified
# BasedOnStyle: Microsoft
# Modified
AccessModifierOffset: -4
# Modified
AlignAfterOpenBracket: DontAlign
# Modified
AlignArrayOfStructures: Left
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
# Modified
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
# Modified
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
AlwaysBreakBeforeMultilineStrings: false
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BitFieldColonSpacing: Both
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterExternBlock: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAfterAttributes: Never
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakAfterJavaFieldAnnotations: false
BreakAfterReturnType: None
BreakArrays: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Attach
BreakBeforeBraces: Custom
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
# Modified
BreakConstructorInitializers: BeforeComma
BreakFunctionDefinitionParameters: false
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: ''
# Modified
BreakTemplateDeclarations: Leave
# Modified
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: true
# Modified
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
# Modified
IncludeBlocks: Regroup
# Modified
# Corresponding header for current cpp automatically gets sort priority of 0
IncludeCategories:
- Regex: '^"(global_)?precompiled_header\.h"'
Priority: -1
SortPriority: 0
- Regex: '^<.*\.h>'
Priority: 2
SortPriority: 0
- Regex: '^<.*>'
- Regex: '\<.*\.h\>'
Priority: 1
SortPriority: 0
- Regex: '^".*"'
- Regex: '\<c[^_]*\>'
Priority: 3
SortPriority: 0
IncludeIsMainRegex: ''
- Regex: '\<.*\>'
Priority: 2
SortPriority: 0
- Regex: '.*'
Priority: 4
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: true
IndentCaseLabels: false
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth: 2
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertBraces: false
InsertNewlineAtEOF: false
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: true
AtStartOfFile: true
LambdaBodyIndentation: Signature
LineEnding: DeriveLF
MacroBlockBegin: ''
MacroBlockEnd: ''
MacroBlockBegin: 'ENUM_BEGIN'
MacroBlockEnd: 'ENUM_END'
MainIncludeChar: Quote
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
# Modified
NamespaceIndentation: All
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: NextLine
PackConstructorInitializers: BinPack
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 200
PenaltyReturnTypeOnItsOwnLine: 1000
# Modified
PointerAlignment: Left
PPIndentWidth: -1
QualifierAlignment: Leave
RawStringFormats:
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
# Modified
SkipMacroDefinitionBody: true
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: LexicographicNumeric
@@ -174,34 +244,59 @@ SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeJsonColon: false
# Modified
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
# Modified
AfterControlStatements: false
# Modified
AfterForeachMacros: false
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
# Modified
AfterIfMacros: false
AfterOverloadedOperator: false
# Modified
AfterPlacementOperator: false
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Auto
Standard: Latest
# Modified
StatementAttributeLikeMacros:
# Modified
StatementMacros:
TabWidth: 2
- ENUM_ITEM
TableGenBreakInsideDAGArg: DontBreak
TabWidth: 4
UseTab: Never
WhitespaceSensitiveMacros: []
VerilogBreakBetweenInstancePorts: true
# Modified
WhitespaceSensitiveMacros:
# Modified (Added)
# Fooling clang-format to treat ENUM_BEGIN/ENUM_END as scope to increase indentation
# And ENUM_ITEM as a statement to force one item per line
Macros:
- ENUM_BEGIN(name)={
- ENUM_END(name)=}
- ENUM_ITEM(name)=;
...

1 change: 1 addition & 0 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source/external/*
1 change: 0 additions & 1 deletion .clang-tidy

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on: [push]

jobs:
build:
name: Build
runs-on: windows-2022
steps:
- name: Sync
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Configure
shell: pwsh
run: ./build_scripts/configure.ps1

- name: Build Debug
shell: pwsh
run: ./build_scripts/build.ps1 Debug

- name: Build Release
shell: pwsh
run: ./build_scripts/build.ps1 Release

- name: Archive Debug artifacts
uses: actions/upload-artifact@v4
with:
name: D3d12infoGUI - Debug
path: ./build/bin/Debug/GUI.exe

- name: Archive Release artifacts
uses: actions/upload-artifact@v4
with:
name: D3d12infoGUI - Release
path: ./build/bin/Release/GUI.exe
Loading