summaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Collapse)Author
2022-09-23SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` definesRémi Verschelde
- `_DEBUG` is MSVC specific so it didn't make much sense to define for Android and iOS builds. - iOS was the only platform to define `DEBUG`. We don't use it anywhere outside thirdparty code, which we usually don't intend to debug, so it seems better to be consistent with other platforms. - Consistently define `NDEBUG` to disable assert behavior in both `release` and `release_debug` targets. This used to be set for `release` for all platforms, and `release_debug` for Android and iOS only. - Due to the above, I removed the only use we made of `assert()` in Godot code, which was only implemented for Unix anyway, should have been `DEV_ENABLED`, and is in PoolAllocator which we don't actually use. - The denoise and recast modules keep defining `NDEBUG` even for the `debug` target as we don't want OIDN and Embree asserting all over the place.
2022-09-21Style: Ensure consistent formatting with clang-format 15Rémi Verschelde
When going from version 14 to 15 it would introduce a tiny change in `websocket_macros.h` just before the comment re-enabling clang-format, but this can be solved by just letting it do its work. Bonus cosmetic change in `math_fieldwise.cpp` where clang-format isn't used, and bump recommended versions for pre-commit hook to [13; 15].
2022-09-20Merge pull request #65541 from clayjohn/renderer-settingRémi Verschelde
Split rendering driver project setting into renderer_name and rendering_driver
2022-09-19Split rendering driver project setting into renderer_name and ↵clayjohn
rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-17[Web] Add missing features warning in editor and export shell.Fabio Alessandrelli
2022-09-07C#: Replace libnethost dependency to find hostfxrIgnacio Roldán Etcheverry
We want to replace libnethost as it gives us issues with some compilers. Our implementation tries to mimic libnethost's hostfxr_resolver search logic. We try to use the same function names for easier comparing in case we need to update this in the future.
2022-09-05Fix UTF-8 validation in static checksGergely Kis
Use isutf8 instead of recode to detect invalid UTF-8 sequences. Also add the necessary dependencies to run the static checks locally using act (https://github.com/nektos/act) with the Medium size image.
2022-08-30Merge pull request #65078 from RandomShaper/git_hooks_extendRémi Verschelde
2022-08-30Add ability to extend the set of Git pre-commit hooksPedro J. Estébanez
2022-08-30Make Git hooks work on worktrees on WindowsPedro J. Estébanez
2022-08-27Add `dotnet format` to CI to check C# styleRaul Santos
2022-08-19ci: add basic test pipeline for shader buildersJiri Suchan
2022-08-09[iOS] Extend iOS plugins to support Swift runtimeSergey Minakov
2022-08-01File: Re-add support to skip CR (`\r`) in `File::get_as_text`Rémi Verschelde
This was removed in #63481, and we confirmed that it's better like this, but we add back the possibility to strip CR as an option, to optionally restore the previous behavior. For performance this is done directly in `String::parse_utf8`. Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR. Supersedes #63717.
2022-07-29CI: Link MoltenVK statically on macOSRémi Verschelde
Same as done for official builds. Also make artifacts executable before zipping.
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg
2022-07-14Download Vulkan SDK disk image to a temporary folder in the scriptHugo Locurcio
This prevents a `vulkan-sdk.dmg` file from lingering in the current working directory after installing the Vulkan SDK.
2022-07-12Add a script to install the Vulkan SDK on macOSHugo Locurcio
This script can be used to make Godot easier to compile on a fresh macOS installation, including on CI platforms and containers where the Vulkan SDK isn't preinstalled.
2022-06-17Make enum/constant binds 64-bit.bruvzg
2022-06-15Stop CI when Godot crashRafał Mikrut
2022-06-15Add Godot 3.x -> Godot 4.x project converterRafał Mikrut
2022-06-11makerst: Print colored output for easier visual greppingHugo Locurcio
This is automatically enabled on all platforms including Windows 10 and later, whenever a TTY environment is detected. In non-TTY environments such as CI, this can be forced using the `--color` command line argument.
2022-05-23Fix the logic to restart the Godot applicationFredia Huya-Kouadio
2022-05-23Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git.
2022-05-16Rename `--vk-layers` command line argument to `--gpu-validation`Hugo Locurcio
The new name is independent of the graphics API in use. This prepares Godot for implementations of graphics APIs other than Vulkan.
2022-05-16Merge pull request #57006 from Calinou/web-editor-no-threads-modalRémi Verschelde
2022-05-06Add Greek translation for Linux desktop fileEmmanouil Papadeas
Follow-up to #60777 and #60800.
2022-05-05Add French translation for Linux desktop fileHugo Locurcio
2022-05-05Relax version warning in clang-format precommit hookRémi Verschelde
Closes #60778.
2022-05-05Add Simplified Chinese translation for Linux desktop fileHaoyu Qiu
2022-04-25Merge pull request #60445 from nathanfranke/minor-changesRémi Verschelde
small changes: improve OS.get_name classref, misc/scripts fixes, remove trailing quote
2022-04-22improve OS.get_name classref, misc/scripts fixes, remove trailing quoteNathan Franke
2022-04-22Remove superfluous Android InputManager interface and implementationMarcel Admiraal
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-29Fix flickering issues with low processor mode on AndroidFredia Huya-Kouadio
2022-03-18Merge pull request #47526 from backwardspy/masterRémi Verschelde
set StartupWMClass in linux `.desktop` file
2022-03-15Merge pull request #59153 from Calinou/debug-stringnames-improveRémi Verschelde
Improve `--debug-stringnames` to be more useful
2022-03-15Improve `--debug-stringnames` to be more usefulHugo Locurcio
- Print all StringNames, not just the top 100. - Print statistics at the end of the list of StringNames, with unreferenced and rarely referenced StringNames. - List the CLI argument in `--help` and shell completion.
2022-03-13Make `-q` CLI argument toggle quiet stdout instead of quittingHugo Locurcio
`-q` is a common toggle in a command line applications for quiet mode (see apt or dnf for examples). In contrast, `--quit` isn't needed as often.
2022-03-13Tweak the display order of CLI arguments in `--help` for consistencyHugo Locurcio
`--profile-gpu` was renamed to `--gpu-profile` for consistency with `--gpu-abort`. This also updates the shell completion files to the latest `master` branch.
2022-03-11Merge pull request #58751 from bruvzg/loc_str_propsRémi Verschelde
2022-03-09Remove unused GDNative codeRémi Verschelde
This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
2022-03-04Improve app name and system permission message localization.bruvzg
Add localizable string (Dictionary<Lang Code, String>) property editor and property hint. Add localized "app name" property to the project settings. Add localized permission and copyright properties to the macOS and iOS export settings. Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.
2022-03-04[macOS and iOS export] Add localized application name to the translation ↵bruvzg
.plist files.
2022-02-12[macOS] Add missing translation file.bruvzg
2022-02-12Merge pull request #57005 from Calinou/web-editor-tweak-logo-max-widthFabio Alessandrelli
Tweak logo max width on the web editor
2022-02-12Merge pull request #56966 from Calinou/web-editor-allow-any-orientationFabio Alessandrelli
Allow using the web editor on any device orientation
2022-02-10Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
2022-02-08Remove support for ARMv7 (32-bit) on iOSHugo Locurcio
All iOS devices since the iPhone 5S support ARMv8 (64-bit). The last iOS version supported on ARMv7 devices is 10.x, which is too old to run Godot 4.0 projects since the minimum supported iOS version is 11.0.