Commit Graph

263 Commits

Author SHA1 Message Date
Spartan322
62fbec9f6f Merge commit godotengine/godot@0f5f3bc954 2024-11-11 09:08:01 -05:00
Yevhen Babiichuk (DustDFG)
0c4575b4e5 Delete old function for parsing CG shaders
This lonely dinosaur was overlooked by a meteor. Its family was
killed but it managed to survive until today. People noticed him
but they didn't understood he should be dead... So our dino even
got medicine on a level of all other animals of our zoo. Good bye!

All the CG and HLSL functions (except this) were removed years ago
when GLSL2 shaders support was added:

Look at: eac4c984df

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-08 21:47:03 +02:00
Yevhen Babiichuk (DustDFG)
32e2b45430 Replace _find_scu_section_name function with SCons builtins
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-06 11:29:08 +02:00
Spartan322
b8b8a7127e Merge commit godotengine/godot@87318a2fb7 2024-11-06 01:12:36 -05:00
Hugo Locurcio
180f079fa7 Remove pre-Visual Studio 2017 detection code in the buildsystem
Visual Studio 2017 or later has been required to build Godot for a while now.
2024-11-05 13:54:15 +01:00
Yevhen Babiichuk (DustDFG)
81a032337c Deleted stale check. Now SCons supports globbing with # inside path
Some parts of the buildsystem already were using it with `#` in path

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-02 22:20:17 +02:00
Spartan322
82de309d58 Merge commit godotengine/godot@8004c7524f 2024-10-30 05:22:24 -04:00
Spartan322
ad8b971a55 Fix copyright_headers.py referring to Godot
Fix create_test.py missing Redot copyright reference

