diff options
author | Randolph W. Aarseth II <bioblazepayne@gmail.com> | 2024-10-04 01:37:26 -0700 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-10-11 02:25:54 -0400 |
commit | d5fc3d1e8c1f8f904e1fbe8bd1c402d560bfb596 (patch) | |
tree | e3d74332dbb7b5fe280d370b94e0fde913d78be8 /misc/scripts | |
parent | b52811b83478bd06c5bcf39a93bbf53dd03cc9bf (diff) | |
download | redot-engine-d5fc3d1e8c1f8f904e1fbe8bd1c402d560bfb596.tar.gz |
Rebrand Godot to Redot
Add Linux Editor tests workflow matrix
Add Windows Editor w/ Mono workflow matrix
Add Generate Glue Code job to Windows workflow
Add Build GodotSharp job to Windows workflow
Add godot compatibility version references
Add Godot author info
Add Godot version compatibility info
Add Godot donor info
Add Godot authors and donors to editor_about.cpp
Credits:
Co-authored-by: Skogi <skogi.b@gmail.com>
Co-authored-by: Spartan322 <Megacake1234@gmail.com>
Co-authored-by: swashberry <swashdev@pm.me>
Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se>
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: radenthefolf <radenthefolf@gmail.com>
Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com>
Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com>
Co-authored-by: decryptedchaos <nixgod@gmail.com>
Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com>
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com>
Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com>
Co-authored-by: Mister Puma <MisterPuma80@gmail.com>
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com>
Co-authored-by: SingleError <isaaconeoneone@gmail.com>
Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
Diffstat (limited to 'misc/scripts')
-rwxr-xr-x | misc/scripts/check_ci_log.py | 8 | ||||
-rwxr-xr-x | misc/scripts/copyright_headers.py | 6 | ||||
-rwxr-xr-x | misc/scripts/header_guards.py | 8 | ||||
-rwxr-xr-x | misc/scripts/install_d3d12_sdk_windows.py | 4 | ||||
-rwxr-xr-x | misc/scripts/install_vulkan_sdk_macos.sh | 2 | ||||
-rwxr-xr-x | misc/scripts/make_tarball.sh | 12 | ||||
-rwxr-xr-x | misc/scripts/validate_extension_api.sh | 2 |
7 files changed, 22 insertions, 20 deletions
diff --git a/misc/scripts/check_ci_log.py b/misc/scripts/check_ci_log.py index d024a3e375..7abf00e1a0 100755 --- a/misc/scripts/check_ci_log.py +++ b/misc/scripts/check_ci_log.py @@ -28,10 +28,10 @@ if ( or file_contents.find("Aborted (core dumped)") != -1 or file_contents.find("terminate called without an active exception") != -1 ): - print("FATAL ERROR: Godot has been crashed.") + print("FATAL ERROR: Redot has been crashed.") sys.exit(52) -# Finding memory leaks in Godot is quite difficult, because we need to take into +# Finding memory leaks in Redot is quite difficult, because we need to take into # account leaks also in external libraries. They are usually provided without # debugging symbols, so the leak report from it usually has only 2/3 lines, # so searching for 5 element - "#4 0x" - should correctly detect the vast @@ -42,7 +42,7 @@ if file_contents.find("ERROR: LeakSanitizer:") != -1: print("ERROR: Memory leak was found") sys.exit(53) -# It may happen that Godot detects leaking nodes/resources and removes them, so +# It may happen that Redot detects leaking nodes/resources and removes them, so # this possibility should also be handled as a potential error, even if # LeakSanitizer doesn't report anything @@ -58,7 +58,7 @@ if file_contents.find("Assertion failed") != -1: print("ERROR: Assertion failed in project, check execution log for more info") sys.exit(55) -# For now Godot leaks a lot of rendering stuff so for now we just show info +# For now Redot leaks a lot of rendering stuff so for now we just show info # about it and this needs to be re-enabled after fixing this memory leaks. if file_contents.find("were leaked") != -1 or file_contents.find("were never freed") != -1: diff --git a/misc/scripts/copyright_headers.py b/misc/scripts/copyright_headers.py index 2b1201b3c0..c35513223d 100755 --- a/misc/scripts/copyright_headers.py +++ b/misc/scripts/copyright_headers.py @@ -12,6 +12,8 @@ header = """\ /* GODOT ENGINE */ /* https://godotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -76,8 +78,8 @@ for f in sys.argv[1:]: while line.strip() == "" and line != "": # Skip empty lines at the top line = fileread.readline() - if line.find("/**********") == -1: # Godot header starts this way - # Maybe starting with a non-Godot comment, abort header magic + if line.find("/**********") == -1: # Redot header starts this way + # Maybe starting with a non-Redot comment, abort header magic header_done = True while not header_done: # Handle header now diff --git a/misc/scripts/header_guards.py b/misc/scripts/header_guards.py index fed418db1e..58d5f66633 100755 --- a/misc/scripts/header_guards.py +++ b/misc/scripts/header_guards.py @@ -25,14 +25,14 @@ for file in sys.argv[1:]: if sline == "": # Skip empty lines at the top. continue - if sline.startswith("/**********"): # Godot header starts this way. + if sline.startswith("/**********"): # Redot header starts this way. header_start = idx else: - HEADER_CHECK_OFFSET = 0 # There is no Godot header. + HEADER_CHECK_OFFSET = 0 # There is no Redot header. break else: - if not sline.startswith("*") and not sline.startswith("/*"): # Not in the Godot header anymore. - HEADER_CHECK_OFFSET = idx + 1 # The include should be two lines below the Godot header. + if not sline.startswith("*") and not sline.startswith("/*"): # Not in the Redot header anymore. + HEADER_CHECK_OFFSET = idx + 1 # The include should be two lines below the Redot header. break if HEADER_CHECK_OFFSET < 0: diff --git a/misc/scripts/install_d3d12_sdk_windows.py b/misc/scripts/install_d3d12_sdk_windows.py index 2e5e4fce18..a52376672b 100755 --- a/misc/scripts/install_d3d12_sdk_windows.py +++ b/misc/scripts/install_d3d12_sdk_windows.py @@ -17,7 +17,7 @@ if sys.platform == "win32": mode = c_int(mode.value | 4) windll.kernel32.SetConsoleMode(c_int(stdout_handle), mode) -# Base Godot dependencies path +# Base Redot dependencies path # If cross-compiling (no LOCALAPPDATA), we install in `bin` deps_folder = os.getenv("LOCALAPPDATA") if deps_folder: @@ -124,4 +124,4 @@ print(f"DirectX 12 Agility SDK {agility_sdk_version} installed successfully.\n") # Complete message print(f'\x1b[92mAll Direct3D 12 SDK components were installed to "{deps_folder}" successfully!\x1b[0m') -print('\x1b[92mYou can now build Godot with Direct3D 12 support enabled by running "scons d3d12=yes".\x1b[0m') +print('\x1b[92mYou can now build Redot with Direct3D 12 support enabled by running "scons d3d12=yes".\x1b[0m') diff --git a/misc/scripts/install_vulkan_sdk_macos.sh b/misc/scripts/install_vulkan_sdk_macos.sh index 6e9fa69eea..b5cdc96f6b 100755 --- a/misc/scripts/install_vulkan_sdk_macos.sh +++ b/misc/scripts/install_vulkan_sdk_macos.sh @@ -13,4 +13,4 @@ unzip /tmp/vulkan-sdk.zip -d /tmp rm -rf /tmp/InstallVulkan.app rm -f /tmp/vulkan-sdk.zip -echo 'Vulkan SDK installed successfully! You can now build Godot by running "scons".' +echo 'Vulkan SDK installed successfully! You can now build Redot by running "scons".' diff --git a/misc/scripts/make_tarball.sh b/misc/scripts/make_tarball.sh index 9e02b80af1..e9ab1831f2 100755 --- a/misc/scripts/make_tarball.sh +++ b/misc/scripts/make_tarball.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ ! -e "version.py" ]; then - echo "This script should be ran from the root folder of the Godot repository." + echo "This script should be ran from the root folder of the Redot repository." exit 1 fi @@ -11,7 +11,7 @@ while getopts "h?sv:g:" opt; do echo "Usage: $0 [OPTIONS...]" echo echo " -s script friendly file name (godot.tar.gz)" - echo " -v godot version for file name (e.g. 4.0-stable)" + echo " -v redot version for file name (e.g. 4.0-stable)" echo " -g git treeish to archive (e.g. master)" echo exit 1 @@ -35,17 +35,17 @@ else fi if [ ! -z "$script_friendly_name" ]; then - NAME=godot + NAME=redot else if [ ! -z "$godot_version" ]; then - NAME=godot-$godot_version + NAME=redot-$godot_version else - NAME=godot-$HEAD + NAME=redot-$HEAD fi fi CURDIR=$(pwd) -TMPDIR=$(mktemp -d -t godot-XXXXXX) +TMPDIR=$(mktemp -d -t redot-XXXXXX) echo "Generating tarball for revision $HEAD with folder name '$NAME'." echo diff --git a/misc/scripts/validate_extension_api.sh b/misc/scripts/validate_extension_api.sh index 1d64883541..db2d053f73 100755 --- a/misc/scripts/validate_extension_api.sh +++ b/misc/scripts/validate_extension_api.sh @@ -2,7 +2,7 @@ set -o pipefail if [ ! -f "version.py" ]; then - echo "Warning: This script is intended to be run from the root of the Godot repository." + echo "Warning: This script is intended to be run from the root of the Redot repository." echo "Some of the paths checks may not work as intended from a different folder." fi |