summaryrefslogtreecommitdiffstats
path: root/misc/scripts
Commit message (Collapse)AuthorAgeFilesLines
* SCons: Update mypyThaddeus Crews2023-12-111-1/+2
|
* Fix various typos with codespellRémi Verschelde2023-11-111-1/+1
| | | | Using 2.2.7.dev51+geb4a58fe.
* [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add ↵bruvzg2023-09-212-1/+2
| | | | | | EGL_ANDROID_blob_cache caching. Co-authored-by: Riteo <riteo@posteo.net>
* CI: Compat checks: Make fetching the reference API more robustRedworkDE2023-09-051-1/+1
|
* CI: Compare API compatibility against both 4.0 and 4.1RedworkDE2023-08-301-5/+28
|
* Merge pull request #78908 from zorbathut/pr_gitignoreRémi Verschelde2023-08-291-0/+26
|\ | | | | | | Add static check for overzealous .gitignores and fix an example of such.
| * Add static check for overzealous .gitignores.Ben Rog-Wilhelm2023-07-011-0/+26
| |
* | Fix API validation script on macOS.bruvzg2023-08-101-4/+4
| |
* | Fix or workaround recent extension API compatibility issuesRémi Verschelde2023-08-031-1/+1
|/ | | | | | | - Add compatibility methods for `RenderingDevice::shader_create_from_bytecode` and `CodeEdit::get_text_for_symbol_loopup`. - Silence errors which now have compatibility methods. - Acknowledge GraphEdit/GraphNode compat breakage, intended and WIP.
* Fix various typos with codespellRémi Verschelde2023-06-161-1/+1
| | | | And ignore some false positives introduced by recent versions of codespell.
* Update list of known breaking changes compared to 4.0-stable (3)RedworkDE2023-06-141-1/+1
|
* Allow validating the extension api against a reference version and a list of ↵RedworkDE2023-05-191-0/+60
| | | | known changes.
* CI: Make codespell checks blocking, but only check changed filesRémi Verschelde2023-05-081-1/+1
|
* CI: Speed up static checks by checking only changed filesRémi Verschelde2023-04-203-16/+37
| | | | | | | | | | | | | | | | | | | - file_format, header_guards and clang-format benefit from this short list. - dotnet-format, Python and JS checks don't, but they're only relevant for PRs changing a specific set of files, so we skip them when those files aren't modified. The logic to get changed files only works reliably for: - Pull request events - Non-force pushed push events So when force pushing a branch in your fork, or creating a new branch, it will still scan all files as fallback. Upgraded CI runner to Ubuntu 22.04 so we get clang-format 14 out of the box, so we don't need to install a custom version (saves ~15 s). We also cache the APT dependencies to speed up the build and avoid flaky Ubuntu/Microsoft repos.
* CI: Visibly print trailing whitespace when static checks failRémi Verschelde2023-04-056-28/+37
| | | | | | | | | GitHub Actions seems to be hiding colored whitespace, and after lots of attempts I couldn't find a way to work it around. So instead I'm using a perl expression to replace trailing spaces with `·` and tabs with `<TAB>` in the ANSI colored diff output. This ensure that they're visible, and they are properly colored as expected too.
* Minor typo and docs URL fixesRémi Verschelde2023-02-281-1/+1
|
* More codespell fixes, do more changes from previous ignore listRémi Verschelde2023-02-011-3/+3
|
* Fix various typos with codespellRémi Verschelde2023-02-011-2/+5
| | | | Finally do the childs -> children rename too.
* Fix various typos with codespellRémi Verschelde2023-01-301-1/+1
| | | | | | And include #72377. Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
* Convert en_GB spelling to en_US with codespellRémi Verschelde2023-01-231-2/+2
|
* Fix file formatting script dependencies and cleanupAaron Franke2023-01-121-8/+10
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* [CI] Use multiple forced unmount attempts for MoltenVK image.bruvzg2023-01-031-1/+9
|
* CI: Fix dumping GDExtension interface and API for godot-cppRémi Verschelde2022-12-141-11/+0
| | | | | | | | | Follow-up to https://github.com/godotengine/godot-cpp/pull/960. Fix exit code for --dump-extension-api and --dump-gdextension-interface. Removed the planned API validation step as we still didn't implement anything, and maintaining a stub isn't useful.
* Add an exception for thirdparty subdirectories in file_format.shRiteo Siuga2022-11-131-1/+3
| | | | | This exception is also present in clang_format.sh and is needed in some cases.
* Style: Misc docs and comment style and language fixesRémi Verschelde2022-11-021-1/+1
| | | | | | | | | | - Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
* Fix dotnet formatRaul Santos2022-10-121-0/+7
| | | | | | | It was failing due to generated files being referenced in .NET projects but the files are missing because they are generated by `godot --generate-mono-glue` or `build_assemblies.py`.
* Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypyRémi Verschelde2022-09-302-0/+17
|\ | | | | | | ci: add Python static analysis check via mypy
| * ci: add Python static analysis check via mypyJiri Suchan2022-09-302-0/+17
| |
* | Fix typos with codespellRémi Verschelde2022-09-301-1/+1
|/ | | | | | | Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
* Style: Cleanup header guards for consistencyRémi Verschelde2022-09-261-0/+17
| | | | Fix file names for {Static,Lightmap}RaycasterEmbree.
* C#: Replace libnethost dependency to find hostfxrIgnacio Roldán Etcheverry2022-09-071-2/+2
| | | | | | | 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.
* Fix UTF-8 validation in static checksGergely Kis2022-09-051-7/+20
| | | | | | | 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.
* Add `dotnet format` to CI to check C# styleRaul Santos2022-08-271-0/+28
|
* ci: add basic test pipeline for shader buildersJiri Suchan2022-08-192-1/+7
|
* File: Re-add support to skip CR (`\r`) in `File::get_as_text`Rémi Verschelde2022-08-011-0/+2
| | | | | | | | | | | | 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.
* CI: Link MoltenVK statically on macOSRémi Verschelde2022-07-291-1/+1
| | | | | | Same as done for official builds. Also make artifacts executable before zipping.
* Code quality: Fix header guards consistencyRémi Verschelde2022-07-251-0/+61
| | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* Download Vulkan SDK disk image to a temporary folder in the scriptHugo Locurcio2022-07-141-2/+3
| | | | | This prevents a `vulkan-sdk.dmg` file from lingering in the current working directory after installing the Vulkan SDK.
* Add a script to install the Vulkan SDK on macOSHugo Locurcio2022-07-121-0/+13
| | | | | | 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.
* Make enum/constant binds 64-bit.bruvzg2022-06-171-0/+0
|
* Stop CI when Godot crashRafał Mikrut2022-06-151-0/+2
|
* Fix the logic to restart the Godot applicationFredia Huya-Kouadio2022-05-231-0/+2
|
* Fix typos with codespellRémi Verschelde2022-05-231-2/+2
| | | | Using codespell 2.2-dev from current git.
* Merge pull request #60445 from nathanfranke/minor-changesRémi Verschelde2022-04-254-10/+9
|\ | | | | small changes: improve OS.get_name classref, misc/scripts fixes, remove trailing quote
| * improve OS.get_name classref, misc/scripts fixes, remove trailing quoteNathan Franke2022-04-224-10/+9
| |
* | Remove superfluous Android InputManager interface and implementationMarcel Admiraal2022-04-221-2/+0
|/
* Fix typos with codespellRémi Verschelde2022-03-311-1/+1
| | | | | | Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
* Fix flickering issues with low processor mode on AndroidFredia Huya-Kouadio2022-03-291-0/+4
|
* Fix typos with codespellRémi Verschelde2022-02-101-0/+5
| | | | | | | 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.