(cherry picked from commit 08b664511b)
2024-10-27 11:12:48 -04:00
Spartan322
d7a46e217e Fix build versioning to account for status_version
(cherry picked from commit 41bcc4df41)
2024-10-24 18:32:17 -04:00
Spartan322
ce103fb883 Fix VERSION_FULL_CONFIG ignoring status versioning
(cherry picked from commit cb0d3f7aa0)
2024-10-23 23:54:56 -04:00
Yevhen Babiichuk (DustDFG)
8e75e029b3 Make module dependency check recursive
The `env.disabled_modules` and `methods.disable_module` weren't used anywhere
so the first one was repurposed and the second just deleted

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-10-23 08:26:22 +03:00
Token Gamedev
41eed14ec5 Fixed the VS project creation 2024-10-18 15:26:22 +05:30
Spartan322
361170f6da Bump version to 4.4-alpha.2
Add status_version to version.py
Update Engine.xml example for get_godot_compatible_version_info
2024-10-14 10:07:25 -04:00
Randolph W. Aarseth II
d5fc3d1e8c 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>
2024-10-11 02:25:54 -04:00
九軒
607585e22b SCons: Fix MSVC version check for VS Preview 2024-10-02 14:08:53 +02:00
Thaddeus Crews
1d3c4e192c SCons: Include pre-release in MSVC detection 2024-09-29 11:00:17 -05:00
Thaddeus Crews
9a8fcd5263 SCons: Fix MSVC decode error 2024-09-29 09:02:13 -05:00
Thaddeus Crews
1043c00137 SCons: Detect msvc compiler version
• C standard now passed on msvc if the version is supported
2024-09-27 11:16:33 -05:00
Rémi Verschelde
804d9775b5 Merge pull request #96407 from alvinhochun/mingw-ar-long-command-tempfile
Remove `ARFLAGS` hack for Windows, replace with `TEMPFILE`
2024-09-18 17:40:53 +02:00
A Thousand Ships
acffc53e01 [Buildsystem] Improve cache handling
Prevents cache issues by not purging cache before starting a build.
Splits cache purge related code from progress code and delays the purge
until after final build is done.
2024-09-09 16:36:56 +02:00
Alvin Wong
28b95ff550 Remove ARFLAGS hack for Windows, replace with TEMPFILE
TEMPFILE is the built-in way of SCons to use a response file for command
lines that are too long.
2024-09-01 04:10:30 +08:00
Alula
346cbc7f1f Add support for compiling with VS clang-cl toolset 2024-08-28 13:30:44 -05:00
Alvin Wong
c7a7a5a973 MinGW: Print compiler warnings on Windows 2024-08-28 18:20:16 +08:00
Thaddeus Crews
0163705640 SCons: Add method to generate raw cstrings 2024-07-31 14:22:04 -05:00
Rémi Verschelde
4e5ed0bbfb Merge pull request #93753 from Repiteo/scons/visual-studio-fixes
SCons: Fix output with `vsproj=yes`
2024-07-22 17:30:25 +02:00
Rémi Verschelde
5514510f7f Merge pull request #94117 from mhilbrunner/fix-94090-vsproj-scons-4.8
Fix VS project generation with SCons 4.8.0+
2024-07-09 16:47:29 +02:00
Max Hilbrunner
f682406cf2 Fix VS project generation with SCons 4.8.0+ 2024-07-09 09:55:41 +02:00
Zorvalt
5a81d2440f Fix build fetching git_timestamp if git log.showsignature=true 2024-07-08 21:52:07 +02:00
Thaddeus Crews
8a24f44fe5 SCons: Fix output with vsproj=yes 2024-06-29 13:11:19 -05:00
Kusok
0c6dbbd050 Fix not using encoding="utf-8" when writing to files or reading from them
Co-authored-by: ChristopheClaustre <christophe.claustre.31@gmail.com>
2024-06-19 23:35:03 +08:00
Thaddeus Crews
5d265e9a7e SCons: Minor fixes/adjustments for web compilation 2024-05-24 12:30:24 -05:00
Jakub Marcowski
d9f8ef68df Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
Thaddeus Crews
34fb3f7730 SCons: Generate all scripts natively 2024-05-07 15:30:45 -05:00
Thaddeus Crews
dec2a121a9 SCons: Fixes for warn/error colorization 2024-04-29 11:56:21 -05:00
Thaddeus Crews
e0e8ce1fc0 SCons: Colorize warnings/errors during generation 2024-04-28 16:24:48 -05:00
Thaddeus Crews
fd2ab721e2 SCons: scons_version to environment variable 2024-04-24 09:41:12 +02:00
A Thousand Ships
173692d05d [Web] Fix building for web on Windows
On Windows the command for emscripten are provided as `.bat` files,
which causes the compiler version check to fail without `shell=True`
2024-04-20 14:06:45 +02:00
Thaddeus Crews
a7e7167a85 SCons: Disable show_progress with ninja 2024-04-18 09:42:02 -05:00
Andreia Gaita
7336ec1f7e Visual Studio: Fix indentation in sln file, VS is VERY PICKY 2024-04-12 16:04:35 +02:00
Andreia Gaita
536ca28ea9 Ensure all Visual Studio files are generated with CRLF 2024-04-10 17:26:36 +02:00
Rémi Verschelde
1f71d491d0 Merge pull request #88244 from shana/vs-improve-settings
Visual Studio: Don't override user options. Add additional vs hint information
2024-04-08 11:19:58 +02:00
Thaddeus Crews
ccb5e15ac2 SCons: Ensure *all* generated files can be cleaned 2024-04-05 10:49:44 -05:00
Rémi Verschelde
7fa97f37fb Merge pull request #89452 from Riteo/name-a-better-duo
SCons: Enable the experimental Ninja backend and minimize timestamp changes to generated code
2024-04-04 14:31:24 +02:00
A Thousand Ships
4933fa8bf5 [Buildsystem] Fix encoding when reading files 2024-03-24 18:02:56 +01:00
Riteo
a5cf92664d SCons: unify code generations routine and minimize timestamp changes
Previously, all of the code generation routines would just needlessly
write the same files over and over, even when not needed.

This became a problem with the advent of the experimental ninja backend
for SCons, which can be trivially enabled with a few lines of code and
relies on timestamp changes, making it thus impractical.
2024-03-15 15:43:53 +01:00
Thaddeus Crews
5a6e3cbcb0 SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
Thaddeus Crews
fb299d0fb1 SCons: Ensure with statement where applicable 2024-03-10 12:57:57 -05:00
Thaddeus Crews
d9fa40f2df Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
Thaddeus Crews
0ce9b6fd1d Add two new COMSTR environment variables 2024-03-01 12:44:03 -06:00
Rémi Verschelde
d9296e5fdd Merge pull request #88949 from shana/vs-performance-improvement
Visual Studio: Improve performance of parsing project file
2024-02-29 13:54:27 +01:00