mirror of
https://github.com/godotengine/godot-visual-script.git
synced 2025-12-31 21:48:42 +03:00
We've made several updates to improve our codebase and application performance. - Clang format was applied for better readability and consistency, aiding other developers in understanding and contributing to the code. - We resolved issues that were causing visual script compilation failure. The visual script now compiles successfully, ensuring application functionality. - Broken sections within the codebase were fixed, improving overall stability. - Built-in functions from the visual script were removed to simplify the code and enhance readability. - Generic search performance was improved to provide faster results, enhancing user experience. - Missing flow nodes were added to the Visual Script, ensuring all necessary components are present for correct functioning. In an effort to streamline the codebase: - `VisualScriptComment` class and related code were removed, reducing complexity and improving maintainability. - Error messages were optimized for quicker feedback when errors occur. - Licenses were updated to reflect recent changes, ensuring legal compliance and project transparency. - The `get_global_name()` override in `visual_script.h` was fixed, and `TYPE_BUILTIN_FUNC` in `visual_script_expression.h` was removed, improving code functionality. - Search logic was refactored to avoid double searching, enhancing performance. - Documentation was updated to reflect recent changes, providing accurate information to users and developers. - Property selection logic in `VisualScriptPropertySelector` was refactored for easier understanding and modification. - Code was refactored to avoid variable shadowing, improving readability and reducing potential errors. - `.clang-format` and `.clang-tidy` configuration files were added to ensure consistent code styling. To make the code more robust and easier to understand: - Variable names were corrected for clarity, and error handling in `visual_script_expression.cpp` was improved. - Function and variable names were refactored for better readability and maintainability. - Member editing logic in `VisualScriptEditor` was simplified. - Name variables were updated to be unique, avoiding potential conflicts and errors. - The `VisualScriptSubCall` class was refactored for simplicity and ease of understanding. For macOS workflow: - It was updated to use the latest version and correct path for installing Vulkan SDK, enabling the application to leverage the latest features and improvements from the Vulkan SDK. - Mac Vulkan SDK was installed to support Vulkan-based functionalities. Lastly, we made necessary changes to pass CI/CD tests, ensuring the code quality and stability of the application.
48 lines
2.2 KiB
YAML
48 lines
2.2 KiB
YAML
---
|
|
Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,cppcoreguidelines-pro-type-member-init,modernize-redundant-void-arg,modernize-use-bool-literals,modernize-use-default-member-init,modernize-use-nullptr,readability-braces-around-statements,readability-redundant-member-init'
|
|
WarningsAsErrors: ''
|
|
HeaderFilterRegex: ''
|
|
AnalyzeTemporaryDtors: false
|
|
FormatStyle: none
|
|
CheckOptions:
|
|
- key: cert-dcl16-c.NewSuffixes
|
|
value: 'L;LL;LU;LLU'
|
|
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
|
|
value: '0'
|
|
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
|
|
value: '1'
|
|
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
|
|
value: '1'
|
|
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
|
|
value: '1'
|
|
- key: cppcoreguidelines-pro-type-member-init.UseAssignment
|
|
value: '1'
|
|
- key: google-readability-function-size.StatementThreshold
|
|
value: '800'
|
|
- key: google-readability-namespace-comments.ShortNamespaceLines
|
|
value: '10'
|
|
- key: google-readability-namespace-comments.SpacesBeforeComments
|
|
value: '2'
|
|
- key: modernize-loop-convert.MaxCopySize
|
|
value: '16'
|
|
- key: modernize-loop-convert.MinConfidence
|
|
value: reasonable
|
|
- key: modernize-loop-convert.NamingStyle
|
|
value: CamelCase
|
|
- key: modernize-pass-by-value.IncludeStyle
|
|
value: llvm
|
|
- key: modernize-replace-auto-ptr.IncludeStyle
|
|
value: llvm
|
|
- key: modernize-use-bool-literals.IgnoreMacros
|
|
value: '0'
|
|
- key: modernize-use-default-member-init.IgnoreMacros
|
|
value: '0'
|
|
- key: modernize-use-default-member-init.UseAssignment
|
|
value: '1'
|
|
- key: modernize-use-nullptr.NullMacros
|
|
value: 'NULL'
|
|
- key: readability-braces-around-statements.ShortStatementLines
|
|
value: '0'
|
|
...
|
|
|